Skip to content

Uncertainties of positions and magnitudes ​

Summary ​

analyze_set gives each measured point an uncertainty in position (pos_err, arcsec per axis) and in magnitude (mag_err), and ades_psv reports them to the MPC as rmsRA, rmsDec and rmsMag. Against JPL's ephemerides of the 12 numbered asteroids identified on 11 Pan-STARRS1 campaign sets (45 points), the position errors divided by the uncertainties have a standard deviation of 1.06 (robustly 1.02), 67% of them within 1 and 93% within 2, and no offset: −0.007″ in RA, −0.019″ in Dec (1.19 before the frame's FWHM was measured right, which sets the bound on the centroid). On synthetic asteroids the magnitude uncertainties were about right for most points (robust deviation 1.2) and far too small for a few, stars in the aperture; since the photometry takes out what lies still and measures the noise in empty apertures, their deviation is 1.06 (robust 0.97), and 1.15 (robust 1.04) with the synthetic asteroids drawn as wide as the stars; the position ones first came out 1.5 times too small with a mean offset of 0.05″, which were the test's: placed through the same fit as the search's, the errors are smaller than the uncertainties and the offset is gone. A first model of the position uncertainty was 4 times too small and was changed; every run is reported below.

1. What is given ​

Magnitude. The aperture's noise, from the sky's scatter and the source's own photons through the header's GAIN (1 without one), with the zero point's: the scatter of its Gaia stars over the square root of their number.

Position, per axis. Two parts in quadrature. The Cramér–Rao bound for the centroid of a Gaussian of the frame's FWHM on that noise, what an ideal centroid could reach. And the frame's astrometric fit: the scatter of its Gaia stars about it, per axis. The fit is affine, so the field's distortion stays in its residuals, and a target's position carries it as a star's does. Where only an offset was fitted the uncertainty is unknown (NaN, an empty field in the ADES report).

2. Synthetic asteroids ​

Design, declared before running (examples/uncertainty_test.jl): the 13 Pan-STARRS1 sets of IASC campaigns in data/real/iasc, 60 synthetic asteroids added to each (inject_movers, V 19.5–22.0, 5–100″/h), searched by analyze_set with its defaults. Every point of a tracklet matched to a synthetic asteroid, against its true position and magnitude in that frame. If the uncertainties are right, the errors divided by them have a standard deviation of 1, 68% within 1 and 95% within 2. Two sets marked unreliable by analyze_set are left out.

First run (seeds 4000 + the set's place): the astrometric part was the fit's error of its mean, its scatter over the square root of the number of stars. That is far too small:

PointsError, medianUncertainty, medianDeviation (robust)Within 1 / 2
Position1,8990.073″0.018″22.8 (5.5)17% / 32%
Magnitude1,8990.0420.0482.89 (1.19)56% / 85%

Second run, with the astrometric part changed to the stars' scatter, on new seeds (5000 + the set's place) so that the model is not checked on the data that changed it:

PointsError, medianUncertainty, medianDeviation (robust)Within 1 / 2
Position, all1,8970.076″0.072″4.60 (1.51)49% / 71%
V 19.5–20.58060.071″0.070″4.78 (1.44)51% / 71%
V 20.5–21.57980.078″0.074″4.63 (1.52)49% / 71%
V 21.5–22.02930.094″0.080″3.95 (1.65)46% / 70%
stacked tracklets920.114″0.098″4.06 (1.77)42% / 67%
Magnitude, all1,8970.0450.0492.00 (1.23)54% / 84%
V 19.5–20.58060.0280.0291.35 (1.17)49% / 81%
V 21.5–22.02930.0950.1192.53 (1.21)58% / 89%

The position errors had a mean of +0.051″ in RA and −0.047″ in Dec. The synthetic asteroids are placed through each frame's own astrometric fit, while analyze_set measures through the frames' fit made together, so the offset could be the test's or the pipeline's. The deviations well above the robust ones come from a few points far off, likely ones blended with stars.

Third run, after inject_movers came to fit the frames together as analyze_set does (found on the sets kept aside: its own fits were up to 1″ from the joint one on 5 frames of these sets). Declared before it: if the two fits' disagreement was the cause, a deviation closer to 1 than 1.5 and a smaller offset. Same seeds; the asteroids drawn differ, as each one's noise depends on its frame's zero point.

PointsError, medianUncertainty, medianDeviation (robust)Within 1 / 2
Position, all1,9680.026″0.072″0.95 (0.53)87% / 98%
V 19.5–20.58290.019″0.070″0.84 (0.39)94% / 99%
V 20.5–21.58270.032″0.073″0.97 (0.64)85% / 98%
V 21.5–22.03120.047″0.079″1.12 (0.86)73% / 95%
stacked tracklets1040.055″0.098″0.89 (0.79)81% / 97%
Magnitude, all1,9680.0440.0512.35 (1.24)53% / 84%

The mean error is −0.002″ in RA and +0.001″ in Dec. The offset and the excess were the test's. The position uncertainties are now larger than the errors on synthetic asteroids, as they should be: a synthetic asteroid is placed through the same fit it is measured through, so it carries none of the fit's error, which the uncertainty includes and a real asteroid carries (section 3).

Fourth run, after the candidates' photometry changed, on finding magnitudes up to 1.3 mag too bright on DECam (Other telescopes): a star in the aperture. What lies still under a candidate is now taken out, measured where the candidate was in the frames its tracklet has moved clear of, and the aperture's noise is measured in 400 empty apertures instead of computed from the frame's pixel scatter. Declared before it: the magnitudes' deviation and robust deviation both between 0.8 and 1.25, fewer than 1% of points beyond 5, and the positions' deviation within 0.1 of the third run's. Same sets and seeds, so the same asteroids.

PointsError, medianUncertainty, medianDeviation (robust)Within 1 / 2Beyond 5
Position, all1,9680.026″0.072″0.91 (0.53)87% / 98%
Magnitude, all1,9680.0480.0741.06 (0.97)67% / 94%0.1% (0.9% before)
V 19.5–20.58290.0320.0401.11 (1.05)60% / 93%0.1%
V 20.5–21.58270.0610.1001.00 (0.90)70% / 95%0.0%
V 21.5–22.03120.1110.1740.95 (0.83)76% / 96%0.0%
stacked tracklets1040.1640.2301.07 (0.90)69% / 90%0.0%

All four expectations are met: the magnitude uncertainties are now the right size, and the few points far off are gone.

Fifth and sixth runs, after the FWHM, which sets the Cramér–Rao bound and the synthetic asteroids' width, was found held to about 4.5 px where these stars are up to 6 px wide (How faint). Declared before the fifth: both deviations between 0.8 and 1.25, fewer than 1% of points beyond 5. The positions held (1.19, robust 0.89), the magnitudes did not: 1.72 (robust 1.52), 3.9% beyond 5. The bright synthetic asteroids came out 0.02–0.26 mag fainter than drawn, set by set as the share of the drawn Gaussian that falls outside the zero point's 5 px aperture: from 1% at a FWHM of 4 px to 13% at 5.8. inject_movers had put the aperture's counts into the whole Gaussian; each asteroid is now as bright inside that aperture as a star of its magnitude. The sixth run, declared before it with the same expectations and the positions within 0.1 of the fifth's, same sets and seeds:

PointsError, medianUncertainty, medianDeviation (robust)Within 1 / 2Beyond 5
Position, all1,7490.045″0.074″1.20 (0.90)72% / 93%
Magnitude, all1,7490.0440.0591.15 (1.04)62% / 93%0.2%
V 19.5–20.59290.0340.0411.22 (1.02)59% / 90%0.4%
V 20.5–21.56600.0610.0911.00 (0.96)67% / 96%0.0%
V 21.5–22.01600.1110.1681.05 (1.01)63% / 96%0.0%
stacked tracklets1280.1240.1730.98 (1.02)63% / 97%0.0%

All met. The synthetic asteroids' position errors are larger than in the fourth run (a median 0.045″ against 0.026″), now that they are as wide as the stars, and their deviation is 1.20 where it was 0.91.

3. Catalogued asteroids ​

Design, declared before running (examples/known_astrometry_test.jl): the same 13 sets as they are, nothing added, searched by analyze_set with its defaults. Every point of every tracklet identified as a catalogued asteroid, against JPL Horizons' astrometric position of that asteroid from F51 at the point's epoch. Horizons' own uncertainty is left out, which for a numbered asteroid is milliarcseconds; points of unnumbered ones reported apart. No offset means the mean errors over the sets within 2 standard errors of 0. One set is marked unreliable; one other has no identified asteroid.

PointsObjectsError, medianUncertainty, medianDeviation (robust)Within 1 / 2Mean error RA, Dec
numbered45120.055″0.080″1.19 (1.01)64% / 91%−0.007″, −0.019″
unnumbered47130.057″0.067″1.63 (1.27)56% / 86%+0.057″, −0.003″

One unnumbered asteroid, 2019 UA185, is left out of the table: its 3 points are some 10° from JPL's position, whose orbit rests on 11 observations over 8 days in 2019 (the MPC's, which identified it, is a later one). Of the rest, 2016 SX110's 4 points are 0.46″ off in RA together, the way an orbit's error shows. Over the 11 sets' means the error is +0.043 ± 0.044″ in RA and −0.012 ± 0.012″ in Dec: no offset.

Run again after the FWHM fix, declared before it (expected: the mean errors still consistent with 0, the deviation no larger than 1.19). SkyBoT failed during the run, and JPL's list of the asteroids in each field was used instead; 2019 UA185 again left out:

PointsObjectsError, medianUncertainty, medianDeviation (robust)Within 1 / 2Mean error RA, Dec
numbered45120.055″0.082″1.06 (1.02)67% / 93%−0.007″, −0.019″
unnumbered47130.055″0.070″1.37 (1.00)64% / 89%+0.054″, +0.002″

Met: over the 11 sets' means, +0.042 ± 0.044″ in RA and −0.010 ± 0.012″ in Dec, and the numbered asteroids' deviation is 1.06.

4. What it means ​

On catalogued numbered asteroids, where the truth is independent of the pipeline, the positions have no offset at this level and their uncertainties are the right size: the reported rmsRA and rmsDec can be taken as they are. The sample is small, 45 points of 12 asteroids on one telescope. The offset and the larger errors first measured on synthetic asteroids were the test's: with the frames fitted together for both, they are gone. The magnitude uncertainties, with the photometry of the fourth run, are the right size on Pan-STARRS1, DECam and Las Cumbres; on ZTF a few points remain far off (Other telescopes).