FORTRAN Generation
(/./ftp/cats/J/ApJS/192/10)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJS/192/10 into FORTRAN code for loading all data files into arrays.

Note that special values are assigned to unknown or unspecified numbers (also called NULL numbers); when necessary, the coordinate components making up the right ascension and declination are converted into floating-point numbers representing these angles in degrees.



      program load_ReadMe
C=============================================================================
C  F77-compliant program generated by readme2f_1.81 (2015-09-23), on 2026-Oct-14
C=============================================================================
*  This code was generated from the ReadMe file documenting a catalogue
*  according to the "Standard for Documentation of Astronomical Catalogues"
*  currently in use by the Astronomical Data Centers (CDS, ADC, A&A)
*  (see full documentation at URL http://vizier.u-strasbg.fr/doc/catstd.htx)
*  Please report problems or questions to   
C=============================================================================

      implicit none
*  Unspecified or NULL values, generally corresponding to blank columns,
*  are assigned one of the following special values:
*     rNULL__    for unknown or NULL floating-point values
*     iNULL__    for unknown or NULL   integer      values
      real*4     rNULL__
      integer*4  iNULL__
      parameter  (rNULL__=--2147483648.)  	! NULL real number
      parameter  (iNULL__=(-2147483647-1))	! NULL int  number
      integer    idig			! testing NULL number

C=============================================================================
Cat. J/ApJS/192/10     Chandra ACIS survey in 383 nearby galaxies. I.     (Liu, 2011)
*================================================================================
*Chandra ACIS survey of X-ray point sources in 383 nearby galaxies.
*I. The source catalog.
*    Liu J.
*   <Astrophys. J. Suppl. Ser., 192, 10 (2011)>
*   =2011ApJS..192...10L
C=============================================================================

C  Internal variables

      integer*4 i__

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table1.dat'	! Properties of surveyed galaxies

      integer*4 nr__
      parameter (nr__=391)	! Number of records
      character*123 ar__   	! Full-size record

C  Position composed of: GLON GLAT
      character*8   Gal        (nr__) ! Galaxy name (NGC, IC or PGC)
      character*9   r_Gal      (nr__) ! Galaxy reference(s) (1)
      real*4        GLON       (nr__) ! (deg) Galactic longitude of the galaxy
      real*4        GLAT       (nr__) ! (deg) Galactic latitude of the galaxy
      real*4        R25        (nr__) ! (arcmin) Semimajor axis of the D_25_ isophotal ellipsis
      real*4        r25_1      (nr__) ! (arcmin) Semiminor axis of the D_25_ isophotal
*                                  ellipsis
      real*4        nH         (nr__) ! (cm-2) Galactic HI column density (2)
      real*8        Dist       (nr__) ! (Mpc) Distance
      character*3   r_Dist     (nr__) ! Distance reference; see refs.dat file
      character*10  MType      (nr__) ! Morphological type from RC3 (3)
      real*4        TT         (nr__) ! ? Hubble type T of galaxies taken from RC3
      real*4        LB         (nr__) ! (Lsun) ? Blue luminosity (4)
      character*1   l_F60um    (nr__) ! Limit flag on F60um
      real*4        F60um      (nr__) ! (Jy) ? 60um flux density from IRAS (5)
      integer*4     Group      (nr__) ! [1/320]? Group number as in table 2
      real*4        Flim       (nr__) ! (10-7W) 0.3-8keV flux of the faintest X-ray source
*                                  in this galaxy
      character*11  Class      (nr__) ! NED classification (6)
*Note (1): Point source catalogs of 50 galaxies are present in the VizieR
*     service; see refs.dat file.
*Note (2): taken from the dust map by Dickey & Lockman (1990)
*Note (3): In the type code S stands for spiral, E for elliptical, S0 for
*     lenticular, I for irregular; (r) for inner ring, (s) for S-shaped,
*     (rs) for mixed; B for barred, A for non-barred, AB for mixed; Im for
*     Magellanic irregular, I0 for non-Magellanic irregular; the trailing
*     -/o/+ for early/intermediate/late stage, etc. The detailed
*     explanations can be found in the RC3 catalog (p. 15, Vol. I).
*Note (4): The blue luminosity calculated from the apparent blue magnitude
*     taken from RC3. The luminosity is expressed in unit of solar
*     luminosity assuming an absolute blue magnitude of 5.47 for the Sun.
*Note (5): The flux density at 60um taken from the IRAS point source catalog
*     (IPAC, 1986), with some nearby galaxies from Rice et al. (1988). When
*     the galaxy is below detection, the 3{sigma} upper limit is calculated
*     by adopting noise levels of 8.5mJy/arcmin^2^ for 60um (Rice et al. 1988).
*Note (6): Whether the galaxy is an HII/starburst/LINER/Seyfert galaxy, as
*     extracted from the NED classification.

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table2.dat'	! Groups of surveyed galaxies and ACIS observations

      integer*4 nr__1
      parameter (nr__1=667)	! Number of records
      character*74 ar__1  	! Full-size record

      integer*4     Group_1    (nr__1) ! [1/320] Group number
      character*8   Gal_1      (nr__1) ! Galaxy name
      integer*4     Nobs       (nr__1) ! Number of observations
      integer*4     ExpTot     (nr__1) ! (s) Total exposure time
      integer*4     ObsID      (nr__1) ! Observation number
      character*10  ObsDate    (nr__1) ! ("YYYY/MM/DD") Observation date
      real*8        MJD        (nr__1) ! (d) Modified Julian Date of observation
      integer*4     Exp        (nr__1) ! (s) ? Exposure time
      character*7   Chip       (nr__1) ! Chips used for analysis
      real*4        Bkgd       (nr__1) ! ? Average background (1)
      integer*4     Npt        (nr__1) ! ? Total number of point sources detected
*Note (1): The average background for the on-axis chip in unit of photons
*     per 100 pixels, computed using 0.1-8keV photons outside three times 
*     of the source regions of detected sources.

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table3.dat'	! Individual observations of X-ray sources

      integer*4 nr__2
      parameter (nr__2=52542)	! Number of records
      character*164 ar__2  	! Full-size record

      integer*4     Group_2    (nr__2) ! [1/320] Group number
      character*21  CXO        (nr__2) ! Source name (JHHMMSS.sss+DDMMSS.ss) (1)
      character*18  IDet       (nr__2) ! Individual detection designation (2)
      integer*4     Exp_1      (nr__2) ! (s) Exposure time after deadtime correction
      real*8        MJD_1      (nr__2) ! (d) Modified Julian Date of observation
      integer*4     OAA        (nr__2) ! (arcsec) Off-axis angle
      real*4        VigF       (nr__2) ! Vignetting factor (3)
      real*4        eRA        (nr__2) ! (arcsec) ? Right Ascension statistical positional error
      real*4        eDE        (nr__2) ! (arcsec) ? Declination statistical positional error
      real*4        ePos       (nr__2) ! (arcsec) ? Source positional uncertainty (4)
      real*4        Sigma      (nr__2) ! Detection significance (5)
      real*8        Cts        (nr__2) ! (ct) Background-subtracted photon counts (6)
      real*4        e_Cts      (nr__2) ! (ct) Uncertainty in Cts
      real*8        bgct       (nr__2) ! (ct) ? Expected background counts (7)
      real*4        CMS        (nr__2) ! ? The (M-S)/(H+M+S) X-ray color (8)
      real*4        e_CMS      (nr__2) ! ? Uncertainty in CMS
      real*4        CHM        (nr__2) ! ? The (H-M)/(H+M+S) X-ray color (8)
      real*4        e_CHM      (nr__2) ! ? Uncertainty in CHM
      real*4        FX         (nr__2) ! (mW/m2) Source flux; in erg/s/cm^2^ (9)
      real*4        PKS        (nr__2) ! ? Kolmogorov-Smirnov variability probability (10)
      character*4   SQH        (nr__2) ! Source description (11)
*Note (1): Composed from their positions following CXO naming conventions.
*Note (2): In the form of IIIi.ss.nn, with IIIi as the observation ID, ss as
*     the CCD chip, and nn as the source number from wavdetect (nn=u if the
*     source was not detected in an observation). Enclosed in parenthesis is
*     the split fraction, which is less than unity if the source is a split
*     component of a merged source in an observation.
*Note (3): Derived from the exposure map as the ratio between the local and
*     the maximum map value.
*Note (4): Computed from the scheme of Kim et al. (2004, Cat. J/ApJS/150/19).
*Note (5): From wavdetect. For the upper limit, it is computed as
*     (net count)/(count error) and prefixed with a minus sign.
*Note (6): From wavdetect or computed from a circular region equivalent to
*     the PSF enclosing 95% of the energy at 1.5keV for the upper limit.
*Note (7): Within the source region as computed in Section 3.2 for detected
*     sources.
*Note (8): H/M/S stands for background-subtracted photon counts in hard
*     (2-8keV), medium (1-2keV) and soft (0.3-1keV) bands.
*Note (9): Computed from the vignetting corrected count rate in 0.3-8keV
*     assuming a power law of {Gamma}=1.7 and Galactic n_H_ absorption.
*Note (10): Probability that a source is constant within an observation. A
*     source is considered as variable if PKS<0.01.
*Note (11): Sources as follows:
*    SSS = supersoft;
*    QSS = quasi-soft;
*   hard = hard phase;
*    dim = too dim, i.e. below 10 counts.

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table4.dat'	! X-ray point sources in nearby galaxies

      integer*4 nr__3
      parameter (nr__3=17559)	! Number of records
      character*164 ar__3  	! Full-size record

      integer*4     Group_3    (nr__3) ! [1/320] Group number
      character*21  CXO_1      (nr__3) ! Source name (JHHMMSS.sss+DDMMSS.ss) (1)
      real*4        ePos_1     (nr__3) ! (arcsec) Source positional uncertainty (2)
      character*12  Name       (nr__3) ! Galatic source name (3)
      real*4        alpha      (nr__3) ! (arcmin) ? Galactic source nuclear separation
      real*4        r25_2      (nr__3) ! ? Galactic source nuclear separation (4)
      real*8        Dist_1     (nr__3) ! (Mpc) Distance to source
      character*5   V_D        (nr__3) ! Ratio of time source was observed to detected
      real*4        LX         (nr__3) ! (10-7W) Maximum computed luminosity; in erg/s
      real*4        FX_1       (nr__3) ! (mW/m2) Average computed X-ray flux; in erg/s/cm^2^
      real*4        F_F        (nr__3) ! The F_max_/F_min_ flux ratio (5)
      real*8        E_F_F      (nr__3) ! ? Positive error in F/F
      real*8        e_F_F_1    (nr__3) ! ? Negative error in F/F
      real*8        Sigmax     (nr__3) ! Maximum detection significance
      real*8        Cmax       (nr__3) ! Maximum photon counts from detections
      character*12  SQH_1      (nr__3) ! Phase statistics (6)
      character*4   PKS_1      (nr__3) ! K-S criterion variability statistics (7)
      character*10  Note       (nr__3) ! Source identification (8)
*Note (1): Composed from their positions following CXO naming conventions.
*Note (2): Computed from the scheme of Kim et al. (2004, Cat. J/ApJS/150/19).
*Note (3): Numbered sequentially by its maximum detection significance.
*Note (4): In units of the elliptical radius.
*Note (5): As a variability indicator. F_max_ is the maximum 0.3-8keV flux
*     from all detections and F_min_ is the minimum flux from all detections
*     and upper limits. The ratio is unity without errors if F_max_ and
*     F_min_ are the same.
*Note (6): Statistics for supersoft/quasisoft/hard/dim phases. For example,
*     s2 means supersoft in two observations, q3 means quasisoft in three
*     observations, h4 means hard in four observations, and d1 means too dim
*     (below 10 counts) in one observations.
*Note (7): Statistics for variability within single observations by the K-S
*     criterion. For example, v/3 means the source was variable by the K-S
*     criterion (i.e., P_KS_<0.01, more than 10 counts, and the background
*     fraction is <10%) in three observations.
*Note (8): Sources as follows:
*     ULX = ultraluminous X-ray source;
*     ULS = ultraluminous supersoft source;
* NGC3031 = the galactic nucleus for NGC1313.

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table5.dat'	! X-ray identifications for galactic nuclei of
                            nearby galaxies

      integer*4 nr__4
      parameter (nr__4=391)	! Number of records
      character*104 ar__4  	! Full-size record

      integer*4     Group_4    (nr__4) ! [1/320] Group number
      character*8   Gal_2      (nr__4) ! Galaxy name
      integer*4     N6         (nr__4) ! ? Number of X-ray sources within 6" of the
*                                  galactic nucleus
      integer*4     N12        (nr__4) ! ? Number of X-ray sources within 12" of the
*                                  galactic nucleus
      integer*4     Nf         (nr__4) ! ? Number of HST images in different filters
*                                  available for the galactic nuclei region
      character*24  XID        (nr__4) ! CXO counterpart
      integer*4     pos        (nr__4) ! ? Position flag (1)
      integer*4     ext        (nr__4) ! ? X-ray source extendness flag (2)
      integer*4     V          (nr__4) ! Numbers the source was observed
      integer*4     D          (nr__4) ! Numbers the source was detected
      real*4        LXmax      (nr__4) ! (10-7W) Maximum X-ray luminosity in 0.3-8keV among all
*                                  detections
      real*4        LXmin      (nr__4) ! (10-7W) ? Minimum X-ray luminosity in 0.3-8keV among
*                                  all detections
      real*8        CntMax     (nr__4) ! (ct) ? Maximum X-ray photon counts among all
*                                  detections
      real*8        Sigmax_1   (nr__4) ! ? Maximum detection sigma among all detections
      character*12  SQH_2      (nr__4) ! Statistics for supersoft/quasi-soft/hard/dim
*                                  phases (3)
*Note (1): Position flag as follows:
*   1 = the X-ray and optical positions align up within the X-ray positional
*       error,
*   2 = offset in excess of the X-ray positional error presents when there is
*       a clear optical nucleus from DSS or HST images;
*   3 = alignment
*   4 = misalignment when the optical nucleus is extended.
*Note (2): X-ray source extendness flag as follows:
*   1 = perfect point source,
*   2 = there is slight extended emission,
*   3 = extended emission is moderate,
*   4 = the source is dominantly extended emission.
*Note (3): For example, s2 means supersoft in two observations, q3 means
*     quasi-soft in three observations, h4 means hard in four observations,
*     and d1 means too dim (below 10 counts) in one observations.

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table6.dat'	! Ultraluminous X-ray sources in nearby galaxies

      integer*4 nr__5
      parameter (nr__5=480)	! Number of records
      character*157 ar__5  	! Full-size record

      integer*4     Group_5    (nr__5) ! [1/320] Group number
      character*22  CXO_2      (nr__5) ! CXO designation (JHHMMSS.sss+DDMMSS.ss)
      real*4        ePos_2     (nr__5) ! (arcsec) Source positional uncertainties computed from
*                                   the scheme of Kim et al. (2004)
      character*12  Name_1     (nr__5) ! Galactic source name (1)
      real*4        alpha_1    (nr__5) ! (arcmin) Galactic source nuclear separation
      real*4        r25_3      (nr__5) ! Galactic source nuclear separation in unit
*                                   of the elliptical radius
      real*8        Dist_2     (nr__5) ! (Mpc) Distance for the source
      integer*4     V_1        (nr__5) ! Numbers the source was observed
      integer*4     D_1        (nr__5) ! Numbers the source was detected
      real*4        LXmax_1    (nr__5) ! (10-7W) Maximum luminosity in erg/s computed from
*                                   detections
      real*4        FX_2       (nr__5) ! (10-3W/m2) Average flux in erg/s/cm^2^ computed from
*                                   detections
      real*4        F_F_1      (nr__5) ! F_max_/F_min_ ratio as a variability
*                                   indicator (2)
      real*4        E_F_F_2    (nr__5) ! ? Positive error in F/F
      real*4        e_F_F_3    (nr__5) ! ? Negative error in F/F
      real*8        Sigmax_2   (nr__5) ! The maximum detection significance
      real*8        Cmax_1     (nr__5) ! The maximum photon counts from detections
      character*12  SQH_3      (nr__5) ! Statistics for supersoft/quasi-soft/hard/dim
*                                   phases (3)
      character*3   PKS_2      (nr__5) ! K-S criterion variability (4)
      character*8   Notes      (nr__5) ! Source identification (ULX/ULS)
*Note (1): numbered sequentially by its maximum detection significance.
*Note (2): F_max_ is the maximum 0.3-8keV flux from all detections, and
*     F_min_ is the minimum flux from all detections and upper limits. The
*     ratio is unity without errors if F_max_ and F_min_ are the same.
*Note (3): For example, s2 means supersoft in two observations, q3 means
*     quasi-soft in three observations, h4 means hard in four observations,
*     and d1 means too dim (below 10 counts) in one observations.
*Note (4): Statistics for variability within single observations by the K-S
*     criterion. For example, v:3 means the source was variable by the K-S
*     criterion (i.e., PK-S<0.01, more than 10 counts, and the background
*     fraction is <10%) in three observations.

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table7.dat'	! Ultraluminous supersoft X-ray sources in nearby
                            galaxies

      integer*4 nr__6
      parameter (nr__6=70)	! Number of records
      character*157 ar__6  	! Full-size record

      integer*4     Group_6    (nr__6) ! [1/320] Group number
      character*22  CXO_3      (nr__6) ! CXO designation (JHHMMSS.sss+DDMMSS.ss)
      real*4        ePos_3     (nr__6) ! (arcsec) Source positional uncertainties computed from
*                                   the scheme of Kim et al. (2004)
      character*12  Name_2     (nr__6) ! Galactic source name (1)
      real*4        alpha_2    (nr__6) ! (arcmin) Galactic source nuclear separation
      real*4        r25_4      (nr__6) ! Galactic source nuclear separation in unit
*                                   of the elliptical radius
      real*8        Dist_3     (nr__6) ! (Mpc) Distance for the source
      integer*4     V_2        (nr__6) ! Numbers the source was observed
      integer*4     D_2        (nr__6) ! Numbers the source was detected
      real*4        LXmax_2    (nr__6) ! (10-7W) Maximum luminosity in erg/s computed from
*                                   detections
      real*4        FX_3       (nr__6) ! (10-3W/m2) Average flux in erg/s/cm^2^ computed from
*                                   detections
      real*4        F_F_2      (nr__6) ! F_max_/F_min_ ratio as a variability
*                                   indicator (2)
      real*4        E_F_F_4    (nr__6) ! ? Positive error in F/F
      real*4        e_F_F_5    (nr__6) ! ? Negative error in F/F
      real*8        Sigmax_3   (nr__6) ! The maximum detection significance
      real*8        Cmax_2     (nr__6) ! The maximum photon counts from detections
      character*12  SQH_4      (nr__6) ! Statistics for supersoft/quasi-soft/hard/dim
*                                   phases (3)
      character*3   PKS_3      (nr__6) ! K-S criterion variability (4)
      character*8   Notes_1    (nr__6) ! Source identification (ULX/ULS)
*Note (1): numbered sequentially by its maximum detection significance.
*Note (2): F_max_ is the maximum 0.3-8keV flux from all detections, and
*     F_min_ is the minimum flux from all detections and upper limits. The
*     ratio is unity without errors if F_max_ and F_min_ are the same.
*Note (3): For example, s2 means supersoft in two observations, q3 means
*     quasi-soft in three observations, h4 means hard in four observations,
*     and d1 means too dim (below 10 counts) in one observations.
*Note (4): Statistics for variability within single observations by the K-S
*     criterion. For example, v:3 means the source was variable by the K-S
*     criterion (i.e., PK-S<0.01, more than 10 counts, and the background
*     fraction is <10%) in three observations.

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'refs.dat'	! References for table 1

      integer*4 nr__7
      parameter (nr__7=32)	! Number of records
      character*116 ar__7  	! Full-size record

      character*3   Ref        (nr__7) ! Reference code
      character*19  BibCode    (nr__7) ! Bibcode
      character*18  Aut        (nr__7) ! Author's name
      character*73  Note_1     (nr__7) ! Comment or catalog reference in VizieR

C=============================================================================

C  Loading file 'table1.dat'	! Properties of surveyed galaxies

C  Format for file interpretation

    1 format(
     +  A8,1X,A9,1X,F6.2,1X,F6.2,1X,F5.2,1X,F5.2,1X,E8.3,1X,F7.4,1X,
     +  A3,1X,A10,1X,F4.1,1X,E7.2,1X,A1,E8.2,1X,I3,1X,E7.2,1X,A11)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table1.dat')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,391
        read(1,'(A123)')ar__
        read(ar__,1)
     +  Gal(i__),r_Gal(i__),GLON(i__),GLAT(i__),R25(i__),r25_1(i__),
     +  nH(i__),Dist(i__),r_Dist(i__),MType(i__),TT(i__),LB(i__),
     +  l_F60um(i__),F60um(i__),Group(i__),Flim(i__),Class(i__)
        if(ar__(78:81) .EQ. '') TT(i__) = rNULL__
        if(ar__(83:89) .EQ. '') LB(i__) = rNULL__
        if(ar__(92:99) .EQ. '') F60um(i__) = rNULL__
        if(ar__(101:103) .EQ. '') Group(i__) = iNULL__
c    ..............Just test output...........
        write(6,1)
     +  Gal(i__),r_Gal(i__),GLON(i__),GLAT(i__),R25(i__),r25_1(i__),
     +  nH(i__),Dist(i__),r_Dist(i__),MType(i__),TT(i__),LB(i__),
     +  l_F60um(i__),F60um(i__),Group(i__),Flim(i__),Class(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'table2.dat'	! Groups of surveyed galaxies and ACIS observations

C  Format for file interpretation

    2 format(
     +  I3,1X,A8,1X,I2,1X,I7,1X,I4,1X,A10,1X,F9.3,1X,I6,1X,A7,1X,F5.2,
     +  1X,I3)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,667
        read(1,'(A74)')ar__1
        read(ar__1,2)
     +  Group_1(i__),Gal_1(i__),Nobs(i__),ExpTot(i__),ObsID(i__),
     +  ObsDate(i__),MJD(i__),Exp(i__),Chip(i__),Bkgd(i__),Npt(i__)
        if(ar__1(51:56) .EQ. '') Exp(i__) = iNULL__
        if(ar__1(66:70) .EQ. '') Bkgd(i__) = rNULL__
        if(ar__1(72:74) .EQ. '') Npt(i__) = iNULL__
c    ..............Just test output...........
        write(6,2)
     +  Group_1(i__),Gal_1(i__),Nobs(i__),ExpTot(i__),ObsID(i__),
     +  ObsDate(i__),MJD(i__),Exp(i__),Chip(i__),Bkgd(i__),Npt(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'table3.dat'	! Individual observations of X-ray sources

C  Format for file interpretation

    3 format(
     +  I3,4X,A21,1X,A18,1X,I6,1X,F9.3,1X,I3,1X,F5.3,1X,F4.2,1X,F4.2,
     +  1X,F4.1,1X,F6.1,1X,F7.1,1X,F5.1,1X,F7.1,1X,F5.2,1X,F4.2,1X,
     +  F5.2,1X,F4.2,1X,E8.2,1X,E9.2,1X,A4)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,52542
        read(1,'(A164)')ar__2
        read(ar__2,3)
     +  Group_2(i__),CXO(i__),IDet(i__),Exp_1(i__),MJD_1(i__),
     +  OAA(i__),VigF(i__),eRA(i__),eDE(i__),ePos(i__),Sigma(i__),
     +  Cts(i__),e_Cts(i__),bgct(i__),CMS(i__),e_CMS(i__),CHM(i__),
     +  e_CHM(i__),FX(i__),PKS(i__),SQH(i__)
        if(ar__2(76:79) .EQ. '') eRA(i__) = rNULL__
        if(ar__2(81:84) .EQ. '') eDE(i__) = rNULL__
        if(ar__2(86:89) .EQ. '') ePos(i__) = rNULL__
        if(ar__2(112:118) .EQ. '') bgct(i__) = rNULL__
        if(ar__2(120:124) .EQ. '') CMS(i__) = rNULL__
        if(ar__2(126:129) .EQ. '') e_CMS(i__) = rNULL__
        if(ar__2(131:135) .EQ. '') CHM(i__) = rNULL__
        if(ar__2(137:140) .EQ. '') e_CHM(i__) = rNULL__
        if(ar__2(151:159) .EQ. '') PKS(i__) = rNULL__
c    ..............Just test output...........
        write(6,3)
     +  Group_2(i__),CXO(i__),IDet(i__),Exp_1(i__),MJD_1(i__),
     +  OAA(i__),VigF(i__),eRA(i__),eDE(i__),ePos(i__),Sigma(i__),
     +  Cts(i__),e_Cts(i__),bgct(i__),CMS(i__),e_CMS(i__),CHM(i__),
     +  e_CHM(i__),FX(i__),PKS(i__),SQH(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'table4.dat'	! X-ray point sources in nearby galaxies

C  Format for file interpretation

    4 format(
     +  I3,4X,A21,1X,F5.2,1X,A12,1X,F6.3,1X,F4.2,1X,F8.4,1X,A5,1X,
     +  E9.4,1X,E8.3,1X,F6.1,1X,F7.3,1X,F7.3,1X,F8.3,1X,F9.3,1X,A12,
     +  1X,A4,1X,A10)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,17559
        read(1,'(A164)')ar__3
        read(ar__3,4)
     +  Group_3(i__),CXO_1(i__),ePos_1(i__),Name(i__),alpha(i__),
     +  r25_2(i__),Dist_1(i__),V_D(i__),LX(i__),FX_1(i__),F_F(i__),
     +  E_F_F(i__),e_F_F_1(i__),Sigmax(i__),Cmax(i__),SQH_1(i__),
     +  PKS_1(i__),Note(i__)
        if(ar__3(49:54) .EQ. '') alpha(i__) = rNULL__
        if(ar__3(56:59) .EQ. '') r25_2(i__) = rNULL__
        if(ar__3(102:108) .EQ. '') E_F_F(i__) = rNULL__
        if(ar__3(110:116) .EQ. '') e_F_F_1(i__) = rNULL__
c    ..............Just test output...........
        write(6,4)
     +  Group_3(i__),CXO_1(i__),ePos_1(i__),Name(i__),alpha(i__),
     +  r25_2(i__),Dist_1(i__),V_D(i__),LX(i__),FX_1(i__),F_F(i__),
     +  E_F_F(i__),e_F_F_1(i__),Sigmax(i__),Cmax(i__),SQH_1(i__),
     +  PKS_1(i__),Note(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'table5.dat'	! X-ray identifications for galactic nuclei of
*                            nearby galaxies

C  Format for file interpretation

    5 format(
     +  I3,1X,A8,1X,I1,1X,I2,1X,I2,1X,A24,1X,I1,1X,I1,1X,I2,1X,I2,1X,
     +  E9.4,1X,E8.3,1X,F8.2,1X,F7.2,1X,A12)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table5.dat')
      write(6,*) '....Loading file: table5.dat'
      do i__=1,391
        read(1,'(A104)')ar__4
        read(ar__4,5)
     +  Group_4(i__),Gal_2(i__),N6(i__),N12(i__),Nf(i__),XID(i__),
     +  pos(i__),ext(i__),V(i__),D(i__),LXmax(i__),LXmin(i__),
     +  CntMax(i__),Sigmax_1(i__),SQH_2(i__)
        if(ar__4(14:14) .EQ. '') N6(i__) = iNULL__
        if(ar__4(16:17) .EQ. '') N12(i__) = iNULL__
        if(ar__4(19:20) .EQ. '') Nf(i__) = iNULL__
        if(ar__4(47:47) .EQ. '') pos(i__) = iNULL__
        if(ar__4(49:49) .EQ. '') ext(i__) = iNULL__
        if(ar__4(67:74) .EQ. '') LXmin(i__) = rNULL__
        if(ar__4(76:83) .EQ. '') CntMax(i__) = rNULL__
        if(ar__4(85:91) .EQ. '') Sigmax_1(i__) = rNULL__
c    ..............Just test output...........
        write(6,5)
     +  Group_4(i__),Gal_2(i__),N6(i__),N12(i__),Nf(i__),XID(i__),
     +  pos(i__),ext(i__),V(i__),D(i__),LXmax(i__),LXmin(i__),
     +  CntMax(i__),Sigmax_1(i__),SQH_2(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'table6.dat'	! Ultraluminous X-ray sources in nearby galaxies

C  Format for file interpretation

    6 format(
     +  I3,4X,A22,F4.2,1X,A12,1X,F6.3,1X,F4.2,1X,F7.3,1X,I2,1X,I2,1X,
     +  E8.3,1X,E8.3,1X,F6.1,1X,F6.3,1X,F6.3,1X,F9.4,1X,F9.3,1X,A12,
     +  1X,A3,1X,A8)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table6.dat')
      write(6,*) '....Loading file: table6.dat'
      do i__=1,480
        read(1,'(A157)')ar__5
        read(ar__5,6)
     +  Group_5(i__),CXO_2(i__),ePos_2(i__),Name_1(i__),alpha_1(i__),
     +  r25_3(i__),Dist_2(i__),V_1(i__),D_1(i__),LXmax_1(i__),
     +  FX_2(i__),F_F_1(i__),E_F_F_2(i__),e_F_F_3(i__),Sigmax_2(i__),
     +  Cmax_1(i__),SQH_3(i__),PKS_2(i__),Notes(i__)
        if(ar__5(99:104) .EQ. '') E_F_F_2(i__) = rNULL__
        if(ar__5(106:111) .EQ. '') e_F_F_3(i__) = rNULL__
c    ..............Just test output...........
        write(6,6)
     +  Group_5(i__),CXO_2(i__),ePos_2(i__),Name_1(i__),alpha_1(i__),
     +  r25_3(i__),Dist_2(i__),V_1(i__),D_1(i__),LXmax_1(i__),
     +  FX_2(i__),F_F_1(i__),E_F_F_2(i__),e_F_F_3(i__),Sigmax_2(i__),
     +  Cmax_1(i__),SQH_3(i__),PKS_2(i__),Notes(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'table7.dat'	! Ultraluminous supersoft X-ray sources in nearby
*                            galaxies

C  Format for file interpretation

    7 format(
     +  I3,4X,A22,F4.2,1X,A12,1X,F6.3,1X,F4.2,1X,F7.3,1X,I2,1X,I2,1X,
     +  E8.3,1X,E8.3,1X,F6.1,1X,F6.3,1X,F6.3,1X,F9.4,1X,F9.3,1X,A12,
     +  1X,A3,1X,A8)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table7.dat')
      write(6,*) '....Loading file: table7.dat'
      do i__=1,70
        read(1,'(A157)')ar__6
        read(ar__6,7)
     +  Group_6(i__),CXO_3(i__),ePos_3(i__),Name_2(i__),alpha_2(i__),
     +  r25_4(i__),Dist_3(i__),V_2(i__),D_2(i__),LXmax_2(i__),
     +  FX_3(i__),F_F_2(i__),E_F_F_4(i__),e_F_F_5(i__),Sigmax_3(i__),
     +  Cmax_2(i__),SQH_4(i__),PKS_3(i__),Notes_1(i__)
        if(ar__6(99:104) .EQ. '') E_F_F_4(i__) = rNULL__
        if(ar__6(106:111) .EQ. '') e_F_F_5(i__) = rNULL__
c    ..............Just test output...........
        write(6,7)
     +  Group_6(i__),CXO_3(i__),ePos_3(i__),Name_2(i__),alpha_2(i__),
     +  r25_4(i__),Dist_3(i__),V_2(i__),D_2(i__),LXmax_2(i__),
     +  FX_3(i__),F_F_2(i__),E_F_F_4(i__),e_F_F_5(i__),Sigmax_3(i__),
     +  Cmax_2(i__),SQH_4(i__),PKS_3(i__),Notes_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'refs.dat'	! References for table 1

C  Format for file interpretation

    8 format(A3,1X,A19,1X,A18,1X,A73)

C  Effective file loading

      open(unit=1,status='old',file=
     +'refs.dat')
      write(6,*) '....Loading file: refs.dat'
      do i__=1,32
        read(1,'(A116)')ar__7
        read(ar__7,8)Ref(i__),BibCode(i__),Aut(i__),Note_1(i__)
c    ..............Just test output...........
        write(6,8)Ref(i__),BibCode(i__),Aut(i__),Note_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================
      stop
      end