A planet receives more starlight when it is close to its star and less when it moves away. EXOFASTv2, a tool used to analyse exoplanets, reports a value intended to average that changing light over a complete orbit. When I compared its public code with the documentation, the calculation did not match the stated definition. My report was followed by corrections in EXOFASTv2 and the Python tool EXOZIPPy, with named credit in both public change records.
The quantity was called fave. The documentation described orbit-averaged incident flux: the average amount of stellar energy arriving per unit area and time. But the code at the version I checked first averaged the distance between the star and planet, then calculated the flux at that distance. Averaging distance and averaging flux are different operations.
Calculate the light before taking its average
A small example shows the difference. Suppose two intervals of equal duration have distances of 1 and 2 in arbitrary units. If the flux at distance 1 is 1, the flux at distance 2 is 1/4: light follows an inverse-square rule. The average flux across those intervals is (1 + 1/4) ÷ 2 = 0.625. Averaging the distances first gives 1.5, where the flux would be 1 ÷ 1.5² ≈ 0.444. This is an illustration of the two operations, not a simulation of a planet’s orbit.
A real elliptical orbit also needs the right weighting in time. A planet passes quickly through the part closest to its star and spends longer farther away. Giving every location the same weight would therefore produce the wrong time average. Each location’s flux must be weighted by how long the planet spends there. The error I checked substituted the flux at the time-averaged distance for this average of the flux.
Two formulas, one orbit
Eccentricity, written as e, describes the orbit’s shape. A circle has e = 0; an ellipse becomes more elongated as e approaches 1. The semimajor axis a is the ellipse’s long radius. For a Keplerian orbit, the time-averaged star–planet distance is a(1 + e²/2). The old code put that distance into the inverse-square calculation. If the star’s luminosity is constant and F0 is the flux at distance a, the two expressions are:
Time-averaged flux: F0 / √(1 − e²)
Hold the star’s properties and the orbit’s size fixed, then increase eccentricity. The old expression decreases; the time average increases. The strong light received during a closer approach cannot be represented by a single average distance. The second expression is exact for a Keplerian elliptical orbit with constant stellar luminosity, rather than an approximation limited to small eccentricities. The corrections also added a reference to Williams and Pollard’s 2002 paper.
In the comparison sent with my report, I set F0 to 1 so that the averaging factors could be compared directly. At e = 0.5, the old expression gives about 0.790123 and the time average about 1.154701. The corrected value is roughly 1.46 times the old one. These are normalized values for the same reference flux, not measurements of a particular star’s brightness. At e = 0.92, the ratio grows to about 5.168. That ratio describes this eccentricity; it is not a correction factor to apply to every exoplanet.
From a reproducible report to a public correction
I asked the developer which average fave was meant to represent before requesting a change to the formula. The report, sent on 9 October 2026 in Korea, identified the code version and documentation, compared the two expressions, and included a short reproduction using only Python’s standard library. Alongside evaluating the formulas, the check divided the orbit into small intervals and used their time weights to calculate the average numerically. This provided a separate check of the time-average expression.
The developer implemented the fixes. EXOFASTv2 PR #8 changed the formula and documentation. EXOZIPPy PR #426 corrected the same inherited expression and added tests against numerical integration. Both were merged on 9 October in Korea. Their current descriptions credit Sam Yee and me as independent reporters, naming Byungwoong Yoo and linking my ORCID.
The result established here is a correction to the definition and calculation of reported incident flux. I did not rerun the full analyses behind earlier papers or reconstruct their distributions of estimated planet properties and uncertainties, so this work does not establish a change to those papers’ conclusions. My contribution was the reproducible report of the mismatch; the public records also retain the other independent reporter’s credit and the developer’s implementation.
