WorksPhysics and Astronomy
Are Broad Mg II Galaxies Fading AGN?
Abstract
We analyzed a sample of 494 galaxies from the Sloan Digital Sky Survey (SDSS) I-IV that have unusual properties. They display broadened Mg II 2798 line emission, as would be expected of Type 1 active galactic nuclei (AGN). However, they have weak or absent broad Balmer lines though broadened Balmer lines often accompany broadened ultraviolet lines in Type 1 AGN spectra. We performed a spectral decomposition of these "broad Mg II galaxies'' to assess whether they can be considered fading AGN. The Balmer lines are more responsive to changes in the AGN continuum than the Mg II line. As the AGN power source fades, broad H and then H will weaken and eventually disappear, leaving broad Mg II as a signpost of a more active past. In support of this interpretation, we found that broad Mg II galaxies have weaker AGN luminosities and lower accretion rates (parameterized by the Eddington ratio) than typical Type 1 quasars from SDSS. The Eddington ratio of broad Mg II galaxies are similar to dim-state changing-look AGN, with an average value 1%, which is the threshold at which the inner region of a geometrically thin accretion disk is thought to evaporate and be replaced by a geometrically thick radiatively inefficient accretion flow in stellar-mass black holes. Broad Mg II galaxies may represent the penultimate stage in a changing-look AGN sequence prior to the complete disappearance of all broad lines.
Introduction
At the center of nearly every massive galaxy lies a supermassive black hole that can be millions to billions of times more massive than the Sun. These black holes are observed as Active Galactic Nuclei (AGN) when they grow via a steady supply of fuel from an accretion disk. According to the Shakura & Sunyaev [75] model, the accretion disk powering AGN is optically thick and geometrically thin though other accretion models, like geometrically thick radiatively inefficient accretion flows [73] and advection-dominated accretion flows [54], may describe the power source of sub-Eddington AGN [47, 62, 55, 56].
Galaxies harboring growing supermassive black holes can be identified via spectroscopic signatures. Gas near the vicinity of the accretion disk orbits rapidly, producing broadened emission lines in rest-frame ultraviolet to near-infrared spectra. AGN where this “broad line region” is visible are categorized as Type 1 AGN. In some systems, broad lines are not present but the existence of an accreting black hole can be inferred by prominent narrow emission lines whose ratios are consistent with photoionization by the continuum from an accretion disk (using diagnostic “BPT diagrams”; [9, 36, 37, 35]). These galaxies are classified as Type 2 AGN.
The theory of AGN unification provides a framework for linking Type 1 and Type 2 AGN by positing that both are powered by the same central engine (an accreting supermassive black hole) but that a circumnuclear, parsec scale torus of dust and gas obscures the accretion disk and broad line region from view when the AGN is oriented edge-on to the line of sight [2, 87, 58]. While this model is broadly successful in describing observed properties of AGN, and polarization measurements of some Type 2 AGN reveal hidden broad lines in polarized light con-
Corresponding author: Stephanie LaMassa sistent with this model’s predictions (e.g., Antonucci & Miller [3]; Miller et al. [53]; Tran et al. [83]; Tran [84, 85]; Zakamska et al. [99]), this description is not complete.
A class of objects dubbed “changing-look AGN” exhibit remarkable variability on the timescale of years where broad emission lines, typically Balmer lines, and the non-stellar continuum strengthen or fade (e.g., Tohline & Osterbrock [82]; Denney et al. [13]; LaMassa et al. [43]; Runnoe et al. [70]; MacLeod et al. [51, 52]; Yang et al. [94]; Green et al. [20]; Ricci & Trakhtenbrot [65]; Wang et al. [92]; Zeltyn et al. [100]; Guo et al. [27]; Dong et al. [16]). Most of this emission variability can be ascribed to changes in the power of the central engine to support the production of broad lines rather than variable obscuration. AGN spectral type can thus be a product of both obscuration and AGN evolution, with changing-look AGN providing insight into accretion physics and the AGN duty cycle.
There are a class of galaxies discovered in the Sloan Digital Sky Survey (SDSS; York et al. [97]; Gunn et al. [28]) that have broad Mg II emission at 2798 Å in the ultraviolet but narrow Balmer lines or weak or no broad emission lines (Roig et al. [66]; see also LaMassa et al. [44]). Such broadened Mg II emission would be expected in AGN, but the broad Balmer lines associated with Type 1 AGN are lacking. We propose that these “broad Mg II galaxies” are signposts of fading AGN, on the tail end of changing-look AGN spectral variability. According to theoretical models for the Broad Line Region, Mg II exhibits lower responsivity than the Balmer lines (Korista & Goad [39]), so we may expect a broad remnant to Mg II as the broad Balmer lines disappear (see the changing-look AGN sequence described in Guo et al. [24]). There is also some observational evidence for this hypothesis: examples of changing-look AGN observed at sufficiently high redshift show that as the broad Balmer liness fade, a broad component to Mg II remains (e.g., MacLeod et al. [51, 52]; Graham et al. [19]; Green et al. [20]; Zeltyn et al. [100, 101]), though changing-look AGN with variable broad Mg II emission have been discovered (Guo et al. [23, 26]).
In this paper, we test the hypothesis that broad Mg II galaxies are fading AGN. We select a sample of broad Mg II galaxies from SDSS and compare their properties with a control sample of Type 1 quasars selected from SDSS in the same redshift range, as well as with a sample of SDSS changing-look AGN. We investigate the distribution of the AGN physical parameters in these samples to assess where broad Mg II galaxies lie on the AGN continuum. We qualitatively compare the properties of broad Mg II galaxies, SDSS quasars, and changing-look AGN with theoretical predictions. Throughout, we assume a flat CDM cosmology where km/s/Mpc and .
Sample Selection
Defining a broad Mg II galaxy sample
We selected broad Mg II galaxy candidates from SDSS Legacy (York et al. [97]; Gunn et al. [28]) through SDSS-IV Data Release 16 (Blanton et al. [10]; Ahumada et al. [1]) by querying CASJobs (Li & Thakar 2008) for sources classified as “Galaxies” by the SDSS spectroscopic pipeline and lying in the redshift range , which captures both the Mg II and spectral regions in observed frame optical spectra. This selection garnered 1,413,876 galaxies.
We performed simple fitting of these spectra to identify candidates for a subsequent full spectral decomposition with PyQSOFit (Guo et al. [22]; Shen et al. [76]) which is a more time intensive process. We shifted all spectra to the rest frame and calculated a residual spectrum by subtracting the fitted SDSS spectral model from the observed spectrum. The SDSS “Galaxy” model, which is a linear template model derived from eigenspectra produced by principal-component analysis of SDSS galaxy training samples (Bolton et al. [11]), does not include broad emission lines so any broad Mg II emission would become apparent in this residual spectrum. We then calculated the signal-to-noise ratio (S/N) in the spectrum around the Mg II line, from 2775 - 2825 Å using the Python SPECUTILS routine SNR. For sources where the S/N in the spectrum around the Mg II line exceeded 0.5, we fitted the Mg II complex in the residual spectra with a double Gaussian model. We retained sources where the full-width at half maximum (FWHM) of the broadest Gaussian component exceeded 2000 km s.
This initial pass through the SDSS spectra provided 4150 spectra of broad Mg II galaxy candidates, including multiple observations of some galaxies that we later vet. We fitted these spectra with PyQSOFIT on SciServer (Taghizadeh-Popp et al. [80]), as described in detail in Section 3.1. To ensure consistency in the measurements of spectral properties we analyze in this work, we select comparison SDSS quasar and changing-look AGN samples whose spectra we model with PyQSOFIT using the same version of the software and input parameters that we use for the broad Mg II galaxies.
Comparison SDSS Type 1 Quasar Sample
To compare the properties of broad Mg II galaxies with typical Type 1 quasars, we selected a control sample of quasars from the Sixteenth Data Release of the SDSS Quasar Catalog [49] for analysis (hereafter “SDSS quasars”). From this catalog of over 750,000 quasars, we selected 5,000 as a baseline for comparison with the broad Mg II galaxy sample. Since about half of the Mg II galaxies are at a redshift between and the other half are between , we randomly selected 2500 SDSS quasars from each of these redshift bins that we then fit with PyQSOFit as described below. We note that after applying the quality control cuts to the spectral fits that are discussed below, we retain a comparable fraction of quasars and broad Mg II galaxies in the low and high redshift bins, with 44% (48%) of quasars (broad Mg II galaxies) below and 56% (52%) above .
Comparison Changing-Look AGN Sample
To assess whether broad Mg II galaxies are on the tail end of the spectrum of AGN variability, we compare their properties with those of changing-look AGN. We selected a comparison sample of changing-look AGN from SDSS so that the spectral resolution and data quality are consistent with the broad Mg II galaxy spectra. We therefore require that the changing-look AGN used for our comparison sample have SDSS spectra in both the bright and dim state. We select our comparison sample from SDSS I-IV, matching the data releases from which we selected our broad Mg II galaxy sample, so changing-look AGN discovered from SDSS V (e.g., [100]) are not included in this analysis.
We searched the literature for changing-look AGN from SDSS I-IV between a redshift of and identified 17 AGN for analysis from the following sources: [51, 52]; [91]; [19]; [20]. We fetched the original spectra from SDSS and fitted them with PyQSOFit as detailed in § 3.1.
We only retain the spectral fit parameters for further analysis if the broad Mg II line is securely detected so that we match the sample selection of the changing-look AGN comparison sample with that of the broad Mg II galaxy sample, as described in detail below. Of the 17 changing-look AGN we fitted, we obtained an acceptable fit for 16 of them in either the bright or dim state; we did not obtain a secure broad Mg II line detection for AGN J100220.17+450927.3 from [51] due to the Mg II line being too close to the blue end of the spectrum (see § 3.2) and thus do not include this source in our analysis. We list this comparison sample of 16 changing-look AGN, along with associated literature references, in Table 1. We bold-face the spectra that passed our quality control checks and are thus used in our subsequent analysis.
| Source | Plate | MJD | FiberID | State | Reference | |
| J002311.06+003517.5 | 0.422 | 4219 | 55480 | 852 | bright | MacLeod et al. [51]; Green et al. [20] |
| 7864 | 56979 | 983 | dim | |||
| J020514.77-045639.7 | 0.363 | 4393 | 55944 | 358 | bright | Green et al. [20] |
| 9327 | 57723 | 246 | dim | |||
| J022556.07+003026.7 | 0.504 | 3615 | 55445 | 617 | dim | MacLeod et al. [51] |
| 3615 | 56544 | 669 | bright | |||
| J025410.09+034912.5 | 0.774 | 4256 | 55477 | 278 | dim | Graham et al. [19] |
| 9415 | 58029 | 117 | bright | |||
| J025619.03-004501.0 | 0.722 | 410 | 51877 | 83 | bright | Graham et al. [19] |
| 9372 | 58074 | 236 | dim | |||
| J080138.67+423355.2 | 0.771 | 3683 | 55178 | 268 | bright | Graham et al. [19] |
| 8277 | 57073 | 242 | dim | |||
| J081632.13+404804.6 | 0.701 | 760 | 52264 | 216 | bright | Graham et al. [19] |
| 8293 | 57361 | 393 | dim | |||
| J095750.03+530106.0 | 0.437 | 903 | 52400 | 383 | dim | Graham et al. [19] |
| 8182 | 56993 | 843 | bright | |||
| J100302.62+193251.3 | 0.467 | 2371 | 53762 | 620 | dim | Green et al. [20] |
| 9578 | 57817 | 290 | bright | |||
| J105513.88+242553.7 | 0.496 | 2357 | 53793 | 128 | bright | MacLeod et al. [52]; Green et al. [20] |
| 10467 | 58138 | 724 | dim | |||
| J113111.15+373709.4 | 0.448 | 2036 | 53446 | 227 | bright | Graham et al. [19] |
| 8874 | 57426 | 801 | dim | |||
| J141324.28+530527.0 | 0.456 | 1325 | 52762 | 133 | dim | Wang et al. [91] |
| 7339 | 57518 | 735 | bright | |||
| J214613.31+000930.8 | 0.621 | 1107 | 52968 | 358 | dim | MacLeod et al. [51] |
| 4196 | 55478 | 774 | bright | |||
| J225240.37+010958.7 | 0.534 | 676 | 52174 | 442 | dim | MacLeod et al. [51] |
| 4294 | 55500 | 45 | bright | |||
| J233317.38-002303.4 | 0.513 | 681 | 52199 | 114 | dim | MacLeod et al. [51] |
| 4212 | 55447 | 312 | bright | |||
| J234623.42+010918.1 | 0.509 | 683 | 52524 | 457 | dim | Green et al. [20] |
| 9178 | 58081 | 477 | bright |
Table 1. Changing-Look AGN Sample
In principle, the dim-state changing-look AGN could also be independently selected as broad Mg II galaxies since these dim-state AGN could be expected to have weak or absent broad Balmer emission and be host galaxy dominated. However, all changing-look AGN that we considered for this analysis are classified by the SDSS spectroscopic pipeline as “QSO”s in both the bright and dim state due to prominent broad H or H emission that lingers even after the AGN continuum fades and the broad Balmer lines weaken. Thus they are not included in the list of SDSS spectroscopic “Galaxies” that we queried to identify broad Mg II galaxy candidates. On the other hand, the spectra of changing-look AGN could be included in the SDSS quasar comparison sample. By design, we chose to consider the changing-look AGN spectra separately to assess how the properties of broad Mg II galaxies compares with bright-state and dim-state changing-look AGN, with the overall SDSS quasar population serving as a control sample. While there are no duplicate spectra between our SDSS quasar sample and changing-look AGN sample, the SDSS quasar sample includes spectra of two changing-look AGN observed at other epochs.
Analysis
Fitting SDSS Spectra with PyQSOFit
PyQSOFit [22, 76] is a PYTHON package that decomposes the spectrum of an AGN into quasar continuum and host galaxy components and fits Gaussian models to individual emission line components, both narrow and broad, that are defined by the user. The quasar continuum itself is made up of several possible components: power-law continuum, a polynomial component, and a Balmer Continuum [14]. Ultraviolet Fe II [90, 72, 86] and optical Fe II templates [12], which form a pseudo-continuum, are also included in the fitting. We used all these quasar components except for the Balmer Continuum because we found that adding this component did not improve our spectral fits.
The default method for fitting the host galaxy in PyQSOFit is to use principal component analysis with an input set of eigenspectra based on SDSS galaxy spectra [95] and SDSS quasar spectra [96]. However, PyQSOFit has the option to incorporate user-provided galaxy spectral templates for the host galaxy decomposition. We used this option to input 53 E-MILES [88] spectral templates ranging in ages from 30 Myr - 14 Gyr, assuming BaSTI isochrones [60, 61],
a Kroupa revised broken powerlaw Initial Mass Function (Kroupa [40]), and metallicity [M/H]=+0.06.2 We found that the E-MILES templates, along with the PyQSOFit-provided quasar eigenspectra, did an acceptable job fitting the range of host galaxy properties in our broad Mg II galaxy sample, including post-starburst galaxies and emission line galaxies (see Figure 1 for examples).

Figure 1. Examples of broad Mg II galaxies fitted with PyQSOFit ([22, 76]) using E-MILES spectral templates (Vazdekis et al. [88]) for the host galaxy component. This method reliably decomposes the host (purple, dot-dashed line) and AGN continuum (orange dashed line and cyan dotted line) emission for a range of galaxy types, including post-starburst galaxies (top plot) and emission line galaxies (bottom plot). The emission lines that PyQSOFit fits, if present in the spectra, are indicated in the top panels. Note that neither the [Ne V] nor the He II narrow emission lines were detected in either galaxy and their transitions are marked for illustrative purposes only. The zoom-in plots highlight the Mg II and H complex emission line fits where both broad (red dashed) and narrow (green dotted) line fits are indicated. Note that fitted emission lines need to pass quality control checks as described in the main text in order for the fit parameters to be included in the catalog. For instance, in the top galaxy, PyQSOFit accommodates a slight asymmetry in the Mg II profile with a weak, narrow Gaussian component, but this Mg II narrow line is not significant and is rejected by the quality control cuts discussed in the main text. However, a narrow component to Mg II is significantly detected in the bottom galaxy. The spectra are named by their SDSS observing identifiers: plate number - MJD - fiber id (see Table 2).
We defined the following emission line complexes for PyQSOFit to fit if present in the spectra, where the reported transitions are vacuum wavelengths: the Mg II unresolved doublet, the [Ne V] line, the [O II] unresolved doublet, and the H complex, including H I , He II and [O III] (with separate components for the line core emission and potential broadened emission due to outflows); and the H complex, including H I , and [N II] . We set up PyQSOFit to use up to two Gaussian components to model any broad Mg II, H and H line emission. The fitted line center is a free parameter that is allowed to vary from the nominal line center within a tolerance of 0.5–1.5%, depending on whether the line is narrow or broad. PyQSOFit fits both broad and narrow emission lines at the input transitions, where we used the default FWHM value of 1200 km s to differentiate between broad and narrow emission lines. This default dividing line is based on the results from Hao et al. [29] that show this value as an empirical demarcation between Type 1 and Type 2 AGN in SDSS.
We used Monte Carlo (MC) sampling with 50 trials in PyQSOFit to calculate the measurement errors, which is standard practice when fitting hundreds to thousands of optical spectra from SDSS and other ground-based surveys with PyQSOFit, where the number of MC samples used in the literature range from 25 (e.g., Wu & Shen 2022; Zeltyn et al. [100]; Aydar et al. [7]) to 50 (e.g., Timlin et al. [81]; Rakshit et al. [63]; Guo et al. [25]; Jin et al. [32]). In the Appendix, we report the results of our investigation to test the impact of increasing the number of MC samples on the reported uncertainties, measurement precision, and measurement accuracy. We find that 50 MC samples strikes a reasonable balance between compute time and measurement accuracy as increasing the number of MC trials does not generally significantly improve results and incurs a significant cost in computing time.
Selection Criteria for Broad Mg II Detection
We applied a series of quality cuts on the fit results to retain sources where a broad Mg II line was securely detected and well measured. We require that all Mg II broad line fit parameters (central wavelength, line , FWHM, equivalent width, flux) are non-zero and exceed the error on the parameter, and that the parameter error is non-zero.
We also ensure that the spectral decomposition near the Mg II line is well measured by applying a cut on the measured AGN continuum luminosity at 3000 Å () and by checking that the spectral window to fit Mg II is sufficiently wide. We retain sources where and its associated error is greater than zero and where exceeds the error on .3 To check that the Mg II line is not cut off at the blue end of the spectrum, we require that the fitted line center is greater than the minimum wavelength of the spectrum.
Finally, we search for well-fitted Mg II lines by requiring that the reduced value of the fit within the Mg II line complex be under 1.5. For a broad Mg II line to be considered “detected,” we impose a Mg II S/N cut, where the line S/N reported by PyQSOFit refers to the amplitude of the Gaussian fit to the line divided by the noise in the residual of the line fit (i.e., data - model).
We apply the same cuts to the other emission lines fitted by PyQSOFit, except for the reduced criterion since the reduced is computed for the entire line complex, where some individual lines are well measured and others are not, making it an unreliable indicator of fit quality for other emission lines. Here we check that the H and H line complexes (if present) are not cut off at the red end of the spectrum: the fitted line center has to be less than the maximum wavelength of the spectrum. We only include emission line measurements that meet the quality control criteria in the catalogs and the analysis below.
Multiple Spectra of Broad Mg II Galaxies
A number of broad Mg II galaxies had spectra from multiple observations. By design, our comparison SDSS quasar sample and dim-state and bright-state changing-look AGN samples do not have repeat observations of the same source since we chose representative spectra of changing-look AGN in each state.
When applying the spectral quality cuts to the PyQSOFit results of the broad Mg II galaxy candidates, we were left with 520 spectra of 494 unique sources. Twelve galaxies had multiple spectral epochs that were fit independently. We checked the fit parameters and spectral decomposition of these sources by eye and found that the fit parameters were consistent among these spectra given the quality of the spectra (i.e., there was no evidence of large variability between epochs). We then chose one spectrum to use as the representative spectrum for the galaxy which was the spectrum where the Mg II S/N was the highest or, in one case, where there were smaller residuals around the fit to H.
Results
For a source to be included in our broad Mg II galaxy sample, comparison SDSS quasar sample and comparison changing-look AGN samples, we require a strong broad Mg II line detection and reliable Mg II line measurements. These quality cuts garner 494 unique broad Mg II galaxies, 3613 SDSS quasars, 15 bright-state changing-look AGN, and 11 dim-state changing-look AGN.
PyQSOFit Spectral Decomposition Results
We release four catalogs that summarize the properties of the samples analyzed in this work: broad Mg II galaxies, SDSS Type 1 quasars, SDSS changing-look AGN in the bright state, and SDSS changing-look AGN in the dim state. These catalogs include the AGN continuum luminosities at 3000 Å and 5100 Å and the line fit parameters for Mg II and the following species (if detected according to our quality control cuts described above): [Ne V], [O II], He II, H, [O III], H, [N II]. We list a description of the catalog columns in Table 2.
| Column Name | Description |
| Name | Source name is defined by SDSS observation identifiers: Plate - MJD - FiberID. |
| RA | Right Ascension (degrees). |
| Dec | Declination (degrees). |
| plateid | SDSS spectroscopic plate number of observation. |
| mjd | Modified Julian Date of observation. |
| fiberid | SDSS spectroscopic fiber identification number. |
| redshift | SDSS spectroscopic redshift. |
| L3000, L3000_err | AGN continuum luminosity at 3000 Å () and associated error. Units are erg s and are reported in log space. |
| L5100, L5100_err | AGN continuum luminosity at 5100 Å () and associated error. Units are erg s and are reported in log space. |
| line_FWHM, line_FWHM_err | Full-width-half-maximum of Gaussian fit to emission line and associated error. Units are km s. |
| line_sigma, line_sigma_err | Sigma of Gaussian fit to emission line and associated error. Units are km s. |
| line_EW, line_EW_err | Equivalent width of Gaussian fit to emission line and associated error, reported in rest frame. Units are Å. |
| line_wavecen, line_wavecen_err | Fitted center of emission line and associated error. Units are Å. |
| line_flux, line_flux_err | Flux of emission line. Units are erg s cm. |
| line_SN, line_SN_err | S/N of emission line, calculated by dividing the Gaussian amplitude by the noise in the residual of the model fit. |
| MBH, MBH_err | Black hole mass () calculated with the broad component of the Mg II line and using the formula from Shen et al. [77]. Units are . |
| L_Edd, L_Edd_err | Eddington luminosity and associated error using estimated from the broad Mg II line (). Units are . |
| lambda_Edd, lambda_Edd_err | Eddington parameter (), where is the bolometric AGN luminosity estimated from and the bolometric correction from Runnoe et al. [69]. |
Table 2. Catalog Description
When performing a full spectral decomposition that subtracts out both the host galaxy component and AGN continuum, weak broad Balmer lines are sometimes significantly detected in the spectra of the broad Mg II galaxies. In Table 3, we quantified the detection of broad Balmer lines in the sample of broad Mg II galaxies and the comparison samples of SDSS quasars and bright-state and dim-state changing-look AGN.
| Sample | H | H1 |
| Broad Mg II Galaxies | 57 | 44 (177) |
| SDSS Type 1 Quasars | 2958 | 618 (1268) |
| Bright-State Changing-Look AGN | 15 | 8 (10) |
| Dim-State Changing-Look AGN | 8 | 3 (7) |
Table 3. Broad Line Detections
It is important to note that broad H could only be detected in a subset of sources in each sample due to the long wavelength cutoff of the SDSS spectrum. SDSS-I and SDSS-II used spectrographs that extended to 9200 Å (York et al. [97]) while the BOSS spectrographs used in SDSS-III and SDSS-IV extended to 10400 Å (Smee et al. [78]). When vetting the PyQSOFit results, we retained H line fit results when the red end of the spectrum extended beyond the fitted line center . With this constraint, we can detect and reliably fit broad H up to for SDSS-I and SDSS-II and up to for SDSS-III and SDSS-IV. We note in the parantheses in Table 3 the number of sources in each sample for which we would be able to detect H given these redshift cutoffs. Note that SDSS spectra have low signal-to-noise at the long wavelength region in which H can be detected in these sources. Thus the detection rate of H may be driven more by data quality than AGN physics.
Derived AGN Properties from Spectral Fitting
From the spectral decomposition, we can use the fitted parameters to calculate a number of AGN properties, including the AGN continuum luminosity at 3000 Å (), black hole mass (), and the Eddington ratio () which quantifies the accretion rate onto the black hole relative to the Eddington limit. Using the spectral parameters reported by PyQSOFit, we calculate these AGN properties for the broad Mg II galaxies, Type 1 SDSS quasars, and changing-look AGN in the bright state and dim state. Here, we hypothesize that the broadened Mg II emission in broad Mg II galaxies is due to virial gas motion around the black hole such that these spectral parameters provide information about the fading AGN in the centers of these galaxies. The average AGN properties for each sample, and the number of sources analyzed per sample, are summarized in Table 4.
Table 4. Average AGN Properties1
Black Hole Mass
To calculate , we use the FWHM of Mg II and values reported from PyQSOFit and the single-epoch black hole mass equation from Shen et al. [77]6:
We propagate the uncertainties on and the FWHM of Mg II to derive the error on . We only retain the measured value when the value exceeds the error. Compared with the parent samples of broad Mg II galaxies and SDSS quasars, we find similar fractions of sources with measured black hole masses within the and redshift bins, with 51% (44%) of broad Mg II galaxies (SDSS quasars) in the low redshift bin.
For the subset of sources that have broad H and detections, we independently estimate the black hole mass using Equation 1 of Greene et al. [21]:
We plot the comparison between (calculated from the Mg II line) and in Figure 2 for the broad Mg II galaxy sample, SDSS quasar sample, and changing-look AGN samples and report the residuals () in Table 4. For the 27 broad Mg II galaxies where we had adequate data to calculate and , we find consistent black hole masses with the two methods within 0.04 dex.

Figure 2. Comparison of black hole masses calculated from the broad Mg II line () and the broad H line (), with a dashed blue line indicating the one-to-one relation and a dotted-dashed black line denoting the dex error limits (i.e., where the independent methods for estimating black hole mass agrees to within a factor of 2). The black hole masses are consistent for the broad Mg II galaxy and SDSS quasar samples. Though only 5% of the broad Mg II galaxy sample has estimated black hole masses from the H line, this consistency indicates that the broadened Mg II emission in the broad Mg II galaxies is due to the orbital motion of gas around a supermassive black hole rather than another physical process.
A comparison of the Mg II single-epoch mass estimator from Shen et al. [77] with the H single-epoch mass formula from Greene et al. [21] was performed by LaMassa et al. [46] using quasars from the Stripe 82X survey (LaMassa et al. [41, 45]) that had SDSS spectra. Only 12 quasars lie within the appropriate redshift range for both Mg II and H to be covered in the spectrum and had these lines significantly detected, but the results in LaMassa et al. [46] are
similar to those reported here: the masses between these two methods agree to within an average value of 0.07 dex and, as seen in Figure 2, the Mg II derived black hole masses are systematically higher than the H derived black hole masses at high mass (i.e., M, see their Figure 5, LaMassa et al. [46]).
The agreement between the Mg II-derived and H derived black hole masses in both the broad Mg II galaxy sample and comparison quasar and changing-look AGN samples is compatible with the hypothesis that the broadened Mg II emission in the broad Mg II galaxies is due to the virial motion of gas orbiting a supermassive black hole hole rather than another physical process, like starburst powered outflows.
Accretion Rate
We use to calculate the Eddington luminosity () which is the theoretical maximum luminosity of an object when the gravitational force inward is balanced by radiation pressure outward. is defined as . We propagate the uncertainties on the black hole mass to calculate the error on . We estimate the bolometric AGN luminosity () by applying the bolometric correction of to from Runnoe et al. [69].
Finally, we calculate the Eddington parameter: . We propagate the uncertainties on the bolometric correction, , and to calculate the error on . Again, we retain measurements for the sources where the value exceeds the error. While we have measurements of for all sources in the broad Mg II galaxy, SDSS quasar, and changing-look AGN samples (by design), our requirement that we have well constrained measurements for
and restricts our comparison of these parameters to 66%, 93%, 100%, and 91% of these samples, respectively (see Table 4); the fractions of broad Mg II galaxies and SDSS quasars with measurements in the low and high redshift bins are identical to the fractions with measurements in these bins.
Discussion
Changing-Look AGN Comparison
We compare the continuum luminosity () and black hole masses for changing-look AGN where we have these measurements for the same sources in both the bright and dim states. As shown in Figure 3 (left), the AGN continuum luminosity is systematically higher in the bright state than the dim state, which is expected. We compare the black hole masses in the right hand panel of Figure 3 and find that the mass measurements are comparable in the dim state and bright state, with an average offset of 0.04 dex and standard deviation of 0.23 dex. Though the AGN continuum luminosity is weaker in the dim state, the increase in the Mg II FWHM compensates so that the black hole mass measurements from both spectral epochs are roughly equal.

Figure 3. Comparison of AGN continuum luminosity (left) and black hole mass (right) for changing-look AGN between their bright state and dim state. The dashed line in both plots mark where these quantities are equal. As expected, changing-look AGN have higher values in their bright state than in their dim state. Their black hole mass measurements from both spectral epochs are consistent and agree on average to within a factor of two.
Broad MgII Galaxies on the AGN Continuum
Figure 4 shows the distribution of , , and . In Table 5, we report the results of the k-sample Anderson-Darling test ([71]) with permutation, comparing these properties between the broad Mg II and the AGN samples to quantify whether they are drawn from statistically different parent populations. Due to the disparate sample sizes, spanning 1-2 orders of magnitude, we use the k-sample Anderson-Darling test rather than the often used Kolmogorov–Smirnov test since Anderson-Darling is less sensitive to disparate samples sizes and is more sensitive to differences in the tails of the distributions. We use permutation, drawing samples from a random distribution, to calculate the -value which offers more accurate -values for small sample sizes than using a -value that is interpolated from tabulated values (i.e., the default, non-permutation method). We simply use the -value to report whether the Anderson-Darling test indicates that the distribution of AGN properties are significantly different between pair-wise comparisons of samples considered in this work, where we use as a metric to conclude that the distributions are drawn from different parent populations. The statistical test results reported in Table 5 agree with a qualitative comparison of average AGN properties reported in Table 4, which we discuss in further detail below.

Figure 4. Distribution of (top left) AGN continuum luminosity (), (top right) broad Mg II luminosity (), (bottom left) , and (bottom right) Eddington parameter () for the broad Mg II galaxies (solid orange), SDSS quasars (solid grey), bright-state changing-look AGN (black solid line), and dim-state changing-look AGN (blue dot-dashed line). While the broad Mg II galaxies have black hole masses that are on average similar to typical quasars and changing-look AGN, they have lower Mg II and AGN continuum luminosities. Both dim-state changing-look AGN and broad Mg II galaxies tend to have lower values compared with SDSS quasars and bright-state changing-look AGN which indicates that a suppressed accretion rate is responsible for the weak broad Balmer lines in these galaxies. Normalized distributions are shown to ease visual comparison due to disparate sample sizes.
| Pair-Wise Sample Comparison | -value | -value | -value | -value |
| Broad Mg II Galaxies & SDSS Quasars | ||||
| Broad Mg II Galaxies & Bright-State Changing-Look AGN | ||||
| Broad Mg II Galaxies & Dim-State Changing-Look AGN | ||||
| SDSS Quasars & Bright-State Changing-Look AGN | ||||
| SDSS Quasars & Dim-State Changing-Look AGN | ||||
| Bright-State Changing-Look AGN & Dim-State Changing-Look AGN |
Table 5. Results of k-sample Anderson-Darling Test1
The Anderson-Darling test indicates that the distribution of black hole masses between SDSS Type 1 quasars and broad Mg II galaxies are drawn from different parent populations, though the average black hole masses between the two samples are not significantly different (average dex compared with dex for SDSS quasars).
We find larger disagreements between the average AGN luminosities and Eddington parameters between broad Mg II galaxies and typical SDSS quasars (average factors of 0.7 dex and 0.6 dex, respectively), which would be expected if the broad Mg II galaxies are hosting fading AGN. In fact, the broad Mg II galaxies have the lowest average AGN luminosity of all samples analyzed in this work, with underlying luminosity distributions that are significantly different from all AGN samples we analyzed. This result could be understood in the context of the selection of broad Mg II galaxies. These sources are spectroscopically identified as “Galaxies” and careful spectroscopic decomposition is required to reveal their putative AGN nature, so their AGN luminosity could be expected to be weaker than spectroscopically identified AGN.
How can we test whether apparent weak AGN emission in these galaxy dominated spectra is actually due to an AGN and not a relic of overfitting spectra to extract a weak AGN component? Here we use the luminosity of the broad Mg II emission line as a clue. We posit that the broad Mg II line in these galaxies is powered by the AGN continuum as it is in bona fide AGN. However, the Mg II line has a lower responsivity than the Balmer lines ([39]), so we may expect the broad Mg II line luminosity () to be a lagging indicator of the instantaneous AGN luminosity though still a proxy of the AGN continuum luminosity.
With this caveat in mind, we compare the distributions of among the broad Mg II galaxies, SDSS Type 1 quasars, and changing-look AGN we consider in this work (Figure 4, top right) and report the average values for each sample in Table 4. We find that, similar to the comparison of the AGN continuum distributions, the broad Mg II galaxies have the lowest values amongst the samples we considered and that the parent distribution of values for the broad Mg II galaxies is significantly different than those of the bona fide AGN. We thus conclude that the weaker Mg II luminosity is due to the AGN being weaker and that the spectral decomposition performed by PyQSOFit extracts this otherwise hidden AGN continuum luminosity. We caution that due to the stringent cuts to extract significant broad Mg II line emission from the spectra, these distributions do not represent the intrinsic distribution of these populations and what is shown here is by design biased to higher luminosity values. However, as these cuts were uniformly applied to all samples, the results of the intercomparison across these populations does not depend on the intrinsic distribution.
Eddington Ratio as a Driver of AGN Evolution
Similar to results from past studies of extremely variable quasars ([68] and changing-look AGN ([52, 19, 20, 100]), is systematically lower for dim-state changing-look AGN than Type 1 quasars, and lower for dim-state changing-look AGN than bright-state changing-look AGN ([92, 27, 16]), though the distributions of are not significantly different between the small samples of bright- and dim-state changing-look AGN considered here. We find that the distribution of and the average value of are similar between changing-look AGN in the dim state and broad Mg II galaxies. Taking these results together, we see that broad Mg II galaxies lie on the tail end of the continuum of AGN activity with an Eddington ratio below that of typical Type 1 quasars and similar to that of dim-state changing look AGN (see Table 4–Table 5).
It has been proposed that a decrease in accretion rate drives an evolution in AGN spectral type from Type 1.0 1.n 2.0 ([18]). Due to H having a greater responsivity to the ionizing continuum luminosity than H, broad H gradually fades followed by broad H as the AGN continuum dims ([39]). Many studies of changing-look AGN invoke this framework to describe the (dis)appearance of broad Balmer lines and weakening/strengthening of the AGN continuum over time (e.g., [43, 70, 51, 52, 20]).
Where does broad Mg II lie on this sequence? Mg II is a collisionally excited line and has a lower responsivity than the photoionized Balmer lines ([24]). Observational studies find that Mg II displays less variability than broad H in both typical quasars ([38, 79]) and changing-look AGN ([100, 101]) and that the broad Mg II line has longer reverberation time lags than the broad H line [34], consistent with theoretical predictions about its lower responsivity. In particular, the recent study by Zeltyn et al. [101] found that broad Mg II emission remains prominent in the majority of dimming changing-look AGN where broad H emission disappeared (where this measurement was feasible). We could thus expect that broad Mg II galaxies represent a phase of weakened AGN activity in the changing-look AGN sequence where broad Mg II emission endures after the broad Balmer lines fade.
Previous work has drawn an analogy between changing-look AGN and state transitions in stellar mass X-ray binaries where the inner accretion disk evaporates and is replaced by an advection dominated accretion flow which occurs at an Eddington ratio of a few percent (e.g., [50, 15]). Observational results lend support to this model with X-ray spectral states of changing-look AGN correlating with Eddington ratio changes in a manner similar to X-ray binaries ([59, 67, 65, 30, 31]), UV-optical spectral energy distributions of dim-state changing look AGN being well described by an advection-dominated accretion flow and truncated disc model ([17]), and dim-state changing look AGN being predomoninantly at Eddington ratios below a threshold of ([92]). In our analysis, we find that the average Eddington ratio is at this transition threshold for both broad
Mg II galaxies () and dim-state changing-look AGN (), though the range in average values is large and there is no evidence of a sharp transition at . However, given the similarities in AGN luminosity and Eddington ratio distributions between broad Mg II galaxies and dim-state changing look AGN, it seems plausible that the same physical driver, i.e., low accretion rates, power the broad emission lines in both populations.
Broad Mg II galaxies can represent a penultimate phase in the dimming sequence of changing-look AGN. When the Eddington ratio drops below a critical threshold that is perhaps associated with an accretion state transition, the AGN continuum and broad Balmer lines weaken, manifesting as an evolution in AGN spectral type observed in changing-look AGN. During the transition phase, an AGN can become a dim-state changing-look AGN and then a broad Mg II galaxy, where the broad Mg II line remains prominent due to its the lower responsivity compared with the Balmer lines. In some changing-look AGN, the broad Mg II line weakens (see, e.g., [23, 26]) which could perhaps be driven by a further decrease in the Eddington ratio. Indeed, by design we only included changing-look AGN in this analysis where broad Mg II emission was significantly detected to test the hypothesis that broad Mg II AGN are dim-state changing-look AGN at the next stage of evolution. Further down the sequence are changing-look AGN where the broad Mg II line is absent which is a population not considered in this work.
In such sources, whose spectra would appear as typical Type 2 AGN, care is needed to identify reasonable proxies of the intrinsic AGN continuum and Eddington ratio. Ideally the same proxies should be used for Type 1 AGN and broad Mg II galaxies to enable a fair intercomparison of AGN luminosity and Eddington ratio distributions to assess where these populations lie on the proposed AGN evolutionary sequence.
Baldwin Effect
The Baldwin Effect is an observed anticorrelation between the equivalent width (EW) of broad lines and the AGN continuum luminosity ([8]). Dietrich et al. [14] demonstrated that the strength of the anticorrelation (i.e., slope) between the EW and AGN continuum luminosity depends on the emission line, where Mg II had a strong anti-correlation, but there was no significant Baldwin effect for H (i.e., the fitted slope was consistent with 0, though see [57]). If broad Mg II galaxies are fading AGN where broad Mg II emission is a signpost of low levels of black hole accretion, we may therefore expect to observe a Baldwin effect between Mg II and the AGN continuum luminosity at . For the sources where broad Balmer lines are detected (i.e., H and H), we would also expect that any relation between the broad lines and the AGN continuum powering these lines (e.g., ) would be weaker than that observed between Mg II and .
We assess the strength of the correlation between the broad line EW and AGN continuum luminosity using the Pearson correlation coefficient (), where we remove outliers when the sample size is by performing an iterative linear least square fitting with a clipping.7 In Table 6, we report both and the fitted slope () between the broad line EW and AGN continuum luminosity, where the number of sources in each sample are reported. For this exercise, we require the error on to be below 0.3 dex when comparing this luminosity with the broad H and H EW values. In Figure 5-Figure 7, we plot the Mg II, H, and H EW (respectively) as a function of the AGN continuum luminosity (left panels) for the broad Mg II, SDSS quasar, and changing-look AGN samples. In the right panels of Figure 5-Figure 7, we show for visualization purposes binned versions of these plots, where: the luminosity bin size is 0.25 dex, we required at least 5 objects per bin, and we calculated the -clipped mean of the EW and standard deviation for each binned datapoint;8 we do not bin the changing-look AGN values since there are sources in these samples.
| Sample | Mg II EW vs | H EW vs | H EW vs | |||
| Broad Mg II Galaxies | ||||||
| Sample Size | 488 | 55 | 45 | |||
| SDSS Quasars | ||||||
| Sample Size | 3567 | 2800 | 608 | |||
| Bright-State Changing-Look AGN | ||||||
| Sample Size | 15 | 15 | 8 | |||
| Dim-State Changing-Look AGN4 | ||||||
| Sample Size | 11 | 8 | 3 |
Table 6. Baldwin Effect: Correlations between broad line EW and AGN Continuum Luminosity1

Figure 5. Broad Mg II EW as a function of AGN continuum luminosity at 3000 for Type 1 quasars from SDSS (black squares), broad Mg II galaxies (red circles), dim-state changing-look AGN (blue diamonds), and bright-state changing-look AGN (purple hexagons). As reported in Table 6, we find a clear Baldwin effect with strong correlations (Pearsons ) for the SDSS quasars, broad Mg II galaxies, and dim-state changing-look AGN. We show binned versions of the Mg II EW vs relationship for the SDSS quasars and broad Mg II galaxies in the right panel for visualization.

Figure 7. Same as Figure 6 but for H. The correlation coefficient suggests a strong correlation for the broad Mg II galaxy sample, but the correlation and linear relationship (i.e., fitted slope) is much weaker than observed with the relationship between broad Mg II EW and .
Similar to the Type 1 AGN analyzed by Dietrich et al. [14] and the SDSS quasars analyzed here, we find that broad Mg II galaxies have a strong Baldwin effect in Mg II (i.e., , ) but not in the Balmer lines. The fitted slope between H and the AGN continuum luminosity is nearly flat (when considering the uncertainty) and trends in the opposite direction expected. While for the H EW vs relationship, the slope is much more shallow than the one for the Mg II vs relationship. The changing-look AGN also show a stronger Mg II Baldwin Effect than the Balmer lines.
These results agree qualitatively with the framework described by Guo et al. [24] who performed locally optimally emitting cloud (LOC) photoionization modeling to describe the behavior of Mg II and the broad Balmer lines when the AGN continuum luminosity varies. While the models published in the Guo et al. [24] study probe AGN luminosities beyond those of our broad Mg II galaxy sample (i.e., Guo et al. [24] model AGN where ), they extrapolate their LOC models to predict broad the Mg II EW as a function of from and they report a good match to the measured properties of the broad Mg II galaxies reported in Roig et al. [66]. Though we are unable to directly test these model predictions on our sample of broad Mg II galaxies, the qualitative agreement between our results and those discussed in Guo et al. [24] are consistent with the hypothesis that broad Mg II galaxies are part of the changing-look AGN sequence.
Ionization Hardness from the narrow [O III]/H ratio
Type 2 AGN that lack broad emission lines can be identified by the ratios of narrow emission lines, where the BPT diagram is the most often used diagnostic ([9, 89, 36, 35]). This diagnostic uses a combination of the narrow and flux ratios to identify galaxies harboring accreting black holes.9 traces the ionization field hardness while is a proxy of the metallicity. Due the redshift of our sample, is mostly unavailable to us, and we do not have stellar masses of the AGN host galaxies to use the alternate Mass Excitation diagnostic (MEx, Juneau et al. [33]), but we investigate whether the ratio supports the idea that broad Mg II galaxies harbor AGN.
As the narrow line region, which is photoionized by the AGN, extends hundreds to thousands of parsecs beyond the obscuring torus, the ratio of can serve as a relic of more active accretion past while the broad line region responds to AGN continuum dimming on shorter timescales. A high ratio is not a definitive diagnostic of AGN ionization, however, as low metallicity galaxies can have higher ratios than galaxies at solar metallicity. Conversely, dust and host galaxy dilution can attenuate optical emission lines, hiding signatures of the AGN ionizing continuum in an optical spectrum.
We detect [O III] and narrow H for 51%, 47%, 53%, and 73% of the broad Mg II, SDSS quasar, bright-state changing-look AGN, and dim-state changing-look AGN samples, respectively (see Table 7). We plot the distribution of this ratio for these samples in Figure 8. As reported in Table 7, we find that the changing-look AGN samples have the highest ratios on average, followed by the SDSS quasars and then the broad Mg II galaxies.
| Sample | Mean (dex) | Percent of sample where dex |
| Broad Mg II Galaxies | 61% | |
| Sample Size | 252 | 153 |
| SDSS Quasars | 77% | |
| Sample Size | 1702 | 1308 |
| Bright-State Changing-Look AGN | 88% | |
| Sample Size | 8 | 7 |
| Dim-State Changing-Look AGN | 88% | |
| Sample Size | 8 | 7 |
Table 7. [O III]/H Summary
!Distribution of [O III]/Hβ for the broad Mg II, SDSS quasar, and changing-look AGN samples bbox=0.08,0.35,0.46,0.61
Figure 8. Distribution of [O III]/H, a proxy of the ionization field hardness, for the broad Mg II, SDSS quasar, and changing-look AGN samples. The red dashed line denotes the dex threshold above which gas is primarily ionized by AGN accretion for galaxies that are not low metallicty ([98, 64]). A majority of the sources in each sample are above this threshold (see Table 7).
A ratio greater than 0.3 dex has been used as a diagnostic to identify Type 2 quasar candidates from SDSS at where the traditional BPT sele-
tion is untenable due to [N II] and H being redshifted beyond the SDSS wavelength cutoff ([98, 64]). We plot this demarcation as a red dashed line in Figure 8 and find that a majority of sources in all our samples where the narrow lines are significantly detected exceed this threshold, including 61% of broad Mg II galaxies. Compared with Type 1 quasars from SDSS, broad Mg II galaxies have similar narrow line properties: 30–35% of these galaxies have [O III] and narrow H detections and [O III]/H ratios indicative of photoionization by an AGN continuum.
Conclusions
Through a combination of pre-selection and rigourous spectral decomposition, we identified a sample of 494 broad Mg II galaxies from SDSS that are unusual for having broadend (FWHM km s) Mg II emission with weak or absent broad Balmer lines. We compared the derived spectral properties of these galaxies with a sample of 3613 Type 1 quasars, a sample of 15 bright-state changing-look AGN, and a sample of 11 dim-state changing-look AGN selected from SDSS to test the hypothesis that these broad Mg II galaxies are fading AGN, i.e., they are on the tail end of the changing-look AGN sequence (e.g., [24]). Broad Mg II galaxies have a number of properties that are consistent with the paradigm that they are fading AGN:
Broad Mg II galaxies have lower AGN luminosities (average ) than SDSS quasars and changing-look AGN (average -44.4), consistent with the picture that the AGN continuum is weakening.
The accretion rate (parameterized by ) is similar between broad Mg II galaxies and dim-state changing-look AGN (average ) and is less than the accretion rate of SDSS quasars and bright-state changing look AGN (av-
erage . These trends align with the prevailing theory that changing-look AGN activity, and presence of broad Balmer lines, is driven by variability in the accretion energy output ([39, 18]).
The average Eddington ratio for both broad Mg II galaxies and dim-state changing-look AGN (), though with large scatter) is the approximate theoretical boundary at which the inner accretion disk truncates and is replaced by an accretion flow in stellar-mass black holes, which is a model that is invoked as a physical driver of changing-look AGN activity ([59, 67, 30, 31]).
Similar to typical Type 1 quasars ([14]), broad Mg II galaxies display a strong Baldwin effect for Mg II (Figure 5) but not for the Balmer lines (Figure 6-Figure 7, Table 6), consistent with these galaxies being part of the changing-look AGN sequence ([24]).

Figure 6. Same as Figure 5 but with the broad H line as a function of the AGN continuum luminosity at 5100 Å. There are no strong correlations for the broad Mg II galaxy, SDSS quasars and bright-state changing-look AGN samples. Though the value for the dim-state changing-look AGN sample suggests a strong correlation, the uncertainty on the fitted slope gives a shallower relationship than between the Mg II EW and .
Using the ratio of [O III] 5007 Å and narrow H as a proxy of the ionization field hardness, we find that broad Mg II galaxies have ratios consistent with SDSS quasars (Table 7, Figure 8), and that most galaxies have ratios above 0.3 dex which is a demarcation used to identify Type 2 quasars from non-active galaxies ([98, 64]).
According to the theoretical responsivity of the broad H, H, and Mg II lines, as the AGN continuum fades, the broad components of H HMg II will sequentially disappear ([39]). As a changing-look AGN transitions into a dim state and the Eddington ratio stays below a critical value of , perhaps associated with a radiatively inefficient accretion flow, the broad Balmer lines will disappear yet broad Mg II emission will remain as a relic of previous episodes of powerful AGN activity. The observed properties of broad Mg II galaxies are consistent with this changing-look AGN interpretation. Such galaxies may represent the stage prior to the complete disappearance of broad lines in the changing-look sequence, where as the accretion rate continues to plunge, the broad Mg II emission can weaken ([23, 26]) and may altogether fade at a low enough Eddington ratio. We propose that study of broad Mg II galaxies can provide insight into accretion physics and, when carefully controlling for selection functions, may probe the AGN duty cycle.
Acknowledgments
Funding for the Sloan Digital Sky Survey V has been provided by the Alfred P. Sloan Foundation, the Heising-Simons Foundation, the National Science Foundation, and the Participating Institutions. SDSS acknowledges support and resources from the Center for High-Performance Computing at the University of Utah. SDSS telescopes are located at Apache Point Observatory, funded by the Astrophysical Research Consortium and operated by New Mexico State University, and at Las Campanas Observatory, operated by the Carnegie Institution for Science. The SDSS web site is www.sdss.org.
SDSS is managed by the Astrophysical Research Consortium for the Participating Institutions of the SDSS Collaboration, including the Carnegie Institution for Science, Chilean National Time Allocation Committee (CNTAC) ratified researchers, Caltech, the Gotham Participation Group, Harvard University, Heidelberg University, The Flatiron Institute, The Johns Hopkins University, L’Ecole polytechnique fédérale de Lausanne (EPFL), Leibniz-Institut für Astrophysik Potsdam (AIP), Max-Planck-Institut für Astronomie (MPIA Heidelberg), Max-Planck-Institut für Extraterrestrische Physik (MPE), Nanjing University, National Astronomical Observatories of China (NAOC), New Mexico State University, The Ohio State University, Pennsylvania State University, Smithsonian Astrophysical Observatory, Space Telescope Science Institute (STScI), the Stellar Astrophysics Participation Group, Universidad Nacional Autónoma de México, University of Arizona, University of Colorado Boulder, University of Illinois at Urbana-Champaign, University of Toronto, University of Utah, University of Virginia, Yale University, and Yunnan University.
Facilities: Sloan
Software: astropy ([4, 5, 6]), PyQSOFit ([22, 76]), SciPy ([74]), SciServer ([80])
Appendix
We ran PyQSOFit with a range of Monte Carlo (MC) samples to test the impact on the reported uncertainties of the fitted parameters. When using MC for the error estimation, PyQSOFit perturbs the input flux array based on the error array of the spectrum times, where is the number of MC samples. PyQSOFit then fits these resampled spectra and reports the 16th and 84th percentile distribution of the MC samples as the uncertainty in the output file. However, the reported measurements are from the initial maximum likelihood estimation (MLE) fit to the data.
For this test, we chose five sources at random from each of the four samples we considered in this work: broad Mg II galaxies, SDSS Type 1 quasars, bright-state changing-look AGN, and dim-state changing look AGN. We fitted the spectra for these 20 sources with PyQSOFit with MC samples set to 50 (as often used in the literature as cited in the main text and as used in this work), 100, 200, 500, and 1000. We investigated how the reported uncertainty, measurement precision, agreement between the measurements and the median of posterior distributions, and compute time vary as the number of MC samples increases. For this exercise, we focus on the parameters of the broad Mg II line used in this work (FWHM, EW, and flux) and , though we note that PyQSOFit only saves the posterior distributions for the emission line measurements so we are unable to test the level of agreement between the measured value and the median of the posterior distributions.
From this testing, we find that the reported measurements are not significantly better constrained when increasing MC samples above 50 to warrant the substantial additional investment in computing time when increasing .
Uncertainty Accuracy
We explore how the reported uncertainties vary as the number of MC samples increases. We may expect that since a higher number of MC samples probes a larger parameter space, the error bars associated with a higher number of MC samples could be larger than than those with fewer samples. We thus take the uncertainty associated with as our reference uncertainty () for this excercise and calculate the normalized uncertainty, or , for each measured parameter, where is the uncertainty reported when running PyQSOFit with MC samples set to , 100, 200, 500, 1000.
We plot the normalized uncertainty of the broad Mg II line FWHM, EW, and flux in Figure 9 - Figure 11, and of in Figure 12. We have separate panels for each sample, to search for differences across source type, and we plot each source separately.

Figure 9. Normalized uncertainty (i.e., , where is the reported error, corresponds to the number of MC samples used by PyQSOFit (50, 100, 200, 500, 1000) and is the reference uncertainty for ) of the broad Mg II line FWHM. The normalized uncertainty is plotted as a function of . Five sources were chosen from random from each sample (SDSS quasars, top left; broad Mg II galaxies, top right; dim-state changing-look AGN, bottom left; bright-state changing-look AGN, bottom right). The normalized uncertainty is plotted individually for each source, with different colors for the different sources. We find that a lower number of MC samples does not necessarily under-estimate the uncertainty and that the measured errors across MC samples often agrees with the reference value within 10–20%, though it can be as high as for the broad Mg II galaxies.

Figure 11. Same as Figure 11 but for the broad Mg II line flux.

Figure 12. Same as Figure 11 but for . There are larger variations in the relative uncertainty across compared with the broad Mg II line parameters.
One takeaway is that the normalized uncertainty does not monotonically increase to the reference value. In fact, in some cases the reported error when exceeds that of the reference value, indicating that error bars are not necessarily under-estimated with a lower number of MC samples. We also see that the uncertainties on the continuum luminosities are less constrained than those on the line fit parameters, i.e., there is wider variation in the normalized uncertainty across . In many cases, the reported uncertainties on the Mg II line fit parameters when agree with the reference value within 10-20%, though this can vary up to 50%. However, as discussed below, increasing above 50 comes at a considerable cost in computing time which is exacerbated when fitting more than a handful of sources.

Figure 10. Same as Figure 9 but for the broad Mg II line EW.
Comparison of Measurement Precision across MC Samples
We investigated how the precision of a reported PyQSOFit measurement varies when increasing the number of MC samples. We use the relative error, or the uncertainty normalized by the measurement, for this exercise, and plot it against the number of MC samples for the broad Mg II FWHM, EW, and flux in Figure 13 - 15 and in Figure 16.

Figure 13. Relative uncertainty of the broad Mg II line FWHM, i.e., as a function of . There is little change in the measurement precision with increasing MC samples, with most variations being under 10%. Color coding same as Figure 9.

Figure 16. Same as Figure 13 but for .
As demonstrated in Figure 13 - 16, there is generally little change in the measurement precision as the number of MC samples increases, varying by under 10% for most sources. This exercise indicates that increasing the number of MC samples above 50 does not necessarily result in measurements that are better constrained.
Comparison of Measurements with the Median of the Posterior Distribution
PyQSOFit offers the capability to access the line fitting results from each MC resampling run. We were thus able to calculate the median of the posterior distributions of the broad Mg II line fit parameters for each PyQSOFit run where , 100, 200, 500, 1000.
In Figure 17 - 19, we plot the median of the posterior distributions of the broad Mg II FWHM, EW, and flux, respectively, as a function of . We find that these values remain relatively constant with , indicating that increasing the number of MC samples does not appreciably shift the parameter space from which uncertainties are calculated and reported.

Figure 17. Median of the posterior distribution of the fitted broad Mg II FWHM for , 100, 200, 500, 1000. We find that the median FWHM does not vary with . Color coding same as Figure 9.
But how well do the reported measurements (from the initial MLE fit to the spectrum) agree with the median of the posterior distribution given the reported uncertainties? To answer this question, we select the median of the posterior distribution for as a reference value and calculate the the difference between the measured value and this reference (e.g., Mg II FWHM = Mg II - Mg II ). We plot these residuals and associated measurement uncertainties as a function of in Figure 20 - 22. We find that some sources have a systematic offset between the measured value and the median of the posterior distribution, but when this offset does occur, it persists amongst all MC samples. And in all cases, the difference between the measurement and the median of

Figure 20. Difference between the measured broad Mg II FWHM and the median of the posterior distribution ( Mg II FWHM = Mg II FWHM - Mg II FWHM) for . We plot this difference with a slight offset in the -axis for each source to ease visualization. Though 1-2 sources for most samples show a systematic offset between the median value and the median of the posterior distribution, increasing does not decrease this offset. All measurements are consistent with the median of the posterior distribution within the reported uncertainties for all MC samples. Increasing above 50 does not correspond to more accurate measurements. The color coding is same as Figure 9.

Figure 14. Same as Figure 13 but for the broad Mg II line EW.

Figure 15. Same as Figure 13 but for the broad Mg II line flux.
the posterior distribution is consistent with 0 within the reported uncertainties. We thereby conclude that increasing above 50 does not necessarily improve measurement accuracy.
Compute time
Increasing the number of MC samples in a PyQSOFit run incurs a cost in computing time: each additional sample requires resampling the spectrum, fitting the resampled spectrum, and storing the results. We recorded the amount of computing time for each PyQSOFit run in this exercise.
In Figure 23, we calculated the average compute time for all sources in each sample, where the error bars represent the standard deviation. The average time to run PyQSOFit is higher for galaxy-dominated spectra (i.e., broad Mg II galaxies, followed by dim-state changing-look AGN) than for AGN-dominated spectra. We find that the average time to fit spectra with PyQSOFit ranges from –10 minutes per source for , –20 minutes per source for , –70 minutes per source for , –2.9 hours per source for , and –5.7 hours per source for .

Figure 23. Average PyQSOFit run times for sources in the SDSS quasar sample (black squares), broad Mg II galaxy sample (red circles), dim-state changing-look AGN (blue diamonds), and bright-state changing-look AGN (purple hexagons) as a function of the number of MC samples used for the error estimation. The host-galaxy dominated spectra (broad Mg II galaxies, dim-state changing-look AGN) take a longer time to fit than AGN-dominated spectra. The average running time per source across all samples ranges from minutes () to over 3 hours (). The increase cost in computing time is significant and not commensurate with improvements in error estimation or measurement precision or accuracy.
We conclude that increasing the number of MC samples above 50 incurs a significant cost in computing time that is not associated with demonstrable improvements in fit parameter uncertainties or measurement precision or accuracy.

Figure 18. Same as Figure 17 but for the fitted broad Mg II EW.

Figure 19. Same as Figure 17 but for the fitted broad Mg II flux.

Figure 21. Same as Figure 20 but for the broad Mg II EW.

Figure 22. Same as Figure 20 but for the broad Mg II flux.
References
- [1]Ahumada, R., Allende Prieto, C., Almeida, A., et al. 2020, ApJS, 249, 1, 3. doi:10.3847/1538-4357/ab929e
- [2]Antonucci, R. 1993, ARA&A, 31, 473. doi:10.1146/annurev.aa.31.090193.002353DOI
- [3]Antonucci, R. R. J. & Miller, J. S. 1985, ApJ, 297, 621. doi:10.1086/163559DOI
- [4]Astropy Collaboration, Robitaille, T. P., Tollerud, E. J., et al. 2013, A&A, 558, A33. doi:10.1051/0004-6361/201322068
- [5]Astropy Collaboration, Price-Whelan, A. M., Sipőcz, B. M., et al. 2018, AJ, 156, 3, 123. doi:10.3847/1538-3881/aabc4f
- [6]Astropy Collaboration, Price-Whelan, A. M., Lim, P. L., et al. 2022, ApJ, 935, 2, 167. doi:10.3847/1538-4357/ac7c74DOI
- [7]Aydar, C., Merloni, A., Zeltyn, G., et al. 2026, A&A, 710, A141. doi:10.1051/0004-6361/202558027DOI
- [8]Baldwin, J. A. 1977, ApJ, 214, 679. doi:10.1086/155294DOI
- [9]Baldwin, J. A., Phillips, M. M., & Terlevich, R. 1981, PASP, 93, 5. doi:10.1086/130766DOI
- [10]Blanton, M. R., Bershady, M. A., Abolfathi, B., et al. 2017, AJ, 154, 1, 28. doi:10.3847/1538-3881/aa7567DOI
- [11]Bolton, A. S., Schlegel, D. J., Aubourg, É., et al. 2012, AJ, 144, 5, 144. doi:10.1088/0004-6256/144/5/144DOI
- [12]Boroson, T. A. & Green, R. F. 1992, ApJS, 80, 109. doi:10.1086/191661DOI
- [13]Denney, K. D., De Rosa, G., Croxall, K., et al. 2014, ApJ, 796, 2, 134. doi:10.1088/0004-637X/796/2/134DOI
- [14]Dietrich, M., Hamann, F., Shields, J. C., et al. 2002, ApJ, 581, 2, 912. doi:10.1086/344410DOI
- [15]Done, C., Gierliński, M., & Kubota, A. 2007, A&A Rv, 15, 1, 1. doi:10.1007/s00159-007-0006-1DOI
- [16]Dong, Q., Zhang, Z.-X., Gu, W.-M., et al. 2025, ApJ, 986, 2, 160. doi:10.3847/1538-4357/add331
- [17]Duffy, L., Eracleous, M., Runnoe, J. C., et al. 2025, ApJ, 981, 2, 127. doi:10.3847/1538-4357/adae0b
- [18]Elitzur, M., Ho, L. C., & Trump, J. R. 2014, MNRAS, 438, 4, 3340. doi:10.1093/mnras/stt2445DOI
- [19]Graham, M. J., Ross, N. P., Stern, D., et al. 2020, MNRAS, 491, 4, 4925. doi:10.1093/mnras/stz3244DOI
- [20]Green, P. J., Pulgarin-Duque, L., Anderson, S. F., et al. 2022, ApJ, 933, 2, 180. doi:10.3847/1538-4357/ac743fDOI
- [21]Greene, J. E., Peng, C. Y., & Ludwig, R. R. 2010, ApJ, 709, 2, 937. doi:10.1088/0004-637X/709/2/937DOI
- [22]Guo, H., Shen, Y., & Wang, S. 2018, Astrophysics Source Code Library. ascl:1809.008
- [23]Guo, H., Sun, M., Liu, X., et al. 2019, ApJL, 883, 2, L44. doi:10.3847/2041-8213/ab4138DOI
- [24]Guo, H., Shen, Y., He, Z., et al. 2020, ApJ, 888, 2, 58. doi:10.3847/1538-4357/ab5db0DOI
- [25]Guo, H., Peng, J., Zhang, K., et al. 2020, ApJ, 905, 1, 52. doi:10.3847/1538-4357/abc2ceDOI
- [26]Guo, W.-J., Zou, H., Fawcett, V. A., et al. 2024, ApJS, 270, 2, 26. doi:10.3847/1538-4365/ad118aDOI
- [27]Guo, W.-J., Zou, H., Greenwell, C. L., et al. 2025, ApJS, 278, 1, 28. doi:10.3847/1538-4365/adc124DOI
- [28]Gunn, J. E., Siegmund, W. A., Mannery, E. J., et al. 2006, AJ, 131, 4, 2332. doi:10.1086/500975DOI
- [29]Hao, L., Strauss, M. A., Tremonti, C. A., et al. 2005, AJ, 129, 4, 1783. doi:10.1086/428485DOI
- [30]Jana, A., Ricci, C., Temple, M. J., et al. 2025, A&A, 693, A35. doi:10.1051/0004-6361/202451058DOI
- [31]Jana, A., Ricci, C., Tortosa, A., et al. 2026, A&A, 707, A213. doi:10.1051/0004-6361/20255654
- [32]Jin, J.-J., Wu, X.-B., Fu, Y., et al. 2023, ApJS, 265, 1, 25. doi:10.3847/1538-4365/acaf89DOI
- [33]Juneau, S., Dickinson, M., Alexander, D. M., et al. 2011, ApJ, 736, 2, 104. doi:10.1088/0004-637X/736/2/104DOI
- [34]Homayouni, Y., Trump, J. R., Grier, C. J., et al. 2020, ApJ, 901, 1, 55. doi:10.3847/1538-4357/ababa9DOI
- [35]Kauffmann, G., Heckman, T. M., Tremonti, C., et al. 2003, MNRAS, 346, 4, 1055. doi:10.1111/j.1365-2966.2003.07154.xDOI
- [36]Kewley, L. J., Dopita, M. A., Sutherland, R. S., et al. 2001, ApJ, 556, 1, 121. doi:10.1086/321545DOI
- [37]Kewley, L. J., Groves, B., Kauffmann, G., et al. 2006, MNRAS, 372, 3, 961. doi:10.1111/j.1365-2966.2006.10859.xDOI
- [38]Kokubo, M., Morokuma, T., Minezaki, T., et al. 2014, ApJ, 783, 1, 46. doi:10.1088/0004-637X/783/1/46DOI
- [39]Korista, K. T. & Goad, M. R. 2004, ApJ, 606, 2, 749. doi:10.1086/383193DOI
- [40]Kroupa, P. 2001, MNRAS, 322, 2, 231. doi:10.1046/j.1365-8711.2001.04022.xDOI
- [41]LaMassa, S. M., Urry, C. M., Glikman, E., et al. 2013, MNRAS, 432, 2, 1351. doi:10.1093/mnras/stt553DOI
- [43]LaMassa, S. M., Cales, S., Moran, E. C., et al. 2015, ApJ, 800, 2, 144. doi:10.1088/0004-637X/800/2/144DOI
- [44]LaMassa, S. M., Civano, F., Brusa, M., et al. 2016, ApJ, 818, 1, 88. doi:10.3847/0004-637X/818/1/88DOI
- [45]LaMassa, S. M., Urry, C. M., Cappelluti, N., et al. 2016, ApJ, 817, 2, 172. doi:10.3847/0004-637X/817/2/172DOI
- [46]LaMassa, S. M., Peca, A., Urry, C. M., et al. 2024, ApJ, 974, 2, 235. doi:10.3847/1538-4357/ad6e7dDOI
- [47]Lasota, J.-P., Abramowicz, M. A., Chen, X., et al. 1996, ApJ, 462, 142. doi:10.1086/177137DOI
- [49]Lyke, B. W., Higley, A. N., McLane, J. N., et al. 2020, ApJS, 250, 1, 8. doi:10.3847/1538-4365/aba623DOI
- [50]Maccarone, T. J. 2003, A&A, 409, 697. doi:10.1051/0004-6361:20031146DOI
- [51]MacLeod, C. L., Ross, N. P., Lawrence, A., et al. 2016, MNRAS, 457, 1, 389. doi:10.1093/mnras/stv2997DOI
- [52]MacLeod, C. L., Green, P. J., Anderson, S. F., et al. 2019, ApJ, 874, 1, 8. doi:10.3847/1538-4357/ab05e2DOI
- [53]Miller, J. S., Goodrich, R. W., & Mathews, W. G. 1991, ApJ, 378, 47. doi:10.1086/170406DOI
- [54]Narayan, R. & Yi, I. 1994, ApJL, 428, L13. doi:10.1086/187381DOI
- [55]Narayan, R. 2005, Ap&SS, 300, 1-3, 177. doi:10.1007/s10509-005-1178-7DOI
- [56]Narayan, R. & McClintock, J. E. 2008, NewAR, 51, 10-12, 733. doi:10.1016/j.newar.2008.03.002DOI
- [57]Netzer, H. & Trakhtenbrot, B. 2007, ApJ, 654, 2, 754. doi:10.1086/509650DOI
- [58]Netzer, H. 2015, ARA&A, 53, 365. doi:10.1146/annurev-astro-082214-122302DOI
- [59]Noda, H. & Done, C. 2018, MNRAS, 480, 3, 3898. doi:10.1093/mnras/sty2032DOI
- [60]Pietrinferni, A., Cassisi, S., Salaris, M., et al. 2004, ApJ, 612, 1, 168. doi:10.1086/422498DOI
- [61]Pietrinferni, A., Cassisi, S., Salaris, M., et al. 2006, ApJ, 642, 2, 797. doi:10.1086/501344DOI
- [62]Quataert, E., Di Matteo, T., Narayan, R., et al. 1999, ApJL, 525, 2, L89. doi:10.1086/312353DOI
- [63]Rakshit, S., Stalin, C. S., & Kotilainen, J. 2020, ApJS, 249, 1, 17. doi:10.3847/1538-4365/ab99c5DOI
- [64]Reyes, R., Zakamska, N. L., Strauss, M. A., et al. 2008, AJ, 136, 6, 2373. doi:10.1086/5256/136/6/2373
- [65]Ricci, C. & Trakhtenbrot, B. 2023, Nature Astronomy, 7, 1282. doi:10.1038/s41550-023-02108-4DOI
- [66]Roig, B., Blanton, M. R., & Ross, N. P. 2014, ApJ, 781, 2, 72. doi:10.1088/0004-637X/781/2/72DOI
- [67]Ruan, J. J., Anderson, S. F., Eracleous, M., et al. 2019, ApJ, 883, 1, 76. doi:10.3847/1538-4357/ab3c1aDOI
- [68]Rumbaugh, N., Shen, Y., Morganson, E., et al. 2018, ApJ, 854, 2, 160. doi:10.3847/1538-4357/aaa9b6DOI
- [69]Runnoe, J. C., Brotherton, M. S., & Shang, Z. 2012, MNRAS, 422, 1, 478. doi:10.1111/j.1365-2966.2012.20620.xDOI
- [70]Runnoe, J. C., Cales, S., Ruan, J. J., et al. 2016, MNRAS, 455, 2, 1691. doi:10.1093/mnras/stv2385DOI
- [71]Scholz, F. W. & M. A. Stephens, M. A., 1987, Journal of the American Statistical Association, 82, 918
- [72]Salviander, S., Shields, G. A., Gebhardt, K., et al. 2007, ApJ, 662, 1, 131. doi:10.1086/513086DOI
- [73]Shapiro, S. L., Lightman, A. P., & Eardley, D. M. 1976, ApJ, 204, 187. doi:10.1086/154162DOI
- [74]Virtanen, P., Gommers, R., Oliphant, T. E., et al. 2020, Nature Medicine, 17, 261. doi:10.1038/s41592-019-0686-2DOI
- [75]Shakura, N. I. & Sunyaev, R. A. 1973, A&A, 24, 337.
- [76]Shen, Y., Hall, P. B., Horne, K., et al. 2019, ApJS, 241, 2, 34. doi:10.3847/1538-4365/ab07f4
- [77]Shen, Y., Gi, C. J., Horne, K., et al. 2024, ApJS, 272, 2, 26. doi:10.3847/1538-4365/ad3936DOI
- [78]Smee, S. A., Gunn, J. E., Uomoto, A., et al. 2013, AJ, 146, 2, 32. doi:10.1088/0004-6256/146/2/
- [79]Sun, M., Trump, J. R., Shen, Y., et al. 2015, ApJ, 811, 1, 42. doi:10.1088/0004-637X/811/1/42DOI
- [80]Taghizadeh-Popp, M., Kim, J. W., Lemson, G., et al. 2020, Astronomy and Computing, 33, 100412. doi:10.1016/j.ascom.2020.100412
- [81]Timlin, J. D., Brandt, W. N., Ni, Q., et al. 2020, MNRAS, 492, 1, 719. doi:10.1093/mnras/stz3433DOI
- [82]Tohline, J. E. & Osterbrock, D. E. 1976, ApJL, 210, L117. doi:10.1086/182317
- [83]Tran, H. D., Miller, J. S., & Kay, L. E. 1992, ApJ, 397, 452. doi:10.1086/171801DOI
- [84]Tran, H. D. 2001, ApJL, 554, 1, L19. doi:10.1086/320926DOI
- [85]Tran, H. D. 2003, ApJ, 583, 2, 632. doi:10.1086/345473DOI
- [86]Tsuzuki, Y., Kawara, K., Yoshii, Y., et al. 2006, ApJ, 650, 1, 57. doi:10.1086/506376DOI
- [87]Urry, C. M. & Padovani, P. 1995, PASP, 107, 803. doi:10.1086/133630DOI
- [88]Vazdekis, A., Koleva, M., Ricciardelli, E., et al. 2016, MNRAS, 463, 4, 3409. doi:10.1093/mnras/stw2231DOI
- [89]Veilleux, S. & Osterbrock, D. E. 1987, ApJS, 63, 295. doi:10.1086/191166DOI
- [90]Vestergaard, M. & Wilkes, B. J. 2001, ApJS, 134, 1, 1. doi:10.1086/320357DOI
- [91]Wang, J., Xu, D. W., & Wei, J. Y. 2018, ApJ, 858, 1, 49. doi:10.3847/1538-4357/aab88bDOI
- [92]Wang, S., Woo, J.-H., Gallo, E., et al. 2024, ApJ, 966, 1, 128. doi:10.3847/1538-4357/ad3049DOI
- [94]Yang, Q., Wu, X.-B., Fan, X., et al. 2018, ApJ, 862, 2, 109. doi:10.3847/1538-4357/aaca3aDOI
- [95]Yip, C. W., Connolly, A. J., Szalay, A. S., et al. 2004, AJ, 128, 2, 585. doi:10.1086/422429DOI
- [96]Yip, C. W., Connolly, A. J., Vanden Berk, D. E., et al. 2004, AJ, 128, 6, 2603. doi:10.1086/425626DOI
- [97]York, D. G., Adelman, J., Anderson, J. E., et al. 2000, AJ, 120, 3, 1579. doi:10.1086/301513DOI
- [98]Zakamska, N. L., Strauss, M. A., Krolik, J. H., et al. 2003, AJ, 126, 5, 2125. doi:10.1086/378610DOI
- [99]Zakamska, N. L., Schmidt, G. D., Smith, P. S., et al. 2005, AJ, 129, 3, 1212. doi:10.1086/427543DOI
- [100]Zeltyn, G., Trakhtenbrot, B., Eracleous, M., et al. 2024, ApJ, 966, 1, 85. doi:10.3847/1538-4357/ad2f30DOI
- [101]Zeltyn, G., Trakhtenbrot, B., Eracleous, M., et al. 2026, ApJ, 1002, 1, 61. doi:10.3847/1538-4357/ae5495DOI