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
- LSC_ENABLE - this channels is equal to 1 the interferometre is controlled, and drops to 0 when the real time control gives up on controlling the interferometer (switches off the feedback to the mirrors) after an unlock
- SDB1_fast_shutter_sw - this channels is at 1 when the shutter blocks the beam at the output of the interferometer and at 0 when the shutter is open, so whenever it is at 1 for certain there is no GW signal to look at. In some cases it is an earlier warning of the unlock (by a fraction of a second)
See figure 1 for an example.