Hectospec Observers Reference Manual
Figure 1. Hectospec focal surface.
2 What
to
expect
at
the Telescope
3 Duties
for
Hectospec
Observers
4.1 Brief Instructions
4.1.1 Make a catalog
4.1.2 Run Xfitfibs
4.1.2.1 Load catalog and select Field Centers
4.1.2.2 Select Candidate Guide stars
4.1.2.3 fit fibers
4.1.2.4 submit
4.2 Standard Stars
5.1 Initializing the
spectrograph
5.2 Kinds of ExposurES
5.2.1 Focussing
7 Quick
Look
Spectral
Extraction
9.3  Exposure Time Calculator
10 APpendix
I
-
Observers
cheat sheeT
Please submit your configuration files at least 10 days before the run starts.
ra |
dec |
object |
rank |
type |
-- |
--- |
------ |
---- |
---- |
0:40:30.289 |
41:16:08.73 |
008-060 | 1 |
TARGET |
0:40:31.566 |
41:14:22.54 |
010-062 |
1 |
TARGET |
0:32:00.0 |
42:00:00.0 |
sky |
2 |
skyobject |
0:38:10.2 |
41:43:23.2 |
2mass19352 |
(tab) |
Fiducial |
0:54:58.594 |
43:05:22.298 | (tab) |
(tab) |
guide |
0:54:59.146 | 39:03:36.815 | (tab) |
(tab) |
guide |
The Hectospec bench spectrograph has 3 motors that need to be powered up and initialized at the beginning of a run, and often at the beginning of each night as well, if power has been shut off for safety. These motors control the CCD dewar focus stage, the grating angle, and the High Speed Shutter (mounted on the fiber shoe). The CCD electronics control and the dome calibration lamps must also be powered up and initialized.
A
suite of three Linux boxes operate the robot positioner, the bench
spectrograph, and the CCD camera (several other computers do work as
well, but
will remain nameless here). The instrument rack on the 2nd
floor must be powered up as described above
Figure 8. Spice Startup page. Use this to initialize software and home the three spectrograph motors. After this process is complete, return to the startup page for observing.
There
are several tabs in this menu, which can be selected as needed. For the first start of a new observing run,
select "Startup,"" which is used to
initialize the spectrograph. The
sequence
is:
Start
Pulizzis,
Start Rack (wait 2 minutes) Start Bench, Home
Bench, Start CCD, Start DomeCal.
The CCD temperature is controlled via a heater in the CCD dewar. If the CCD electronics have been off for a while, say since the previous morning, the temperature will be colder than nominal (perhaps as low as -135 C) and thus the heater will come on for an extended period till the temperature reaches -120 C. Thus, for critical measurements, you may wish to monitor this temperature until it reaches nominal, as shown on the Spice upper panel.
The
next tab allows configuration of the bench, e.g., changing the grating
or
grating tilt. Press "ConfigBench" at the begining of the
Hectospec run, or if you have changed either the grating or operating
wavelength. Also on this page, enter the observers' name. The
Program ID
("Propid") and the PI values will be entered automatically when a
configuration is selected by the robot operator. For testing
purposes,
the telname may be set to "Test", the instrname may be
set to "test", or the detname may be set to "test"
or "specn". Nomally, these should be set to
"mmt_f5_adc", "hectospec" (or "hectochelle"), and
"specs". If the telescope is off however, and you want to take
some test data (darks for instance), then set the telname to "test",
lest an error occur.
The grating,
binning and/or the wavelength setting is chosen in this
tab as
well, with only the allowed choices being available in the pull down
menu. The configuration loaded by the
positioner
software limits the choices for these parameters, thus minimizing the
possibility of mistakes.
The"Standard Ops" page provides exposure control for the CCD, as well as limited control of the spectrograph and the dome lamps. The control is based on the ICE system.
Figure 9. Spice Standard Ops page for taking spectra. If the box on the lower left above the Pause button is selected, a pull down menu of observation types appears to select the exposure type.
An
exposure is taken by selecting a type of exposure from the pull-down
menu
(shown as object1 here). Choices include "object", "comp"
etc. The
number of exposures and the exposure time are taken from the columns to
the
right Go box (green before an exposure, red during an exposure
as shown
here). Click on Go to start an exposure. A title may be
entered, but normally the title is already filled in. The
Exposure box and queue status shows the
progress. Upon
readout completion, a beep is issued and the file is automatically
displayed
into a ds9 window (called "ds9spec"). To stop an exposure, first pause
it.
File names
will have the naming convention of TYPE.nnnn.fits, where
TYPE is
the fiber configuration name for OBJECT exposures (see above) or the
type of
exposure for all others, and nnnn is a running count number among all
types
of frames. The files are stored in directories created
automatically for each night, with the form:
SPEC/year.monthday.
E.G., SPEC/2004.0409 (If Hectochelle is in use, CHELLE
replaces
SPEC.
The rest of the tabs are described below.
OBJECT: opens the shutter, writes"object" as imagetype in the header.
SKYOBJECT: opens the shutter, writes "skyobject" as imagetype in the header. Used for blank sky fields taken between object fields.
SKYFLAT: opens the shutter, writes "skyflat" as imagetype in the header. Use this for twilight sky exposures.
COMP: opens the shutter, writes "comp" as imagetype in the header. Use this for dome exposures of HeNeAr etc. Startup the dome lights with the appropriate button for HeNeAr, exposure times of about 5x300 seconds are recommended, multiple exposures are useful to eliminate cosmic rays. With the PenRay HgNeAr combination, shorter exposure times may be used (30 seconds or so).
DOMEFLAT: opens the shutter, writes "domeflat" as imagetype in the header. Turn on the dome continuum lamps. For the dome continuum exposures with hectospec, an exposure time of 2 seconds is recommended. Shorter exposures may suffer from shutter vignetting, and thus would not be useful for throughput corrections, though the files should still be ok for pixel-pixel flattening.
QFOCUS: used for SPEC only. Enter the number of exposures desired, the center focus value, and the focus step between exposures. Good values for SPEC are 7, 4, and -0.04. This routine will take a sequence of exposures, at the requested sequence of focus values for the spectrograph, which can then be analyzed. Typically, one uses the dome calibration PenRay lamps for this purpose, though night sky emission lines work well also. The exposure can also be done while the mirror is covered. This program uses the grating in zero order, and the charge is moved between the exposures, thus only one file is produced. The image will have one spot per fiber, per exposure. So the image will have 300 rows of n spots, where n is the number of exposures. Bearing in mind that the in-focus images are not Gaussian but rather flat-topped, a script has been written that analyzes the data frame and produces a plot. In an iraf window, type this command: qfocus filename. A plot in gv will be produced showing image concentration as a function of focus position. Different fibers are shown as different symbols. Higher concentrations are better. Once you have determined the focus, you still must set it using the Focus tab.
FOCUS: used for CHELLE. Enter the number of exposures desired, the starting focus value, and the focus step between exposures. This routine will take a sequence of frames, at the requested sequence of focus values for the spectrograph. Typically, one uses the dome calibration HeNeAr or ThAr lamps for this purpose, though night sky emission lines work well also. FOR CHELLE : the step should be -0.05, exposures 120s, and take 7 of them The program FOCUS.sh N, will extract information from the most recent N focus exposures To run this, type ./FOCUS.sh in a terminal window (not in iraf). Another program will display the focus files in tiled images on ds9. In this case, type display_focus N.
DARK: does not open the shutter, writes "dark" as imagetype in the header. There are light leaks around the shutter, so darks should be taken with the chamber lights off. The dark rate is extremely low, and in normal circumstances does not need to be measured. Be aware that the fluorescent lights in the spectrograph room will elevate the dark count significantly for about an hour after they are turned off.
BIAS: leaves shutter closed, writes "zero" as imagetype in the header. There is some structure to the bias, so we recommend taking a handful of these at the beginning of the night.
The autoops tab is
not
described here.
The focus tab is used after determining a new focus. Enter the
correct
value next to new focus, click on apply and set.
The next tab shows the calibration
lamp
status. The lamps themselves are usually controlled in the
standard ops
tab, but this tab shows the details of eack kind of lamp.
The start/stop tab allows control of the many software servers in the system. Select the action wanted at the middle right ("restart, start, stop"), then click on the button desired to the left (e.g., domecal up).
The shutdown page allows one to shut down the spectrograph and wide field corrector. Normally done by the robot operators.
The
comment window is used to create and maintain the data logs,
which are
mostly automatic. The one thing the observer can add is a comment
when needed.
In particular, it useful to comment on the seeing and cloud presence
during the
night, and any problems with particular files. To do so, first insure
that the
correct data has been selected (recall that we use the UT date). To
comment on
an existing file, click on its name in the right panel. The basic
information
will appear to the right, and you can now type into the comments
panel.
Click on Save Changes. To edit an ongoing exposure,
click on
Open Current and then enter comments. To view
the data
logs, click
on the sunburst button at the bottom right. A postscript file is
created and
the displayed using gv. Exit gv using q. Very lengthy comments will be truncated. Type what you
need, display the result, and if necessary, move the excess
verbiage to the comments for the next exposure. Copies of these
logs may be viewed by non-attendant astronomers at around noon EDT at this
web site.
Figure 12 Example data log.
The A/D converter is 16 bit, so saturation occurs at 65536. There are 2 amplifiers per CCD, and thus the data are stored in FITS extension format, with 5 extensions (0 being the main file header). Among other things, this means that in iraf, you will occasionally have to refer to the file as filename[1] or [2], say when using imheader (though not imexamine).
The data from the different amplifiers are not flipped to the same orientation before writing to disk, but the header keywords allow ds9 to display the files correctly. We hope that all the file keywords are correct, and that programs like IRAF's mscred will work, but we can't guarantee this at this time. The SAO version of NOAO's mscdb package must be installed to use mscred.
As already written, the data files are
stored in
directories
of the format /SPEC/ year.monthday (or
CHELLE/ year.monthday . The files are
also archived both on the local computer as well as back in
The fiber mapping files ("filename_map") are stored along with the data files. This information is also stored in the FITS file.
Each new file is automatically displayed into the active frame of ds9 (named spec9 here to avoid conflicts with other ds9 programs that may be running). To load files off the disk, select FILE:OPEN OTHER: OPEN MOSAIC IRAF, and then find your directory and filename. You may load files into different frames via creating a new frame: FRAME:NEW. Run through frames via Tab. Do not use mscdisplay in IRAF.
The contrast can be changed with the right mouse button. For further contrast levels, select Scale:Scale Parameters from the top bar menu. You'll get a histogram of the data - high and low values may be selected by moving the red and green vertical lines with the mouse.
Note that the files are shown with blue on the left, thus requiring the XY coordinate system to be non-standard. Image coordinates refer to individual extensions (one per amplifier), and thus start over when crossing into an new extension, while the detector coordinates refer to the combined image. The default display also excludes the overscan areas. To see these, select SCALE and turn off DATASEC. However, some of the overscans will display over that from the next image extension
Imexamine works as is with these files; there is no need to use mscexamine. Make sure you start up IRAFin a xgterm window.
The data obtained by CfA PIs will be reduced by the Telescope Data Center (TDC) unless the spectrograph operation mode is inconsistent with the standard pipeline or unless the PI wishes to reduce his or her data. This document describes the procedure and file structure of the reduced data, called HSRED. The MMT maintains an exportable version of the data reduction pipeline . Nelson Caldwell is very familiar with the operation and characteristics of the spectrograph, and has a good deal of experience with data reduction. He is willing to provide a limited amount of help to users; he may be contacted at caldwell at cfa.harvard.edu.
Basic information on the steps needed for data reduction can be found in this document: Basic method for reduction of Hectospec fiber spectra
All Hectospec or Hectochelle data will be archived nightly by the TDC.
Line lists and comparison identification plots can be found here http://www.cfa.harvard.edu/mmti/hectospec/obs_manual/comparisons.html/
After
each
object
exposure,
a quick look reduction process is run
automatically and the results are displayed in an iraf window. These
spectra have been wavelength calibrated and sky subtracted. To flip
through the spectra, use the open or close parentheses keys, "(" or
")". "q" will exit the
window. (For CHELLE no sky subtraction is
done)..
The
program currently runs on lewis.
Here
is what you need to do:
1. Open an xgterm with xgterm
&. You may resize the font via
shift-middle mouse
button. Start up IRAF with cl.
2.
You'll
need to know the names of the files you want to combine. The IRAF
command
ldata will list the files in the current data directory, or you
can look
at the data logs. The output files will be written in
the
current directory.
3.
For
multiple files, the program detects the cosmic rays by comparing
images,
and interpolates across them in individual frames, The frames are
then
averaged together before extraction begins. For a single
exposure,
the cosmic rays will not be deleted.
4.
In
the IRAF window, you would type :
qspec
file1,file2,file3
where
the files are of the form listed from the
data command, e.g., halostar9:30pm_1.1121.fits.
The
.fits extension is
unnecessary. The
files must be separated by commas with no spaces. Alternatively,
one
may
reduce
the most recent
file or files via:
qspec
lastN
where
N is optional or the number of files of the
same object you want to combine.
Finally, you can extract older spectra via a command like:
qspec
file1,file2
"2006.1010"
which
would extract and combine files file1 and
file2 from the 2006.1010 directory.
5.
The
program takes 1-3 minutes. The files used in the process are then
listed,
along with the names of the output files. If the output file existed
already,
the program will prompt for deletion.
6.
To look at the
spectra, use splot (you may
need to load imred and then specred first, though they are supposed to
be
loaded automatically). To run through the spectra one by one, use the (
and ) keys. The X and Y scales have been
fixed to display low signal spectra well; to scale to the entire range
of the
spectum, type w and then a while viewing a spectrum. To
smooth,
type s.
7.
At
the
beginning of each Hectospec run, and certainly if the fiber shoe has
been moved
from Chelle to Spec, a crude wavelength and aperture location
adjustment must be made. Inspect the
extracted spectra which have not
been skysubtracted from any of your images.
Using splot, first determine whether the aperture locations are
correct. If the sky lines shift between alternate spectra, then
the aperture locations are not right. In Spice,
select
the configure tab, and locate the quick
look
ApDome window. There are five possible choices here, 1-5.
Change the choice (and press save), and re-run qspec on an
exposure. Once you have a working ApDome selection (by
trial-and-error), now determine
the
wavelength
of the brightest night sky
line,
whose wavelength is supposed to be 5577A (but which may be off a little
because
of the problem we are about to fix).
Subtract the measured wavelength from 5577 (i.e.,
5577-wave_observed).
In Spice, now locate the quick
look
wavelength offset window. Note the wavelength offset in this window,
and add
the offset you just determined to the existing value. Click on save. Now rerun the extraction. The skysubtraction
should work properly now.
Trouble
may ensue if there are no sky fibers in apertures 1-150 or 151-300.
A
ds9 regions file can be brought up to identify all the apertures and
which
fibers they correspond to. Click on regions, and load regions, and
select the
file /h/spec/specaps.reg.
We currently have available a 270 groove/mm grating blazed at 5200Å, and a 600 gpm grating blazed at 6000Å, both purchased from David Richardson Grating Laboratory. The spectral coverage, spectral resolution, anamorphic magnification, grating angles and RMS image diameters for these gratings, both set up with Ha as the central wavelength, are shown below. The spectral coverages in this table refer to the whole 4608 pixel format, but there is vignetting and resolution losses begin occur at pixel numbers less than 600 and greater than 4000. Remember that second order contamination may be an issue for some applications. Currently, we do not have order blocking filters. The spectral resolutions quoted are as measured with arc lines or night sky lines, with the first number referring to bluer wavelengths, while the second if present refers to redder lines.
For the 270 grating (which gives a dispersion of 1.2 Å/pixel), there is only one setting. For the 600 (0.55 Å/pixel), the choices for central wavelength are fixed at intervals of 500Å, starting at 4800Å.
Ruling Density (gpm) |
Spectral Coverage (Å) |
Spectral Resolution (FWHM Å) |
Anamorph. Mag. |
Angle of Incidence |
Angle of Diffraction |
RMS Image Diameter (pixels) |
270 |
3650-9200 |
5.2-4.5 |
1.06 |
22.83 |
12.17 |
1.3-1.8 |
600(@4800) |
3550-6050 |
2.1 |
||||
600(@5300) |
4050-6550 |
2.1 |
||||
600(@5800) |
4550-7050 |
2.2-1.9 |
1.14 |
29.41 |
5.59 |
1.3-1.8 |
600(@6300) |
5050-7550 |
2.2-1.9 |
||||
600(@6800) |
5550-8050 |
2.2-2.0 |
||||
600(@7300) |
6050-8550 |
2.1 |
||||
600(@7800) |
6550-9050 |
2.1 |
Figure 15. The efficiency of the 270 line grating
Figure 16. The efficiency of the 600 line grating.
The Hectospec optical layout is simple enough that very high throughput can be achieved if good reflective coatings are used on the mirrors (2 surfaces) and good antireflection coatings are used on the lenses (6 fused silica surfaces). We have used the same dielectrically-enhanced silver reflective coatings and Sol-gel antireflection coatings that we used in the efficient FAST spectrograph. Our predictions for Hectospec's overall throughput with the 270 line grating are shown below. The column labeled "Add. Fiber Losses" includes FRD, end reflection losses, and the losses from misalignments of the fiber axis with respect to the chief ray at the f/5 focal surface. This table does not include aperture losses at the fiber input, which will depend on the seeing and the quality of the astrometry of the targets and the guide stars.
Wave |
Mirror Refl. (2 surf) |
Lens Thrput (6 surf) |
Fiber Thrput (26 m) |
Add. Fiber Losses |
CCD Effic. |
|
Grat Effic. |
Tele Refl + 10 cor surf) |
Final Throughput, Hectospec plus Telescope Optics |
3650 |
0.90 |
0.89 |
0.70 |
0.80 |
0.66 |
0.80 |
0.37 |
.66 |
0.06 |
4000 |
0.90 |
0.92 |
0.80 |
0.80 |
0.80 |
0.80 |
0.49 |
.70 |
0.12 |
5000 |
0.91 |
0.98 |
0.90 |
0.80 |
0.85 |
0.80 |
0.66 |
.79 |
0.23 |
6000 |
0.92 |
0.98 |
0.94 |
0.80 |
0.80 |
0.80 |
0.61 |
.79 |
0.21 |
7000 |
0.92 |
0.98 |
0.96 |
0.80 |
0.75 |
0.80 |
0.53 |
.75 |
0.17 |
8000 |
0.92 |
0.95 |
0.98 |
0.80 |
0.60 |
0.80 |
0.43 |
.66 |
0.09 |
9000 |
0.92 |
0.91 |
0.98 |
0.80 |
0.30 |
0.80 |
0.37 |
.65 |
0.04 |
We can compare the throughput predictions with measurements of a spectrophotometric flux standard star BD+284211 in 1″ seeing. BD+284211 was stepped across a fiber entrance aperture to find the position where we detected the maximum flux.
For an apples to apples comparison we need to correct the measurement for the aperture loss.
Figure
17. Measured throughput in 1″ seeing not
corrected for aperture losses.
The appropriate aperture correction for the plots above (measured with Megacam images) is about 1.7 (ratio of flux within a 20″ diameter aperture to the flux within a 1.5″ diameter aperture). Therefore, the peak throughput for light that hits the fiber aperture is about 17% (to be compared with the prediction of 23%) . If we average over wavelength, the measured throughput is about 75% to 80% of the predicted numbers.
We present
several performance
plots based on actual Hectospec data. Except where noted, these plots
refer to the 270 gpm grating.
Figure 18. The signal-to-noise ratio per pixel for a 45 minute exposure as a function of aperture magnitude (1 arcsec2 diameter aperture.) The SNR per pixel is ~26 at R=21. The relations for 4500Å and 8500Å have the similar slopes, but show a SNR per pixel of ~9 at an aperture magnitude of R=21 for the same exposure length. Improvements in sky subtraction techniques may allow improvement at 8500Å . Analysis and plot courtesy of Daniel Eisenstein.
Figure
19. The absorption line cross-correlation
signal-to-noise ratio ~(1+R) for 45 minutes of exposure as function of
R aperture
magnitude (2.6 arcsec2
diameter aperture). All of the 1974
galaxies in this plot had reliable redshifts.
The SNR ratio shown here is reduced somewhat by the use of
templates
from the FAST spectrograph. Better
cross-correlation templates will be created.
Courtesy of Michael Kurtz.
Same for a 90 min exposure of faint, red
galaxies.
Redshift distribution of previous data set.
Another data set of faint galaxies.
And another. Note the wide variation in
depth. Next we move on to other kinds of objects.
Figure 20. S/N
ratio for stars observed with the 270 line grating, as a function of
magnitude. The different exposure times
aren't separated in the diagram, because of variable observing
conditions.
Fig 21, same as fig 20 but for star clusters in M31. The magnitudes
are total magnitudes and thus do not
represent the magnitudes through the apertures.
Figure 23. Signal to noise ratio for the [OIII]5007 line in a sample of M31 PNe. 4 different fields are shown here, each with different conditions or exposure times. The noise was calculated from the variance spectra produced in the reduction. The signal is the total counts in the line. Magnitudes are from Merrett et al, and are on the Jacoby system. For instance, at a magnitude of 22, a S/N of over 200 can be obtained with 4x1200s exposures.
Figure 24. Count rates for the 600gpm grating, at two central wavelength settings, a fairly blue one of 4800A (bottom), and one at 8200A (top). Plotted are counts/sec/pix for stars, as a function of V mags (bottom) and r' mags (top).
Fig 25. S/N ratios at 8500A for stars, using the 600gpm grating set at
7800A. Three different nights are shown, which don't match up
probably because of different seeing & transparency for those
nights.
Fig 26. Exposure time for sky level to exceed the readout noise for the
270 gpm grating, as a function of wavelength. For instance, at 5000A, an
exposure of 800s is needed for the sky noise to dominate the readout noise.
This list is meant for the attending astronomers.
If the equipment is all ready, or if the run is underway, skip to item 8.