# Extension of Pulsar Ephemerides Database to store spin ephemerides of a high-precision frequency history model
XTENSION     = 'BINTABLE'                  / binary table extension
BITPIX       = 8                           / 8-bit bytes
NAXIS        = 2                           / 2-dimensional binary table
NAXIS1       =                             / width of table in bytes
NAXIS2       =                             / number of rows in table
PCOUNT       =                             / size of special data area
GCOUNT       = 1                           / one data group (required keyword)
TFIELDS      =                             / number of fields in each row
CHECKSUM     = ''                          / checksum for entire HDU
DATASUM      = ''                          / checksum for data table
TELESCOP     = 'GLAST'                     / name of telescope generating data
INSTRUME     = 'LAT'                       / name of instrument generating data
EQUINOX      = 2000.0                      / equinox for ra and dec
RADECSYS     = 'FK5'                       / world coord. system for this file (FK5 or FK4)
DATE         =                             / file creation date (YYYY-MM-DDThh:mm:ss UT)
EXTNAME      = 'SPIN_PARAMETERS'           / name of this binary table extension
EPHSTYLE     = 'HP'                        / name of pulsar ephemeris model
PDBTGEN      = 2                           / second generation table of pulsar ephemerides database
TTYPE1       = 'PSRNAME'                   / pulsar name in PSR Jxxxx+xx[xx[aa]] format whenever available, or in any format otherwise
TFORM1       = '32A'                       / data format of field: character
TTYPE2       = 'VALID_SINCE'               / first date for valid timing parameters in MJD
TFORM2       = 'J'                         / data format of field: 4-byte signed INTEGER
TUNIT2       = 'd'                         / physical unit of field
TTYPE3       = 'VALID_UNTIL'               / last date for valid timing parameters in MJD
TFORM3       = 'J'                         / data format of field: 4-byte signed INTEGER
TUNIT3       = 'd'                         / physical unit of field
TTYPE4       = 'POS_EPOCH_INT'             / integer part of the epoch of proper motion in MJD (TDB)
TFORM4       = 'J'                         / data format of field: 4-byte signed INTEGER
TUNIT4       = 'd'                         / physical unit of field
TTYPE5       = 'POS_EPOCH_FRAC'            / fractional part of the epoch of proper motion in MJD (TDB)
TFORM5       = 'D'                         / data format of field: 8-byte DOUBLE
TUNIT5       = 'd'                         / physical unit of field
TLMIN5       = 0.0                         / minimum value
TLMAX5       = 1.0                         / maximum value
TTYPE6       = 'RA'                        / right ascension (J2000) of the pulsar position at the epoch of proper motion
TFORM6       = 'D'                         / data format of field: 8-byte DOUBLE
TUNIT6       = 'deg'                       / physical unit of field
TLMIN6       = 0.0                         / minimum value
TLMAX6       = 360.0                       / maximum value
TTYPE7       = 'DEC'                       / declination (J2000) of the pulsar position at the epoch of proper motion
TFORM7       = 'D'                         / data format of field: 8-byte DOUBLE
TUNIT7       = 'deg'                       / physical unit of field
TLMIN7       = -90.0                       / minimum value
TLMAX7       = 90.0                        / maximum value
TTYPE8       = 'RA_VELOCITY'               / angular change in right ascension (J2000)
TFORM8       = 'D'                         / data format of field: 8-byte DOUBLE
TUNIT8       = '10**(-3) arcsec / yr'      / physical unit of field
TTYPE9       = 'DEC_VELOCITY'              / angular change in declination (J2000)
TFORM9       = 'D'                         / data format of field: 8-byte DOUBLE
TUNIT9       = '10**(-3) arcsec / yr'      / physical unit of field
TTYPE10      = 'RADIAL_VELOCITY'           / velocity in the direction of the line of sight
TFORM10      = 'D'                         / data format of field: 8-byte DOUBLE
TUNIT10      = 'km / s'                    / physical unit of field
TTYPE11      = 'PARALLAX'                  / annual parallax
TFORM11      = 'D'                         / data format of field: 8-byte DOUBLE
TUNIT11      = '10**(-3) arcsec'           / physical unit of field
TTYPE12      = 'FREQ_EPOCH_INT'            / integer part of the epoch of frequency parameters in MJD (TDB)
TFORM12      = 'J'                         / data format of field: 4-byte signed INTEGER
TUNIT12      = 'd'                         / physical unit of field
TTYPE13      = 'FREQ_EPOCH_FRAC'           / fractional part of the epoch of frequency parameters in MJD (TDB)
TFORM13      = 'D'                         / data format of field: 8-byte DOUBLE
TUNIT13      = 'd'                         / physical unit of field
TLMIN13      = 0.0                         / minimum value
TLMAX13      = 1.0                         / maximum value
TTYPE14      = 'TOAGEO_INT'                / integer part of infinite-frequency geocentric pulse arrival time in MJD (TT)
TFORM14      = 'J'                         / data format of field: 4-byte signed INTEGER
TUNIT14      = 'd'                         / physical unit of field
TTYPE15      = 'TOAGEO_FRAC'               / fractional part of infinite-frequency geocentric pulse arrival time in MJD (TT)
TFORM15      = 'D'                         / data format of field: 8-byte DOUBLE
TUNIT15      = 'd'                         / physical unit of field
TLMIN15      = 0.0                         / minimum value
TLMAX15      = 1.1                         / maximum value
TTYPE16      = 'TOABARY_INT'               / integer part of infinite-frequency, binary-demodulated, barycentric pulse arrival time in MJD (TDB)
TFORM16      = 'J'                         / data format of field: 4-byte signed INTEGER
TUNIT16      = 'd'                         / physical unit of field
TTYPE17      = 'TOABARY_FRAC'              / fractional part of infinite-frequency, binary-demodulated, barycentric pulse arrival time in MJD (TDB)
TFORM17      = 'D'                         / data format of field: 8-byte DOUBLE
TUNIT17      = 'd'                         / physical unit of field
TLMIN17      = 0.0                         / minimum value
TLMAX17      = 1.0                         / maximum value
TTYPE18      = 'FREQ_PARAMETERS'           / pulsar rotation frequency and its time derivatives
TFORM18      = 'PD'                        / data format of field: variable-length array of 8-byte DOUBLE
TUNIT18      = 's**(-1)'                   / physical unit of the first element of this field
TTYPE19      = 'WAVE_OMEGA'                / fundamental frequency of sinusoidal timing residual
TFORM19      = 'D'                         / data format of field: 8-byte DOUBLE
TUNIT19      = 'rad / d'                   / physical unit of field
TLMIN19      = 0.0                         / minimum value
TTYPE20      = 'WAVE_SINE'                 / amplitudes of the sine components of sinusoidal timing residual
TFORM20      = 'PD'                        / data format of field: variable-length array of 8-byte DOUBLE
TUNIT20      = 's'                         / physical unit of field
TTYPE21      = 'WAVE_COSINE'               / amplitudes of the cosine components of sinusoidal timing residual
TFORM21      = 'PD'                        / data format of field: variable-length array of 8-byte DOUBLE
TUNIT21      = 's'                         / physical unit of field
TTYPE22      = 'GLITCH_PARAMETERS'         / packed list of glitch parameters
TFORM22      = 'PD'                        / data format of field: variable-length array of 8-byte DOUBLE
TTYPE23      = 'GLITCH_DIMENSIONS'         / array dimensions of packed glitch parameters
TFORM23      = 'PJ'                        / data format of field: variable-length array of 4-byte signed INTEGER
TTYPE24      = 'OBSERVER_CODE'             / source of timing information
TFORM24      = '4A'                        / data format of field: character
TTYPE25      = 'BINARY_FLAG'               / true for binary pulsars, false for single pulsars
TFORM25      = 'L'                         / data format of field: logical
TTYPE26      = 'SOLAR_SYSTEM_EPHEMERIS'    / name of solar system ephemeris used for barycentric corrections ("JPL DE200" or "JPL DE405")
TFORM26      = '32A'                       / data format of field: character
END
