# UT 2008 May 29
# TEXES on IRTF

date=08.0529
fitsdir=archive
slitpa = 180.

###################
PI=Hinkle
PID=2008A078
###################

##IRC +10216
objtype=target
# H2 S(1) at 587 cm^-1
# Use 587.1604 in order 4 
setwno
shift = true
weight = true
wno0=586.351
hrr=9.412
sumspec=i10216.587a
i10216.2000
#ended .2001 after 3 pairs to change nod
i10216.2001 
storesum

sumspec=i10216.587b
i10216.2002
# moved along slit in pairs 3 & 4 during .2003
i10216.2003
# before .2004 moved .5" along slit and adjusted telescope rate
i10216.2004
storesum

# before .2005, adjust echelle so CO2 line centered @ (212,93) no deskew
setwno0
# use 587.1604 in order 4
wno0=586.351
hrr=9.412
sumspec=i10216.587c
i10216.2005
# peaking thru pair 7 in .2006
i10216.2006
i10216.2007
i10216.2008
storesum

# go to wno = 951 cm-1 for C2H4 in IRC+10216
# re-center blaze function
# change focus =-1.6
hrr=9.8
setwno0
# use 953.367 in 7
wno0=952.305
hrr=9.821
skip=1 4
# moving along slit at start of .2009, good at pair 4
i10216.2009

sumspec=i10216.951
# increased nod before .2010
i10216.2010
# seemed to be drifting along slit in .2011
i10216.2011
# adjusted position before .2012
i10216.2012
storesum

# go to wno = 946 cm-1
setwno0
# use 947.7420 in 6
wno0=947.009
hrr=9.819
sumspec=i10216.946
i10216.2013
i10216.2014
# moved up in slit by 1 pix in pair 6 during .2015
i10216.2015
# moved up in slit by 1 pix in pair 9 during .2016
i10216.2016
storesum

# go to wno=954 cm-1
setwno0
# use 956.184865 in 9 (best wavelength calibration ever!)
hrr=9.821
wno0=954.293
sumspec=i10216.954
i10216.2017
i10216.2018
# moved up in slit by 1 pix before .2019
i10216.2019
i10216.2020
storesum

# go to wno=951 cm-1
setwno0
# use 952.881 in 6
wno0=952.306
hrr=9.820
sumspec=i10216.951b
i10216.2021
i10216.2022
i10216.2023
i10216.2024
storesum

# go back to wno=946 cm-1
setwno0
# use 947.7420 in 6
wno0=946.939
hrr=9.890
sumspec=i10216.946b
i10216.2025
i10216.2026
storesum

# going to Alpha Boo
objtype=calibration
wno=946 cm-1
shift=false
weight=false
setwno
#use 945.9803 in 5
hrr=9.897
wno0=946.270
aboo.2027

#go to wno=952 cm-1
hrr=9.897
wno0=952.893
aboo.2028

# going to NGC 6058
#using 952.881 in 5
hrr=9.896
wno0=952.894
ngc6058.2029
#2030 in stare mode, looking at continuum, turned out to be dust.
#ngc6058.2030  no flatfield ignore


###################
PI=Lacy
PID=2008A088
###################

#	try GL 2136 at 815 cm-1 for NH3 and H2O
objtype=target
shift = true
weight = true

setwno	#	812.484 in order 2
# Measurements at IRTF:
# hrr = 9.914
# wno0 = 814.481
# Measurements at UT:
wno0=814.482
hrr=9.912
sumspec = gl2136.815
gl2136.2031
gl2136.2032
gl2136.2033
gl2136.2034
gl2136.2035
gl2136.2036
storesum

#	go to 2591
objtype=target
# Measurements at IRTF:
# hrr = 9.914
# wno0 = 814.481
# Measurements at UT:
wno0=814.482
hrr=9.913
sumspec = gl2591.815
gl2591.2037
gl2591.2038
gl2591.2039
gl2591.2040
storesum

#	and NML Cyg
objtype=calibration
# Measurements at IRTF:
# hrr = 9.914
# wno0 = 814.481
# Measurements at UT:
wno0=814.481
hrr=9.913
sumspec = nmlcyg.815
nmlcyg.2041
nmlcyg.2042
storesum

#	go to NH3 Q branch
objtype=calibration
setwno	#	931.0015 in order 7
# Measurements at IRTF:
# hrr = 9.86
# wno0 = 929.086
# Measurements at UT:
wno0=931.0468
sumspec = nmlcyg.930
nmlcyg.2043
nmlcyg.2044
storesum

#	go back to 2591, got lost, went to cam mode and back
objtype=target
# Measurements at IRTF:
# hrr = 9.87
# wno0 = 929.078
# Measurements at UT:
wno0=931.038
sumspec = gl2591.930a
gl2591.2045
gl2591.2046
gl2591.2047
gl2591.2048
storesum


#	found we had gain = 12.5.  change back to 50.
objtype=target
# Measurements at IRTF:
# hrr = 9.87
# wno0 = -929.078
# Measurements at UT:

hrr=9.871
wno0=931.038
sumspec = gl2591.930b
gl2591.2049
gl2591.2050
gl2591.2051
gl2591.2052
storesum

## Back to AFGL 2136 at the same setting
objtype=target
# Use 929.0175 in order 4
# JCB 6/3/08: ??? that doesn't make sense...
# Measurements at IRTF:
# wno0=929.058
# hrr=9.893
# Measurements at UT:
wno0=931.0425
sumspec=gl2136.930
gl2136.2055
gl2136.2056
gl2136.2057
gl2136.2058
gl2136.2059
gl2136.2060
gl2136.2062
storesum

#gl2136.2063 and 2064 are bad utir crashed
end

