WorksPhysics and Astronomy
A Candidate Binary Microlensing Event in the 2018 Gamma-Ray Flare of 3C 279
Abstract
The April 2018 gamma-ray flare of the flat-spectrum radio quasar 3C~279 exhibited sharp peaks within a broader outburst. Its rapid substructure was previously attributed to magnetic reconnection. Motivated by its distinctive temporal profile within our comparison sample of bright blazar flares and its resemblance to caustic-crossing features in optical microlensing events, we investigate a finite-source binary-microlensing interpretation. A jointly fitted model of binary-lens magnification, a smooth intrinsic flare, and Gaussian-process variability reproduces the principal double-peaked structure of the GeV light curve. The adopted local solution has a binary mass ratio of and an Einstein timescale of ~d. The absolute lens mass and projected source radius depend on the lens distance and relative proper motion. The fitted geometry can correspond to a Galactic planetary-mass binary or an intervening stellar or substellar system, with different physical source sizes in each case. We present binary microlensing as a testable interpretation of this event, with the finite-source structure offering a potential probe of the compact GeV-emitting region.
Introduction
Rapid gamma-ray variability in blazars probes compact emitting regions within relativistic jets, but their angular sizes remain far below the resolution of gamma-ray telescopes [3]. Gravitational microlensing offers a complementary probe: near a caustic, the magnification depends on the source size and surface-brightness distribution [15, 23, 20]. In the strongly lensed blazar B0218+357, the gamma-ray flux ratio between the lensed images differs from the radio ratio and varies with time. These properties have been interpreted as additional microlensing by stars in the lensing galaxy, yielding constraints on the size of the gamma-ray emitting region [21]. For a binary lens, the caustic geometry allows multiple magnification peaks along a single source trajectory [22].
The flat spectrum radio quasar 3C 279, at redshift , underwent a bright gamma-ray outburst in April 2018. Its “peak-in-peak” structure and rapid subflares were interpreted as emission from plasmoids formed by magnetic reconnection [17]. The sharp peaks and distinctive temporal profile of this event also motivate a binary-microlensing interpretation, in which a foreground binary lens modulates a smooth intrinsic flare with correlated stochastic variability.
A microlensing origin would change the physical interpretation of the rapid variability: the sharp structure would reflect the lens geometry and source motion rather than equally rapid intrinsic energy release. It would also connect the flare profile to the angular size of the GeV emitting region. We examine whether a finite-source binary-lens model can reproduce the observed profile and whether the inferred lens and source configurations are physically plausible.
LAT Flare Morphology
We analyzed Fermi Large Area Telescope (LAT) data over modified Julian date (MJD) 58219–58233 in the 0.1–300 GeV band. A binned likelihood analysis with Fermitools v2.2.0 and Fermipy [25] provided the time-resolved flux and photon-index estimates. Event selections, the region model, and the alternative time bins are described in Appendix A. The light curve binned into 2500 s was used for the lens fit.
The sharp peak within the broader outburst comprises two distinct sub-peaks, separated by an interval on the order of a few hours (Figure 1). The structure remains visible with several different time binnings. During MJD 58227.67319–58228.62213, the photon index shows no clear variation and remains consistent with that measured over the broader flare (Figure A1(b); Appendix § 7.§ 2).
Figure 1. Fermi-LAT light curve and the best-fit joint GP–lens model. Top: The 0.1–300 GeV flux measurements in 2500 s bins (black), the underlying intrinsic flare (blue dashed line), the intrinsic flare plus GP component (purple dash-dotted line), and the best-fit joint model (red solid line), with its 68% pointwise interval (red shading). The inset enlarges the boxed interval, showing the light curve (upper) and magnification with its 68% interval (lower) over the trajectory range shown in Figure 2. Middle: Relative flux residuals, . Bottom: The photon index obtained from the power-law model.

Figure A1. (a) Empirical flare-score distribution for the 2018 3C 279 event (red dashed line), three other 3C 279 flares (orange), and 54 flares from other blazars (blue; Table A1). (b) Photon-index distributions over MJD 58219.60–58232.47. Red and blue show 32 estimates during the putative lensing interval and 412 outside it, respectively, overlaid without stacking. The black solid and dashed lines indicate the median and 16th–84th percentiles of the blue sample, with the percentile interval shaded.
We also compare the event with 57 selected LAT flares: 54 from other blazars and three other flares of 3C 279. For a smooth double-exponential fit to each selected window, define the normalized peak amplitude and the empirical score , with the timescales in days. The 2018 event has , markedly higher than the values in the comparison sample, most of which lie below (Figure A1(a); Appendix § 7.§ 1).
Binary-lens Model and Fit
We represent the mean intrinsic emission as a constant plus a smooth double-exponential flare (A. A. Abdo et al. [1]),
Here is a reference epoch, not generally the maximum of an asymmetric flare, and sets its normalization. The observed flux is
where is the time-dependent magnification factor introduced by the microlensing. The zero-mean Gaussian process describes correlated intrinsic variability with a stochastically driven, damped simple-harmonic-oscillator (SHO) kernel (D. Foreman-Mackey et al. [7]), and represents measurement noise. The smooth flare and GP share the same magnification, assuming that both arise in the same magnified region.
The binary-lens model is described by seven parameters (Table 1): the closest-approach epoch , the impact parameter , the Einstein timescale , the source radius , the projected lens separation , the mass ratio , and the angle between the source trajectory and the binary axis. The angular distances corresponding to , , and are normalized by the Einstein radius of the total lens mass, with . The timescale is defined as , where is the relative angular speed of the source and lens. Including the five intrinsic-flare quantities and three SHO hyperparameters (, , and ) gives 15 fitted parameters. We approximate the projected gamma-ray emitting region as a circular disk of uniform surface brightness. We compute the finite-source binary-lens magnification using VBBinaryLensing (V. Bozza [5]; V. Bozza et al. [6]). The model parameters are optimized using CMA-ES, followed by Markov chain Monte Carlo sampling to characterize the local posterior distribution. Details of the parameter-space search, optimization, and sampling are given in Appendix B.§ 2.
| Parameter | Symbol | Value (68% Interval) |
| Impact parameter | ||
| Closest approach (MJD) | ||
| Einstein time (s) | ||
| Normalized source radius | ||
| Projected separation | ||
| Mass ratio | ||
| Trajectory angle (rad) |
Table 1. Note—Intervals are conditional on the adopted local joint GP–lens posterior. The parameters , , and are dimensionless.
The adopted binary-lens model reproduces the two maxima and the intervening minimum in the observed light curve (Figure 1). Along the fitted trajectory, the source encounters two regions of enhanced magnification, with finite-source averaging smoothing these features into broad peaks (Figure 2). The adopted model reproduces the main double-peaked structure, with and over the full fitted interval. Table 1 lists the adopted best-fit values for the seven lens parameters and their 16th–84th percentile intervals (also see Figure B3).
Figure 2. Magnification pattern and source trajectory for the adopted binary-lens solution. Top: magnification map with caustics (black curves) and the fitted source trajectory (white line); the arrow indicates the direction of source motion. The color scale gives the magnification . Bottom: finite-source magnification along the same trajectory, plotted against the source coordinate . Source-plane angular coordinates are normalized by the Einstein radius of the total binary mass.
Figure B3. Local posterior distributions of the 15 lens, intrinsic-flare, and SHO parameters. Shaded contours show the 68% and 95% two-dimensional density regions, and red lines mark the adopted best-fit parameters used in Figure 1 and Figure 2. The sampled coordinates include , , and ; the parameter table reports their transformed values.
Discussion
Intrinsic Variability and Event Incidence
The binary-lens interpretation links the two peaks through one lens system and source trajectory while allowing intrinsic evolution of the underlying flare. A.
Shukla & K. Mannheim [17] attributed the rapid substructure to magnetic reconnection and plasmoid activity and reported a harder spectrum during the fast flare than during the surrounding envelope. Our time-resolved measurements show hard spectra immediately outside the fast peaks as well, within a broader harder-when-brighter trend. Including fainter, softer phases in the longer envelope intervals can therefore enhance the spectral contrast with the fast flare.
Hydrodynamic simulations provide a possible formation channel for free-floating planetary-mass binaries: tidal bridges produced by encounters between circumstellar disks can fragment into planetary-mass objects, some of which become mutually bound (Z. Fu et al. 2025a). Candidate Jupiter-mass binaries have been reported in the Trapezium Cluster (S. G. Pearson & M. J. McCaughrean [16]), although subsequent spectroscopy classified seven investigated components, each belonging to a different candidate pair, as background sources (K. L. Luhman [13]). The contribution of planetary-mass binaries to Galactic microlensing depends on their abundance, orbital properties, and dynamical survival in the Galactic field.
For a Galactic lens, the high-latitude sightline to 3C 279 () rapidly leaves the stellar disk (J. Wang & M. C. Smith [24]). As an illustrative normalization, an exponential thin disk with a midplane stellar mass density of and a scale height of 300 pc gives toward a distant source along this sightline. Only part of this optical depth can contribute to events near the fitted d: at ordinary Galactic velocities, this timescale selects planetary-mass lenses at typical disk distances or more massive lenses much closer to the observer. The short event rate therefore depends on the abundance of the corresponding binary population.
Let denote the optical depth defined by one total-mass Einstein radius around each binary center of mass. For a population with a narrow timescale distribution near the fitted value, the geometric encounter rate is (P. Mróz et al. 2020)
per source. The rate of recognizable double-peaked events additionally depends on the trajectory cross-section and the recovery efficiency. The corresponding Galactic mass–distance and source-size relations are illustrated in Appendix § 8. The velocities used here specify individual configurations; their relative contributions to the event rate depend on the lens population and detection efficiency.
A foreground lens could instead belong to the galaxy associated with the Lyman-limit and metal-line absorber. The sightline passes about kpc above the disk of an edge-on spiral (J. T. Stocke et al. [18]), where . For this lens plane, . Writing for the surface mass density in binaries whose masses and relative angular mo tions produce events near the observed timescale gives . Equation (3) then yields . The absorber establishes a possible lens environment, although along this sightline remains unconstrained.
For this foreground population, the expected number of detectable events toward 3C 279 can be written as
Here is the effective trajectory-width ratio for producing the double-peaked morphology, relative to the width used in the geometric encounter rate. The corresponding recovery-weighted monitoring time, , includes the availability of a sufficiently compact, bright emitting component and the LAT detection efficiency. An expectation of one event requires . This is a conditional requirement on the foreground population and effective exposure, rather than a measured surface density.
For a uniformly searched source sample, the total expectation is , with a Poisson probability for one detection. The comparison flares analyzed here do not constitute a uniform survey with a calibrated recovery efficiency. A survey-wide interpretation of the presently identified candidate therefore remains conditional on the effective exposure and lens populations along the searched sightlines.
Possible Nature of the Lens
For angular-diameter distances , , and , the Einstein angle of the total binary mass satisfies
Here is the lens–source relative proper motion in the observer frame. The fit constrains the mass ratio and the Einstein time, but not the absolute mass. We adopt for in a flat cosmology with and . In the Galactic limit, , we write the effective relative transverse speed as . Equation (5) becomes
At and , this corresponds to approximately , divided into components near and . The projected separation of the lens components is for this configuration. This is the separation projected onto the sky, rather than the orbital semimajor axis. This illustrative configuration consists of two planetary-mass objects.
For an intervening lens, the relative proper motion can be dominated by the apparent motion of a compact emitting feature in the jet. For a lens at the absorber redshift , the adopted distances are and , giving
At , the mass is about , with a primary near the stellar/substellar boundary and a companion of about ; the projected separation is about . A median proper motion of has been reported for radio knots in 3C 279 ([4]). The example above assumes a comparable apparent motion for the GeV-emitting region. Its proper motion during the 2018 flare has not been measured. These examples illustrate how the fitted light curve can correspond to lens systems with substantially different component masses and projected separations, depending on the lens distance and relative proper motion.
For a lens in the host galaxy, , and effective relative transverse speeds of – in the host frame would require an extremely compact emitting region, with –. Such a small size would make it difficult for the gamma-ray photons to escape, disfavouring the host-lens interpretation.
Size of the Gamma-Ray Emitting Region
The fitted finite-source parameter corresponds to an observer-frame source-radius crossing time of , or . The observed peak widths also depend on the trajectory orientation and the local caustic structure. The projected physical radius of the magnified component is
No further redshift factor enters because is defined in observer time. The intervening-lens example at gives about . The 1-kpc Galactic example instead has and (). These radii describe the projected magnified component, not its distance along the jet or the full jet cross-section. Microlensing of B0218+357 has yielded gamma-ray source-size constraints in a different lens geometry (I. Vovk & A. Neronov [21]).
For the adopted , , and , eliminating in the Galactic limit gives
Consequently, increasing the lens mass at a fixed speed also increases the inferred source radius. A binary at would lie at about and imply a radius of , much larger than in the planetary-mass example.
Under the lensing interpretation, the sharp peaks need not trace equally rapid intrinsic variability. If the magnified component also produces the broad intrinsic envelope, its size can be compared with the causality limit inferred from that envelope. Approximating this component as a coherently varying sphere in its comoving frame, we identify and obtain
where is the comoving radius and is the Doppler factor. We use the fitted rise parameter of the smooth flare component, , as the characteristic observer-frame envelope timescale . At , the 1-kpc planetary-mass configuration lies near this causality limit, whereas the nearby configuration exceeds it by approximately a factor of 390. Within this single-region approximation, the intrinsic rise timescale therefore places an additional constraint on the Galactic lens mass at a specified transverse speed.
Finally, describes a band-integrated source. Gravitational deflection is wavelength independent, but an energy-dependent source size can produce different caustic smoothing and magnification across gamma-ray bands (D. F. Torres et al. [20]). Similar photon indices are therefore compatible with lensing without establishing achromaticity. The finite-source fit thus constrains the effective radius of the adopted uniform-brightness disk in units of , while its physical scale remains dependent on the lens distance and relative proper motion.
Conclusions
A finite-source binary-lens model jointly fitted with intrinsic Gaussian-process variability reproduces the principal double-peaked structure of the April 2018 gamma-ray flare of 3C 279, with and d. The inferred lens masses and source radius depend on the lens distance and relative proper motion, allowing distinct Galactic and intervening-lens configurations. Binary microlensing remains a testable interpretation of this event, rather than a uniquely established origin of the sharp peaks. Under this interpretation, the finite-source fit constrains the size of the magnified GeV-emitting component relative to the Einstein radius.
Appendix
LAT Analysis, Temporal and Spectral Statistics
We analyzed Fermi-LAT SOURCE-class events within a region of interest centered on 3C 279, using the P8R3_SOURCE_V3 instrument response functions and excluding events with zenith angles above . The region model included sources from 4FGL-DR3 [2] and the corresponding Galactic and isotropic diffuse components. After optimizing the model over the full interval, we refitted the normalization and spectral shape of 3C 279 in each shorter time bin, while holding the parameters of the other sources fixed at their full-interval values. Each flux estimate was derived from a likelihood fit to the LAT events within the respective bin.
Adaptive binning followed B. Lott et al. [12]. We also used fixed 1000, 2500, and 6000 s bins to examine the temporal structure of the flare. The light-curve fit is based on 444 retained 2500 s flux estimates with TS , after excluding two estimates that failed to meet this threshold.
We also examined the available contemporaneous X-ray observations [19, 11] for counterparts to the sharp GeV peaks. The sparse Swift/XRT snapshots lack the cadence needed to resolve corresponding rapid variability, while the low significance of the Swift/BAT measurements limits the search for a hard-X-ray counterpart. These observations therefore do not establish whether the sharp GeV peaks are accompanied by similar X-ray features.
Under the microlensing interpretation, the X-ray counterpart could be weaker and smoother if the X-ray emission extends over a larger region than the magnified GeV component, owing to finite-source averaging [20]. Emission from additional components that are weakly affected by the lens could further dilute the observed variability. The expected X-ray response thus depends on both the spatial distribution of the emission and the contribution of the compact magnified component to the total X-ray flux.
Comparison Flare Sample
Table A1 lists 58 selected flare fits: 54 from other blazars, three other flares of 3C 279, and the 2018 event (ID 58). The MJD ranges identify the selected flare intervals. Each flare is fitted with the smooth double-exponential profile of Equation (1). The tabulated amplitude is , and the empirical flare score is , with the timescales expressed in days. For the 2018 event, , d, and d give d.
| ID | Source | MJD | (d) | (d) | ID | Source | MJD | (d) | (d) | ||
| 1 | 0108.6+0134 | 57575–57592 | 2.105 | 1.043 | 3.709 | 30 | 1512.8-0906 | 56561–56573 | 2.631 | 0.091 | 1.248 |
| 2 | 0108.6+0134 | 59673–59716 | 2.485 | 19.233 | 18.126 | 31 | 1512.8-0906 | 57112–57119 | 2.773 | 1.363 | 2.072 |
| 3 | 0112.8+3208 | 60074–60127 | 3.016 | 1.844 | 12.600 | 32 | 1512.8-0906 | 57239–57254 | 3.640 | 1.076 | 3.572 |
| 4 | 0205.0-1700 | 59696–59704 | 8.638 | 1.312 | 1.549 | 33 | 1512.8-0906 | 57633–57636 | 2.334 | 0.600 | 0.312 |
| 5 | 0237.8+2848 | 55874–55905 | 1.915 | 2.449 | 14.948 | 34 | 1635.2+3808 | 56484–56527 | 2.209 | 8.793 | 17.916 |
| 6 | 0237.8+2848 | 58285–58327 | 2.127 | 7.653 | 1.823 | 35 | 1642.9+3948 | 59829–59837 | 5.705 | 1.320 | 1.492 |
| 7 | 0403.9-3605 | 60004–60010 | 1.667 | 2.422 | 2.134 | 36 | 1833.6-2103 | 55483–55489 | 2.756 | 0.790 | 16.471 |
| 8 | 0505.3+0459 | 57092–57113 | 3.322 | 3.436 | 3.881 | 37 | 1833.6-2103 | 58542–58634 | 3.144 | 20.654 | 18.854 |
| 9 | 0739.2+0137 | 58628–58641 | 1.308 | 5.370 | 1.728 | 38 | 1833.6-2103 | 59892–59918 | 2.011 | 8.801 | 8.037 |
| 10 | 0904.9-5734 | 58941–58947 | 5.087 | 0.601 | 1.293 | 39 | 2025.6-0735 | 57483–57500 | 3.819 | 5.081 | 1.658 |
| 11 | 0904.9-5734 | 59424–59429 | 3.651 | 0.222 | 1.731 | 40 | 2201.8+5048 | 56108–56121 | 4.963 | 0.092 | 2.433 |
| 12 | 0904.9-5734 | 59584–59596 | 1.615 | 0.852 | 3.821 | 41 | 2202.7+4216 | 59115–59126 | 1.565 | 0.797 | 0.616 |
| 13 | 0904.9-5734 | 59717–59730 | 2.367 | 0.238 | 12.756 | 42 | 2202.7+4216 | 59419–59441 | 2.777 | 9.222 | 6.619 |
| 14 | 0904.9-5734 | 59847–59856 | 2.917 | 0.561 | 2.055 | 43 | 2202.7+4216 | 59637–59659 | 1.728 | 11.292 | 5.545 |
| 15 | 1159.5+2914 | 58095–58111 | 1.345 | 7.435 | 0.964 | 44 | 2232.6+1143 | 57419–57461 | 3.485 | 6.829 | 1.482 |
| 16 | 1159.5+2914 | 59476–59487 | 2.143 | 0.979 | 5.059 | 45 | 2232.6+1143 | 57702–57777 | 4.353 | 15.812 | 6.203 |
| 17 | 1159.5+2914 | 59942–59967 | 3.188 | 4.273 | 4.581 | 46 | 2232.6+1143 | 58137–58155 | 1.845 | 1.890 | 2.372 |
| 18 | 1224.9+2122 | 55353–55402 | 2.783 | 2.829 | 20.072 | 47 | 2253.9+1609 | 54712–54737 | 1.597 | 0.906 | 11.107 |
| 19 | 1224.9+2122 | 56695–56709 | 2.421 | 3.565 | 2.534 | 48 | 2253.9+1609 | 55276–55317 | 2.514 | 7.120 | 10.849 |
| 20 | 1229.0+0202 | 54738–54753 | 1.949 | 6.281 | 3.959 | 49 | 2253.9+1609 | 55514–55526 | 6.988 | 0.808 | 2.700 |
| 21 | 1332.0-0509 | 55499–55510 | 3.067 | 3.819 | 0.227 | 50 | 2253.9+1609 | 56827–56838 | 3.313 | 0.620 | 2.031 |
| 22 | 1427.9-4206 | 56362–56453 | 1.364 | 43.797 | 22.086 | 51 | 2253.9+1609 | 57067–57073 | 1.951 | 0.551 | 1.709 |
| 23 | 1427.9-4206 | 59913–59953 | 2.379 | 6.896 | 13.519 | 52 | 2253.9+1609 | 57319–57337 | 2.501 | 1.069 | 0.285 |
| 24 | 1504.4+1029 | 54781–54824 | 1.756 | 5.956 | 12.196 | 53 | 2253.9+1609 | 57404–57411 | 2.234 | 0.375 | 1.079 |
| 25 | 1504.4+1029 | 57195–57239 | 2.050 | 7.763 | 13.605 | 54 | 2253.9+1609 | 57595–57600 | 2.723 | 0.126 | 0.882 |
| 26 | 1512.8-0906 | 54913–54919 | 2.628 | 1.447 | 0.552 | 55 | 3C 279 | 57186–57191 | 6.990 | 2.771 | 1.301 |
| 27 | 1512.8-0906 | 55201–55213 | 2.310 | 1.133 | 0.366 | 56 | 3C 279 | 58128–58145 | 3.997 | 1.153 | 2.352 |
| 28 | 1512.8-0906 | 55865–55872 | 3.546 | 0.611 | 1.348 | 57 | 3C 279 | 58262–58279 | 3.835 | 1.283 | 2.102 |
| 29 | 1512.8-0906 | 55996–56008 | 1.529 | 3.361 | 1.106 | 58 | 3C 279 | 58227–58229 | 3.966 | 0.372 | 0.307 |
Table A1. Flare Comparison Sample. Note.— is the dimensionless normalized peak amplitude. The listed MJD ranges identify flare intervals. Entries 1–54 are other-blazar flares, 55–57 are other 3C 279 flares, and 58 is the target.
Figure A1(a) compares the scores of the 2018 event with those of the other 3C 279 flares and the other-blazar sample. The 2018 event has the highest score in this sample, whereas most comparison flares have d, indicating a more temporally concentrated profile for the target event. The sample comprises individually selected fitting windows and does not constitute a complete, uniformly selected flare census.
Photon-index Distribution
Figure A1(b) compares the 32 photon-index estimates during the sharp peaks, MJD 58227.67319–58228.62213, with the 412 estimates outside this interval within the broader MJD 58219.60–58232.47 window. The estimates during the sharp peaks are concentrated in the same central range as those from the rest of the flare, complementing the time-resolved spectral panel in Figure 1. The histogram summarizes the fitted index values without incorporating their individual uncertainties and provides a descriptive comparison of the two samples.
A. Shukla & K. Mannheim (2020) also discussed the spectral index behavior during this period. Notably, their analysis utilized a global log-parabola model to calculate the flux in each time bin, yielding as the spectral index descriptor. In contrast, given the limited photon statistics within individual bins, our analysis adopts a power-law model, such that we compare the photon index instead. To ensure consistency, we re-evaluated the spectrum of the “fast flare” (MJD 58227.76–58228.40) from A. Shukla & K. Mannheim [17] using a log-parabola model, obtaining , which is in excellent agreement with their reported value. Furthermore, we suggest that the significant difference between the spectral index during the fast flare and that of the broader envelope claimed in their work is primarily an averaging effect driven by the much softer spectra during the low-flux phases on either side of the envelope, a point we also elaborate on in the main text.
Gaussian-process Fit to the Observed Light Curve
Gaussian processes (GPs) utilizing a stochastically driven, damped simple-harmonic-oscillator (SHO) kernel provide a robust framework for modeling astronomical time series [7]. Such GP models have been increasingly employed to characterize the long-term gamma-ray variability of jetted AGNs [26]. Furthermore, applications to individual bright flares of sources like 3C 454.3 and 3C 279 have demonstrated that the SHO kernel can successfully capture variability features beyond the simpler damped-random-walk prescription [27]. Following this approach, we fitted the observed light curve directly with a GP using an SHO kernel. In this fit, the time-dependent emission was described by the GP, without a prescribed double-exponential flare profile or a lensing magnification term.
Figure B1(b) shows the conditional GP mean and its interval, together with the standardized residuals and their distribution. The GP follows the broad evolution of the flare and much of the rapid brightening, but underpredicts several of the highest flux measurements. The largest positive residuals occur near the sharp peaks. These localized deviations indicate that the sharpest structure is not fully captured by the fitted SHO process.
Figure B1. Lens-model comparison and a GP-only description of the LAT flare. (a) Single-lens+GP (blue) and binary-lens+GP (orange) fits around the sharp peaks. The upper panel shows the measured fluxes with uncertainties (black points) and the total model predictions, including the GP contribution. The middle panel shows residuals divided by the measurement uncertainties, ; open blue and filled orange circles correspond to the single- and binary-lens models, respectively. The shaded band marks , and the dashed lines mark . The lower panel shows the cumulative deviance difference, , over the displayed interval, where ; positive values favor the binary-lens model. The arrows mark the first rapid rise and the second peak. The upper-right annotation reports statistics for all 444 flux measurements. (b) GP-only fit over the full flare interval using an SHO kernel. The upper panel shows the observed fluxes (black points), conditional GP mean (orange), and conditional interval (shading). The lower panels show the standardized residuals and their distribution, with a Gaussian reference curve in red. The two panels use different time ranges and flux-axis scalings.
We also compare single- and binary-lens models, each supplemented by a GP, using the same 444 flux measurements (Figure B1(a)). The fits are evaluated using the GP marginal likelihood, with the latent process integrated out. The binary-lens model gives , compared with for the single-lens model, an improvement of . The binary-lens model better reproduces the steep rise of the first peak and the height of the second peak, while the predictions are similar over much of the remaining interval.
Counting the fitted mean-model parameters and GP hyperparameters, the binary-lens model has three additional free parameters. With differences defined as single minus binary, the conventional information criteria give and . These approximate criteria favor the binary-lens model.
Parameter Search and Local Posterior
We searched a grid spanning and , with 16 initial trajectory angles over and three initial Einstein timescales of , , and at each grid point. For each fixed pair, the remaining lens, flare, and GP parameters were optimized using bounded L-BFGS-B followed by CMA-ES (N. Hansen & A. Ostermeier [10]). We constrained the flare parameters to remain near those describing the broad intrinsic envelope. At each grid point, we retained the lowest found after optimization over the remaining parameters (Figure B2).
Figure B2. Profiled fixed- surface, with the adopted best-fit solution marked by a star. The color scale is , where , not a calibrated Gaussian significance.
The 3000 configurations with the lowest were further optimized, and representative solutions were subsequently explored through local MCMC sampling with emcee (D. Foreman-Mackey et al. [8]). We used 48 walkers per ensemble, discarded the first 1000 steps as burn-in, and extended the production chains in blocks of 500 steps. The parameter bounds were unchanged from the search; , , and were sampled in logarithmic coordinates, over a full interval, and the SHO hyperparameters in natural-log coordinates.
Figure B3 shows the joint and marginal posterior distributions for the adopted best-fit solution found through the grid search and subsequent MCMC analysis. The best-fit lens model gives and . The quoted parameter intervals are the 16th–84th percentiles of the adopted local posterior mode.
Galactic Lens and Source Scalings
For a Galactic lens, and . Here is the angular-diameter distance to 3C 279, and is the effective relative transverse speed projected onto the lens plane. In this limit, Equations (6) and (8) give
for , where . The corresponding source-plane radius is
We use and Gpc. For example, and km s give pc and cm.
At fixed and , a larger lens mass corresponds to a smaller lens distance and a larger source-plane radius. Figure C1 illustrates these relations for transverse speeds of 100, 500, and 1000 km s. The configurations are shown without population weighting; their relative contributions to the event rate depend on the lens density, mass and velocity distributions, and binary properties.
Figure C1. Galactic lens mass–distance relations and the corresponding source-plane radius for , , and . The orange, gray, and purple curves correspond to effective transverse speeds of 100, 500, and 1000 km s, respectively. The color scale shows . The colored region spans total lens masses – and transverse speeds between 100 and 1000 km s. Dark dashed lines show contours of constant projected source radius across the mass–distance plane.
References
- [1]Abdo, A. A., Ackermann, M., Ajello, M., et al. 2010, ApJ, 722, 520, doi: 10.1088/0004-637X/722/1/520DOI
- [2]Abdollahi, S., Ballet, J., Fukazawa, Y., et al. 2022, ApJS, 260, doi: 10.3847/1538-4365/ac6751DOI
- [3]Ackermann, M., Anantua, R., Asano, K., et al. 2016, ApJL, 824, doi: 10.3847/2041-8205/824/2/L20DOI
- [4]Blinov, D., Jorstad, S. G., Larionov, V. M., et al. 2021, MNRAS, 505, 4616, doi: 10.1093/mnras/stab1484DOI
- [5]Bozza, V. 2010, MNRAS, 408, 2188, doi: 10.1111/j.1365-2966.2010.17265.xDOI
- [6]Bozza, V., Bachelet, E., Bartolić, F., et al. 2018, MNRAS, 479, 5157, doi: 10.1093/mnras/sty1791DOI
- [7]Foreman-Mackey, D., Agol, E., Ambikasaran, S., & Angus, R. 2017, AJ, 154, doi: 10.3847/1538-3881/aa9332
- [8]Foreman-Mackey, D., Hogg, D. W., Lang, D., & Goodman, J. 2013, PASP, 125, 306, doi: 10.1086/670067
- [10]Hansen, N., & Ostermeier, A. 2001, Evolutionary Computation, 9, 159, doi: 10.1162/106365601750190398
- [11]Krimm, H. A., Holland, S. T., Corbet, R. H. D., et al. 2013, ApJS, 209, 14, doi: 10.1088/0067-0049/209/1/14DOI
- [12]Lott, B., Escande, L., Larsson, S., & Ballet, J. 2012, A&A, 544, doi: 10.1051/0004-6361/201218873DOI
- [13]Luhman, K. L. 2025, MNRAS, 542, L126, doi: 10.1093/mnrasl/slaf072DOI
- [15]Paczyński, B. 1986, ApJ, 304, 1, doi: 10.1086/164140DOI
- [16]Pearson, S. G., & McCaughrean, M. J. 2023, arXiv e-prints, doi: 10.48550/arXiv.2310.01231DOI
- [17]Shukla, A., & Mannheim, K. 2020, Nature Communications, 11, doi: 10.1038/s41467-020-17912-zDOI
- [18]Stocke, J. T., Penton, S., Harvanek, M., Neely, W. A., & Blades, J. C. 1998, AJ, 115, 451, doi: 10.1086/300208DOI
- [19]Stroh, M. C., & Falcone, A. D. 2013, The Astrophysical Journal Supplement Series, 207, 28, doi: 10.1088/0067-0049/207/2/28DOI
- [20]Torres, D. F., Romero, G. E., Eiroa, E. F., Wambsganss, J., & Pessah, M. E. 2003, MNRAS, 339, 335, doi: 10.1046/j.1365-8711.2003.06219.xDOI
- [21]Vovk, I., & Neronov, A. 2016, A&A, 586, doi: 10.1051/0004-6361/201526918DOI
- [22]Wambsganss, J. 1997, MNRAS, 284, 172, doi: 10.1093/mnras/284.1.172DOI
- [23]Wambsganss, J. 2006, Gravitational Microlensing, doi: 10.48550/arXiv.astro-ph/0604278
- [24]Wang, J., & Smith, M. C. 2011, MNRAS, 410, 1135, doi: 10.1111/j.1365-2966.2010.17511.xDOI
- [25]Wood, M., Caputo, R., Charles, E., et al. 2017, in Proceedings of the 35th International Cosmic Ray Conference, doi: 10.22323/1.301.0824DOI
- [26]Zhang, H., Yan, D., & Zhang, L. 2022, The Astrophysical Journal, 930, 157, doi: 10.3847/1538-4357/ac679eDOI
- [27]Zhang, H., Yan, D., Zhou, J., Zhang, L., & Tang, N. 2025, Monthly Notices of the Royal Astronomical Society, 540, 3790, doi: 10.1093/mnras/staf944DOI





