DEIMOS
Monthly Calibration/Checkout

Administrivia

These tasks are to be done prior to the start of observing runs each month:
  1. Check conking.
    • Log into hqcronserver as user deimos.
    • run conk-check deimos
    • Verify that DEIMOS numbered accounts to be used during the next run have been conk-ed within the last 21 days.
    • If accounts require conking, manually initiate conking log into hqcronserver as deimos and run the following command:
      	autoconk -f -m m -M M
      where m is the first account number to conk and M is the last.
  2. Check rebooting.
    • Log into deimosserver as user dmoseng .
    • Issue the uptime command to check how long the computer has been up.
    • If more than 7 days, request a reboot from sysadmin.
    • Repeat this check for deimosserver2.
    • NOTE: if keamano is rebooted, then you must restart the rotator server process by logging into deimosserver2 as user kics and executing:
      	deirot stop
      	deirot start
      then run testAll as user dmoseng on deimosserver to verify that things are OK.
  3. Check disk space.
    • Log into deimosserver as user dmoseng.
    • run df
    • If one of the data disks (1001,1002,1003) is more than 50% full, we need to clean data from the disk.
    • Run datadirs all, check the output, and verify which directories need to be cleaned.
    • Confirming with Bob Goodrich which directories have been savier-ed before deleting files.
  4. Check disk speed. Log into deimosserver as dmoseng. Check the speed of the disks using the command
    	~dmoseng/scripts/run_test_disk_io_speed
    Check the logfile in ~dmoseng/log/test_disk_io_speed.log and see whether current I/O speed is in line with previous values. If not, then suspect a problem with the DEIMOS RAID array and seek assistance from sysadmins; this test is completely independent of the DEIMOS software and simply tests the time required to write data to disk.
  5. Check image acquisition sequence speed. Bring up the DEIMOS software from deimosserver as dmoseng. Check the speed of the image acquisition sequence by running the command
    	~dmoseng/scripts/run_test_goi_time
    For each data disk, this will acquire 5 spectral-mode bias images and compute the time to write to disk. Check the resulting output in ~dmoseng/log/test_goi_time.log, which looks like this:
    # date			disk		n	erase	wcrate	wdisk	total
    2006-Apr-11 19:43	/sdata1001	10     	8.44   	55.84  	1.54   	71.35  
    2006-Apr-11 19:54	/sdata1002	10     	8.44   	55.90  	1.54   	71.40  
    2006-Apr-11 20:06	/sdata1003	10     	8.44   	55.76  	1.48   	71.30  
    	  
    Compare the time required to complete various phases to what it took in the past. If problems are seen, check software and hardware:
    • unusually long erase time may indicate a problem with the CCD controller or deiccd keyword library
    • unusually long wcrate time may indicate a problem with the CCD controller
    • unusually long wdisk time could be a problem with the gathering of keywords or the write_image daemons
    • abnormally long total time could indicate a problem with lickserv2

Daytime Checkout

These procedures are run during the day to check whether key components of the instrument are working as expected.
  1. Check safety. Phone the summit and verify that DEIMOS is available for moving motors and rotating.
  2. Start software. Log into deimosserver as dmoseng and launch the instrument software.
  3. Home stages.
    • Click the Initialize button on the DEIMOS dashboard window to access the Recalibrate/Initialize/Stow Instrument.
    • Click the Recalibrate All button and verify that all stages home properly.
    • If any stages fail to home, retry them once by clicking the corresponding green button on the Recalibrate/Initialize/Stow Instrument panel (but note that the Rotator button is not operable.
    • If a stage again fails to home, you may need to enlist the help of summit personnel to fix it.
    Note that the most likely problem you will encounter is a failure of the grating to unclamp; please refer to these instructions for remedial assistance.
  4. Home rotator.
    • Click the Rotation button on the right-hand side of the DEIMOS dashboard to launch the Rotation subpanel.
    • Click the red and black UNLOCK button to enable rotator control.
    • To home the rotator, bring up an xterm on deimosserver and run the command rotatcal. When prompted:
      	ARE YOU SURE you want to home the DEIMOS rotator? (y/n) [n]:
      enter y and press Enter.
    • The rotator should home near ROTATVAL=+41.
  5. Reset stages to nominal positions. On the Recalibrate/Initialize/Stow Instrument panel, click the Default DEIMOS Configuration at the bottom of the panel and verify that the stages successfully reach their desired destinations as listed in the file
    	/local/kroot/data/deimos/stowPositions.tcl
  6. Check CCD shutter. In an xterm on deimosserver, issue the command
    	cycle_shutter -100
    to verify that the shutter will open. The shutter generally fails to open for several iterations if it has not recently been exercised. The script will run the shutter until it opens successfully up to a maximum of 100 times. If the last attempt succeeds, then the shutter should be ok.
  7. Adjust science CCD bias.
  8. Check CCD parameters.
  9. Check internal lamps.
    • As dmoseng@deimosserver, execute the script ~dmoseng/scripts/test_lamps script, which will:
      • Insert any available longslit mask.
      • Insert 1200G at 7800A plus OG550 filter
      • Configure CCD for spectroscopy
      • Acquire 1s exposures on each lamp after 30s warmup (180s for some lamps)
    • Verify that you get light from each lamp by checking for a spectrum on the corresponding image.
  10. Check FCS lamps.
    • As dmoseng@deimosserver, execute the script ~dmoseng/scripts/test_fcs_lamps, which will acquire one FCS image for each of the FCS lamps (Cu1, Cu2, LED) in zeroth order on slider 3.
    • Check that the output images include one dot on each CCD.
  11. Check dewar focus values.
    • As dmoseng@deimosserver, issue the command
      	do_focusloop internal R
      to acquire a focus sequence in R.
    • When this completes, use the DEIMOS Utilities > Analyze Focusloop option on the DEIMOS pulldown menu to analyze the results and derive a focus value.
    • Type this value into the dashboard GUI.
  12. Check guider.
    • Bring up guider software:
      • Call summit support personnel and request permission to use K2 Xguide software for 30 minutes.
      • Log into k2server via rsh k2server -l k2obs
      • set DISPLAY and run xhost/xauth
      • Launch DCSGUI via dcsgui < /dev/null &
      • Click on Qwick > guider > current to run the Solaris guider software.
      • Wait for Xguide and eavesdrop windows to appear.
    • Configure instrument for bias frames:
      • Launch a DEIMOS dashboard GUI from the OpenWindows menu or instr_menu widget via DEIMOS Control Menu > Subcomponents... > Restart Dashboard GUI
      • Turn off internal lamps by clicking the OFF button in the lamps area.
      • Insert a slitmask such as GOH_FOO.
      • Click on the TV Guider button to launch the TV panel.
      • On the TV panel, click on the filter selector button and select the ND2 filter, then click on the Go button to change the filter.
    • Acquire guider bias frames using Xguide:
      • Select the DEIMOS guider
      • Set binning to 1
      • Set exposure time to 1ms
      • Turn image update on
      • Save 3 camera images by setting Save image to 3 and clicking the S button.
    • Configure instrument for guider flats:
      • On the TV panel, click on the filter selector button and select the R filter, then click on the Go button to change the filter.
      • On the main dashboard, turn on the Qz lamp.
    • Acquire guider flats using Xguide:
      • Save 3 camera images by setting Save image to 3 and clicking the S button.
    • Analyze images for gain and readnoise. As of 2007-Jul-07:
      • gain = 2.76 e-/DN
      • readnoise = 8.5 e-
      • region = [200:600,700:900]
      measured via the Kassis method in IDL.
    • Analyze flux level to check camera sensitivity
  13. Focus guider.

Nighttime Checkout

These procedures are run at night to calibrate the instrument.
  1. Check throughput
    • Use setup of 1200G@7800A, slitless
    • Put standard star at SLIT P.O. The preferred standard star is BD+28deg1142 from the flux standards list.
    • Acquire 5s exposure
    • Extract and compare to Ricardo's data
    Note: would useful to have 3 or 4 chosen standards spaced in RA such that at least one is always accessible

Go to: DEIMOS Home Page - Instruments Home Page - Keck Home Page

Last modified: Wed Nov 19 17:07:48 HST 2008