4.4.2 Primary-source processing (AGIS)
Author(s): José Hernandez, Ulrich Bastian, Uwe Lammers
The Gaia core solution aims to solve the astrometric parameters for over 2 billion sources, mainly in our Galaxy. This presents an enormous computational challenge, as the large number of parameters cannot be processed sequentially. The difficulty is caused by the strong connectivity among the unknowns: each source is effectively observed relative to a large number of other sources simultaneously, both in the same field of view, and in the complementary field of view some away on the sky, linked together by the common attitude and calibration models. The complexity of the astrometric solution in terms of the connectivity between the sources provided by just the attitude modelling was analysed by Bombrun et al. (2010), who concluded that a direct solution is infeasible, by many orders of magnitude, with today’s computational capabilities. That study neglected the additional connectivity due to the calibration model, which makes the problem even more unrealistic to attack by a direct method. However, the mathematical system of equations under consideration guarantees that a unique (apart from the six degrees of freedom discussed in the reference frame alignment in Section 4.4.7), coherent and completely independent global solution for the whole sky can be derived.
To overcome this difficulty, an iterative method has been developed over more than twenty years, using increasingly complex and efficient algorithms. This approach became known as the Astrometric Global Iterative Solution (AGIS) and now relies on a Conjugate Gradient (CG) algorithm to converge the solution efficiently Bombrun et al. (2012). The numerical approach to AGIS is a block-iterative least-squares solution. In its simplest form, four blocks are evaluated in a cyclic sequence until convergence. The blocks map to the four different kinds of unknowns outlined in Section 4.1.2, namely:
-
S:
the source (star) update, in which the astrometric parameters of the primary sources are improved;
-
A:
the attitude update, in which the attitude parameters are improved;
-
C:
the calibration update, in which the calibration parameters are improved;
-
G:
the global update, in which the global parameters are improved.
The G block is optional, and often is skipped in the initial solutions towards a given Gaia data release. Some of the global parameters can in fact be assumed to be known a priori to high accuracy, while others are not needed except for the highest systematic accuracy.
The blocks must be iterated because each one of them needs data from the other three. For example, when computing the astrometric parameters in the S block, the attitude, calibration and global parameters are taken from the previous iteration. The resulting (updated) astrometric parameters are used the next time the A block is run, and so on. The mathematical description of the AGIS block-iterative least-squares solution and the updating of each block has been outlined in detail in Sections 4 and 5 respectively of Lindegren et al. (2012). In addition to these blocks, separate processes are required for the alignment of the astrometric solution with the ICRS (see Section 4.4.7), the selection of primary sources (described at the end of Section 4.4.1), and the calculation of standard uncertainties. These auxiliary processes are also discussed in Section 6 of Lindegren et al. (2012).
Basically, for setting up the system of A, C and G parameters, it is not necessary for the AGIS solution to include all the more than two billion sources. Instead, it is done using a sufficiently large selection of astrometrically well-behaved sources. This sub-problem is iterated until convergence, giving the final solution on the attitude, calibration and global parameters (plus a solution for the source parameters of the primaries which, however, is not used for the published data release). The astrometric parameters for the remaining sources can then be determined in what is known as the secondary solution (see Section 4.4.3 below), using the converged parameters found in the primary AGIS solution. For the sake of overall consistency, the source parameters of the primaries are included in the secondary solution, too.
For Gaia DR4 the primary solution covered about about 27 million sources, so that the number of unknowns in the overall minimization problem was about 164 million (135 million for the sources, 20 million for the attitude, 5.7 million for the calibration, and 3.0 million for the global unknowns). The number of elementary observations considered was about 18.4 billion (). The redundancy factor (mean number of observations per unknown) is about 112. This does not count the high-frequency corrective attitude, for which a very different set of observations was used to estimate some 30 million parameters.
More details on the primary solution for Gaia DR4 are given in Section 4.2 of Hernandez et al. (2026), in particular on the number and sequence of iterations, on the switching between conjugate-gradient iterations and simple block iterations, and on the calibration and global models used. These models are significantly more complex and included more effects than the ones used in earlier releases. They were developed and tested by doing hundreds of trial runs prior to the final operational one described in Table 7 of Hernandez et al. (2026). For most of these trial runs the AGIS residuals were carefully analysed, and the effect of the new features added to the model in the astrometry were scrutinized, before proceeding to the next trial.