427 Where the Sign Is Lost

Every quantity reported in the preceding sections is positive: distances, magnitudes, redshifts, invariant masses, Hubble constants. This subsection locates where that positivity enters.

427.0.1 The chain
  LAYER                          SIGN   SET BY
  ------------------------------------------------------------------------
  ADC count                       +     unsigned integer, hardware
  ADC - pedestal                  +/-   pedestal from a signal-free window
  OFC amplitude  A=sum a_i(s_i-p) +/-   pulse-shape coefficients a_i
  cell energy                     +/-
  cluster energy                  +     seeding threshold rejects negatives
  photon_pt                       +     lowest public layer
  m_yy = sqrt(2E1E2(1-cos))       +     square root
  ------------------------------------------------------------------------
  CCD ADU                         +     unsigned integer
  ADU - bias                      +/-   bias from overscan region
  sky-subtracted flux             +/-   3.02% negative  [SDSS, measured]
  template-subtracted FLUXCAL     +/-   7.06% negative  [SNANA, measured]
    pre-explosion window only     +/-   49.23% negative [signal-free]
  m = -2.5 log10(f/f0)            +     LOGARITHM: f<=0 undefined
  mu = 5 log10(d/10pc)            +     LOGARITHM
  d = 10^((mu-25)/5)              +     output positive for all mu
  H0 = c z / d                    +     z>0 and d>0
  ------------------------------------------------------------------------
  parallax                        +/-   15.65% negative [Gaia, measured]
  Bailer-Jones distance           +     PRIOR p(d) ~ d^2 exp(-d/L), d>0 only
  ------------------------------------------------------------------------
  z = lam_obs/lam_lab - 1         +/-   bounded below by -1 only
    STAR                          +/-   58.91% negative [SDSS, measured]
    GALAXY                        +     0.133% negative [SDSS, measured]
    QSO                           +     0.000% negative [SDSS, measured]

Three mechanisms, not one. The transforms \(-2.5\log _{10}f\) and \(5\log _{10}d\) cannot represent a negative argument. The exponentially-decreasing space-density prior assigns zero probability to \(d<0\). And the class assignment decides which sample a spectrum belongs to before its redshift is reported.

427.0.2 The measured layers

A quantity carries sign if it is a difference and loses it if it is a logarithm, a square, or a square root. The SDSS sky model, which is the subtracted quantity, is positive in all \(42{,}072\) pixels examined; the result of subtracting it is negative in \(3.02\%\).

427.0.3 The signal-free window

The pre-explosion epochs of the supernova light curves — phases \(-150\) to \(-20\) days, where no supernova flux is present — give

\[ \begin {array}{lr} n & 4{,}522 \\ \text {negative} & 49.23\% \\ \text {median} & +0.0595 \\ \text {weighted mean} & +0.0949 \\ \text {median pull} & +0.020 \\ \text {mean pull} & +5.973 \\ \text {pull std} & 28.845 \\ |\text {pull}|>3 & 7.6\%\ (0.27\%\ \text {expected}) \\ \end {array} \]
with pull percentiles \([-2.87,\,-1.86,\,-0.74,\,+0.02,\,+0.85,\,+27.8,\,+174.8]\) at \(1, 5, 25, 50, 75, 95, 99\%\).

The distribution is symmetric about zero: \(49.23\%\) negative and a median pull of \(+0.02\). The mean and standard deviation are not, being carried by a tail in which \(7.6\%\) of epochs exceed three standard deviations. The robust width is \(1.162\), so the quoted uncertainties are underestimated by \(16\%\) in the core and by orders of magnitude in the tail.

The centre is correct and the width is not.

427.0.4 The window itself is assigned by a model

The preceding paragraph presupposes that phases \(-150\) to \(-20\) days contain no signal. Phase is computed as \((\mathrm {MJD}-\mathrm {PEAKMJD})/(1+z)\), and both inputs are model outputs. PEAKMJD is fitted from the light curve using a template, and \(z\) is the spectroscopic redshift.

The window in which the background is estimated is therefore defined by a fit to the object whose background is being estimated. Shifting PEAKMJD moves the window; a supernova with an early rise contributes real flux to what is treated as baseline, and the resulting offset is subtracted from the peak.

427.0.5 Correcting the errors

Rescaling FLUXCALERR by the robust factor \(1.162\):

\[ \begin {array}{lrr} & \text {as released} & \text {rescaled} \\ \hline \text {median peak } S/N & 39.2 & 33.8 \\ S/N>3 & 98.3\% & 97.7\% \\ S/N>5 & 96.1\% & 95.2\% \\ S/N>10 & 89.7\% & 87.0\% \\ \end {array} \]

The offset estimate is unchanged at \(+1420.25\), or \(5.00\%\) of peak flux, since rescaling all errors by a common factor leaves the weighted mean invariant. The error correction changes significances; it does not change the subtraction.

427.0.6 Restoring the sign end to end

Writing the ladder without logarithms, using \(\varpi = \operatorname {sign}(f)\sqrt {|f|}\) and \(H_0 = c\,z\,\varpi \), and removing the pre-explosion offset at various multiples:

\[ \begin {array}{rrrrr} \text {offset removed} & \text {median } H_0 & H_0<0 & f<0 & n\ (f>0) \\ \hline 0\times & +70.00 & 0 & 0 & 85 \\ 1\times & +67.42 & 0 & 0 & 85 \\ 2\times & +65.59 & 2 & 2 & 83 \\ 5\times & +60.06 & 3 & 3 & 82 \\ 10\times & +47.16 & 7 & 7 & 78 \\ 20\times & -9.71 & 44 & 44 & 41 \\ 50\times & -79.28 & 72 & 72 & 13 \\ 100\times & -133.05 & 74 & 74 & 11 \\ \end {array} \]
for the \(85\) supernovae in the most populated band.

Three conditions are required for the sign to survive: errors normalised, no logarithm in the parameterisation, and a prior that does not vanish for \(\varpi <0\). All three are matters of representation and were removed here. The fourth, the subtraction offset, is a matter of the model, and the median \(H_0\) does not change sign until the offset is removed at twenty times its estimated value.

427.0.7 The redshift, by class
\[ \begin {array}{lrrrrr} \text {class} & n & z<0 & \% & \text {median } z & \min z \\ \hline \text {STAR} & 62{,}871 & 37{,}038 & 58.911 & -0.00005 & -0.00504 \\ \text {GALAXY} & 285{,}869 & 380 & 0.133 & +0.11826 & -0.01145 \\ \text {QSO} & 51{,}260 & 0 & 0.000 & +1.35259 & +0.00046 \\ \end {array} \]

For stars the redshift is a line-of-sight velocity and is negative in \(58.9\%\) of cases, with a median of \(-14.6\) km s\(^{-1}\). The representation admits negative values and the pipeline reports them.

For galaxies the fraction is \(0.133\%\) and for quasars zero. This is not a limitation of the representation: the same column, the same fitter, and the same catalogue produce negative values for one class and not the others.

The classes are not, however, given. class is assigned by the same template fit that produces \(z\): a spectrum is called a star, a galaxy, or a quasar according to which template family attains the best \(\chi ^2\), and the redshift reported is the one belonging to that family. The stellar templates are searched over \(|z| \lesssim 0.003\) and the galaxy templates over \(-0.01 < z < 1.0\). An object assigned to the stellar family can therefore report a negative redshift; one assigned to the galaxy family is searched over a range that is \(99\%\) positive.

Class assignment, redshift value, and redshift sign are outputs of a single fit.

Data and Source Availability

  SDSS spectra          DR17, plates < 1000, class='GALAXY', zWarning=0
                        12 spectra, 42,072 good pixels
                        columns: flux, ivar, sky, loglam

  SDSS redshifts        SpecObjAll, 400,000 rows, z IS NOT NULL
                        columns: z, zErr, zWarning, class
                        STAR 62,871 / GALAXY 285,869 / QSO 51,260

  SNANA light curves    Pantheon+ DataRelease, 1,478 SNANA files
                        127,880 epochs, 1,203 SNe
                        columns: MJD, FLT, FLUXCAL, FLUXCALERR
                        header: SNID, REDSHIFT_HELIO, PEAKMJD

  Gaia parallaxes       DR3 gaia_source, 4,000 rows, random_index<200000
                        column: parallax

  Search ranges         spReduce1d: GALAXY zmin=-0.01, zmax=1.00
                        elodie_best.pro: zmin=-0.00333, zmax=+0.00333

pict

427.1 The Window and the Class

Two quantities in the preceding sections were treated as given: the signal-free window in which a supernova’s background is estimated, and the class assignment that determines a spectrum’s redshift search range. Neither is given. Both are outputs of fits to the object whose properties are being measured.

427.1.1 The baseline window is defined by the signal

Rest-frame phase in SNANA is

\[ T_{\rm rest} = \frac {\mathrm {MJD} - \mathrm {PEAKMJD}}{1+z}, \]
and every window cut — CUTWIN_TREST, and the pre-explosion range used in §427 — is expressed in this variable.

PEAKMJD is not observed. The header declaration in sndata.h states it directly:

  float SEARCH_PEAKMJD ;   // approx MJD at g-band peak, from LC fit

and the text writer labels it as an input to the fit that will use it:

  fprintf(fp, "PEAKMJD:  %9.3f     # estimate for LC fit codes\n",
          SNDATA.SEARCH_PEAKMJD );

The estimation method is named in makeDataFiles_params.py — estimate PEAKMJD from fmax-clump method — and its window width is a compiled-in constant:

  INPUTS.MJDWIN_SETPKMJD = 60.0;   // for default Fmax-clump method

Other survey translators bypass estimation entirely and take the brightest observation:

  translate_CSPDR3.py:  PEAKMJD = mjd
                        fout.write('PEAKMJD: %8.2f   # at brightest obs \n')
                        f.write('   PEAKMJD is from brightest observation.\n')

or hard-code a value:

  read_data_ztf.py:     PEAKMJD  = 56908.32   # pkl_phot.meta['fit_t0']

The loop is closed in the code, not by inference:

  baseline window   <- CUTWIN_TREST
  TREST             <- (MJD - PEAKMJD)/(1+z)
  PEAKMJD           <- light-curve fit  (60-day Fmax-clump window)
  light curve       <- FLUXCAL
  FLUXCAL           <- template subtraction
  subtraction offset<- estimated in the baseline window

The \(49.23\%\) negative fraction and the \(5.00\%\) offset reported in §427 are computed in a window whose location was set by fitting the signal those numbers are used to correct.

427.1.2 Rejection thresholds inside the same fit

The photometric classifier applies outlier rejection with two compiled defaults:

  psnid_BEST.c:   CHISQMIN_OUTLIER = 999.0
                  NREJECT_OUTLIER  = 0
                  // new option to reject outlier light curve points

Epochs are removed by their \(\chi ^2\) against the model being fitted. Season boundaries are set by a gap threshold:

  snlc_sim.h:     TGAP_SEASON_SIMLIB 90.0   // gap (days) to define new season
  multiseason.c:  TGAP  : gap in days defines season
                  NREJECT_OUTLIER : number of outliers to reject per season

and the flux-error model carries an explicit term for the effect measured in §427:

  sntools_fluxErrModels_legacy.c:
      // This is anomalous subtraction noise in pre-explosion epochs

The excess scatter in the pre-explosion window is known and parameterised. It is absorbed into the error model rather than propagated as a systematic on the subtraction.

427.1.3 The class and the redshift come from one fit

In §427 the redshift sign was found to depend on assigned class: \(58.9\%\) negative for stars, \(0.133\%\) for galaxies, \(0\%\) for quasars. The reason is in the search ranges, which redrock declares as command-line defaults:

  redrock/external/desi.py:
    --zscan-galaxy   default='-0.005,1.7,3e-4'
    --zscan-qso      default='0.05,6.0,5e-4'
    --zscan-star     default='-0.002,0.00201,4e-5'

The stellar grid is symmetric about zero. The galaxy grid extends \(0.005\) below zero and \(1.7\) above, so \(0.29\%\) of its span is negative. The quasar grid begins at \(+0.05\) and contains no negative value at all: a quasar template cannot return \(z<0\) under any data.

The SDSS pipeline uses the same structure with different numbers:

  spreduce1d.pro:      GALAXY   zmin = -0.01,     zmax = 1.00
  elodie_best.pro:     if (NOT keyword_set(zmin)) then zmin = -0.00333
                       if (NOT keyword_set(zmax)) then zmax =  0.00333

Class is then assigned by comparing the fits:

  zfind.py:      spectype, subtype = parse_fulltype(fulltype)
                 if spectype == 'STAR': ...
  zrefind.pro:   result[indx].rchi2 = res1[*].rchi2
                 sortstring = result[*].tfile + tcolstring + string(npoly)
  targets.py:    spectype = bestfit['SPECTYPE']

The template family attaining the lowest \(\chi ^2\) supplies both the class and the redshift. A spectrum assigned to the quasar family reports a redshift drawn from a grid with no negative values; one assigned to the stellar family reports from a grid centred on zero. The assignment and the value are the same computation.

427.1.4 The search grid is not the only prior

redrock adds explicit priors on top of the grid:

\begin{align*} &\texttt {priors.py:\ \ \ \ \ prior = np.where(np.abs(z - z0) < s0/2, 0., np.nan)}\\ &\texttt {\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ prior[index\_left] = np.inf}\\ &\texttt {\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ prior[index\_right] = np.inf}\\ &\texttt {desi.py:\ \ \ \ \ \ \ --priors\ \ \ \ \ \ \ \ \ \ \ default=None}\\ &\texttt {\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ --archetype-legendre-prior\ \ \ type=float, default=0.1}\\ &{\footnotesize \texttt {fitz.py:\ \ \ \ \ \ \ prior = np.zeros((nbasis,nbasis)); np.fill\_diagonal(prior, 1/(sigma**2))}}\\ &{\footnotesize \texttt {\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ prior[i][i] = 0.\ \ \#\# Do not add prior to the archetypes}} \end{align*}

A tophat prior sets \(\chi ^2\) penalty to zero inside a window and to inf outside it. Redshifts outside the window are not disfavoured; they are excluded.

427.1.5 Summary
  QUANTITY              SET BY                          SOURCE
  ---------------------------------------------------------------------------
  pre-explosion window  TREST = (MJD-PEAKMJD)/(1+z)     CUTWIN_TREST
  PEAKMJD               light-curve fit, 60-day window  MJDWIN_SETPKMJD=60.0
                        or brightest observation        translate_CSPDR3.py
                        or hard-coded                   read_data_ztf.py
  season boundary       gap threshold                   TGAP_SEASON_SIMLIB=90.0
  epoch rejection       chi2 against the fitted model   CHISQMIN_OUTLIER=999.0
  pre-explosion scatter absorbed into error model       "anomalous subtraction
                                                         noise in pre-explosion
                                                         epochs"
  ---------------------------------------------------------------------------
  z range, GALAXY       grid                            -0.005 to 1.7
  z range, QSO          grid                            +0.05 to 6.0
  z range, STAR         grid                            -0.002 to +0.00201
  z range, SDSS GALAXY  grid                            -0.01 to 1.00
  z range, SDSS star    grid                            -0.00333 to +0.00333
  class                 lowest chi2 among families      bestfit['SPECTYPE']
  additional prior      tophat, inf outside window      priors.py
  ---------------------------------------------------------------------------

The window in which the background is measured is located by fitting the signal. The range in which the redshift may lie is fixed by the class, and the class is decided by the same fit that returns the redshift. In both cases the quantity that would constrain the answer is itself an output of the procedure that produces it.

427.2 The Sign of the Redshift Is a Line-List Choice

The preceding subsection showed that the redshift search grid excludes negative values for quasars by construction. This one removes the grid and asks what the spectra themselves determine.

427.2.1 Method

Sixteen SDSS quasar spectra (\(0.1 < z_{\rm cat} < 2.5\)) and sixteen galaxy spectra (\(0.02 < z_{\rm cat} < 0.30\)) were retrieved with the sky column, which carries the subtracted sky model. Redshift was determined by scanning a symmetric grid, \(-0.9 < z < 6.0\) for quasars and \(-0.9 < z < 1.5\) for galaxies, and maximising a line-matching statistic: the mean squared deviation of the flux inside \(\pm 12\) Å of each expected line position, normalised by the local continuum scatter, averaged over lines falling inside the observed window. At least four lines were required.

Two things were varied: which lines are in the list, and how much of the sky model is added back.

427.2.2 The line list determines the sign
\[ \begin {array}{llrrr} \text {sample} & \text {line list} & \text {sky} & z<0\ [\%] & \text {median } z \\ \hline \text {QSO} & \text {full (11 lines)} & 0.0 & 18.8 & +1.926 \\ & \text {full} & 0.5 & 43.8 & +1.921 \\ & \text {full} & 2.0 & 50.0 & +0.885 \\ & \text {UV only } (<3000\ \text {\AA }) & 0.0 & 0.0 & +1.980 \\ & \text {UV only} & 2.0 & 0.0 & +1.921 \\ & \text {optical only } (>3000\ \text {\AA }) & 0.0 & 75.0 & -0.150 \\ & \text {optical only} & 0.5 & \mathbf {81.2} & -0.150 \\ \hline \text {GALAXY} & \text {full (11 lines)} & 0.0 & 31.2 & +0.417 \\ & \text {full} & 0.5 & 87.5 & -0.151 \\ & \text {absorption only} & 0.0 & 0.0 & +0.407 \\ & \text {absorption only} & 2.0 & 0.0 & +0.417 \\ & \text {emission only} & 0.0 & 56.2 & -0.151 \\ & \text {emission only} & 0.5 & \mathbf {100.0} & -0.152 \\ \end {array} \]

The spectra are identical throughout. The wavelength solution is identical. Only the list of rest wavelengths compared against them changes.

For quasars the fraction assigned a negative redshift runs from \(0\%\) to \(81.2\%\). For galaxies it runs from \(0\%\) to \(100\%\): every spectrum in the sample is assigned \(z<0\) under an emission-only list with half the sky model restored.

427.2.3 Why

The mechanism is the observing window. A quasar at \(z \simeq 1.9\) has its ultraviolet lines — Ly\(\alpha \), C iv, Mg ii — redshifted into the \(3800\)–\(9200\) Å range of the spectrograph, while its optical lines would lie beyond \(9200\) Å and are not observed. Matching an optical list against the same spectrum therefore requires \(1+z < 1\), and the fitter returns \(z \simeq -0.150\) because that is where H\(\beta \), [O iii] and H\(\alpha \) can be placed on the features that are present.

This is not a numerical artefact. It is the statement that a set of observed wavelengths does not determine a redshift without a list of rest wavelengths, and that the list admits solutions of either sign. The identification \(\lambda _{\rm obs} = 5008\,(1+z)\) and \(\lambda _{\rm obs} = 1549\,(1+z)\) are both consistent with the same \(\lambda _{\rm obs}\); they differ by which atomic transition is asserted to have produced it.

What the table above shows is that the resolution depends on which several.

427.2.4 The sky model contributes

Restoring the subtracted sky model raises the negative fraction in every configuration where it is not already zero: for quasars with the full list, \(18.8\% \to 43.8\% \to 50.0\%\) at multipliers \(0\), \(0.5\), \(2.0\); for galaxies with the full list, \(31.2\% \to 87.5\%\); for galaxies with emission lines only, \(56.2\% \to 100\%\).

Sky emission lines sit at fixed observed wavelengths. When they are left in the spectrum they are available to be matched, and being fixed in the observer frame they favour whatever redshift places a template line on them. The subtraction that removes them is a model, and the SDSS sky model examined in §427 is positive in all \(42{,}072\) pixels while the residual after subtraction is negative in \(3.02\%\).

Continuum subtraction moves the result less: for quasars the negative fraction runs \(18.8\%\) at multiplier \(0\) and \(12.5\%\) at \(1.0\); for galaxies \(31.2\%\) to \(43.8\%\).

427.2.5 What is determined and what is not
  fixed across all rows:   the spectra
                           the wavelength solution
                           the fitting statistic
                           the search grid (symmetric, -0.9 to +6.0)

  varied:                  which rest wavelengths are in the list
                           how much of the sky model is restored

  result:                  QSO      z<0 in   0.0% ... 81.2%
                           GALAXY   z<0 in   0.0% ... 100.0%

The catalogue reports \(0\) negative redshifts among \(51{,}260\) quasars. The grid used to produce those values runs from \(+0.05\) upward (§427.1), so no other outcome was available. Opening the grid does not by itself produce negative values — with the full line list and no sky restoration the quasar sample gives \(18.8\%\) — but it makes the question askable, and the answer then depends on the line list.

What the released catalogue records is not that quasar redshifts are positive. It records that a positive-only grid was searched with a list of ultraviolet lines.

Remark 427.1 (The sign of \(z\) is set by the line list). Sixteen SDSS quasar spectra with catalogue redshifts \(0.1<z<2.5\) and sixteen galaxy spectra with \(0.02<z<0.30\) were refitted over a symmetric grid, \(-0.9<z<6.0\) for quasars and \(-0.9<z<1.5\) for galaxies, using only the released flux, ivar and sky columns. The score at each trial redshift is the mean squared deviation from a local continuum at the predicted positions of a chosen line list.

Restoring the subtracted sky model, \(f \to f + \alpha \,\mathrm {sky}\), gives

\[ \begin {array}{rrrrr} \alpha & z<0\ [\%] & \text {median } z & S_+/S_- & \text {recovers } z_{\rm cat}\ [\%] \\ \hline \multicolumn {5}{l}{\text {quasars, full line list}} \\ 0.00 & 25.0 & 1.9190 & 1.142 & 25.0 \\ 0.25 & 12.5 & 1.9210 & 1.027 & 0.0 \\ 1.00 & \phantom {0}6.2 & 1.9200 & 1.024 & 0.0 \\ 3.00 & \phantom {0}6.2 & 1.9195 & 1.011 & 0.0 \\ \hline \multicolumn {5}{l}{\text {galaxies, full line list}} \\ 0.00 & 68.8 & -0.1515 & 0.759 & 6.2 \\ 0.25 & 100.0 & -0.1515 & 0.486 & 0.0 \\ 1.00 & 100.0 & -0.1515 & 0.523 & 0.0 \\ 3.00 & 100.0 & -0.1515 & 0.645 & 0.0 \\ \end {array} \]
where \(S_+/S_-\) is the ratio of the best score at positive redshift to the best at negative redshift. For galaxies the ratio falls below unity at \(\alpha =0\) already and the negative solution is preferred outright once any sky is restored.

Varying instead the continuum subtraction, \(f \to f - \alpha \,\bar {f}\) with \(\bar {f}\) a \(301\)-pixel running mean, moves the quasar negative fraction over \(18.8\) to \(31.2\%\) with \(S_+/S_-\) between \(1.13\) and \(1.15\): the discriminant barely exceeds one throughout.

The dominant effect is neither of these. Holding the spectra fixed and changing only which lines are searched for:

\[ \begin {array}{lrrrr} \text {line list} & \alpha {=}0 & \alpha {=}0.5 & \alpha {=}1.0 & \alpha {=}2.0 \\ \hline \text {full (11 lines)} & 25.0 & \phantom {0}6.2 & \phantom {0}6.2 & \phantom {0}6.2 \\ \text {UV only } (\lambda <3000\,\text {\AA }) & \phantom {0}0.0 & \phantom {0}0.0 & \phantom {0}0.0 & \phantom {0}0.0 \\ \text {optical only } (\lambda >3000\,\text {\AA }) & 75.0 & 93.8 & 100.0 & 93.8 \\ \end {array} \]
in percent of quasar spectra assigned \(z<0\).

The ultraviolet list never returns a negative redshift and the optical list returns one for every spectrum at \(\alpha =1\). The reason is geometric rather than statistical: at \(z\simeq 1.9\) the rest-ultraviolet lines fall inside the observed window, while H\(\alpha \) at \(6564.61\) Å and its neighbours require \(z<0\) to enter it at all. Each list therefore admits only the redshifts that place its own lines in range.

The redshift sign is fixed by the choice of line list, not by the spectrum. In the released pipelines that choice is made by template family, and the template family is selected by the same \(\chi ^2\) comparison that reports the redshift (§427.1). The quasar search grid begins at \(z=+0.05\), so for objects assigned to that family the comparison in this remark is not performed. The catalogue reports \(0\) negative redshifts among \(51{,}260\) quasars, but that is a statement about the grid and the line list, not about the spectra themselves.

pict

427.3 Quasar Redshifts Without the Grid

The quasar sample of §427 contained no negative redshift in \(51{,}260\) objects. This subsection re-solves the redshift for a subset of those spectra without the grid restriction, using only the released flux arrays.

427.3.1 Method

Twenty-five SDSS quasar spectra with zWarning\(\,=0\) and catalogue redshifts between \(0.271\) and \(2.378\) were taken from plate \(<1200\). For each spectrum a score was computed on a grid \(-0.9 < z < 6.0\) in steps of \(5\times 10^{-4}\), summing the mean squared deviation from a local continuum in \(\pm 12\) Å windows around eleven quasar emission lines, and requiring at least four lines to fall inside the observed range. No template, no prior, no class assignment.

427.3.2 One line, eleven redshifts

For plate \(266\), fiber \(3\), the strongest emission feature lies at \(3814.17\) Å. Assigning it to each line in turn:

\[ \begin {array}{lrr} \text {assumed line} & \lambda _{\rm rest}\ [\text {\AA }] & z \\ \hline \mathrm {Ly}\alpha & 1215.67 & +2.1375 \\ \mathrm {N\,V} & 1240.81 & +2.0739 \\ \mathrm {Si\,IV} & 1399.80 & +1.7248 \\ \mathrm {C\,IV} & 1549.48 & +1.4616 \\ \mathrm {C\,III]} & 1908.73 & +0.9983 \\ \mathrm {Mg\,II} & 2799.12 & +0.3626 \\ \mathrm {H}\gamma & 4341.68 & -0.1215 \\ \mathrm {H}\beta & 4862.68 & -0.2156 \\ \mathrm {[O\,III]}\ 4959 & 4960.30 & -0.2311 \\ \mathrm {[O\,III]}\ 5007 & 5008.24 & -0.2384 \\ \mathrm {H}\alpha & 6564.61 & -0.4190 \\ \end {array} \]

All eleven lie inside \(-0.9 < z < 6\). Five are negative. The catalogue value for this object is \(0.6522\), which corresponds to none of the eleven: it is obtained from the combination of lines, not from any single one.

The determination is therefore not a wavelength ratio but a pattern match against a template. That template is what supplies the sign.

427.3.3 The line list determines the answer

Running the same scan with different subsets of the line list, over fourteen spectra:

\[ \begin {array}{lrrrr} \text {line set} & \text {median } z & z>0 & |\Delta z|\ \text {vs full} & \text {spread} \\ \hline \text {full (11 lines)} & +0.9948 & 1.00 & 0.0000 & 4.8765 \\ \text {UV only} & +1.9263 & 1.00 & 0.5803 & 4.7720 \\ \text {optical only} & -0.1497 & 0.21 & 1.1447 & 0.7355 \\ \mathrm {Ly}\alpha + \mathrm {C\,IV} & +3.5893 & 1.00 & 1.9095 & 2.0960 \\ \mathrm {Mg\,II} + \mathrm {H}\beta & +0.5012 & 1.00 & 0.5620 & 0.4585 \\ \mathrm {C\,IV}\ \text {only} & +2.6050 & 1.00 & 1.6060 & 2.8015 \\ \mathrm {Mg\,II}\ \text {only} & +0.9948 & 1.00 & 0.0005 & 1.5505 \\ \mathrm {H}\alpha \ \text {only} & -0.1490 & 0.21 & 1.1442 & 0.6610 \\ \end {array} \]

Restricting to ultraviolet lines gives a median redshift of \(+1.93\); restricting to optical lines gives \(-0.15\), with \(79\%\) of the sample negative. The two subsets are drawn from the same eleven-line list applied to the same spectra.

The sign of the redshift is determined by which lines are included in the template.

427.3.4 The symmetric scan

With the full line list and the range opened to \(-0.9\):

\[ \begin {array}{rrrrrr} \text {plate} & \text {fiber} & z_{\rm cat} & z_{\rm fit} & z_{\rm neg}^{\rm best} & S(+)/S(-) \\ \hline 266 & 3 & 0.6522 & +2.9920 & -0.1490 & 1.18 \\ 266 & 42 & 2.2980 & +2.9875 & -0.1490 & 1.14 \\ 266 & 48 & 2.2828 & +2.2975 & -0.1515 & 1.40 \\ 266 & 58 & 1.4736 & -0.1515 & -0.1515 & 1.00 \\ 266 & 88 & 2.2879 & -0.2000 & -0.2000 & 1.00 \\ 266 & 92 & 2.2869 & +2.2910 & -0.1500 & 1.00 \\ 266 & 123 & 0.2714 & +0.2715 & -0.0580 & 2.43 \\ 266 & 124 & 0.5175 & -0.1515 & -0.1515 & 0.65 \\ \end {array} \]

Six of twenty-five recover the catalogue value to within \(0.01\). Eighteen return a positive redshift and seven negative. The ratio of the best positive score to the best negative score has median \(1.07\), and in seven cases the negative branch scores higher.

This scan is deliberately cruder than the pipeline: no continuum model, no template weighting, no line-ratio constraints. Its purpose is not to compete with redrock but to show what the score surface looks like when the negative half is not removed in advance. The surface is not empty there. It has maxima, and their heights are comparable to the positive ones.

427.3.5 The grid

The redrock defaults are declared on the command line:

  --zscan-qso      default = '0.05, 6.0, 5e-4'
  --zscan-galaxy   default = '-0.005, 1.7, 3e-4'
  --zscan-star     default = '-0.002, 0.00201, 4e-5'

The quasar grid begins at \(+0.05\). No negative value, and no value below \(0.05\), is evaluated. A quasar template cannot return \(z \le 0\) under any data whatever, and the absence of negative quasar redshifts in the catalogue is a property of that declaration.

Our scan covered \(-0.9\) to \(6.0\), of which \(13.0\%\) is negative. The redrock quasar scan covers \(0.05\) to \(6.0\), of which \(0\%\) is negative. The observed counts follow:

\[ \begin {array}{lrrr} \text {class} & n & z<0 & \% \\ \hline \text {STAR} & 62{,}871 & 37{,}038 & 58.911 \\ \text {GALAXY} & 285{,}869 & 380 & 0.133 \\ \text {QSO} & 51{,}260 & 0 & 0.000 \\ \end {array} \]
in the same proportion as the negative fraction of each grid.
427.3.6 Summary
  a single observed wavelength         -> 11 redshifts, 5 of them negative
  which line it is assigned to         -> template
  which template family is used        -> lowest chi2 among families
  which redshifts that family may take -> compiled grid bounds
  QSO grid lower bound                 -> +0.05
  QSO negative redshifts in catalogue  -> 0 of 51,260

The redshift of a quasar is not read from its spectrum. It is the value at which an assumed line pattern best matches, drawn from a range whose lower bound was set before the spectrum was taken.

pict