Conversion of standardized ReadMe file for
file /./ftp/cats/J/ApJS/168/100 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/168/100 X-ray study of star-forming region NGC 6357 (Wang+, 2007)
*================================================================================
*An X-ray census of young stars in the massive southern star-forming complex
*NGC 6357.
* Wang J., Townsley L.K., Feigelson E.D., Getman K.V., Broos P.S.,
* Garmire G.P., Tsujimoto M.
* <Astrophys. J. Suppl. Ser., 168, 100-127 (2007)>
* =2007ApJS..168..100W
C=============================================================================
C Internal variables
integer*4 i__
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table1.dat' ! Main Chandra Catalog: basic source properties
integer*4 nr__
parameter (nr__=665) ! Number of records
character*106 ar__ ! Full-size record
C J2000 position composed of: RAdeg DEdeg
integer*4 v_WTF2007_ (nr__) ! Source sequence number
character*18 CXOUJ (nr__) ! Chandra source identification
* (HHMMSS.ss+DDMMSS.s)
real*8 RAdeg (nr__) ! (deg) Right Ascension in decimal degrees (J2000)
real*8 DEdeg (nr__) ! (deg) Declination in decimal degrees (J2000)
real*4 e_pos (nr__) ! (arcsec) Positional error
real*4 theta (nr__) ! (arcmin) Off-axis angle
real*4 Fcts (nr__) ! (ct) Net full (0.5-8keV) extracted counts
real*4 e_Fcts (nr__) ! (ct) The 1{sigma}-equivalent uncertainty in Fcts,
* based on Poisson statistics
real*4 Bkg (nr__) ! (ct) Net full background extracted counts
real*4 Hcts (nr__) ! (ct) Net hard (2-8keV) extracted counts
real*4 PSF (nr__) ! Fraction of PSF used for source extraction (1)
real*4 Sig (nr__) ! Photometric significance
character*1 l_logPB (nr__) ! [<] Limit flag on logPB
real*4 logPB (nr__) ! ([-]) Log of the probability that the extracted
* full band counts are solely from background
character*1 Anom (nr__) ! [geps] Source Anomaly (2)
character*1 Var (nr__) ! [abc] Source variability (3)
real*4 Exp (nr__) ! (ks) Effective exposure time (4)
real*4 E (nr__) ! (keV) Source median energy (5)
*Note (1): Reduced values for this quantity indicate source crowding.
*Note (2): Note that a reduced PSF fraction (significantly below 90%) indicates
* that the source is in a crowded region. The source anomaly is
* defined as follows:
* g = fractional time that source was on a detector (FRACEXPO from mkarf)
* is <0.9;
* e = source on field edge;
* p = source piled up;
* s = source on readout streak.
*Note (3): No test is performed for sources with fewer than 4 total
* full-band counts. No value is reported for sources in chip gaps or on
* field edges. The source variability is defined as follows:
* a = no evidence for variability;
* b = possibly variable;
* c = definitely variable.
*Note (4): Defined as the amount of exposure time needed for the source to
* accumulate the current number of counts if placed at the Chandra aimpoint.
*Note (5): In the full spectral band after background subtraction.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table2.dat' ! Tentative source properties
integer*4 nr__1
parameter (nr__1=114) ! Number of records
character*106 ar__1 ! Full-size record
C J2000 position composed of: RAdeg DEdeg
integer*4 v_WTF2007__1(nr__1) ! Source sequence number
character*18 CXOUJ_1 (nr__1) ! Chandra source identification
* (HHMMSS.ss+DDMMSS.s)
real*8 RAdeg_1 (nr__1) ! (deg) Right Ascension in decimal degrees (J2000)
real*8 DEdeg_1 (nr__1) ! (deg) Declination in decimal degrees (J2000)
real*4 e_pos_1 (nr__1) ! (arcsec) Positional error
real*4 theta_1 (nr__1) ! (arcmin) Off-axis angle
real*4 Fcts_1 (nr__1) ! (ct) Net full (0.5-8keV) extracted counts
real*4 e_Fcts_1 (nr__1) ! (ct) The 1{sigma}-equivalent uncertainty in Fcts,
* based on Poisson statistics
real*4 Bkg_1 (nr__1) ! (ct) Net full background extracted counts
real*4 Hcts_1 (nr__1) ! (ct) Net hard (2-8keV) extracted counts
real*4 PSF_1 (nr__1) ! Fraction of PSF used for source extraction (1)
real*4 Sig_1 (nr__1) ! Photometric significance
character*1 l_logPB_1 (nr__1) ! [<] Limit flag on logPB
real*4 logPB_1 (nr__1) ! ([-]) Log of the probability that the extracted
* full band counts are solely from background
character*1 Anom_1 (nr__1) ! [geps] Source Anomaly (2)
character*1 Var_1 (nr__1) ! [abc] Source variability (3)
real*4 Exp_1 (nr__1) ! (ks) Effective exposure time (4)
real*4 E_1 (nr__1) ! (keV) Source median energy (5)
*Note (1): Reduced values for this quantity indicate source crowding.
*Note (2): Note that a reduced PSF fraction (significantly below 90%) indicates
* that the source is in a crowded region. The source anomaly is
* defined as follows:
* g = fractional time that source was on a detector (FRACEXPO from mkarf)
* is <0.9;
* e = source on field edge;
* p = source piled up;
* s = source on readout streak.
*Note (3): No test is performed for sources with fewer than 4 total
* full-band counts. No value is reported for sources in chip gaps or on
* field edges. The source variability is defined as follows:
* a = no evidence for variability;
* b = possibly variable;
* c = definitely variable.
*Note (4): Defined as the amount of exposure time needed for the source to
* accumulate the current number of counts if placed at the Chandra aimpoint.
*Note (5): In the full spectral band after background subtraction.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table3.dat' ! X-ray spectroscopy for brighter sources: thermal
plasma fits
integer*4 nr__2
parameter (nr__2=40) ! Number of records
character*131 ar__2 ! Full-size record
integer*4 v_WTF2007__2(nr__2) ! Source sequence number
character*18 CXOUJ_2 (nr__2) ! Chandra source identification
* (HHMMSS.ss+DDMMSS.s)
real*4 e_logN (nr__2) ! ([cm-2]) ? Lower limit uncertainty on logN (1)
character*1 l_logN (nr__2) ! [<] Limit flag on logN
real*4 logN (nr__2) ! ([cm-2]) Log of estimated hydrogen column density (2)
real*4 E_logN_1 (nr__2) ! ([cm-2]) ? Upper limit uncertainty on logN (1)
real*4 e_kT (nr__2) ! (keV) ? Lower limit uncertainty on kT (1)
character*1 l_kT (nr__2) ! [>] Limit flag on kT
real*4 kT (nr__2) ! (keV) Plasma energy (2)
real*4 E_kT_1 (nr__2) ! (keV) ? Upper limit uncertainty on kT (1)
real*4 e_logEM (nr__2) ! ([cm-3]) ? Lower limit uncertainty on logEM (1)
real*4 logEM (nr__2) ! ([cm-3]) Log of the plasma emission measure (2)
real*4 E_logEM_1 (nr__2) ! ([cm-3]) ? Upper limit uncertainty on logEM (1)
real*4 logLs (nr__2) ! ([10-7W]) Log of the soft (0.5-2keV) band luminosity
* (3)
real*4 logLh (nr__2) ! ([10-7W]) Log of the hard (2-8keV) band luminosity (3)
real*4 logLhc (nr__2) ! ([10-7W]) Log of the absorption-corrected hard band
* luminosity (3)
real*4 logLt (nr__2) ! ([10-7W]) Log of the total (0.5-8keV) luminosity (3)
real*4 logLtc (nr__2) ! ([10-7W]) Log of the total absorption-corrected
* luminosity (3)
real*4 Good (nr__2) ! ? Goodness of fit {chi}^2^_{nu}_
character*26 Note (nr__2) ! Additional notes (4)
*Note (1): Uncertainties representing 90% confidence intervals are given;
* incomplete confidence levels imply the parameters are not well
* constrained, or XSPEC may have encountered some abnormality in
* the error calculations.
*Note (2): All fits were "wabs(apec)" in XSPEC and assumed 0.3x solar abundances.
*Note (3): Luminosities were calculated assuming a distance of 2.56kpc. Units
* are in erg/s.
*Note (4): Additional notes:
* 2T = a two-temperature fit was also performed;
* VT = variable abundance fit was also performed;
* S = means the spectral fit is only used as a spline fit for a rough
* estimate of luminosity; actual fit values are unreliable so they have
* not been reported. Some confidence intervals are missing since no
* error calculation is reported in XSPEC.
* P = the fit does not formally satisfy the convergence criterion,
* nevertheless the fit is acceptable to estimate the luminosity.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table4.dat' ! X-ray spectroscopy for less bright sources:
thermal plasma fits
integer*4 nr__3
parameter (nr__3=144) ! Number of records
character*131 ar__3 ! Full-size record
integer*4 v_WTF2007__3(nr__3) ! Source sequence number
character*18 CXOUJ_3 (nr__3) ! Chandra source identification
* (HHMMSS.ss+DDMMSS.s)
real*4 e_logN_2 (nr__3) ! ([cm-2]) ? Lower limit uncertainty on logN (1)
character*1 l_logN_1 (nr__3) ! [<] Limit flag on logN
real*4 logN_1 (nr__3) ! ([cm-2]) Log of estimated hydrogen column density (2)
real*4 E_logN_3 (nr__3) ! ([cm-2]) ? Upper limit uncertainty on logN (1)
real*4 e_kT_2 (nr__3) ! (keV) ? Lower limit uncertainty on kT (1)
character*1 l_kT_1 (nr__3) ! [>] Limit flag on kT
real*4 kT_1 (nr__3) ! (keV) Plasma energy (2)
real*4 E_kT_3 (nr__3) ! (keV) ? Upper limit uncertainty on kT (1)
real*4 e_logEM_2 (nr__3) ! ([cm-3]) ? Lower limit uncertainty on logEM (1)
real*4 logEM_1 (nr__3) ! ([cm-3]) Log of the plasma emission measure (2)
real*4 E_logEM_3 (nr__3) ! ([cm-3]) ? Upper limit uncertainty on logEM (1)
real*4 logLs_1 (nr__3) ! ([10-7W]) Log of the soft (0.5-2keV) band luminosity
* (3)
real*4 logLh_1 (nr__3) ! ([10-7W]) Log of the hard (2-8keV) band luminosity (3)
real*4 logLhc_1 (nr__3) ! ([10-7W]) Log of the absorption-corrected hard band
* luminosity (3)
real*4 logLt_1 (nr__3) ! ([10-7W]) Log of the total (0.5-8keV) luminosity (3)
real*4 logLtc_1 (nr__3) ! ([10-7W]) Log of the total absorption-corrected
* luminosity (3)
real*4 Good_1 (nr__3) ! ? Goodness of fit {chi}^2^_{nu}_
character*26 Note_1 (nr__3) ! Additional notes (4)
*Note (1): Uncertainties representing 90% confidence intervals are given;
* incomplete confidence levels imply the parameters are not well
* constrained, or XSPEC may have encountered some abnormality in
* the error calculations.
*Note (2): All fits were "wabs(apec)" in XSPEC and assumed 0.3x solar abundances.
*Note (3): Luminosities were calculated assuming a distance of 2.56kpc. Units
* are in erg/s.
*Note (4): Additional notes:
* 2T = a two-temperature fit was also performed;
* VT = variable abundance fit was also performed;
* S = means the spectral fit is only used as a spline fit for a rough
* estimate of luminosity; actual fit values are unreliable so they have
* not been reported. Some confidence intervals are missing since no
* error calculation is reported in XSPEC.
* P = the fit does not formally satisfy the convergence criterion,
* nevertheless the fit is acceptable to estimate the luminosity.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table5.dat' ! Stellar counterparts and classifications
integer*4 nr__4
parameter (nr__4=779) ! Number of records
character*90 ar__4 ! Full-size record
C J2000 position composed of: RAh RAm RAs DE- DEd DEm DEs
real*8 RAdeg_2 (nr__4) ! (deg) Right Ascension J2000
real*8 DEdeg_2 (nr__4) ! (deg) Declination J2000
C ---------------------------------- ! (position vector(s) in degrees)
integer*4 v_WTF2007__4(nr__4) ! Source sequence number
character*18 CXOUJ_4 (nr__4) ! Chandra source identification
* (HHMMSS.ss+DDMMSS.s)
character*1 v2M (nr__4) ! [NY] A 2MASS counterpart? (No, Yes or blank) (1)
character*1 SIR (nr__4) ! [NY] A SIRIUS (near-IR camera on 1.4m IRSF tel.)
* counterpart? (No, Yes or blank) (1)
character*1 HST (nr__4) ! [NY] A HST counterpart? (No, Yes or blank) (1)
character*3 Flag (nr__4) ! X-ray source flag; see section 5.5 for details
integer*4 RAh (nr__4) ! (h) ? 2MASS Hour of Right Ascension (J2000)
integer*4 RAm (nr__4) ! (min) ? 2MASS Minute of Right Ascension (J2000)
real*4 RAs (nr__4) ! (s) ? 2MASS Second of Right Ascension (J2000)
character*1 DE_ (nr__4) ! Sign of the 2MASS Declination (J2000)
integer*4 DEd (nr__4) ! (deg) ? Degree of Declination (J2000)
integer*4 DEm (nr__4) ! (arcmin) ? 2MASS Arcminute of Declination (J2000)
real*4 DEs (nr__4) ! (arcsec) ? 2MASS Arcsecond of Declination (J2000)
real*4 Offset (nr__4) ! (arcsec) ? 2MASS/X-ray offset
real*4 J_H (nr__4) ! (mag) ? 2MASS (J-H) color index
real*4 H_K (nr__4) ! (mag) ? 2MASS (H-K_s_) color index
real*4 Kmag (nr__4) ! (mag) ? 2MASS K_s_ band magnitude
character*3 q2M (nr__4) ! 2MASS photometry quality flags (2)
character*3 c2M (nr__4) ! 2MASS confusion and contamination flags (3)
*Note (1): blank if source is out of the field of view of the available images.
*Note (2): From Explanatory Supplement to the 2MASS All Sky Data Release
* (Cutri et al. 2003, Cat. II/246). 2MASS JHK_s_ photometry quality
* flags with three characters:
* A = very high significance detection (>10SNR);
* B = high significance detection (>7SNR);
* C = moderate significance detection (>5SNR);
* D = low significance detection;
* E = point spread fitting poor;
* F = reliable photometric errors not available;
* U = upper limit on magnitude (source not detected);
* X = source is detected but no valid brightness estimate is available.
*Note (3): From Explanatory Supplement to the 2MASS All Sky Data Release
* (Cutri et al. 2003, Cat. II/246). 2MASS JHK_s_ confusion and
* contamination flags with three characters:
* 0 = source unaffected by artifacts;
* b = bandmerge confusion (possible multiple source);
* c = photometric confusion from nearby star;
* d = diffraction spike confusion from nearby star;
* p = persistence contamination from nearby star;
* s = electronic stripe from nearby star.
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table6.dat' ! Known O and early-B stars in Pismis 24
integer*4 nr__5
parameter (nr__5=17) ! Number of records
character*132 ar__5 ! Full-size record
C J2000.0 position composed of: RAh RAm RAs DE- DEd DEm DEs
real*8 RAdeg_3 (nr__5) ! (deg) Right Ascension J2000.0
real*8 DEdeg_3 (nr__5) ! (deg) Declination J2000.0
C ---------------------------------- ! (position vector(s) in degrees)
character*9 Name (nr__5) ! Source name (1)
character*1 f_SpType (nr__5) ! [i] Tentative spectral type (2)
character*11 SpType (nr__5) ! MK spectral type (3)
integer*4 RAh_1 (nr__5) ! (h) Hour of Right Ascension (J2000.0) (4)
integer*4 RAm_1 (nr__5) ! (min) Minute of Right Ascension (J2000.0) (4)
real*4 RAs_1 (nr__5) ! (s) Second of Right Ascension (J2000.0) (4)
character*1 DE__1 (nr__5) ! Sign of the Declination (J2000.0) (4)
integer*4 DEd_1 (nr__5) ! (deg) Degree of Declination (J2000.0) (4)
integer*4 DEm_1 (nr__5) ! (arcmin) Arcminute of Declination (J2000.0) (4)
real*4 DEs_1 (nr__5) ! (arcsec) Arcsecond of Declination (J2000.0) (4)
real*4 Vmag (nr__5) ! (mag) V magnitude (3)
real*4 U_B (nr__5) ! (mag) ? U-B color index (3)
character*2 u_U_B (nr__5) ! [::] Uncertainty flag on U-B
real*4 B_V (nr__5) ! (mag) B-V color index (3)
real*4 V_J (nr__5) ! (mag) V-J color index (5)
real*4 J_H_1 (nr__5) ! (mag) J-H color index (5)
real*4 H_Ks (nr__5) ! (mag) H-K_s_ color index (5)
real*4 Ksmag (nr__5) ! (mag) 2MASS Ks magnitude (5)
real*4 AV (nr__5) ! (mag) Extinction (6)
character*3 Seq (nr__5) ! Sequence (7)
real*4 logLX (nr__5) ! ([10-7W]) ? Log of absorption-corrected full-band
* luminosity L_t,c_ (8)
real*4 logN_2 (nr__5) ! ([cm-2]) ? Log of X-ray-derived column density
character*1 l_logLbol (nr__5) ! [>] Upper limit flag on logLbol
real*4 logLbol (nr__5) ! ([10-7W]) ? Log of the bolometric luminosity (8)
character*19 Notes (nr__5) ! Notes (9)
*Note (1): Identifications from Moffat & Vogt (1973A&AS...10..135M) and
* Massey et al. (2001AJ....121.1050M).
*Note (2): Not included in Massey et al. (2001AJ....121.1050M) spectroscopic
* classification sample. Tentative spectral types are inferred from
* color-magnitude diagram by dereddening 2MASS photometric colors to the
* 1Myr pre-MS isochrone.
*Note (3): Spectral types from Massey et al. (2001AJ....121.1050M) and
* Walborn et al. (2002AJ....123.2754W). Optical photometry from Massey
* et al. (2001AJ....121.1050M). Bolometric luminosities from Massey et
* al. (2001AJ....121.1050M) are recalculated using bolometric
* corrections from Heap et al. (2006ApJ...638..409H) instead of
* Vacca et al. (1996ApJ...460..914V).
*Note (4): Coordinates are from the Catalogue of Stellar Spectral
* Classifications (Skiff 2005, Cat. B/mk) and Massey et al.
* (2001AJ....121.1050M).
*Note (5): Infrared photometry from 2MASS (Cat. II/246).
*Note (6): Visual extinction from Bohigas et al. (2004AJ....127.2826B)
* A_V_=1.39E(V-J).
*Note (7): ACIS source number for X-ray detections.
*Note (8): In units of ergs/s.
*Note (9): Other identifications from Neckel (1978A&A....69...51N).
c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
C Declarations for 'table8.dat' ! X-ray selected candidate intermediate-mass stars
integer*4 nr__6
parameter (nr__6=100) ! Number of records
character*48 ar__6 ! Full-size record
integer*4 v_WTF2007__5(nr__6) ! Source sequence number
character*18 CXOUJ_5 (nr__6) ! Chandra source identification
* (HHMMSS.ss+DDMMSS.s)
real*4 Jmag (nr__6) ! (mag) 2MASS J band magnitude
real*4 Hmag (nr__6) ! (mag) 2MASS H band magnitude
real*4 Ksmag_1 (nr__6) ! (mag) 2MASS K_s_ band magnitude
integer*4 AV_1 (nr__6) ! (mag) The V band extinction (1)
integer*4 Mass (nr__6) ! (solMass) Estimated mass (1)
character*1 DelK (nr__6) ! (mag) [s] Indicates significant K_s_ band excess (2)
*Note (1): From de-reddened location along the standard interstellar
* reddening vector to the 1 Myr pre-MS isochrone in the 2MASS
* color-magnitude diagram, assuming a distance ~2.56kpc and a cluster
* age of 1Myr. For early B stars are especially dependent on the age and
* distance assumptions (Figure 7).
*Note (2): Significant K_s_-band excess derived from high quality 2MASS
* photometry where near-IR color excess E(H-K) is larger than
* {sigma}(H-K), the uncertainty in H-K color index.
C=============================================================================
C Loading file 'table1.dat' ! Main Chandra Catalog: basic source properties
C Format for file interpretation
1 format(
+ I3,1X,A18,1X,F10.6,1X,F10.6,1X,F3.1,1X,F4.1,1X,F6.1,1X,F4.1,
+ 1X,F4.1,1X,F5.1,1X,F4.2,1X,F4.1,1X,A1,F5.1,1X,A1,1X,A1,1X,
+ F4.1,1X,F3.1)
C Effective file loading
open(unit=1,status='old',file=
+'table1.dat')
write(6,*) '....Loading file: table1.dat'
do i__=1,665
read(1,'(A106)')ar__
read(ar__,1)
+ v_WTF2007_(i__),CXOUJ(i__),RAdeg(i__),DEdeg(i__),e_pos(i__),
+ theta(i__),Fcts(i__),e_Fcts(i__),Bkg(i__),Hcts(i__),PSF(i__),
+ Sig(i__),l_logPB(i__),logPB(i__),Anom(i__),Var(i__),Exp(i__),
+ E(i__)
c ..............Just test output...........
write(6,1)
+ v_WTF2007_(i__),CXOUJ(i__),RAdeg(i__),DEdeg(i__),e_pos(i__),
+ theta(i__),Fcts(i__),e_Fcts(i__),Bkg(i__),Hcts(i__),PSF(i__),
+ Sig(i__),l_logPB(i__),logPB(i__),Anom(i__),Var(i__),Exp(i__),
+ E(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table2.dat' ! Tentative source properties
C Format for file interpretation
2 format(
+ I3,1X,A18,1X,F10.6,1X,F10.6,1X,F3.1,1X,F4.1,1X,F6.1,1X,F4.1,
+ 1X,F4.1,1X,F5.1,1X,F4.2,1X,F4.1,1X,A1,F5.1,1X,A1,1X,A1,1X,
+ F4.1,1X,F3.1)
C Effective file loading
open(unit=1,status='old',file=
+'table2.dat')
write(6,*) '....Loading file: table2.dat'
do i__=1,114
read(1,'(A106)')ar__1
read(ar__1,2)
+ v_WTF2007__1(i__),CXOUJ_1(i__),RAdeg_1(i__),DEdeg_1(i__),
+ e_pos_1(i__),theta_1(i__),Fcts_1(i__),e_Fcts_1(i__),
+ Bkg_1(i__),Hcts_1(i__),PSF_1(i__),Sig_1(i__),l_logPB_1(i__),
+ logPB_1(i__),Anom_1(i__),Var_1(i__),Exp_1(i__),E_1(i__)
c ..............Just test output...........
write(6,2)
+ v_WTF2007__1(i__),CXOUJ_1(i__),RAdeg_1(i__),DEdeg_1(i__),
+ e_pos_1(i__),theta_1(i__),Fcts_1(i__),e_Fcts_1(i__),
+ Bkg_1(i__),Hcts_1(i__),PSF_1(i__),Sig_1(i__),l_logPB_1(i__),
+ logPB_1(i__),Anom_1(i__),Var_1(i__),Exp_1(i__),E_1(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table3.dat' ! X-ray spectroscopy for brighter sources: thermal
* plasma fits
C Format for file interpretation
3 format(
+ I3,1X,A18,1X,F4.2,A1,F4.1,1X,F4.2,1X,F4.2,1X,A1,F4.1,1X,F5.2,
+ 1X,F4.2,1X,F4.1,1X,F4.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,
+ F5.2,1X,F4.2,1X,A26)
C Effective file loading
open(unit=1,status='old',file=
+'table3.dat')
write(6,*) '....Loading file: table3.dat'
do i__=1,40
read(1,'(A131)')ar__2
read(ar__2,3)
+ v_WTF2007__2(i__),CXOUJ_2(i__),e_logN(i__),l_logN(i__),
+ logN(i__),E_logN_1(i__),e_kT(i__),l_kT(i__),kT(i__),
+ E_kT_1(i__),e_logEM(i__),logEM(i__),E_logEM_1(i__),logLs(i__),
+ logLh(i__),logLhc(i__),logLt(i__),logLtc(i__),Good(i__),
+ Note(i__)
if(ar__2(24:27) .EQ. '') e_logN(i__) = rNULL__
if(ar__2(34:37) .EQ. '') E_logN_1(i__) = rNULL__
if(ar__2(39:42) .EQ. '') e_kT(i__) = rNULL__
if(ar__2(50:54) .EQ. '') E_kT_1(i__) = rNULL__
if(ar__2(56:59) .EQ. '') e_logEM(i__) = rNULL__
if(ar__2(66:69) .EQ. '') E_logEM_1(i__) = rNULL__
if(ar__2(101:104) .EQ. '') Good(i__) = rNULL__
c ..............Just test output...........
write(6,3)
+ v_WTF2007__2(i__),CXOUJ_2(i__),e_logN(i__),l_logN(i__),
+ logN(i__),E_logN_1(i__),e_kT(i__),l_kT(i__),kT(i__),
+ E_kT_1(i__),e_logEM(i__),logEM(i__),E_logEM_1(i__),logLs(i__),
+ logLh(i__),logLhc(i__),logLt(i__),logLtc(i__),Good(i__),
+ Note(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table4.dat' ! X-ray spectroscopy for less bright sources:
* thermal plasma fits
C Format for file interpretation
4 format(
+ I3,1X,A18,1X,F4.2,A1,F4.1,1X,F4.2,1X,F4.2,1X,A1,F4.1,1X,F5.2,
+ 1X,F4.2,1X,F4.1,1X,F4.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,F5.2,1X,
+ F5.2,1X,F4.2,1X,A26)
C Effective file loading
open(unit=1,status='old',file=
+'table4.dat')
write(6,*) '....Loading file: table4.dat'
do i__=1,144
read(1,'(A131)')ar__3
read(ar__3,4)
+ v_WTF2007__3(i__),CXOUJ_3(i__),e_logN_2(i__),l_logN_1(i__),
+ logN_1(i__),E_logN_3(i__),e_kT_2(i__),l_kT_1(i__),kT_1(i__),
+ E_kT_3(i__),e_logEM_2(i__),logEM_1(i__),E_logEM_3(i__),
+ logLs_1(i__),logLh_1(i__),logLhc_1(i__),logLt_1(i__),
+ logLtc_1(i__),Good_1(i__),Note_1(i__)
if(ar__3(24:27) .EQ. '') e_logN_2(i__) = rNULL__
if(ar__3(34:37) .EQ. '') E_logN_3(i__) = rNULL__
if(ar__3(39:42) .EQ. '') e_kT_2(i__) = rNULL__
if(ar__3(50:54) .EQ. '') E_kT_3(i__) = rNULL__
if(ar__3(56:59) .EQ. '') e_logEM_2(i__) = rNULL__
if(ar__3(66:69) .EQ. '') E_logEM_3(i__) = rNULL__
if(ar__3(101:104) .EQ. '') Good_1(i__) = rNULL__
c ..............Just test output...........
write(6,4)
+ v_WTF2007__3(i__),CXOUJ_3(i__),e_logN_2(i__),l_logN_1(i__),
+ logN_1(i__),E_logN_3(i__),e_kT_2(i__),l_kT_1(i__),kT_1(i__),
+ E_kT_3(i__),e_logEM_2(i__),logEM_1(i__),E_logEM_3(i__),
+ logLs_1(i__),logLh_1(i__),logLhc_1(i__),logLt_1(i__),
+ logLtc_1(i__),Good_1(i__),Note_1(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
C Loading file 'table5.dat' ! Stellar counterparts and classifications
C Format for file interpretation
5 format(
+ I3,1X,A18,1X,A1,1X,A1,1X,A1,1X,A3,1X,I2,1X,I2,1X,F5.2,1X,A1,
+ I2,1X,I2,1X,F4.1,1X,F4.2,1X,F6.3,1X,F6.3,1X,F6.3,1X,A3,1X,A3)
C Effective file loading
open(unit=1,status='old',file=
+'table5.dat')
write(6,*) '....Loading file: table5.dat'
do i__=1,779
read(1,'(A90)')ar__4
read(ar__4,5)
+ v_WTF2007__4(i__),CXOUJ_4(i__),v2M(i__),SIR(i__),HST(i__),
+ Flag(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__),
+ DEm(i__),DEs(i__),Offset(i__),J_H(i__),H_K(i__),Kmag(i__),
+ q2M(i__),c2M(i__)
if(ar__4(34:35) .EQ. '') RAh(i__) = iNULL__
if(ar__4(37:38) .EQ. '') RAm(i__) = iNULL__
if(ar__4(40:44) .EQ. '') RAs(i__) = rNULL__
if(ar__4(47:48) .EQ. '') DEd(i__) = iNULL__
if(ar__4(50:51) .EQ. '') DEm(i__) = iNULL__
if(ar__4(53:56) .EQ. '') DEs(i__) = rNULL__
if(ar__4(58:61) .EQ. '') Offset(i__) = rNULL__
if(ar__4(63:68) .EQ. '') J_H(i__) = rNULL__
if(ar__4(70:75) .EQ. '') H_K(i__) = rNULL__
if(ar__4(77:82) .EQ. '') Kmag(i__) = rNULL__
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(i__) .GT. -180) RAdeg_2(i__)=RAh(i__)*15.
if(RAm(i__) .GT. -180) RAdeg_2(i__)=RAdeg_2(i__)+RAm(i__)/4.
if(RAs(i__) .GT. -180) RAdeg_2(i__)=RAdeg_2(i__)+RAs(i__)/240.
if(DEd(i__) .GE. 0) DEdeg_2(i__)=DEd(i__)
if(DEm(i__) .GE. 0) DEdeg_2(i__)=DEdeg_2(i__)+DEm(i__)/60.
if(DEs(i__) .GE. 0) DEdeg_2(i__)=DEdeg_2(i__)+DEs(i__)/3600.
if(DE_(i__).EQ.'-'.AND.DEdeg_2(i__).GE.0) DEdeg_2(i__)=-DEdeg_2(i__)
c ..............Just test output...........
write(6,5)
+ v_WTF2007__4(i__),CXOUJ_4(i__),v2M(i__),SIR(i__),HST(i__),
+ Flag(i__),RAh(i__),RAm(i__),RAs(i__),DE_(i__),DEd(i__),
+ DEm(i__),DEs(i__),Offset(i__),J_H(i__),H_K(i__),Kmag(i__),
+ q2M(i__),c2M(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' ! Known O and early-B stars in Pismis 24
C Format for file interpretation
6 format(
+ A9,A1,1X,A11,1X,I2,1X,I2,1X,F5.2,1X,A1,I2,1X,I2,1X,F4.1,1X,
+ F5.2,1X,F4.2,A2,1X,F4.2,1X,F4.2,1X,F4.2,1X,F4.2,1X,F5.2,1X,
+ F4.2,1X,A3,1X,F5.2,1X,F4.1,1X,A1,F5.2,1X,A19)
C Effective file loading
open(unit=1,status='old',file=
+'table6.dat')
write(6,*) '....Loading file: table6.dat'
do i__=1,17
read(1,'(A132)')ar__5
read(ar__5,6)
+ Name(i__),f_SpType(i__),SpType(i__),RAh_1(i__),RAm_1(i__),
+ RAs_1(i__),DE__1(i__),DEd_1(i__),DEm_1(i__),DEs_1(i__),
+ Vmag(i__),U_B(i__),u_U_B(i__),B_V(i__),V_J(i__),J_H_1(i__),
+ H_Ks(i__),Ksmag(i__),AV(i__),Seq(i__),logLX(i__),logN_2(i__),
+ l_logLbol(i__),logLbol(i__),Notes(i__)
if(ar__5(54:57) .EQ. '') U_B(i__) = rNULL__
if(ar__5(96:100) .EQ. '') logLX(i__) = rNULL__
if(ar__5(102:105) .EQ. '') logN_2(i__) = rNULL__
if(ar__5(108:112) .EQ. '') logLbol(i__) = rNULL__
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_1(i__) .GT. -180) RAdeg_3(i__)=RAh_1(i__)*15.
if(RAm_1(i__) .GT. -180) RAdeg_3(i__)=RAdeg_3(i__)+RAm_1(i__)/4.
if(RAs_1(i__) .GT. -180) RAdeg_3(i__)=RAdeg_3(i__)+RAs_1(i__)/240.
if(DEd_1(i__) .GE. 0) DEdeg_3(i__)=DEd_1(i__)
if(DEm_1(i__) .GE. 0) DEdeg_3(i__)=DEdeg_3(i__)+DEm_1(i__)/60.
if(DEs_1(i__) .GE. 0) DEdeg_3(i__)=DEdeg_3(i__)+DEs_1(i__)/3600.
if(DE__1(i__).EQ.'-'.AND.DEdeg_3(i__).GE.0) DEdeg_3(i__)=-DEdeg_3(i__)
c ..............Just test output...........
write(6,6)
+ Name(i__),f_SpType(i__),SpType(i__),RAh_1(i__),RAm_1(i__),
+ RAs_1(i__),DE__1(i__),DEd_1(i__),DEm_1(i__),DEs_1(i__),
+ Vmag(i__),U_B(i__),u_U_B(i__),B_V(i__),V_J(i__),J_H_1(i__),
+ H_Ks(i__),Ksmag(i__),AV(i__),Seq(i__),logLX(i__),logN_2(i__),
+ l_logLbol(i__),logLbol(i__),Notes(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 'table8.dat' ! X-ray selected candidate intermediate-mass stars
C Format for file interpretation
7 format(I3,1X,A18,1X,F5.2,1X,F5.2,1X,F5.2,1X,I2,1X,I2,1X,A1)
C Effective file loading
open(unit=1,status='old',file=
+'table8.dat')
write(6,*) '....Loading file: table8.dat'
do i__=1,100
read(1,'(A48)')ar__6
read(ar__6,7)
+ v_WTF2007__5(i__),CXOUJ_5(i__),Jmag(i__),Hmag(i__),
+ Ksmag_1(i__),AV_1(i__),Mass(i__),DelK(i__)
c ..............Just test output...........
write(6,7)
+ v_WTF2007__5(i__),CXOUJ_5(i__),Jmag(i__),Hmag(i__),
+ Ksmag_1(i__),AV_1(i__),Mass(i__),DelK(i__)
c .......End.of.Just test output...........
end do
close(1)
C=============================================================================
stop
end