Telescope and AGw4 Commissioning at LDG - 06-07 May 2009 MST

Observers:: J. Hill, J. Storm (mtn), A. Rakich (Tucson) , D, Miller (Firenze)
Telescope Operator: W. Wack
Software Support: N. Cushing (mtn) Telescope Support: J. Prothro

Summary

GCS patch for pupil location on WFS works well.

GCS patch for off-axis aberration corrections was almost correct, but no quite. So we need one more factor added. (see end of this log)

Both IDL and GCS were working well enough to make 0.5 arcsec images all over the field tonight.

We took a good set of field aberration data, and found a pattern of Z5, Z8 that leads to the next patch in GCS and IDL.

Doug also refined the pupil positioning parameters with more data.

Preparations

19:22 Jim D. has been working on the agw-control computer all afternoon (to try to get network connections to both AGW units without manual swapping of fiber), however his plan was not successful. So he's now reassembling it in the old confirguration (where you still have to swap fibers to change AGW units). No observing time was consumed, but Jim worked right down to the wire.

Michele has installed a new patch to GCS to take care of the pupil X-flips that we needed last night. The X position of the probe is rectified (multiplied by +/-1) for wavefront sensing based upon a parameter, WFS_pupil_shift_x, in the configuration file of the appropriate AGW unit. The fix has been applied to the "determineSpots" and "offAxisCorrection" methods of the WFSingThread.cpp. It is called GCS.090506_06, and the GCS subsystem pointer has been redirected to this new version.

In AIP_IRTC_DG_L.cfg:
WFS_pupil_shift_x -1.0 float # pupil shift factor in x

In AIP_L.cfg and AIP_IRTC_L.cfg:
WFS_pupil_shift_x 1.0

Doug found the problem between IDL and GCS (change in rotation direction with Direct Gregorian) and have fixed it. He also fixed the pupil shift problem. Reading the rotator angle (LDG rather than LFBG) was not incorrect because I read the value requested by PCS to the current active rotator.

Details

19:10 Open, T=10.3 degC, D=-6.3, wind 4 m/sec from South. Sky is photometric.

19:36 pointto M5_1246 Tel="ACQUIRE" gs=0 PAM- - found on left side of acquire image. Adjust IE=-59 CA=+7. Zglobal=+0.4 mm

19:46 pointto BS9143 Tel="ACTIVE" gs=0 PAM+ PA=0 - no star found. bogus M2 offload?

19:52 pointto M5_0347 Tel="ACQUIRE" gs=0 PAM- Adjust IE=-45 CA=+9

Active Optics Convergence Tests

19:57 pointto BS9143 Tel="ACTIVE" gs=0 PAM+ PA=0 - quickly converges to 200-300 nm rms, but still some variable local seeing. Seeing varies 0.6 to 1 arcsec.

20:02 Increase vent doors from halfway to full open.

20:08 IDL monitoring isn't getting the same answer as GCS; stop WFS, so Andrew can try collimating with IDL. agw_collimate has some issues.

20:15 pointto BS9143 Tel="ACTIVE" gs=25 PAM+ PA=0

20:18 Removed some M2 offload.

May 6 20:22:07 lbtmu107 LBT_left_GCS: [E] WFS: transfer of Zernikes to PSF failed.

20:23 Not converging well here off-axis. Not diverging, but not quite right either. Suspect there are still pupil issues. It seems that the algorithm is bouncing to the wrong row of spots once in a while.

20:25 pointto BS9143 Tel="ACQUIRE" gs=25 PAM+ PA=0 and defocus the pupil. It has some spherical but looks OK.

20:29 pointto BS9143 Tel="ACTIVE" gs=25 PAM+ PA=0 - seeing improved to 0.6 arcsec.

It looks like we are running into a Z22 problem. Probably because mirror is changing temperature alot. Although glass is only +9.6 while ref temp is +10.44.

Wed May  6 20:32:42.292 2009  primary mirror force adjustments failed because left PMC Actuator ChangeAllOffsets Command Failed because Bad new influence forces
Wed May  6 20:32:42.348 2009  ApplyZernikes failed

20:35 Clear C00 forces and some small secondary offload. Guider is having problems with following this highly comatic image.

Changed Z22 scale factor from -1.6 to -0.4 so that Z22 corrections are applied more gradually when we drop below threshold. File AIP_IRTC_DG_L_RM_sub11.cfg and the LFBG files.
scale_Z22 -0.4 double

20:43 lost the guide star, not sure why. Closed all vent doors.

20:45 pointto BS9143 Tel="ACTIVE" gs=25 PAM+ PA=0

20:46 Open all vent doors.

20:52 Send Z9=+300 wfsc 0057 - 0061 - don't see any cross-talk between Z9/Z10 at this position. x=-143.6 y=524.5

20:56 pointto BS9143 Tel="ACTIVE" gs=25 PAM+ PA=90

21:00 Send Z9=+300 wfsc 0067 - 0074 - x=88.19 y=468.

21:06 pointto BS9143 Tel="ACTIVE" gs=25 PAM+ PA=110 x=132.12 y=507.65

21:10 Send Z9=+300 wfsc 0080 -

Flipped an x-sign in zernike/zernike_rotation_setup.pro (hardwired)
zern_rotation_delta = atan(-1.0*guider_x/(612.5-guider_y))*180.0/!DPI
See the "Active Optics with IDL" page for a translation of GCS parameter names to IDL parameter names.

21:30 guider image bouncing around by +-0.5 arcsec (equal to the present FWHM). Why? Maybe this is from the M1 hardpoints?

21:31 Block guiding in PCS - not really much change except the expected slow drift.

21:32 Resume guiding in PCS

21:33 Change to split mode rather than pure M1 collimation. Didn't really change anything.

21:38 Send Z9=+300 and set Z9 gain to zero.

21:51 Z9 gain 1 thru wfsc 0137

21:53 pointto BS9143 Tel="ACTIVE" gs=25 PAM+ PA=INDEF=58.53 x=0 y=444.01

21:58 Send Z9=+300 and zero the Z9 gain wfsc 0144 - 0146 (GCS and IDL agree here, with just a bit of Z9/Z10 crosstalk)

22:01 pointto BS9143 Tel="ACTIVE" gs=1 PAM+ PA=INDEF=177.35 - seeing is 0.5 arcsec wfsc 0147 - 153

22:06 pointto BS9143 Tel="ACTIVE" gs=24 PAM+ PA=177.35 wfsc 154 - 0163

22:17 pointto BS9143 Tel="ACTIVE" gs=22 PAM+ PA=0 x=-97.93 y=510.49 wfsc 0164

22:28 pointto BS9143 Tel="ACTIVE" gs=6 PAM+ PA=250 didn't find star

22:30 pointto BS9152 Tel="ACTIVE" gs=16 PAM+ PA=60 wfsc 0179 x=-119.83 y=540.70

/Repository/AGW_Data/090507w

23:15 John fixed a pair of info_params that should have been fits_params in /home/LBTO/idl/wfsc/irc/irc_store_dd_values.pro

23:22 start taking field data on BS9152

Modified data table just lists GS# , PA and WFSC #

Note for Doug, re: pupil positions: WFSC21 on-axis; wfsc 22 gs 18 off axis

collimating and measuring with 20 s exposures

00:01 adjusting pointing IE=-56 CA=7

BS9152
GS PA WFSC
0 0 25- 29
17 124.77 30-32
0 124.77 33-42
18 65.44 43- 45
0 65.44 46
7 10.54 47-49
0 10.54 50
4 338.61 51-53
0 338.61 54
1 229.72 55-57
0 229.72 58-63
9 168.12 64-66
0 168.12 67-68
17 124.77 69-71
0 124.77 72-73
18 65.44 74-76
0 65.44 77
7 10.54 78-80
0 10.54 81-83
4 338.61 84-86
0 338.61 87-95
1 229.72 96-98
0 229.72 99-101
9 168.12 102-104
0 168.12 105-107
17 124.77 108-110
0 124.77 111
18 65.44 112-114
0 65.44 115-117
7 10.54 118-120
0 10.54 121-123
4 338.61 124-126
0 338.61 127
1 229.72 128-130
0 229.72 131
9 168.12 132-134
0 168.12 135

02:00 Finish, over to guiding at different magnitude limits. Pre-analysis it looks like the sign of at least Z8 is flipped for field corrections.

Field Aberration Measurements

M92 Guiding Tests

02:53 pointto M92astrom Tel="ACQUIRE" gs=0 PAM- PA=0 - Adjust IE=-51 CA=+2

Change to split mode.

02:57 pointto M92astrom Tel="ACTIVE" gs=1 PAM+ PA=INDEF=280.5 R=14.17 Exposure=2000 ms

Sky is photometric with a waxing gibbous moon in the SW. Seeing is 0.5 to 0.8 arcsec FWHM at EL=78. We'll call it median seeing.

03:10 stop guiding

03:11 readGuideCam -e 10000 - GCS crashed. Restart GCS.

03:12 readGuideCam -e 10000 agw selection failed

selectAGW junk

selectAGW AIP_IRTC_DG_L.cfg

GCS crashed. Restart GCS

03:14 readGuideCam -e 10000 GCS died unexpectedly.

readGuideCam -e 10000 - autoselection to AIP_L.cfg failed.

selectAGW AIP_IRTC_DG_L.cfg

May 7 03:17:48 lbtmu107 LBT_left_GCS: [E] AIP AGW unit error: AGW2: RPC Communication Error

03:18 stopAGW, startAGW stop and restart GCS but it hung and then died later.

selectAGW AIP_IRTC_DG_L.cfg

readGuideCam -e 10000

May  7 03:21:23 lbtmu107 LBT_left_GCS: GCS tries to change active AGW configuration to AIP_L.cfg
May  7 03:21:23 lbtmu107 LBT_left_GCS: [D] <403> [TCSConfigFile] Empty filename: ''.
May  7 03:21:23 lbtmu107 LBT_left_GCS: selectAGW(AIP_L.cfg), type: AIP_LUCIFER, unit: 0
May  7 03:21:23 lbtmu107 LBT_left_GCS: AGWUnitAIP: SFP position to move to: 0.000000, 192.200000 mm
May  7 03:21:23 lbtmu107 LBT_left_GCS: AGWUnitAIP: rotation of the AGW coords system in relation to SFP: -180.70 degrees
May  7 03:21:23 lbtmu107 LBT_left_GCS: AGWUnitAIP: internal transformation to AGW native coords: -2.348097, 420.014344 mm
May  7 03:21:23 lbtmu107 LBT_left_GCS: AGWUnitAIP: external transformation to AGW native coords: 0.000000, 420.588585 mm (oacontrol)
May  7 03:21:23 lbtmu107 LBT_left_GCS: AGWUnitAIP: moving probe to native coords: 0.000000, 420.588585 mm using external transformations
May  7 03:21:23 lbtmu107 LBT_left_GCS: AGWUnitAIP::doSetProbePosition: calling oacontrol::setxy(10.144.0.64, 1, x:0.000000 y:420.588585, 23.000000, 0) ...
May  7 03:21:26 lbtmu107 LBT_left_GCS: no focus change in doSetProbePosition as the focus is correctly set already.
May  7 03:21:27 lbtmu107 LBT_left_GCS: parked AGw type AIP_LUCIFER (unit 1)
May  7 03:21:27 lbtmu107 LBT_left_GCS: deleted an instance of type AIP_LUCIFER (unit 1) and created an instance of type AIP_LUCIFER (unit 0)
May  7 03:21:27 lbtmu107 LBT_left_GCS: ~azcam: stopping IST...
May  7 03:21:27 lbtmu107 LBT_left_GCS: ImageServerThread ended
May  7 03:21:27 lbtmu107 LBT_left_GCS: IST: closing open socket
May  7 03:21:27 lbtmu107 LBT_left_GCS: IST: socket closed
May  7 03:21:27 lbtmu107 LBT_left_GCS: ~azcam: waiting for IST to stop...
May  7 03:21:27 lbtmu107 LBT_left_GCS: ~azcam: sending 'closeConnection'
May  7 03:21:27 lbtmu107 LBT_left_GCS: ~azcam: done.
May  7 03:21:27 lbtmu107 LBT_left_GCS: ~azcam: stopping IST...
May  7 03:21:27 lbtmu107 LBT_left_GCS: IST: closing open socket
May  7 03:21:27 lbtmu107 LBT_left_GCS: ImageServerThread ended
May  7 03:21:27 lbtmu107 LBT_left_GCS: IST: socket closed
May  7 03:21:27 lbtmu107 LBT_left_GCS: ~azcam: waiting for IST to stop...
May  7 03:21:27 lbtmu107 LBT_left_GCS: ~azcam: sending 'closeConnection'
May  7 03:21:27 lbtmu107 LBT_left_GCS: signal 6 received.
May  7 03:21:30 lbtmu107 LBT_networkserver: GCSL died unexpectedly
May  7 03:21:30 lbtmu107 LBT_networkserver: GCSL is not active
May  7 03:21:30 lbtmu107 LBT_networkserver: dropping GCSL

From the core file Norm thinks it died reading temperature from the turned off AGW unit 0. Why did it try to talk to that LUCIFER unit?

03:31 readWFSCam -e 1000

03:34 Authorize LBC on both sides, GCS got a stopGuiding and was happy.

03:35 Authorize IRTC at Direct Gregorian, GCS got a stopGuiding and was happy.

03:37 pointto M92astrom Tel="ACTIVE" gs=17 PAM+ PA=INDEF - succeeded, although no star found.

May  7 03:37:35 lbtmu107 LBT_left_GCS: AGW auto selection succeeded.  Instrument: IRTC, FS: directGregorian, initialized from file 'AIP_IRTC_DG_L.cfg'
May  7 03:37:35 lbtmu107 LBT_left_GCS: GuideStar set to RA/DEC: 4.52397, 0.752712
May  7 03:37:35 lbtmu107 LBT_left_GCS: PROFILING: moveProbeOnGuideStar entered.
May  7 03:37:35 lbtmu107 LBT_left_GCS: [D] <296> [TCSConfigFile] Empty filename: ''.
May  7 03:37:35 lbtmu107 LBT_left_GCS: [D] <297> [TCSConfigFile] Empty filename: ''.
May  7 03:37:35 lbtmu107 LBT_left_GCS: selectAGW(AIP_IRTC_DG_L.cfg), type: AIP_LUCIFER, unit: 1
May  7 03:37:35 lbtmu107 LBT_left_GCS: didn't create a new instance of AGWUnitAIP as the types and units are the same
May  7 03:37:35 lbtmu107 LBT_left_GCS: AGW auto selection succeeded.  Instrument: IRTC, FS: directGregorian, initialized from file 'AIP_IRTC_DG_L.cfg'
May  7 03:37:35 lbtmu107 LBT_left_GCS: PROFILING: calling  pcs.guider.adjustGSCoordinates()...
May  7 03:37:35 lbtmu107 LBT_left_GCS: PROFILING: pcs.guider.adjustGSCoordinates() returned.
May  7 03:37:35 lbtmu107 LBT_left_GCS: setGuidestarList (and conversion):

03:39 pointto M92astrom Tel="ACTIVE" gs=15 PAM+ PA=INDEF - images are decollimated.

03:41 Clear Active Optics. Clear Pointing Correction, Clear M2 offload.

03:42 pointto M5_0707 Tel="ACQUIRE" gs=0 PAM- PA=0 - Adjust IE=-93 CA=+3

03:55 pointto M92astrom Tel="ACTIVE" gs=15 PAM+ PA=INDEF=1.68 (magnitude not known) - M2 offload junk

03:57 pointto M92astrom Tel="ACTIVE" gs=26 PAM+ PA=INDEF=126.68 R=15.19 (but multiple stars in field)

04:02 stopGuiding, preset drops to TRACK.

readGuideCam -e 10000
readGuideCam: acquiring full guider image ...
GCS side: L
selecting AGw AIP_LUCIFER...  

GCS crashes again.

May  7 04:03:11 lbtmu107 LBT_left_GCS: GCS tries to change active AGW configuration to AIP_L.cfg
May  7 04:03:11 lbtmu107 LBT_left_GCS: [D] <214> [TCSConfigFile] Empty filename: ''.
May  7 04:03:11 lbtmu107 LBT_left_GCS: selectAGW(AIP_L.cfg), type: AIP_LUCIFER, unit: 0
May  7 04:03:11 lbtmu107 LBT_left_GCS: AGWUnitAIP: SFP position to move to: 0.000000, 192.200000 mm
May  7 04:03:11 lbtmu107 LBT_left_GCS: AGWUnitAIP: rotation of the AGW coords system in relation to SFP: -180.70 degrees
May  7 04:03:11 lbtmu107 LBT_left_GCS: AGWUnitAIP: internal transformation to AGW native coords: -2.348097, 420.014344 mm
May  7 04:03:11 lbtmu107 LBT_left_GCS: AGWUnitAIP: external transformation to AGW native coords: 0.000000, 420.588585 mm (oacontrol)
May  7 04:03:11 lbtmu107 LBT_left_GCS: AGWUnitAIP: moving probe to native coords: 0.000000, 420.588585 mm using external transformations
May  7 04:03:11 lbtmu107 LBT_left_GCS: AGWUnitAIP::doSetProbePosition: calling oacontrol::setxy(10.144.0.64, 1, x:0.000000 y:420.588585, 23.000000, 0) ...
May  7 04:03:22 lbtmu107 LBT_left_GCS: setting focus to 0.000000 mm
May  7 04:03:30 lbtmu107 LBT_left_GCS: parked AGw type AIP_LUCIFER (unit 1)
May  7 04:03:30 lbtmu107 LBT_left_GCS: deleted an instance of type AIP_LUCIFER (unit 1) and created an instance of type AIP_LUCIFER (unit 0)
May  7 04:03:30 lbtmu107 LBT_left_GCS: ~azcam: stopping IST...
May  7 04:03:30 lbtmu107 LBT_left_GCS: ImageServerThread ended
May  7 04:03:30 lbtmu107 LBT_left_GCS: IST: closing open socket
May  7 04:03:30 lbtmu107 LBT_left_GCS: IST: socket closed
May  7 04:03:30 lbtmu107 LBT_left_GCS: ~azcam: waiting for IST to stop...
May  7 04:03:30 lbtmu107 LBT_left_GCS: ~azcam: sending 'closeConnection'
May  7 04:03:30 lbtmu107 LBT_left_GCS: signal 6 received.
May  7 04:03:35 lbtmu107 LBT_networkserver: GCSL died unexpectedly
May  7 04:03:35 lbtmu107 LBT_networkserver: GCSL is not active

04:05 pointto M92astrom Tel="GUIDE" gs=26 PAM+ PA=INDEF

Can take WFS image in guide mode.

04:08 pointto M92astrom Tel="TRACK" gs=26 PAM+ PA=INDEF

Cannot take Guide image in track mode from command line. GCS crashed again.

Test different guide correction factors

04:12 set guideCorrectionFactor to 1.0

04:13 pointto M92astrom Tel="ACTIVE" gs=26 PAM+ PA=INDEF=126.68 Exp=2100 ms

See acquire000069 for a photometric measurement. (as good as we can do until the GCS crashing bug gets fixed).

04:22 Change default filter to 1 in config file.

04:23 pointto M92astrom Tel="ACTIVE" gs=26 PAM+ PA=INDEF

Hit Y-limit. Waynes adds to Pointing Offset (slowly while guiding)

See acquire000070 for a photometric measurement in B.

04:29 Change default filter to 2 in config file.

04:30 pointto M92astrom Tel="ACTIVE" gs=26 PAM+ PA=INDEF

See acquire000070 for a photometric measurement in V.

John made a mistake updating global offsets earlier in collimation file, so redo that.

  1. 000 -0.930 0.100 -20.000 0.000 0.000 Global Offsets

04:37 pointto M5_0707 Tel="ACQUIRE" gs=0 PAM- PA=0 - *Adjust IE=-39 CA=6 * and add these to irtcdg.20090506.ptmod

Filter = 3 = r

04:43 pointto M92astrom Tel="ACTIVE" gs=26 PAM+ PA=INDEF

acquire000072 = 2 sec r

Filter = 2 = v

04:47 pointto M92astrom Tel="ACTIVE" gs=26 PAM+ PA=INDEF

acquire000073 = 2 sec v

Filter = 3 = r

04:50 pointto M92astrom Tel="ACTIVE" gs=17 PAM+ PA=INDEF=9.72 R=16.64 - GCS didn't find it but the sky is getting bright.

04:54 Close for oncoming day. T=9degC.

Figuring out the Zernike Rotations

Doug flips image and negates Doug's angle and doesn't change Z5,Z8,Z10 sign, and this produces an answer that agrees with GCS for rotating the measured Zernikes.

GCS does not flip the image, and does not negate the rotator angle, but John negated the output scale factors for Z5, Z8, Z10. The symmetry properties of Zernike rotations mean that both of these methods give the same answer. So GCS and IDL agreed at the beginning of the night.

rotateZernikes(_rotatorDirection * (Offset - RotatorAngle) + _probeRotationFactor * probeAngle);

However, both codes got the rotation of the off-axis static aberrations wrong, so tonight's field aberration measurements showed a strong pattern of Z5 and Z8 on the initial reduction.

Thus, we need one more parametrized minus sign in the next GCS build to fix the off-axis corrections. (Then we need work later to regularize all these signs and flips.)

Doug Miller Wrote:

I have added routines to my IDL routines to flip the wfsc image (actually I flip the centroids) around x. Using Andrew's original single mode images from zmax (500 nm rms of Z4-Z22 used to build the reconstructor matrix) I find that the x flip causes

Z5 sign flip Z8 sign flip Z10 sign flip

Thus, for low order modes, we could simply change the signs on the scale factors for Z5, Z8 and Z10 in the GCS config file.

In the long term, I feel we should properly calculate the zernikes with a properly oriented wfsc image, both in IDL and in GCS.

I believe, from my flip analysis, that we should actually flipped the wfsc image around x for the Bent Gregorian images, and not flip for Direct Gregorian. The result will be that the mode pairs will have scale factors with the same sign (eg z5 and z6 wil be ~-1.7, z7 and z8 will be -1.4, z9 and z10 will be 1.7). These scale factors will be (should be?) the same for Bent and Direct Gregorian.

In fact, I would like to calculate a new Reconstructor Matrix with the sign of z9 and z10 flipped so all factors will be negative. I will have to check the signs on higher order modes.

Plan for tomorrow

Please make the following swing arm configuration changes and rebalance before this evening (Thursday May 7).

1) Move SX M3 to deployed position (we will be observing at LFBG).

2) Move DX M2 to deployed position (Doug wants more anemometer data).

3) Move DX LBC to retracted position.

We've modified the previous plan so that we plan to be at LFBG all of Thursday night, so we won't be retracting SX M3 during the night. We have enough tasks that can be either LFBG or DG (e.g. test guiding as a function of guidestar magnitude, test exposure time scaling, take 1 kHz vibration data) to keep busy all night.

Assuming that Thursday's observations are successful, we will want to mount IRTC at the Direct Gregorian focus on Friday, and retract the SX M3 swing arm.

Install TCS Build 26

-- JohnHill - 07 May 2009
Topic revision: r9 - 13 May 2009, JohnHill
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback