The "OR" of the saturation channels has been added to the DAQ. The corresponding channel is
V1:DQ_SATURATION_FLAG_OR
It is active (value = 1) when any of the individual flag is active (value = 1 as well).
The Seismon earthquake early warning system is running in test mode with the main goal of collecting data during stable running conditions. It is included in the DMS but the criteria to raise an alarm have been set to tight levesl on purpose:
The last two conditions are unlikely to ever trigger an alarm due to the propagation speed of the seismic waves compared to the time needed by the USGS to generate a warning for a given earthquake.
The most recent Seismon warnings are listed in the table https://scientists.virgo-gw.eu/Seismon which should get updated automatically as new warnings are received. These data are based on private data provided by the USGS => they are not public.
Another version of the code -- based on the latest version of the original LIGO package -- will be deployed after the end of O2.
There are now 13 photodiode saturation flags generated at 1 Hz:
V1:DQ_SATURATION_FLAG_SDB2_B1_PD1
V1:DQ_SATURATION_FLAG_SDB2_B1_PD2
V1:DQ_SATURATION_FLAG_SDB2_B1p_PD1
V1:DQ_SATURATION_FLAG_SDB2_B1p_PD2
V1:DQ_SATURATION_FLAG_SDB2_B1s1_PD1
V1:DQ_SATURATION_FLAG_SDB2_B1s2_PD1
V1:DQ_SATURATION_FLAG_SDB2_B5_PD2
V1:DQ_SATURATION_FLAG_SNEB_B7_PD1
V1:DQ_SATURATION_FLAG_SNEB_B7_PD2
V1:DQ_SATURATION_FLAG_SPRB_B4_PD1
V1:DQ_SATURATION_FLAG_SPRB_B4_PD2
V1:DQ_SATURATION_FLAG_SWEB_B8_PD1
V1:DQ_SATURATION_FLAG_SWEB_B8_PD2
Each is based on 3 input channels: DC, Audio_saturation and Audio_saturation_switch.
The "OR" of the saturation channels has been added to the DAQ. The corresponding channel is
V1:DQ_SATURATION_FLAG_OR
It is active (value = 1) when any of the individual flag is active (value = 1 as well).
Pending a faster VIM-like monitoring path, the raw data-based picture https://scientists.virgo-gw.eu/narnaud/plot_rawdata.png should be updated every ~2 minutes with a ~2-minute latency.
The flag V1:DQ_META_MANUAL_UNLOCK has been added to the DAQ. It should be active for 1 second when an unlock of the interfermoter is triggered by hand, by pressing the down button on the ITF_LOCK node GUI.
One period from last night during which the BNS range showed a strong and few minutes long dip.
Here is the omicron scan: https://wwwcascina.virgo.infn.it/DataAnalysis/Omicron/narnaud/scans/1184818117_std. There is nothing striking in it.
Today we added a DAQ channel which is written directly by the ITF_LOCK node every time it goes to the DOWN state; the value of this channel, V1:DQ_META_MANUAL_UNLOCK, is usually 0, but it is set to 1 for 1 second if the transition to DOWN was done manually, i.e. if DOWN was the 'requested' state to ITF_LOCK.
We will add soon a similar channel with the information about the index of the current 'requested' state, in order to let people know if some lock was aimed to LOW_NOISE_2 or to intermediate steps for commissioning. Let us now if and how this can be made more useful.
We disabled this new channel for the time being, as it seemed to trigger some "missing channels " issue for the DQ_META environment; investigations ongoing...
The flag is back online, with no apparent change from a user's point of view, while we hacked a bit the way the flag is built in order to avoid the missing data issue. I'll leave the flag alive for the night, please let us know about any misbehaviour.
New monitoring plots are available in the VIM/ISC section (https://vim.virgo-gw.eu/?config=39).
There was a 4.2 earthquake about 250 km away last night at 04:13 LT -- near Amatrice, the area where there were earthquakes up to magnitude 6 last year.
The earthquake waves arrived to the site within a couple of minutes and were detected by our seismic flags -- see Fig. 2. The interferometer was not locked at that time due to the problem reported here. The seismon early warning system (based on data from the US Geological Survey) did trigger an alert for this earthquake but it was received and processed at Virgo about 30 minutes after the earthquake had occurred. It is not clear that for such a close earthquake the INGV alert system could generate a meaningful alert but it would be good to have access to these data at some point in the future.
Figure 1 shows the information provided by seismon for this earthquake. This summary plot has been created by the Summer student Benjamin Rémy and will soon be automatically generated for each earthquake warning.
LSC_DARM band-RMS for the following frequency bands
47-48
72-85
25-27
38-45
55-60
220-230
320-330
460-480
535-545
580-590
660-680
710-730
860-880
960-980
1420-1440
2020-2040
have been added to BRMSMon.
For instance, the band-RMS channel for the last frequency range is V1:DQ_BRMSMon_BRMS_LSC_DARM_LINE_2020_2040_LSC_DARM
See attachment.
There were 29 science segments in the first weekend of ER11. The median segment duration was 5330 seconds, see first plot.
We are still flagging about five seconds of unlocked data as science; the DQ_META_ITF_Mode flag is slow to recognize a lockloss. See the second plot as an example, the META_ITF_Mode flag switches several seconds after the arm power drops. The third plot is a histogram of the 29 segments from ER11 and the difference between the segment end time and the lock end time. We should implement an offline solution to reduce the amount of junk data that is being labeled as science-quality.
The segment list is attached.
For ther record, this issue has been fixed in the Metatron code by Franco -- see in attachment one example of a lockloss from today. More tests will be performed to confirm that this has been solved.
See attachment.
On request, the PySaturationPD server is added as expected frame source for the FbmAlp frame merger.
One hour of data from this afternoon, showing some periods in which B1p was saturating. The flag (blue trace, 1 <-> saturation) seems to be working fine. For clarity, the audio (audio_switch) channel has been shifted by +1.5 (-1.5) to produce the plot.
The names of the saturation channels have been updated this morning. The SER name has been renamed "DQ_SATURATION_FLAG" (was "DQ_SATURATION" before).
In addition, the logic has been sligthly modified.
Over the weekend there were a few periods when the range degraded to a tiny fraction of a Mpc. These periods were due to near-constant saturations of the B1 photodiodes used for DARM. It looks like many of the dropouts in the range were correlated with saturations of this PD, see Figure 1. (Note, I've downsampled the B1 PD2 Audio saturation channel to 5Hz, so it doesn't always reach a value of 1)
Figure 2 is a comparison of the B1 PD2 audio & DC spectra from a quiet time (purple) and a time full of saturations (blue). The coupling of the PR dither lines to DARM, at 3.5 and 4.5 Hz, increased by 4x during the glitchy time, and this was the dominant feature in the B1_PD2 rms. (The audio channel saturates around 0.4mW.) The height of the other dither lines, between 7 and 12 Hz, did not change so much. This indicates a misalignment of the beam on the PR.
In Figure 3, there is a comparison of the PRCL noise and correction signal to the PR, during the quiet and glitchy times. During the glitchy time, the PRCL noise increased by a factor of several. This probably ruined the dither alignment error signal and caused the PR to become misaligned, which increased the line height in DARM and saturated the B1 PD.
We need to investigate why our PRCL noise is so bad - even in the quiet time it's still terrible. It could be some clipping on the beam path, but the beam position on the B2 camera was not so different between quiet and glitchy times. Also the power on B2 was about the same.
To confirm Dan's entry, here is a plot showing the behaviour of the new PD saturation flag over the weekend -- blue trace, rescaled to make it more visible. Such saturation flags will soon be available in the DAQ.
The glitches were present also tonigth, expecially after 4 am UTC, and are correlated with the B1 PD2 Audio saturation, see the trend in figure 1 and the zoom on one glitch in figure 2.
We modified the DARM boost filters to provide more suppression below 20Hz. This should reduce the fluctuations in the B1 audio channels and prevent saturations. (It impresses the angular dither lines on the DARM lognitudinal motion, but this was already happening.)
First plot shows the changes to the DARM loop, we get about 15x more gain at 3Hz and 6x more gain at 7Hz. The phase margin is reduced, but on DC readout the DARM UGF is very stable, around 70Hz. We have a factor of two of gain margin in both directions.
Second plot shows the reduction in the B1 PD2 Audio channel following the boost, we have increased the margin by 4-5. The saturations occur at ~0.4. The rms is close to being dominated by the 50Hz line and the BS modes at 1.2 and 1.8kHz.
Since this morning the alarm Environment/Seismon has been added to the DMS. It uses the data provided by our earthquake early warning system based on the LIGO seismon software. As a first test, the flag is triggered
These conditions will be updated in the future as we gain experience with the system and tune the model used to make predictions for Virgo.
The associated DAQ channels are the following.
with i = 1..5. In the code the i index is incremented (modulo 5) each time a new earthquake arrives, meaning that a given earthquake will be associated to the same set of channels until it becomes to old. Sets of channels which are currently not in use are reset to -1. As all earthquake predictions are stored to these sets of channels, one can have N_WARNINGS == 0 and some seismon data in these channels.
That earthquake had magnitude 6.5 and occurred in Botswana (7500 km away) at 17:40 UTC.
The LIGO "seismon" software (earthquake early warning system) which we are currently testing at Virgo predicted the arrival of the P- and S-waves around 17:51 UTC and of the R-waves (surface waves) around 18:15 UTC. This matches quite well the behaviour of the Sa channels as plotted on the top-level logbook entry. Moreover, seismon notified us about this earthquake at 18:01 UTC: too late for the P- and S-waves, but about 14 minutes before the actual arrival of the surface waves.
The information provided by seismon will soon be made available to the control room.
Today we finished all the planned changes for the Metatron nodes and code; we list here all the changes, regarding all the Metatron nodes affected
SUS
The following changes have been introduced on the SUS* nodes:
SUS_PR.py is not anymore a specific implementation but is now identical to all the other SUS* nodes by only importing the contents of SUS.py;setOPTIC(optic) function has been introduced in SUS.py and it is called just after the "from SUS import *" on every SUS_*.py file. This is to avoid the error raised by SYSTEM being undefined at documentation generation time (via make html);@handle_exceptions decorator has substituted the try/except sections;ALIGN* and MISALIGN* states have been made consistent by using in both cases the sequence:
.ini file and the current position of the mirrors (from optical levers) is calculated;SUS*.ini files have been updated by leaving only the entries:
SUS*.ini files only contains references to the actual positions of the mirrors (as from optical lever channels on the DAQ) and no more references to the corresponding DSP setpoint (which may differ).
Overall tests have been made this morning by stopping all nodes, restarting them (and thus have them all in state INIT) and then bring the ITF_LOCK node to LOCKED_RECOMBINED (several times, including also the FmodERR tuning sequence).
ALL *_LOCK nodes, with the exception of OMC_LOCK
META_library.py for the management of stalled nodes, Python exceptions, etc...The try/except blocks have been removed and are not needed anymore for these purposes;root' logging level has been removed, as it was instantiated but not used;DOWN state: this means that if you want to use some node 'by hand', just put its manager to DOWN and you should be able to use it; if you can't, please report the issue;| INDEX | STATE TYPE |
|---|---|
| 0 | INIT |
| 1 | DOWN |
| 2, .... 9 | (MIS)ALIGNING |
| 10, 11 | reserved |
| 12, ... 19 | (MIS)ALIGNED |
| 20, ... 39 | ACQUIRE |
| 40, ... 59 | LOCKING |
| 60, ... 79 | LOCKED |
The corresponding ensembles {ALIGNING, ALIGNED} and {ACQUIRE, LOCKING, LOCKED} have the last digit in common; this should be hopefully helpful for anyone who will go index-hunting on the DAQ.
LOCKED_ON_B7_BOOST_ON), and the corresponding error signal/photodiode used for the purpose in its name as well (e.g., LOCKED_HF_B1p_B4_BROAD)ACQUIRE state and not in multiple random places;NARM_LOCK / WARM_LOCK
These nodes are mostly unchanged, apart from the common changes and the following:
(MIS)ALIGNED_NORTH_END and (MIS)ALIGNED_NORTH_ARM (with their own transient -ING states, and the same applies to the WEST arm node), with the purpose of automating the PRNI/PRWI/CITF configurations (more info on those later in this entry); note that the (MIS)ALIGNED_NORTH_END state effectively realigns the Input Mirror;MICH_LOCK
This node has the same structure as before, but the mess of configurations and configuration names has been polished as far as possible. Not all the configurations have been tested, but the few ones that we are currently using; in any case, the logic for the configurations is exactly the same, so failures will have to be cured updating only the parameters, as probably the ITF conditions have changed in the meantime (threshold, phases, etc..); all the gains have been renormalized w.r.t. the new Beam Splitter magnets & coils.
In particular, the mid-fringe configuration we are using now is the LOCKED_HF_B1p_B4_BROAD state.
Some paths have been kept but deactivated (using the request=False directive in the state class), because they haven't been used in a long time, and because the maximum number of states which fit in the drop-down menu of the Metamedm screen is 15...
CARM_DARM_LOCK
This is the first new node we introduced; this node manages NARM_LOCK and WARM_LOCK, so unless you want to do unusual stuff, you should be able to just use this one; the starting point for this node was all the CARM/DARM stuff in ITF_LOCK, but there are new features:
.ini file will be enough;MISALIGNED_END_MIRRORS, MISALIGNED_ALL_BUT_NI, MISALIGNED_ALL_BUT_WI states (and -ING transients) to ease the automation of PRNI/PRWI/CITF from ITF_LOCK; these states do nothing but request the corresponding new states to NARM_LOCK and WARM_LOCK;LOCKING_ARMS and LOCKED_ARMS without killing the lock of one surviving arm;cm commands' timing and ramptimes;ITF_LOCK; the CARM_MC_SET offset is not read anymore from the configuration file, but is computed and removed online during the lock and written back on the configuration file, in case of need;PRCL_LOCK
This is the second new node we added, which handles the lock of the PRCL degree of freedom; features:
MISALIGNED_PRM state, which is requested by ITF_LOCK during the lock of the arm cavities; this state lies on its own path;ALIGNED_PRM state is on the path for locking the PRNI/PRWI/CITF configurations; when ALIGNING_PRM, the Drift Control is automatically turned off;ITF_LOCK that requests the needed mirrors to align/misalign;.ini file of this section, without the need of implementing new logic or even new states in this node; the same applies to the correspoding paths in MICH_LOCK;ALIGNED_PRM state; the Drift Control is turned off at the same time as the request for the PR mirror, like in the standalone state;PRCL_LOCK, which is PRCL_LOCKLOSS. This is a 'waiting room' before going to DOWN, which is not used internally but is requested by ITF_LOCK during the main PRITF path: if we lose PRCL lock, nothing special happens and PRCL_LOCK starts over from ACQUIRE_*; but if we lose everything during the realignment of PR and every node must go to DOWN, PRCL_LOCK goes here instead, where we check that the PR mirror has finished its movement before requesting another one, and then we "jump" to DOWN safely. In this way we avoid that SUS_PR node computes unreal and possibly dangerous deltas between DAQ and DSP with the result of kicking the PR mirror in random positions; this is helpful also foreseeing auto-relocking capabilities. In any case, this state turns off PRCL loop and actuation as the DOWN state does.ITF_LOCK
The main node has been somewhat simplified, and now really relies on managed nodes:
DOWN state asks all the DOF nodes to go to DOWN themselves; after that it doesn't steal the nodes back and you can use the managed nodes by hand;DOWN: for example, if MICH and PRCL are lost, but CARM/DARM survive , there is no need of starting back from scratch, but we can try to resume mid-way;LOCKING_ARMS state requests the CARM_DARM_LOCK node to lock the arms, MICH to stay in DOWN and PRCL to misalign the PR, unless the PRCL_LOCKLOSS situation described above; in this case the node awaits the PRCL_LOCK node to jump outside PRCL_LOCKLOSS, and then the PRM gets misaligned;LOCKED_RECOMBINED is the new, proper name for the old STEP3 (NArm + WArm + MICH@HF with B1pB4 Diff over Sum);LOCKING_RECOMBINED state has the same failsafe for the PR mirror as LOCKING_ARMS: this is because no node can discriminate in which basis the arms are locked so, if we lose only MICH and PRCL during the realignment of PR, we fall back here and we ask again the PR mirror to misalign; this is complementary to bullet #3;LOCK_CARM_DARM, but are independent one from the other; nothing special happens on the CARM_TO_MC path, only state requests to the CARM_DARM_LOCK node;LOCKING_PRITF_HF state the MICH_GAIN and MICH_SET are adjusted to reflect the different ITF status; when we will move towards dark fringe, the next-to-be-written states will be the place where to change these parameters again, rather than the MICH_LOCK node;
We tested extensively all the modifications and new features and found no particular problems regarding Metatron itself. The real ITF configurations that we tested (multiple times) are:
You can find a scheme of the new node hierarchy in Figure 1, while in the attached file there are the state graphs for each node in its current state.
Both the old and the new Metatron userapps have been saved in the SVN and tagged as v1r0 and v2r0 respectively.
The scripts generating the Metatron documentation have been updated to take into account the Python modules which have been added by Diego and Franco.
The status DAQ channels have been updated as well to incorporate the changes in the Metatron node states and indices. The CARM_DARM and PRCL status channels have been added to the existing ones:
V1:DQ_META_STATUS_BS
V1:DQ_META_STATUS_CARM_DARM
V1:DQ_META_STATUS_ITF
V1:DQ_META_STATUS_MICH
V1:DQ_META_STATUS_NARM
V1:DQ_META_STATUS_NE
V1:DQ_META_STATUS_NI
V1:DQ_META_STATUS_PR
V1:DQ_META_STATUS_PRCL
V1:DQ_META_STATUS_WARM
V1:DQ_META_STATUS_WE
V1:DQ_META_STATUS_WI
A new server USGS is running on stol03.
Since few hours StToStol03In is not able to sent correctly all frames
2017-03-29-13h48m25-UTC>WARNING-FdIOGetFrame: miss 62 seconds between 1174830454.0 and 1174830516.0
2017-03-29-14h26m54-UTC>WARNING-FdIOGetFrame: miss 61 seconds between 1174832763.0 and 1174832824.0
2017-03-29-15h24m22-UTC>WARNING-FdIOGetFrame: miss 61 seconds between 1174836212.0 and 1174836273.0
The latenty at the StToStol03In increase slowly until 60s to comenback to 5-6s
Stopping this USGS server seems to allow to recover a the same latency for the StToStol03
This server should run on an other host or at least with a lower priority as the stol03 storage servers .
On stol03 there is narnaud2 processes still running like
PID PPID USER TT PSR %CPU NI PRI POL WCHAN VSZ SZ ELAPSED COMMAND
2496 42467 narnaud2 pts/8 17 0.0 0 19 TS wait 117220 29305 1-00:22:54 /usr/bin/python ./seismon_run_info
13590 42496 narnaud2 pts/8 12 94.0 0 19 TS ? 376540 94135 00:01 python seismon_info -p /virgoDev/SeismicMonitoring/seismon/seisapps/seismon/input/seismon_params_earthquakesInfo_V1.txt -s 1174839120 -e 11748
I made some trials with or without the USGS server running
It appears that we lost data even if the USGS is not runnning. To improve the situation I reduced the rawfull frame file time length from 200s to 150s after that no data were lost.
I try again to start the USGS server with a lower priority but each time this server is running the latency of the StToStol03IN server start to increase slowly . So I decided to stay with the USGS server stopped.
Investigations inprogress
All processes related to the seismon framework have been turned off on stol03 shortly before 11:00 local time and moved to another, non DAQ-related, machine.
Tonight we have reliably achieved a MICH offset of 0.02, or 98% of dark fringe. At this point we have handed DARM off to B1p_6MHz_I, and tried a few different ways to hand MICH off to an RF signal. We have observed the carrier reflected power to reach a minimum around a MICH offset of 0.03. The steps to move to 98% dark fringe and hand DARM off to B1p are automated in metatron.
Briefly tonight, we reduced MICH to an offset of 0.01, or 99% of dark fringe. At this offset the recycling gain was 33 and the arm circulating power was 65kW. This was done around 20:45:40 UTC and lasted for about ninety seconds.
The biggest piece of new information from tonight is that the B2 18MHz signal is not good for PRCL. We suspect that this signal experiences a sign flip as the 6MHz sidebands become critically coupled in the PRC. We have switched the PRCL locking to use B2_8MHz_I, normalized by the sum of B1p and B4. We have retuned the gains in the ITF_LOCK states to use this signal. The changing demod phase of B2 18MHz explains the problems that were observed by the morning shift.
In Figure 1, you can see the demod phase monitor of B2 18MHz move by more than 45deg as the MICH offset is reduced below 0.2. In Figure 2, there is a lock using B2 8MHz for PRCL -- here, the 18MHz signal is out of loop, and the phase goes through a complete sign flip around a MICH offset of 0.02. The phase of the B2 8MHz signal remains the same throughout the offset reduction -- this is surprising, since we expect this signal to experience a sign flip when the carrier becomes critically coupled.
In Figure 3, Diego has measured the optical gain for MICH and PRCL as a function of MICH offset. Our normalization for B2 8MHz works reasonably well, the loop gain does not change much as the offset is reduced.
At 98% dark fringe we should be able to handoff MICH and DARM to more robust signals. For DARM this is easy; we phased B1p_6MHz and made the switch, and saw a dramatic reduction in the DARM and MICH noise, see Figure 4. But, for MICH, things are tricky: the B4 6MHz Q signal has a strange offset that is *opposite in sign* to the transfer function at 50Hz, and the transfer function itself appears to have some unexpected shape at low frequency, which could be explained by a pole below 10Hz. We don't expect a pole there for MICH -- although, Matteo pointed out that when MICH is sensed by the dark port it should experience a pole from the arm cavities, see Eq. 9 of Fritschel et al. 2001. We should measure the loop shapes at 98% dark fringe, provided the lock duration can be improved with alignment servos.
We applied an offset to the B4_6MHz_Q signal and tuned it to match the MICH offset, and handed off the signal. This succeeded several times, but we still haven't reached dark fringe. An example of the handoff is in Figure 5 -- notice how, when we move off the DC error signal for MICH, the alignment fluctuations in the cavity are no longer suppressed by the loop. In Figure 6 we zeroed the MICH offset, but this didn't really move us towards dark fringe, since the B4 6MHz Q signal still has its own offset. We tried ramping this other offset a few times, and the dark port got 'darker', but the lock didn't hold -- possibly the PRCL gain increases as we move towards the true dark fringe.
The new setpoint for the BS drift control worked very well, but the lock duration is entirely limited by alignment. We can see the BS alignment degrade and generate a TEM10 mode in the B1p camera. Our locking would be much smoother with high-bandwidth loops on the BS and arm cavities.
Something to do: handoff DARM to B1p PD1, instead of PD2. There's more light there.
> The steps to move to 98% dark fringe and hand DARM off to B1p are automated in metatron.
PyItfStatus has been updated and restarted to account for these new states.
The first plot attached shows the evolution of the DC powers during our lowest controlled MICH state from last night. (I was mistaken in the earlier entry, in fact we reached a MICH offset of 0.007, or 99.3% of dark fringe, for more than a minute.) It's a sign of progress towards dark fringe that it's better to plot the x-axis on log scale.
Again, this is using a simple model of the PRC+Arms. The B1p curve is in good agreement with 3% round trip losses in the PRC. The B2 DC curve shows a minimum of the reflected power around 97% of dark fringe, and the depth agrees with 92% mode matching. The model doesn't fit the B2 curve on the other side of the critical coupling point, not sure what's going on there. Some of the mismatch could be from alignment, as the PR loop could be following drift of the beamsplitter.
The second plot attached shows the carrier recycling gain, measured using the arm powers, assuming an un-recycled power of 0.41mW on B7 DC and 0.38 on B8 DC. The recycling gain at each MICH setpoint is, e.g., B7_DC / 0.41mW * T_PR, where T_PR is the transmission of the PR mirror, 0.04835.
Triggered by a discussion at a recent Detchar meeting, I've setup the webpage https://scientists.virgo-gw.eu/LockLosses which monitors the lock losses identified by looking at the Metatron status flags -- see https://logbook.virgo-gw.eu/virgo/?r=36373 for details about these channels. The webpage is updated every few minutes as new raw data frame files get available. For each lock loss, one gets the GPS of the first transition from a "locked" state to a "down"/"init" state reported by a Metatron node, the conversion to UTC time, a set of plots in png format and some information gathered from Metatron logfiles (see this entry).
The initial set of plots was provided to me by Diego; it can be "easily" changed and additional information can be added on request.
There is a plan to move this quick and dirty set of scripts to a better and more permanent framework.
Following a discussion at last Friday's DetChar meeting, the following variables flagging lock losses have been added to the DAQ last night around 23:10 LT.
V1:DQ_META_LOCK_LOSS_CARM_DARM
V1:DQ_META_LOCK_LOSS_ITF
V1:DQ_META_LOCK_LOSS_MICH
V1:DQ_META_LOCK_LOSS_NARM
V1:DQ_META_LOCK_LOSS_PRCL
V1:DQ_META_LOCK_LOSS_WARM
The flag value is 1 when a lock loss is detected -- 0 otherwise; -1 if input information is missing.
The flags are based on the status of the corresponding Metatron nodes. A lock loss is defined as (current status == down or init) && (previous status == locked).
These six channels are computed independently. The next step(s) will be to use them to process automatically data around the lock losses. Ideas and comments are welcome.
Tonight I updated all the main Metatron nodes, and ITF_LOCK as well. Here is the summary of the update with a reminder of the updates that were already done earlier today, just to have all the information in one place:
META_library:
DSP.rampattribute(GNAME,value,ramptime)
CARM_DARM_LOCK:
LOCKED_CARM_SLOW path with the updated configuration; this is a follow-up state to both LOCKED_CARM_ON_MC and LOCKED_CARM_SSFS; if using this node manually (but this is a general rule) look at the graph and remember that the shortest path will always be preferred;LOCKED_DARM_B1p_6MHz path in preparation for the near future
MICH_LOCK:
LOCKED_HF_B1p_B4_FINAL state has a negative low threshold for B1p_DC, to avoid unlocks due to untriggering;
PRCL_LOCK:
LOCKED_PRITF_HF_B2_18_FINAL state which is requested at the same time as the MICH one;
ITF_LOCK:
DOWN state:
DOWN and the B7 and B8 photodiodes are switched to PD1;LOCKING_SSFS; here it was added the check of the QPDs' Vbias, as it is a rather slow operation done via telnet so it's best to engage it a little earlier than when they are actually needed;CARM_SLOW path has been added to the main sequence; beware it is still optional for the time being, so if you directly request a state further along the chain, it will be skipped as it would make the path longer;CHECK_QUADRANTS state is added just before the PRITF path; this is not requestable, but it will be passed through automatically; this is both because it does nothing interesting if one doesn't go to PRITF, and because the states' list has a (low) maximum number of states which is 15; anyway, opening the full states' list with the "all" button should make this available as well;LOCKED_PRITF state (no more "_HF" as it is not actually Half Fringe but 0.7), after PRCL is locked the loop gains are adjusted, the driving matrix for MICH_CORR is set, and the galvos are enabled; at the end, both the PR and BS loops for Automatic Alignment are engaged;PRITF_MICH_OFFSET_0_5 asks for the transition at half fringe; we go through the REDUCING_MICH_OFFSET_0_5 state, which actually does the transition to half fringe, settings gains, changing UGF line amplitudes, turning on the UGF servos and requesting the FINAL states for MICH and PRCL; at the end, we fall in the PRITF_MICH_OFFSET_0_5 state; this is the same LOCKING/LOCKED logic which is present in all nodes, which makes clear that the transition is completed when we actually enter (i.e. it becomes green) a state where nothing is done; otherwise it would be possible to ask for following states way too early, given the rather slow ramps we do at this point; beware that due to some complexity, the aforementioned LOCKED_PRITF state does not follow this logic yet!PRITF_MICH_OFFSET_0_3; the logic is exaclty the same as before, and the same applies for the other pairs for fringe offsets 0.2 and 0.1; not all the pairs do the same things (gain, lines, etc...) but they are coded as a "template", where the unneeded parts are commented in both the Python script and the configuration file; I extensively tested the transition directly from MICH_SET 0.7 to 0.3, and the configuration file is already set to skip half fringe (basically it is a matter of ramptime);B7B8_PD_SWITCH state, which switches B7 and B8 from PD1 to PD2; this is also not requestable, for the same reasons as CHECK_QUADRANTS;PRITF_MICH_OFFSET_0_1 is the last state automated for now, and I reached it reliably during all the tests; ITF_LOCK.ini configuration file; the structure of the sections now is:
B7_B8_CALI contains the weights for PD1 and PD2 of B7 and B8, and the ramptime for the switch;UGF_SERVOS contains the target UGFs for the loops and the initial line amplitudes;PRITF contains the parameters used to lock PRCL at MICH_SET = 0.7, gains and driving matrix weights;PRITF_SET_0_* sections contains essentially the same parameters (loop gains, UGF line amplitudes, etc..); the commented ones are the ones unmodified from the previous steps; this works as a reminder to uncomment the corresponding part in the Python code.
Please close and reopen any of the nodes that have been modified that you have in your sessions, as the states' lists have changed!
PyItfStatus has been updated to reflect these changes and restarted around 15:20 LT.
The past few days have been unusually windy, making the control of the interferometer more difficult. To quantify this observation, we've looked back at the wind speed data collected over one year. Indeed, we had three days with not only high wind speed peaks, but also high average wind speed.This can be seen in the attached picture.
On the three plots:
This morning we tried to recover the system after the shutdown of yesterday. We had to realign the arms and to tune the phase of B8. The lock of the cavities however was not very stable because the corrections suffered from low frequency oscillations that saturated the drift control unlocking the cavities. Figure 1 shows the comparison of the corrections from today and during a normal day. It can be seen that at low frequencies the correction is higher. With the drift control off it manages to survive a bit longer (few minutes more). We called Valerio so he could check wether this low frequency oscillations were coming from the suspensions movement due to the wind. He checked the controls and nothing seemes out of ordinary.
We however noticed an interesting behaviour: when one cavity was unlocking due to the wind, the other would unnlock just after without any good reason. We checked several unlocks like this (two GPS: 1168515450, 1168516439) and it can be seen that in all cases both states are spaced by 9 seconds, which seems quite suspicious. This might be some protection written in metatron?? To be understood!
We let the system only with both cavities locked in order to keep the alignment but not with MICH to prevent the BS to be excited.
A script merging the logfiles from several processes in a given time range is now available: /virgoDev/Automation/userapps/mergeLogs.py
For each line, the name of the process which generated that log is added at the end of the line between brackets.
Example: 2017-01-15-11h37m24-UTC>WARNING-One arm has unlocked! Going to DOWN state [CARM_DARM_LOCK]
The syntax to use it is the following:
python mergeLogs.py <time start> <time stop> <output file> <name of the first process> <name of the second process> etc.
The
a GPS timestamp (10 digit-long),
the format used in the logfiles (e.g. 2017-01-15-11h39m37)
or a long string concatenating the date and time: YYYYMMDDHHmmss (e.g. 20170115113937)
Example (corresponding to the analysis done by Bas by hand):
python mergeLogs.py 1168515438 1168515498 mergeLogs.log LSC_Acl CARM_DARM_LOCK NARM_LOCK WARM_LOCK
produces the following output:
Reading and decoding arguments...
time_start = 1168515438 (20170115113700) -> time_stop = 1168515498 (20170115113800)
output_file = mergeLogs.log
List of processes: ['LSC_Acl', 'CARM_DARM_LOCK', 'NARM_LOCK', 'WARM_LOCK']
Extracting relevant information from logfiles...
Process LSC_Acl, log_directory = /virgoLog/VirgoOnline/LSC_Acl
Extracting lines from file /virgoLog/VirgoOnline/LSC_Acl/LSC_Acl_2017-01-14-18h45m49-UTC.log
Process CARM_DARM_LOCK, log_directory = /virgoLog/Automation/CARM_DARM_LOCK
Extracting lines from file /virgoLog/Automation/CARM_DARM_LOCK/CARM_DARM_LOCK_2017-01-12-11h01m38-UTC.log
Process NARM_LOCK, log_directory = /virgoLog/Automation/NARM_LOCK
Extracting lines from file /virgoLog/Automation/NARM_LOCK/NARM_LOCK_2017-01-07-07h43m48-UTC.log
Process WARM_LOCK, log_directory = /virgoLog/Automation/WARM_LOCK
Extracting lines from file /virgoLog/Automation/WARM_LOCK/WARM_LOCK_2017-01-07-07h43m49-UTC.log
Done! Time used to merge the logfiles: 6839 ms. 386 lines written in output file mergeLogs.log.
When the BNS range goes to 0, hoft gets apparently missing as well -- see plot for the last occurrence, about 1 hour ago. The BNS range has been scaled down by 1e-19 to appear on the same plot as hoft.
I was just preparing a similar entry.
The SAT channels are sometimes missing, and in this case the hrec actuation model is swapped from LN2 to LN1 and back to LN2 in a few 10's of seconds.
On the figure, one can see when the channels have been missing (arrows on the two last plots). It has indeed been detected by hrec (see the flags in plot 2, + hrec log file).
For the first event, some other quality flags were also triggered and hrec was not reconstructed during a short window (h(t) and the range were both 0, see 3rd and 4th plots).
For the next three events, hrec was not stopped but there were glitches every time (see 3rd plot).
By double checking the situation, it turned out that the suspected wrong server configuration has always been correct.
It was instead discovered that there was a zombie process heavily impacting the machine were the Sat tango servers are running. That process has been killed, as reported here.
After this action (more exactly from before, last drop to 0 seems to have occurred around 3 UTC on August 8) no more drops to zero were observed so we may hope this was the root cause but let's have some more statistics.
Few additional notes about the problem:
The "big range drops" due to this problem are only the ones with an error reported by Hrec, that you can see executing, at least for the current session of the Hrec process,
grep ERROR /virgoLog/VirgoOnline/HRec/HRec_2017-07-31-16h19m47-UTC.log
As already stated by others, comparing these times with the BNS range data, they corresponds only to the "zero range drops" and not to the let's say "intermediate" ones.
Being pure software errors, I think it is possible to recompute h(t) offline at any time.