Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJS/160/319 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-Sep-10
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/160/319 COUP: observations and source lists (Getman+, 2005)
*================================================================================
*Chandra Orion Ultradeep Project: observations and sources lists.
* Getman K.V., Flaccomio E., Broos P.S., Grosso N., Tsujimoto M.,
* Townsley L., Garmire G.P., Kastner J., Li J., Harnden F.R.JR, Wolk S.,
* Murray S.S., Lada C.J., Muench A.A., McCaughrean M.J., Meeus G.,
* Damiani F., Micela G., Sciortino S., Bally J., Hillenbrand L.A., Herbst W.,
* Preibisch T., Feigelson E.D.
* <Astrophys. J. Suppl. Ser., 160, 319-352 (2005)>
* =2005ApJS..160..319G
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! COUP X-ray source locations
integer*4 nr__
parameter (nr__=1616) ! Number of records
character*87 ar__ ! Full-size record
C J2000 position composed of: RAdeg DEdeg
integer*4 COUP (nr__) ! COUP source number
character*16 Name (nr__) ! IAU designation
* (COUP JHHMMSS.s+DDMMSS in Simbad)
real*8 RAdeg (nr__) ! (deg) Right ascension in decimal degrees (J2000)
real*8 DEdeg (nr__) ! (deg) Declination in decimal degrees (J2000)
real*4 PosErr (nr__) ! (arcsec) Positional error, 1{sigma} arcsec
real*4 Offaxis (nr__) ! (arcmin) Off-axis angle
character*6 Flags (nr__) ! Flag indicating source detection problem (1)
integer*4 Fl1 (nr__) ! Flag indicating source detection map for
* Chicago wavdetect (2)
integer*4 Fl2 (nr__) ! Flag indicating source detection map for
* Palermo wavelet detection (3)
integer*4 M1 (nr__) ! Flag indicating source detection method (4)
integer*4 M2 (nr__) ! Flag indicating source detection method (5)
integer*4 M3 (nr__) ! Flag indicating source detection method (6)
real*4 SigAE (nr__) ! Source significance (in {sigma})
* from acis_extract
real*4 SigPWD (nr__) ! ? Source significance (in {sigma}) from
* Palermo wavelet detection
integer*4 ACIS (nr__) ! ? Previous Chandra ACIS X-ray source
integer*4 HRC (nr__) ! ? Previous Chandra HRC X-ray source
*Note (1): Flag indicating source detection problem:
* u----- = source existence is uncertain;
* -d---- = double source (90% point spread function overlap);
* --p--- = pileup source (photon surface brightness >0.003ct/s/pix);
* ---t-- = source extraction region crosses a bright source readout trail;
* ----w- = source in wings of a bright source with >20000ct,
* or source with Offaxis<2';
* -----x = source with inhomogeneous or low exposure map.
*Note (2): Flag indicating source detection map for Chicago wavdetect,
* defined as follows:
* 0 = no detection map for Chicago wavdetect
* 1 = total band (0.5-8keV) image
* 2 = soft band (0.5-2keV) image
* 3 = hard band (2-8keV) image
* 4 = very faint mode total band image
*Note (3): Flag indicating source detection map for Palermo wavelet detection,
* defined as follows:
* 0 = non-zero value of second digit indicates detection map
* for Palermo wavelet detection
* 1 = very faint mode 0.3-7keV band image
* 2 = sub-pixel enhanced resolution 0.3-7keV band image
*Note (4): Flag indicating source detection method, defined as follows:
* 0 = no detection using Chicago wavdetect
* 1 = probability threshold 1.10^-6^
* 2 = probability threshold 1.10^-5^
*Note (5): Flag indicating source detection method, defined as follows:
* 0 = no detection using Palermo wavelet detection
* 1 = detection using Palermo wavelet detection
*Note (6): Flag indicating source detection method, defined as follows:
* 0 = non-zero entry indicates that the source was found only by visual
* inspection
* 1 = Penn State and Palermo groups
* 2 = Penn State group only
* 3 = Palermo group only
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table4.dat' ! COUP source X-ray photometry
integer*4 nr__1
parameter (nr__1=1616) ! Number of records
character*134 ar__1 ! Full-size record
integer*4 COUP_1 (nr__1) ! COUP source number
character*16 Name_1 (nr__1) ! IAU designation
* (COUP JHHMMSS.s+DDMMSS in Simbad)
integer*4 SrcCts (nr__1) ! (ct) Source counts in extracted area
integer*4 BkgCts (nr__1) ! (ct) Background counts in extracted area
integer*4 NetCts (nr__1) ! (ct) Net counts in extracted area
integer*4 ExtArea (nr__1) ! (pix) Extraction area
real*4 PSFFrac (nr__1) ! Point spread fraction in extracted area
* at fiducial energy 1.5keV
real*4 ExpTime (nr__1) ! (ks) Exposure time
real*4 CtFlConv (nr__1) ! (10+9cm2) Conversion factor between counts and
* flux in units of 10^9^ct.cm^2^/photon
real*8 Xflux (nr__1) ! ([cm-2.s-1]) Log of the 0.5-8.0keV Incident photon
* flux in units of photons/cm^2^/s
real*4 v_E_ (nr__1) ! (keV) Median energy corrected for background
real*4 HR1 (nr__1) ! ? Hardness ratio 1 (0.5-2.0/2.0-8.0keV) (1)
real*4 e_HR1 (nr__1) ! ? Lower uncertainty on HR1
real*4 E_HR1_1 (nr__1) ! ? Upper uncertainty on HR1
real*4 HR2 (nr__1) ! ? Hardness ratio 2 (0.5-1.7/1.7-2.8keV) (1)
real*4 e_HR2 (nr__1) ! ? Lower uncertainty on HR2
real*4 E_HR2_1 (nr__1) ! ? Upper uncertainty on HR2
real*4 HR3 (nr__1) ! ? Hardness ratio 3 (1.7-2.8/2.8-8.0keV) (1)
real*4 e_HR3 (nr__1) ! ? Lower uncertainty on HR3
real*4 E_HR3_1 (nr__1) ! ? Upper uncertainty on HR3
*Note (1): The hardness ratios are defined by HR=(Cts_h_-Cts_s_)/(Cts_h_+Cts_s_),
* where subscripts "h" and "s" refer to a harder and softer band,
* respectively. For COUP, we define HR1 to reproduce the commonly used
* hardness ratio between the s=0.5-2.0keV and h=2.0-8.0keV bands,
* HR2 to highlight the softer part of the spectrum between s=0.5-1.7keV
* and h=1.7-2.8keV, and HR3 to measure the harder part of the spectrum
* between s=1.7-2.8keV and h=2.8-8.0keV.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table6.dat' ! COUP source X-ray spectroscopy
integer*4 nr__2
parameter (nr__2=1616) ! Number of records
character*123 ar__2 ! Full-size record
integer*4 COUP_2 (nr__2) ! COUP source number
character*16 Name_2 (nr__2) ! IAU designation
* (COUP JHHMMSS.s+DDMMSS in Simbad)
real*4 logNH (nr__2) ! ([cm-2]) ? Hydrogen column density
real*4 e_logNH (nr__2) ! ([cm-2]) ? Error in logNH
real*4 kT1 (nr__2) ! (keV) ? Energy of first plasma component
real*4 e_kT1 (nr__2) ! (keV) ? Error in kT1
real*4 kT2 (nr__2) ! (keV) ? Energy of second plasma component, if needed
real*4 e_kT2 (nr__2) ! (keV) ? Error in kT2
real*4 EM1 (nr__2) ! ([cm-3]) ? Emission measure of first plasma component
real*4 e_EM1 (nr__2) ! ([cm-3]) ? Error in EM1
real*4 EM2 (nr__2) ! ([cm-3]) ? Emission measure of second plasma component
real*4 e_EM2 (nr__2) ! ([cm-3]) ? Error in EM2
real*4 Chi2 (nr__2) ! ? Chi-squared per degree of freedom for
* spectral fit
integer*4 d_Chi2 (nr__2) ! ? Degrees of freedom for Chi2
character*2 f_Chi2 (nr__2) ! Spectral fit flag (1)
character*2 Nph (nr__2) ! Spectral model flag (2)
character*1 Nc (nr__2) ! Spectral model flag (3)
character*2 Npl (nr__2) ! Spectral model flag (4)
character*9 sFlags (nr__2) ! Spectral features and problems flag (5)
*Note (1): Flag marking low quality spectral fits:
* m = marginal fit (probability of chi-squared between 0.005 and 0.05);
* p = poor fit (probability of chi-squared less than 0.005).
*Note (2): Number of photons binned together prior to spectral fitting.
*Note (3): Number of absorption components used in the best fit.
*Note (4): Number of plasma components used in the best fit. A "g" indicates
* that a grid of initial spectral parameters was computed.
*Note (5): Spectral features and problems flag:
* l-------- = emission line deviations from fit;
* -s------- = soft energy deviation from fit;
* --h------ = hard energy deviation from fit;
* ---c----- = spectrum possibly corrupted by nearby source;
* ----t---- = possibly two components with different NH values;
* -----p--- = poor statistics and/or poor fit;
* ------m-- = manual background extraction used due to PSF wings or
* readout trails from bright sources;
* -------a- = annular extraction region used for heavily pileup source;
* --------w = whole extraction region used for slightly pileup source.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table7.dat' ! COUP source X-ray variability
integer*4 nr__3
parameter (nr__3=1616) ! Number of records
character*67 ar__3 ! Full-size record
integer*4 COUP_3 (nr__3) ! COUP source number
character*16 Name_3 (nr__3) ! IAU designation
* (COUP JHHMMSS.s+DDMMSS in Simbad)
character*1 Var (nr__3) ! Variability flag (1)
real*4 logP_KS (nr__3) ! ([-]) log probability of variability (2)
integer*4 BBNum (nr__3) ! Bayesian blocks, number of segments
real*8 BBMin (nr__3) ! (ct/ks) Bayesian blocks, minimum count rate
real*4 e_BBMin (nr__3) ! (ct/ks) Bayesian blocks, error in minimum count rate
real*8 BBMax (nr__3) ! (ct/ks) Bayesian blocks, maximum count rate
real*4 e_BBMax (nr__3) ! (ct/ks) Bayesian blocks, error in maximum count rate
*Note (1): An x indicates the source is located on an ACIS CCD chip gap and the
* variability analysis was based on the primary chip data only.
*Note (2): This is the log of the probability that a source is constant, as
* measured with a Kolmogorov-Smirnov 1-sample test. A value of -4.0
* indicates a probability less than 0.0001.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table8.dat' ! COUP source X-ray luminosities
integer*4 nr__4
parameter (nr__4=1616) ! Number of records
character*53 ar__4 ! Full-size record
integer*4 COUP_4 (nr__4) ! COUP source number
character*16 Name_4 (nr__4) ! IAU designation
* (COUP JHHMMSS.s+DDMMSS in Simbad)
character*1 l_Ls (nr__4) ! Upper limit flag for Ls
real*4 Ls (nr__4) ! ([10-7W]) ? Log of the observed soft band
* (0.5-2.0keV) luminosity (1)
character*1 l_Lh (nr__4) ! Upper limit flag for Lh
real*4 Lh (nr__4) ! ([10-7W]) ? Log of the observed hard band
* (2.0-8.0keV) luminosity
real*4 Lhc (nr__4) ! ([10-7W]) ? Log of the estimated luminosity in hard
* band corrected for absorption
real*4 Lt (nr__4) ! ([10-7W]) Log of the observed total band
* (0.5-8.0keV) luminosity
real*4 Ltc (nr__4) ! ([10-7W]) ? Log of the estimated luminosity in total
* band corrected for absorption
*Note (1): In units of erg/s.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table9.dat' ! Probable optical counterparts of COUP sources
integer*4 nr__5
parameter (nr__5=1616) ! Number of records
character*141 ar__5 ! Full-size record
integer*4 COUP_5 (nr__5) ! COUP source number
character*16 Name_5 (nr__5) ! IAU designation
* (COUP JHHMMSS.s+DDMMSS in Simbad)
character*6 OptID (nr__5) ! Optical star designation (1)
real*4 OptOff (nr__5) ! (arcsec) ? COUP-optical positional offset (2)
real*4 Vmag (nr__5) ! (mag) ? The V band magnitude (2)
real*4 Imag (nr__5) ! (mag) ? The I band magnitude (2)
character*11 SpType (nr__5) ! Spectral type (2)
real*4 AV (nr__5) ! (mag) ? The visual absorption (2)
real*4 log_Teff (nr__5) ! ([K]) ? Log of the stellar effective
* temperature (2)
real*4 log_LBol (nr__5) ! ([solLum]) ? Log of the stellar bolometric
* luminosity (2)
real*4 Rad (nr__5) ! (solRad) ? Stellar radius (2)
real*4 Mass (nr__5) ! (solMass) ? Stellar mass (3)
real*4 log_Age (nr__5) ! ([yr]) ? Log of stellar age (3)
real*4 Del_I_K (nr__5) ! (mag) ? The {Delta}(I-K) near-infrared excess (4)
real*4 EWCa (nr__5) ! (0.1nm) ? Equivalent width Ca II line in {AA} (4)
real*4 v_Vmag_ (nr__5) ! (mag) ? The average V band magnitude (5)
real*4 e__Vmag_ (nr__5) ! (mag) ? Error in Vmag (5)
real*4 VRange (nr__5) ! (mag) ? Range in V band magnitudes (5)
real*4 Per (nr__5) ! (d) ? Photometric rotational period (5)
*Note (1): 0-9999 from Hillenbrand (1997, Cat. <J/AJ/113/1733>),
* 10000-11000 from Herbst et al. (2002, Cat. <J/A+A/396/513>).
* Notes on individual source 053508.0-053243:
* This source spans optical stars 312 and 313.
*Note (2): From Hillenbrand (1997, Cat. <J/AJ/113/1733>).
*Note (3): Masses and ages from PMS models of Siess et al. (2000A&A...358..593S).
*Note (4): From Hillenbrand et al. (1998, Cat. <J/AJ/116/1816>).
*Note (5): From Herbst et al. (2002, Cat. <J/A+A/396/513>) based on about 92
* measurements.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'notes.dat' ! Notes on individual sources
integer*4 nr__6
parameter (nr__6=48) ! Number of records
character*66 ar__6 ! Full-size record
character*16 Name_6 (nr__6) ! IAU designation
* (COUP JHHMMSS.s+DDMMSS in Simbad)
character*48 Note (nr__6) ! Note
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table10.dat' ! Probable near-infrared counterparts of COUP sources
integer*4 nr__7
parameter (nr__7=1616) ! Number of records
character*88 ar__7 ! Full-size record
integer*4 COUP_6 (nr__7) ! COUP source number (1)
character*16 Name_7 (nr__7) ! IAU designation
* (COUP JHHMMSS.s+DDMMSS in Simbad)
character*16 JHKSrc (nr__7) ! JHK source name (2)
real*4 JHKOff (nr__7) ! (arcsec) ? The COUP-JHK source positional offset
real*4 Jmag (nr__7) ! (mag) ? The J band magnitude
real*4 Hmag (nr__7) ! (mag) ? The H band magnitude
real*4 Ksmag (nr__7) ! (mag) ? The K_s_ band magnitude
character*3 r_Ksmag (nr__7) ! Source of photometry flag (3)
character*3 q_2M (nr__7) ! 2MASS photometric quality flag (G1)
character*3 f_2M (nr__7) ! 2MASS contamination and confusion flag (G2)
character*1 r_Lmag (nr__7) ! Reference flag for Lmag (6)
character*5 LSrc (nr__7) ! The L band source name
real*4 Lmag (nr__7) ! (mag) ? The L band magnitude
*Note (1): Notes on individual sources:
* 053502.4-052046 = This source spans VLT stars 18 and 19
* 053516.2-052456 = This source spans VLT stars 575 and 580
* 053520.4-052329 = This source spans VLT stars 853 and 855
* 053521.3-052345 = This source spans VLT stars 902 and 905
* 053526.9-052400 = This source spans VLT stars 1107 and 1108
*Note (2): When obtained from the 2MASS catalog (outer region of the field),
* this is the IAU designation of the 2MASS source. When obtained from
* the VLT merged catalog (inner region), this is the running source
* number given by McCaughrean et al. (2005, in prep.).
*Note (3): This is the flag for the merged catalog of McCaughrean et al.
* (2005, in prep.) indicating the source of the photometry where the
* three characters refer to the JHKs bands, respectively.
* 0 = Undetected;
* 1 = VLT;
* 2 = MLLA NTT;
* 3 = MLLA FLWO;
* 4 = Hillenbrand & Carpenter (2000, Cat. <J/ApJ/540/236>);
* 5 = 2MASS (and in few cases, other sources).
*Note (6): References, defined as follows:
* M = Muench, Lada, Lada, & Alves (2002, Cat. <J/ApJ/573/366> - MLLA);
* L = Lada, Muench, Lada, & Alves (2004, Cat. <J/AJ/128/1254>).
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table11.dat' ! Upper limits of undetected stars from
Hillenbrand (1997, Cat. <J/AJ/113/1733>)
integer*4 nr__8
parameter (nr__8=201) ! Number of records
character*117 ar__8 ! Full-size record
C J2000 position composed of: RAdeg DEdeg
character*5 v_H97b_ (nr__8) ! Optical star designation (1)
real*8 RAdeg_1 (nr__8) ! (deg) Right ascension (J2000) (1)
real*8 DEdeg_1 (nr__8) ! (deg) Declination (J2000) (1)
integer*4 LimCt (nr__8) ! (ct) Upper limit to the X-ray counts at this
* location
real*4 ExpTime_1 (nr__8) ! (ks) Exposure time at this location
character*2 ConfFl (nr__8) ! Confusion flag with nearby X-ray source
real*4 Vmag_1 (nr__8) ! (mag) ? The V band magnitude (1)
real*4 Imag_1 (nr__8) ! (mag) ? The I band magnitude (1)
character*8 SpType_1 (nr__8) ! Spectral type (1)
real*4 AV_1 (nr__8) ! (mag) ? The visual absorption (1)
real*4 log_Teff_1 (nr__8) ! ([K]) ? Log of the stellar effective
* temperature (1)
real*4 log_LBol_1 (nr__8) ! ([solLum]) ? Log of the stellar bolometric
* luminosity (1)
real*4 Rad_1 (nr__8) ! (solRad) ? Stellar radius (1)
real*4 Mass_1 (nr__8) ! (solMass) ? Stellar mass (2)
real*4 log_Age_1 (nr__8) ! ([yr]) ? Log of the stellar age (2)
real*4 Del_I_K_1 (nr__8) ! (mag) ? The {Delta}(I-K) near-infrared excess (3)
real*4 EWCa_1 (nr__8) ! (0.1nm) ? Equivalent width Ca II line
* in Angstroms (3)
*Note (1): From Hillenbrand (1997, Cat. <J/AJ/113/1733>).
*Note (2): Masses and ages from PMS models of Siess et al. (2000A&A...358..593S)
*Note (3): From Hillenbrand et al. (1998, Cat. <J/AJ/116/1816>).
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table12.dat' ! Upper limits of undetected sources from the
Two Micron All Sky Survey (Cat. <II/246>)
integer*4 nr__9
parameter (nr__9=1145) ! Number of records
character*64 ar__9 ! Full-size record
character*16 v2MASS (nr__9) ! 2MASS source name
integer*4 LimCt_1 (nr__9) ! (ct) Upper limit to the X-ray counts at this location
real*4 ExpTime_2 (nr__9) ! (ks) Exposure time at this location
character*2 ConfFl_1 (nr__9) ! Confusion flag with nearby X-ray source
real*4 Jmag_1 (nr__9) ! (mag) The 2MASS J band magnitude
real*4 Hmag_1 (nr__9) ! (mag) The 2MASS H band magnitude
real*4 Ksmag_1 (nr__9) ! (mag) The 2MASS K_s_ band magnitude
character*4 q_2M_1 (nr__9) ! 2MASS photometric quality flag (G1)
character*4 f_2M_1 (nr__9) ! 2MASS contamination and confusion flag (G2)
C=============================================================================
C Loading file 'table2.dat' ! COUP X-ray source locations
C Format for file interpretation
1 format(
+ I4,1X,A16,1X,F9.6,1X,F9.6,1X,F4.2,1X,F5.2,1X,A6,1X,I1,I1,1X,
+ I1,I1,I1,1X,F5.1,1X,F5.1,1X,I4,1X,I3)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,1616
read(1,'(A87)')ar__
read(ar__,1)
+ COUP(i__),Name(i__),RAdeg(i__),DEdeg(i__),PosErr(i__),
+ Offaxis(i__),Flags(i__),Fl1(i__),Fl2(i__),M1(i__),M2(i__),
+ M3(i__),SigAE(i__),SigPWD(i__),ACIS(i__),HRC(i__)
if(ar__(74:78) .EQ. '') SigPWD(i__) = rNULL__
if(ar__(80:83) .EQ. '') ACIS(i__) = iNULL__
if(ar__(85:87) .EQ. '') HRC(i__) = iNULL__
c ..............Just test output...........
write(6,1)
+ COUP(i__),Name(i__),RAdeg(i__),DEdeg(i__),PosErr(i__),
+ Offaxis(i__),Flags(i__),Fl1(i__),Fl2(i__),M1(i__),M2(i__),
+ M3(i__),SigAE(i__),SigPWD(i__),ACIS(i__),HRC(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table4.dat' ! COUP source X-ray photometry
C Format for file interpretation
2 format(
+ I4,1X,A16,1X,I5,1X,I4,1X,I5,1X,I4,1X,F5.2,1X,F6.1,1X,F6.3,1X,
+ F7.3,1X,F5.2,1X,F6.2,1X,F5.2,1X,F5.2,1X,F6.2,1X,F5.2,1X,F5.2,
+ 1X,F6.2,1X,F5.2,1X,F5.2)
C Effective file loading
open(unit=1,status='old',file=
+'table4.dat')
write(6,*) '....Loading file: table4.dat'
do i__=1,1616
read(1,'(A134)')ar__1
read(ar__1,2)
+ COUP_1(i__),Name_1(i__),SrcCts(i__),BkgCts(i__),NetCts(i__),
+ ExtArea(i__),PSFFrac(i__),ExpTime(i__),CtFlConv(i__),
+ Xflux(i__),v_E_(i__),HR1(i__),e_HR1(i__),E_HR1_1(i__),
+ HR2(i__),e_HR2(i__),E_HR2_1(i__),HR3(i__),e_HR3(i__),
+ E_HR3_1(i__)
if(ar__1(79:84) .EQ. '') HR1(i__) = rNULL__
if(ar__1(86:90) .EQ. '') e_HR1(i__) = rNULL__
if(ar__1(92:96) .EQ. '') E_HR1_1(i__) = rNULL__
if(ar__1(98:103) .EQ. '') HR2(i__) = rNULL__
if(ar__1(105:109) .EQ. '') e_HR2(i__) = rNULL__
if(ar__1(111:115) .EQ. '') E_HR2_1(i__) = rNULL__
if(ar__1(117:122) .EQ. '') HR3(i__) = rNULL__
if(ar__1(124:128) .EQ. '') e_HR3(i__) = rNULL__
if(ar__1(130:134) .EQ. '') E_HR3_1(i__) = rNULL__
c ..............Just test output...........
write(6,2)
+ COUP_1(i__),Name_1(i__),SrcCts(i__),BkgCts(i__),NetCts(i__),
+ ExtArea(i__),PSFFrac(i__),ExpTime(i__),CtFlConv(i__),
+ Xflux(i__),v_E_(i__),HR1(i__),e_HR1(i__),E_HR1_1(i__),
+ HR2(i__),e_HR2(i__),E_HR2_1(i__),HR3(i__),e_HR3(i__),
+ E_HR3_1(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table6.dat' ! COUP source X-ray spectroscopy
C Format for file interpretation
3 format(
+ I4,1X,A16,1X,F6.2,1X,F6.2,1X,F6.2,1X,F6.2,1X,F6.2,1X,F6.2,1X,
+ F6.2,1X,F5.2,1X,F6.2,1X,F5.2,1X,F5.2,1X,I4,1X,A2,2X,A2,1X,A1,
+ 1X,A2,2X,A9)
C Effective file loading
open(unit=1,status='old',file=
+'table6.dat')
write(6,*) '....Loading file: table6.dat'
do i__=1,1616
read(1,'(A123)')ar__2
read(ar__2,3)
+ COUP_2(i__),Name_2(i__),logNH(i__),e_logNH(i__),kT1(i__),
+ e_kT1(i__),kT2(i__),e_kT2(i__),EM1(i__),e_EM1(i__),EM2(i__),
+ e_EM2(i__),Chi2(i__),d_Chi2(i__),f_Chi2(i__),Nph(i__),Nc(i__),
+ Npl(i__),sFlags(i__)
if(ar__2(23:28) .EQ. '') logNH(i__) = rNULL__
if(ar__2(30:35) .EQ. '') e_logNH(i__) = rNULL__
if(ar__2(37:42) .EQ. '') kT1(i__) = rNULL__
if(ar__2(44:49) .EQ. '') e_kT1(i__) = rNULL__
if(ar__2(51:56) .EQ. '') kT2(i__) = rNULL__
if(ar__2(58:63) .EQ. '') e_kT2(i__) = rNULL__
if(ar__2(65:70) .EQ. '') EM1(i__) = rNULL__
if(ar__2(72:76) .EQ. '') e_EM1(i__) = rNULL__
if(ar__2(78:83) .EQ. '') EM2(i__) = rNULL__
if(ar__2(85:89) .EQ. '') e_EM2(i__) = rNULL__
if(ar__2(91:95) .EQ. '') Chi2(i__) = rNULL__
if(ar__2(97:100) .EQ. '') d_Chi2(i__) = iNULL__
c ..............Just test output...........
write(6,3)
+ COUP_2(i__),Name_2(i__),logNH(i__),e_logNH(i__),kT1(i__),
+ e_kT1(i__),kT2(i__),e_kT2(i__),EM1(i__),e_EM1(i__),EM2(i__),
+ e_EM2(i__),Chi2(i__),d_Chi2(i__),f_Chi2(i__),Nph(i__),Nc(i__),
+ Npl(i__),sFlags(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table7.dat' ! COUP source X-ray variability
C Format for file interpretation
4 format(
+ I4,1X,A16,2X,A1,1X,F6.2,1X,I4,1X,F7.2,1X,F6.2,1X,F8.2,1X,F6.2)
C Effective file loading
open(unit=1,status='old',file=
+'table7.dat')
write(6,*) '....Loading file: table7.dat'
do i__=1,1616
read(1,'(A67)')ar__3
read(ar__3,4)
+ COUP_3(i__),Name_3(i__),Var(i__),logP_KS(i__),BBNum(i__),
+ BBMin(i__),e_BBMin(i__),BBMax(i__),e_BBMax(i__)
c ..............Just test output...........
write(6,4)
+ COUP_3(i__),Name_3(i__),Var(i__),logP_KS(i__),BBNum(i__),
+ BBMin(i__),e_BBMin(i__),BBMax(i__),e_BBMax(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table8.dat' ! COUP source X-ray luminosities
C Format for file interpretation
5 format(I4,1X,A16,1X,A1,F5.2,1X,A1,F5.2,1X,F5.2,1X,F5.2,1X,F5.2)
C Effective file loading
open(unit=1,status='old',file=
+'table8.dat')
write(6,*) '....Loading file: table8.dat'
do i__=1,1616
read(1,'(A53)')ar__4
read(ar__4,5)
+ COUP_4(i__),Name_4(i__),l_Ls(i__),Ls(i__),l_Lh(i__),Lh(i__),
+ Lhc(i__),Lt(i__),Ltc(i__)
if(ar__4(24:28) .EQ. '') Ls(i__) = rNULL__
if(ar__4(31:35) .EQ. '') Lh(i__) = rNULL__
if(ar__4(37:41) .EQ. '') Lhc(i__) = rNULL__
if(ar__4(49:53) .EQ. '') Ltc(i__) = rNULL__
c ..............Just test output...........
write(6,5)
+ COUP_4(i__),Name_4(i__),l_Ls(i__),Ls(i__),l_Lh(i__),Lh(i__),
+ Lhc(i__),Lt(i__),Ltc(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table9.dat' ! Probable optical counterparts of COUP sources
C Format for file interpretation
6 format(
+ I4,1X,A16,1X,A6,1X,F5.2,1X,F6.2,1X,F6.2,1X,A11,1X,F6.2,1X,
+ F6.3,1X,F6.2,1X,F6.2,1X,F6.2,1X,F5.2,1X,F6.2,1X,F6.1,1X,F6.2,
+ 1X,F5.2,1X,F5.2,1X,F6.2)
C Effective file loading
open(unit=1,status='old',file=
+'table9.dat')
write(6,*) '....Loading file: table9.dat'
do i__=1,1616
read(1,'(A141)')ar__5
read(ar__5,6)
+ COUP_5(i__),Name_5(i__),OptID(i__),OptOff(i__),Vmag(i__),
+ Imag(i__),SpType(i__),AV(i__),log_Teff(i__),log_LBol(i__),
+ Rad(i__),Mass(i__),log_Age(i__),Del_I_K(i__),EWCa(i__),
+ v_Vmag_(i__),e__Vmag_(i__),VRange(i__),Per(i__)
if(ar__5(30:34) .EQ. '') OptOff(i__) = rNULL__
if(ar__5(36:41) .EQ. '') Vmag(i__) = rNULL__
if(ar__5(43:48) .EQ. '') Imag(i__) = rNULL__
if(ar__5(62:67) .EQ. '') AV(i__) = rNULL__
if(ar__5(69:74) .EQ. '') log_Teff(i__) = rNULL__
if(ar__5(76:81) .EQ. '') log_LBol(i__) = rNULL__
if(ar__5(83:88) .EQ. '') Rad(i__) = rNULL__
if(ar__5(90:95) .EQ. '') Mass(i__) = rNULL__
if(ar__5(97:101) .EQ. '') log_Age(i__) = rNULL__
if(ar__5(103:108) .EQ. '') Del_I_K(i__) = rNULL__
if(ar__5(110:115) .EQ. '') EWCa(i__) = rNULL__
if(ar__5(117:122) .EQ. '') v_Vmag_(i__) = rNULL__
if(ar__5(124:128) .EQ. '') e__Vmag_(i__) = rNULL__
if(ar__5(130:134) .EQ. '') VRange(i__) = rNULL__
if(ar__5(136:141) .EQ. '') Per(i__) = rNULL__
c ..............Just test output...........
write(6,6)
+ COUP_5(i__),Name_5(i__),OptID(i__),OptOff(i__),Vmag(i__),
+ Imag(i__),SpType(i__),AV(i__),log_Teff(i__),log_LBol(i__),
+ Rad(i__),Mass(i__),log_Age(i__),Del_I_K(i__),EWCa(i__),
+ v_Vmag_(i__),e__Vmag_(i__),VRange(i__),Per(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'notes.dat' ! Notes on individual sources
C Format for file interpretation
7 format(A16,2X,A48)
C Effective file loading
open(unit=1,status='old',file=
+'notes.dat')
write(6,*) '....Loading file: notes.dat'
do i__=1,48
read(1,'(A66)')ar__6
read(ar__6,7)Name_6(i__),Note(i__)
c ..............Just test output...........
write(6,7)Name_6(i__),Note(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table10.dat' ! Probable near-infrared counterparts of COUP sources
C Format for file interpretation
8 format(
+ I4,1X,A16,1X,A16,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,A3,1X,A3,
+ 1X,A3,1X,A1,1X,A5,1X,F5.2)
C Effective file loading
open(unit=1,status='old',file=
+'table10.dat')
write(6,*) '....Loading file: table10.dat'
do i__=1,1616
read(1,'(A88)')ar__7
read(ar__7,8)
+ COUP_6(i__),Name_7(i__),JHKSrc(i__),JHKOff(i__),Jmag(i__),
+ Hmag(i__),Ksmag(i__),r_Ksmag(i__),q_2M(i__),f_2M(i__),
+ r_Lmag(i__),LSrc(i__),Lmag(i__)
if(ar__7(40:44) .EQ. '') JHKOff(i__) = rNULL__
if(ar__7(46:50) .EQ. '') Jmag(i__) = rNULL__
if(ar__7(52:56) .EQ. '') Hmag(i__) = rNULL__
if(ar__7(58:62) .EQ. '') Ksmag(i__) = rNULL__
if(ar__7(84:88) .EQ. '') Lmag(i__) = rNULL__
c ..............Just test output...........
write(6,8)
+ COUP_6(i__),Name_7(i__),JHKSrc(i__),JHKOff(i__),Jmag(i__),
+ Hmag(i__),Ksmag(i__),r_Ksmag(i__),q_2M(i__),f_2M(i__),
+ r_Lmag(i__),LSrc(i__),Lmag(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table11.dat' ! Upper limits of undetected stars from
* Hillenbrand (1997, Cat. <J/AJ/113/1733>)
C Format for file interpretation
9 format(
+ A5,1X,F9.6,1X,F9.6,1X,I6,1X,F6.1,1X,A2,1X,F6.2,1X,F6.2,1X,A8,
+ 1X,F5.2,1X,F6.3,1X,F6.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F6.2,1X,
+ F6.1)
C Effective file loading
open(unit=1,status='old',file=
+'table11.dat')
write(6,*) '....Loading file: table11.dat'
do i__=1,201
read(1,'(A117)')ar__8
read(ar__8,9)
+ v_H97b_(i__),RAdeg_1(i__),DEdeg_1(i__),LimCt(i__),
+ ExpTime_1(i__),ConfFl(i__),Vmag_1(i__),Imag_1(i__),
+ SpType_1(i__),AV_1(i__),log_Teff_1(i__),log_LBol_1(i__),
+ Rad_1(i__),Mass_1(i__),log_Age_1(i__),Del_I_K_1(i__),
+ EWCa_1(i__)
if(ar__8(44:49) .EQ. '') Vmag_1(i__) = rNULL__
if(ar__8(51:56) .EQ. '') Imag_1(i__) = rNULL__
if(ar__8(67:71) .EQ. '') AV_1(i__) = rNULL__
if(ar__8(73:78) .EQ. '') log_Teff_1(i__) = rNULL__
if(ar__8(80:85) .EQ. '') log_LBol_1(i__) = rNULL__
if(ar__8(87:91) .EQ. '') Rad_1(i__) = rNULL__
if(ar__8(93:97) .EQ. '') Mass_1(i__) = rNULL__
if(ar__8(99:103) .EQ. '') log_Age_1(i__) = rNULL__
if(ar__8(105:110) .EQ. '') Del_I_K_1(i__) = rNULL__
if(ar__8(112:117) .EQ. '') EWCa_1(i__) = rNULL__
c ..............Just test output...........
write(6,9)
+ v_H97b_(i__),RAdeg_1(i__),DEdeg_1(i__),LimCt(i__),
+ ExpTime_1(i__),ConfFl(i__),Vmag_1(i__),Imag_1(i__),
+ SpType_1(i__),AV_1(i__),log_Teff_1(i__),log_LBol_1(i__),
+ Rad_1(i__),Mass_1(i__),log_Age_1(i__),Del_I_K_1(i__),
+ EWCa_1(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table12.dat' ! Upper limits of undetected sources from the
* Two Micron All Sky Survey (Cat. <II/246>)
C Format for file interpretation
10 format(
+ A16,1X,I6,1X,F6.1,1X,A2,1X,F6.2,1X,F6.2,1X,F6.2,1X,A4,1X,A4)
C Effective file loading
open(unit=1,status='old',file=
+'table12.dat')
write(6,*) '....Loading file: table12.dat'
do i__=1,1145
read(1,'(A64)')ar__9
read(ar__9,10)
+ v2MASS(i__),LimCt_1(i__),ExpTime_2(i__),ConfFl_1(i__),
+ Jmag_1(i__),Hmag_1(i__),Ksmag_1(i__),q_2M_1(i__),f_2M_1(i__)
c ..............Just test output...........
write(6,10)
+ v2MASS(i__),LimCt_1(i__),ExpTime_2(i__),ConfFl_1(i__),
+ Jmag_1(i__),Hmag_1(i__),Ksmag_1(i__),q_2M_1(i__),f_2M_1(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end