# At matched brightness, assuming no change usually predicts the red share of quasar hydrogen lines better than a light echo model

A quasar is a bright galaxy center powered by matter falling toward a massive black hole. Astronomers use the wavelengths of light from the surrounding gas to track its motion. Gas moving toward us emits light shifted toward blue; gas moving away emits light shifted toward red. If the red side of an emission line brightens before the blue side, the center of the line appears to move even if the gas has not accelerated. This can happen when a flash from the central source takes different amounts of time to reach us by way of the approaching and receding gas. Can we use the source's brightness history to predict how much light shifts from one side of a line to the other?

We tested that prediction on two hydrogen emission lines, hydrogen alpha (Hα) and hydrogen beta (Hβ), in spectra taken years apart. We compared visits when both lines had returned to within a factor of 1.10 of their earlier strengths. For each line, in nine of 15 quasars the better prediction was simply that the red side would keep its earlier share of the light. Fitting a separate, repeatable light echo to each side increased the absolute prediction error by a median of 16% for Hα and 8% for Hβ. When line strengths were free to change, the same models helped predict the combined brightness of the two sides.

## Measuring changes in the two sides of a line

Gas near a quasar moves at thousands of kilometres per second. Its light forms the broad sides, or wings, of an emission line. Short monitoring campaigns have measured [apparent velocity changes as the underlying light source brightens and fades](https://doi.org/10.1088/0067-0049/217/2/26). Over years, the interpretation gets harder. In [the quasar RM160](https://arxiv.org/abs/2301.10252), for example, three broad lines changed both width and apparent velocity over nine years.

The [Sloan Digital Sky Survey Reverberation Mapping project (SDSS-RM)](https://arxiv.org/abs/2305.01014) repeatedly measured quasar spectra to track such echoes. Of 849 targets, 186 had usable Hβ brightness histories (light curves), 52 also had Hα light curves, and 44 varied measurably in both lines. We examined 3,960 spectra of those 44 quasars and 4,359 later spectra of 34 of them. In 13 quasars we could match both line strengths to within 10% between visits and measure the two lines on distinct but nearby nights at each visit. The lines gained light on the same side in 51% of comparisons spanning 15–120 days and 63% spanning 900 days or more, with time measured in the quasar's rest frame. When we also matched the short and long comparisons for changes in the spectrograph plate used to collect the light and for differences in line strength, agreement was 58% at both intervals in ten quasars. The agreement gave little reason to infer a physical timescale.

An echo predicts more than which side brightens. Even when a line returns to its earlier strength, its wings can be responding to different stages of a past brightening or fading episode. To measure how much light changed sides, we divided the red-wing flux by the sum of the red- and blue-wing fluxes. A rise in this red fraction from 0.50 to 0.55 means the red side gained five percentage points of the wing light. We fitted each wing's response to the optical light curve in some observing seasons and used it to predict the change in red fraction between two other seasons. Withholding both seasons from the same fit kept either visit from helping predict the other.

## Predictions at matched strength

Fifteen quasars supplied 545 pairs of spectra taken at least 900 days apart with both lines at matched strength. For the typical quasar, the mean absolute change in red fraction was 2.7 percentage points for Hα and 5.5 for Hβ. The echoes predicted smaller changes: 0.7 and 1.0 points, respectively.

![Mean absolute error in the change of red fraction, with and without the optical correction, for each quasar and line](results/return_errors.png)

*Figure 1. Each point compares two predictions for the same strength-matched spectra of one quasar in one line. Below the diagonal the echo prediction had the smaller absolute error; above it, carrying the earlier red fraction forward worked better. Axes are in percentage points of wing light and span different ranges in the original and later surveys.*

The echo prediction reduced error for six of 15 quasars in each line (Figure 1). Table 1 expresses the comparison as a percentage reduction in error, so a negative value means the echo increased the error. Intervals for the median reduction, based on the ranks of the 15 quasars, spanned −35% to +7% for Hα and −15% to +5% for Hβ (at least 95% coverage for independently sampled comparable objects). The data thus allow a small typical benefit. Requiring both spectra to come from the same instrument plate left 12 quasars, with median reductions of −23% and −11%.

## Predicting combined wing brightness

Without the strength match, the echo reduced error more for combined wing brightness than for red fraction in 14 of 17 quasars for each line. The median difference between those reductions within a quasar was 20 percentage points for Hα and 37 for Hβ. Matching line strengths removed that brightness advantage in the original survey. For most quasars, assuming unchanged combined brightness then also beat the echo prediction.

We tested the same responses without refitting on spectra from a later phase of the Sloan Digital Sky Survey, [SDSS-V Data Release 20](https://www.sdss.org/dr20/bhm/programs/rm/). Both visits in each comparison came from the later survey. Of 13 quasars with adequate wing measurements and optical imaging in both surveys, five supplied pairs at least 900 days apart.

| Survey and pairs at least 900 days apart | Quasars | Spectrum pairs | Hα wing sum | Hβ wing sum | Hα red fraction | Hβ red fraction |
|---|---:|---:|---:|---:|---:|---:|
| SDSS-RM, all | 17 | 3,180 | +11% | +15% | −15% | −15% |
| SDSS-RM, both strengths matched | 15 | 545 | −61% | −32% | −16% | −8% |
| Later SDSS-V, all | 5 | 4,760 | +23% | +13% | −7% | −4% |
| Later SDSS-V, both strengths matched | 5 | 856 | +18% | +7% | −3% | −2% |

*Table 1. Median percentage reduction in absolute error relative to predicting no change in the same quantity. Each quasar counts once. The wing sum measures combined wing brightness. The strength match uses the integrated line, which includes light closer to the line center than the wing sum does.*

On unrestricted pairs, the echo improved brightness predictions for both lines in all five later targets. At matched strength, only the quasar RM272 showed an improvement in red fraction for either line; its Hβ error fell 28%. Much of the brightness information came from the light measured near each visit. Using only the current optical brightness gave median improvements of 15% for Hα and 7% for Hβ on unrestricted pairs.

## Alternative predictions and simulated echoes

Allowing optical brightness to change the red fraction directly, with either sign, gave median error reductions of −21% for Hα and −17% for Hβ at matched strength in the original survey. We also added delays of 80, 120 and 160 days and estimated the missing optical brightnesses across winters with a damped random walk, a model in which brightness fluctuations tend to decay (100-day rest-frame damping time). This gave reductions of −1% and −8% on the original test pairs. Changing how we measured the wings did help Hα. Moving the wavelength windows used to estimate and subtract the underlying light (the continuum) and masking wavelengths affected by atmospheric absorption gave +9% for Hα in nine eligible quasars and −8% for Hβ. With these measurements, both lines gave −2% in the three eligible later quasars.

To see whether the observations could have detected a known echo, we simulated a red wing that responded after 10 days and a blue wing that responded after 50 days, each varying in direct proportion to the optical flux. On the dates of the observed strength matches, this produced typical changes of 1.7 percentage points in red fraction before noise. We added noise estimated from closely spaced repeat spectra and fitted the simulated wings in the same way as the observed wings. Across 100 simulations, the error reduction for the median quasar was 17% for Hα (5th–95th percentiles, 6% to 27%) and 3% for Hβ (−4% to 12%). When only the red wing responded, gains reached 32% and 14%. A difference in delay alone was hard to detect in Hβ even when the optical light curve drove the entire signal.

## Interpreting the apparent shifts

In eight quasars we could measure the two lines on separate nights within 20 days of each other at each end of a strength-matched pair, using the same spectrograph plate across years for each line. With each quasar weighted equally, the two red fractions changed in the same direction in 56% of comparisons before subtracting the predicted echo and 52% afterward. The changes left over after correction give little basis for assigning the apparent shifts to a shared change in gas motion.

The red fraction measures redistribution of light rather than a velocity. Optical brightness only approximates the ionizing light that the gas receives, and the wing measurements include noise, light from blended lines and calibration changes. The later test used different spectra of the same survey targets; those spectra also contributed to the comparison of which side brightened, and each later quasar supplied just one pair of seasons. To interpret an apparent shift between two spectra years apart, the relevant test is whether the echo predicts the redistribution of light. Success on combined brightness alone says little about whether the fit recovered different delays in the two wings.

## Methods and data

### Measuring line strengths and wings

From the [SDSS-RM final data products](https://ariel.astro.illinois.edu/sdssrm/final_result/) we selected objects whose intrinsic root-mean-square flux variation was at least twice the median measurement error in both hydrogen lines, which belong to the Balmer series. Each object had 90 original spectra. In the quasar rest frame, we estimated a straight continuum between the median flux densities in two wavelength windows per line (6190–6250 and 6785–6855 angstroms for Hα; 4730–4755 and 5085–5115 angstroms for Hβ). We averaged the flux density above that continuum in each wing from 1,400 to 4,600 kilometres per second (km/s) from line center. We calculated velocity as the speed of light times the logarithm of the ratio of measured wavelength to line-center wavelength.

We required at least ten valid pixels covering at least 80% of each sampled wing and clipped deviations from a five-pixel running median at four times the pixel error. Both wing means had to be positive, and their sum had to exceed 2.5% of the local continuum. In twenty objects, the weaker wing had a median signal-to-noise ratio above five in both lines.

To reduce the effect of common changes in flux calibration, we divided the wing flux densities by the flux of a narrow line from doubly ionized oxygen, [O III] at 5007 angstroms, integrated within ±600 km/s of its center. This normalization cancels in the measured red fraction but enters the wing fits. To match strengths, we integrated each hydrogen line within ±4,600 km/s after subtracting the continuum. We used a three-pixel median filter and interpolated linearly across the contaminated inner ±1,200 km/s for Hα and ±650 km/s for Hβ. We retained integrals above five times their estimated errors. For each line, the larger oxygen-normalized integral divided by the smaller had to be below 1.10. The integrals include the wing pixels, so the match selects on measured strength.

### Fitting and testing the optical response

We measured optical brightness from independent images taken through the g-band filter, excluding brightness estimates derived from the spectra. We removed nonpositive fluxes or uncertainties and measurements with fractional error of 25% or more, took medians in three-day bins and divided the series by its median. For each wing, the model fitted a constant and a nonnegative response to optical brightness at each of four delays (0, 10, 25 and 50 rest-frame days). At each delay we averaged seven evenly spaced samples from 0.55 to 1.45 times the nominal delay. We interpolated only when the gap between bracketing images was under 50 days in the observer's frame and a measurement lay within 20 days. For a wider gap we used the nearest point if less than three days away. We required all samples at all delays. The predictions thus used observed optical brightnesses, including those from neighboring imaging dates.

We grouped observations into seasons of 365.25 days starting at Modified Julian Date 56570, an astronomical day count. After excluding both seasons of each test pair, we required at least 12 spectra from at least three seasons to fit the response. For each quasar we minimized squared wing-flux error, giving each training season equal total weight and making all weights sum to one. We subtracted the weighted training mean from each optical predictor and divided by its weighted training standard deviation, using a minimum scale of 0.005. We penalized the sum of squared coefficients by 0.04 and set negative predicted fluxes to zero.

We took the difference between visits in the predicted red fractions or wing sums, scaling sum differences by the median training sum. We required at least three usable spectrum pairs per quasar. We averaged absolute errors within each season pair and then averaged across season pairs with equal weights. For each quasar, the gain was one minus the ratio of model error to the error of predicting no change. We then took the median gain across quasars.

For the later test we obtained g-band brightnesses from the [Zwicky Transient Facility public imaging measurements](https://irsa.ipac.caltech.edu/Missions/ztf.html), choosing the source within one arcsecond of the target with the most clean measurements. We removed flagged or duplicate exposures. To put the fluxes on the SDSS-RM imaging scale, we fitted a Theil–Sen line, which estimates the slope from the median of pairwise slopes, and used its slope and intercept on overlapping daily medians. We required at least 12 overlapping days, a positive slope and a correlation of at least 0.8. Only original spectra trained the echo model.

For the simulations we kept each quasar's measured dates and strength matches fixed. To preserve correlations in short-interval noise across all four wings, we drew their flux differences together from pairs of spectra taken within ten observer days, divided by √2 and assigned a random sign to each vector. The recovery rates apply to these signals and observing conditions: the simulations omit slow calibration drift and retain the observed strength matches rather than selecting new ones from noisy simulated spectra.
