Operator Report - Night shift
This night the ITF unlocked from science at 2:56UTC because of the big earthquake in Albania, here some details:
M 6.4 - 12km WSW of Mamurras, Albania
Time 2019-11-26 02:54:12 (UTC)
Depth 20.0 km
as consequence of the earthquake all the suspension control loops have been opened by the guardians and the minitower control loops get saturated; so I called Valerio to restore the suspension controls and Antonino to check the status of the injection system; at around 4:30UTC all the suspension controls has been restored, with the help of Paolo we started to realign/relock the ITF, the relock went on smoothly up to LOW_NOISE_3 when the ITF_LOCK metatron node get stacked while doing the final fmoderr tuning with a code error, I stopped the lock and restart it from the beginning, relock in progress...
-guard tous(UTC):
23:30 --> 0:05
1:35 --> 2:05
SBE
I open/close the control of SNEB, SWEB, SDB2, SPRB because of they were saturating as a result of the earthquake (from 3:25UTC to 3:45UTC).
ISYS
(26-11-2019 04:15 - 26-11-2019 04:45) From remote
Status: Ended
Description: Check the safety of the system after the earthquake.
SQZ
(26-11-2019 03:15 - 26-11-2019 04:30) From remote
Status: Ended
Description: Close the suspension control.

META_ITF_LOCK_index should not be used to flag the status of the interferometer with second precision. Metatron runs is a slow process, with approximately 1 second long refresh time (but not constant). META_ITF_LOCK_index reports when Metatron learned that the interferometer has unlocked, which will always be 1 or 2 seconds after the fact.
Better channels to use to learn quickly that the ITF has unlocked are
See figure 1 for an example.
As Michal said, the Metatron latency due to the need to pass on information at 1 Hz in between nodes is well-known. This is dealt with offline by the CAT1 flag V1:DQ_SCIENCE_FALSE that checks for inconsistencies between ITF_LOCK and ITF_Mode == 1 (SCIENCE) -- and also by V1:DQ_LOCK_LAST_05S that removes the last 5 seconds of each lock segment. I'll double-check tomorrow if adding the min values of LSC_ENABLE and SDB1_fast_shutter_sw removes more data.
That being said, I don't quite understand the problem reported by MBTA: from https://logbook.virgo-gw.eu/virgo/uploads/47687_1573925680_Unlock-Nov14-12h54.png, the bit 0 of the state vector goes down at 12:54:18 UTC, meaning that from that time onwards, h(t) is not correctly computed. So these data are bad. Pipelines should use data when bits 0, 1 and 10 are active.
The issue that Benoit reports is that h(t) is corrupted 4 seconds before the bit 0 of the state vector goes down 12:54:18 UTC, h(t) is already bad at 12:54:14 UTC. The reason is that h(t) is not a time domain code, but a frequency domain one done in blocks of 8 seconds. If any data input data in that 8 seconds is not good, then all 8 seconds of h(t) are corrupted. So h(t) is not only bad after the unlock, but also before the unlock, because it doesn't know about the unlock. There are two solutions:
Triggered by this thread and additional e-mail exchanges, I've improved the script used to find lock losses to define offline segments and vetoes. The new version combines information from Metatron and from fast signals; it also removes the last 10 seconds before each identified delock, in order to avoid any corrupted h(t) sample -- the previous version was only trimming away 5 seconds / delock. A new CAT1 flag covering the whole O3a has been generated and uploaded to DQSEGDB. CBC and burst veto definer files will be updated accordingly. The new flag adds about 36 minutes of CAT1 time (very small amount w.r.t. O3a) without increasing much the number of SCIENCE segments available for offline analysis as it can gather short CAT1 segments that were 'precursors' of the delock. These additional CAT1-flagged data were anyway in too short segments to be of any use for offline data analysis.
This new flag will be used by default during O3b.
My understanding is that Hrec will work on identifying better delocks to improve online CAT1 flags.
Today, around 14:15 UTC, while ITF was unlocked, I have restarted the Hrec processes with version v3r09p5.
This version of Hrec has a new usage of the LOCK_CHANNEL keyword , which allows to use both
channels META_ITF_LOCK_index and SDB2_B1_DC to say that ITF is locked or not.
The use of SDB2_B1_DC will allow shorter latency and should prevent h(t) to be computed when it should not.
Plot 1 shows one example of unlock, with the h(t) signal affected by the too late detection of unlock using only META_ITF_LOCK_index
and the corresponding state vector late change.
Plot 2 shows for the same unlock, the h(t) correctly put to zero when we use also SDB2_B1_DC > 0.1 condition
and the corresponding state vector correct change.