# Comment annotations for (raw, non-discarded) LRIS keywords
# Keyword [sample value]       | Comment to add
SIMPLE  =                    T |
BITPIX  =                   16 |
NAXIS   =                    0 |
NAXIS1  =                    0 |
NAXIS2  =                    0 |
EXTEND  =                    T |
BZERO   =                32768 |
BSCALE  =                    1 |
BLANK   =                      |X
DATE    = '2013-01-10T13:24:28'|
EXPTIME =                      | Exposure time
TELESCOP= 'Keck I  '           | Telescope name                      
INSTRUME= 'LRISBLUE'           | Camera
SLITGRAB= 'deployed'           |X Slitmask transport
SLITMASK=                    1 |X Slitmask ID#                                                 
SLITNAME= 'direct  '           | Slitmask
BLUFILT = 'B       '           |B Blue filter                                        
BLUFNUM =                    3 |X Blue filter ID#                                      
BLUFTRAN= 'deployed'           |X Blue filter transport                                                
BTRAN   =                    1 |X Blue filter transport ID          
BLUFOCUS=       -2305.50415039 |B Blue camera focus                                                 
REDFILT = 'R       '           |R Red filter                                 
REDFNUM =                    3 |X Red filter ID                                       
REDFOCUS=          -0.66075081 |R Red camera focus                                    
DICHNAME= '560     '           | Dichroic                                         
DICHROIC=                    4 |X Dichroic ID#                                             
DICHTRAN= 'deployed'           |X Dichroic transport                                    
DTRAN   =                    1 |X Dichroic transport ID#
GRANAME = 'mirror  '           |R Red grating                                                 
GRANGLE =          13.87584686 |R Red grating angle                                          
GRATING =                    1 |X Red grating ID#                                    
GRISM   =                    2 |X Blue grism ID#
GRISNAME= 'clear   '           |B Blue grism
GRISTRAN= 'stowed  '           |X Grism transport
GTRAN   =                    0 |X Grism transport ID
TRAPDOOR= 'open    '           | Trapdoor status (open/closed)                                 
TV1FILT =                    1 |X Offset guider filter
TV2FILT =           -999999999 |X Slit viewing guider filter                                                
TV1FPOS =         218.70066833 |X Offset guider position                          
MSWAVE  =           0.00000000 | User-set wavelength if multislit
WAVELEN =           0.00000000 | User-set wavelength if longslit
LAMPS   = '0,0,0,0,0,0'        | Lamp string (Hg,Ne,Ar,Cd,Zn,Hal)
MERCURY = 'off     '           | Hg lamp status
NEON    = 'off     '           | Ne lamp status
ARGON   = 'off     '           | Ar lamp status
CADMIUM = 'off     '           | Cd lamp status
ZINC    = 'off     '           | Zn lamp status
HALOGEN = 'off     '           | Halogen lamp status                                  
KRYPTON = 'off     '           | Kr lamp status                                
XENON   = 'off     '           | Xe lamp status                                 
FEARGON = 'off     '           | FeNe lamp status                                
DEUTERI = 'off     '           | De flat lamp status                                
FLAMP1  = 'off     '           | Dome low (imaging) flat-field lamp status?                                
FLAMP2  = 'off     '           | Dome high (spec) flat-field lamp status?                  
DOMEPOSN=         321.32820973 | Dome azimuth angle
FLIMAGIN= 'off     '           | Dome low (imaging) flat-field lamp status
FLSPECTR= 'off     '           | Dome high (spec) flat-field lamp status         
UTC     = '06:08:06.86'        | Universal time (excl. day) at start
UT      = '10:17:32.65'        | Universal time (excl. day) at start
MJD-OBS = '56539.255636'       | MJD at start
DATE-OBS= '2013-09-04'         | Calendar date (day only)                            
AZ      =         321.28367745 | Telescope azimuth                                 
EL      =          44.19974985 | Telescope elevation
RA      = '15:44:01.40'        | Right ascension                                  
DEC     = '+49:37:55.3'        | Telescope declination                                
EQUINOX =        2000.00000000 | Equinox of RA/DEC                              
HA      = '+02:55:55.55'       | Hour angle at start
ST      = '18:40:20.53'        | Sidereal time at start                                     
AIRMASS =           1.43298345 | Airmass at start
PONAME  = 'LRISB   '           | Pointing origin                              
ROTMODE = 'position angle'     | Rotator mode                                  
ROTPOSN =          26.99974367 | Rotator angle (90 = slit north)                                     
ROTPPOSN=         -88.17978779 | Rotator physical position                             
SECFOCUS=          -0.00020747 | Secondary mirror focus                                                 
SECTHETX=          -0.00010324 |X Secondary mirror thetaX                                                 
SECTHETY=          -0.00018423 |X Secondary mirror thetaY
SIMULATE=                    F |X Simulating DCS
TARGNAME= 'PSRJ1544'           | Target name (from starlist)
TELFOCUS=          -0.00038719 | Telescope focus                                   
TUBETEMP=           4.63042000 | Telescope tube temperature                                  
DRA     = '0.000000'           | Differential tracking rate
DDEC    = '0.0000000'          | Differential tracking rate                           
DTRACK  = 'disabled'           | Differential tracking status                     
OBJECT  = 'MIRA PMFM -350'     | User-specified object name
OBSERVER= 'Sesar   '           | Observer name                       
PROGID  = 'C177LA  '           | WMKO ID for observing program                  
PROGINST= 'CIT     '           | Program institution                            
PROGPI  = 'S.Kulkarni'         | Program principal investigator                 
PROGTL1 = 'Palomar Transient Factory: Exploring a New Phase Space - (A Large ' |
PROGTL2 = 'P200 Program & Primary Proposal for Keck) ' | Program title 2        
PROGTL3 = '        '           | Program title 3                                
SEMESTER= '2013A   '           | WMKO observing schedule semester               
AMPMODE = 'SINGLE:A'           | Amplifier mode                                    
AMPLIST = '1,4,0,0 '           | Amplifier ID(?) list
AUTOERAS=                    T |X Automatic erase
AUTOSHUT=                    T |X Automatic shutter
CCDGAIN = 'low     '           | Gain setting                             
CCDSPEED= 'fast    '           | Readout speed setting                                   
ERASECNT=                    1 |X Erase count
FRAMENO =                  100 | Original frame number
MPPMODE =                    T |X MPP readoutmode
NSUBINT =                    0 |X Number of subintegrations
OUTDIR  = '/sdata243/lris6/2013sep04' |X Original readout directory
OUTFILE = 'b130904_'           |X Readout file stem
TODISK  =                    T |X
ROWSHFT =                    0 |X Row shift per subintegrations
SHBLOPTM=           0.03760000 |X Shutter blade opening time
SHBLCLTM=           0.02160000 |X Shutter blade closing time                     
SHLATOPN=           0.01840000 |X Shutter latency on opening
SHLATCLO=           0.03280000 |X Shutter latency on closing                    
SHOPNCNT=                    1 |X Shutter opening count
SHCLOCNT=                    1 |X Shutter closing count
NUMAMPS =                    4 | #of amplifiers in use
NVIDINP =                    4 |X Number of video inputs
VOFFSET0=                 1799 |X Video offset amplifier 0
VOFFSET1=                 1842 |X Video offset amplifier 1                                                 
VOFFSET2=                 1933 |X Video offset amplifier 2                                                 
VOFFSET3=                 1762 |X Video offset amplifier 3   
VIDOFF1 =                 1611 |X
VIDOFF2 =                 1876 |X                                               
VIDOFF3 =                 1540 |X                                                 
VIDOFF4 =                 1822 |X                                                 
OBSTYPE = 'dark    '           |X Obstype (ignore)
ANTIBLM = 'off     '           | Antiblooming status
ABFREQ  =                   20 | Antiblooming frequency                                           
DETECTOR= 'LRIS-R Science mos' |X Full name of detector
LSERCLKD=                  160 |X Last serial clock delay
POSTPIX =                   80 | Postscan pixels
WINDOW  = '1,0,0,2048,4096'    | Obsolete CCD windowing information
PANEFITS= '1HDU/pane/amp'      |X Pane HDU format
PANELIST= 'PANE    '           |X Readout pane list
PANERROR= 'NO_ERROR'           |X Pane error list
PANE    = '0,0,4096,4096'      | Windowing information (X0,Y0,DX,DY)
PANE1   = '0,0,0,0 '            |X             
PANE2   = '0,0,0,0 '            |X                                               
PANE3   = '0,0,0,0 '            |X                                               
PANE4   = '0,0,0,0 '            |X                                               
PANE5   = '0,0,0,0 '            |X                                               
PANE6   = '0,0,0,0 '            |X                                               
PANE7   = '0,0,0,0 '            |X                                               
PANE8   = '0,0,0,0 '            |X                                               
PANE9   = '0,0,0,0 '            |X                                               
PANE10  = '0,0,0,0 '            |X                                               
PANE11  = '0,0,0,0 '            |X                                               
PANE12  = '0,0,0,0 '            |X                                               
PANE13  = '0,0,0,0 '            |X                                               
PANE14  = '0,0,0,0 '            |X                                               
PANE15  = '0,0,0,0 '            |X                                               
PANE16  = '0,0,0,0 '            |X                                               
DATE_BEG= '2013-09-04T06:08:06' | Datetime of exposure start                          
DATE_END= '2013-09-04T06:08:36' | Datetime of exposure end                                   
UTC-END = '06:08:39.46'         | Time of exposure end                      
DATE-END= '2013-09-04'          | Date of exposure end                          
TTIME   =                   30  | Total time
ELAPTIME=                   30  | Elapsed time
COMMENT END   keywords that came from KTL via watch_ccd                         
COMMENT BEGIN keywords that came from CCD crate imparm structure                
IMTYPE  = 'n MOSAIC'            |X                                                
PRECOL  =                   51  |X  Overscan columns                                               
PREROW  =                    0  |X  Overscan rows                               
PRELINE =                    0  |X  Overscan lines                                               
POSTLINE=                    0  |X  Overscan lines                                 
ERASLINE=                    0  |X                                                 
KEEPPREP=                    1  |X                                                 
PREFLUSH=                    0  |X                                                 
OVRFLUSH=                    0  |X                                                
DETCNFID=                  201  |X                                                 
VIDINACT=                   15  |X                                                 
BINNING = '1,1     '            | CCD binning (native X,Y)
CCDSUM  = '1 1     '            |X
AMPPSIZE= '[1:1024,1:4096]'     |X CCD region of amplifier
DETLSIZE= '[1:4096,1:4096]'     | CCD region of whole detector
CHECKSUM= 'UMC4XJA1UJA1UJA1'    |X HDU checksum  
DATASUM = '         0'          |X data unit checksum
KOAID   = 'LR.20130609.29590.fits' | KOA data file name                         
KOAIMTYP= 'object  '           | KOA data file image type                       
COMMENT                                                                         
COMMENT KOA DQA generated keywords follow...                                    
COMMENT                                                                         
DATLEVEL=                    0  |X Data reduction level                           
DQA_DATE= '2016-08-20T15:13:28' |X Date of DQA run                               
DQA_VERS= '5-0-0   '           |X DQA version number                             
CCDGN01 =           1.25500000 | CCD gain amp location 1                        
CCDGN02 =           1.18000000 | CCD gain amp location 2                        
CCDGN03 =           1.19100000 | CCD gain amp location 3                        
CCDGN04 =           1.16200000 | CCD gain amp location 4                        
CCDRN01 =           4.64000000 | CCD read noise amp location 1                  
CCDRN02 =           4.76000000 | CCD read noise amp location 2                  
CCDRN03 =           4.54000000 | CCD read noise amp location 3                  
CCDRN04 =           4.62000000 | CCD read noise amp location 4                  
IM01MD02=               1010.0 |X Imaging pixels 01/02 median (DN)               
IM01MN02=               1009.7 |X Imaging pixels 01/02 mean (DN)                 
IM01SD02=                  5.3 |X Imaging pixels 01/02 std-dev (DN)              
PT01MD02=                998.0 |X Post scan pixels 01/02 median (DN)             
PT01MN02=                998.0 |X Post scan pixels 01/02 mean (DN)               
PT01SD02=                  4.0 |X Post scan pixels 01/02 std-dev (DN)            
IM02MD03=               1034.0 |X Imaging pixels 02/03 median (DN)               
IM02MN03=               1033.4 |X Imaging pixels 02/03 mean (DN)                 
IM02SD03=                  5.2 |X Imaging pixels 02/03 std-dev (DN)              
PT02MD03=               1019.0 |X Post scan pixels 02/03 median (DN)             
PT02MN03=               1019.1 |X Post scan pixels 02/03 mean (DN)               
PT02SD03=                  4.4 |X Post scan pixels 02/03 std-dev (DN)            
GUIDFWHM= 'null    '           | FWHM of NIRSPEC guide star                     
GUIDTIME= 'null    '           | UT of logged GUIDFWHM value                    
NPIXSAT =                    2 | Number of pixels above saturation              
OA      = 'C.Wilburn'          | Observing assistant                            
OFNAME  = 'r130904_0100.fits'  | Original filename                              
SIG2NOIS=              2.00000 |X Signal-to-noise estimate near image spectral ce
SLITLEN =            175.00000 |X Slit length projected on sky (arcsec)          
SLITWIDT=              0.70000 |X Slit width projected on sky (arcsec)           
SPATSCAL=              0.13500 |X CCD pixel scale, spatial (arcsec/pixel)        
SPECRES = 'null    '           |X Nominal spectral resolution                    
WAVEBLUE=                 5380 |X Approximate blue end wavelength (A)            
WAVECNTR=                 6200 |X Approximate centralwavelength (A)              
WAVERED =                 7020 |X Approximate red end wavelength (A)             
OBSMODE = 'SPEC    '           |X Observing mode (spec or imag)                  
TEMPDET =        -127.13845825 | Detector temperature
TEMPSET =                      |X
UTBTEMP =           2.50000000 |X Weather info?
UTBP30V =          34.58415222 |X Weather info?                                 
UTBP15V =          16.42857170 |X Weather info?                                 
UTBM15V =         -16.18303680 |X Weather info?                                 
UTBP5V  =           4.76618052 |X Weather info?                                 
PMFM    =           0.00000000 |X unknown ACS keyword
ADCNEED =                    T |X ADC needed
CURRINST= 'LRISADC '           | ADC instrument                                                 
ADCPRENA=                    1 |X                                  
ADCBYP  =                    F |X 
ADCCAL  =                    T |X 
ADCCMT  = '        '           |X 
ADCCON  =                    F |X 
ADCDCC  = 'hand paddle'        |X 
ADCENC  =               106366 |X 
ADCERR  =                    0 |X 
ADCGTE  =                    0 |X 
ADCLCK  = 'unlocked'           |X 
ADCLIM  =                    0 |X 
ADCMOD  =                    3 |X 
ADCRAW  =             -2127115 |X 
ADCRCD  = '        '           |X 
ADCSTA  =                   10 |X 
ADCSVA  =           0.00729928 |X 
ADCSVR  =                    8 |X 
ADCSVX  =           0.00000361 |X 
ADCTVA  =        1018.94854736 |X 
ADCTVX  =           0.79939795 |X                                                  
ADCVAL  =        1018.94122314 |X                                                  
ADCVAX  =           0.79939818 |X                                                  
ADCVEL  =           0.07625000 |X                                                  
ADCVEX  =           0.00007648 |X                                                  
ADCWAVE0=        3400.00000000 | ADC min. compensation wavelength
ADCWAVE1=        9000.00000000 | ADC max. compensation wavelength                                        
CTRL0ERR=                -5414 |X unkn. ADC keyword
CTRL0MSG= 'Software deadman s' |X ADC keyword
DISP0ERR=                    0 |X unkn. ADC keyword
DISP0STA=                    0 |X unkn. ADC keyword                                                
POW24V  =          25.98818588 |X unkn. ADC keyword                                                 
TEMP1C  =        -100.00000000 |X ADC keyword, seems broken
TEMP2C  =        -100.00000000 |X ADC keyword, seems broken                
TEMPELC =          21.14230347 |X ADC keyword     
WXDOMHUM=                 2.40 | Inside dome humidity (%)                       
WXDOMTMP=                 5.40 | Inside dome temperature (deg C)                
WXDWPT  =               -38.60 | Dew point temperature (deg C)                  
WXOUTHUM=                 2.50 | Outside humidity (%)                           
WXOUTTMP=                 4.70 | Outside temperature (deg C)                    
WXPRESS =               620.05 | Pressure (mb)                                  
WXTIME  = '09:32:34.99'        | UT of logged weather keyword values            
WXWNDIR = 'null    '           | Wind direction (N through E)                   
WXWNDSP = 'null    '           | Wind speed (mph)                               

