UNIVERSITY OF CALIFORNIA OBSERVATORIES / LICK OBSERVATORY


Shane AO Operational Procedures


Daily Alignment | Beginning of Night | Laser Startup | NGS Ops | LGS Ops | TT Only Ops | WFS Only Ops

Daily Alignment

This procedure assumes that everything is in a basic functioning state, as is the case after doing the
SAO startup procedures.

  1. If there is a new observing run starting today:
    1. Archive data as user@covert:
      archclear
      Select mon_sharcs.config (usually number 1 in the list) and say y to deleting archived files. If files aren't deleted, do troubleshooting of archive system before continuing.
    2. Set Obs# in sharcs_fe to 1.
  2. If an LGS night, check that PAM files have arrived from Space Command. If they have not arrived, call them at 805-605-6546 to determine the status.
  3. Process Laser Shutdowns: Procedure at LGStargetLists.html steps 6 and 7.
  4. Set up SAO:
    1. Check message log for SW-IOMMU messages.
    2. If no SW-IOMMU messages, turn on power to woofer and tweeter in saopower_ui (B5 and B6).
    3. Initialize: init(16)
    4. Move Lenslet to 16x in saomot_gui.
    5. Turn on woofer communications if not already on: woof('on')
    6. Turn on tweeter communications if not already on: mems('on')
    7. Set to NGS mode: ngs()
    8. Set WFS camera rate to 500: rate(500)
    9. Make sure all calibration sources are off (B7 and B8 in saopower_ui).
    10. Take a WFS camera background: dark()
    11. Set centroiding algorithm: cent('bin')
    12. Load appropriate refcent file: e.g. refcent('data/hs-2014-08-13-BINQUAD_16xLGS.fits')
    13. Insert White Light Source (WLS) using saomot_gui: set CalX and CalY to White Light.
    14. Turn on the WLS in saopower_ui (B8).
    15. Close loops: gain(.3)
  5. Configure ShARCS:
    1. Put in FeII filter using saowheels_gui (other wheels should be in the Open position).
    2. Open Window GUI from sharcs_fe: Windows - Window
    3. Set Window to 1045 1144 700 799 (startx endx starty endy)
    4. Set Exposure time to 0.11 second.
    5. Set Ncoadds to 3.
    6. Take exposure on ShARCS. If strehl >= 0.65 as measured with the FWHM tool and airy ring looks really round and even, image sharpening is not necessary. Otherwise do Image Sharpening.
  6. Image Sharpen (Script):
    1. Start scriptproc.tcl as user@covert if it isn't already running.
    2. Click File - imagesharpen. If imagesharpen is not in the list, click File - Source... and select imagesharpen.tcl.
    3. Select which modes you wish to sharpen. By default the first 3 modes, focus and astigmatisms, are selected. I recommend starting with those modes and only doing higher orders if necessary.
    4. Click Zero Modes if they aren't already all zero (this assumes you are starting from a reasonable refcent file).
    5. Make sure Auto Save Modes is selected if you want the new refcents files to be saved automatically.
    6. Make sure that NExpose is set to 1 in scriptproc.tcl's main window.
    7. Press the Go button.
  7. Image Sharpen (Manual mode):
    1. Start imageSharpen GUI as gavel@shade: imageSharpen
    2. Make sure FWHM box in sharcsdisplay is checked.
    3. Take exposure with ShARCS.
    4. Enter 0 in focval entry box in ImageBrowser GUI.
    5. Press focfitinit button GUI.
    6. Change mode X by 15 units in imageSharpen GUI.
    7. Take exposure with ShARCS.
    8. Enter 15 in focval entry box in ImageBrowser GUI.
    9. Press focfit button in ImageBrowser GUI.
    10. Change mode X by 15 unit.
    11. etc. for each mode.
    12. When done image sharpening, save the modes with a reasonable name, e.g. hs-2014-05-19_16xLGS.fits.
    13. Make sky refcent file from gavel@real, for example genSkyRefcents 16x hs-2014-08-13-BINQUAD_16xLGS.fits 1.0 where 1.0 is the seeing in arcsec.
  8. Make a new flat: save_flat()
    Note: Make sure that tx and ty on the woofer peeko display are each less than 1. If they aren't, move the CalX and CalY stage to make them zero. CalX alters ty, recommended move size 500. CalY alters tx, recommended move size 10.
  9. Save setups in saocon_gui.
    1. Click on Instrument setup name and select Save new setup....
    2. Use the default settings and click Save as....
    3. Save setup with file name ngs16bq.sao.
    4. Edit Refcents file name in saocon_gui to add _onSky, e.g. hs-2015-01-31-BINQUAD_16xLGS_onSky.fits.
    5. Save new setup (with default items checked) with filename ngs16bq-sky.sao. Note: you will probably want to save a new version of this setup later when you tune the system on sky and determine the proper gain.
    6. Change Operation mode to LGS in saocon_gui.
    7. Click Save new setup...
    8. Select additional fields to save:
      • Uplink
      • Uplink gain
      • TT gain
    9. Save as file name lgs16bq-sky. Note: you will probably want to save a new version of this setup later when you tune the system on sky and determine the proper gains (Tweeter+woofer, Uplink, and TT) for the observing conditions.
  10. Image Sharpen in other centroiders (e.g. 'cog','bin',and 'quad'):
    1. Change centroider: cent('cog') or cent('quad')
    2. Load appropriate refcent file: refcent('data/hs-2013-08-13-COG_16xLGS.fits')
    3. Image sharpen using either Script or Manual mode as described above.
    4. Save setups in saocon_gui as described above. You don't have to do sky and lgs versions for each of these, but keep in mind that if you use those setups during observing, the Refcents files and gains may be out of date.
  11. Setup SAO for 8xLGS mode for image sharpening
    1. Open Loops: open()
    2. Move Lenslet to 8x in saomot_gui.
    3. Initialize: init(8)
    4. Set to NGS mode: ngs()
    5. Turn off WLS, saopower_ui B8.
    6. Take a WFS camera background: dark()
    7. Turn on the WLS in saopower_ui B8.
    8. Set centroiding algorithm: cent('bin')
    9. Load appropriate refcent file: e.g. refcent('data/hs-2014-08-13-BINQUAD_8xLGS.fits')
    10. Close Loops: gain(.1)
  12. Take exposure on ShARCS. If Strehl >= 0.30 and image looks round, image sharpening is not necessary. If necessary, do the same image sharpening procedure as for 16x mode above.
  13. Get ready for observing and sky flats:
    1. Open loops: open()
    2. Turn off White Light Source in saopower_ui B8.
    3. Move CalY stage to Open in saomot_gui.
    4. Set ShARCS window to 0 2047 0 2047 (sx ex sy ey).
    5. Set Exposure Time to 1.5 sec.
    6. Set NCoadds to 1.
    7. Take exposure. This is because the first frame after a windowed exposure has bias artifacts from the windowing and this clears it for the observer.
    8. If new observer, zero exposure palette:
      1. Open Take Darks window in sharcs_fe (Windows - Take Darks).
      2. Click Clear Counts to set number of exposures to zero for each exposure configuration.
    9. Set diagonal mirror to position 3.
    10. Open telescope dome.
    11. Open mirror cover.
    12. Start skyflats about 30 minutes before sunset for broadband filters.

Beginning of Night Procedure

Note: You may want to repeat this procedure with 8x mode if looking at fainter guide stars, skipping the telescope focus and Fold1X and Y mirror adjustments.

  1. Put Lenslet at 16x in saomot_gui.
  2. Initialize 16xLGS mode: init(16)
  3. Make sure woofer and tweeter on, if not already on: woof('on');mems('on')
  4. Set to NGS mode: ngs()
  5. Turn on offloading: offload('on')
  6. Load appropriate refcent file: refcent('data/hs-2014-08-17-BINQUAD_16xLGS_onSky.fits')
    If you have a good measurement of seeing, you should make an appropriate onSky refcent file by using gavel@real:genSkyRefcents refcentfile seeing
    Performance is improved by taking into account the seeing.
  7. Move to bright (8th mag) star near zenith.
  8. Focus star on guide camera.
  9. Send light to SAO (diagonal mirror position 3).
  10. Move telescope 30 arcsec N (or some other direction to get sky).
  11. Take WFS camera dark: dark()
  12. Take TT camera dark if TT Dichroic is Splitter: ttdark()
  13. Move telescope 30 arcsec S (or undo previous move).
  14. Close loops: gain(.3)
  15. Adjust telescope focus until foc reading in peeko is close to zero or the value when loops are closed on the internal source.
  16. Adjust Fold1X and Fold1Y mirror to fine tune centering, making sure lr and ud in the peeko display are close to zero. Typical move is 500 encoder counts, though you may want to do moves as small at 200 for fine tuning.
  17. Increase gain until happy with performance, taking images on ShARCS to evaluate Strehl. Note, max gain in 8x mode should be around 0.3. 16x mode may take gains up to 0.7.
  18. Open loop: open()
  19. Move to science target.

Laser Startup

  1. One hour before laser propagation, call Space Command.
  2. 15 minutes before laser propagation, call FAA.
  3. Move telescope to either the 5 degrees N or S of zenith boresite position.
  4. Move TT Dichroic to Splitter in saomot_gui.
  5. Field Steer Motors to on-axis using fieldsteer.tcl GUI:
    1. Uncheck Move telescope and Auto Close Loops.
    2. Check NGS button
    3. Click Back On-Axis button
    4. Check LGS button
    5. Click Back On-Axis button
  6. Change shaneao to lgs mode: lgs()
  7. Load appropriate refcents for seeing conditions: refcent('data/hs-2014-08-17-BINQUAD_8xLGS_onSky.fits')
  8. Enable uplink TT control: uplink('on')
  9. Turn on uplink TT power from slinelamp_fe: Spare1
  10. Disable timer in slinelamp_fe as user@shanevnc: modify -s slinelamp LLPTEN=off
  11. Make sure aotelcoc is running on shanevnc: aotelcoc
  12. Load proper target into the Laser Shutdown Monitor, user@shanevnc: lsm.tcl
  13. Make sure radar is on and visual observers are ready.
  14. Propagate laser.
  15. Focus telescope on laser guide star.(Note: It is good to record the NGS telescope focus. Telescope focus for the sodium layer is about 20 POCO focus counts higher than NGS focus).
  16. Focus laser spot using laser launch telescope optics. The goal is to get the smallest, roundest laser spot possible.
  17. Have laser operator steer spot to the boresight position on the guide TV.
  18. Send laser light to WFS. Make sure WFS Focus stage is at NGS focus position (4475 encoder counts = 22.38mm) and have laser operator steer spot to center of WFS. It is important to get this within half a pixel or so, so that Rayleigh scatter in the subapertures is properly aligned and measured when loops are closed.
  19. Set WFS rate to 50Hz: rate(50)
    Adjust rate as needed if laser spot brighter.
  20. Tune laser off wavelength.
  21. Take a sky background: dark()
  22. Tune laser back on wavelength.
  23. Close uplink TT: uplink_gain(.5)
    Confirm that it is working properly. You may want to tune the uplink TT gain.
  24. Close WFS loop: wfs_close()
    Confirm that it is working properly. Tune parameters accordingly:
    1. gain
    2. bleed
    3. refcents (make new ones with appropriate seeing)
    4. If in 8x mode, you will probably want to adjust centering using fieldsteer.tcl to be cx=-0.01 and cy=0.01 to get better illumination of the pupil.
    5. If Rayleigh scatter is a problem, try a WLS or dim control matrix:
      set_CM(file='controlMatrix_8x_wlsLGS.fits')
      control matrix choices are:
      controlMatrix_8xLGS.fits
      controlMatrix_16xLGS.fits
      controlMatrix_16x_wlsLGS.fits
      controlMatrix_16x_dimLGS.fits
      controlMatrix_8x_wlsLGS.fits
      controlMatrix_8x_dimLGS.fits
  25. Open loops: open()
  26. Shutter laser.
  27. Move telescope to a 9th magnitude star near the first science target. Note fainter stars can be used for this.
  28. Load proper target file into lsm.tcl.
  29. Return telescope to NGS POCO focus position.
  30. Move telescope 30 arcsec N.
  31. Get sky background for TT camera: ttdark()
  32. Move telescope 30 arcsec S.
  33. Close TT camera loop: tt_close()
  34. Adjust TT gain as needed: tt_gain(.6)
  35. Let telescope offload (offload120.sh - if need to start it as user@shanevnc: /usr/local/lick/etc/init.d/offload120.sh restart).
  36. Open loop and mark boresight on guide camera (Note: this boresight should not move much during the night, as SAO is very stable - we might be able to remove this step in the future).
  37. Propagate laser and align it to star (diagonal mirror position 2).
  38. Send light to SAO, diagonal mirror position 3.
  39. Close TT camera loop: tt_close()
  40. Move WFS focus back to LGS focus:
    1. Start WFS Focus Tracking GUI as user@shanevnc: saoWFSFocusTrack.tcl
    2. Click WFSFocus Track check box. A message box will come up saying what focus position in millimeters to move the WFS focus stage to. Note this number and dismiss the box. Note that the predicted WFS focus for a 90km high sodium layer is displayed in the GUI.
    3. Move WFS Focus stage to LGS focus position (use detail panel in saomot_gui to change position in mm).
  41. Put in Na filter or LGS field steer 7 arcsec NE to move 9th mag star off of WFS using fieldsteer.tcl. Make sure that Move Telescope, Move Motors, Auto Open Loops are checked.
  42. Close TT camera loop: tt_close()
  43. Have laser operator steer laser onto WFS, if necessary.
  44. Tune laser off wavelength.
  45. Take WFS background: dark()
  46. Tune back on wavelength.
  47. Close TT camera loop: tt_close()
  48. Close uplink TT loop: uplink_close()
  49. Close WFS loop: wfs_close()
  50. Look at image of 9th mag star on TT Camera. Adjust WFS focus stage until image has best focus.
  51. Check WFSFocus Track checkbox in saoWFSFocusTrack.tcl GUI.
  52. Check strehl on ShARCS.
  53. [Optional]Do on-sky image sharpening.
  54. Open all loops: open()
  55. Shutter laser.
  56. Move field steer motors back to on-axis using fieldsteer.tcl GUI.
  57. Move telescope to science target guide star.
  58. Load science target guide star lsm file into lsm.tcl GUI.
  59. Adjust rate of TT camera as needed to see tip/tilt star.
  60. Move telescope 30 arcsec N.
  61. Get TT camera sky background: ttdark()
  62. Move telescope 30 arcsec S.
  63. Close TT camera loop: tt_close()
  64. Propagate laser.
  65. Close uplink tt: uplink_close()
  66. Close WFS camera loop: wfs_close()
  67. Take data.

NGS Operations

  1. Make sure in NGS mode: ngs()
  2. Make sure field steer mirrors are on-axis using fieldsteer.tcl GUI:
    1. Make sure NGS, Move Fieldsteer Motors, and Auto Open Loops are checked.
    2. Click Back On-Axis button.
  3. Move telescope to guide star.
  4. Send light to WFS. If you can't see the star at 50Hz rate, put TT Dichroic to Splitter and see if you can see the star on the TT camera at 40Hz and steer it to the boresight position.
  5. Move TT Dichroic back to Mirror if necessary.
  6. Move telescope 20 arcsec N (or other direction to get good sky).
  7. Take sky background on WFS camera: dark()
  8. Move telescope 20 arcsec S.
  9. Close loops: gain(.3)
  10. Adjust gain and bleed as needed to get good performance.
  11. Take science data.
  12. Use fieldsteer.tcl for manual field steering/dithering.
    1. Make sure NGS, Move Fieldsteer Motors, and Auto Open Loops are checked.
    2. [Optional] Check Auto Close Loops (generally you will want this, but if not, you will need to close loops manually).
    3. Enter amount to field steer in the Telescope Move portion of the GUI and press the button for the direction you want to move.
    4. If Auto Close Loops is not checked, close loops when move is completed.

LGS Operations

  1. Make sure loops are open: open()
  2. Move telescope to a 9th or 10th magnitude star near the science target.
  3. Field steer motors back on-axis in fieldsteer.tcl GUI (you probably want to uncheck Move Telescope and Auto Close Loops for this move, then want to recheck them when done).
  4. Load proper target file into lsm.tcl.
  5. Send light to SAO, diagonal mirror position 3.
  6. Move telescope 30 arcsec N.
  7. Get sky background for TT camera: ttdark()
  8. Move telescope 30 arcsec S.
  9. Close TT camera loop: tt_close()
  10. Let telescope offload.
  11. Open loop and mark boresight on guide camera.
  12. Propagate laser and align it to boresight.
  13. Send light to SAO, diagonal mirror position 3.
  14. Close TT camera loop: tt_close()
  15. LGS field steer 7 arcsec NE to move 9th mag star off of WFS using fieldsteer.tcl
  16. Have laser operator steer laser onto WFS, if necessary.
  17. Tune laser off wavelength.
  18. Take WFS background: dark()
  19. Tune back on wavelength.
  20. Close TT camera loop: tt_close()
  21. Close uplink TT loop: uplink_close()
  22. Close WFS loop: wfs_close()
  23. Look at image of 9th mag star on TT Camera. Uncheck WFSFocus Track in saoWFSFocusTrack.tcl GUI. Adjust WFS focus stage until image has best focus.
  24. Check WFSFocus Track checkbox in saoWFSFocusTrack.tcl GUI.
  25. Open all loops: open()
  26. Shutter laser.
  27. Move field steer motors back to on-axis using fieldsteer.tcl GUI.
  28. Move telescope to science target guide star.
  29. Load science target guide star lsm file into lsm.tcl GUI.
  30. Adjust rate of TT camera as needed.
  31. Move telescope 30 arcsec N.
  32. Get TT camera sky background: ttdark()
  33. Move telescope 30 arcsec S.
  34. Close TT camera loop: tt_close()
  35. Propagate laser.
  36. Close uplink tt: uplink_close()
  37. Close WFS camera loop: wfs_close()
  38. Take data, field steering off-axis to the science target and dithering as necessary.

Moving to a new target

  1. Open loops: open()
  2. Shutter laser.
  3. Move telescope to new target (in many cases this can be a new science target and one can skip doing the 9th magnitude star step).
  4. Load in new target into lsm.tcl
  5. Follow LGS Operations procedures either for 9th mag star or science target as appropriate.

TT Only Operations

This is a special case for NGS observing when the field steering requirements go beyond the NGS field steering motor range. TT only operation is a special substate of the lgs() mode in shaneao.
  1. Make a flat that takes into account the average primary mirror shape, etc.:
    1. Go to a bright star (e.g. 9th mag) near science target.
    2. Set TTDichroic to Splitter in saomot_gui.
    3. Set to NGS mode: ngs()
    4. Move telescope 30 arsec North
    5. Take background: dark()
    6. Move telescope 30 arcsec South
    7. Close loops: gain(.2)
    8. Make sure parameters give a good strehl in NGS mode.
    9. Set low gain: gain(0.05)
    10. Set bleeds (note current bleeds before doing this): bleed(.9,.999)
    11. Create the flat file: save_flat()
    12. Tell the system to default to this new flat when the loops are open: flat0()
    13. Set gain and bleed to previous values.
    14. Open loop: open()
  2. Change to LGS mode: lgs()
  3. Move telescope to science target guide star.
  4. Acquire guide star on TT Camera.
  5. Close TT Loop: tt_close()
  6. LGS mode substate should now be TT Only.
  7. Make sure LGS is checked in the fieldsteer.tcl GUI.
  8. Use fieldsteer.tcl to steer off to the science target.
  9. Use lgs dithering scripts to acquire data.

WFS Only Operations

Used for laser testing only. WFS Only operation is a special substate of the lgs() mode in shaneao. In this mode, the TT Camera is not used, so one does not ever close the TT loop. Only the uplink tip/tilt and WFS loops are closed. For example:
  1. Set telescope at approved lasing position.
  2. Make sure target loaded into lsm.tcl.
  3. Propagate laser.
  4. Close uplink TT loop: uplink_close()
  5. Close AO loop: wfs_close()
  6. Evaluate loop performance.
  7. Open loops: open()


Last modified: Wed Nov 29 22:20:25 PST 2017