Pan-STARRS1 Best Neighbour (gaiadr3.panstarrs1_best_neighbour)

The table has 951450378 rows, 7 columns.


Table panstarrs1_best_neighbour lists each matched Gaia object with its best neighbour in the external catalogue. The cross-match algorithm is not symmetric and searches Gaia sources counterparts in Pan-STARRS1 DR1. The best neighbour is chosen among good neighbours as the one with the highest value of the figure of merit, which evaluates the ratio between two opposite models/hypotheses: the counterpart candidate is a match or it is found by chance. Good neighbours are nearby objects in the external catalogue whose position is compatible within position errors with the Gaia target. The cross-match algorithm is positional and exploits the full 5 parameter covariance matrix of the Gaia astrometric solution when available and the external catalogue positions and position errors. In addition it takes into account the external catalogue environment using the local density.

Please note that the cross-match algorithm is a trade-off between multiple requirements, in particular between completeness and correctness. It is thus not limited to a simple cone search.

Reference papers:

  • Marrese et al. (2017)
  • Marrese et al. (2019)


If you have used Gaia data in your research, please use the following acknowledgement:

This work has made use of data from the European Space Agency (ESA) 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.

More information can be found on the credit and citation instructions page.


Name Type UCD Unit Description
source_id long

Unique Gaia source identifier

clean_panstarrs1_oid long

External Catalogue source identifier

original_ext_source_id long

Original External Catalogue source identifier

angular_distance float pos.angDistance arcsec

Angular Distance between the two sources

number_of_neighbours short meta.number

Number of neighbours in External Catalogue

number_of_mates short meta.number

Number of mates in Gaia Catalogue

xm_flag short meta.code.status

Cross-match algorithm flag