c This file is intended to be used as an include file within
c any program intending to use the function RDASCAT1. It defines the
c variables returned to the calling program.

c  Original version AGL/PAH 
c  New variables (f2, planets etc)  RNM October, 1992.
c  Distance codes RNM, March 1, 1993.

c the fields and their units are as follows
c cat_bname   	the B1950 pulsar name 
c cat_jname   	the J2000 pulsar name 
c cat_ra2000 	the J2000 right ascension in radians
c cat_ra1950 	the B1950 right ascension in radians
c cat_dec2000 	the J2000 declination in radians
c cat_dec1950 	the B1950 declination in radians
c cat_pmra	proper motion in RA direction in mas/yr
c cat_pmdec	proper motion in declination in mas/yr
c cat_posepch	epoch of position (MJD)
c cat_gl	the galactic longitude in degrees
c cat_gb	the galactic latitude in degrees
c cat_pb	the barycentric period in seconds
c cat_pbdot   	the barycentric period derivative in units of s/s
c cat_f2  	2nd time derivative of barycentric rotation frequency in /s^3
c cat_f3  	3rd time derivative of barycentric rotation frequency in /s^4
c cat_pbepoch  	epoch of the barycentric period (MJD)
c cat_dm     	dispersion measure in pc/cm^3
c cat_rm     	rotation measure in rad/m^2
c cat_we     	equivalent width of the integrated pulse profile in ms
c cat_w50	profile width at 50% of peak in ms
c cat_w10	profile width at 10% of peak in ms
c cat_s400   	time averaged flux density at 400MHz in mJy
c cat_s600   	time averaged flux density at 600MHz in mJy
c cat_s1400	time averaged flux density at 1400MHz in mJy
c cat_altsc	log of scattering time constant at 400 MHz in sec
c cat_scflag	1: tscat lower limit, 2: upper limit, 0: measured value
c cat_dist   	adopted distance of pulsar in kpc
c cat_dflag	1: dist lower limit, 2: upper limit, 0: measured value
c cat_dmin	lower limit to distance in kpc
c cat_dmax	upper limit to distance in kpc
c cat_lcode	a(best) to c(worst) reliability of distance on low side
c cat_ucode	a(best) to c(worst) reliability of distance on high side
c cat_dmodel   	distance of pulsar from dm and model of Galactic electron density
c cat_mcode 	distance model ID
c                  1 = Taylor & Cordes (1993)
c cat_mdflag	1 if model distance is lower limit, 0 otherwise.
c cat_nobs	octal code for surveys which have detected this pulsar
c cat_tbg    	sky background temp in K
c cat_aledot	log of total energy loss rate in erg/s
c cat_allum	log of radio luminosity in mJy.kpc^2
c cat_albsurf	log of surface dipole magnetic field in gauss
c cat_alage	log of characteristic age in years
c cat_epbin  	epoch of binary periastron (MJD)
c cat_pbin   	binary period in days
c cat_xbin  	binary orbital radius (x=a1.sini) in seconds
c cat_wbin   	binary longitude of periastron in degrees
c cat_wdotbin 	rate of advance of binary periastron in degrees/Julian year
c cat_eccbin 	binary orbital eccentricity
c cat_gambin	post-Keplerian 'gamma' term in sec
c cat_pdbin	1st time-derivative of binary period
c cat_sinibin	post-Keplerian 's' term
c cat_rbin	post-Keplerian 'r' term
c cat_..bin1 and cat_..bin2 are orbital parameters for 2nd and 3rd companions
c cat_ntype	octal code for pulsar type:
c		1 = Globular cluster association
c		2 = SNR association
c		4 = Glitches in period
c		10 = Binary or multiple pulsar
c		20 = Millisecond pulsar
c		40 = Recycled pulsar
c		100 = Radio interpulse
c		200 = Optical, X-ray or Gamma-ray pulsed emission
 
	integer*4 cat_nobs, cat_ibin, cat_dflag, cat_scflag,
     +     cat_ntype, cat_mcode, cat_mdflag
	real*8 cat_ra1950, cat_dec1950, cat_posepch, cat_pbepoch,
     +     cat_pb, cat_epbin, cat_ra2000, cat_dec2000,
     +     cat_pbdot, cat_dm, cat_f2, cat_f3,
     +     cat_pbin, cat_xbin, cat_wbin, cat_eccbin,
     +     cat_pbin1, cat_xbin1, cat_wbin1, cat_eccbin1, cat_epbin1,
     +     cat_pbin2, cat_xbin2, cat_wbin2, cat_eccbin2, cat_epbin2
	real*4 cat_ra_err, cat_dec_err, cat_pmra, cat_pmra_err,
     +     cat_pmdec, cat_pmdec_err, cat_gl, cat_gb, cat_pb_err,
     +     cat_pbdot_err, cat_dm_err, cat_f2_err, cat_f3_err,
     +     cat_rm, cat_rm_err, cat_we, cat_w50, cat_w10, cat_s400,
     +     cat_s600, cat_s1400, cat_dist, cat_dmin, cat_dmax, cat_tbg, 
     +     cat_dmodel, cat_aledot, cat_allum, cat_albsurf, cat_alage,
     +     cat_epbin_err, cat_epbin1_err, cat_epbin2_err, cat_altsc,
     +     cat_pbin_err, cat_xbin_err, cat_wbin_err, cat_wdotbin,
     +     cat_wdotbin_err, cat_eccbin_err,
     +     cat_pbin1_err, cat_xbin1_err, cat_wbin1_err, cat_wdotbin1,
     +     cat_wdotbin1_err, cat_eccbin1_err,
     +     cat_pbin2_err, cat_xbin2_err, cat_wbin2_err, cat_wdotbin2,
     +     cat_wdotbin2_err, cat_eccbin2_err,
     +     cat_gambin, cat_gambin_err, cat_pdbin, cat_pdbin_err,
     +     cat_sinibin, cat_sinibin_err, cat_rbin, cat_rbin_err,
     +     cat_gambin1, cat_gambin1_err, cat_pdbin1, cat_pdbin1_err,
     +     cat_sinibin1, cat_sinibin1_err, cat_rbin1, cat_rbin1_err,
     +     cat_gambin2, cat_gambin2_err, cat_pdbin2, cat_pdbin2_err,
     +     cat_sinibin2, cat_sinibin2_err, cat_rbin2, cat_rbin2_err
	character cat_bname*8, cat_jname*12, cat_lcode*1, cat_ucode*1

	common/acat/cat_jname, cat_bname, cat_lcode, cat_ucode
	common/dcat/cat_ra2000, cat_dec2000, cat_ra1950, cat_dec1950, 
     +     cat_posepch, cat_pbepoch, cat_pb, cat_epbin,
     +     cat_pbdot, cat_dm, cat_f2, cat_f3,
     +     cat_pbin, cat_xbin, cat_wbin, cat_eccbin,
     +     cat_pbin1, cat_xbin1, cat_wbin1, cat_eccbin1, cat_epbin1,
     +     cat_pbin2, cat_xbin2, cat_wbin2, cat_eccbin2, cat_epbin2
	common/cat/cat_nobs, cat_ibin, cat_dflag, cat_scflag, cat_ntype,
     +     cat_mcode, cat_mdflag, cat_ra_err, cat_dec_err, cat_pmra, 
     +     cat_pmra_err, cat_pmdec, cat_pmdec_err, cat_gl, cat_gb, 
     +     cat_pb_err, cat_pbdot_err, cat_dm_err, cat_f2_err,cat_f3_err,
     +     cat_rm, cat_rm_err, cat_we, cat_w50, cat_w10, cat_s400,
     +     cat_s600, cat_s1400, cat_dist, cat_dmin, cat_dmax, cat_tbg, 
     +     cat_dmodel, cat_aledot, cat_allum, cat_albsurf, cat_alage,
     +     cat_epbin_err, cat_epbin1_err, cat_epbin2_err, cat_altsc,
     +     cat_pbin_err, cat_xbin_err, cat_wbin_err, cat_wdotbin,
     +     cat_wdotbin_err, cat_eccbin_err,
     +     cat_pbin1_err, cat_xbin1_err, cat_wbin1_err, cat_wdotbin1,
     +     cat_wdotbin1_err, cat_eccbin1_err,
     +     cat_pbin2_err, cat_xbin2_err, cat_wbin2_err, cat_wdotbin2,
     +     cat_wdotbin2_err, cat_eccbin2_err,
     +     cat_gambin, cat_gambin_err, cat_pdbin, cat_pdbin_err,
     +     cat_sinibin, cat_sinibin_err, cat_rbin, cat_rbin_err,
     +     cat_gambin1, cat_gambin1_err, cat_pdbin1, cat_pdbin1_err,
     +     cat_sinibin1, cat_sinibin1_err, cat_rbin1, cat_rbin1_err,
     +     cat_gambin2, cat_gambin2_err, cat_pdbin2, cat_pdbin2_err,
     +     cat_sinibin2, cat_sinibin2_err, cat_rbin2, cat_rbin2_err






