Issue
A&A
Volume 649, May 2021
Gaia Early Data Release 3
Article Number A10
Number of page(s) 18
Section Astronomical instrumentation
DOI https://doi.org/10.1051/0004-6361/202039637
Published online 28 April 2021

© ESO 2021

1 Introduction

Since 2014, the Gaia mission of the European Space Agency has been carrying out an all-sky astrometric and photometric survey (Gaia Collaboration 2016). The results of the first 34 months of mission are published in two stages. The first is the early data release, Gaia EDR31 (Gaia Collaboration 2021). It contains astrometry and photometry for more than 1800 million sources. It is followed by the full Gaia DR3, which will add many more data aspects, such as astrophysical parameters and updated radial velocities, to the same source list.

Gaia is scanning the sky in great circles that on average cover any point on the sky more than a dozen times per year. The Gaia instrument includes two telescopes, separated by 106.5°, with a common focal plane. A sufficiently point-like source, which is transiting the field of view (FoV) of the telescopes, is detected by a sky mapper (SM) and subsequently observed in the astrometric (AF) and photometric (BP and RP) fields, and sometimes also by the spectroscopic instrument (RVS).

The aim of the cross-match (XM) process that we describe here is to identify all onboard detections belonging to the same physical light source on the sky and assign a unique identifier to each such cluster of detections and thus to the source. The logical structure of the XM is summarised in Fig. 1. For the first two Gaia data releases, the XM process was described by Fabricius et al. (2016), with updates for Gaia DR2 by Lindegren et al. (2018). These two papers had a different focus and only included a top-level description of the XM process. The present paper is motivated by the need to provide a more detailed exposition and to describe the improvements for Gaia EDR3 as well. We would like to point out that the source list will be the same for Gaia EDR3 and Gaia DR3, and thus the XM process applies to both releases.

The XM process described here is the full-scale XM creating the source list for Gaia EDR3. This is a complex process that involves 78 billion detections of 2.5 billion sources and covers nearly three years of observations. A simpler XM method is used for the daily processing of newly arrived data. It is described in Fabricius et al. (2016) and is not included here. We do not discuss the identification of Solar System objects either, which is handled by a separate pipeline (Gaia Collaboration 2018c). We therefore treat them just like any other detections and ignore their peculiar nature. Typically, the detection of a Solar System object therefore internally gives rise to a cluster with a single detection and a source identifier of its own, but these single detections are discarded for the data release and are picked up independently by the dedicated pipeline.

The actual data release contains fewer than 2.5 billion sources because some sources have not yet been observed a sufficient number of times to allow for a proper astrometric and photometric solution. This mostly occurs close to and beyond the intended detection limit of G ~ 20.7 mag.

The XM table that links transit identifiers with source identifiers is the same for astrometry, photometry, and spectroscopy. A transit identifier unequivocally labels a field-of-view (FoV) transit, which contains a set of one SM observation, up to nine AF observations, and usually one BP and one RP observation each. A transit identifier is based on the result of an onboard SM detection (in the following called a “detection”). Such a detection is expressed in terms of a “reference acquisition pixel” (giving a rough estimate of the location of the first AF window on the sky) and of a G-band magnitude, and it controls the onboard data acquisition. We decided to use this reference pixel from the onboard detection to associate each detection with a sky position because this simple and robust strategy will work regardless of possible complications of an astrometric observation. In general, the astrometric observations are more accurate in the scanning direction, while only the reference pixel gives (moderately) accurate information for the across-scan (AC) direction. The drawback of using the reference pixel is that the relatively large position errors for the brightest sources (G < 8 mag) go uncorrected into the transit identifier, and close source pairs remain unresolved at XM level.

The clusters of detections constructed in the match process are assigned unique source identifiers. These source identifiers coincide with those used in the previous data releases for the common set of sources. Because the input set of detections grows between processing cycles, inconsistencies between sources cannot always be avoided. It may happen that at a position where we previously had two “sources”, we now only have one, or the other way around. We refer to these cases as “merge” and “split”, respectively. They lead to the assignment of new source identifiers. As intermediate cases, detections may migrate between neighbouring clusters, but this does not lead to a revision of the source identifier.

In the following sections we describe the dataset in more detail (Sect. 2), discuss the way spurious detections are identified and rejected (Sect. 3), the way the XM task is broken down to process-independent patches of the sky (Sect. 4), present the mathematical model for forming clusters of detections (Sect. 5), the changes in the source list between processing cycles (Sect. 6), the validation of the results (Sect. 7), and finally give an outlook on the developments for the processing for future data releases (Sect. 8).

thumbnail Fig. 1

Flow diagram of the XM process. The XM uses the onboard detections and catalogue sources with the latest calibrations and parameters from the previous Gaia DR. The first stage is the detection classifier to distinguish real from spurious detections. It is mainly based on detection information, but uses the position of bright sources to classify detections around them. Then the sky is partitioned into groups of detections and sources. These groups are processed without using any source information to determine clusters of detections that belong to the same source. Finally, each cluster is assigned to an input source, or a new source is created. XM provides a list of matched transits to already known and new sources to the subsequent pipelines, together with a list of rejected transits.

2 Input data

The main input data for the XM process are the onboard detections by the two Gaia sky mappers (one for each telescope, and consisting of 14 CCDs in total). This data stream is divided into data segments, lasting from 3 to 12 months, which are used to identify the data entering in each processing cycle and thus each Gaia data release, as shown in Fig. 2. These data segments are processed several times during the mission at different data processing centres, each with specific tasks assigned. For Gaia EDR3, the data cover 1038 days (corresponding to the first four data segments), from 25 July 2014 until 28 May 2017, with short breaks due to maintenance activities and spacecraft events. The density of detections is reduced after DS-2 because the parameters of the onboard detection algorithm change.

From these onboard detections, the sky coordinates of the observed objects are derived using the latest geometrical calibration of the focal plane and refinements of the spacecraft attitude. The details of the sky-coordinate determination is described inFabricius et al. (2016, Sect. 6.4) and is not repeated here, but we describe in Sect. 2.1 the parameters and statistical properties of the detections and the implications for their treatment in the cluster analysis.

The XM process also benefits from an input source catalogue (hereinafter referred to as the working catalogue) by keeping the identifiers created in previous processing cycles as far as possible. In Sect. 2.2 we identify the small set of source parameters of interest for XM, and we detail the origin of and the update procedure applied on their values throughout the processing cycles. Finally, we distinguish between the contents of the source list we used for the cyclic processing and the source list that was published as part of the Gaia DRs.

thumbnail Fig. 2

Schematic diagram of the data segments since the start of nominal operations in July 2014 up to the Gaia EDR3 publication. New data are received on a daily basis from the spacecraft and continuously enter the Gaia data-processing pipeline. This data stream is partitioned into data segments to identify and coordinate the data entering each processing cycle from which Gaia DRs are produced. In each processing cycle, all accumulated data segments are processed again, superseding any preceding solution. DS-0 covers 313 days and 22.2 billion detections, DS-1 covers 105 days and 8 billion detections, DS-2 covers 250 days and 22.1 billion detections, and DS-3, which is the new data segment for Gaia EDR3, covers 370 days and 25.7 billion detections.

2.1 Detections

For each individual onboard detection, that is, for each detected FoV transit, the XM process derives the sky coordinates using the reference acquisition pixel coordinates in AF1 (the first strip of astrometric CCDs). These reference pixel coordinates are computed on board by propagating the transit time and AC column detected in SM to the expected position in AF1. Based on this information, each transit reconstructed on ground is given a unique identifier or transitId. This transitId is basically a numeric field coding the reference pixel coordinates in AF1, the telescope, and the CCD row in which the object was observed.

The precision of the reference pixel coordinates is limited by the SM pixel resolution and by the precision of the onboard image parameter determination. As described in Gaia Collaboration (2016), each pixel is 10 μm × 30 μm (corresponding to 58.9 mas × 176.8 mas on the sky), whereas the SM has a reduced spatial resolution with an on-chip binning of 2 pixels along-scan (AL) by 2 pixels AC per sample. The positional error used in XM therefore is a few tenths of an arcsec, depending on the scan direction and magnitude. The decision to use the reference AF1 acquisition pixel was made because it is simple and robust: it already provides sufficient accuracy forthe XM purposes. Together with the sky coordinates, the XM determines the scanning angle of the detection (i.e. the angle of the great circle scanned by the spacecraft with respect to north at the position and time of the observation). This angle is 0° when scanning towards north, and 90° when scanning towards east.

However, there are several caveats regarding the reliability of the onboard Gaia detections. Because of the limited resources available on board Gaia, the onboard confirmation algorithms applied for each object detected in the SM is different depending on the estimated brightness and the acquisition mode (Fabricius et al. 2016, Sect. 2). This confirmation process is even skipped in some cases, generating many unwanted spurious detections, mainly around bright sources and for cosmic-ray events. These must be identified and discarded in the first step in the XM chain, as described in Sect. 3.

In addition to the sky coordinates, the XM also requires information about the detection brightness. This information is mainly used to resolve the ambiguity in close-object scenarios and crowded regions, but it is also helpful for providing an initial estimate of the magnitude of new objects that are added to the catalogue for downstream processes. The detection brightness used in the XM is the brightness measured onboard in the SM and has an estimated error of a few tenths of a magnitude. This is also sufficiently accurate for our purposes.

2.2 Source catalogue

The first XM run (on which Gaia DR1 was based) started from the initial Gaia source list (IGSL) with 1200 million entries compiled from the best optical astrometric and photometric catalogues of celestial objects available before the launch of Gaia (Smart & Nicastro 2014; Fabricius et al. 2016, Sect. 6.1). Each entry in this catalogue was given a unique identifier or sourceId. This sourceId is a numeric field to facilitate identifying and spatially arranging it. This numeric field codes a spatial HEALPix index (Górski et al. 2005) and a running number. The reference system for the Gaia source catalogue is the barycentric celestial reference system (BCRS/ICRS; Gaia Collaboration 2018b).

The working catalogue has been updated three times, one for each completed processing cycle and the corresponding Gaia DR. In each cycle, the number of entries has changed (either adding new entries or removing superseded entries), and the source parameters have been replaced using the new astrometric and photometric solutions. Two major updates must be highlighted regarding the completed two processing cycles preceding Gaia EDR3. The first update, in the very first cycle, when the number of entries was doubled compared to the initial source list, reached more than 2500 million entries. The second update included the change of a significant fraction of the source identifiers at the bright end (G <12) (Arenou et al. 2018) and the manual recovery of thousands of stars with high proper motion (HPM) that were found to be missing in Gaia DR1. There is a twofold explanation for the missing HPM stars: the initial source list did not contain sufficiently good proper motion data for these sources, and secondly, the XM algorithm did not yet include a full-fledged proper motion treatment and created several different (new) sources from subsequent transits of those stars. After Gaia DR1, about 3000 new sources extracted from the revised Luyten half-second (LHS) catalogue (Bakos et al. 2002) were added to the working source catalogue in anticipation of the new XM run for Gaia DR2.

With this extension prepared by the Heidelberg ARI team and the algorithm improvements, the XM was able to match and thus recover 2257 of these stars with a proper motion larger than 200 mas yr−1. The remaining unmatched HPM entries were not compatible with the available Gaia detections, and they were discarded accordingly.

In addition to the update on the source identifiers, the source parameters may also show major updates depending on the new detections entering the cycle and the reassignment of the detections done by the XM solution. All these updates may complicate the source tracking in different Gaia DRs, as explained in Sect. 6.

The input working source catalogue for the Gaia EDR3 contains 2583 million sources, of which 1693 million sources were published inGaia DR2 (Gaia Collaboration 2018a), Although a significant number of the non-published sources could be spurious, many of them are real sources with too few matched detections to meet the publication quality thresholds. When we discard these sources in the XM, we would create the same sources again until there finally are enough transits to allow a proper source creation, or unless the detections that triggered their creation in the previous cycle vanish, which means that they become classified as spurious detections as described in Sect. 3. Consequently, these sources were kept. This additionally helps to stabilise the source list between cycles.

We can distinguish several types of sources in the working catalogue according to their status and origin. Most of the sources have been updated by the global astrometric and photometric pipelines in the preceding cycle, but some of the input sources have not been updated by these two pipelines and contain obsolete solutions. Moreover, other input sources have been created in previous XM runs but never updated by any other pipeline across the processing cycles. Finally, there are surviving entries from the initial source catalogue with at least one matched detection but whose source parameters are external to the Gaia processing and have never been updated.

For each type of source, the XM applies a tailored treatment based on the available parameters, the producer, and its last update. Consequently, we use the full set of parameters (including proper motion and parallax) for sources with a global astrometric solution from the preceding cycle, whereas only the sky coordinates are considered for the other sources. On the other hand, no distinction is made for the source magnitude because the threshold applied to this parameter during the source assignment is more relaxed (see Sect. 6).

3 Detection classification

The Gaia onboard detection software autonomously distinguishes point-like source images from false detections using parametrised criteria of the image shape. However, when a high detection probability for sources at the Gaia limiting magnitude of 20.7 mag is reached, it implies that the number of surviving spurious detections increases significantly. A study of the onboard detection capability is provided by de Bruijne et al. (2015).

The spurious detections increase the complexity of the XM and may lead to weird clustering solutions and incorrect source assignments. When the spurious detections are not clustered with other detections, they may trigger the creation of new sources in the XM solution, which will pollute the source catalogue.

Before the XM itself, we therefore classify detections as either genuine or spurious in order to create a list of false detections. Several categories of spurious detections have been found in the data so far, as described in Fabricius et al. (2016), and we consequently need different modules to classify them. For Gaia EDR3, we treat the following cases:

  • Spurious detections around and along the diffraction spikes of sources brighter than about G = 16. Detections are classified as spurious detections when they fall within a predefined set of regions and ranges of magnitude, centred on the bright source. These regions are determined from detection density maps such as shown in Figs. 3 and 4. For very bright objects (G < 6 mag), we even check the detections in the opposite FoV to catch spurious detections coming from unwanted light paths in the instrument.

  • Phantom detections, which are detections considered bright on board (G < 10 mag), but that lack the expected saturated samples in the centre of the SM window. They are caused by confusion of several bright sources by the onboard detection.

  • Spuriousdetections due to cosmic rays, which are rather bright detections in the SM that have very low signal in the remaining AF windows.

  • Spuriousdetections around transits of the major planets. As for the diffraction spikes, we use predefined regions and magnitude limits to identify spurious detections.

  • Detections with odd flux signal profiles in the acquired windows, typically from diffraction spikes. This module analyses the window samples and searches for meaningful point-like signals within the window core region.

  • Detections during periods with very noisy attitude solutions and spacecraft attitude issues.

The categories for which no countermeasures are in place so far include the spurious detections that occur randomly on the sky and are caused CCD defects and unwanted light paths. In general, these detections have poor astrometric and photometric parameters and are filtered out in the downstream processes.

For Gaia EDR3, the total number of rejected detections is 12 553 million, corresponding to 16.1% of all detections. This is a decrease of 4.6% in the overall percentage of rejected detections compared to Gaia DR2 (from 20.7 to 16.1%). This major percentage update is due to the change of parameters in the onboard detection algorithm that was applied after the closure of the last data segment entering Gaia DR2. This update was performed to reduce the volume of spurious detections in the new data segments compared to data segments 0, 1, and 2 (used in Gaia DR2),as shown in Fig. 5. For data segment 3, the fraction of rejected detections is about 5.1%.

Moreover, the total number of spurious detections in the data segments 0, 1, and 2 has increased from 10 737 million detectionsfor Gaia DR2 to 11 294 million detections for Gaia EDR3 in the same time. This increase is mainly explained by the new calibration used in the module that is in charge of treating the diffraction spikes of bright objects. On the other hand, the module analysing the image profiles has also been reviewed in order to avoid rejecting detections of close pairs (separation below 400 mas). Cycle-02 processing showed indications that this module selected valid detections of close objects when more than one peak was visible and the window was not well centred on the brighter peak. Under theseconditions, the module may incorrectly classify some detections that affect the quality of the final astrometric and photometric solutions. We estimate that a non-negligible fraction of these detections remains rejected in Gaia EDR3, and furthermore, some of these close sources may only have a few matched detections. For this reason, a major update will be carried out in the next processing cycle to include the prompt identification of these detections and improve their treatment in the XM and subsequent pipelines (see Sect. 8).

Table 1 specifies the number of rejected detections in each category for Gaia EDR3. Most problems come from the bright sources and the strange image profiles. Figure 6 shows the sky density of spurious detections. It is dominated especially by scanning-law caustics around the ecliptic plane and in dense areas of the Galactic plane. On the other hand, Fig. 7 shows the sky density of the detections that enter in the subsequent stages of the XM. In this case, the areas with a high source density contain more detections, and the great circles due to the Gaia scanning law are less prominent.

It may be unavoidable that we classify as spurious some genuine detections that are non-point like sources, such as extended objects. For such cases, we accept lists of detections of known extended objects, sources near Solar System Objects, and science alerts provided by other pipelines, in order to guarantee that these detections enter the XM processing unconditionally.

Although the majority of the spurious detections are identified by the above-described criteria, some fraction still remains. For this reason, an additional module has been included in Gaia EDR3 to evaluate the quality of the images in the SM and AF windows in each cluster of detections (see Sect. 5.3). This module reviews the classification with a global spatial treatment in order to prevent the creation of new sources from spurious detections.

Finally, previous to the detection clustering, the surviving detections are analysed by searching for potential double detections. With double detection we mean two quasi-simultaneous detections that very likely stem from a spuriously resolved single star. These are therefore not spurious detections, but merely two quasi-simultaneous detections of the same source. If left unmitigated, with both detections entering the XM process, a significant quantity of sources brighter than 13 mag would become duplicated in the source catalogue. Detections from other transits would then be matched to either one or the other source, and we would have an excess of sources. On the other hand, both detections are necessary for the pipelines dealing with the radial-velocity spectrometer measurements to be able to reconstruct the full signal that is divided between the two windows in these cases. Therefore these detections are paired before the clustering, and they are allowed to be matched to the same single source as in previous Gaia DRs (Fabricius et al. 2016, Sect. 6.6). This is in contrast to the default criteria, which force simultaneous detections to be matched to different sources. In each pair, the fainter detection is flagged as a low-priority detection and is not used in astrometric or photometric pipelines.

The criterion for identifying these double detections is based on their pixel separation. The threshold for considering them as double detection depends on magnitude and gradually varies from 13 pixels for G = 5 mag down to 3 pixels for G > 13 mag. For Gaia EDR3 the threshold for the magnitude range 9 < G < 13 has been increased with respect to Gaia DR2. This change has implied significant updates on the source list for this magnitude range, reducing the number of duplicated sources, as described in Sect. 6. Moreover, a total of 68 million double detections with low priority was identified in this cycle. About 99% of them are closer than 2 pixels, whereas about 6% of them are brighter than 13 mag. About 92% of these bright detections are closer than 2 pixels.

thumbnail Fig. 3

Density map obtained by stacking the onboard detections of about 560 objects in the magnitude range 10 to 10.5 during the full Gaia EDR3 time period. The extent of the diffraction spikes, mainly in the AL direction, increases with source brightness. It is larger in the trailing region (to the right) as a result of a charge transfer inefficiency in the CCDs.

thumbnail Fig. 4

Density map obtained by stacking the onboard detections of about 475 objects in the magnitude range 7 to 7.5 during the full Gaia EDR3 time period. The optical diffraction spikes causing the majority of the spurious detections are clearly visible.

thumbnail Fig. 5

Time evolution of the number of spurious detections in the Gaia EDR3 data segments. The number of spurious detections increases when the spacecraft scans the Galactic plane, as expected, and the major discontinuity at revolution 3750 is related to the change in parameters of the onboard detection algorithm (VPU update). The sharp dips are due to interruptions in the detections, and the sharp rises are related to spacecraft events.

Table 1

Total number of spurious detections for each category in Gaia EDR3.

thumbnail Fig. 6

Density sky map (equatorial coordinates) of spurious detections at a pixel resolution of 0.21 deg2. The areas with a high spurious detection density form narrow great circles due to the Gaia scanning law, where Gaia observes more often. The broad circular band is the Galactic plane.

thumbnail Fig. 7

Density map (equatorial coordinates) of detections that are not classified as spurious detections at a pixel resolution of 0.21 deg2. The areas with a high detection density are located in dense regions such as the Galactic plane and the Magellanic Clouds. In addition, the sharp circles due to the Gaia scanning law are again clearly visible.

4 Determination of isolated groups of detections

After the classification and cleaning of the input detections, two further steps are carried out to identify isolated groups of detections and source candidates. Isolated groups are those that can be processed independently from the other detections and have no source candidates in common between different groups. We note that a partition of the sky into small isolated groups is essential because of the huge number of Gaia detections; it is not computationally feasible to handle all these data in a single process.

The first step takes the individual detections seen by Gaia in small time intervals from a few minutes to a few hours, according to the detection rate. Then it determines the observed sky region using the attitude, spacecraft ephemeris, and calibrations and retrieves the candidate sources from the working source catalogue, with their positions propagated to the mean epoch of the input detections.

The source candidates for each individual detection are selected based on their angular distance to the detection. This distance criterion is the same for all sources and selects all the sources as candidates that are closer to the detection than a given radius. In future processing cycles, when the working source catalogue is even more precise, we will consider different criteria for the source candidates, taking advantage of the better precision of sources with astrometric five-parameter solutions. Moreover, we will consider the better accuracy of the detection in the AL direction by using an ellipse with the major axis oriented AC. At this stage, we do not consider the magnitude because we do not wish to discard potential matches to variables sources at this point in the process.

One of the main objectives of these preparatory steps is that all the detections of a given source are assembled in the same group even if the source proper motion is not available because of a poor astrometric solution in the working source catalogue. For this reason, a match candidate radius of 5′′ was selected that balances the wish to avoid creating too large groups on the one hand, and the objective of finding some unknown HPM sources on the other hand. This value was chosen taking into account that Gaia completes a full scan of the sky in six months and that the fastest moving star in Earth’s skies, Barnard’s Star, travels 10.′′3 annually. We note that if a source is moving faster or if the time gaps between consecutive scans are too long, some of its observations might be assigned to separated groups of detections. However, if several scans are grouped together, we should be able to determine a sufficiently good proper motion from the detections in one of the groups, which will enforce the regrouping of all its detections in the next cycle when the proper motion is available in the catalogue and will be applied when the candidate sources are applied.

For an impression of the resolution complexity of this first processing step, using a match candidate radius of 5′′: about 33% of the detections have only one source candidate in Gaia EDR3, whereas 10% of them have more than seven source candidates. The latter is more likely to happen in dense regions, but it may also happen around bright sources where spurious sources in the working catalogue are common.

This first processing step produces a set of preliminary assignments of transits to sources that we called match candidates. In addition, it produces the list of the total number of detections that are matched to each source. Each match candidate identifies the potential candidates in the working source catalogue for each detection and provides the means to assemble the detections in self-contained groups of detections and source candidates, as shown in Fig. 8. We note that this is an extreme case with about the highest star density on the whole sky. The majority of isolated groups contain only one input source in most areas of the sky.

These groups are determined in a second processing step that acts as a bridge between the initial time-based and the final space-based processing (Castañeda 2015). This second processing step starts by loading the match candidates for a given sky region. From the loaded entries, the unique list of matched source candidates is identified and the corresponding global source link counts are retrieved. Based on these data, a recursive process is followed to determine the isolated and self-contained groups of match candidates and source candidates. In a simplified way, the algorithm proceeds as follows:

  • 1.

    Take thefirst match candidate and initialise a new group.

  • 2.

    For eachsource candidate of the current match candidate,

    • checkif the number of loaded match candidates linked to the current source candidate matches the global source link count:

      • (a)

        Match candidates are missing, that is, that are not loaded due to the sky region filtering. The current group is aborted and all collected match candidates are stored for later processing using larger sky regions. We jump to step 3.

      • (b)

        All match candidates have been loaded. For each match candidate not yet in the group,

        • add the match candidate to the group

        • continue the process recursively from step 2.

    • All match candidates of the current source candidate already processed. Check if we have more source candidates:

      • (a)

        Take next source candidate and continue from step 2.

      • (b)

        Close the current group and jump to step 3.

  • 3.

    Take the next available match candidate (not yet processed), initialise a new group, and repeat the processing from step 2.

As can be deduced from this algorithm logic, the recursive process ends when we have classified all the input match candidates into two groups:

  • Closed groups, which are a set of match candidates grouped according to their links to the same group of source candidates. This means that all match candidates of all source candidates of a closed group are in that group and are not assigned to other groups. In this sense, we obtain self-contained and isolated groups of detections and sources.

  • Deferred match candidates, which are a set of match candidates that could not be grouped because further match candidates, linked to the same set of source candidates, are found outside the processed sky region.

This process is initially run in parallel jobs following a partitioning of the sky based on the sky density of detections. In the first run, match candidates are always deferred because the sky distribution of groups of match candidates easily exceed the boundaries of the initial sky regions. This situation is solved by reprocessing all the deferred match candidates with larger sky regions and thus resolving the previous boundary issue. Sooner or later, a last run consisting of a single job covering the full sky is always needed.

As mentioned above, the match radius we used is large enough to keep detections of high proper motion stars in the same group of detections. However, this also increments the complexity of the groups, and occasionally, the groups produced in crowded areas could be too large and complex for the final clustering resolution. This complexity naturally increases when more data segments are added. For this reason, a n algorithm to crop the source candidates was implemented for Gaia EDR3. This new algorithm reduces the size of the largest groups by discarding some of the links between match candidates and source candidates, and it recomputes the groups. Based on a depth-first search technique (e.g. Cormen et al. 2001), the discarded links are the optimum to reduce the size of the group based on the detection-to-source distances and the total number of links to the same sourcecandidate. By discarding these links, the original group is split into subgroups that can be processed later. The links are discarded iteratively until the subgroups contain fewer than a given number of detections and the angular distance is smaller than a maximum value. These limits are selected based on the processing performanceof the subsequent algorithms, and for Gaia EDR3, these limits were fixed to 10 000 detections and 1.′′5.

For Gaia EDR3, we created a total of 1198 million isolated groups of detections, and a total of 109 million sources from the working Gaia catalogue were discarded because no detections were matched to them. These sources did not have any detection within the 5′′ match radius, probably because they are spurious sources created in previous cycles from detections that have been rejected in cycle 3. These results show the importance of the improvements in the detection classifier process to clear the working catalogue from spurious sources (Sect. 3). About 73% of the created groups contain only one source candidate, therefore the number of groups with source ambiguities is small. However, 0.3% of the groups still contain more than 50 source candidates. We note that the number of groups with one source candidate ismuch higher than 30% of individual detections with one source candidate. This is expected because a group with one source candidate only needs the detections of this source candidate, but a group with eight source candidates will need all the detections of these eight source candidates, which could be a large number of detections. Globally, the detections with one source candidate create more groups than the detections with several group candidates. Ninety percent of the groups with assembled detections contain fewer than 95 detections, which matches the expectations of the number of scans for isolated single sources. However, in a few cases, the groups can reach one million match candidates, for instance for high stellar density regions such as the Galactic centre.

The result of these two preparatory stages is a set of isolated groups of detections, taken from the group of match candidates. This partitioning is crucial in order to distribute the following processes in a computer cluster and to avoid boundary effects of direct sky partitioning strategies such as HEALPix. More details of these algorithms are described in Castañeda (2015).

thumbnail Fig. 8

Sample of the isolated groups (pink areas represent their convex hull) of detections (blue dots) and inputsources (green triangles) determined in a small region of 2.3 square arcminutes in Baade’s Window. If the group is small enough (e.g. a group with only an isolated detection), the pink area is hard to detect in this large area. A total of 10 400 detections in the Gaia onboard magnitude range 11.66 < G < 20.58 are distributed over 30 scans, and 827 source candidates lie in the Gaia magnitude range 11.66 < G < 21.12. The total of created isolated groups is 145, the largest group has 1554 detections and 126 sources.

5 Clustering model

Cluster analysis aims to divide groups of detections into subsets (called clusters), where the detections in each cluster have similar characteristics and are distinct from detections within other clusters. The clustering model is independent of any existing catalogue (the source candidates we obtained are not used at all here), therefore the input only consists of a group of detections. The parameters of the source model are therefore determined using only the detections in each cluster. Following this premise, we consider a hierarchical agglomerative algorithm because it presupposes very little in the way of data characteristics (i.e. in our case, it does not require previous knowledge of the number of clusters to be created). Moreover, one variant of hierarchical clustering algorithms appears particularly well adapted for high proper motions, as suggested by Lindegren (2005) in the early stages of the Data Processing and Analysis Consortium (DPAC).

Initially, a cluster is created for each detection. In order to decide which clusters should be merged, a measure of dissimilarity between sets of detections is required, which is a positive semi-definite symmetric mapping of pairs of clusters onto the real numbers (i.e. Δ(Ci, Cj) ≥ 0 and Δ(Ci.Cj) = Δ(Cj, Ci) for clusters Ci,  Cj). We note that the triangular inequality is not necessarily satisfied for our type of problem.

The selected dissimilarity is the Ward method (Ward 1963), which is defined to minimise the increase in internal variance. More formally, when Ci,  Cj are two disjoint clusters, the Ward dissimilarity between them is Δ(Ci,Cj)=R(CiCj)R(Ci)R(Cj),\begin{equation*}\Delta(C_i,C_j) = R(C_i \cup C_j)-R(C_i) - R(C_j), \end{equation*}(1)

where R(C) is the sum of squared residuals in cluster C.

The sum of squared residuals could in the simplest case be just the angular distance between the detections and the cluster centre, R(C)=OCkwk(xk(O)xk(C))2,\begin{equation*}R(C) = \sum_{O \in C} \sum_{k} w_k(x_k(O)-x_k(C))^2, \end{equation*}(2)

where xk(O) are the components of the observed data vector x(O), xk (C) are the coordinates of the cluster centre vector x(C), and wk are the weight factors. We would like to point out that the weight factors allow including some coordinates that are not space coordinates, such as the magnitude.

Moreover, the cluster centre, x(C), is chosen to minimise the sum of squared residuals. Thus, in the linear case it is given by the centre of gravity of the detections in the cluster, x(C)=1nOCx(O),\begin{equation*}\bm{x}(C) = \frac{1}{n}\sum_{O \in C} \bm{x}(O), \end{equation*}(3)

where n is is the number of detections in cluster C.

We write Eq. (2) more concisely, R(C)=OCx(O)x(C) 2,\begin{equation*} R(C) = \sum_{O \in C} \left\lVert \bm{x}(O)-\bm{x}(C)\right\rVert^2, \end{equation*}(4)

where the weight factors are implied in the norm.

Becauseour interest is the cluster merging, we write the cluster centre of Eq. (3) in terms of two disjoint clusters Ci and Cj such that C = CiCj, x(C)=nix(Ci)+njx(Cj)ni+nj,\begin{equation*}\bm{x}(C)=\frac{n_i\bm{x}(C_i)&#x002B;n_j\bm{x}(C_j)}{n_i&#x002B;n_j}, \end{equation*}(5)

where ni and nj are the number of detections in clusters Ci and Cj, respectively.

In the same manner, using Eq. (5), we can rewrite the sum of squared residuals in terms of clusters Ci and Cj, R(C)=R(Ci)+R(Cj)+ninjni+njx(Ci)x(Cj) 2.\begin{equation*} R(C) = R(C_i)&#x002B;R(C_j) &#x002B;\frac{n_in_j}{n_i&#x002B;n_j}\left\lVert \bm{x}(C_i)-\bm{x}(C_j)\right\rVert^2. \end{equation*}(6)

Therefore the dissimilarity is non-negative definite, Δ(Ci,Cj)=ninjni+njx(Ci)x(Cj) 2.\begin{equation*}\Delta(C_i,C_j) = \frac{n_i n_j}{n_i&#x002B;n_j}\left\lVert \bm{x}(C_i) - \bm{x}(C_j) \right\rVert^2. \end{equation*}(7)

This method is selected because the results can be generalised to time-dependent models, as discussed below in Sect. 5.1.

As suggested by Müllner (2011) and Everitt et al. (2009), an efficient algorithm for hierarchical clustering using the Ward method is the nearest-neighbour chain (e.g. Murtagh 1983; Murtagh & Heck 1987). This hierarchical algorithm is based on the constructionof nearest-neighbour chains and reciprocal nearest neighbours. Specifically, the nearest neighbour of a given cluster C is another cluster, C′ = NN(C), such that Δ(C, C′) is the lowest value for every possible cluster C′. If NN(Ci) = Cj and NN(Cj) = Ci, then Ci,  Cj are called reciprocal nearest neighbours. Formally, the algorithm builds a chain of nearest neighbours, starting from an arbitrarycluster, until a pair of reciprocal nearest neighbours has been found. These two clusters are then merged, and the chain is modified correspondingly. The process continues iteratively until only a single cluster remains.

The merging of clusters is carried out all the way to the point where all detections are in a single cluster, but for the XM process, thismakes little sense. That is, at the end, all the clusters are merged, but they are merged in a sequence of increasing dissimilarity. Therefore we consider that the merging only makes sense while the dispersion of residuals within the clusters is below a given limit because it is related to the definition of the Ward method. This dispersion is measured by the variance σ2 (C) = R(C)∕n, and the limit depends on the error of the input detections (Sect. 2.1) and the source model error described below in Sect. 5.1.

Moreover, we add an epoch condition to the algorithm. We consider that two detections are quasi-simultaneous detections when they are detected in the same scan or period of time between two consecutive passes of Gaia telescopes over a given region of the sky. Because a source can only be observed once per scan and telescope, we include the feature that two clusters cannot be merged when both clusters are considered together in quasi-simultaneous detections. More specifically, according to the separation between the two telescopes and the spin rate of Gaia, the detections in the same cluster have to be separated by at least 106.5 min in time, as explained in Fabricius et al. (2016, Sect. 2). This condition forces quasi-simultaneous detections into different clusters. It is useful to distinguish detections in crowded areas, as well as close source pairs, where the dissimilarity between detections of different sources may be closer than the dispersion limit. We note that it does not affect the detections that were flagged as double detections in Sect. 3 because they are paired before this stage.

5.1 Source model

The Ward method described above assumes that the coordinates do not depend on time, which implies that the dissimilarity, Eq. (7), depends on the cluster centre vectors and the number of detections within the clusters. The cluster centre is the mean of the detections, as described in Eq. (3). However, to include the proper motion, we have to consider a linear model for each direction u, u(t)=u0+u1(tt0),\begin{equation*} u(t)= u_0 &#x002B; u_1(t - t_0),\end{equation*}(8)

where u0 is the mean position at the mean epoch t0, and u1 is the proper motion.

The coordinate components are independent of each other in this case, which makes using them in the dissimilarity measure, Eq. (7), rather simple and straightforward. We only consider the cases with more than one detection in the cluster, otherwise the time-dependent model is not necessary and we would apply the Ward method described above.

Another source model improvement including the parallax may also be considered, but then the coordinate components are no longer independent. This model is not used in the current processing cycle because it is not regarded as essential, given the precision of the input data and the purpose of the XM (see Sect. 2). However, the source model including parallax may be analysed in future releases when more detections will be added.

The linear system for the determination of u0,  u1 in matrix form is b=Au+e,\begin{equation*} \bm{b} = \textbf{A}\bm{u} &#x002B; \bm{e},\end{equation*}(9)

where u = (u0, u1), b is an n-vector of detections, e is an n-vector of detection errors, and A is a 2 × n-matrix with the time functions.

Thus, the minimum of the sum of squared residuals can be written as Ru(C)=bTbu^TNu^,\begin{equation*} R_u(C)= \bm{b}^T \bm{b} - \bm{\widehat{u}}^T \textbf{N} \bm{\widehat{u}}, \end{equation*}(10)

where N = ATA is the normal matrix and u^=N1ATb$\bm{\widehat{u}} = \bm{N}^{-1} \bm{A}^T \bm{b}$ is the unique solution that minimises the sum of squared residuals. We note that we can guarantee the uniqueness when there is more than one detection in the cluster because then AT A is positive-definite and non-singular.

Because our interest is again the cluster merging, we also write u^$\bm{\widehat{u}}$ in terms of the solutions u^i$\bm{\widehat{u}}_i$ and u^j$\bm{\widehat{u}}_j$ of two disjoint clusters Ci and Cj such that C = CiCj, u^=(Ni+Nj)1(Niu^i+Nju^j),\begin{equation*} \bm{\widehat{u}} = (\textbf{N}_i&#x002B;\textbf{N}_j)^{-1} (\textbf{N}_i \bm{\widehat{u}}_i &#x002B;\textbf{N}_j \bm{\widehat{u}}_j), \end{equation*}(11)

where Ni and Nj are the normal matrices of the clusters Ci and Cj, respectively.When we apply the initial definition of the Ward method, Eq. (1), the dissimilarity in u-direction can therefore be expressed as Δu(Ci,Cj)=(u^iu^j)TNi(Ni+Nj)1Nj(u^iu^j).\begin{equation*} \Delta_u(C_i, C_j) = (\bm{\widehat{u}}_i-\bm{\widehat{u}}_j)^T \textbf{N}_i(\textbf{N}_i&#x002B;\textbf{N}_j)^{-1}\textbf{N}_j(\bm{\widehat{u}}_i-\bm{\widehat{u}}_j).\end{equation*}(12)

We would like to point out that this equation reduces to Eq. (7) when the normal matrices are of dimension 1 × 1, that is, without applying the linear model.

Because the coordinates are independent, the minimum of the sum of squared residuals corresponds to the minimum of the sum of all components. In consequence, the total dissimilarity is the sum of the dissimilarities in each coordinate.

However, the proper motion model in the cluster analysis contains a problem in the computation of the dissimilarity between two clusters of one detection each. In this case, the dissimilarity, Eq. (12), is always zero, and therefore it would be possible to match any two detections perfectly.

The adopted solution is to use the zeroth-order source model for the merge of clusters with only a few detections, and to use the linear model, Eq. (8), when a sufficient number of detections allows a good estimation of the proper motion.

We used the spatial three-dimensional coordinates (x, y, z) on the unit sphere. These global coordinates are valid over the whole sphere, and this choice avoids complications that could appear when local or spherical coordinates were used.

Moreover, we add the mean onboard magnitude difference between clusters as a coordinate. The main reason to consider the mean onboard magnitude difference is that in situations where the ambiguity on the position is high, such as crowded areas, considering the magnitude of the detections significantly improves the clustering performance. According to the definition of the Ward dissimilarity, Eq. (7), including the magnitude only requires the specification of a scale factor, wm, to make a magnitude error comparable to an error in position. According to the precision of the input data we used (see Sect. 2) and the scientific analysis we performed, the value considered is wm=(0\farcs5/mag)2$w_m=\left(0\farcs5/\textrm{mag}\right)^2$. That is, the equivalent distance for two detections with one magnitude difference is equal to 0.′′5. It may affect variable sources of larger amplitudes or sources that have experienced flares. Specific analyses for these cases are therefore discussed below in Sect. 5.2.

The global dissimilarity between two disjoint clusters Ci and Cj accordingly is Δ(Ci,Cj)={​​ninjni+njx(Ci)x(Cj) 2,ni+nj3,Δ{x,y,z }(Ci,Cj)+wmninjni+nj(mimj)2,ni+nj>3, \begin{equation*} \Delta(C_i,C_j) = \left\{ \!\!\begin{array}{cc} \frac{n_i n_j}{n_i&#x002B;n_j}\left\lVert \bm{x}(C_i) - \bm{x}(C_j) \right\rVert^2, & n_i &#x002B; n_j \leq 3, \\ \Delta_{\left\{x,y,z\right\} } (C_i,C_j) &#x002B; w_m \frac{n_i n_j}{n_i&#x002B;n_j} \left(m_i - m_j \right)^2, & n_i &#x002B; n_j > 3, \end{array} \right.\end{equation*}(13)

where mi and mj are the mean onboard magnitudes of the detections in clusters Ci and Cj, respectively.Δ{x,y,z }=u{x,y,z}Δu$\Delta_{\left\{x,y,z\right\}} = \sum_{u \in \{x,y,z \} } \Delta_u$ is considered using the proper motion model from Eq. (12), and the vector of coordinates includes the magnitude, x = (x, y, z, m).

Because the linear model requires more than two detections, we use a threshold of three detections in Eq. (13). A larger threshold may affect the proper merging of clusters with detections from HPM stars. The merging is therefore initially carried out in terms of position in order to retrieve a better estimate of the proper motion of the source.

As commented above, we considered a stopping rule for the cluster merging according to the source model error and the accuracy of the input detections (Sect. 2.1). It provides a limit for the dispersion of residuals within the cluster, which is measured by the variance σ2(C) = R(C)∕n. Because this model does not include the parallax, it introduces an error in the model that we have to consider in the dispersion.

We therefore measure the error in the parallax with the cluster amplitude error, A, which is calculated as the maximum deviation from the theoretical position, A(C)=maxOCd(xpos(O),xpos(C|O)),\begin{equation*}A(C)=\max_{O \in C} d(\bm{x}_{\textrm{pos}}(O), \bm{x}_{\textrm{pos}}(C|O)), \end{equation*}(14)

where xpos(O) is the observed coordinates vector, xpos(C|O) is the cluster coordinate vector at the observation epoch according to the proper motion model, and d is the Euclidean distance.

The limit for the dispersion of residuals within the cluster is defined as σlim2=σpos2+σpar2,\begin{equation*} \sigma_{\lim}^2 = \sigma_{\textrm{pos}}^2 &#x002B; \sigma_{\textrm{par}}^2, \end{equation*}(15)

where σpos = 0.′′3 is the detection error considered according to the precision of the input data used (see Sect. 2), and σpar is the parallax error, which is configured as σpar={​​A(C),A(C)>σtσp0,otherwise, \begin{equation*} \sigma_{\textrm{par}} = \left\{\!\! \begin{array}{cc} A(C), & A(C) > \sigma_{\textrm{t}} \\ \sigma_{\textrm{p}_0}, & \textrm{otherwise,} \end{array} \right. \end{equation*}(16)

where σp0=$\sigma_{\textrm{p}_0}=$0. ′′5 and σt = 0.′′2. These parameters are configured from parallax values of the closest stars.

Initially, the algorithm uses this high-parallax value, σp0$\sigma_{\textrm{p}_0}$, because there is not yet enough information to determine an optimal estimation of the amplitude error. As soon as the amplitude error is larger than a threshold, σt, then the maximum cluster error is taken into account instead.

Figure 9 shows an example of a HPM source that benefits from the clustering source model. HIP 36208 (Luyten’s star) was split into multiple sources with two-parameter astrometric solution in the previous processing cycle. Gaia DR2 only included the source Gaia DR2 3139847906304421632 with five matched transits and flagged it as a duplicated source. The XM input for Gaia DR3 includes several source candidates that are close to the detections of data segments 0, 1, and 2, whereas the detections of the new data segment 3 do not contain any source candidate closer than 1.′′5. This radius was used in previous cycles, as explained in Fabricius et al. (2016), and it is maintained for this and subsequent XM stages in the current cycle to reduce the complexity of the cluster-source assignment (Sect. 6). In this case, all the detections are considered in the same isolated group of detections because the match radius of 5′′ was used when groups in this cycle were determined, as explained in Sect. 4.

The clustering solution for the current cycle assembles all the detections in the same cluster, and then a new source is created with a proper motion that agrees with the expected one. The subsequent pipelines will update the parameters of the new source created using the 25 matched transits. We note that one of these detections is flagged as a double detection with low priority, and it is not used in the clustering model or in the parameters of the created source. This double detection classification (described in Sect. 3) reduces the complexity of the clustering solution, and no additional sources are created. The new source created by merging the previous ones, Gaia EDR3 3139847906307949696, is released with a proper motion of μα*=571.23±0.04$\mu_{\alpha^*}=571.23\pm0.04$ mas yr−1 and μδ = −3691.49 ± 0.04 mas yr−1. In addition, the parallax is ϖ = 264.13 ± 0.04 mas. These parameters agree with those published in van Leeuwen, F. (2007), but provide an improvement by a factor of 27 in the proper motion error.

thumbnail Fig. 9

XM solution around HIP 36208 (Luyten’s star). Left: input candidate sources (green triangles) and isolated group of detections (input of the clustering solution), including those closer than 1.′′5 to these candidate sources (blue dots) and those without source candidates at a 1.′′5 distance (blue circles). The dashed green lines are the source candidates links (closer than 1.′′5). Right: XM resolution including the detections (blue dots; the yellow dot denotes double detections with low priority) and the new source propagated to the observation epoch (pink triangles). The grey area indicates the cluster we found. The isolated group of detections in the left panel includes 25 detections in the Gaia onboard magnitude range 7.75 < G < 9.39 and four source candidates in the Gaia magnitude range 8.46 < G < 8.51. The XM solution creates a unique source with a magnitude G = 8.31 corresponding to the mean of the Gaia onboard magnitude detection.

5.2 Post-processing

In addition to the clustering algorithm, the XM must include a post-analysis of the clustered detections to detect and correct suboptimal cases. This analysis is necessary to validate the clustering solution based on the source model described above. Moreover, this process is needed to modify the suboptimal cases due to spurious detections that we failed to classify correctly, or due to someconstraints (and parameters) in the source model that might produce suboptimal solutions in specific cases.

The magnitude criterion from Eq. (13) using the magnitude difference as a coordinate might produce inaccurate solutions. A variable star may create several clusters with different magnitudes at the same position (but from different scans). We therefore have to consider a post-process that detects clusters with very close centres (about 120 mas) and without any common scan (i.e. disjoint in time). After this, they are merged into a single cluster without any magnitude criterion. Therefore this post-process prevents the creation of several sources that correspond to a single variable source.

Figure 10 shows an example of a source that changes its magnitude in an unpredictable way, extracted from Gaia science alerts (Wyrzykowski 2016). Gaia 16abo2 is a spectroscopically confirmed type Ia supernova that shows a declining light curve in agreement with its classification. It was split into two sources in the cyclic processing for Gaia DR2, the brighter detections being matched with one source, and the fainter detections with the other. Gaia DR2 contained only the source Gaia DR2 3307968422513971072 with a two-parameter astrometric solution, based on seven of the brightest detections; it was flagged as a duplicated source. The XM input for the current cycle includes two source candidates from the working catalogue and 18 detections in the same isolated group. The total number of detections in this group has not increased for Gaia EDR3 because the source magnitude extends below the Gaia magnitude limit after the DS-02 according to its declining light curve. Because of this post-processing, the XM solution assembles all the detections into one single cluster and creates a unique source Gaia EDR3 3307968422514719616 with a magnitude G = 19.44 corresponding to the mean of the Gaia onboard magnitude detection. This source is released in Gaia EDR3 with a low-quality two-parameter astrometric solution based on the few scan directions involved, and a mean magnitude G = 20.44 ± 0.06 determined in the photometric pipeline.

On the other hand, spurious detections may create a HPM cluster, or the detections of a real source may be split into more than one cluster if the dispersion of the detections is larger than the configured parameters described above. In most of these suboptimal cases, the clustering algorithm creates several clusters with a small number of detections each. Thus, all clusters whose number of detections are at least half the total number of scans are considered as confirmed clusters, whereas the other clusters are considered as tentative clusters and have to be analysed and confirmed.

It may be assumed that the sources are observed most of the time when their position on the sky is scanned. Thus, the number of detections in a cluster has to be similar to the number of scans. From this assumption, we derive that the total of detections in the group is similar to the number of clusters times the number of scans in the group. In the same way, we derive that the number of confirmed clusters has to be at least the ratio of the total number of detections over the number of scans in the group. If this number is not reached, the tentative cluster with most detections is considered as a confirmed cluster. This process is iterated until the ratio is reached.

This assumption ensures that the main part of the solution obtained in the clustering model is not modified in the post-processing. That is, the post-processing analysis does not pretend to create an alternative solution, it is in charge of refining the clustering solution obtained in Sect. 5.1.

The algorithm therefore analyses whether each detection of a tentative cluster may be assembled to one of the nearby confirmed clusters. The assembly is possible if the following conditions hold:

(i) the confirmed cluster does not contain a quasi-simultaneous detection with regard to any detection in the tentative cluster,

(ii) the variance after the assembly is below the limit described in the source model of Sect. 5.1,

(iii) the amplitude error of the assembled cluster is smaller than twice the amplitude error of the confirmed cluster. More formally, when OT is the detection from the tentative cluster and CC the confirmed cluster, then A(OTCC)<2A(CC),\begin{equation*} A(O_{\textrm{T}} \cup C_{\textrm{C}}) < 2 \cdot A(C_{\textrm{C}}), \end{equation*}(17)

where A(C) is the cluster amplitude error defined in Eq. (14).

Because the confirmed clusters contain a significant number of detections, the amplitude error should not increase substantially when other detections are assembled. Thus, the third condition is crucial in order to prevent this.

Afterwards, some detections from tentative clusters are not assembled to any confirmed cluster. These remaining detections are assembled using a clustering process similar to Sect. 5.1, thus the tentative clusters are recovered when their detections cannot be assembled to any confirmed cluster. Then, the created clusters from the remaining detections also become confirmed clusters even when the previous conditions are not fulfilled. We note that the sources at the faint end may contain only a few detections because they are at the detection limit of Gaia. These extreme cases are therefore confirmed and recovered in the last step. Moreover, some of these clusters are created from nearby bright Solar System objects, but a fraction of them is dominated by the remaining spurious detections. A specific spurious-cluster handling is therefore required after this stage, as described in Sect. 5.3.

This post-processing algorithm reduces the constraints of the clustering algorithm and at the same time confirms clusters with only a few detections. Moreover, the algorithm reduces the small number of sources with faulty significant negative and large parallax values listed in Gaia DR2 even more (see Gaia Collaboration 2018a; Lindegren et al. 2018, Appendix C).

thumbnail Fig. 10

XM solution around Gaia 16abo. Top: isolated group of detections (input of the clustering solution). Bottom: XM resolution. These plots use the same symbols as in Fig. 9. The detections with the green dot are the bright detections matched to one source, whereas the detections with the orange dot are the fainter detections matched to the other source as resolved for Gaia DR2. The isolated group of detections in the top panel includes 18 detections in the Gaia onboard magnitude range 17.78 <G < 20.70 and two source candidates with a magnitude G = 17.86 and G = 20.79. The XM solution creates a unique source with a magnitude G = 19.44 corresponding to the mean of the Gaia onboard magnitude detection.

5.3 Cluster classification

The spurious detections that have not been properly filtered out (Sect. 3) enter into the clustering stage. In particular, the clusters created mainly from spurious detections might also include some detections that belong to a real source. The post-processing analysis (described above in Sect. 5.2) isolates these spurious detections in small clusters, which in turn may require the creation of new sources. After the clustering stage, which considers patches of the sky, it is possible to review and improve the classification of the spurious detections with a global spatial treatment. That is, we can classify spurious detections using the cluster information in order to prevent the creation of new sources from spurious detections.

The image parameter determination (IPD; Fabricius et al. 2016, Sect. 5) derives the location and flux of the observed image in the SM CCD and the subsequent nine AF CCDs using the Gaia point and line spread functions (Rowell et al. 2021). These parameters together with the XM solution are then used to refine the astrometric and photometric solution of each individual source in the subsequent pipelines. However, not all acquired windows can be processed successfully. In certain acquisition circumstances (window truncation, multiple gates, CCD cosmetics, saturation, etc.) the number of samples available in each window is severely limited, causing its automatic rejection during the IPD processing. We can consider these acquisition circumstances in the XM in order to evaluate the significance of each detection. In practice, we consider the fraction of usable windows associated with each transit as an indicator of its quality.

Moreover, the estimated error of the sky coordinates of each detection is also considered to classify the detections of each cluster. Because the accuracy of the attitude is better than 0.′′1 in general, we use a threshold of 0. ′′5 to identify problematic detections.

For Gaia EDR3, we remove a full cluster according to the number of detections. Clusters with a single detection are removedwhen fewer than five windows can be used, or when the attitude uncertainty is greater than 0.′′5. Clusters with more than one detection are removed when fewer than three windows can be used, or when the attitude uncertainty is greater than 0.′′5 in more than half of the detections in the cluster.

Because we consider a similar criterion as in the IPD, it ensures that the detections that are rejected in the XM cannot be used in the subsequent pipelines. We therefore achieve first of all a reduction in the number of new sources that are created from scratch and in the number of real sources that are superseded by split because of a spurious nearby cluster.

In the same way as in the detection classification (Sect. 3), the cluster classification uses lists of detections provided by other pipelines to guarantee that transits of extended objects, Solar System objects, or science alerts are not removed. A cluster containing such a transit is therefore never rejected.

Figure 11 shows an example of a cluster with an isolated detection that is rejected at this stage because too few windows can be used. This detection has been isolated in the post-processing analysis (Sect. 5.2) and was rejected afterwards. For Gaia DR2, these two processes were not available and the clustering algorithm created an inconsistent matching. That is, Gaia DR2 split the detections of the single real source into two different sources: Gaia DR2 1824801659879180672 with 21 matched transits, and Gaia DR2 1824801659879180544 with 15 matched transits and a very large parallax (ϖ = 739.3 ± 2.6 mas). However, Gaia EDR3 includes only one of these sources, Gaia EDR3 1824801659879180672, with 40 matched transits, ϖ = −0.7 ± 0.5 mas and G = 20.131 ± 0.005 mag. The other source contains 2 matched transits in the processing for Gaia EDR3, therefore its results are not published.

For Gaia EDR3, about 162 million detections have been removed by the classification of about 96 million clusters. About 80% of the demoted clusters contain a single detection with several discarded windows.

6 Cluster-source assignment

As mentioned above, the XM is executed each cycle using the improved source parameters, spacecraft attitude, instrument calibrations,the updated censoring of spurious detections, and the improved clustering model. Additionally, the clustering algorithm assembles detections without using any information of the input source catalogue. Each new cluster analysis starts from scratch, ignoring any previous match solution, so that an independent new solution is obtained. The catalogue of the previous release is only used to keep as many source identifiers for the newly created clusters as possible and thus to change the source list as little as possible.

However, the new match solution may update the source identification as well as the astrometric and photometric parameters because newdata are added that may change the match in some cases. In addition, some of the detections will be matched to other sources.

Initially, a list of candidate sources from the catalogue of the previous release is created for each cluster. These are taken from the commonsubset of the match candidates of all detections of the cluster that was determined when we created the isolated groups (see Sect. 4).

In some cases, the candidate cluster-source link may be unique, but in other cases (especially in crowded areas), multiple candidate cluster-source links may appear which is a contradiction. Therefore, a decision tree algorithm is used to solve all contradictions and to provide the final optimal match solution. For example, two clusters may have the same two source candidates, so that in this case, the decision tree algorithm has to decide which cluster belongs to which source.

In order to reduce the number of candidate cluster-source links, we only consider the source candidates closer than 1.′′5 at this stage instead of the 5′′ considered previously in the creation of the isolated groups of detections (Sect. 4). This radius of 1.′′5 was configured in the previous Gaia DRs (see Fabricius et al. 2016, Sect. 6.5).

The contradiction of multiple candidate links of each cluster are resolved by breaking the farthest cluster-source candidate link and analysing whether multiple candidate links remain for the current cluster. When no multiple candidate links remain, the next cluster is analysed; otherwise, the second-farthest cluster-source candidate link of the current cluster is removed. This decision is iterated for all clusters until all contradictions are resolved. The possible resolutions of the cluster-source candidate links are listed below.

  • Assignment of cluster-source: the candidate cluster-source link is isolated, all detections of the cluster are matched to the given source. In this case, the distance cluster-source has to be smaller than 1′′. This value is used to balance the quality of the working catalogue and the wish to reduce assignments to spurious sources. Otherwise, the source is deleted, and a new source is created (see the last two items in this list).

  • Merge sources: all source candidates of a given cluster are candidates of this cluster alone. In this case, the magnitude difference has to be smaller than 1 mag for all pairs cluster-source. Otherwise, the source is deleted. This condition prevents a real source from being merged with a potential spurious source.

  • Split sources: a single-source candidate for several clusters. In this case, each cluster involved has to contain more than about 20% of the total number of detections linked to the single-source candidate. Otherwise, the source is deleted or assigned to another cluster, if possible. This condition prevents a real source from being split because of small clusters of spurious detections.

  • Creation of a new source: the cluster has no source candidates closer than 1′′. This radius is used in order to reduce the assignments to potential spurious sources.

  • Deletion of a source: the source is not a candidate for any cluster.

Each decision affects the options available for further cluster resolution, and this effectively creates a tree structure. The order of the analysed clusters determines how the contradictions are solved and therefore the possible final resolution.

In general, we expect the number of multiple candidate cluster-source links to be rather small, therefore it will be possible to explore all permutations. In complex cases, sophisticated approaches have been developed to speed up the search for the optimal resolution and limit unnecessary recursions of the tree.

To decide which resolution is the best fit of all the possible resolutions, the following order of preference was used:

  • (i)

    minimum number of new sources created,

  • (ii)

    maximum number of sources superseded by merging,

  • (iii)

    minimum accumulated cluster-to-source distance.

The first condition stabilises the source catalogue and reuses the source identifiers as much as possible. The second condition tries to reduce the number of spurious sources in the catalogue. At the same time, this supplies information of the source evolution for the downstream users (because the superseded sources by merging or split provide the new source identifier to the subsequent pipelines in DPAC, in contrast to deleted sources without matched transits). The third condition usually determines the best-fit resolution based on a pure distance criterion.

The resolution provides the optimal cluster-source links that determine the list of matched transits for each source. The sources are not updated with the cluster parameters determined during the clustering algorithm, although these cluster parameters are used to obtain the best-fit solution. In the case of a new source, there are no previous parameters for the source, thus the source is created using the astrometric cluster parameters and the mean of the onboard magnitude. These parameters are updated in the astrometric and photometric pipelines when possible.

Dense regions may include groups of hundreds of thousands of detections, which may cause several multiple cluster-source links. Figure 12 shows a small region with several multiple candidate cluster-source links that can be analysed visually. In this case, the XM solution creates 8 new sources from scratch, and only one created by merging. On the other hand, 24 of the 28 input sources persist, 2 are superseded due to a merger, and 2 are deleted because their detections of the previous cycle havingbeen classified as spurious detections.

thumbnail Fig. 11

XM solution. Top: isolated group of detections (input of the clustering solution). Bottom: XM resolution including arejected detection as an empty red dot. These plots use the same symbols as in Fig. 9. The detections with the green dot were matched to one source for Gaia DR2, the detections with the orangedot were matched to the other source, and the remainder are new detections from DS-03. The isolated group of detections in the top panel includes 43 transits in the Gaia onboard magnitude range 19.86 <G < 20.91 and 2 source candidates with a magnitude G = 20.09 and G = 20.10. We note that the positions of already existing input sources are not updated in the XM resolution, they are updated in the subsequent astrometric pipeline run based on the new XM solution.

7 Results and validation

This section summarises the scientific results of specific analyses in order to validate the XM solution. The aim is to characterise the source and transit evolution in the XM solution and the improvements for the HPM sources.

The analyses of this section report the behaviour of the source list after the XM solution, which is the input source list for the remaining pipelines in DPAC for Gaia EDR3. The statistics for the published Gaia EDR3 source list are described in Fabricius et al. (2021).

thumbnail Fig. 12

XMsolution in a dense region. Top: isolated group of detections (input of the clustering solution). Bottom: XM resolution including red dots for rejected detections. These plots use the same symbols as in Fig. 9. The isolated group of detections includes 409 detections in the Gaia onboard magnitude range 11.17 <G < 20.62 and 28 source candidates in the Gaia magnitude range 11.54 < G < 20.29. The XM solution for the current cycle contains 33 sources in the Gaia magnitude range 11.54 <G < 20.43.

7.1 Source evolution

For Gaia EDR3, a total of 65 255 million detections are matched to 2552 million sources, which is a reduction of about 30 million sources compared to the input catalogue (Sect. 2.2). A total of 2286 million sources (89%) persist from the input catalogue in the output of the XM, whereas 25 million sources were created by split, 45 million sources were created by merging, and 194 million sources were created from scratch.

The source evolution in terms of merged and split sources relative to the input source catalogue (Sect. 2.2) is shown in Table 2 for different magnitude ranges. Most of the sources still exist after the XM assignment, although about 7.3% of the sources are deleted. Of these 7.3% of sources without matched transits, about 57% have been deleted because they did correspond to a spurious detection that was filtered out in this cycle. The remaining 43% of the sources without matches are deleted during the final cluster-source assignment (Sect. 6) because some sources cannot be merged or split due to the criteria explained above. We note that the percentage of deleted sources is higher at the faint end because spurious detections are more frequent in this magnitude regime. On the other hand, the percentage of sources that are superseded by merging increases for the brighter sources because the double-detection threshold is recalibrated, as described in Sect. 3.

Figure 13 shows the distribution of the sources after the XM solution as a function of the number of transits matched to them. About 60% of the sources have between 10 and 67 matched transits. One percent of the sources have at least 87 matched transits. The peak of sources with only one matched transit suggests that some spurious detections remain, as well as some sources at the faint end that cannot be detected regularly. This holds, for example, for about 91% of the new sources created from scratch. Some of these sources with just one match are Solar System objects, but they are mostly spurious and no parameters are published for them. Most of them are new sources created from scratch, but some spurious detections may be assigned to an existing source as well. We note that not all of these sources make it to the release because this depends on the astrometric and photometric filters (Lindegren et al. 2021; Riello et al. 2021). Nevertheless, about 1800 million sources have at least 5 matched transits.

Because spurious detections are treated differently in processing cycle 3 compared to Gaia DR2, the evolution of the publishedGaia DR2 source list may also be interesting. Of the total of 1693 million published sources in Gaia DR2, 1651 million sources remain after the XM solution for Gaia EDR3. Table 3 shows the distribution of surviving Gaia DR2 source identifiers for different magnitude ranges.

The bump between the magnitude range 9.5 < G < 11 shown in Fig. 14 contains about 0.12 million sources, 13% of the total number of Gaia DR2 sources in this range. It is related to a higher occurrence of double detections for the saturated sky-mapper images in this magnitude range. In this cycle, most of these sources are superseded by merging because the double-detection threshold is recalibrated, as described in Sect. 3, which also implies a reduction of the duplicated sources in this range.

Several very bright sources (G < 5) have a close-by source at a distance shorter than 1. ′′5 in the input source catalogue with a similar magnitude, so that most of them take part in a cluster-source resolution stage. Specifically, about 45% of the very bright sources in Gaia DR2 were duplicated. Because of that, the fraction of sources that are superseded by merging or that are deleted (therefore no longer persist) in this magnitude range is large, as shown in Fig. 14. Because most of their detections are not filtered out, Gaia EDR3 includes these very bright sources as new sources.

This comparison with respect to the Gaia DR2 catalogue includes all the sources that are matched in the XM solution. Although the source evolution is mainly driven by the XM process, the total number of Gaia DR2 sources that are released as Gaia EDR3 sources also depends on the parameters that can be derived in the astrometric and photometricpipelines (Lindegren et al. 2021; Riello et al. 2021), and also on the internal validation (Fabricius et al. 2021).

Table 2

Source number evolution of the input source catalogue (Sect. 2.2) for different magnitude ranges.

thumbnail Fig. 13

Distribution of the number of matched transits per source after the XM solution for Gaia EDR3.

Table 3

Source evolution of the Gaia DR2 sources for different magnitude ranges after the XM solution.

7.2 Transit evolution

There is a total number of 65 255 million matched transits. Most of the detections have been matched to previously existing sources in the input catalogue (96.7%), and the match distance for about 90% of the transits is smaller than 200 mas. Larger distances may indicate that the source is reused and that its astrometric parameters have been updated for Gaia EDR3. Although about 96.7% of the detections are matched to an existing source, about 11% of the sources are new. The reason for this is that a large number of new sources contain only one matched transit, as explained above in Sect. 7.1. Moreover, these isolated detections are observed during the new data segment for about 72.5% of the cases.

About 86.3% of the matches are unambiguous (i.e. any other source closer than 1.′′5), 11.9% have one ambiguous source, and the remaining 1.8% have more than one ambiguous source. This indicates that most of the cluster-source links are unique, so that this ensures the stabilisation of the main part of the source catalogue.

The cluster-source assignment discussed in Sect. 6 takes into account the astrometric and photometricparameters of the input sources and the clusters obtained previously in the clustering algorithm (Sect. 5). Because it does not consider the XM solution of previous releases, the transits matched to a given source may evolve between Gaia DR2 and Gaia EDR3 for objects that have retained their source identification.

In the source list after the XM solution in Gaia EDR3, about 84% of the input sources retain all their matched transits from the previousXM solution. About 62% of them accumulate additional matched transits from data segment 3 alone, but about 19% of them obtain additional matched transits from the period of time used in the previous release. The remaining 19% do not accumulate any additional matched transit mainly because they only contain one matched transit (for about 78% of these remaining sources).

On the other hand, the percentage of sources after the XM solution that retain less than 50% of their matched transits in the input catalogue is 1.55%, whereas only 0.95% of the sources lose all their matched transits from the Gaia DR2 XM solution. Typically, two close sources may swap their linked transits fully or partly. This may also occur around spurious sources and in dense regions. We note that in these cases the source identifiers switch from one physical source to another, thus their astrometric and photometric parameters are updated for Gaia EDR3 as well as the rest of their source parameters for Gaia DR3.

Figure 15 shows the fraction of matched transits that are retained from the Gaia DR2 XM solution by magnitude for the sources after the XM solution. There is a clear trend for both very bright and faint sources to lose more transits than for stars of medium magnitudes. Nevertheless, most of the bright transits are assigned to the same sources, and the total number of matched transits for the bright sources is incremented through the transits from the added period of time.

Figure 16 shows that the distribution of sources after the XM solution that retain more than 90% of their matched transits from the Gaia DR2 XM solution follows the natural distribution of sources on the sky with high star densities in regions such as the Galactic centre. On the other hand, Fig. 17 suggests that the sources that loose the main part of theirmatched transits are more likely to be in areas with a larger number of matched transits or spurious detections. We note that the location of the spurious sources and spurious detections depends on the Gaia scanning law. Their sky density distribution is shown in Fig. 6. It is reasonable to expect this behaviour because the spurious detections and the spurious sources of the input catalogue may increase the number of candidate cluster-source links and the complexity of the algorithm.

thumbnail Fig. 14

Distribution of the published Gaia EDR3 sources (in green) as a function of magnitude compared to the distributionof the published Gaia DR2 sources that retain their source identification after the XM solution for Gaia EDR3(in blue) or change it (in red).

thumbnail Fig. 15

Fraction of matched transits that are retained from the Gaia DR2 XM solution by magnitude for the sources after the XM solution. The top horizontal green line shows the location of the 90th percentile, the blue line shows the location of the median, and the red line shows the location of the 10th percentile.

thumbnail Fig. 16

Density map of sources after the XM solution that retain more than 90% of their matched transits from the previous XM at a pixel resolution of 0.21 deg2.

7.3 High proper motion sources

For Gaia DR2, a linear source model was used in the clustering algorithm for sources with proper motions greater than 1000 mas yr−1. This implied a significant improvement with regard to Gaia DR1, but some HPM stars were still missing. For Gaia EDR3, the clustering algorithm takes proper motions for all the groups of detections into account, as discussed in Sect. 5. Therefore the results for HPM stars improve even more for Gaia EDR3 by the updates in the clustering model and the increase in the time span. We recall that the final treatment of the HPM sources is performed by the astrometric solution (Lindegren et al. 2021) and depends on the filters of the five-parameter astrometric solution. This section considers the statistics over the set of HPM sources with a proper motion larger than 600 mas yr−1.

According to the source evolution, most of the new HPM sources found in the XM are created by merging (about 8%), and to a lesser extent, from scratch (about 1%). These statistics are similar for different magnitude ranges but are more significant for bright sources, as shown in Table 4.

The total number of HPM sources for Gaia EDR3 is 2729, which is about 26% less than in Gaia DR2. The reason of this is the large number of spurious sources with a HPM value and G > 18 in Gaia DR2. That is, about 41% of these faint HPM sources had a significant negative parallax and fewer than eight visibility periods in Gaia DR2. Symmetrically, about 28% of these faint HPM sources had a parallax larger than 100 mas and fewer than eight visibility periods. The post-processing algorithm (explained in Sect. 5.2) ensured that no HPM sources have a negative parallax in Gaia EDR3. Therefore the number of HPM sources has decreased by about 85% at the faint end (G > 18), whereas the total number of HPM sources has increased for the bright sources: about 2% for the sources with G < 18 and about 5% for the sources with G < 13.

The improved clustering model also affects the number of matched transits of HPM sources in Gaia EDR3. Figure 18 shows the number of matched transits of HPM sources. More than 50% of the sources have at least 45 matched transits. Compared with Fig. 13, we can observe a similar behaviour of the number of matched transits. Thus, this parameter does not depend on the value of the proper motion, in contrast to Gaia DR2.

The comparison with the number of matched transits of the data segments already used in Gaia DR2 is more interesting. About 17% of the persisting HPM sources increase the number of matched transits from past segments while retaining all matched transits from Gaia DR2. In this way, the total number of HPM sources with at least 15 matched transits from past segments has increased by about 1% with regard to Gaia DR2.

In conclusion, the HPM sources of Gaia EDR3 contain more matched transits and more accurate parameters because of the improved clustering model of the XM. Moreover, the post-processing analysis (Sect. 5.2) reduced the spurious HPM sources. The completeness of the published HPM sources also depends on the posterior treatment given by the astrometric pipeline and the filters in the subsequent processes, described in Lindegren et al. (2021).

thumbnail Fig. 17

Density map of sources after the XM solution that retain less than 50% of their matched transits from the previous XM at a pixel resolution of 0.21 deg2.

Table 4

Statistics of HPM sources (proper motion larger than 600 mas yr−1) for Gaia EDR3 for different magnitude ranges.

thumbnail Fig. 18

Distribution of matched transits for HPM sources (proper motion larger than 600 mas yr−1). Gaia EDR3contains data from 12 more months.

8 Conclusions and future improvements

We have described the XM solution implemented for the third Gaia data release with 78 billion processed transits. This solution is crucial forthe performance of both astrometric and photometric parameters because it provides the matched observations that are to be used in the subsequent pipelines within the Gaia DPAC.

Compared to Gaia DR2, the detection classification was improved significantly around bright sources with the revision of the transit classification model parameters. Moreover, an additional module has been included that provides a cluster classification based on the quality of the transit windows. It prevents the creation of new sources when most of the cluster transits are dubious.

As detailed in this paper, a novel generalisation of the clustering model based on the nearest-neighbour chain algorithm has been developed. This new implementation improves the results for HPM sources and variable stars and also provides a much cleaner catalogue. Based on the larger number of observations and the post-processing analysis, we have obtained a reduction in the number of sources with false but significant negative or large parallaxes and in the number of source pairs that are separated by less than 400 mas as compared to Gaia DR2. These sources were considered duplicated sources for Gaia DR2, and this separation limit is reduced for Gaia EDR3 to 180 mas through the cleaned catalogue that is provided by the XM and the astrometric solution. The reduction of spurious sources is higher in dense areas such as the Galactic centre, but some spurious sources still remain.

In this release, the source evolution is stabilised with far fewer changes in the source list between Gaia DR2 and Gaia EDR3 than between Gaia DR1 and Gaia DR2; 97.5% of the sources persist. The updated merging and split criteria reduce the number of superseded as well as new sources. However, the improvements in the previous stages (described in Sect. 5) may cause an evolution of the catalogue for specific cases. This is the case for the HPM sources and variable stars because of the developments in the clustering algorithm, or for the bright sources around magnitude G = 10 because the double-detection threshold was recalibrated. Moreover, an evolution may also occur for very bright sources where the large number of spurious detections and spurious sources may create multiple cluster-source links that can lead to new source identifiers for these bright sources. Other sources may also evolve for many different reasons (e.g. newly rejected detections or more observations added in this release), but they represent a small fraction of the full catalogue.

Some source identifiers are not maintained across different cycles, and the astrometric and photometric parameters of a surviving source may be updated between different releases. Our recommendation therefore is to treat the source identifiers in each release as being from completely independent catalogues. A table tracing the sources from Gaia DR2 to Gaia EDR3, gaiaedr3.dr2_neighbourhood, is provided in Gaia archive in order to easily identify Gaia DR2 sources in Gaia EDR3.

For future data releases, the inclusion of the parallax as well as other types of source parameters may be taken into account in the clustering model. When the parallax is included in the source model, the current stopping rule for the agglomerative algorithm may be updated and may no longer require any threshold dependence on the parallax.

In spite of the improvements of the spurious parallaxes and duplicated sources, some remain in Gaia EDR3. The precision of the input data in the XM is not good enough to detect and resolve close source pairs with a large number of matched detections. We therefore expect that the vast majority of the significant negative parallaxes found by the astrometric pipeline (Lindegren et al. 2021) are in fact caused by disturbances from surrounding sources. A similar population of positive parallaxes will also be distorted, but be more difficult to identify. We also speculate that the majority of cases in which the astrometric solution falls back to two-parameter solutions for sufficiently bright sources with plenty of good observations and a sufficient number of visibility periods are caused by disturbances from neighbours.

For future releases the XM could therefore consider that the onboard detections may include more than one peak in the detected CCD image. In this way, the XM could include information from the IPD and thus assign sources not only to clusters of onboard detections, but also to the individual peaks when sources are resolved sufficiently often in the IPD. Thus, the XM will derive celestial coordinates from the peaks in order to identify which peaks belong to which source after the clustering stage. For secondary peaks in 1D windows, there will be no AC information, and we will need a non-trivial range of scan angles to derive a reliable position.

In summary, the XM of observations in Gaia EDR3 is more stable and reduces the number of spurious sources from 20.7 to 16.1%. It also solves other known issues of the previous releases that were due to suboptimal XM solutions. The main improvements for future releases in the XM solution will be related to the systematic IPD search of multiple peaks in each window, which will allow distinguishing close source pairs in the XM solution.

Acknowledgements

This work has made use of data from the ESA space mission Gaia, processed by the Gaia Data Processing and Analysis Consortium (DPAC). Funding for the DPAC has been provided by national institutions, in particular the institutions participating in the Gaia Multilateral Agreement. The Gaia mission website is: http://www.cosmos.esa.int/gaia. The authors are members of the DPAC, and this work has been supported by the following funding agencies: the Spanish Ministry of Economy (MINECO/FEDER, UE) through grants ESP2016-80079-C2-1-R, RTI2018-095076-B-C21 and the Institute of Cosmos Sciences University of Barcelona (ICCUB, Unidad de Excelencia “María de Maeztu”) through grant MDM-2014-0369 and CEX2019-000918-M; the European Space Agency in the framework of the Gaia project and through ESA/ESTEC Contract No. 4000114776/15/NL/IB with DAPCOM Data Services S.L.; the German Aerospace Agency DLR under grants 50QG0501 and 50QG1401; The authors thankfully acknowledgethe computer resources from MareNostrum, and the technical expertise and assistance provided by the Red Española de Supercomputación at the Barcelona Supercomputing Center, Centro Nacional de Supercomputación.

Appendix A List of acronyms

Appendix A

Below, we give a list of acronyms.

References

  1. Arenou, F., Luri, X., Babusiaux, C., et al. 2018, A&A, 616, A17 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  2. Bakos, G. A., Sahu, K. C., & Nemeth, P. 2002, ApJS, 141, 187 [NASA ADS] [CrossRef] [Google Scholar]
  3. Castañeda, J. 2015, PhD thesis, Universitat de Barcelona, Spain http://hdl.handle.net/10803/382464 [Google Scholar]
  4. Cormen, T. H., Leiserson, C. E., Rivest, R. L., & Stein, C. 2001, Introduction to Algorithms, 2nd edn. (Boston: The MIT Press and McGraw-Hill Book Company) [Google Scholar]
  5. de Bruijne, J. H. J., Allen, M., Azaz, S., et al. 2015, A&A, 576, A74 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  6. Everitt, B., Landau, S., & Leese, M. 2009, Cluster Analysis, 4th edn. (New York: Wiley Publishing) [Google Scholar]
  7. Fabricius, C., Bastian, U., Portell, J., et al. 2016, A&A, 595, A3 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  8. Fabricius, C., Luri, X., Arenou, F., et al. 2021, A&A, 649, A5 (Gaia EDR3 SI) [Google Scholar]
  9. Gaia Collaboration (Prusti, T., et al.) 2016, A&A, 595, A1 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  10. Gaia Collaboration (Brown, A. G. A., et al.) 2018a, A&A, 616, A1 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  11. Gaia Collaboration (Mignard, F., et al.) 2018b, A&A, 616, A14 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  12. Gaia Collaboration (Spoto, F., et al.) 2018c, A&A, 616, A13 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  13. Gaia Collaboration (Brown, A. G. A., et al.) 2021, A&A, 649, A1 (Gaia EDR3 SI) [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  14. Górski, K. M., Hivon, E., Banday, A. J., et al. 2005, ApJ, 622, 759 [NASA ADS] [CrossRef] [Google Scholar]
  15. Lindegren, L. 2005, Gaia Data Processing and Analysis Consortium (DPAC) technical note GAIA-LL-060, http://www.cosmos.esa.int/web/gaia/public-dpac-documents [Google Scholar]
  16. Lindegren, L., Hernández, J., Bombrun, A., et al. 2018, A&A, 616, A2 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  17. Lindegren, L., Klioner, S., Hernández, J., et al. 2021, A&A, 649, A2 (Gaia EDR3 SI) [EDP Sciences] [Google Scholar]
  18. Müllner, D. 2011, ArXiv e-prints [arXiv:1109.2378] [Google Scholar]
  19. Murtagh, F. 1983, Comput. J., 26, 354 [Google Scholar]
  20. Murtagh, F., & Heck, A. 1987, Multivariate Data Analysis, 1st edn., Astrophysics and Space Science Library 131 (Springer Netherlands) [Google Scholar]
  21. Riello, M., De Angeli, F., Evans, D. W., et al. 2021, A&A, 649, A3 (Gaia EDR3 SI) [Google Scholar]
  22. Rowell, N., Davidson, M., Lindegren, L., et al. 2021, A&A, 649, A11 (Gaia EDR3 SI) [EDP Sciences] [Google Scholar]
  23. Smart, R. L., & Nicastro, L. 2014, A&A, 570, A87 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  24. van Leeuwen, F. 2007, A&A, 474, 653 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  25. Ward, J. H. 1963, J. Am. Stat. Assoc., 58, 236 [CrossRef] [Google Scholar]
  26. Wyrzykowski, L. 2016, ArXiv e-prints [arXiv:1601.02827] [Google Scholar]

All Tables

Table 1

Total number of spurious detections for each category in Gaia EDR3.

Table 2

Source number evolution of the input source catalogue (Sect. 2.2) for different magnitude ranges.

Table 3

Source evolution of the Gaia DR2 sources for different magnitude ranges after the XM solution.

Table 4

Statistics of HPM sources (proper motion larger than 600 mas yr−1) for Gaia EDR3 for different magnitude ranges.

Appendix A

Below, we give a list of acronyms.

All Figures

thumbnail Fig. 1

Flow diagram of the XM process. The XM uses the onboard detections and catalogue sources with the latest calibrations and parameters from the previous Gaia DR. The first stage is the detection classifier to distinguish real from spurious detections. It is mainly based on detection information, but uses the position of bright sources to classify detections around them. Then the sky is partitioned into groups of detections and sources. These groups are processed without using any source information to determine clusters of detections that belong to the same source. Finally, each cluster is assigned to an input source, or a new source is created. XM provides a list of matched transits to already known and new sources to the subsequent pipelines, together with a list of rejected transits.

In the text
thumbnail Fig. 2

Schematic diagram of the data segments since the start of nominal operations in July 2014 up to the Gaia EDR3 publication. New data are received on a daily basis from the spacecraft and continuously enter the Gaia data-processing pipeline. This data stream is partitioned into data segments to identify and coordinate the data entering each processing cycle from which Gaia DRs are produced. In each processing cycle, all accumulated data segments are processed again, superseding any preceding solution. DS-0 covers 313 days and 22.2 billion detections, DS-1 covers 105 days and 8 billion detections, DS-2 covers 250 days and 22.1 billion detections, and DS-3, which is the new data segment for Gaia EDR3, covers 370 days and 25.7 billion detections.

In the text
thumbnail Fig. 3

Density map obtained by stacking the onboard detections of about 560 objects in the magnitude range 10 to 10.5 during the full Gaia EDR3 time period. The extent of the diffraction spikes, mainly in the AL direction, increases with source brightness. It is larger in the trailing region (to the right) as a result of a charge transfer inefficiency in the CCDs.

In the text
thumbnail Fig. 4

Density map obtained by stacking the onboard detections of about 475 objects in the magnitude range 7 to 7.5 during the full Gaia EDR3 time period. The optical diffraction spikes causing the majority of the spurious detections are clearly visible.

In the text
thumbnail Fig. 5

Time evolution of the number of spurious detections in the Gaia EDR3 data segments. The number of spurious detections increases when the spacecraft scans the Galactic plane, as expected, and the major discontinuity at revolution 3750 is related to the change in parameters of the onboard detection algorithm (VPU update). The sharp dips are due to interruptions in the detections, and the sharp rises are related to spacecraft events.

In the text
thumbnail Fig. 6

Density sky map (equatorial coordinates) of spurious detections at a pixel resolution of 0.21 deg2. The areas with a high spurious detection density form narrow great circles due to the Gaia scanning law, where Gaia observes more often. The broad circular band is the Galactic plane.

In the text
thumbnail Fig. 7

Density map (equatorial coordinates) of detections that are not classified as spurious detections at a pixel resolution of 0.21 deg2. The areas with a high detection density are located in dense regions such as the Galactic plane and the Magellanic Clouds. In addition, the sharp circles due to the Gaia scanning law are again clearly visible.

In the text
thumbnail Fig. 8

Sample of the isolated groups (pink areas represent their convex hull) of detections (blue dots) and inputsources (green triangles) determined in a small region of 2.3 square arcminutes in Baade’s Window. If the group is small enough (e.g. a group with only an isolated detection), the pink area is hard to detect in this large area. A total of 10 400 detections in the Gaia onboard magnitude range 11.66 < G < 20.58 are distributed over 30 scans, and 827 source candidates lie in the Gaia magnitude range 11.66 < G < 21.12. The total of created isolated groups is 145, the largest group has 1554 detections and 126 sources.

In the text
thumbnail Fig. 9

XM solution around HIP 36208 (Luyten’s star). Left: input candidate sources (green triangles) and isolated group of detections (input of the clustering solution), including those closer than 1.′′5 to these candidate sources (blue dots) and those without source candidates at a 1.′′5 distance (blue circles). The dashed green lines are the source candidates links (closer than 1.′′5). Right: XM resolution including the detections (blue dots; the yellow dot denotes double detections with low priority) and the new source propagated to the observation epoch (pink triangles). The grey area indicates the cluster we found. The isolated group of detections in the left panel includes 25 detections in the Gaia onboard magnitude range 7.75 < G < 9.39 and four source candidates in the Gaia magnitude range 8.46 < G < 8.51. The XM solution creates a unique source with a magnitude G = 8.31 corresponding to the mean of the Gaia onboard magnitude detection.

In the text
thumbnail Fig. 10

XM solution around Gaia 16abo. Top: isolated group of detections (input of the clustering solution). Bottom: XM resolution. These plots use the same symbols as in Fig. 9. The detections with the green dot are the bright detections matched to one source, whereas the detections with the orange dot are the fainter detections matched to the other source as resolved for Gaia DR2. The isolated group of detections in the top panel includes 18 detections in the Gaia onboard magnitude range 17.78 <G < 20.70 and two source candidates with a magnitude G = 17.86 and G = 20.79. The XM solution creates a unique source with a magnitude G = 19.44 corresponding to the mean of the Gaia onboard magnitude detection.

In the text
thumbnail Fig. 11

XM solution. Top: isolated group of detections (input of the clustering solution). Bottom: XM resolution including arejected detection as an empty red dot. These plots use the same symbols as in Fig. 9. The detections with the green dot were matched to one source for Gaia DR2, the detections with the orangedot were matched to the other source, and the remainder are new detections from DS-03. The isolated group of detections in the top panel includes 43 transits in the Gaia onboard magnitude range 19.86 <G < 20.91 and 2 source candidates with a magnitude G = 20.09 and G = 20.10. We note that the positions of already existing input sources are not updated in the XM resolution, they are updated in the subsequent astrometric pipeline run based on the new XM solution.

In the text
thumbnail Fig. 12

XMsolution in a dense region. Top: isolated group of detections (input of the clustering solution). Bottom: XM resolution including red dots for rejected detections. These plots use the same symbols as in Fig. 9. The isolated group of detections includes 409 detections in the Gaia onboard magnitude range 11.17 <G < 20.62 and 28 source candidates in the Gaia magnitude range 11.54 < G < 20.29. The XM solution for the current cycle contains 33 sources in the Gaia magnitude range 11.54 <G < 20.43.

In the text
thumbnail Fig. 13

Distribution of the number of matched transits per source after the XM solution for Gaia EDR3.

In the text
thumbnail Fig. 14

Distribution of the published Gaia EDR3 sources (in green) as a function of magnitude compared to the distributionof the published Gaia DR2 sources that retain their source identification after the XM solution for Gaia EDR3(in blue) or change it (in red).

In the text
thumbnail Fig. 15

Fraction of matched transits that are retained from the Gaia DR2 XM solution by magnitude for the sources after the XM solution. The top horizontal green line shows the location of the 90th percentile, the blue line shows the location of the median, and the red line shows the location of the 10th percentile.

In the text
thumbnail Fig. 16

Density map of sources after the XM solution that retain more than 90% of their matched transits from the previous XM at a pixel resolution of 0.21 deg2.

In the text
thumbnail Fig. 17

Density map of sources after the XM solution that retain less than 50% of their matched transits from the previous XM at a pixel resolution of 0.21 deg2.

In the text
thumbnail Fig. 18

Distribution of matched transits for HPM sources (proper motion larger than 600 mas yr−1). Gaia EDR3contains data from 12 more months.

In the text

Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.

Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.

Initial download of the metrics may take a while.