FORTRAN Generation
(/./ftp/cats/J/ApJ/662/525)

Conversion of standardized ReadMe file for file /./ftp/cats/J/ApJ/662/525 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-May-17
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/ApJ/662/525       LMXBs in globular clusters of 5 galaxies   (Kundu+, 2007)
*================================================================================
*Probing the formation of low-mass X-ray binaries in globular clusters and
*the field.
*    Kundu A., Maccarone T.J., Zepf S.E.
*   <Astrophys. J., 662, 525-543 (2007)>
*   =2007ApJ...662..525K
C=============================================================================

C  Internal variables

      integer*4 i__

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

C  Declarations for 'table2.dat'	! NGC 1399 X-ray binaries

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

C  J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs
      real*8        RAdeg      (nr__) ! (deg) Right Ascension J2000
      real*8        DEdeg      (nr__) ! (deg)     Declination J2000
C  ---------------------------------- ! (position vector(s) in degrees)

      integer*4     XID        (nr__) ! Running X-ray identification number (1)
      integer*4     f_XID      (nr__) ! [1,4]? Remark on XID (2)
      character*16  CXOKMZ     (nr__) ! Chandra identification, JHHMMSS.s+SSMMSS
      integer*4     RAh        (nr__) ! (h) Hour of Right Ascension (J2000)
      integer*4     RAm        (nr__) ! (min) Minute of Right Ascension (J2000)
      real*4        RAs        (nr__) ! (s) Second of Right Ascension (J2000)
      character*1   DE_        (nr__) ! Sign of the declination (J2000)
      integer*4     DEd        (nr__) ! (deg) Degree of Declination (J2000)
      integer*4     DEm        (nr__) ! (arcmin) Arcminute of Declination (J2000)
      real*4        DEs        (nr__) ! (arcsec) Arcsecond of Declination (J2000)
      real*4        LX         (nr__) ! (10-7W) Observed X-ray luminosity in erg/s
      character*1   HST        (nr__) ! [YN] Source within the HST field-of-view?
*Note (1): Sources identified as [KMZ2007] NGC NNNN X NNN in Simbad.
*Note (2): Flag as follows:
*      1 = Nuclear source
*      2 = Optical counterparts outside the typical color range 
*          of globular clusters
*      3 = Likely optical counterpart on the edge of the WFPC2 chip
*      4 = Likely associated with the nearby companion spiral galaxy NGC 4647

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

C  Declarations for 'table3.dat'	! NGC 1399 globular clusters

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

C  J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs
      real*8        RAdeg_1    (nr__1) ! (deg) Right Ascension J2000
      real*8        DEdeg_1    (nr__1) ! (deg)     Declination J2000
C  ---------------------------------- ! (position vector(s) in degrees)

      integer*4     OID        (nr__1) ! Running optical identification number (1)
      integer*4     f_OID      (nr__1) ! [1,2]? Source too close to center (2)
      integer*4     RAh_1      (nr__1) ! (h) Hour of Right Ascension (J2000)
      integer*4     RAm_1      (nr__1) ! (min) Minute of Right Ascension (J2000)
      real*4        RAs_1      (nr__1) ! (s) Second of Right Ascension (J2000)
      character*1   DE__1      (nr__1) ! Sign of the declination (J2000)
      integer*4     DEd_1      (nr__1) ! (deg) Degree of Declination (J2000)
      integer*4     DEm_1      (nr__1) ! (arcmin) Arcminute of Declination (J2000)
      real*4        DEs_1      (nr__1) ! (arcsec) Arcsecond of Declination (J2000)
      real*4        Bmag       (nr__1) ! (mag) The B band magnitude
      real*4        e_Bmag     (nr__1) ! (mag) Uncertainty in Bmag
      real*4        Imag       (nr__1) ! (mag) The I band magnitude
      real*4        e_Imag     (nr__1) ! (mag) Uncertainty in Imag
      real*4        B_I        (nr__1) ! (mag) The (B-I) color index
      real*4        e_B_I      (nr__1) ! (mag) Uncertainty in B-I
*Note (1): Sources identified as [KMZ 2007] NGC NNNN GC NNN in Simbad.
*Note (2): Flag as follows:
*      1 = Objects are within 8" of the center of the galaxy and are not
*          considered for the rest of the LMXB-GC analysis due to the high
*          X-ray background in this region.
*          Object 1 is the nucleus of the galaxy.
*      2 = Objects are within 10" of the center of the galaxy and are not
*          considered for the rest of the LMXB-GC analysis due to the high
*          X-ray background in this region

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

C  Declarations for 'table4.dat'	! NGC 1399 LMXB-GC candidates

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

      character*16  CXOKMZ_1   (nr__2) ! Chandra Name (JHHMMSS.s+DDMMSS)
      integer*4     XID_1      (nr__2) ! X-ray identification number (1)
      integer*4     OID_1      (nr__2) ! Optical identification number (2)
      real*4        LX_1       (nr__2) ! (10-7W) X-ray luminosity
      real*4        Bmag_1     (nr__2) ! (mag) B magnitude
      real*4        e_Bmag_1   (nr__2) ! (mag) rms uncertainty on Bmag
      real*4        Imag_1     (nr__2) ! (mag) I magnitude
      real*4        e_Imag_1   (nr__2) ! (mag) rms uncertainty on Imag
      real*4        B_I_1      (nr__2) ! (mag) B-I colour index
      real*4        e_B_I_1    (nr__2) ! (mag) rms uncertainty on B-I
*Note (1): As in tables 2, 5, 8, 11 and 14, respectively.
*Note (2): As in tables 3, 6, 9, 12 and 15, respectively.

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

C  Declarations for 'table5.dat'	! NGC 3115 X-ray binaries

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

C  J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs
      real*8        RAdeg_2    (nr__3) ! (deg) Right Ascension J2000
      real*8        DEdeg_2    (nr__3) ! (deg)     Declination J2000
C  ---------------------------------- ! (position vector(s) in degrees)

      integer*4     XID_2      (nr__3) ! Running X-ray identification number (1)
      integer*4     f_XID_1    (nr__3) ! [1,4]? Remark on XID (2)
      character*16  CXOKMZ_2   (nr__3) ! Chandra identification, JHHMMSS.s+SSMMSS
      integer*4     RAh_2      (nr__3) ! (h) Hour of Right Ascension (J2000)
      integer*4     RAm_2      (nr__3) ! (min) Minute of Right Ascension (J2000)
      real*4        RAs_2      (nr__3) ! (s) Second of Right Ascension (J2000)
      character*1   DE__2      (nr__3) ! Sign of the declination (J2000)
      integer*4     DEd_2      (nr__3) ! (deg) Degree of Declination (J2000)
      integer*4     DEm_2      (nr__3) ! (arcmin) Arcminute of Declination (J2000)
      real*4        DEs_2      (nr__3) ! (arcsec) Arcsecond of Declination (J2000)
      real*4        LX_2       (nr__3) ! (10-7W) Observed X-ray luminosity in erg/s
      character*1   HST_1      (nr__3) ! [YN] Source within the HST field-of-view?
*Note (1): Sources identified as [KMZ2007] NGC NNNN X NNN in Simbad.
*Note (2): Flag as follows:
*      1 = Nuclear source
*      2 = Optical counterparts outside the typical color range 
*          of globular clusters
*      3 = Likely optical counterpart on the edge of the WFPC2 chip
*      4 = Likely associated with the nearby companion spiral galaxy NGC 4647

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

C  Declarations for 'table6.dat'	! NGC 3115 globular clusters

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

C  J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs
      real*8        RAdeg_3    (nr__4) ! (deg) Right Ascension J2000
      real*8        DEdeg_3    (nr__4) ! (deg)     Declination J2000
C  ---------------------------------- ! (position vector(s) in degrees)

      integer*4     OID_2      (nr__4) ! Running optical identification number (1)
      integer*4     f_OID_1    (nr__4) ! [1,2]? Source too close to center (2)
      integer*4     RAh_3      (nr__4) ! (h) Hour of Right Ascension (J2000)
      integer*4     RAm_3      (nr__4) ! (min) Minute of Right Ascension (J2000)
      real*4        RAs_3      (nr__4) ! (s) Second of Right Ascension (J2000)
      character*1   DE__3      (nr__4) ! Sign of the declination (J2000)
      integer*4     DEd_3      (nr__4) ! (deg) Degree of Declination (J2000)
      integer*4     DEm_3      (nr__4) ! (arcmin) Arcminute of Declination (J2000)
      real*4        DEs_3      (nr__4) ! (arcsec) Arcsecond of Declination (J2000)
      real*4        Bmag_2     (nr__4) ! (mag) The B band magnitude
      real*4        e_Bmag_2   (nr__4) ! (mag) Uncertainty in Bmag
      real*4        Imag_2     (nr__4) ! (mag) The I band magnitude
      real*4        e_Imag_2   (nr__4) ! (mag) Uncertainty in Imag
      real*4        B_I_2      (nr__4) ! (mag) The (B-I) color index
      real*4        e_B_I_2    (nr__4) ! (mag) Uncertainty in B-I
*Note (1): Sources identified as [KMZ 2007] NGC NNNN GC NNN in Simbad.
*Note (2): Flag as follows:
*      1 = Objects are within 8" of the center of the galaxy and are not
*          considered for the rest of the LMXB-GC analysis due to the high
*          X-ray background in this region.
*          Object 1 is the nucleus of the galaxy.
*      2 = Objects are within 10" of the center of the galaxy and are not
*          considered for the rest of the LMXB-GC analysis due to the high
*          X-ray background in this region

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

C  Declarations for 'table7.dat'	! NGC 3115 LMXB-GC candidates

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

      character*16  CXOKMZ_3   (nr__5) ! Chandra Name (JHHMMSS.s+DDMMSS)
      integer*4     XID_3      (nr__5) ! X-ray identification number (1)
      integer*4     OID_3      (nr__5) ! Optical identification number (2)
      real*4        LX_3       (nr__5) ! (10-7W) X-ray luminosity
      real*4        Bmag_3     (nr__5) ! (mag) B magnitude
      real*4        e_Bmag_3   (nr__5) ! (mag) rms uncertainty on Bmag
      real*4        Imag_3     (nr__5) ! (mag) I magnitude
      real*4        e_Imag_3   (nr__5) ! (mag) rms uncertainty on Imag
      real*4        B_I_3      (nr__5) ! (mag) B-I colour index
      real*4        e_B_I_3    (nr__5) ! (mag) rms uncertainty on B-I
*Note (1): As in tables 2, 5, 8, 11 and 14, respectively.
*Note (2): As in tables 3, 6, 9, 12 and 15, respectively.

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

C  Declarations for 'table8.dat'	! NGC 3379 X-ray binaries

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

C  J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs
      real*8        RAdeg_4    (nr__6) ! (deg) Right Ascension J2000
      real*8        DEdeg_4    (nr__6) ! (deg)     Declination J2000
C  ---------------------------------- ! (position vector(s) in degrees)

      integer*4     XID_4      (nr__6) ! Running X-ray identification number (1)
      integer*4     f_XID_2    (nr__6) ! [1,4]? Remark on XID (2)
      character*16  CXOKMZ_4   (nr__6) ! Chandra identification, JHHMMSS.s+SSMMSS
      integer*4     RAh_4      (nr__6) ! (h) Hour of Right Ascension (J2000)
      integer*4     RAm_4      (nr__6) ! (min) Minute of Right Ascension (J2000)
      real*4        RAs_4      (nr__6) ! (s) Second of Right Ascension (J2000)
      character*1   DE__4      (nr__6) ! Sign of the declination (J2000)
      integer*4     DEd_4      (nr__6) ! (deg) Degree of Declination (J2000)
      integer*4     DEm_4      (nr__6) ! (arcmin) Arcminute of Declination (J2000)
      real*4        DEs_4      (nr__6) ! (arcsec) Arcsecond of Declination (J2000)
      real*4        LX_4       (nr__6) ! (10-7W) Observed X-ray luminosity in erg/s
      character*1   HST_2      (nr__6) ! [YN] Source within the HST field-of-view?
*Note (1): Sources identified as [KMZ2007] NGC NNNN X NNN in Simbad.
*Note (2): Flag as follows:
*      1 = Nuclear source
*      2 = Optical counterparts outside the typical color range 
*          of globular clusters
*      3 = Likely optical counterpart on the edge of the WFPC2 chip
*      4 = Likely associated with the nearby companion spiral galaxy NGC 4647

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

C  Declarations for 'table9.dat'	! NGC 3379 globular clusters

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

C  J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs
      real*8        RAdeg_5    (nr__7) ! (deg) Right Ascension J2000
      real*8        DEdeg_5    (nr__7) ! (deg)     Declination J2000
C  ---------------------------------- ! (position vector(s) in degrees)

      integer*4     OID_4      (nr__7) ! Running optical identification number (1)
      integer*4     f_OID_2    (nr__7) ! [1,2]? Source too close to center (2)
      integer*4     RAh_5      (nr__7) ! (h) Hour of Right Ascension (J2000)
      integer*4     RAm_5      (nr__7) ! (min) Minute of Right Ascension (J2000)
      real*4        RAs_5      (nr__7) ! (s) Second of Right Ascension (J2000)
      character*1   DE__5      (nr__7) ! Sign of the declination (J2000)
      integer*4     DEd_5      (nr__7) ! (deg) Degree of Declination (J2000)
      integer*4     DEm_5      (nr__7) ! (arcmin) Arcminute of Declination (J2000)
      real*4        DEs_5      (nr__7) ! (arcsec) Arcsecond of Declination (J2000)
      real*4        Bmag_4     (nr__7) ! (mag) The B band magnitude
      real*4        e_Bmag_4   (nr__7) ! (mag) Uncertainty in Bmag
      real*4        Imag_4     (nr__7) ! (mag) The I band magnitude
      real*4        e_Imag_4   (nr__7) ! (mag) Uncertainty in Imag
      real*4        B_I_4      (nr__7) ! (mag) The (B-I) color index
      real*4        e_B_I_4    (nr__7) ! (mag) Uncertainty in B-I
*Note (1): Sources identified as [KMZ 2007] NGC NNNN GC NNN in Simbad.
*Note (2): Flag as follows:
*      1 = Objects are within 8" of the center of the galaxy and are not
*          considered for the rest of the LMXB-GC analysis due to the high
*          X-ray background in this region.
*          Object 1 is the nucleus of the galaxy.
*      2 = Objects are within 10" of the center of the galaxy and are not
*          considered for the rest of the LMXB-GC analysis due to the high
*          X-ray background in this region

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

C  Declarations for 'table10.dat'	! NGC 3379 LMXB-GC candidates

      integer*4 nr__8
      parameter (nr__8=7)	! Number of records
      character*71 ar__8  	! Full-size record

      character*16  CXOKMZ_5   (nr__8) ! Chandra Name (JHHMMSS.s+DDMMSS)
      integer*4     XID_5      (nr__8) ! X-ray identification number (1)
      integer*4     OID_5      (nr__8) ! Optical identification number (2)
      real*4        LX_5       (nr__8) ! (10-7W) X-ray luminosity
      real*4        Bmag_5     (nr__8) ! (mag) B magnitude
      real*4        e_Bmag_5   (nr__8) ! (mag) rms uncertainty on Bmag
      real*4        Imag_5     (nr__8) ! (mag) I magnitude
      real*4        e_Imag_5   (nr__8) ! (mag) rms uncertainty on Imag
      real*4        B_I_5      (nr__8) ! (mag) B-I colour index
      real*4        e_B_I_5    (nr__8) ! (mag) rms uncertainty on B-I
*Note (1): As in tables 2, 5, 8, 11 and 14, respectively.
*Note (2): As in tables 3, 6, 9, 12 and 15, respectively.

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

C  Declarations for 'table11.dat'	! NGC 4594 X-ray binaries

      integer*4 nr__9
      parameter (nr__9=141)	! Number of records
      character*63 ar__9  	! Full-size record

C  J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs
      real*8        RAdeg_6    (nr__9) ! (deg) Right Ascension J2000
      real*8        DEdeg_6    (nr__9) ! (deg)     Declination J2000
C  ---------------------------------- ! (position vector(s) in degrees)

      integer*4     XID_6      (nr__9) ! Running X-ray identification number (1)
      integer*4     f_XID_3    (nr__9) ! [1,4]? Remark on XID (2)
      character*16  CXOKMZ_6   (nr__9) ! Chandra identification, JHHMMSS.s+SSMMSS
      integer*4     RAh_6      (nr__9) ! (h) Hour of Right Ascension (J2000)
      integer*4     RAm_6      (nr__9) ! (min) Minute of Right Ascension (J2000)
      real*4        RAs_6      (nr__9) ! (s) Second of Right Ascension (J2000)
      character*1   DE__6      (nr__9) ! Sign of the declination (J2000)
      integer*4     DEd_6      (nr__9) ! (deg) Degree of Declination (J2000)
      integer*4     DEm_6      (nr__9) ! (arcmin) Arcminute of Declination (J2000)
      real*4        DEs_6      (nr__9) ! (arcsec) Arcsecond of Declination (J2000)
      real*4        LX_6       (nr__9) ! (10-7W) Observed X-ray luminosity in erg/s
      character*1   HST_3      (nr__9) ! [YN] Source within the HST field-of-view?
*Note (1): Sources identified as [KMZ2007] NGC NNNN X NNN in Simbad.
*Note (2): Flag as follows:
*      1 = Nuclear source
*      2 = Optical counterparts outside the typical color range 
*          of globular clusters
*      3 = Likely optical counterpart on the edge of the WFPC2 chip
*      4 = Likely associated with the nearby companion spiral galaxy NGC 4647

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

C  Declarations for 'table12.dat'	! NGC 4594 globular clusters

      integer*4 nr__10
      parameter (nr__10=193)	! Number of records
      character*61 ar__10 	! Full-size record

C  J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs
      real*8        RAdeg_7    (nr__10) ! (deg) Right Ascension J2000
      real*8        DEdeg_7    (nr__10) ! (deg)     Declination J2000
C  ---------------------------------- ! (position vector(s) in degrees)

      integer*4     OID_6      (nr__10) ! Running optical identification number (1)
      integer*4     f_OID_3    (nr__10) ! [1,2]? Source too close to center (2)
      integer*4     RAh_7      (nr__10) ! (h) Hour of Right Ascension (J2000)
      integer*4     RAm_7      (nr__10) ! (min) Minute of Right Ascension (J2000)
      real*4        RAs_7      (nr__10) ! (s) Second of Right Ascension (J2000)
      character*1   DE__7      (nr__10) ! Sign of the declination (J2000)
      integer*4     DEd_7      (nr__10) ! (deg) Degree of Declination (J2000)
      integer*4     DEm_7      (nr__10) ! (arcmin) Arcminute of Declination (J2000)
      real*4        DEs_7      (nr__10) ! (arcsec) Arcsecond of Declination (J2000)
      real*4        Bmag_6     (nr__10) ! (mag) The B band magnitude
      real*4        e_Bmag_6   (nr__10) ! (mag) Uncertainty in Bmag
      real*4        Imag_6     (nr__10) ! (mag) The I band magnitude
      real*4        e_Imag_6   (nr__10) ! (mag) Uncertainty in Imag
      real*4        B_I_6      (nr__10) ! (mag) The (B-I) color index
      real*4        e_B_I_6    (nr__10) ! (mag) Uncertainty in B-I
*Note (1): Sources identified as [KMZ 2007] NGC NNNN GC NNN in Simbad.
*Note (2): Flag as follows:
*      1 = Objects are within 8" of the center of the galaxy and are not
*          considered for the rest of the LMXB-GC analysis due to the high
*          X-ray background in this region.
*          Object 1 is the nucleus of the galaxy.
*      2 = Objects are within 10" of the center of the galaxy and are not
*          considered for the rest of the LMXB-GC analysis due to the high
*          X-ray background in this region

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

C  Declarations for 'table13.dat'	! NGC 4594 LMXB-GC candidates

      integer*4 nr__11
      parameter (nr__11=15)	! Number of records
      character*71 ar__11 	! Full-size record

      character*16  CXOKMZ_7   (nr__11) ! Chandra Name (JHHMMSS.s+DDMMSS)
      integer*4     XID_7      (nr__11) ! X-ray identification number (1)
      integer*4     OID_7      (nr__11) ! Optical identification number (2)
      real*4        LX_7       (nr__11) ! (10-7W) X-ray luminosity
      real*4        Bmag_7     (nr__11) ! (mag) B magnitude
      real*4        e_Bmag_7   (nr__11) ! (mag) rms uncertainty on Bmag
      real*4        Imag_7     (nr__11) ! (mag) I magnitude
      real*4        e_Imag_7   (nr__11) ! (mag) rms uncertainty on Imag
      real*4        B_I_7      (nr__11) ! (mag) B-I colour index
      real*4        e_B_I_7    (nr__11) ! (mag) rms uncertainty on B-I
*Note (1): As in tables 2, 5, 8, 11 and 14, respectively.
*Note (2): As in tables 3, 6, 9, 12 and 15, respectively.

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

C  Declarations for 'table14.dat'	! NGC 4649 X-ray binaries

      integer*4 nr__12
      parameter (nr__12=165)	! Number of records
      character*63 ar__12 	! Full-size record

C  J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs
      real*8        RAdeg_8    (nr__12) ! (deg) Right Ascension J2000
      real*8        DEdeg_8    (nr__12) ! (deg)     Declination J2000
C  ---------------------------------- ! (position vector(s) in degrees)

      integer*4     XID_8      (nr__12) ! Running X-ray identification number (1)
      integer*4     f_XID_4    (nr__12) ! [1,4]? Remark on XID (2)
      character*16  CXOKMZ_8   (nr__12) ! Chandra identification, JHHMMSS.s+SSMMSS
      integer*4     RAh_8      (nr__12) ! (h) Hour of Right Ascension (J2000)
      integer*4     RAm_8      (nr__12) ! (min) Minute of Right Ascension (J2000)
      real*4        RAs_8      (nr__12) ! (s) Second of Right Ascension (J2000)
      character*1   DE__8      (nr__12) ! Sign of the declination (J2000)
      integer*4     DEd_8      (nr__12) ! (deg) Degree of Declination (J2000)
      integer*4     DEm_8      (nr__12) ! (arcmin) Arcminute of Declination (J2000)
      real*4        DEs_8      (nr__12) ! (arcsec) Arcsecond of Declination (J2000)
      real*4        LX_8       (nr__12) ! (10-7W) Observed X-ray luminosity in erg/s
      character*1   HST_4      (nr__12) ! [YN] Source within the HST field-of-view?
*Note (1): Sources identified as [KMZ2007] NGC NNNN X NNN in Simbad.
*Note (2): Flag as follows:
*      1 = Nuclear source
*      2 = Optical counterparts outside the typical color range 
*          of globular clusters
*      3 = Likely optical counterpart on the edge of the WFPC2 chip
*      4 = Likely associated with the nearby companion spiral galaxy NGC 4647

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

C  Declarations for 'table15.dat'	! NGC 4649 globular clusters

      integer*4 nr__13
      parameter (nr__13=418)	! Number of records
      character*61 ar__13 	! Full-size record

C  J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs
      real*8        RAdeg_9    (nr__13) ! (deg) Right Ascension J2000
      real*8        DEdeg_9    (nr__13) ! (deg)     Declination J2000
C  ---------------------------------- ! (position vector(s) in degrees)

      integer*4     OID_8      (nr__13) ! Running optical identification number (1)
      integer*4     f_OID_4    (nr__13) ! [1,2]? Source too close to center (2)
      integer*4     RAh_9      (nr__13) ! (h) Hour of Right Ascension (J2000)
      integer*4     RAm_9      (nr__13) ! (min) Minute of Right Ascension (J2000)
      real*4        RAs_9      (nr__13) ! (s) Second of Right Ascension (J2000)
      character*1   DE__9      (nr__13) ! Sign of the declination (J2000)
      integer*4     DEd_9      (nr__13) ! (deg) Degree of Declination (J2000)
      integer*4     DEm_9      (nr__13) ! (arcmin) Arcminute of Declination (J2000)
      real*4        DEs_9      (nr__13) ! (arcsec) Arcsecond of Declination (J2000)
      real*4        Bmag_8     (nr__13) ! (mag) The B band magnitude
      real*4        e_Bmag_8   (nr__13) ! (mag) Uncertainty in Bmag
      real*4        Imag_8     (nr__13) ! (mag) The I band magnitude
      real*4        e_Imag_8   (nr__13) ! (mag) Uncertainty in Imag
      real*4        B_I_8      (nr__13) ! (mag) The (B-I) color index
      real*4        e_B_I_8    (nr__13) ! (mag) Uncertainty in B-I
*Note (1): Sources identified as [KMZ 2007] NGC NNNN GC NNN in Simbad.
*Note (2): Flag as follows:
*      1 = Objects are within 8" of the center of the galaxy and are not
*          considered for the rest of the LMXB-GC analysis due to the high
*          X-ray background in this region.
*          Object 1 is the nucleus of the galaxy.
*      2 = Objects are within 10" of the center of the galaxy and are not
*          considered for the rest of the LMXB-GC analysis due to the high
*          X-ray background in this region

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

C  Declarations for 'table16.dat'	! NGC 4649 LMXB-GC candidates

      integer*4 nr__14
      parameter (nr__14=16)	! Number of records
      character*71 ar__14 	! Full-size record

      character*16  CXOKMZ_9   (nr__14) ! Chandra Name (JHHMMSS.s+DDMMSS)
      integer*4     XID_9      (nr__14) ! X-ray identification number (1)
      integer*4     OID_9      (nr__14) ! Optical identification number (2)
      real*4        LX_9       (nr__14) ! (10-7W) X-ray luminosity
      real*4        Bmag_9     (nr__14) ! (mag) B magnitude
      real*4        e_Bmag_9   (nr__14) ! (mag) rms uncertainty on Bmag
      real*4        Imag_9     (nr__14) ! (mag) I magnitude
      real*4        e_Imag_9   (nr__14) ! (mag) rms uncertainty on Imag
      real*4        B_I_9      (nr__14) ! (mag) B-I colour index
      real*4        e_B_I_9    (nr__14) ! (mag) rms uncertainty on B-I
*Note (1): As in tables 2, 5, 8, 11 and 14, respectively.
*Note (2): As in tables 3, 6, 9, 12 and 15, respectively.

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

C  Loading file 'table2.dat'	! NGC 1399 X-ray binaries

C  Format for file interpretation

    1 format(
     +  I3,1X,I1,8X,A16,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,
     +  E7.2,1X,A1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table2.dat')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,175
        read(1,'(A63)')ar__
        read(ar__,1)
     +  XID(i__),f_XID(i__),CXOKMZ(i__),RAh(i__),RAm(i__),RAs(i__),
     +  DE_(i__),DEd(i__),DEm(i__),DEs(i__),LX(i__),HST(i__)
        if(ar__(5:5) .EQ. '') f_XID(i__) = iNULL__
        RAdeg(i__) = rNULL__
        DEdeg(i__) = rNULL__
c  Derive coordinates RAdeg and DEdeg from input data
c  (RAdeg and DEdeg are set to rNULL__ when unknown)
        if(RAh(i__) .GT. -180) RAdeg(i__)=RAh(i__)*15.
        if(RAm(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAm(i__)/4.
        if(RAs(i__) .GT. -180) RAdeg(i__)=RAdeg(i__)+RAs(i__)/240.
        if(DEd(i__) .GE. 0) DEdeg(i__)=DEd(i__)
        if(DEm(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEm(i__)/60.
        if(DEs(i__) .GE. 0) DEdeg(i__)=DEdeg(i__)+DEs(i__)/3600.
        if(DE_(i__).EQ.'-'.AND.DEdeg(i__).GE.0) DEdeg(i__)=-DEdeg(i__)
c    ..............Just test output...........
        write(6,1)
     +  XID(i__),f_XID(i__),CXOKMZ(i__),RAh(i__),RAm(i__),RAs(i__),
     +  DE_(i__),DEd(i__),DEm(i__),DEs(i__),LX(i__),HST(i__)
        write(6,'(6H Pos: 2F8.4)') RAdeg(i__),DEdeg(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table3.dat'	! NGC 1399 globular clusters

C  Format for file interpretation

    2 format(
     +  I3,1X,I1,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,F5.2,
     +  1X,F4.2,1X,F5.2,1X,F4.2,1X,F4.2,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table3.dat')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,554
        read(1,'(A61)')ar__1
        read(ar__1,2)
     +  OID(i__),f_OID(i__),RAh_1(i__),RAm_1(i__),RAs_1(i__),
     +  DE__1(i__),DEd_1(i__),DEm_1(i__),DEs_1(i__),Bmag(i__),
     +  e_Bmag(i__),Imag(i__),e_Imag(i__),B_I(i__),e_B_I(i__)
        if(ar__1(5:5) .EQ. '') f_OID(i__) = iNULL__
        RAdeg_1(i__) = rNULL__
        DEdeg_1(i__) = rNULL__
c  Derive coordinates RAdeg_1 and DEdeg_1 from input data
c  (RAdeg_1 and DEdeg_1 are set to rNULL__ when unknown)
        if(RAh_1(i__) .GT. -180) RAdeg_1(i__)=RAh_1(i__)*15.
        if(RAm_1(i__) .GT. -180) RAdeg_1(i__)=RAdeg_1(i__)+RAm_1(i__)/4.
        if(RAs_1(i__) .GT. -180) RAdeg_1(i__)=RAdeg_1(i__)+RAs_1(i__)/240.
        if(DEd_1(i__) .GE. 0) DEdeg_1(i__)=DEd_1(i__)
        if(DEm_1(i__) .GE. 0) DEdeg_1(i__)=DEdeg_1(i__)+DEm_1(i__)/60.
        if(DEs_1(i__) .GE. 0) DEdeg_1(i__)=DEdeg_1(i__)+DEs_1(i__)/3600.
        if(DE__1(i__).EQ.'-'.AND.DEdeg_1(i__).GE.0) DEdeg_1(i__)=-DEdeg_1(i__)
c    ..............Just test output...........
        write(6,2)
     +  OID(i__),f_OID(i__),RAh_1(i__),RAm_1(i__),RAs_1(i__),
     +  DE__1(i__),DEd_1(i__),DEm_1(i__),DEs_1(i__),Bmag(i__),
     +  e_Bmag(i__),Imag(i__),e_Imag(i__),B_I(i__),e_B_I(i__)
        write(6,'(6H Pos: 2F8.4)') RAdeg_1(i__),DEdeg_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table4.dat'	! NGC 1399 LMXB-GC candidates

C  Format for file interpretation

    3 format(
     +  7X,A16,1X,I2,1X,I3,1X,E8.3,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,
     +  F4.2,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table4.dat')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,24
        read(1,'(A71)')ar__2
        read(ar__2,3)
     +  CXOKMZ_1(i__),XID_1(i__),OID_1(i__),LX_1(i__),Bmag_1(i__),
     +  e_Bmag_1(i__),Imag_1(i__),e_Imag_1(i__),B_I_1(i__),
     +  e_B_I_1(i__)
c    ..............Just test output...........
        write(6,3)
     +  CXOKMZ_1(i__),XID_1(i__),OID_1(i__),LX_1(i__),Bmag_1(i__),
     +  e_Bmag_1(i__),Imag_1(i__),e_Imag_1(i__),B_I_1(i__),
     +  e_B_I_1(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table5.dat'	! NGC 3115 X-ray binaries

C  Format for file interpretation

    4 format(
     +  I3,1X,I1,8X,A16,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,
     +  E7.2,1X,A1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table5.dat')
      write(6,*) '....Loading file: table5.dat'
      do i__=1,86
        read(1,'(A63)')ar__3
        read(ar__3,4)
     +  XID_2(i__),f_XID_1(i__),CXOKMZ_2(i__),RAh_2(i__),RAm_2(i__),
     +  RAs_2(i__),DE__2(i__),DEd_2(i__),DEm_2(i__),DEs_2(i__),
     +  LX_2(i__),HST_1(i__)
        if(ar__3(5:5) .EQ. '') f_XID_1(i__) = iNULL__
        RAdeg_2(i__) = rNULL__
        DEdeg_2(i__) = rNULL__
c  Derive coordinates RAdeg_2 and DEdeg_2 from input data
c  (RAdeg_2 and DEdeg_2 are set to rNULL__ when unknown)
        if(RAh_2(i__) .GT. -180) RAdeg_2(i__)=RAh_2(i__)*15.
        if(RAm_2(i__) .GT. -180) RAdeg_2(i__)=RAdeg_2(i__)+RAm_2(i__)/4.
        if(RAs_2(i__) .GT. -180) RAdeg_2(i__)=RAdeg_2(i__)+RAs_2(i__)/240.
        if(DEd_2(i__) .GE. 0) DEdeg_2(i__)=DEd_2(i__)
        if(DEm_2(i__) .GE. 0) DEdeg_2(i__)=DEdeg_2(i__)+DEm_2(i__)/60.
        if(DEs_2(i__) .GE. 0) DEdeg_2(i__)=DEdeg_2(i__)+DEs_2(i__)/3600.
        if(DE__2(i__).EQ.'-'.AND.DEdeg_2(i__).GE.0) DEdeg_2(i__)=-DEdeg_2(i__)
c    ..............Just test output...........
        write(6,4)
     +  XID_2(i__),f_XID_1(i__),CXOKMZ_2(i__),RAh_2(i__),RAm_2(i__),
     +  RAs_2(i__),DE__2(i__),DEd_2(i__),DEm_2(i__),DEs_2(i__),
     +  LX_2(i__),HST_1(i__)
        write(6,'(6H Pos: 2F8.4)') RAdeg_2(i__),DEdeg_2(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table6.dat'	! NGC 3115 globular clusters

C  Format for file interpretation

    5 format(
     +  I3,1X,I1,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,F5.2,
     +  1X,F4.2,1X,F5.2,1X,F4.2,1X,F4.2,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table6.dat')
      write(6,*) '....Loading file: table6.dat'
      do i__=1,133
        read(1,'(A61)')ar__4
        read(ar__4,5)
     +  OID_2(i__),f_OID_1(i__),RAh_3(i__),RAm_3(i__),RAs_3(i__),
     +  DE__3(i__),DEd_3(i__),DEm_3(i__),DEs_3(i__),Bmag_2(i__),
     +  e_Bmag_2(i__),Imag_2(i__),e_Imag_2(i__),B_I_2(i__),
     +  e_B_I_2(i__)
        if(ar__4(5:5) .EQ. '') f_OID_1(i__) = iNULL__
        RAdeg_3(i__) = rNULL__
        DEdeg_3(i__) = rNULL__
c  Derive coordinates RAdeg_3 and DEdeg_3 from input data
c  (RAdeg_3 and DEdeg_3 are set to rNULL__ when unknown)
        if(RAh_3(i__) .GT. -180) RAdeg_3(i__)=RAh_3(i__)*15.
        if(RAm_3(i__) .GT. -180) RAdeg_3(i__)=RAdeg_3(i__)+RAm_3(i__)/4.
        if(RAs_3(i__) .GT. -180) RAdeg_3(i__)=RAdeg_3(i__)+RAs_3(i__)/240.
        if(DEd_3(i__) .GE. 0) DEdeg_3(i__)=DEd_3(i__)
        if(DEm_3(i__) .GE. 0) DEdeg_3(i__)=DEdeg_3(i__)+DEm_3(i__)/60.
        if(DEs_3(i__) .GE. 0) DEdeg_3(i__)=DEdeg_3(i__)+DEs_3(i__)/3600.
        if(DE__3(i__).EQ.'-'.AND.DEdeg_3(i__).GE.0) DEdeg_3(i__)=-DEdeg_3(i__)
c    ..............Just test output...........
        write(6,5)
     +  OID_2(i__),f_OID_1(i__),RAh_3(i__),RAm_3(i__),RAs_3(i__),
     +  DE__3(i__),DEd_3(i__),DEm_3(i__),DEs_3(i__),Bmag_2(i__),
     +  e_Bmag_2(i__),Imag_2(i__),e_Imag_2(i__),B_I_2(i__),
     +  e_B_I_2(i__)
        write(6,'(6H Pos: 2F8.4)') RAdeg_3(i__),DEdeg_3(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table7.dat'	! NGC 3115 LMXB-GC candidates

C  Format for file interpretation

    6 format(
     +  7X,A16,1X,I2,1X,I3,1X,E8.3,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,
     +  F4.2,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table7.dat')
      write(6,*) '....Loading file: table7.dat'
      do i__=1,9
        read(1,'(A71)')ar__5
        read(ar__5,6)
     +  CXOKMZ_3(i__),XID_3(i__),OID_3(i__),LX_3(i__),Bmag_3(i__),
     +  e_Bmag_3(i__),Imag_3(i__),e_Imag_3(i__),B_I_3(i__),
     +  e_B_I_3(i__)
c    ..............Just test output...........
        write(6,6)
     +  CXOKMZ_3(i__),XID_3(i__),OID_3(i__),LX_3(i__),Bmag_3(i__),
     +  e_Bmag_3(i__),Imag_3(i__),e_Imag_3(i__),B_I_3(i__),
     +  e_B_I_3(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table8.dat'	! NGC 3379 X-ray binaries

C  Format for file interpretation

    7 format(
     +  I3,1X,I1,8X,A16,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,
     +  E7.2,1X,A1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table8.dat')
      write(6,*) '....Loading file: table8.dat'
      do i__=1,71
        read(1,'(A63)')ar__6
        read(ar__6,7)
     +  XID_4(i__),f_XID_2(i__),CXOKMZ_4(i__),RAh_4(i__),RAm_4(i__),
     +  RAs_4(i__),DE__4(i__),DEd_4(i__),DEm_4(i__),DEs_4(i__),
     +  LX_4(i__),HST_2(i__)
        if(ar__6(5:5) .EQ. '') f_XID_2(i__) = iNULL__
        RAdeg_4(i__) = rNULL__
        DEdeg_4(i__) = rNULL__
c  Derive coordinates RAdeg_4 and DEdeg_4 from input data
c  (RAdeg_4 and DEdeg_4 are set to rNULL__ when unknown)
        if(RAh_4(i__) .GT. -180) RAdeg_4(i__)=RAh_4(i__)*15.
        if(RAm_4(i__) .GT. -180) RAdeg_4(i__)=RAdeg_4(i__)+RAm_4(i__)/4.
        if(RAs_4(i__) .GT. -180) RAdeg_4(i__)=RAdeg_4(i__)+RAs_4(i__)/240.
        if(DEd_4(i__) .GE. 0) DEdeg_4(i__)=DEd_4(i__)
        if(DEm_4(i__) .GE. 0) DEdeg_4(i__)=DEdeg_4(i__)+DEm_4(i__)/60.
        if(DEs_4(i__) .GE. 0) DEdeg_4(i__)=DEdeg_4(i__)+DEs_4(i__)/3600.
        if(DE__4(i__).EQ.'-'.AND.DEdeg_4(i__).GE.0) DEdeg_4(i__)=-DEdeg_4(i__)
c    ..............Just test output...........
        write(6,7)
     +  XID_4(i__),f_XID_2(i__),CXOKMZ_4(i__),RAh_4(i__),RAm_4(i__),
     +  RAs_4(i__),DE__4(i__),DEd_4(i__),DEm_4(i__),DEs_4(i__),
     +  LX_4(i__),HST_2(i__)
        write(6,'(6H Pos: 2F8.4)') RAdeg_4(i__),DEdeg_4(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table9.dat'	! NGC 3379 globular clusters

C  Format for file interpretation

    8 format(
     +  I3,1X,I1,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,F5.2,
     +  1X,F4.2,1X,F5.2,1X,F4.2,1X,F4.2,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table9.dat')
      write(6,*) '....Loading file: table9.dat'
      do i__=1,61
        read(1,'(A61)')ar__7
        read(ar__7,8)
     +  OID_4(i__),f_OID_2(i__),RAh_5(i__),RAm_5(i__),RAs_5(i__),
     +  DE__5(i__),DEd_5(i__),DEm_5(i__),DEs_5(i__),Bmag_4(i__),
     +  e_Bmag_4(i__),Imag_4(i__),e_Imag_4(i__),B_I_4(i__),
     +  e_B_I_4(i__)
        if(ar__7(5:5) .EQ. '') f_OID_2(i__) = iNULL__
        RAdeg_5(i__) = rNULL__
        DEdeg_5(i__) = rNULL__
c  Derive coordinates RAdeg_5 and DEdeg_5 from input data
c  (RAdeg_5 and DEdeg_5 are set to rNULL__ when unknown)
        if(RAh_5(i__) .GT. -180) RAdeg_5(i__)=RAh_5(i__)*15.
        if(RAm_5(i__) .GT. -180) RAdeg_5(i__)=RAdeg_5(i__)+RAm_5(i__)/4.
        if(RAs_5(i__) .GT. -180) RAdeg_5(i__)=RAdeg_5(i__)+RAs_5(i__)/240.
        if(DEd_5(i__) .GE. 0) DEdeg_5(i__)=DEd_5(i__)
        if(DEm_5(i__) .GE. 0) DEdeg_5(i__)=DEdeg_5(i__)+DEm_5(i__)/60.
        if(DEs_5(i__) .GE. 0) DEdeg_5(i__)=DEdeg_5(i__)+DEs_5(i__)/3600.
        if(DE__5(i__).EQ.'-'.AND.DEdeg_5(i__).GE.0) DEdeg_5(i__)=-DEdeg_5(i__)
c    ..............Just test output...........
        write(6,8)
     +  OID_4(i__),f_OID_2(i__),RAh_5(i__),RAm_5(i__),RAs_5(i__),
     +  DE__5(i__),DEd_5(i__),DEm_5(i__),DEs_5(i__),Bmag_4(i__),
     +  e_Bmag_4(i__),Imag_4(i__),e_Imag_4(i__),B_I_4(i__),
     +  e_B_I_4(i__)
        write(6,'(6H Pos: 2F8.4)') RAdeg_5(i__),DEdeg_5(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table10.dat'	! NGC 3379 LMXB-GC candidates

C  Format for file interpretation

    9 format(
     +  7X,A16,1X,I2,1X,I3,1X,E8.3,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,
     +  F4.2,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table10.dat')
      write(6,*) '....Loading file: table10.dat'
      do i__=1,7
        read(1,'(A71)')ar__8
        read(ar__8,9)
     +  CXOKMZ_5(i__),XID_5(i__),OID_5(i__),LX_5(i__),Bmag_5(i__),
     +  e_Bmag_5(i__),Imag_5(i__),e_Imag_5(i__),B_I_5(i__),
     +  e_B_I_5(i__)
c    ..............Just test output...........
        write(6,9)
     +  CXOKMZ_5(i__),XID_5(i__),OID_5(i__),LX_5(i__),Bmag_5(i__),
     +  e_Bmag_5(i__),Imag_5(i__),e_Imag_5(i__),B_I_5(i__),
     +  e_B_I_5(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table11.dat'	! NGC 4594 X-ray binaries

C  Format for file interpretation

   10 format(
     +  I3,1X,I1,8X,A16,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,
     +  E7.2,1X,A1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table11.dat')
      write(6,*) '....Loading file: table11.dat'
      do i__=1,141
        read(1,'(A63)')ar__9
        read(ar__9,10)
     +  XID_6(i__),f_XID_3(i__),CXOKMZ_6(i__),RAh_6(i__),RAm_6(i__),
     +  RAs_6(i__),DE__6(i__),DEd_6(i__),DEm_6(i__),DEs_6(i__),
     +  LX_6(i__),HST_3(i__)
        if(ar__9(5:5) .EQ. '') f_XID_3(i__) = iNULL__
        RAdeg_6(i__) = rNULL__
        DEdeg_6(i__) = rNULL__
c  Derive coordinates RAdeg_6 and DEdeg_6 from input data
c  (RAdeg_6 and DEdeg_6 are set to rNULL__ when unknown)
        if(RAh_6(i__) .GT. -180) RAdeg_6(i__)=RAh_6(i__)*15.
        if(RAm_6(i__) .GT. -180) RAdeg_6(i__)=RAdeg_6(i__)+RAm_6(i__)/4.
        if(RAs_6(i__) .GT. -180) RAdeg_6(i__)=RAdeg_6(i__)+RAs_6(i__)/240.
        if(DEd_6(i__) .GE. 0) DEdeg_6(i__)=DEd_6(i__)
        if(DEm_6(i__) .GE. 0) DEdeg_6(i__)=DEdeg_6(i__)+DEm_6(i__)/60.
        if(DEs_6(i__) .GE. 0) DEdeg_6(i__)=DEdeg_6(i__)+DEs_6(i__)/3600.
        if(DE__6(i__).EQ.'-'.AND.DEdeg_6(i__).GE.0) DEdeg_6(i__)=-DEdeg_6(i__)
c    ..............Just test output...........
        write(6,10)
     +  XID_6(i__),f_XID_3(i__),CXOKMZ_6(i__),RAh_6(i__),RAm_6(i__),
     +  RAs_6(i__),DE__6(i__),DEd_6(i__),DEm_6(i__),DEs_6(i__),
     +  LX_6(i__),HST_3(i__)
        write(6,'(6H Pos: 2F8.4)') RAdeg_6(i__),DEdeg_6(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table12.dat'	! NGC 4594 globular clusters

C  Format for file interpretation

   11 format(
     +  I3,1X,I1,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,F5.2,
     +  1X,F4.2,1X,F5.2,1X,F4.2,1X,F4.2,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table12.dat')
      write(6,*) '....Loading file: table12.dat'
      do i__=1,193
        read(1,'(A61)')ar__10
        read(ar__10,11)
     +  OID_6(i__),f_OID_3(i__),RAh_7(i__),RAm_7(i__),RAs_7(i__),
     +  DE__7(i__),DEd_7(i__),DEm_7(i__),DEs_7(i__),Bmag_6(i__),
     +  e_Bmag_6(i__),Imag_6(i__),e_Imag_6(i__),B_I_6(i__),
     +  e_B_I_6(i__)
        if(ar__10(5:5) .EQ. '') f_OID_3(i__) = iNULL__
        RAdeg_7(i__) = rNULL__
        DEdeg_7(i__) = rNULL__
c  Derive coordinates RAdeg_7 and DEdeg_7 from input data
c  (RAdeg_7 and DEdeg_7 are set to rNULL__ when unknown)
        if(RAh_7(i__) .GT. -180) RAdeg_7(i__)=RAh_7(i__)*15.
        if(RAm_7(i__) .GT. -180) RAdeg_7(i__)=RAdeg_7(i__)+RAm_7(i__)/4.
        if(RAs_7(i__) .GT. -180) RAdeg_7(i__)=RAdeg_7(i__)+RAs_7(i__)/240.
        if(DEd_7(i__) .GE. 0) DEdeg_7(i__)=DEd_7(i__)
        if(DEm_7(i__) .GE. 0) DEdeg_7(i__)=DEdeg_7(i__)+DEm_7(i__)/60.
        if(DEs_7(i__) .GE. 0) DEdeg_7(i__)=DEdeg_7(i__)+DEs_7(i__)/3600.
        if(DE__7(i__).EQ.'-'.AND.DEdeg_7(i__).GE.0) DEdeg_7(i__)=-DEdeg_7(i__)
c    ..............Just test output...........
        write(6,11)
     +  OID_6(i__),f_OID_3(i__),RAh_7(i__),RAm_7(i__),RAs_7(i__),
     +  DE__7(i__),DEd_7(i__),DEm_7(i__),DEs_7(i__),Bmag_6(i__),
     +  e_Bmag_6(i__),Imag_6(i__),e_Imag_6(i__),B_I_6(i__),
     +  e_B_I_6(i__)
        write(6,'(6H Pos: 2F8.4)') RAdeg_7(i__),DEdeg_7(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table13.dat'	! NGC 4594 LMXB-GC candidates

C  Format for file interpretation

   12 format(
     +  7X,A16,1X,I2,1X,I3,1X,E8.3,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,
     +  F4.2,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table13.dat')
      write(6,*) '....Loading file: table13.dat'
      do i__=1,15
        read(1,'(A71)')ar__11
        read(ar__11,12)
     +  CXOKMZ_7(i__),XID_7(i__),OID_7(i__),LX_7(i__),Bmag_7(i__),
     +  e_Bmag_7(i__),Imag_7(i__),e_Imag_7(i__),B_I_7(i__),
     +  e_B_I_7(i__)
c    ..............Just test output...........
        write(6,12)
     +  CXOKMZ_7(i__),XID_7(i__),OID_7(i__),LX_7(i__),Bmag_7(i__),
     +  e_Bmag_7(i__),Imag_7(i__),e_Imag_7(i__),B_I_7(i__),
     +  e_B_I_7(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table14.dat'	! NGC 4649 X-ray binaries

C  Format for file interpretation

   13 format(
     +  I3,1X,I1,8X,A16,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,
     +  E7.2,1X,A1)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table14.dat')
      write(6,*) '....Loading file: table14.dat'
      do i__=1,165
        read(1,'(A63)')ar__12
        read(ar__12,13)
     +  XID_8(i__),f_XID_4(i__),CXOKMZ_8(i__),RAh_8(i__),RAm_8(i__),
     +  RAs_8(i__),DE__8(i__),DEd_8(i__),DEm_8(i__),DEs_8(i__),
     +  LX_8(i__),HST_4(i__)
        if(ar__12(5:5) .EQ. '') f_XID_4(i__) = iNULL__
        RAdeg_8(i__) = rNULL__
        DEdeg_8(i__) = rNULL__
c  Derive coordinates RAdeg_8 and DEdeg_8 from input data
c  (RAdeg_8 and DEdeg_8 are set to rNULL__ when unknown)
        if(RAh_8(i__) .GT. -180) RAdeg_8(i__)=RAh_8(i__)*15.
        if(RAm_8(i__) .GT. -180) RAdeg_8(i__)=RAdeg_8(i__)+RAm_8(i__)/4.
        if(RAs_8(i__) .GT. -180) RAdeg_8(i__)=RAdeg_8(i__)+RAs_8(i__)/240.
        if(DEd_8(i__) .GE. 0) DEdeg_8(i__)=DEd_8(i__)
        if(DEm_8(i__) .GE. 0) DEdeg_8(i__)=DEdeg_8(i__)+DEm_8(i__)/60.
        if(DEs_8(i__) .GE. 0) DEdeg_8(i__)=DEdeg_8(i__)+DEs_8(i__)/3600.
        if(DE__8(i__).EQ.'-'.AND.DEdeg_8(i__).GE.0) DEdeg_8(i__)=-DEdeg_8(i__)
c    ..............Just test output...........
        write(6,13)
     +  XID_8(i__),f_XID_4(i__),CXOKMZ_8(i__),RAh_8(i__),RAm_8(i__),
     +  RAs_8(i__),DE__8(i__),DEd_8(i__),DEm_8(i__),DEs_8(i__),
     +  LX_8(i__),HST_4(i__)
        write(6,'(6H Pos: 2F8.4)') RAdeg_8(i__),DEdeg_8(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table15.dat'	! NGC 4649 globular clusters

C  Format for file interpretation

   14 format(
     +  I3,1X,I1,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,F5.2,
     +  1X,F4.2,1X,F5.2,1X,F4.2,1X,F4.2,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table15.dat')
      write(6,*) '....Loading file: table15.dat'
      do i__=1,418
        read(1,'(A61)')ar__13
        read(ar__13,14)
     +  OID_8(i__),f_OID_4(i__),RAh_9(i__),RAm_9(i__),RAs_9(i__),
     +  DE__9(i__),DEd_9(i__),DEm_9(i__),DEs_9(i__),Bmag_8(i__),
     +  e_Bmag_8(i__),Imag_8(i__),e_Imag_8(i__),B_I_8(i__),
     +  e_B_I_8(i__)
        if(ar__13(5:5) .EQ. '') f_OID_4(i__) = iNULL__
        RAdeg_9(i__) = rNULL__
        DEdeg_9(i__) = rNULL__
c  Derive coordinates RAdeg_9 and DEdeg_9 from input data
c  (RAdeg_9 and DEdeg_9 are set to rNULL__ when unknown)
        if(RAh_9(i__) .GT. -180) RAdeg_9(i__)=RAh_9(i__)*15.
        if(RAm_9(i__) .GT. -180) RAdeg_9(i__)=RAdeg_9(i__)+RAm_9(i__)/4.
        if(RAs_9(i__) .GT. -180) RAdeg_9(i__)=RAdeg_9(i__)+RAs_9(i__)/240.
        if(DEd_9(i__) .GE. 0) DEdeg_9(i__)=DEd_9(i__)
        if(DEm_9(i__) .GE. 0) DEdeg_9(i__)=DEdeg_9(i__)+DEm_9(i__)/60.
        if(DEs_9(i__) .GE. 0) DEdeg_9(i__)=DEdeg_9(i__)+DEs_9(i__)/3600.
        if(DE__9(i__).EQ.'-'.AND.DEdeg_9(i__).GE.0) DEdeg_9(i__)=-DEdeg_9(i__)
c    ..............Just test output...........
        write(6,14)
     +  OID_8(i__),f_OID_4(i__),RAh_9(i__),RAm_9(i__),RAs_9(i__),
     +  DE__9(i__),DEd_9(i__),DEm_9(i__),DEs_9(i__),Bmag_8(i__),
     +  e_Bmag_8(i__),Imag_8(i__),e_Imag_8(i__),B_I_8(i__),
     +  e_B_I_8(i__)
        write(6,'(6H Pos: 2F8.4)') RAdeg_9(i__),DEdeg_9(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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

C  Loading file 'table16.dat'	! NGC 4649 LMXB-GC candidates

C  Format for file interpretation

   15 format(
     +  7X,A16,1X,I2,1X,I3,1X,E8.3,1X,F5.2,1X,F4.2,1X,F5.2,1X,F4.2,1X,
     +  F4.2,1X,F4.2)

C  Effective file loading

      open(unit=1,status='old',file=
     +'table16.dat')
      write(6,*) '....Loading file: table16.dat'
      do i__=1,16
        read(1,'(A71)')ar__14
        read(ar__14,15)
     +  CXOKMZ_9(i__),XID_9(i__),OID_9(i__),LX_9(i__),Bmag_9(i__),
     +  e_Bmag_9(i__),Imag_9(i__),e_Imag_9(i__),B_I_9(i__),
     +  e_B_I_9(i__)
c    ..............Just test output...........
        write(6,15)
     +  CXOKMZ_9(i__),XID_9(i__),OID_9(i__),LX_9(i__),Bmag_9(i__),
     +  e_Bmag_9(i__),Imag_9(i__),e_Imag_9(i__),B_I_9(i__),
     +  e_B_I_9(i__)
c    .......End.of.Just test output...........
      end do
      close(1)

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