...
also downloaded planet excursion RA Dec: 324.545 26.46656 for event AT2021uey (below is the plot of the data):
Quality Cuts and Compilation of Sources
Overall, for KMT events 15434 sources out of 15689 in the text file KMTeventsSorted.txt.
For Gaia events 286 sources out of 363 sources in the arXiv were found (77 had no data to download).
As far as overlapping sources go, 72 of the 363 Gaia sources have a KMT event within 2 arcsec and with a peak within 100 days of the Gaia peak, meaning they are presumably the same source. However, the difference of a couple arcsec can lead to differences of 0.5 mag (need to quantify this more).
All Gaia and KMT events were uploaded to /n/stubbs_lab/Lab/Microlensing/ATLAS_events_cuts and then there was an extra column added, 0 for a bad point, 1 for a good point, with the cut being:
1. $\sigma_{ABmag}<$0.5,
2. PSF-fit $\chi^2/DOF <$3.0,
3. Sky $>$ 15 mag per sq arc sec.
The relevant notebook used to do this is in /n/stubbs_lab/Users/eurbach.
Not sure how to deal with the overlapping sources between Gaia and KMT (they also have slightly different peak durations and dates) and also I am looking at error more generally by looking at light curves offset by 20 arcsec in RA.