Our goal was to update the PyE873 software in order to satisfy the request of Computing Service for the code freezing. There were two thighs to do: prepare a cmt package and use conda instead of the env.sh script. The software manages piezo-electric motors inside the AEI squeezer source and it is available here Git pye873.
The activity started on Friday 11th morning. At the beginning we moved three processes with prefix SQZ_PI_stage from the generic machine olserver113 to the one dedicated for SQZ olserver149. The processes are:
SQZ_PI_stage_2f - beam dumper
SQZ_PI_stage_pump - beam dumper
SQZ_PI_stage_Homodyne - mirror
During the test the laser light was present on EQB1_HD_CAM_FF, EQB1_HD_CAM_NF and EQB2_IR_Cam for reference in case the stages moved during the activity on the software.
Only the SQZ_PI_stage_Homodyne PI stage was monitored since it controls the position of a mirror.
Record for software developers: internal servo of the PI E-873 is not stable: sometimes it moves back and forth the actuator which may cause vibrations. That's why the in-loop operation must be turned off when the mirror is parked.
The first installation of the packaged returned:
Using 'default' alias ['farmn1']
---
Installation on farmn1
---
Versions defined in '/olusers/pm_user/.config/virgo_pm_versions.txt':
root:v5r34p051
FFTW:v3r3p30
VirgoPolicy:v2r6
CSet:v2r16
Cm:v8r12p5
Cbf:v4r13
Cfg:v8r06p2
Fr:v8r34
Fd:v8r27
Frv:v4r31
No standard version tags found for pye873 in version control repository
Exit request sent.
Connection to farmn1 closed.
We encountered two problems:
One with the access to the drivers which we solved with the help of Computing Service. We killed the process of another user which caused problems. The SQZ_PI_stage processes in VPM remained off.
The second one is that pipython dependency is not available in the conda environment. We have sent a request for adding it into the new version of the env.
Due to the fact that pye873.py software could not connect to the drivers, the position monitoring with light was meaningless.
The work has been continued on Monday 14th.
The pye873 package has been modified and successfully installed (it still depends on the manually installed pipython dependency). Version v1r0, v1r1 and v1r2 were installed. The output log of the last installation is:
PmInstall pye873
To work in the /virgoStaging area please type your \"bawaj\" login password:
Using 'default' alias ['farmn1']
---
Installation on farmn1
---
Versions defined in '/olusers/pm_user/.config/virgo_pm_versions.txt':
root:v5r34p051
FFTW:v3r3p30
VirgoPolicy:v2r6
CSet:v2r16
Cm:v8r12p5
Cbf:v4r13
Cfg:v8r06p2
Fr:v8r34
Fd:v8r27
Frv:v4r31
-> pye873 v1r2 (to be installed in /virgoApp)
Conda v2r1p0 is in /virgoApp
--------
pye873 checkout
--------
Cloning into 'v1r2'...
chgrp swmgr /virgoApp/pye873/v1r2
chgrp swmgr /virgoApp/pye873
--------
pye873 configuration
--------
Creating setup scripts.
Creating cleanup scripts.
--------
pye873 compilation
--------
#CMT---> Info: Execute action make => gmake bin=../Linux-x86_64-CL7/
#CMT---> (Makefile.header) Rebuilding ../Linux-x86_64-CL7/Linux-x86_64-CL7.make
#CMT---> (constituents.make) Rebuilding library links
#CMT---> (constituents.make) Building conda_exec.make
#CMT---> Info: Document conda_exec
#CMT---> Warning: Source file ../Linux-x86_64-CL7/bin/PyE873.py not found
#CMT---> (constituents.make) Starting conda_exec
/virgoApp/Conda/v2r1p0/scripts/generate_exec.sh: line 14: activate: No such file or directory
Using /virgo/conda/envs/cmt-conda-py39-20220317 conda environment
Creating /virgoApp/pye873/v1r2/Linux-x86_64-CL7/bin/PyE873-conda
#CMT---> (constituents.make) conda_exec done
#CMT---> all ok.
--------
Make built files read only
--------
chgrp swmgr /virgoApp/pye873/v1r2/Linux-x86_64-CL7
chgrp swmgr /virgoApp/pye873/v1r2/cmt
chgrp swmgr /virgoApp/pye873/v1r2/cfg
chgrp swmgr /virgoApp/pye873/v1r2/src
chmod 0o444 chgrp swmgr /virgoApp/pye873/v1r2/.gitlab-ci.yml
chmod 0o444 chgrp swmgr /virgoApp/pye873/v1r2/Linux-x86_64-CL7-incomplete
chmod 0o444 chgrp swmgr /virgoApp/pye873/v1r2/README.md
chmod 0o444 chgrp swmgr /virgoApp/pye873/v1r2/.gitignore
chgrp swmgr /virgoApp/pye873/v1r2/Linux-x86_64-CL7/bin
chmod 0o444 chgrp swmgr /virgoApp/pye873/v1r2/Linux-x86_64-CL7/constituents.make
chmod 0o444 chgrp swmgr /virgoApp/pye873/v1r2/Linux-x86_64-CL7/conda_exec.make
chmod 0o444 chgrp swmgr /virgoApp/pye873/v1r2/Linux-x86_64-CL7/Linux-x86_64-CL7.make
chmod 0o444 chgrp swmgr /virgoApp/pye873/v1r2/Linux-x86_64-CL7/setup.make
chmod 0o444 chgrp swmgr /virgoApp/pye873/v1r2/Linux-x86_64-CL7/make.in
chmod 0o444 chgrp swmgr /virgoApp/pye873/v1r2/Linux-x86_64-CL7/cmt_build_library_links.stamp
chmod 0o444 chgrp swmgr /virgoApp/pye873/v1r2/Linux-x86_64-CL7/conda_exec.in
chmod 0o444 chgrp swmgr /virgoApp/pye873/v1r2/Linux-x86_64-CL7/library_links.in
chmod 0o555 chgrp swmgr /virgoApp/pye873/v1r2/Linux-x86_64-CL7/bin/PyE873-conda
chmod 0o444 chgrp swmgr /virgoApp/pye873/v1r2/cmt/cleanup.sh
chmod 0o444 chgrp swmgr /virgoApp/pye873/v1r2/cmt/cleanup.csh
chmod 0o444 chgrp swmgr /virgoApp/pye873/v1r2/cmt/requirements
chmod 0o444 chgrp swmgr /virgoApp/pye873/v1r2/cmt/Makefile
chmod 0o444 chgrp swmgr /virgoApp/pye873/v1r2/cmt/setup.sh
chmod 0o444 chgrp swmgr /virgoApp/pye873/v1r2/cmt/setup.csh
chmod 0o444 chgrp swmgr /virgoApp/pye873/v1r2/cfg/PiPythonDriver.cfg
chmod 0o555 chgrp swmgr /virgoApp/pye873/v1r2/cfg/config.ini
chgrp swmgr /virgoApp/pye873/v1r2/src/lib
chmod 0o555 chgrp swmgr /virgoApp/pye873/v1r2/src/PyE873.py
chmod 0o555 chgrp swmgr /virgoApp/pye873/v1r2/src/lib/libpi_pi_gcs2.so
chmod 0o555 chgrp swmgr /virgoApp/pye873/v1r2/src/lib/libicui18n.so.30.0
chmod 0o555 chgrp swmgr /virgoApp/pye873/v1r2/src/lib/libpi_pi_gcs2.so.3.8.0
chmod 0o555 chgrp swmgr /virgoApp/pye873/v1r2/src/lib/libpi_gcs_translator.so.1.8.0
chmod 0o555 chgrp swmgr /virgoApp/pye873/v1r2/src/lib/libicudata.so.30.0
chmod 0o555 chgrp swmgr /virgoApp/pye873/v1r2/src/lib/libfbclient.so.2.5.3
chmod 0o555 chgrp swmgr /virgoApp/pye873/v1r2/src/lib/libib_util.so
chmod 0o555 chgrp swmgr /virgoApp/pye873/v1r2/src/lib/libpi_pi_gcs2-3.8.0.a
chmod 0o555 chgrp swmgr /virgoApp/pye873/v1r2/src/lib/libicuuc.so.30.0
chmod 0o555 chgrp swmgr /virgoApp/pye873/v1r2/src/lib/libfbembed.so.2.5.3
chmod 0o555 chgrp swmgr /virgoApp/pye873/v1r2/src/lib/libwxPIGraph3D.so.1.1.2
Exit request sent.
Connection to farmn1 closed.
Version v1r0 and v1r1 are not functional and should be removed. This action will be asked to the Computing.
We performed a test of the newly installed version on the SQZ_PI_stage_2f process. The other two SQZ_PI_stage processes are still running the not frozen version of the code.
Figure 1 In the evening lock (blue) we have managed to have much more stable B1 DARM optical gain than during the lunch time lock (purple), at least during the period when the SRCL SET was adjusted by hand to have the best SR+arm cavity pole frequency.
Figure 2 in the lunch time data the 491.3Hz demodulated in B1 (DARM optical gain), has the RMS dominated by a bump at ~1.3Hz. The Q quadrature (blue) correspond to the line phase and so most related to arm cavity pole degree of freedom, and the I quadrature (magnitude) corresponds more to the losses (can be SRCL losses, or OMC misalignment losses, or something else). The bump is highest in the Q quadrature.
Figure 3 shows the evening in purple and the lunch time lock in blue. The 1.3Hz peak is present in SRCL_INPUT, it was a bit smaller in the evening. Also the harmonic at ~2.6Hz was lower in the two quadrature of the optical gain, which likely means that SRCL longitudinal working point was better tuned and not causing optical gain fluctuations.
Also during the lock acquisition, SRCL INPUT is what is really pushing the sidebance to be misbalanced.
I looked at the SRCL INPUT scan from 30 to 48 (fig 1) and I used my script to compute the DCP (fig 2). The value 410 Hz at SRCL 48 is the highest I have seen recently. Typically it is 390 Hz when SRCL loop is closed and SR aligned. My script produces also the estimation of the optical spring based on the demodulation of B7_DC at 74.4 Hz, a line on DARM (fig 3). This should be equivalent to the error signal used to control SRCL set point. One can see that the information is quite poor; moreover, it says that the good point for DCP at the end of the scan doesn't correspond to a null optical spring. The point is that in LN2 the line at 74.4 Hz is too low to be well seen in B7_DC, even when SRCL is clearly off (fig 4). Moreover, on B7_DC there is a huge line at 74.85 Hz, which could spoil the demodulation at 74.4 Hz.
There is a lot of better signal on B7_DC and B8_DC at low frequency, still measuring how much DARM couples to the arm power (fig 5). Putting the demodulation frequency at 7.6 Hz (the anguar line on WI_TY), I obtained a signal much cleaner (fig 6). With some phase tuning, it could be zero in the good working point.