The GstLAL Search Analysis Methods for Compact Binary Mergers in Advanced LIGO's Second and Advanced Virgo's First Observing Runs

Surabhi Sachdev, Sarah Caudill, Heather Fong, Rico K. L. Lo, Cody Messick, Debnandini Mukherjee, Ryan Magee, Leo Tsukada, Kent Blackburn, Patrick Brady, Patrick Brockill, Kipp Cannon, Sydney J. Chamberlin, Deep Chatterjee, Jolien D. E. Creighton, Patrick Godwin, Anuradha Gupta, Chad Hanna, Shasvath Kapadia, Ryan N. Lang, Tjonnie G. F. Li, Duncan Meacher, Alexander Pace, Stephen Privitera, Laleh Sadeghian, Leslie Wade, Madeline Wade, Alan Weinstein, Sophia Liting Xiao

I Introduction

The observations of the binary neutron star merger GW170817 Abbott et al. 2017a and the associated short gamma ray burst GRB 170817A by the LIGO-Virgo Scientific Collaboration and the Fermi-GBM monitor and INTEGRAL satellite Abbott et al. 2017b led to an electromagnetic follow-up on an unprecedented scale Abbott et al. 2017c and marked the dawn of a new era of multi-messenger astronomy.

The gravitational-wave event was identified in low-latency by the GstLAL-based inspiral pipeline Messick et al. 2017; Cannon et al. 2012; Privitera et al. 2014. The low-latency detection of the gravitational-wave event made it possible for alerts to be sent out to the electromagnetic facilities in the timely fashion required for the identification of the optical transient. These gravitational-wave and electromagnetic observations support the hypothesis that neutron star mergers are progenitors of short Gamma-Ray Bursts and are followed by transient electromagnetic events known as kilonovae Abbott et al. 2017c. The joint observations allow us to set strong constraints on the fundamental physics of gravity Abbott et al. 2017b, and also provide a new method of probing the cosmological parameters Abbott et al. 2017d. Besides being vital for multi-messenger astronomy, low-latency detection is also useful to freeze the detector state in case of a candidate, so as to collect sufficient data for background estimation before any configuration changes are made in the detectors.

The GstLAL-based inspiral pipeline (henceforth referred to as the GstLAL pipeline) is a matched-filtering analysis pipeline that can detect gravitational waves from compact binary mergers in near real time, and provide point estimates for binary parameters. Matched-filtering is performed by cross-correlating data against a bank of waveform templates formed using general relativity. The GstLAL pipeline is built on the GstLAL library, a collection of GStreamer gst libraries and plug-ins that make use of the LIGO Algorithm Library, LALSuite lal. It uses the GStreamer library to stream the gravitational strain data in real time, performs matched-filtering in the time-domain Cannon et al. 2012; Messick et al. 2017, as opposed to the more traditional frequency-domain Allen et al. 2012 method, and uses a time-domain rather than a frequency-domain signal consistency test Allen et al. 2012. It also employs multi-banding and singular value decomposition on signal templates Cannon et al. 2010; Messick et al. 2017 to reduce the number of filters and samples used in matched-filtering. A multidimensional likelihood-ratio statistic is used to rank the gravitational-wave candidates according to the properties of noise and signal Cannon et al. 2015; Messick et al. 2017. Instead of performing time-slides Allen et al. 2012 for background estimation, a technique that is based on tracking the noise distributions and allows for rapid significance estimation Cannon et al. 2013 is used. Several other low-latency gravitational-wave pipelines are used by the LIGO-Virgo Collaboration to analyze their data, MBTA Online Adams et al. 2016, GstLAL-spiir Guo et al. 2017, PyCBC Live Nitz et al. 2018, and coherentWaveBurst Klimenko et al. 2016.

In this work, we describe the GstLAL-based inspiral pipeline, which was used to detect the binary neutron star merger event GW170817 Abbott et al. 2017a and several binary black hole mergers Abbott et al. 2017e; Abbott et al. 2017f; Abbott et al. 2017g; LIG 2018 during the second observing run of the Advanced LIGO detectors and the first observing run of the Advanced Virgo detector (henceforth referred to as the second observing run or simply, O2). We focus on the updates made in the GstLAL pipeline since the first observing run of the LIGO detectors (O1) Messick et al. 2017. These updates were aimed at decreasing the latency, increasing the sensitivity, and expanding the parameter space of the pipeline.

II Outline of Pipeline Methods

The GstLAL pipeline makes use of matched filtering Waistein and Zubakov 1970; Thorne 1987; Sathyaprakash and Dhurandhar 1991; Cutler et al. 1993; Finn 1992; Finn and Chernoff 1993; Dhurandhar and Sathyaprakash 1994; Balasubramanian et al. 1996; Flanagan and Hughes 1998, which is a method to extract signals from noisy data by cross-correlating the detector output with a predicted waveform signal. In case of gravitational waves from compact binary mergers, the predicted waveforms come from models that use the Post-Newtonian approach Blanchet et al. 1995; Blanchet et al. 1996; Blanchet et al. 2002; Blanchet et al. 2004; Blanchet 2006, and the effective-one-body (EOB) formalism Buonanno and Damour 1999; Buonanno and Damour 2000 to model the inspiral phase of the waveform. These models are then hybridized with the results from black hole perturbation theory and numerical relativity to obtain the full inspiral-merger-ringdown waveforms Ajith et al. 2011; Santamaría et al. 2010; Husa et al. 2016; Khan et al. 2016; Taracchini et al. 2012; Taracchini et al. 2014; Bohé et al. 2017.

The compact binary coalescence waveforms depend on a number of parameters, some that are intrinsic to the source, such as the masses and spins of the binary components, and some that are extrinsic, such as the distance, inclination angle, etc. which are related to the position of the source with respect to the observer. When performing matched filtering, our goal is to maximize the matched-filter output over all these parameters. The extrinsic parameters enter in the waveform only as an overall amplitude and an overall phase. This is true for systems in which spins of the component objects are aligned or anti-aligned to their orbital angular momenta. However, when the component spins are misaligned with the orbital angular momenta, the inclination and polarization angles become time dependent and lead to a non-trivial amplitude and phase modulation of the observed signals. The maximization over the overall coalescence phase in the detector frame is done analytically, and that over the time of coalescence and all the instrinsic parameters is done by brute force. For maximizing over the intrinsic parameters, we create a template bank Owen 1996; Owen and Sathyaprakash 1999; Harry et al. 2009; Ajith et al. 2014 containing a discrete set of waveforms spanning the intrinsic parameter space of our search. These discrete points in the search parameter space are chosen such that the mismatch between any signal and the best matching template from the template bank (arising from the discrete nature of our template bank) is less than a predecided tolerance set as 3% in O2. In the template bank for O2, we consider the spins of the objects to be aligned to the total angular momentum of the system Privitera et al. 2014, although efforts are ongoing to also include systems which have component spins that are not aligned to the orbital angular momentum Schmidt et al. 2012; Hannam et al. 2013; Pan et al. 2014; Harry et al. 2016. The template bank that was used in O2 is described in more detail in III.1. Validation of the template bank is discussed in Mukherjee et al. 2018.

The output of the matched-filter is the signal-to-noise ratio (SNR), the inner product of the whitened data with the whitened template. In the GstLAL pipeline, it is calculated in the time-domain Messick et al. 2017:

We construct a complex signal-to-noise ratio (SNR) time series, real part of which is the SNR time series from the ‘+’ polarized template (xi(t)x_{i}(t)), and the complex part is the SNR time series from the ‘quadrature-phase shifted +’ polarized template (yi(t)y_{i}(t)). We maximize over the unknown time and phase by maximizing over the absolute value of the complex SNR time series over time,

The GstLAL pipeline makes use of the LLOID Cannon et al. 2012; Messick et al. 2017 algorithm, which combines singular valued decomposition with near-critical sampling to construct a reduced set of orthonormal filters with far fewer samples.

Detector data often contain glitches Abbott et al. 2016a (see also III.3), which can produce high peaks in the SNR time series. SNR is not sufficient to distinguish noise from transient signals in presence of non-Gaussian data. Therefore, in addition to recording the peaks in the SNR time series, the pipeline performs a signal consistency check whenever it records an SNR above a certain threshold. This is done by determining how similar the SNR time series of the data around the peak value is to the SNR time series expected from a real signal. The SNR time series is predicted by calculating the auto-correlation between the complex template waveform and itself, and scaling it by the peak complex SNR. This predicted SNR time series is equal to the SNR time series under the assumption that the signal matches the template waveform exactly in absence of any detector noise. This signal consistency test value, ξ2\xi^{2}, is computed by integrating the amplitude squared of the difference between the complex SNR time series and the predicted SNR time series over a δt\delta t time window around the peak, and normalizing it appropriately Messick et al. 2017,

Here z(t)z(t) is the complex SNR time series, z(0)z(0) its peak, and R(t)R(t) is the auto-correlation series. Whenever the GstLAL pipeline records a peak in the SNR time-series that is greater than a preset threshold This SNR threshold was set to 4 for the Hanford and Livingston detectors in O2. For the online analysis, the minimum trigger SNR in Virgo was not determined by an explicit threshold, but instead by a restriction to record at most 1 trigger per second in a given template. For the offline analysis, the minimum SNR threshold was set to 3.5 for Virgo., it records the SNR and ξ2\xi^{2}, the masses and the spins of the template that returned those values upon matched filtering, and the phase and the time of coalescence. Together these quantities form a ‘trigger’. These triggers are divided into smaller bins based on the spins and masses of the templates. Triggers from different detectors corresponding to the same template that are coincident in time within a time window which takes into account the maximum light travel time between detectors and statistical fluctuations in the measured event time due to detector noise are called coincident triggers. In O2, a time window of 5 ms plus light travel time between the detectors was used.

The set of triggers that did not participate in a coincidence when more than one detector was operating are used to characterize noise for their respective (mass-spin) bin. The GstLAL pipeline builds a signal and a noise model as a function of the SNR, ξ2\xi^{2}, the detector(s) that participated in making the set of trigger(s), and the horizon distances of all the detectors at the time of the event. The signal model is constructed by assuming that the signals follow their expected distribution in Gaussian noise Cannon et al. 2013. The expectation value of SNR can be obtained by assuming unform in volume distribution of sources, and the distribution of ξ2\xi^{2} is obtained by assuming a maximum of 10% loss in SNR due to waveform mismatch Cannon et al. 2013; Allen 2005. The triggers are then assigned a log likelihood-ratio which is the pipeline’s detection statistic based on the noise and the signal model for that particular bin. A more detailed description of the likelihood-ratio statistic can be found in III.4. A Monte Carlo sampler is used to draw from these background probability density functions formed from the single detector triggers to construct a mapping from the log likelihood-ratio (L\mathcal{L}) to the false-alarm-probability, FAP(L)FAP(\mathcal{L}), which is the probability of having at least one event with a log likelihood-ratio greater than or equal to L\mathcal{L} under the noise hypothesis Cannon et al. 2013; Cannon et al. 2015.

For a detailed description of these methods we refer the reader to Messick et al. 2017; Cannon et al. 2010; Cannon et al. 2012; Cannon et al. 2015. In the following subsections we describe the developments in these methods used by the GstLAL pipeline since the configuration used during Advanced LIGO’s first observing run Messick et al. 2017.

III Latest Developments

As described in II, template banks are discrete sets of waveforms that ensure that the SNR loss due to signal and template waveform mismatch will not be greater than a pre-specified threshold.

For Advanced LIGOfls second observing run, the parameter space of the template bank was increased from a total mass of 2M⊙−100M⊙2M_{\odot}-100M_{\odot} to 2M⊙−400M⊙2M_{\odot}-400M_{\odot}. Neutron stars were assumed to have masses less than 2M⊙2M_{\odot} with dimensionless spin parameters in the range (-0.05, 0.05). Black holes were assumed to have masses greater than 2M⊙2M_{\odot} with dimensionless spins in the range (-0.999, 0.999). Individual masses of the systems lie in the range 1−399M⊙1-399M_{\odot} with mass ratios in the range 1−97.9891-97.989. The templates were placed in two stages, below a total mass of 4M⊙4M_{\odot} inspiral-only templates of Post Newtonian approximation Buonanno et al. 2009 were layed down first by using a geometric technique Brown et al. 2012 and then using these templates as a seed for the stoachastic algorithm, while above a total mass of 4M⊙4M_{\odot} full inspiral-merger-ringdown templates of effective-one-body approximation hybridized with numerical relativity and black hole perturbation theory Bohé et al. 2017 were placed using stochastic methods Ajith et al. 2014. The original templates that were placed are shown in green, red, and blue in Fig. 1. The colors denote the range of spins covered by the template bank for those masses.

For the purpose of background estimation in the GstLAL pipeline, we first divide the entire template bank into several sub banks, known as θˉ\bar{\theta} bins, that contain “similar” waveforms. This division is done based on their intrinsic parameters. We assume that the templates that belong in the same sub bank respond similarly to noise and noise statistics are collected for all templates in a bin as a whole. The sub banks are typically formed by combining a certain number of “split banks”, which are formed for performing the SVD Messick et al. 2017. In O2, we originally grouped together 2 split banks containing 500 templates each to form the θˉ\bar{\theta} bins. We want the binning method to, a) group together similar templates to use the LLOID method Cannon et al. 2012; Messick et al. 2017 for computationally-efficient time-domain searches, and b) group together templates with similar noise backgrounds for appropriate FAR estimates. Prior to O2, the pipeline used two composite parameters, which are a combination of the four instrinsic parameters, in order to group the waveforms into split banks - the chirp mass and the effective spin. The chirp mass and the effective spin parameter are the leading order terms that describe the phase evolution of the inspiral part of the waveform according to the Post Newtonian expansion.

The chirp mass M\mathcal{M} is defined as:

The effective spin parameter is given by:

where m1m_{1}, m2m_{2} are the masses and χi=S⃗i⋅L^/mi2\chi_{i}=\vec{S}_{i}\cdot\hat{L}/m_{i}^{2} are the dimensionless spin parameters of each component in the binary. S⃗i\vec{S}_{i} are the component-spin vectors and L^\hat{L} is the orbital angular momentum unit vector.

While analyzing the data from O2, it was found that for some analyses, there was an excess in the closed box result compared to the background predicted by the GstLAL pipeline. The closed box result is prepared by looking at time-shifted coincidences between the two detectors, and is expected to closely follow the background model when the pipeline is only treating coincident events as candidates. After investigations, it was found that the template bank, together with the grouping scheme of templates that was used in the first observing run of the Advanced LIGO detectors Messick et al. 2017 for collecting noise statistics was inadequate to construct an accurate background model for the high mass region that was added to the parameter space for O2. As a result, a different grouping scheme was introduced in O2, and the template bank was also modified. In Fig. 1 we see that the density of the templates decrease with the increase in the masses of the binaries. This is a typical feature seen in all template banks. The waveform of a system with smaller masses is longer in the frequency band Advanced LIGO and Virgo detectors are most sensitive in. Therefore even a small change in masses can lead to a big mismatch between two waveforms in this region since there are more cycles in band for which the match has to be performed. This means that we need more waveforms to cover the lower mass region of the parameter space.

We can also see this in the background SNR-ξ2\xi^{2} PDFs for these “bad” bins that the pipeline uses to assign the likelihood-ratio statistic, see Fig. 3. The features marked in white in the PDF happen when there are template present in a bin whose properties are not well represented by the rest of the templates in the bin.

III.2 Zero Latency Whitener

During the first observing run of Advanced LIGO, the pipeline detected a binary black hole merger event, GW151226, with a latency of 70 seconds Abbott et al. 2016b, which means that the signal was detected a mere 70 seconds after it arrived on Earth. This was the first time a gravitational-wave event had been identified by a matched-filtering pipeline in low-latency and was a huge success for the pipeline, which aims to send prompt alerts to electromagnetic observatories in order to facilitate studies correlating astrophysical phenomena. But from the recent joint gravitational-wave and gamma-ray detection of GW170817, we now know that the time delay between gravitational-wave emission and the onset of the following SGRB is approximately 2 seconds, motivating achieving alert latencies below 2 seconds in order to capture the earliest associated electromagnetic phenomena in other bands.

The original whitening filter employed in the GstLAL pipeline contributes to one of the bottleneck processes in the pipeline’s latency, adding up to 32 seconds to the total latency time Messick et al. 2017. The zero latency whitener was introduced in spirit of reducing the latency of the pipeline Tsukada et al. 2017.

As described in II, a matched filter is the inner product between a template waveform and the strain data. However, since the strain data are strongly colored by the frequency-dependent noise of the detector, we ‘whiten’ the inner product by weighting both the data and the template waveform by a factor of 1/Sn(f)1/\sqrt{S_{n}(f)} each, where Sn(f)S_{n}(f) is the single-sided power spectral density of the detector noise. The method of a frequency-domain whitening filter described in Messick et al. 2017 has discrete Fourier transforms and window functions applied to 32-second blocks of input data, with the PSD being updated every 16 seconds. Since a 32-second block is processed every 16 seconds, this filter has a latency between 16 to 32 seconds, which is more than half of the pipeline’s total latency.

To reduce the latency, we need to whiten in the time-domain. To this end, a Finite Impulse Response (FIR) filter-based algorithm to the frequency-domain whitening is introduced. The square root of inverse PSD of a given strain data is used to construct the FIR of a linear phase filter. This filter still requires 16 seconds of data from the future for its evaluation Tsukada et al. 2018. It is not possible to further reduce the latency of this filter without changing the whitening transformation. Therefore an approximation to the original filter is introduced Tsukada et al. 2018, which derives a minimum-phase approximation of the desired filter Damera-Venkata et al. 2000. The matched filter output is insensitive to the phase response of the whitening filter. The minimum-phase whitening filter accurately approximates the amplitude response of the FIR-based filter, introducing most errors only in the phase response. This filter does not use any information from future samples for its evaluation, and is therefore called a “zero-latency whitening filter”. A new windowing process has also been implemented for the new whitening method. The PSD transition is now allowed to occur continuously, and the resulting filter is a linear combination of the newest and next newest filters during their transition. This is recursively applied to the zero-latency algorithm when a new whitening filter becomes available. It is shown in Tsukada et al. 2018 that the causal FIR filter approximation successfully whitens the data, producing zero mean, unit variance, white Gaussian noise. Matched-filter outputs (SNR and ξ2\xi^{2}, II) produced using the zero-latency whitener are compared to those produced using the frequency-domain whitener for both noise and and simulated signal triggers, and we see a good agreement for both. The time-domain zero-latency filter was used by the GstLAL low-latency analysis of O2, and was a significant contributor in bringing down the latency of the pipeline as compared to O1 4‘. The details of the filter, and the consistency checks with the old filter are described in Tsukada et al. 2018.

III.3 Data Conditioning

The output of the matched filter is the SNR ( II), which is the optimal detection statistic under the assumption that noise is stationary and Gaussian. For offline analyses, where the GstLAL pipeline processes archival gravitational-wave data, we use data quality vetoes to flag poor data Abbott et al. 2016a. However, such information is not available for online analyses. Gating on the whitened strain data, whitened h(t)h(t), is one of the techniques adopted by the pipeline to eliminate short transient instrumental noise fluctuations. These fluctuations, also known as glitches, can cause unreasonably high values of SNRs in the data, mimicking gravitational-wave signals, and causing false alarm triggers.

In presence of glitches, the whitened h(t)h(t) may have values higher than the expected values from the coalescences of binary systems that the pipeline is aiming to detect. By construction, whitened h(t)h(t) should have a unit variance. Whenever whitened h(t)h(t) is momentarily greater than a threshold value, set as some multiple of the standard deviation σ\sigma of h(t)h(t), we gate that piece of data by setting the samples around the peak with a window of 0.25 s on each side to zero Messick et al. 2017.

The amplitude of a signal increases with the chirp mass M\mathcal{M} ( III.1) of a binary system. Therefore we set the threshold based on the highest masses we are sensitive to, such that it is higher than the whitened strain amplitude we expect from such systems. We want the threshold to be such that it removes the maximum number of glitches from our data without gating out real signals. During the first observing run, the threshold value was set to 50σ\sigma. At lower threshold values, it was seen that the pipeline started to gate some of the high mass simulated BBH signals that were injected in the data.

III.4 Likelihood-Ratio Statistic

In Advanced LIGO's first observing run, the pipeline could only identify gravitational-wave events when both the detectors were operating. Gravitational-wave candidates were formed by demanding coincidence between the two detectors. This meant that we were blind to signals occuring during single-detector time (defined as time when only one detector is operational). For O2, the online analysis also looked at the non-coincident candidates, and these were also assigned a log likelihood ratio statistic.

Non-coincident triggers found during single-detector time (defined as time when only one detector is operational) are now excluded from informing the background model, since these could potentially be loud signals that were found as non-coincident triggers in absence of data from multiple detectors. Since we use an SNR threshold of 4 for triggers, there are too many non-coincident triggers to write to disk. Therefore the non-coincident triggers are first assigned a preliminary log likelihood-ratio, and only those that have log Lprelim>2\mathcal{L}_{prelim}>2 are considered as gravitational-wave candidates. The likelihood-ratio defined in Cannon et al. 2015; Messick et al. 2017 is still valid for single detector events,

Here, {DIFOnet}\{D_{\text{IFOnet}}\} is the set of horizon distances for all instruments in the network at the time the event is observed, {IFO}\{\text{IFO}\} is the detector that produced the non-coincident trigger, ρIFO\rho_{\text{IFO}}, and ξIFO2\xi^{2}_{\text{IFO}} are the SNR and ξ2\xi^{2} values of the trigger. The numerator and denominator of the fraction in Eq. 7 are factored in the same way as described in Cannon et al. 2015; Messick et al. 2017. In particular the factorization leads to a form,

The probability that a signal yields a trigger above-threshold in only one of the detectors depends on the horizon distances of all the detectors operating at the time, and the duty cycles of all the detectors in the network. The probability that noise yields an above-threshold trigger in one of the detectors is computed from the trigger rates, coincidence window size, and the duty cycles of all the detectors in the network. If more than one detector is operating, and the signal is only seen above-threshold in one of the detectors then that becomes a constraint on the SNR distribution. The single-variable SNR distribution is computed using a Monte Carlo generation of samples described in Cannon et al. 2015. In the case where only one detector is operating, the SNR distribution reduces to P(ρ)∝ρ−4P(\rho)\propto\rho^{-4}.

For assigning the false-alarm rate (FAR), in case of coincident triggers, the pipeline calculates the probability of accidental coincidence by drawing events from each of the single-detector background PDFs. This allows us to measure the likelihood-ratio distribution under the noise hypothesis to values of likelihood-ratio higher than we have actually observed in the experiment. But the non-coincident triggers cannot benefit from the boost due to low probability of an accidental coincidence and therefore the FAR cannot be measured less than 1/(time of experiment)1/\text{(time of experiment)}. GW170817 is an example of the success of including single detector candidate events in the pipeline. It was first identified as a single-detector Hanford event, because of the presence of a glitch in Livingston at the time of the event.

III.4.2 Inclusion of phase and time delay terms in the likelihood statistic

This new likelihood-ratio statistic is defined as follows

This statistic only supports ranking coincidences found with the H1L1 network. Future work for the third observing run will add support for the H1L1V1 network with a goal towards a generalized N-detector network statistic Hanna et al. 2019. Additionally, we make several assumptions when factoring the dependencies of the probability density functions in Eq. 9. We assume that the noise distributions of Δt\Delta t and Δϕ\Delta\phi are independent of each other. We assume that the ξ2\xi^{2} statistic is dominated by instrumental noise, thus the ξ2\xi^{2} term reduces to its previous form given in Messick et al. 2017. We expect that the signal (but not the noise) distributions for Δt\Delta t depend on trigger SNRs as well as on detector sensitivities. The SNR ratio from the two detectors for a signal depends on the position of the source with respect to the detectors and the inherent sensitivities of the detectors. Δt\Delta t for a signal depends only on the position of the source and the location of the observatories. Thus we model the Δt\Delta t distributions as a function of a ratio of SNRs normalized by horizon distances, to factor out the inherent sensitivities of the detectors, so this term only depends on the position of the source with respect to the detectors. Furthermore, we define it such that it is always smaller than 1,

On the other hand, we do not consider dependence on the detector sensitivities when modeling the Δϕ\Delta\phi distributions. We only consider dependence of Δϕ\Delta\phi on Δt\Delta t and network SNR, defined as

With these assumptions, the factor describing the dependence of the likelihood-ratio in terms of ρ\rho, Δt\Delta t, and ΔΦ\Delta\Phi can be written as,

III.4.3 Computing joint SNR PDF for different horizon distance ratios

The horizon distance DhD_{h} is the effective distance at which a binary system is observed with a nominal SNR of 8 Allen et al. 2012. This means that horizon distance is a measure of a detector’s sensitivity to a particular system. The horizon distances included in the ranking statistic of the pipeline are computed for a 1.4M⊙−1.4M⊙1.4M_{\odot}-1.4M_{\odot} binary neutron star system, and their fluctuations reflect fluctuations in the noise spectrum.

One of the factors in the numerator of the likelihood-ratio ranking statistic is the joint SNR PDF given a set of horizon distances of all the detectors at the time of the event, and the set of detectors that observed the event with an SNR above the threshold. Cannon et al. 2015. For candidates that arise from genuine signals, the joint SNR PDF depends only on the ratios of the horizon distances. In the first observing run, the pipeline was limited to two detectors and assumed a fixed joint SNR PDF, corresponding to equal horizon distances. This assumption implies that the fractional change in horizon distance is approximately independent of the mass of the system being observed, which is not valid because changes to the noise spectrum do not rescale equally over the entire frequency range. In the second observing run, this assumption was relaxed by pre-computing joint SNR PDFs for a collection of discrete horizon distance ratios.

III.5 Software injections

III.6 Introducing Virgo

The Advanced Virgo Acernese et al. 2015 detector joined the second observing run of the Advanced LIGO detectors on August 1st, 2017. It operated at a lower sensitivity relative to the Advanced LIGO detectors for the observing run reported here. Initially only the online search filtered over the Virgo data stream. Due to this, there was no minimum SNR threshold for a trigger in Virgo. Instead, it was restricted to record at most one trigger per second per template Abbott et al. 2019.

In the first observing run, gravitational-wave candidates were formed by demanding coincidence (both in time and template) between the LIGO Hanford and LIGO Livingston triggers Messick et al. 2017, [ II]. In the second observing run, this was generalized so that a candidate can be formed by an arbitrary number of detectors. For a network of detectors, we can define different types of coincidences, based on the number of detectors participating in the coincidence. However, due to the lower sensitivity of Virgo in the second observing run and the incompatibility of the likelihood-ratio statistic in the beginning of O2, if Virgo participated in a coincidence with either one of the two detectors, the set of triggers was still considered as a single-detector, non-coincident event. In other words HVHV and LVLV doubles were treated as HH and LL singles respectively. And if Virgo participated in a triple event (HLVHLV triple), it was still treated as an HLHL double. Nonetheless a network of three detectors improves the sky localization of the source. GW170814 was the first gravitational-wave event that had a significant SNR in Virgo. Including Virgo in the analysis helps in reducing the area of the 90% credible region from 1160 deg⁡2\deg^{2} when using only the two LIGO detectors to 60 deg⁡2\deg^{2} when using all three detectors for the binary black hole event GW170814 Abbott et al. 2017g.

For the final offline reanalysis of the O1 and O2 data calibrated with the final versions LIG 2018, the Advanced Virgo data stream was treated in the same manner the same as the Advanced LIGO detectors and also used to inform the likelihood-ratio statistic. To this end, a new method for calculating the likelihood-ratios was introduced which also uses the information from Virgo. This method is fast, computationally efficient and can also be adapted to addition of new detectors in the network. For the detailed description of this method, we refer the readers to Hanna et al. 2019. In the offline reanalysis, GW170818 was detected as a triple coincident event with an SNR of 4.2 in Virgo, 4.1 in Hanford and 9.7 in Livingston LIG 2018.

IV Conclusion

The GstLAL pipeline is a stream-based matched-filtering pipeline that has detected gravitational waves from several compact binary mergers in near real time since Advanced LIGO’s first observing run. In this work, we have described the advancements made in the techniques of the pipeline to reduce the latency, increase the parameter space, analyze single-detector time, incorporate the Advanced Virgo detector’s data stream in the analysis, add new parameters to the likelihood-ratio statistic, and introduce a template mass-dependent glitch-excision thresholding method. These methods were successfully deployed in Advanced LIGO’s second and Advanced Virgo’s first observing run.

V Future Work

Active development tasks aim to maximize the science from future observations, including the nature of prompt electromagnetic emissions associated with binary neutron star and neutron star-black hole mergers. To this end, we are working on further reducing the latency of the pipeline and providing early warning alerts for binary neutron stars and neutron star-black hole coalescences 10 s to a minute before merger, with an approximate sky location so that the electromagnetic facilities can start the process of setting up their observations in advance of the merger making it possible to capture the earliest possible light with narrow field instruments Cannon et al. 2012. We are also working to add a factor to the likelihood-ratio that takes in as an input a source population mass model Fong 2018, which should make the pipeline more robust if we believe that these population models are correct. With an increase in the number of compact binary detections made by the ground-based interferometers, our population models are expected to improve Abbott et al. 2018, and including these as a factor in the likelihood-ratio will in turn aid in an increase in the number of detections.

VI Acknowledgements

LIGO was constructed by the California Institute of Technology and Massachusetts Institute of Technology with funding from the National Science Foundation (NSF) and operates under cooperative agreement PHY-0757058. We would like to thank Tito Dal Canton for provinding helpful comments and suggestions. We would also like to thank Graham Woan for his help in the review of the O2 pipeline. SS was supported in part by the LIGO Laboratory and in part by the Eberly Research Funds of Penn State, The Pennsylvania State University, University Park, PA 16802, USA. DM, JC, PB, and DC were supported by the the NSF grant PHY-1607585. SC was supported by the research programme of the Netherlands Organisation for Scientific Research (NWO). HF was supported by the Natural Sciences and Engineering Research Council of Canada (NSERC). CH was supported in part by the NSF through PHY-1454389. Funding for this project was provided by the Charles E. Kaufman Foundation of The Pittsburgh Foundation. TGFL was partially supported by a grant from the Research Grants Council of the Hong Kong (Project No. CUHK 14310816 and CUHK 24304317) and the Direct Grant for Research from the Research Committee of the Chinese University of Hong Kong. AG acknowledges support from NSF Grants AST-1716394 and AST-1708146. MW was supported by NSF grant PHY-1607178. This paper carries LIGO Document Number LIGO-P1700411.

References