skip to main content

gaia data release 4 documentation

5.8 Gaia Photometric Science Alerts

5.8.2 Data flow: from transits to alerts

The IDT daily processing could not accumulate, and iteratively calibrate, data with the same methods used for the main Gaia data releases. In this section we discuss how GSA proceeded from the on-board measurements taken by the Gaia spacecraft to the eventual publication of transient astronomical phenomena. An overview of the principal steps is described here (see also Figure 5.26).

  • •

    Sources were detected and observed by Gaia as the spacecraft rotation and precession brought them through the fields of view (FOV, Section 5.8.2.1).

  • •

    Observations were downlinked and forwarded via the Mission Operations Centre (MOC) to ESA’s Science Operations Centre (SOC) for processing.

  • •

    SOC collated the telemetry from Gaia and performed the Initial Data Treatment (IDT), extracting positions and fluxes of the sources from the pixel data.

  • •

    The results were copied to the various data-processing centres of the Data Processing and Analysis Consortium (DPAC, Mignard et al. 2008), including the one at Institute of Astronomy Cambridge (DPCI) where alerts processing took place. All data were handled within the GSA PostgreSQL database which made use of the Quad Tree Cube (Q3C) software (Koposov and Bartunov 2006) to enable spatial indexing.

  • •

    GSA processed the data of a given IDT run, filtered the observations by quality, and applied an on-the-fly photometric calibration, detecting transient features in the light curves. GSA flagged events suspected to arise from specific instrumental effects, as well as apparent transients of astrophysical sources that were deemed not worthy of alerts (e.g., known periodic variable stars and Solar System objects). Processing required having all of the IDT output relating to a given source, but IDT’s output was not organized cleanly by source, because to do so would have been expensive and inefficient. In practice, the alerts pipeline ran once per IDT run (typically one day of observation) and could not begin until the last output for that run arrived at DPCI.

  • •

    This resulted in a list of candidate alerts (see Section 5.8.2.3 and after for details). Further filtering removed the alert candidates that were probably due to interference effects from neighbouring sources (Section 5.8.2.6).

  • •

    Human inspection (eyeballing) identified the candidates suitable for publication (Section 5.8.2.8).

  • •

    Finally, the chosen alerts were published immediately to the World Wide Web via the Alerts Website, TNS entries and VOEvents (see Section 5.8.2.9).

Refer to caption
Figure 5.26: Schematic of the data flow and processing performed by the GSA project. Unfilled boxes indicate data, blue boxes (dark grey) show processes. Wet Neural Network refers to the eyeballing, voting and commenting process performed by humans.

Each alert was published with a timestamp corresponding to the observation time by Gaia (in barycentric coordinate time, TCB) as well as the time of publication of the alert (in Coordinated Universal Time, UTC). The latency between the two timestamps is the sum of:

  1. 1.

    the time from observation until downlink of the data to MOC (commonly less than 12 hours, but significantly more in exceptional cases),

  2. 2.

    processing time at MOC and SOC, mainly in IDT (typically around 10 hours),

  3. 3.

    time for automatic processing at DPCI (typically from 3–6 hours, but rising to ∼24 hours for scans that run tangentially along the Galactic plane), and

  4. 4.

    time for human evaluation at DPCI (see Section 5.8.2.8).

Alerts, therefore, typically appeared between 24 and 96 hours after the triggering observations (median delay is 2.8 days, see Figure 5.27). There is also a long tail, which corresponds to the delay between detection in two different FOVs (up to 40 days), discussed in Section 5.8.2.4.1.

Refer to caption
Figure 5.27: Histogram of the delay (in days) between the Gaia observation and the publication of an alert during the observations that have gone into Gaia DR4. The long tail is the result of allowing the two FOVs that we require the alert to be seen in, to be separated by up to 40 days. Twelve per cent of the alerts have a publication delay longer than 10 days. The median delay is 2.7 days and is indicated by a dashed vertical line. Both of these values are approximately equal to those reported for Gaia DR3 (12 per cent and 2.7 days, respectively).

5.8.2.1 Observations and data types used

In alerts processing, use was made of the following IDT data: (1) fluxes measured on each astrometric field (AF) CCD; (2) positions of the source on each AF CCD along and across the scan direction, extracted by means of a PSF/LSF fitting (Point/Line Spread Function, Fabricius et al. 2016); (3) the calculated RA, Dec; (4) integrated fluxes for the transit in blue and red photometers (GBP and GRP), plus the colour derived from their combination; (5) individual pixels of the GBP and GRP measurements; (6) matching of transits to sources in the working catalogue; (7) status flags describing the reliability of the IDT results.

Alerts processing did not use the sky mapper (SM) data, the raw pixel values from the AF CCDs, or the Radial Velocity Spectrometer (RVS) data (although RVS data were reported for 12 alerts, between August 2016 and September 2017, see Section 5.8.2.9).

5.8.2.2 Initial Data Treatment

Initial data treatment, or IDT (Section 3.4.2.1), was a (roughly) daily operation which was run at SOC (near Madrid). IDT was responsible for the generation of self-contained raw data records, and measured the centroids and fluxes for the SM, AF and BP/RP CCDs (see also Table 3.3 and Figure 3.25). In GSA we ignored the SM data, and used the BP/RP in only the filtering, eyeballing and publication phases.

IDT generated the first on-ground attitude for Gaia (OGA1, see Section 3.4.5), and thus enabled computation of source positions in RA, Dec (to a required precision of ≤100 mas; Fabricius et al. 2016). The astrometrically calibrated transits were then positionally matched to the IDT working catalogue.

If a transit could be cross-matched to an IDT working catalogue source, then it was assigned the same sourceId. If it could not, then a new sourceId was generated, and it was added to the working catalogue.

5.8.2.2.1 Updates to the working catalogue

The Gaia data releases (Gaia DR1, Gaia DR2, Gaia EDR3, Gaia DR3, Gaia DR4) were derived from cyclical processing of the entire dataset up to the end of the appropriate data segment (see Section 3.4.2 for more details).

Cyclic processing happened long after GSA transients were raised and published from a given set of observations. Of necessity, alerts processing used IDT’s working source-catalogue to build the light curves.

At the start of operations, the working catalogue was the Initial Gaia Source List (IGSL; Smart and Nicastro 2014). On several occasions, IDT updated its working catalogue to the most-recent cyclic catalogue (see Section 3.2.4). This happened several times in the date range included in Gaia DR4. To accommodate this, the alerts database had to be updated to the new catalogue, such that old and new observations could still be combined into light curves.

There was never a one-to-one mapping between the old and new working catalogues: cyclic processing used an improved astrometric solution, which resulted in splits and mergers of IDT sources to best fit a new clustering analysis of the sky (see Torra et al. 2021). And importantly for GSA, a magnitude criterion was initially employed in the clustering algorithm to help disentangle valid and spurious detections into different clusters. This meant that transits forming a light curve of a published alert could end up assigned to different sources in the new catalogue, especially for a highly variable (e.g., transient) source, where the bright and faint parts of a light curve may appear in the catalogue as distinct sources. An additional algorithm was later added to the cyclic processing in an attempt to improve matching for these variable sources.

When IDT’s working catalogue was updated, we mapped the transits of published alerts to their new sourceIds (if they had changed). Where the update resulted in multiple sourceIds associated with a single alert, and where human resources permitted, the alert light curve was visually inspected including all positionally coincident transits, and if necessary additional sourceIds were assigned to the published alert (these are called mixed-in sources). In this event the published light curve was updated with future transits belonging to any of the sources assigned to the published alert.

5.8.2.3 Preparation of light curves

Each IDT run contained new observations of sources in the IDT working catalogue, as well as observations of new sources. The GSA processing began with ingestion of these new data into the GSA database. Next we built light curves for these sources dynamically. A light curve was the union of all transits assigned to that sourceId by IDT across all runs. If a photometric calibration was available, this was applied on-the-fly (in the database we stored raw fluxes).

A typical IDT run contained on average 60 million transits arising from some 37 million sources, but this number increased dramatically when Gaia was scanning along the Galactic plane (see Figure 5.28).

5.8.2.3.1 Filtering bad transits

We filtered transits from the light curves for a number of reasons:

  • •

    IDT flags suggested improper extraction of flux or position

  • •

    Observations taken when Gaia was in an unstable state (e.g., mirror heating)

  • •

    On-board readout parameters inconsistent with source magnitude: specifically, multiple sources could be observed simultaneously on the same TDI (time-delayed integration) line (de Bruijne et al. 2015). The readout parameters were set to suit the brightest source, and this may have compromised observations of fainter sources (see Section 1.1.3.5).

  • •

    Scatter between individual CCD fluxes significantly higher than expected for the median transit flux, suggestive of interference from a source in the opposite field of view.

Where a transit was rejected, its flux was not used for transient detection. And if an alert was published for the source, the light curve included no magnitude value for the rejected transit (although the time was preserved).

5.8.2.4 Alert detection

For the data included in Gaia DR4, GSA ran four transient detection algorithms on each G-band light curve.

5.8.2.4.1 New source

A source which was not previously seen by GSA, and which reached G≤19 was classified as a NewSource alert candidate, so long as it passed a number of other criteria:

  • •

    The source must have been seen in both fields of view (FOV). This reduced potential contaminants arising from Solar System objects, planets, epochs of initially bad astrometry, or sources in the alternate FOV (e.g., the diffraction spikes of a bright star).

  • •

    The position of the source must have passed through Gaia’s FOV at least 10 times previously without detection (calculated using HEALPix with a resolution of ∼40′′).

A complication was that observations of a NewSource may have been split between different IDT runs. In order to avoid missing these candidates, the detector aggregated all observations of the source in the current and all previous IDT runs. We allowed a window of 40 days in which any detected transits from the same source were included and were potentially from a NewSource candidate. Any transits of the source older than 40 days were considered to indicate a previously known source, and the NewSource detector was not triggered.

5.8.2.4.2 Old source delta-magnitude

The detector was designed to identify large-amplitude variations in sources in the IDT working catalogue. It responded to both brightening and dimming events.

Measurements in the light curve obtained within 40 days of the most recent measurement were analysed for transient behaviour, while the mean and standard deviation of older measurements were taken as a historic baseline for comparison. For historic magnitude, we used the average magnitude instead of a median as it generated fewer spurious events. To become an alert candidate, the light curve must have had at least two transits that differed from the historic mean by at least one magnitude and by three times the standard deviation of the baseline.

To survive as an alert candidate, the source must have been astrometrically robust, i.e., with a standard deviation in position of less than 0.1′′. This helped to rule out cases where transits from two separate (but barely resolved) sources had been mixed. But this may also have had a negative impact on transients which originated from marginally resolved sources such as galaxies.

5.8.2.4.3 OldSourceMeanRms

This detector was similar to the old source delta-magnitude detector, but detected smaller changes in quieter light curves. The minimum change in brightness was reduced to 0.15 magnitudes, but the deviating transits must have changed by at least six times the standard deviation of the baseline flux.

5.8.2.4.4 Skewness/Von Neumann

The Skewness/Von Neumann detector (OldSourceSkewVonN) used the full source history to search for slower photometric variability. It was designed to cover a parameter space that is complementary to the other detectors. It combined the third moment of the distribution of magnitudes (the skewness) with the von Neumann statistic η, defined as the ratio of the mean square successive difference to the variance (von Neumann 1941):

η=δ2s2=1n−1⁢∑j=1n−1(mj+1−mj)2s2, (5.29)

where n is the number of datapoints in each light curve, s is the standard deviation of the light curve, and mj are measured magnitudes in the G-band.

A strong positive serial correlation between data points leads to a low von Neumann statistic, which signifies smooth variability, as opposed to single outliers or non-variable light curves which result in large η values (see e.g., Wevers et al. 2018, Kostrzewa-Rutkowska et al. 2018 for an application to Gaia data). The skewness metric can be used to remove stochastic/periodic variability.

One advantage of the OldSourceSkewVonN detector was that it was well suited to finding relatively low amplitude events with high fidelity, such as microlensing events, variable AGN, and YSOs. The need for a sustained upward/downward trend in the light curve made this detector robust against artefacts and outliers. The downsides were that (i) it required sufficient history – it was only brought into operation in May 2019, and (ii) several outlying data points were required before detection could be triggered, thus there was a delay between the start of the event and its detection.

5.8.2.5 Astrometry

As discussed in Section 5.8.2 GSA uses astrometry derived by IDT. Previously, Wevers et al. (2019) showed that the median separation between the Gaia alert coordinates and Gaia DR2 was 62 mas (with a standard deviation of 40 mas). We independently compared the per-transit RA and Dec positions for 10 461 distinct alerts comprising just over 240 000 individual transits, measured between 15 January 2016 and 31 December 2019, with the positions published in Gaia DR2. We found the separations between the two coordinate systems are reasonably well described by a Rayleigh distribution, albeit with a slight excess in the tail to larger separations, presumably arising from systematic differences between the actual and predicted Gaia spacecraft attitude (i.e., consistent with spacecraft hits, Fabricius et al. 2016). The best fit model resulted in an average offset of 55 mas, with no dependency on magnitude.

We also note that Yaron et al. (2019) compared the transient positions between published Gaia alerts and a number of surveys, finding the following median separations (amongst others): Gaia–ZTF: 0.12′′; Gaia–Pan-STARRS1: 0.12′′; Gaia–ASAS-SN: 1.17′′. They concluded that GSA astrometric measurements would be treated as ground truth, which is to say that the TNS coordinates would be updated to the Gaia positions when available.

5.8.2.6 Filtering spurious alerts

To all intents and purposes, GSA was a catalogue-driven transient survey, because two-dimensional AF pixel data were not available for the vast majority of sources. The strength of many of the extant ground-based transient surveys, including ZTF (Bellm et al. 2019), ASAS-SN (Shappee et al. 2014) and PanSTARRS (Chambers et al. 2016), was that they employed difference-imaging techniques, thus the operators and users could ultimately inspect the images, and decide on the veracity of each event. For GSA this lack of an image, and constraints on the release of Gaia data ahead of formal data releases, pushed us to deliver a high-purity alert stream, whereby a high degree of candidate vetting and rejection was performed in house.

Automated filters were designed to handle the largest number of spurious events, and these evolved significantly, especially during the earliest phases of GSA. Some statistics on the processing of GSA, from run 1046 (earliest data point: 2016-07-11 04:45:53) to run 4724 (latest data point: 2019-12-30 09:35:49) are shown in Figure 5.28. Each run of AlertPipe handled on average 60 million transits for 37 million sources (maximum values can reach in excess of 300 million transits for 200 million sources). The vast majority of these measurements were not unusual, or were easily identifiable as spurious (e.g., big dippers, attitude excursions etc., see below), leading to a median raw detection rate of ∼1000 alerts per run, thus about 30 per million sources showed anomalous flux behaviour. More detailed filtering, particularly exploring the environment of the candidates led to a reduction in the median number of candidate alerts by a further factor of ∼50. Thus about 20 candidates per run survived to the phase of human eyeballing, and about half of these were published.

Refer to caption
Figure 5.28: Histograms showing the time evolution of four quantities during the first ∼3.5 years of operations (all are totals per-IDT run): (1) numbers of transits processed by AlertPipe (in grey), (2) numbers of automated alert detections from AlertPipe (in blue), (3) numbers of alerts presented to eyeballers after additional (mostly environmental) filtering (in red), (4) numbers of alerts published from each run (in black). A 7-day running median filter has been applied to all totals. Note that no records of eyeballing statistics were preserved during the first 2 years of operations.

Not everything which was found by the detectors was something we wished to alert on and publish. There were many types of false positives, some of which were the real behaviour of real sources (such as periodic variables and asteroids), some of which were spurious behaviour of real sources (such as an increase in flux due to a bright star or planet lying nearby in the along-scan (AL) or across-scan (AC) direction from the source), and some were completely spurious sources (such as apparent new sources reported during attitude excursions, which were in effect the misplaced detections of old sources). Here we describe the mitigations we put in place for some of the leading causes of false positive alerts. It is worth noting that there has been significant evolution in the rates of the differing types of false positives throughout the Gaia mission. These arose from (i) changes to the on-board Gaia detection parameters, (ii) improved mitigations in IDT, combined with updates to the working catalogue, (iii) evolution in our own understanding of the data and identification of spurious events. As an example, in the first half of operations during 2016, we employed a source-density map of the sky to reject all transients found in the most crowded regions (the density map was constructed from the GSA database). Once more thorough environmental filters were developed and tested, the use of the density map was discontinued (i.e., by June 2016).

In the following sections we detail the most common types of false positive, which were either trapped and rejected in AlertPipe, or in two cases, flagged for inspection by the eyeball team. The most common types of automatically rejected alerts are summarized in Figure 5.29 covering IDT runs 1046 to 4724 (∼3.5 years). The two classes of candidate false alert that required a human decision were (i) Solar System objects (SSO), and (ii) variable stars in Gaia DR2 and Gaia DR3. The first cases were very rare, and almost always unrelated to the alert (e.g., a faint SSO was reasonably close to a bright CV candidate). For the second case, the human almost always followed the flag, however due to occasional misclassification in the variable catalogues, we did not automatically reject candidate alerts that were cross-matched to classified variable stars in Gaia DR2 and Gaia DR3.

Refer to caption
Figure 5.29: The most common classes of spurious alert that are rejected automatically by the GSA system. Environ: alert rejected after assessment of near neighbour(s) within 10′′, BigDipper: alerting transit is in wing of bright star, which leads to a fainter measurement being associated with the sourceId (i.e., the window is effectively misplaced, Section 5.8.2.6.3), Planet/B*: alert likely caused by influence of bright star or planet in vicinity, AmpCol: likely Mira-like variable on the basis of historic flux-scatter and extreme red colour, FalseNew: source was new to the GSA database, but not new to IDT. This could be due to missing or late arriving data for an IDT run which was not ingested into the database, Parasitic: second FOV source affecting flux within transit for alerting source.

5.8.2.6.1 Environment: Bright stars and planets

While planets and the very brightest of stars can induce spurious alert candidates over a large area (∼2∘ radius; Fabricius et al. 2016), less bright stars still have an impact, albeit over a smaller area around their locations. A bright star can cause a spurious alert candidate as a result of flux from a diffraction spike entering into the window of the alert candidate, and producing an apparent increase in magnitude. The amount of additional flux depends on the magnitude of the bright star, the separation, and the alignment with respect to the orientation of the scanning direction (the spikes are asymmetric and aligned in AL and AC).

Alignments in the AC direction between the bright star and the candidate are particularly difficult to deal with as there is no noticeable impact on the goodness-of-fit statistics of the candidate.

5.8.2.6.2 Environment: Alignments in AL/AC directions

A common arrangement which produced a large population of spurious OldSourceMeanRms candidates was a neighbour between 1′′ and 2′′ away in the AC direction. This alignment could result in a significant amount of flux from the neighbouring source entering into the window of the alerting candidate source and producing artificial brightness variations. This arrangement and its effects are illustrated in Figure 5.30.

Refer to caption
Figure 5.30: Transits of sources fainter than G=13 are one-dimensional with the assigned window divided into different samples in the AL direction with each sample spanning the full length of the window in AC. We illustrate, above and below the acquisition window (left panel), the approximate shape of the LSF provided through these one-dimensional samples. If a near neighbour aligns with the source in the AC direction this can cause an enhancement in the flux recorded for the source without disturbing the goodness-of-fit statistics of the transit in question. This sketch shows the impact of this arrangement on the light curve of the source; how the rectangularly shaped windows can capture flux from neighbouring sources in preferential directions, and hence how this may generate a spurious alert.

The environment of every alert candidate, therefore, had to be examined to reject such artificial flux variations. This assessment was performed in sky coordinates, rather than Gaia detector coordinates. Although sources from both FOVs could have been adjacent in pixel coordinates, their differential motion would vary their separation, and thus led to a variation in flux across the AFs (i.e., within a transit). These alerts were weeded out. The amount of additional flux required to induce an alert candidate depended on the historical magnitude of the candidate and the detector type (faint OldSourceMeanRms alert candidates were the most vulnerable to this effect). Mitigation of this effect depended on the detector, the historical magnitude of the alert candidate and the magnitudes and angular separations to neighbouring stars which are as bright or brighter than the alert candidate.

The exact implementation of the environmental assessment was based on empirically derived magnitudes and angular separation distances as well as computational considerations. Extending the environmental search out beyond 10′′ for every alert candidate was infeasible in terms of CPU time. Instead for the brightest of sources (planets and the top 30 brightest stars) the environmental search was performed in reverse by finding all the alert candidates near them. There was a subset of alert candidates caused by environmental effects, therefore, which survived to the eyeballing stage (see Section 5.8.2.8) should there have been a bright enough star beyond 10′′. However, these were sufficiently few in number, and relatively painless to deal with at that stage.

While not an everyday occurrence, when the location of Jupiter, Saturn or Venus was near the scanning path of Gaia they could have caused many spurious alert candidates by increasing the apparent fluxes of sources. The same was true for some of the brightest stars in the sky. Hence all alert candidates within 2∘ of a planet or one of the top 30 brightest stars in the sky were assessed.

The local (within 10′′) environmental assessment was performed as follows:

  • •

    All alert candidates were rejected if they were not the brightest source by at least 1 magnitude in a 1.5′′ radius about their median position. For DeltaMag and OldSourceMeanRms alert candidates this radius was extended to 2′′.

  • •

    NewSource, DeltaMag and OldSourceMeanRms alert candidates were rejected if there was a neighbouring source within 10′′ which was brighter than G=12 mag.

  • •

    NewSource alert candidates with a source in the AL or AC direction within 10′′ and G<17 may have been rejected depending on the relative magnitudes of the two sources, as spurious non-excluded detections may still have occurred due to the AL/AC PSF spikes of these sources.

  • •

    The rejection criteria for DeltaMag and OldSourceMeanRms alert candidates were stricter, as sources fainter than G=17 in the AL/AC directions may still have caused a brightening in an existing source even if they could not have caused an entirely spurious detection. For these alert candidates, if the alert was due to the brightening of the candidate, any source within 10′′ in the AL/AC direction may have led to a rejection, again depending on the relative magnitudes of the two sources.

  • •

    Note that OldSourceSkewVonN candidates underwent less filtering as the detector was sensitive to long-term changes rather than short term ones produced by unfavourable alignments.

All DeltaMag and OldSourceMeanRms alert candidates with an historic magnitude fainter than 19, and within 2∘ of a planet or one of the top 30 brightest stars in the sky, were immediately discarded. For the remaining alert candidates, their positions in AL and AC with respect to the planet or bright star were evaluated, and any candidates in a predetermined box around the planet were rejected. The size of the box was determined by the area in which there was a clear excess of alerts. The size of the box was larger in area for OldSourceMeanRms candidates, than for DeltaMag candidates, whereas OldSourceSkewVonN alert candidates used the same exclusion region as the DeltaMag candidates if the change in magnitude from the historic magnitude was less than 0.5 magnitudes. If the change in magnitude was greater than this, they were not automatically discarded. The box size was always at least a degree wide in AL and always more than 1.5∘ in AC.

5.8.2.6.3 Environment: Big Dippers

Early on it was noticed that there were large numbers of alert candidates which had alerted due to their associated source having dimmed by several magnitudes. These sources were predominantly in the magnitude range 13≤G≤17. Further investigations revealed the position of the alerting transit to be offset from the median source position. It is thought that these observations are due to bright-star artefacts, where the on-board algorithm detects the spikes of the point-spread function, resulting in a fainter measurement for the same sourceId.

For brighter stars (G<13), these spurious offset transits were successfully excluded by IDT, at least in the vicinity of the star itself, and hence removed from the data-stream for AlertPipe. However, this proved not to be the case for fainter stars and additional processing was required to remove the resultant alerts from the list of candidates. This was done by evaluating the median position of the source and rejecting any alert caused by a drop in magnitude and a transit located more than 0.3′′ from this position. Note a transit which brightened and was offset was not rejected, to allow the discovery of supernovae for which the host galaxies were detected by Gaia. This source of spurious alerts was significantly reduced once IDT updated their algorithm to include the region around fainter sources when excluding transits which were due to this effect.

5.8.2.6.4 Attitude excursion

Large scale attitude excursions were rare events, but when they occurred they could render the data unusable. In GSA, an indicative measure of the reconstructed attitude was achieved per IDT run by accumulating the offsets in AL and AC of each transit of a NewSource alert candidate to the median position of the source in question (we recall that a NewSource alert must have had at least two transits in order to be an alert candidate). The width of the distribution of the AL and AC offset was then compared against that expected. These offsets were also displayed as a function of time, highlighting periods of excess error. Diagnostic plots were created for each IDT run, and formed part of the final verification process described in Section 5.8.2.8. Additionally, as large scale attitude excursions generated many spurious NewSource alert candidates, any NewSource alert candidate which did not have at least two transits located within 0.3′′ from the median position of the source, was rejected automatically. Smaller shorter-term attitude excursions relied on the final inspection step prior to publication for their rejection, where the location of the alerting transits were compared to those of the other transits belonging to the source.

5.8.2.6.5 Prompt particle events

Prompt particle events (PPEs) were high-energy particles, such as cosmic rays or trapped protons from the solar wind, which caused noise in the signal read out from Gaia’s CCDs.

5.8.2.6.6 Parasitic sources

Parasitics were instances where a source from the other FOV happened to be projected onto the same location on the AF CCDs (see Figure 1 in Wevers et al. 2018). As the AC rate was different for the other FOV, and thus the star-path was not parallel, this projection only contributed to a few of the AF CCDs along the transit rather than all of them. It was for this reason that we required eight reliable (as defined using IDT’s flags) AF flux measurements per transit and took the median value (and its error computed by median absolute deviation statistics) for the value of the transit’s flux and its error.

In addition, for the OldSourceMeanRms alert candidates, the goodness-of-fit (GoF) measures of the PSF/LSF to the transits were used as an additional means to reject suspicious candidates. The GoFs belonging to the alerting transits were compared against the expected GoF from the historical transits, and if there were too many significant outliers in the alerting transits the candidate was rejected. Note that the GoF has a magnitude dependence so this method was not applied to the DeltaMag alert candidates.

5.8.2.6.7 Solar System Objects

As part of the DPAC processing system, the predicted Gaia transits of SSOs were calculated roughly every year and shared with GSA (Mignard 2016). The transit times were accurate to <0.02 seconds and accounted for planned changes to the Gaia Nominal Scanning Law.

If an alert candidate was found to be within 2′ of the expected location of a known SSO as seen by Gaia the candidate was flagged as a tentative match, if it was within 2′′ then it was flagged as a probable match. An associated match probability was calculated, which depended not only on angular separation, but also on the magnitude difference between SSO and alert candidate. The flagging did not remove the candidate automatically, but this information was retained for the final verification step prior to publication, see Section 5.8.2.8, where the likelihood that the alert candidate was due to the observation of the SSO was assessed.

5.8.2.6.8 High amplitude variables: known and unknown

Gaia DR2 included classifications for more than 550 000  variable stars, many of which are periodic (Holl et al. 2018). From 2018, we began to compare the alert candidates to these Gaia DR2 tables, and to flag them if already classified. But the Gaia DR2 candidates, drawn from 22 months of data, were not a complete sample, so additional strategies were devised to automatically identify the large numbers of high amplitude variables (such as Miras) which were still being seen in the DeltaMag alert candidates.

Searching for periodicity proved problematic given the poor and non-uniform sampling of the light curve, however, cuts on colours and statistics (indicative of a high scatter in the light curve) were found to be useful in removing many Miras prior to the final verification procedure (see Section 5.8.2.8). These cuts were empirically derived using the data itself, selecting parameter values which would remove as many candidates previously rejected by the final verification step as possible without resulting in the loss of any published alerts. If the median colour (GBP−GRP) of the source was >4.0 and the median absolute deviation (MAD) of the magnitude was >0.3, the alert candidate was rejected. Additionally, if the median colour was >4.4 and the kurtosis of the magnitude >0.4, the alert candidate was rejected. This resulted in a reduction of the order of 40 per cent in the number of high amplitude long period variables surviving to the verification (eyeballing) stage.

5.8.2.7 Salvaged alerts

Our filtering approach erred on the side of caution, to avoid placing excessive burden on the eyeballing process (see Section 5.8.2.8). This suggested that we generated a pure sample of events, but with reduced completeness (see Hodgkin et al. 2021 for more discussion). Kostrzewa-Rutkowska et al. (2018) demonstrated that an independent search for transients in galactic nuclei found bona-fide events missed by Gaia Alerts, however the extra eyeballing required prohibited us implementing this method in daily operation.

To mitigate against some of these lost events, we introduced (27 June 2017) a method for salvaging alerts discovered by our detectors, but rejected by the filters. There were three scenarios which we included, and which were passed to the eyeballers:

  1. 1.

    transients near a known galaxy in the LEDA catalogue (Makarov et al. 2014).

  2. 2.

    transients spatially-coincident with externally reported events. We maintained a comprehensive list of events discovered in other surveys within the Gaia Alerts database (see Section 5.8.2.8 for more details).

  3. 3.

    An additional and independent filter (LWfilter) was brought into operation in July 2018. LWfilter used auxiliary data from other surveys to classify the source (star, galaxy, AGN). Additionally, each alerting light curve was fit with a microlensing model (Paczynski 1996) in order to identify potential microlensing events. BP–RP colour was also used to identify blue flares (e.g., CVs and Be stars) and very red variables (e.g., long-period variables, such as Miras). Alerts were then inspected visually (by the Warsaw team) and could be added into the list for eyeballing. Until the end of 2019 (IDT run 4724, i.e., spanning 18 months) this filter added 323 alerts for Eyeballing, primarily (85 per cent) from the OldSourceSkewVonN detector.

  4. 4.

    We also salvaged candidates that were spatially coincident with a bespoke set of catalogues of YSOs (see Hodgkin et al. 2021 for a discussion). These included: (1) a catalogue of optically selected YSOs, (2) a catalogue of YSOs based on Spitzer observations (compiled from published articles), (3) a catalogue of confirmed YSOs from the Spitzer c2d survey (Young et al. 2015), (4) a catalogue of candidate YSOs from the Spitzer c2d survey, and (5) a list of candidate YSOs published by Marton et al. (2019).

Salvaging did not make a large difference to the numbers of alerts we published. In a two-year period from 1 July 2018 to 30 June 2020 (IDT runs 4026–4956), we published a total of 7568 alerts, of which 945 (around 12 per cent) came through the salvaging route. The breakdown for the four channels listed above was: 1. 187 events, 2. 365 events, 3. 340 events, 4. 53 events. Over half of the candidates were rejected by the filters because there were nearby neighbour sources, or because the IDT cross-match split the event across multiple sourceIds (sometimes in error).

5.8.2.8 Eyeballing

After detection and filtering, surviving alert candidates were subjected to human evaluation using a bespoke web application (implemented in April 2018). Team-members were presented with a series of figures and charts displaying Gaia and ancillary data. These data were used by the eyeballer to rank the candidate with a score between −1 and +1. A comment box was provided for the eyeballer to describe the event for the community, and a dialogue box enabled internal discussion between eyeballers. The published comment was limited to 100 characters, and drew on the eyeballer’s experience to try to describe the event as succinctly as possible. The eyeballer may sometimes have made an estimate of a possible classification. Votes from a minimum of two eyeballers, with a net score of +2, were required for an alert to be deemed publishable. A total of 16 people contributed to the eyeballing of Gaia Alerts over the duration.

The Gaia data made available to the eyeballer included the following items:

  • •

    the calibrated light curve, including the photometric scatter within a transit;

  • •

    the line spread function goodness-of-fit versus time of the alerting source, derived from the image parameter determination in IDT (Fabricius et al. 2016);

  • •

    all near-neighbour Gaia transits within 10′′of the alert, projected in RA-Dec and AL-AC directions;

  • •

    radial distribution of all neighbour transits out to 10′′ (magnitude versus separation);

  • •

    not-calibrated BP/RP spectra showing the evolution of the source before and after alert (if available);

  • •

    the probability of a known Solar System object crossing the FOV;

  • •

    a flag if the source was already classified as a long-period variable star in Gaia DR2 or Gaia DR3 (Holl et al. 2018);

  • •

    HR diagram with the candidate superimposed (when possible).

Between 2014 and August 2018 we also applied a classifier (GS-TEC, Blagorodnova et al. 2014) to the raw BP/RP spectra, and shared the results with the eyeballers. GS-TEC took a Bayesian approach to model observed spectra, using a constructed reference spectral library and literature-driven priors. GS-TEC could classify SN, AGN and stars down to G=19; however, the classifier was disabled due to its significant execution time.

Auxiliary data were parsed from a variety of sources, and presented to the eyeballers, to help understand the context of a Gaia transient detection.

  • •

    To allow a visual inspection of the alert’s location, the Eyeballing App showed the Aladin Lite (Boch and Fernique 2014) and SDSS finding charts.

  • •

    Results of positional queries to the Simbad (Wenger et al. 2000), NED and VSX databases, to determine whether it is an already-known transient or variable object. (The NASA/IPAC Extragalactic Database (NED) is funded by the National Aeronautics and Space Administration and operated by the California Institute of Technology. VSX is the International Variable Star Index database, operated at AAVSO, Cambridge, Massachusetts, USA.)

  • •

    The list of YSOs described in Hodgkin et al. (2021).

  • •

    To aid the rejection of spurious transients arising from contamination by Solar System objects, we also displayed data on nearby planets, their satellites, and minor planets. In the early phases of GSA we used SkyBot (Berthier et al. 2016), but then exploited ephemerides shared within DPAC (see also Section 5.8.2.6.7).

  • •

    Results of positional cross-match against our own tables of transient events, assembled from the hourly parsing of a significant collection of other publicly available transient surveys. An ETL (Extract Transform Load) system gathered discoveries reported by the major transient survey websites: Transient Name Server (TNS), Catalina Real-Time Transient Survey (Drake et al. 2009), ASAS-SN (Shappee et al. 2014), Pan-STARRS1 (Kaiser et al. 2010), OGLE-IV (Kozłowski et al. 2013; Wyrzykowski et al. 2014), MASTER (Lipunov et al. 2010), iPTF (Law et al. 2009), La Silla Quest (Baltay et al. 2013) and IAU Central Bureau for Astronomical Telegrams (CBAT). Every hour, a total of 27 websites were scraped for data that were transformed, cleaned, homogenized and stored in the GSA database. In a similar manner, Astronomer’s Telegrams were automatically parsed and stored in the database, accounting for the very diverse formats in the content of these HTML pages. The data stored in the GSA database for the external transient surveys are shown in Figure 5.31.

  • •

    These data also contained classification information for large numbers of transient events which were shared with the eyeballer, and used at the point of publication. Classifications often arrived to the database after publication of an alert. As part of the publisher app, these could be viewed and the alert record updated (at the discretion of the operator). The bulk of classifications were reported via TNS (supernovae for the most part), but we also received classifications of microlensing events from the Warsaw group through the publisher app (see Wyrzykowski et al. 2020).

5.8.2.9 Publication

Once eyeballing was complete, successful alerts were made publicly available to the astronomical community in several formats: via a dedicated website in CSV, HTML and RSS formats with permanent URLs for every published alert; via the IAU-Transient Name Server; as VOEvents using the 4 Pi Sky broker. The GSA web application (Delgado et al. 2019b, Delgado et al. 2019a) had a public facing side where a set of the information is published, and a restricted area for administration and bookkeeping. The Gaia alerts catalogue could also be visualized on an All-Sky interface developed using Aladin Lite (Boch and Fernique 2014) enabling the display of alerts by time or individually.

Refer to caption
Figure 5.31: Circles are proportional in area to the unique numbers of objects/events (also shown in text), compiled for the GSA database, and colour-coded by the data source. The circle for Gaia is shown for comparison. References for the surveys are given in the text (Section 5.8.2.8). The data were taken from a snapshot of our archive on 24 November 2020.

For a limited time, the set of information published also included a small number of RVS transit spectra (27 spectra for 12 alerts: see Seabroke et al. (2020)). This number was small for several reasons: (1) most detected alerts were much fainter than the limiting magnitude of RVS (GRVS=16.2 mag, while G∼17 mag for the alerts; see Figure 5.32); (2) RVS covered only four of the seven Gaia CCD rows; (3) RVS spectra had a much lower signal-to-noise ratio than the other GSA measurements at the same magnitude; (4) the pipeline used to produce the RVS spectra of alerts did not process blended windows or take into account flux from sources without windows (an issue because the majority of alerts with RVS spectra were close to the Galactic plane). The RVS pipeline now treats these issues and all RVS transit spectra are published in Gaia DR4. This should provide additional useful diagnostic information for the brightest alerts.

Refer to caption
Figure 5.32: Histogram showing the number of published alerts as a function of the alerting magnitude, covering the start of operations (September 2014) until the end of 2019.

Once an alert was published for a source, the alert page is permanent. New data from Gaia concerning that source were added to its light curve as they became available. There were exceptions, such as when the sourceId changed in the IDT working catalogue; these new data were not added in general (except in a few cases where manual additions were made). Hence, the published description of the source was mutable and represented the most recent information available. The state of the source at the time of the alert was preserved in the VOEvent document released to the 4 Pi Sky event broker (Staley and Fender 2016) at the time that the alert was first raised. Once an alert was raised on a source, no second alert can be raised on the same source, even when subsequent events occur, for example in the case of repeated outbursts.

If an alert candidate did not pass the aforementioned filtering/eyeballing steps, future observations could raise another alert for the same source, which was then re-evaluated, possibly leading to publication. Between the IDT runs 1046 and 4724 inclusive there were 556 published alerts which had previously alerted but were not published at that time (out of a total of 9969 alerts, i.e., 5.6 per cent).