Iâve spent the last three years trying to understand how to properly do photometry with TESS. I was not completely successful, but learned a few thins along the way.
While âsystematicsâ is a general answer to âwhy TESS lightcurves look so weirdâ, the usual sources of systematics for TESS are kind of small: the gain is known for each CCD and is pretty stable, the flat field is applied during calibration - itâs hard to tell how good the flat-field measured on the ground is, but probably not worse than a couple of percent (an amount of variation introduced by its imperfections). TESS is doing an amazing job getting rid of cosmic rays: each TESS exposure is a combination of many short sub-exposures stacked with outlier rejection for each pixelâs vales.
The biggest source of systematics in TESS lightcurves is, surprisingly, background subtraction. TESS images have a funny looking spatially- and time-variable background due to scattered light from Earth an Moon entering the cameras. Thatâs not a big deal for a bright (say 10mag) star that stands well above the background. Itâs a bigger problem for fainter stars, because the accuracy with which the background can be modeled and subtracted directly translates into accuracy with which the brightness of the star can be measured. As TESS have near-perfect pointing (like within 0.1pix) itâs possible to extract photometry for faint stars (say 16mag) that are totally invisible in the images by placing an aperture at the known position of that star. The resulting lightcurve will be completely dominated by the background, but it might still be useful as it contains some signal from the faint star too. One could remove the background variation by detrending the lightcurve and after that possibly see a periodic signal from the star. The down side is that if the star is not a well behaving periodic variable but some irregular variable or an active galactic nucleus - there is no good way to separate such irregular variability from background subtraction imperfections (well, at least I havenât found one).
The related complication is that with 20"/pix image scale, TESS images at low galactic latitudes are confusion-limited: what one sees in faint pixels around bright stars is not the sky background, but a combined light of many fain stars. That, obviously, doesnât help constructing very accurate model of the background.
My current theory is that this confusion limit is the ultimate cause of sector-to-sector jumps in TESS data. Thanks to near-perfect TESS pointing, we are dealing with one particular realization of confusion noise within one TESS sector. But going to the next sector TESS rotates and the pixels (new pixels, possibly from another camera - but I argue that this probably will not introduce a jump of more than a couple of percent) that overlap with the star image also overlap with a slightly different region of the sky producing slightly different contribution from confusion noise (light of faint unresolved stars). That can introduce a sector-to-sector jump of any magnitude, depending on how faint the target star is compared to the confusion-limited background.
Long story short - I donât know what to do with sector-to-sector jumps. If the target star is a well behaving periodic variable one may just compensate the offset between sectors by subtracting mean (or median) brightness (obviously use Pogsonâs formula when subtracting magnitudes rather than linear fluxes) from each sector before doing period search.
I have a collection of Jupyter notebooks implementing some TESS analysis: https://github.com/kirxkirx/v606vul_lightkurve
The notebooks are mostly focused on full-frame images, but the period search part would be the same for analyzing pre-extracted lightcurves.