BACCHUS Analysis of Weak Lines in APOGEE Spectra (BAWLAS)

Christian R. Hayes, Thomas Masseron, Jennifer Sobeck, D. A. Garcia-Hernandez, Carlos Allende Prieto, Rachael L. Beaton, Katia Cunha, Sten Hasselquist, Jon A. Holtzman, Henrik Jonsson, Steven R. Majewski, Matthew Shetrone, Verne V. Smith, Andres Almeida

I Introduction

Currently, there are several spectroscopic surveys that have undertaken the difficult task of measuring stellar parameters and abundances for large samples of stars spanning a wide range in stellar parameters, such as the Apache Point Observatory Galactic Evolution Experiment (Majewski et al. 2017, APOGEE;), Galactic Archaeology with HERMES (De Silva et al. 2015, GALAH;), or Large sky Area Multi-Object fiber Spectroscopic Telescope survey (Zhao et al. 2012, LAMOST;). Despite the difficulty of doing so, these surveys have had great success in producing large high-quality samples of stellar parameters and chemical abundances with which to study the large-scale properties of the Milky Way (MW), its stellar populations, and even the stellar populations of MW satellites.

One limitation of such surveys, however, is that analyzing such large samples is time consuming and resource intensive. To provide high quality data for large samples, some simplifications or compromises must be made. This could be in the form of limiting the dimensionality of synthetic grids, synthesizing only one or a few elements at a time, among others. While these simplifications are often necessary, they typically make it difficult to measure those elements with weak and/or significantly blended lines , where detailed syntheses and a careful treatment of blends is critical to measuring abundances. Here we perform a careful analysis of APOGEE spectra to complement its exploration of chemical space by measuring weak and blended elements with a simultaneously flexible and detailed methodology.

APOGEE is a dual-hemisphere, high-resolution (R∼\sim22500), H-band (1.5−-1.7 μ\mum) spectroscopic survey of the Milky Way and its nearby dwarf galaxies (Majewski et al. 2017) that began in as APOGEE-1 SDSS-III (Eisenstein et al. 2011) and continued into SDSS-IV (Blanton et al. 2017) with APOGEE-2. In the 17th data release of SDSS (Abdurro’uf et al. 2022; Holtzman et al. in prep., DR17;), APOGEE has produced its final data release, which contains spectra, stellar parameters, and chemical abundances for up to 20 species. In addition to these 20 species, there are some chemical species that have features in APOGEE spectra, but were not satisfactorily measured by the APOGEE pipeline, including P, Cu, Nd, and the 12C/13C ratio.

In this work, we provide a complementary analysis of APOGEE spectra for high S/N red giants in the APOGEE sample that expands the set of elemental abundances for these stars. We do so by analyzing the elements and isotopic ratios that are difficult to assess with the APOGEE Stellar Parameters and Chemical Abundances Pipeline (García Pérez et al. 2016, ASPCAP;) methodology and are therefore not provided by APOGEE. We also reanalyze a few additional elements with weak and blended lines.

For our analysis, we use the Brussels Automatic Code for Characterizing High accUracy Spectra (Masseron et al. 2016, BACCHUS) that measures line-by-line elemental abundances from on-the-fly spectral synthesis and provides additional quality flags for each line it analyzes (e.g., identifying when a line is severly blended, too weak to be measured, etc.). We follow up this BACCHUS analysis with a post-processing of the line-by-line abundances to remove erroneous or suspect measurements, and combine the high quality line-by-line measurements to provide sample of chemical abundances for weak and blended elements in APOGEE spectra. The final data set -- the BACCHUS Analysis of Weak Lines in APOGEE (BAWLAS) catalog -- can be found on the SDSS DR17 website The table will be available at https://www.sdss.org/dr17/data_access/value-added-catalogs/.

This paper is outlined as follows. Section II describes the APOGEE data we use in this study. Section III provides a brief overview of the BACCHUS code and our specific implementation of it in this work. Section IV explains our post-processing analysis, flagging, line combination, and error estimation. Section V explores our derived chemical abundances, their uncertainties, trends, and presents any known caveats. In Section VI we compare our derived abundances with both APOGEE, for overlapping elements, and high-resolution literature measurements. Finally in Section VII we give a short summary of this work. We also provide some detailed information about our post-processing choices, flagging, and upper limit relations for each element in the Appendices.

II Data

In this work, we use the spectra and stellar parameters from the final data release of the APOGEE survey (Majewski et al. 2017) in SDSS-IV’s DR17 (Blanton et al. 2017; Abdurro’uf et al. 2022; Holtzman et al. in prep.). This data release includes all APOGEE spectra taken from both the Northern and Southern hemispheres using the APOGEE spectrographs (Wilson et al. 2019) on the SDSS 2.5-m (Gunn et al. 2006) and the NMSU 1-m (Holtzman et al. 2010) telescopes in the north, and the 2.5-m du Pont (Bowen & Vaughan 1973) telescope in the south. Targeting for APOGEE survey is described in Zasowski et al. 2013; Zasowski et al. 2017, Beaton et al. 2021, and Santana et al. 2021. Details of the data reduction pipeline for APOGEE can be found in Nidever et al. 2015 and Holtzman et al. 2015, for the main survey and 1-meter data respectively, which have been updated in DR17 to use the Doppler https://github.com/dnidever/doppler code for radial velocity determination (Holtzman et al. in prep.).

APOGEE’s stellar parameters and chemical abundances are derived from ASPCAP (García Pérez et al. 2016), based on the FERRE https://github.com/callendeprieto/ferre code (Allende Prieto et al. 2006). As in prior APOGEE data releases, ASPCAP uses a grid of MARCS stellar atmospheres (Gustafsson et al. 2008; Jönsson et al. 2020), and an H-band line list from Smith et al. 2021 that updates the earlier APOGEE line list presented in Shetrone et al. 2015, which includes the Ce and Nd line identifications from Cunha et al. 2017 and Hasselquist et al. 2016, respectively. These atmospheres and the line list are then used to generate a grid of synthetic spectra (Zamora et al. 2015) using the Synspec code (Hubeny & Lanz 2011) and nLTE calculations for Na, Mg, Ca, and K from Osorio et al. 2020 that are fit to the observed spectra to determine stellar parameters and chemical abundances.

From the full APOGEE survey, we use a sample of 126,362 spectra that we analyze using BACCHUS as described in Section III. To build this sample, we mainly select high signal-to-noise APOGEE spectra, S/N >150>150 per pixel of giants with calibrated ASPCAP stellar parameters between 3500 K<Teff<50003500\ {\rm K}<T_{\rm eff}<5000 K and log⁡g<3.5\log g<3.5. We also filter these stars so that we select the ones with the high quality spectra according to their APOGEE STARFLAG and ANDFLAG flags A description of these flags can be found in the online SDSS DR17 bitmask documentation (http://www.sdss.org/dr17/algorithms/bitmasks/) by selecting stars with STARFLAG = 0 and ANDFLAG = 0. We specifically select these stars using the allStar-dr17-synspec.fits details of the different allStar versions can be found in the following links: https://www.sdss.org/dr17/irspec/apogee-libraries/#Spectralgrids and https://www.sdss.org/dr17/irspec/caveats/#wronglsf version of APOGEE data.

While our sample is mostly driven by these selections, there are two caveats to the final sample regarding stars that have duplicate or repeat entries in APOGEE because they were observed in multiple distinct fields and therefore have multiple unique spectra (Jönsson et al. 2020, i.e., stars that have multiple spectra that were processed separately through ASPCAP; for a further description of these stars see Sections 2 and 5.4 of). 1) We have intentionally included a sample of duplicate/repeat spectra (of the same stars) in order to investigate some of the systematic uncertainties in our analysis, as described in Section IV.7. This is a set of 4,876 unique stars with a total of 11,752 observed spectra and corresponding entries in APOGEE’s catalogs. 2) In some cases for stars with duplicate entries, an entry/spectrum that does not conform to our initial selections was included in our analysis (e.g., ASPCAP derives parameters outside of the above range, or the spectra do not conform to our S/N selection), this affects ∼4%\sim 4\% of the final sample (4,668 spectra). Figure 1 shows a spectroscopic Hertzsprung-Russell (HR) diagram of our full sample, which illustrates that in cases where duplicates have parameters outside of our initial selection range they typically fall close to our selection limits.

For each star in our sample, we obtain the 1D combined and resampled APOGEE apStar and asStar spectra (for northern and southern targets respectively), including any duplicate spectra, and the ASPCAP derived, calibrated stellar parameters and chemical abundances from each of these spectra (using the APOGEE summary file version allStar-dr17-synspec.fits). The spectra are converted to air wavelengths according to the transformations given in Shetrone et al. 2015. Then, these spectra and calibrated stellar parameters are used in BACCHUS (with APOGEE’s chemical abundances as starting guesses) to derive chemical abundances and isotopic ratios of weaker features in APOGEE spectra, as described in the following section.

III BACCHUS Processing

Throughout this analysis, we used the abundance determination module of the latest version of the BACCHUS code (∼\sim v67). More specifically, this BACCHUS module consists of a shell script code that computes on the fly synthetic spectra for a range of abundances and compares these syntheses to observational data on a line-by-line basis, deriving abundances from different methods (e.g. using equivalent width, line depth, or χ2\chi^{2}). The synthetic spectra are calculated using the 1D-LTE Turbospectrum radiative transfer code (Alvarez & Plez 1998; Plez 2012), with spherically symmetric radiative transfer for giants, and the MARCS model atmosphere grids (Gustafsson et al. 2008).

From these synthetic spectra the BACCHUS code then identifies both continuum (or pseudo-continuum) points for normalizing the observed spectra, and the relevant pixels (i.e., a “mask” or “window”) to use for the abundance determination of each line in each spectrum. The normalization of observed spectra is performed by selecting continuum wavelengths in the synthetic spectra, and fitting a linear relation across these continuum points within 30 Å around the line of interest in the observed spectra. The spectral window for each line is determined by comparing where changing the elemental abundance causes significant changes in the synthetic spectra with the second derivative of the observed flux (i.e., to identify the local maxima on either side of the line of interest).

The last, crucial and unique feature of this code is that it uses four methods to compare the observed and synthetic spectra within the selected window and provides an abundance measurement for each method. The four methods are:

The “chi2” method, which determines an abundance by minimizing the squared differences between synthetic and observed spectra.

The “syn” method, which looks for the abundance that makes the difference between the synthetic and the observed points zero.

The “eqw” method, which determines the abundance needed to match the equivalent widths of the synthetic spectra to the observations.

The “int” method, which measures abundances by matching the line core in the synthetic and observe spectra.

Each of these methods has benefits and limitations. For example, the eqw method is not sensitive to uncertainties in spectral broadening (such as, instrumental or macroscopic velocity broadening), but it is more affected by blends in the wings of lines, whereas the inverse is true for the int method. Each of these methods also have diagnostic flags that indicate the quality of their fits which are listed in Table 1 and are described in more detail in Section IV.2.

Given the difficulties imposed by analyzing weak and strongly blended lines, we have also implemented some new features. One improvement is the incorporation of the latest version of Turbospectrum (v19.1.3), which includes Stark broadening (important for a Mg blend with one Nd line; see Appendix A.8). Another improvement is the addition of the extended MARCS model atmosphere grid that has been specifically built for APOGEE that notably includes C and α\alpha abundances dimensions (Jönsson et al. 2020, see).

While BACCHUS does interpolate atmospheric structure in Teff, log⁡g\log g and metallicity, for C and α\alpha it uses the atmospheric model with the closest value to the input C and α\alpha abundance. This interpolation first attempts to select the closest grid points in Teff, log⁡g\log g and metallicity, and when it encounters a hole in the grid it will try an alternative search in Teff first, then log⁡g\log g, and finally metallicity to find a set of grid points that are fully populated. If all of these attempts fails, i.e., there are too many missing grid points in the atmosphere grid around the stellar parameters of a given star, the star will be rejected and not processed by BACCHUS.

We have also implemented a new, fifth method for deriving abundances in BACCHUS, “wln” method. This method interpolates the synthetic spectra as a function of elemental abundance at the exact wavelength of the input line. This method has been particularly useful for the abundance determination of one of the Cu lines, because it bypasses the automatic mask determination, which is heavily biased in the strong blends affecting this line. However this method has the disadvantage of relying on one single pixel, and, therefore, is more sensitive to random or systematic errors in that pixel.

III.2 Specific features for the BACCHUS-APOGEE run

For the APOGEE spectra, we use the APOGEE DR17 Turbospectrum linelist, version 180901t20, with one modification (to reduce the strength of one C2 line, the 15710.665 Å line, changing its loggf from -1.502 to -2.502). To select a model atmosphere for each star, we interpolate the MARCS model atmosphere grid at the calibrated APOGEE Teff, log⁡g\log g, and [M/H] assuming a microturbulence relation of (Masseron et al. 2019):

To determine the convolution parameter, which is used to encompasses the instrumental, rotational and macroturbulence broadening with a Gaussian profile, we use Si lines rather than more typical Fe lines because the former are generally cleaner and stronger in the APOGEE spectra, even at low metallicities.

Because they are responsible for blending and accurate continuum adjustment, we first determined the abundances for C, O, N and Mg in each star, in this specific order to establish a proper chemical equilibrium. We then measure the carbon isotopic ratio, V, S, Na, Ce, Nd, P, Yb, Zn and Cu, while locally adjusting possible blending features for each line.

The code iterates whenever the measured abundance is out of the initial synthesis range, so when possible we use the ASPCAP calibrated abundances as a starting guess for each elemental abundance to help accelerate the convergence of the code. When ASPCAP calibrated abundances are not available for a given element (typically because the star is in a temperature range where the abundances of that element are suspect abundances, see Holtzman et al. in prep., for more details), we use an α\alpha-scaled starting guess for α\alpha-elements (O, Mg, Si, S, etc.) or a solar-scaled abundance for all other elements. While the code is expected to automatically iterate over an element until convergence, we force two iterations of the overall procedure to ensure self-consistency between the elements and also to avoid artificial stratification in the abundance diagrams when values approach the edge of BACCHUS search range that can occur for elements with multiple lines and enhancements over solar-abundances, such as Ce and Nd.

IV Line Combination and Flagging

The BACCHUS processing produces line-by-line measurements of the log⁡ϵ\log\epsilon(X) ≡log⁡10(NX/NH)\equiv\log_{10}({\rm N_{X}/N_{H}}) abundance of each element, X, or the 12C/13C ratio, and quality flags of that measurement from the five different methods mentioned in Section III. This allows us flexibility in how to flag and remove individual line measurements when combining our line-by-line measurements for the highest quality results.

Our process for combining the variety of line-by-line measurements and flags is as follows:

Identify which measurement method to use for each line (Section IV.1).

Evaluate the quality of each line-by-line measurement using BACCHUS measurement flags (Section IV.2), flags designed to indicate the quality of the spectra around each line (Section IV.3), and upper limit relations to indicate measurements below our upper limit threshold (Section IV.4).

Flag stars whose stellar parameters may be of suspect quality for deriving chemical abundances (Section IV.5).

Derive and apply line-by-line zero-point abundance calibrations (Section IV.6).

Finally, we average the zero-point calibrated abundances for the lines that pass all of our quality cuts to arrive at our final abundances and derive two separate estimates of the uncertainties on these values (Section IV.7).

In each of the sections below, we describe our general methodology for the above steps, and we give specific details for what our flagging and combination choices are for each element in Appendix A.

BACCHUS uses several methods of measuring the abundance of each line in each star, from which we then select one method to use across all stars for a given line. Because BACCHUS returns abundance measurements from several different methods, we are able to select the optimal method for each line in our post-processing. This flexibility is beneficial, since some methods are more or less sensitive to different issues that may arise, such as, how badly blended a line is, if there are problems with the continuum around that line, etc.

For all of the lines that we measure in this work, we either use the chi2 method or the wln method. In general, because it uses multiple pixels, the chi2 method gives higher precision measurements and is less sensitive various effects that can impact the spectrum at the level of individual pixels. But, the chi2 method can also provide poor measurements when a line has a poorly fit blend, especially on the wings.

The wln method however, because it is determined using a single pixel is more susceptible to noise and may be somewhat less precise, but performs better in cases where there are poorly fit blends on the wings of the line, or when lines are weak and only the central pixels on a line provide measurable signal. While we typically use the chi2 method to take advantage of multiple pixels across a line, for particularly weak or blended lines we use the wln method as discussed in more detail in Appendix A.

IV.2 BACCHUS Method Flags

Each of the five abundance measurement methods employed in our BACCHUS analysis have integer flags that indicate the quality of the spectral line fit from that method. Every line of every star that is measured will be given one of the flags in Table 1 for each method (note that the syn and eqw method flags have the same general description).

We use these flags to determine the quality of the BACCHUS fits to each line in a given star and we can improve this assessment by combining the information from the flags of multiple methods. For each line that we measure we have a list of method flags that we consider reflective of a “good” BACCHUS fit. In general, our default is to require that all methods have flag = 1 for a line’s measurement in a star to be considered “good”. So with this as an example if all method flags = 1 for a specific line in a star we will use the measurement of that line in our line combination (assuming said measurement passes our other quality criteria), and if any of the method flags ≠\neq 1, we will not use that line for the abundance measurement in that star (and consider it “flagged,” removing it from consideration).

However, for some lines or elements we consider other combinations of these method flags on a case-by-case basis. For example, some lines lie on the wings of deeper blends (e.g., Cu 16006 Å or Nd 16053 Å). This can cause BACCHUS to give a syn or eqw flag = 3 because of the large wavelength difference between the input line center and the local minimum in the spectrum (i.e., the deeper line center of the blending line), despite providing a good fit to the line of interest. So, we would want to consider measurements with syn and eqw flag = 1 or 3 for these lines.

In cases such as this example, we have used a modified selection of quality flags to appropriately treat the line in question. Appendix A gives a full summary of our flag choices for each element and their lines as well as individual illustrations of the line profiles and blends.

IV.3 Additional Spectra Flags

In addition to the native flags produced by BACCHUS we supplement these with an additional set of quality flags defined to indicate the condition of the spectrum around the lines of interest that we are measuring. These flags are roughly categorized as those that indicate the state of any blends that may affect our line of interest (blend) and those that describe the quality of the continuum around each line of interest (cont). Both flags are defined such that flag = 1 means the line in a specific star is okay, whereas flag = 0 warrants further investigation (and typically we remove lines in stars with blend/cont flag = 0)

The blend flags indicate poorly fit blends with other spectral lines in the star or a blend with a sky line or telluric feature that may have an imperfect subtraction, either of which can lead to incorrect abundance measurements. The continuum flags vary in meaning from line-to-line. For some lines this flag is set to 0 when the spectrum is consistent with being only continuum, i.e., the line of interest is too weak to be reasonably measured. In other lines this flag is defined to be 0 when the pseudo-continuum around a line is a poor match to observations, typically because the wings of a nearby blend are poorly fit.

A detailed description of the spectra flags that we have implemented in our analysis can be found in Appendix B.

IV.4 Upper Limit Relations

To assess BACCHUS’s fits in a programmatic way, we have also included a process for distinguishing detections from upper limit measurements. BACCHUS inherently provides an evaluation of upper limits based on a continuum threshold computed from the variance or the signal-to-noise of the observed spectrum. However, this procedure is not valid for blended lines, such as the lines used in this study, because the blends prevent the line growth from reaching the continuum threshold at very low abundances.

Instead, we developed a procedure based on synthetic spectra computed with Turbospectrum. We synthesize individual elemental lines without any blending features in 9 steps of log⁡ϵ\log\epsilon(X) from log⁡ϵ\log\epsilon(X) = −-2.0 to ++2.0 dex around solar at five temperatures from 3500 K to 5500 K in steps of 500 K along the giant branch (with log⁡\log g adjusted to have the syntheses appropriately lie on the RGB). At each temperature step we interpolate between these syntheses to determine the abundances when line depths are 1, 2, 3, 4, or 5%\% of the continuum. Thus, these are the upper limit of abundances we could measure with a t = X% threshold. For each threshold, we then derive an upper limit relation for each line as a linear function of temperature following: log⁡ϵ\log\epsilon(X)lim=At⋅Teff+Bt{}_{\rm lim}=A_{\rm t}\cdot T_{\rm eff}+B_{\rm t}, where t is the % threshold level used. Figure 2 illustrates this process for the Na 16374 Å line, and Table 7 in Appendix C gives the derived constants AA and BB for each of the values of t mentioned above for each element.

Therefore, with a chosen threshold we can predict the abundance upper limit that is measurable for a given temperature for each line. If a line is measured with an abundance less than that limit for a star, we don’t use that line in our combination of line-by-line abundance measurements. Instead, when considering the final, combined abundances in a star, if all of the lines for a given element in a star that pass the flagging criteria (i.e., the BACCHUS fit is considered okay) are upper limits, we record the minimum of the line-by-line upper limits as the abundance upper limit on said star. Note, that we did not compute limits in this way for 12C/13C, because it is a more complex function of temperature and carbon abundance. Instead, we use a simple line-by-line lower limit for 12C/13C based on the synthesis range we have used (see Appendix A), but also include line-by-line detection threshold flag based on the observed normalised flux, and a more complicated lower limit relation set for the final combined 12C/13C measurements (see Appendix B).

As a default we have chosen to use a threshold of 1%, requiring that lines should have abundances that produce at least a 1% line depth. With a S/N ratio of >> 150, as in our sample, one may expect to use a threshold below 1% as the detection limit, however because these relations do not account for the effect of blends, uncertainties in stellar parameters, etc., we have used this slightly more conservative upper limit threshold. Furthermore, for individual lines that are especially blended or sensitive to continuum placement, we have adjusted the threshold to even higher levels based on visual inspection of abundance measurements near the upper limit boundary to ensure that we have bona fide detections (see Section A for more case-by-case details).

IV.5 Star Flags

In addition to line-by-line quality flags, we also flag some stars based on how they have been processed by BACCHUS, and therefore we do not report abundances for these stars. Specifically we flag stars that may have suspect fits to critical molecular blends and stars that require particularly high convolution value to explain their spectral features.

Because the C, N, and O abundances of a star have a significant impact on the H-band spectrum and are critical for fitting blends with our weaker lines, we have used the ASPCAP C, N, and O abundances as an initial guess. But, with BACCHUS we rederive these abundances, given that their corresponding molecular features are highly temperature sensitive. This allows us to find the best solution for the C, N, and O abundances using the calibrated stellar parameters from ASPCAP (whereas the ASPCAP C, N, and O are derived using the uncalibrated stellar parameters).

However, the C, N, and O abundances are not always updated with new values from BACCHUS and are fixed to their initial APOGEE DR17 values when fitting other elements (i.e., when C, N, and O features may be blended with the lines of an element of interest), which can occur for a variety of reasons, e.g., their lines are too weak for BACCHUS to provide a good measurement. To track this, we record which stars have had their C, N, and O abundances updated by BACCHUS measurements in integer flags UPDATE_C, UPDATE_N, and UPDATE_O respectively, where flag = 1 indicates stars that were not updated and flag = 2 indicates stars that have been updated with BACCHUS measured values for that element.

Figure 3 shows the effective temperatures and metallicities of the BAWLAS sample and the stars that do not have their C, N, or O updated. These elements are updated in almost all of the stars in our sample. Those stars that do not have updated C, N, or O are preferentially at low metallicities or warm temperatures, where these features are weaker and less important to fit.

While we have not removed any stars that have not had their C, N, or O abundances updated by BACCHUS, we have provided these flags so that stars whose molecular blends may be more poorly fit can be tracked.

IV.5.2 Stars with Large Line Broadening

One of the parameters that we fit for each star with BACCHUS is a Gaussian convolution broadening parameter, CONVOL, that consolidates observational and stellar effects from multiple sources, including: instrument resolution, macroturbulent velocity, rotation, etc. In giants, most of this broadening (in our spectra) comes from the instrument resolution and macroturbulent velocities. Combined, these effects produce a median convolution broadening of 14.9 km s-1 across all of the stars in our sample with stars typically having a convolution broadening ranging between 14.1 km s-1 and 15.8 km s-1, the 16th and 84th percentiles respectively.

However, the broadening has a tail to even higher values, which could indicate that there are additional broadening effects, such as rotation, larger macroturblent velocities at stellar surfaces, or that APOGEE’s stellar parameters do not adequately describe the observed spectra (e.g., red supergiants observed in the Magellanic Clouds, see Section V.4). Giants are not treated with rotation or other broadening parameters (other than macroturbulence) by ASPCAP, so stars that exhibit additional broadening may have erroneous stellar parameters, which can lead to incorrect abundances from BACCHUS as well. In order to flag these suspect stars we have removed final combined abundances for stars with CONVOL >18>18 km s-1 (around 2% of the BAWLAS sample), but we have retained their line-by-line abundances for the possibility of more detailed investigation.

IV.6 Zero Point Calibration

Similar to APOGEE DR17, we have chosen to calibrate our chemical abundances to a solar zero point derived from solar neighborhood samples (except for C, N and 12C/13C), instead of using literature solar zero points or abundances derived from solar spectra by BACCHUS. Errors in loggf values or other linelist parameters, non-Local Thermodynamic Equilibrium (nLTE) effects, or systematic errors in stellar parameters or blend fitting can all lead to different line-by-line zero points, which would not be captured by using solar zero points from literature.

Indeed, Figure 4 illustrates that the abundances we derive can have even significant offsets from line to line, even when we narrow to a solar neighborhood sample (defined below) that should nominally have solar abundance ratios on average. Therefore, by using a single zero point between all lines we may still end up with systematic offsets in our abundances.

In addition, because these sources of line-by-line zero point offsets may conceivably have trends with stellar parameters (such as nLTE effects, systematic errors in stellar parameters, etc.), analyzing a solar spectrum with BACCHUS and using that as a zero point for a red giant sample may not be appropriate. Instead, we have chosen to empirically calibrate our line-by-line abundance measurements such that the solar neighborhood stars in our sample have a solar ([X/M] =0=0) abundances in each line.

To establish our solar neighborhood sample, we use APOGEE stellar parameters and radial velocities combined with Gaia early data release 3 (Gaia Collaboration et al. 2021, EDR3) parallaxes and proper motions. We calculate Galactocentric positions using inverted parallax distances from Gaia EDR3 parallaxes and assuming the sun is at RGC,⊙=8.122R_{\rm GC,\odot}=8.122 kpc (Gravity Collaboration et al. 2018). We also use these inverted parallax distances to convert APOGEE radial velocities and Gaia EDR3 proper motions to Galactocentric velocities using the prescription from Johnson & Soderblom 1987 and assuming a solar motion of (Vr, Vϕ Vz)⊙=(14,253,7)(V_{r},\ V_{\phi}\ V_{z})_{\odot}=(14,253,7) km s-1 in right-handed notation (Schönrich et al. 2010; Schönrich 2012; Hayes et al. 2018). Our solar neighborhood sample is then defined, as those stars in our BAWLAS sample with:

Gaia EDR3 relative parallax uncertainty below 10% (0<σϖ/ϖ<0.10<\sigma_{\varpi}/\varpi<0.1)

Galactocentric (cylindrical) radii, 8<RGC<98<R_{\rm GC}<9 kpc

Height above the MW midplane, ∣z∣<0.5|z|<0.5 kpc

Total space velocity within 40 km/s of the local standard of rest, assuming (VR,Vz,Vϕ)LSR=(0,0,229)(V_{R},V_{z},V_{\phi})_{\rm LSR}=(0,0,229) km/s using the value of Vϕ, LSR=229V_{\phi,\ {\rm LSR}}=229 km/s from Hayes et al. 2018

For each line of each element, we apply the quality flag and upper limit cuts described in the previous sections and calculate a zero-point from this solar neighborhood sample by taking the median abundance in that line. We use the median to limit the effects of outliers, either in the case of random scatter or in the case of elements like Ce and Nd to reduce the effect of stars with enhanced abundance ratios from processes other than Galactic chemical evolution (for more information about these stars see Section V.1.7).

The zero-points that we calculate for each line are listed in Table 2, which we then use to calculate our “bracket notation” abundances e.g., [X/H]∗ == log⁡ϵ\log\epsilon(X)∗ - log⁡ϵ\log\epsilon(X)zpt for each line. The exception to this is the C and N abundances and the 12C/13C ratios that we derive. Because these three values are expected to change along the giant branch due to dredge-up, we do not necessarily expect that the solar neighborhood should have solar abundance or isotopic ratios. Instead, for C and N we have used the Grevesse et al. 2007 solar abundances for our zero point, and for 12C/13C we use only the raw ratios that we calculate without applying any calibration.

IV.7 Combined Abundances and Uncertainties

Our final combined abundances are derived by averaging all of the “good,” unflagged, zero-point calibrated line measurements for each star (following the detailed, element-by-element and line-by-line selections given in Appendix A). While we consider most of the lines that were attempted by BACCHUS, a few lines were rejected for all stars because they showed strong trends with temperature or their abundance patterns disagree strongly with the remaining lines (see Appendix A for more details). For stars whose lines of a given element are all identified as upper limits, instead of combined abundances we provide an [X/Fe] upper limit defined as the minimum line-by-line upper limit values as mentioned in Section IV.4 and adjusted using the appropriate zero point from Section IV.6.

In order to estimate uncertainties on our combined abundance measurements, we use two different methods. (1) We use the line-by-line scatter (and the scatter between two of BACCHUS’s measurement methods, chi2 and wln) as an estimate of the measurement uncertainty, and (2) we can estimate the uncertainty empirically from the scatter in repeat observations (and separate reductions/analyses) of the stars with duplicate entries in APOGEE.

One way we estimate our abundance uncertainties is by measuring the line-by-line and method-to-method scatter in BACCHUS’s abundance measurements. The “measurement” uncertainty that we report for each star is the standard error of the abundances as measured by the chi2 and wln methods of “good,” unflagged lines of a given element. Numerically this is calculated by taking the standard deviation of the abundance measurements from the chi2 and wln methods in each of the good lines and dividing this by Nlines\sqrt{\rm N_{\rm lines}}.

This estimate of the uncertainty only includes the uncertainty that comes from line choice and measurement methodology, and does not account for more systematic errors, such as the uncertainties or errors in the input stellar parameters, linelist, choice of code, etc. For cases where only one or two lines of an element were measured in a star, we do note that these uncertainties may be underestimated, so on a star-by-star basis these uncertainties may need to be considered carefully. However, we do provide an additional estimate of the abundance uncertainties below, that is less sensitive to star-by-star cases.

IV.7.2 Empirical Uncertainties

Motivated by what is done by APOGEE to estimate its abundance uncertainties, we also provide empirical uncertainty estimates determined from stars that have been observed multiple times in APOGEE but have their multiple spectra processed and analyzed separately. These stars may have “random” observational effects in their spectra, different stellar parameters from APOGEE, etc., so by processing them separately we can understand how these differences impact the derived abundances. This allows us to understand some of the impact of varying the input stellar parameters and observational noise on the abundances we measure.

We take our sample of ∼4,900\sim 4,900 stars with ∼12,000\sim 12,000 different spectra and ASPCAP results, process them separately through BACCHUS and our post-processing and then compare the resulting abundances that we measure. Each pair of absolute differences in [X/H] provides an estimate of the standard deviation in the abundance measurements for an individual star when multiplied by π/2\sqrt{\pi}/2 for an unbiased estimator. Each star then provides an estimate, σX=π/2 ∣ Δ[X/H] ∣\sigma_{\rm X}=\sqrt{\pi}/2\ |\,\Delta{\rm[X/H]}\,|, of the typical random abundance errors for that stars parameters. Therefore we can fit the ensemble distribution of these standard deviation estimators to derive an empirical relation for the typical uncertainties on our measurements as a function of various parameters. For this work we use a simple relationship to fit the uncertainty distributions, using the following equation (and substituting 12C/13C for [X/H] when calculating 12C/13C uncertainties):

where Teff′=Teff−4500T^{{}^{\prime}}_{\rm eff}=T_{\rm eff}-4500 K.

We use a slightly different form than used by APOGEE (in ASPCAP) for their empirical uncertainties. Here we drop the S/N dependence since our sample is high S/N, and we use the [X/H] abundance instead of [M/H] in our formulation, because the abundance uncertainty should depend primarily on the amount of that element rather than the total metallicity Although one can imagine that this could be refined by including metallicity and elements with dominant molecular features whose blends might also affect the errors on our derived abundances. Including more terms in this relation may be a promising way to improve this kind of uncertainty estimation in the future.. As an example of our derivation of these relations, Figure 5 shows the distribution of differences in Ce abundances for our repeat sample and the best fit empirical error relation for this element.

The coefficients of our best fit relations for each element can be found in Table 3, which we then use to calculate the empirical uncertainties for our full sample. Specifically we report σ[X/Fe]\sigma_{\rm[X/Fe]} by summing the σ[X/H]\sigma_{\rm[X/H]} uncertainties we calculate in quadrature with the ASPCAP reported [Fe/H] uncertainties.

We report both the measured and empirical uncertainties that we calculate so they can be applied as desired. The measured uncertainties have the benefit of capturing the variation in measurement from line to line, but do not account for possible variation in stellar parameters (or other systematics like the analysis pipeline, or observations with different instruments/wavelengths of course). On the other hand, the empirical uncertainties may not account for the conditions or line-to-line variations in an individual star, but do allow us to see what the general effect of different spectra and input stellar parameters has on the derived abundance variability.

V BAWLAS Chemical Abundance Patterns and Trends

Our BAWLAS catalog of input parameters, calculated abundances, upper or lower (for 12C/13C) limits, and errors (as well as the line-by-line abundances and flags) can be found on the SDSS DR17 Value Added Catalog (VAC) page https://www.sdss.org/dr17/data_access/value-added-catalogs/. Here we present some of the overall results.

In Figures 6 and 7 we show the combined abundances from BAWLAS. Figure 6 shows the C, N, and O abundances that were calculated primarily for the purposes of fitting blends, and Figure 7 shows the goal elements that we measure: 12C/13C, Na, P, S, V, Cu, Ce, and Nd. Before delving into each element (discussed below), we point out some of the key features seen in these abundance distributions.

Many of the elements do not cover the full metallicity range probed by our sample, which extends down to APOGEE’s lower metallicity limit of [Fe/H] =−2.5=-2.5. Instead, for many elements the number of stars for which we measure that element begins to drop off quite rapidly around a metallicity of [Fe/H] ∼−1\sim-1 to −1.5-1.5. This is in part because the underlying density of stars does begin to decrease at these metallicities. But, this also occurs because most of the elements we examine have relatively weak (and few) lines that become increasingly difficult to measure at low metallicities.

Essentially only S, Ce, and 12C/13C are measured below [Fe/H] ∼−1.5\sim-1.5, but even these measurements may be biased towards detecting stars with stronger spectral features, e.g, higher abundances for S and Ce, or lower values of 12C/13C. Indeed the imprint of upper limit flagging for S appears as the diagonal line at low metallicities below which we do not populate any S abundances. P provides another example of a clear hard upper limit flagging, however upper limit flagging also affects the distribution of V, Cu, Ce, and Nd abundances in a less obvious manner.

Figure 8 shows an example of these upper limits for S and Ce. The temperature insensitivity of S is apparent as the very narrow spread of upper limits, which come in three tiers (of nearly constant [S/H]), corresponding to the three S lines that are used, with the two weaker lines providing upper limits when the quality of the spectrum around the strongest line is too poor to measure or place upper limits on. Ce instead has more temperature sensitive upper limits, which means that [Ce/H] upper limit as a function of temperature turns into a less localized spread of upper limits as a function of [Fe/H].

While C, N, and O were measured to fit blends, we can also examine the BAWLAS abundance patterns in these elements. In the C abundances of Figure 6 we see some internal structure at intermediate metallicities, [Fe/H] ∼−0.5\sim-0.5, that appears to the superposition of the thin and thick disk populations. Whereas the N abundances do not show clear substructure in its chemical abundance pattern, instead showing a large spread, in part due to the larger uncertainties in warm stars. At low metallicities, C begins to decrease before showing a large scatter, whereas N shows a slightly rising trend with decreasing metallicity.

In addition to the general trends at low metallicities some stars are found with particularly enhanced [C/Fe] or [N/Fe] (≳0.5−1.0\gtrsim 0.5-1.0). In the case of N, many of these stars belong to globular clusters which are known to have C-N anti-correlations with high N abundances (Smith et al. 1996; Gratton et al. 2001; Briley et al. 2004; Mészáros et al. 2015; Masseron et al. 2019; Mészáros et al. 2020, e.g.,).

As for the stars with high C abundances there are a few ways that stars may get C-enhancements. For example, carbon stars will often show higher C abundances, and can be formed in a few ways. Carbon stars can either be intrinsically enhanced in C, e.g., through the dredge-up of carbon rich material fused in a star’s interior, or extrinsically enhanced by C-rich material accreted from an evolved companion, altering its surface chemistry (Wallerstein & Knapp 1998; Lloyd Evans 2010, for a more in depth discussion see). At low metallicities there are also known to be carbon enhanced metal-poor (CEMP) stars (notable for their enhanced [C/Fe] ratios), which come in a number of astrophysical varieties (Beers & Christlieb 2005; Masseron et al. 2010; Frebel & Norris 2015, discussed more in).

V.1.2 Oxygen and Sulfur (O and S)

Examining O in Figure 6 and S in Figure 7 we see abundance distributions that are fairly typical for α\alpha elements, with a nearly flat plateau at low metallicities that decreases at higher metallicities with a knee occurring around [Fe/H] ∼−0.7\sim-0.7 to −0.5-0.5. In O we see a bifurcation in [O/Fe] at metallicities >−0.7>-0.7 into high- and low-α\alpha sequences that are commonly attributed to the thick and thin disks, respectively. The [O/Fe] plateau appears to be quite flat, although we note that it seems to widen around metallicities between −1.5-1.5 and −1-1, which, as previously observed, suggests the presence of stars that have been accreted from dwarf galaxies (Nissen & Schuster 2010; Hawkins et al. 2015; Hayes et al. 2018).

In some ways S appears qualitatively similar to O. While there is not quite a bimodality in the [S/Fe] distribution, at metallicities around −0.5-0.5 (where the thin and thick disk are most chemically distinct in other α\alpha-elements), the spread of the [S/Fe] distribution exceeds what would be expected from the reported errors alone. Therefore, this is likely a true astrophysical spread in the S abundances at these metallicities. Similar to the [O/Fe] bifurcation, this spread would seem to be tied to differing α\alpha-abundances in the thin and thick disk. At low metallicities we see a slightly sloped plateau in [S/Fe], but the upper limit flagging also begins to impact the completeness of our S abundance measurements below [Fe/H] ∼−1.5\sim-1.5, so this sloped appearance may be somewhat artificial.

V.1.3 12C/13C Isotopic Ratio

Looking at Figure 7 we see that at high metallicities the 12C/13C ratios measured in BAWLAS range from a few up to ∼20\sim 20. This range then narrows and the average 12C/13C ratio decreases with decreasing metallicity. These 12C/13C ratios are also expected to change as a function of log⁡g\log g due to mixing along the giant branch. Examining this distribution with log⁡g\log g in Figure 9, we see two features, the red clump at log⁡g∼2.5\log g\sim 2.5 and a distribution of red giant stars at log⁡g<2.5\log g<2.5. We measure 12C/13C ratios for very few log⁡g≳2.5\log g\gtrsim 2.5 stars, because the 13C{}^{13}C features become too weak at the warm temperatures of these stars, and therefore at low log⁡g\log g we predominantly report upper limits.

For the stars where we do measure 12C/13C ratios, the red clump spans a range of 12C/13C ratios, but sits at slightly lower 12C/13C ratios, than the red giants at slightly lower log⁡g\log g. Along the giant branch, the 12C/13C ratios appear to decrease with decreasing log⁡g\log g.

This is interesting because these trends generally do not match predictions from standard mixing as shown in Figure 10. Instead, as has been noted in the past (Szigeti et al. 2018, e.g.,), we see that 12C/13C changes along the red giant branch. This feature indicates that extra-mixing occurs along the red giant branch following the red giant branch “bump,” and, while the dominant source of this extra-mixing has yet to be settled, many different theoretical models have been proposed (such as thermohaline mixing, rotational mixing, gravity waves, or magnetic fields Charbonnel et al. 1998; Denissenkov & Tout 2000; Charbonnel & Zahn 2007; Busso et al. 2007; Karakas et al. 2010; Lattanzio et al. 2015, and references therein).

Here we compare with one of these extra-mixing models, thermohaline mixing, which (at least qualitatively) matches with the 12C/13Cratios that we measure. We have selected two mass-metallicity combinations of stellar evolution models from Lagarde et al. 2012 to illustrate what stellar evolution trends we might expect for stars of different mass and metallicity. We show model tracks for mass-metallicity combinations of (MM, [Fe/H]) == (1.0 M⊙M_{\odot},−0.56-0.56) and (1.25 M⊙M_{\odot},0.00.0). These values are chosen to be reasonable for typical high-α\alpha thick disk stars, and low-α\alpha thin disk stars, given the distribution of thin and thick disk RGB star masses found by Pinsonneault et al. 2018 Pinsonneault et al. 2018 found that thick disk RGB stars in the Kepler field are typically around a solar mass, while their thin disk sample spans a larger range in masses, but is more massive than one solar mass on average..

While standard mixing models imply relatively constant 12C/13C along the upper giant branch (with only significant changes in 12C/13C as a star begins to ascend the giant branch at log⁡g∼3.8\log g\sim 3.8 and again slightly as it passes the tip of the giant branch), thermohaline mixing models predict that the surface 12C/13C ratio should decline as a star evolves up the upper RGB post RGB-bump (occuring around or above log⁡g∼2\log g\sim 2 depending on mass and metallicity). Our 12C/13C ratios also show a correlation with metallicity in red clump stars (at log⁡g∼2.5\log g\sim 2.5), which as shown in the right panel of Figure 10, causing the large spread in 12C/13C at these surface gravities, and again qualitatively agreeing with thermohaline mixing predictions. This is generally what we see in our 12C/13C measurements, but one must take care when interpreting the 12C/13C ratios exclusively as a function of log⁡g\log g or metallicity because of the biases in our sample and our detection limits.

For example our sample is biased towards including metal-poor stars at lower log⁡g\log g and excluding those at high log⁡g\log g. This comes both from the observational biases to observe more luminous, low log⁡g\log g metal-poor stars, and from our temperature cuts that remove warm, higher log⁡g\log g metal-poor stars. In addition, our detection limits, bias our sample to the stars that have lower 12C/13C ratios (because that implies 13C{}^{13}C is more abundant and has stronger features), higher C abundances, or in cool stars, whose molecular features are stronger. So the trends we observe may be a combination of physical trends and observational and measurement selection biases.

To investigate the significance of biases that might be present in our sample, Figure 11 shows the average 12C/13C ratio in bins of log⁡g\log g and metallicity in the left panel, and the fraction of stars which have measured 12C/13C ratios within each of those bins in the right panel. This clearly shows that there are some biases in our sample. For example, at low metallicities, ≲−1\lesssim-1, we only measure 12C/13C in some of the lowest log⁡g\log g stars. It also shows that in the red clump (log⁡g∼2.5\log g\sim 2.5) at metallicities, [Fe/H] ∼−0.5\sim-0.5, we measure very low 12C/13C ratios (≲5\lesssim 5) on average, but we are also measuring 12C/13C ratios in less than 50% of the stars with similar stellar parameters. In regions such as this we are only able to measure 12C/13C ratios in the stars with the lowest ratios, and all other stars are upper limit measurements.

Figure 11, however, shows that we are nearly complete in measuring 12C/13C in our sample at metallicities between −1-1 and solar, and log⁡g\log g between 1.5 and 0 (with a small drop at low log⁡g\log g around [Fe/H] ∼−0.5\sim-0.5, because of luminous LMC stars that have been flagged with high convolution values that may have erroneous APOGEE stellar parameters). Further, this suggests that the gradients seen in the 12C/13C ratios in this parameter range in the left panel are not driven by selection effects and are real trends in our data.

Therefore, the decreasing 12C/13C ratios with decreasing log⁡g\log g and metallicity in this range are qualitatively consistent with the expectations of the thermohaline mixing models shown above from Lagarde et al. 2012. Future works should examine these 12C/13C ratios more carefully to compare with theoretical predictions, ideally examining stars whose mass, metallicity, and stage of evolution are known such as stars in this sample that have astroseismology from Kepler or cluster stars, whose masses and ages can be relatively easily measured. This could provide a more detailed comparison with stellar evolution models.

V.1.4 Sodium (Na)

For Na we see a slightly decreasing trend in [Na/Fe] as a function of increasing metallicity, that begins to rise at super-solar metallicities. The other noticeable feature in the Na distribution are a cloud of stars with high [Na/Fe] (≳0.5\gtrsim 0.5). While high Na abundances are seen in some literature studies of field stars (Duong et al. 2019, e.g.,) and globular clusters (Gratton et al. 2001; Briley et al. 2004; Mészáros et al. 2015; Masseron et al. 2019; Mészáros et al. 2020) and some of the high Na measurements may be real, others may be suspect, because some of these stars are affected by an inaccurately subtracted sky line. In many cases we have attempted to flag stars where this sky line subtraction affects the Na abundance measurement (see Appendix B.1.2 for more information), but in some of the more marginal cases, these stars have passed our flagging criteria and remain in our sample with erroneously high Na abundances.

In general these high [Na/Fe] stars should be treated cautiously. Many of these measurements are of only one line, the Na 16388 Å line, which is affected by this sky subtraction issue particularly in stars with radial velocities between ∼−110\sim-110 and −60-60 km s-1. The stars that are truly enhanced in Na should have strong enough Na lines that one may expect Na to be measurable in both of the lines we use. So those interested in exploring stars enhanced in Na may want to examine stars that have both Na lines measured and preferably have radial velocities that are not in the range of ∼−110\sim-110 and −60-60 km s-1.

V.1.5 Phosphorus (P)

Most prominent in the P abundances we measure is the considerable upper limit on the [P/H] values we are able to measure. Given the extent of the upper limit flagging on P, we are likely incomplete in our [P/Fe] coverage at nearly all metallicities. Nonetheless this does provide us the largest sample of stars with P measured present in the literature, and there is some preliminary evidence for a rising [P/Fe] with decreasing metallicity judging from the upper envelope of our observed sample. We can also see that there is a possible hint of an increase in the [P/Fe] ratios at super-solar metallicities.

While our P distribution is limited in it’s metallicity coverage, some of these features may still be able to provide further constraints to chemical evolution models and nucleosynthetic yields for P. Most of the theoretical P yields have previous been shown to poorly match observed P abundances in the MW (Maas et al. 2019; Kobayashi et al. 2020, e.g.,). These predictions typically find sub-solar [P/Fe] ratios at or above solar metallicities, which also seem to be ruled out by our measurements (which is unsurprising given that our P abundance pattern seems to agree reasonably well with past observations, see Section VI.2.2). This disagreement suggests that most theoretical yields do not produce enough P and more modeling is needed to reconcile these differences. However our data is qualitatively consistent with some of the features produced by predictions, such as the decreasing [P/Fe] ratios with increasing metallicity at sub-solar metallicities and the slight increase in [P/Fe] at super solar metallicities seen by Kobayashi et al. 2020.

V.1.6 Vanadium and Copper (V and Cu)

V and Cu both show a similarly shaped abundance distribution pattern at sub-solar metallicities, with slightly elevated [X/Fe] at low metallicities and decreasing with metallicity. While V flattens out around solar metallicity, Cu instead begins to increase. In addition, the [V/Fe] abundances show a tighter distribution than Cu, however Cu also has larger uncertainties because the Cu lines are significantly weaker than the V lines that we use, likely inflating the Cu distribution.

While the production of Cu is somewhat more complicated, it is close to the Fe-peak and produced similar to bona fide Fe-peak elements such as V. Both of these elements show chemical abundance patterns like that of other Fe-peak elements measured by APOGEE, such as Co and Ni, although here we don’t see a rise in [V/Fe] at super solar metallicities, as seen in APOGEE’s Co and Ni abundances and our BAWLAS Cu abundances. Some studies have suggested that several Fe-peak elements may have metallicity dependent nucleosynthetic production in Type Ia SNe at high metallicities (Weinberg et al. 2021, including V), whereas other studies that have seen increases in Cu abundances at super-solar metallicities, like the increases seen here, have suggested that it is due to metallicity dependent yields of Cu in massive stars through the weak s-process (Johnson et al. 2014; McWilliam 2016; Xu et al. 2019). In either case, the stronger rise in Cu abundances at high metallicities may suggest that Cu has a stronger metallicity dependence in its nucleosynthetic production than V, but such modeling is beyond the scope of this work.

V.1.7 Cerium and Neodymium (Ce and Nd)

The two neutron-capture elements in APOGEE spectra with the strongest lines, Ce and Nd, are both produced by a mix of the r- and s-process in the sun. Ce is a predominantly s-process element in the sun with percentages of 19%/81% r-/s-process, whereas Nd has a more even mix, with a slight s-process lean at percentages of 42%/58% r-/s-process (Prantzos et al. 2020).

The Ce abundances measured here show one of the more complex abundance patterns seen in this study (partly because it is one of the most precise, non-CNO elements that we measure). At low metallicities, between −2-2 and −1-1 we see a slightly rising [Ce/Fe]. Then at higher metallicities, the bulk of the stars have an arched pattern with slightly lower [Ce/Fe] at [Fe/H] ∼−0.7\sim-0.7 rising to peak at [Fe/H]∼−0.25\sim-0.25 before decreasing with increasing metallicity. This is similar to the [Ba/Fe] abundance pattern (Prantzos et al. 2020, another predominantly s-process element in the sun,) seen by GALAH in their GALAH++ DR3 (Buder et al. 2021).

On the other hand, while Nd is not measured to as low of metallicities, it does show a different chemical abundance pattern, likely because of its greater production in the r-process. The bulk of the stars with measured Nd form a relatively simple pattern of decreasing [Nd/Fe] abundance ratio with increasing metallicity. Qualitatively this is indeed between the abundance patterns of Ce and the predominantly r-process element, Eu (97% r-process in the sun) seen with GALAH (Buder et al. 2021, and, reassuringly, similar to their Nd abundance pattern).

We also find a population of stars with enhancements in Ce and Nd, extending in some cases to [Ce/Fe] or [Nd/Fe] of +2.0+2.0. Figure 12 shows that these enhancements are generally correlated, so that Ce-enhanced stars typically show Nd-enhancements and vice-versa. While Ce and Nd are measured from singly ionized transition lines and could be similarly sensitive to systematic parameter errors, Hasselquist et al. 2016 and Cunha et al. 2017 showed that the expected errors in Ce and Nd abundances should be <0.1<0.1 dex for Temperature errors of ∼100\sim 100 K and gravity errors of ∼0.2\sim 0.2 dex (and the Ce and Nd errors are anti-correlated for log⁡g\log g errors). So systematic errors in Teff\rm T_{\rm eff} or log⁡g\log g don’t seem to be able to account for the enhancements we see (even if there were quite large systematic errors).

Instead, many of these stars with Ce- and Nd-enhancements are likely s-process enhanced stars which can occur because they have dredged up s-process rich material during their evolution (Lloyd Evans 2010, such as N-type carbon stars;) or have accreted s-process rich material from a companion, e.g., Ba stars, CH stars, or CEMP-s stars (McClure 1984; Masseron et al. 2010; Lloyd Evans 2010, and references therein). But it is also possible that stars with r-process enhancements may be present in this sample too (although there are fewer methods of producing r-process enhancements at these metallicities).

It has long been seen that roughly ∼1%\sim 1\% of RGB stars are Ba/CH stars (Bohm-Vitense et al. 1984), and indeed with a very rough calculation we find a similar percentage of our sample is Ce-enhanced (we consider Ce over Nd, since Ce is measured in a larger fraction of our sample). The density of the bulk sample of stars with Ce measurements begins to drop off rapidly above [Ce/Fe] >0.5>0.5, so if we take this as an indication of where we begin to see these various classes of s-process enhanced stars, we find about 1,500 of the 106,000 stars with measured Ce abundances would be considered s-process rich, about 1.4%\% of our red giant sample (all of this excluding LMC red supergiants for the reasons mentioned below). While this calculation can and should be done more carefully (though doing so is beyond the scope of this work), this simple order of magnitude estimate suggests that the number of Ce-enhanced stars (and Nd) agrees well with past predictions of the number of s-process enhanced red giants.

There is also a notable overdensity of Ce-enhanced stars (and Nd-enhanced stars) at a metallicity of -0.5, which appears to be predominantly due to red supergiants in the LMC. While LMC stars at higher metallicities may in general be enhanced in s-process elements (Hasselquist et al. 2021, e.g.,), we suspect the LMC red supergiants have suspect stellar parameters, leading to erroneous chemical abundances not only in Ce and Nd but other elements too, as discussed below in Section V.4.

V.2 Effective Temperature Trends

As with all spectroscopic studies, systematic trends with stellar parameters can be difficult to avoid, particularly when analyzing weak and blended lines, or may be entirely unavoidable in cases where lines are affected by non-LTE effects for example. To investigate what kinds of trends may be present in this analysis, we show our derived abundances as a function of stellar effective temperature in Figure 13. Because temperature trends can appear due to selection biases, we have also highlighted our solar neighborhood sample (using the same selection criteria listed in Section IV.6, but without the S/N restriction to increase the sample size), which represents a relatively mono-abundance population that should have a solar [X/Fe] abundance ratio at all temperatures.

In the solar neighborhood sample, we do not see particularly significant trends in Na, P, S or Ce, however, the upper giant branch is not well populated because such cool stars are not common in the solar neighborhood. Looking at the full sample for these elements there may be some hints of temperature trends in the coolest stars, e.g., a gradual rise in P abundances below ∼3900\sim 3900 K, a downward trend in Ce below ∼3800\sim 3800 K, etc. Because cooler red giants are more luminous and can therefore be seen to larger distances than warmer, fainter red giants (for the same S/N limit), these trends could be coming from selection biases, i.e., picking out cool stars in regions that are not well populated by the rest of the sample such as the MW bulge. Alternatively, these could be systematic errors because molecular features (the dominant source of blends) become especially strong in cool stars, so any errors in blend treatment could lead to erroneous abundance measurements.

For the remaining elements, we do see some structure or trends in their abundances as a function of temperature. The impact of our detection threshold and limit flagging can be seen in 12C/13C, V, and Nd, particularly at warm temperatures ≲4600\lesssim 4600 where only low 12C/13C ratios (≲\lesssim 10) and high [V/Fe] or [Nd/Fe] abundances (≳\gtrsim solar) can be measured. This compounds with the increasing uncertainties and scatter in V and Nd at low metallicities to cause a decreasing trend in [X/Fe] as a function of temperature below ∼4500\sim 4500 K.

At lower temperatures, there may be very slight 12C/13C, V, and Nd trends with temperature, but it is difficult to assess, given the low number of cool stars with measurements in the solar neighborhood. Looking at the full sample, similar to Ce, we do see a decrease in [V/Fe] at temperatures below ∼3800\sim 3800 K. We also see a change in the average 12C/13C ratio of the full sample as a function of temperature, however, as mentioned in Section V.1.3), the likely reflects astrophysical 12C/13C trends as stars evolve up the giant branch due to internal mixing.

Finally, Cu shows the strongest temperature trend of the elements we measure. The [Cu/Fe] rises from near solar abundances at 5000 K up to around 0.2 at 3500 K. This is perhaps unsurprising given that the Cu lines used here are quite blended. This trend is likely reflecting the difficulty of measuring these lines when they are strongly blended in cool stars. Therefore, any investigation of the Cu abundances measured here should consider these trends and what impact they may have.

It may be advisable to use caution even for those elements that do not show obvious temperature trends, since precision and uncertainties also change with stellar parameters. Comparing stars with similar temperature ranges may provide one way of avoiding these biases.

V.3 Abundance Uncertainties

In Figures 6, 7, and 13, we also show the typical measured and empirical abundance uncertainties in our sample as a function of metallicity and temperature (and as a function of 12C/13C for its uncertainties). In general the typical measured and empirical uncertainties are of a similar magnitude, however, the range of measured uncertainties may be larger since they are determined on a star-by-star basis rather than via an empirical relationship.

For some elements, we can see that the measured and empirical uncertainties differ more significantly. For example, in N the measured uncertainties are, on average, much smaller than the empirical uncertainties at high metallicities. This is because there are many N lines with which to measure these abundances, so we can very precisely measure the average N abundance in a star. However, since N is measured from molecular features, it is expected that the measured N abundances will be quite sensitive to the input stellar parameters, so when varying the input stellar parameters in our derivation of empirical abundance uncertainties we find a larger range of resulting N abundances.

In Cu, we see a different case, where the measured uncertainties are significantly larger than the empirical uncertainties in cool stars (see Figure 13). This occurs because the Cu I 16006 Å is contaminated by a strong nearby blend, and BACCHUS chi2 method, which is used to calculate our measured uncertainties, is biased by this blend. It derives significantly different Cu abundances than either the other Cu line, or the BACCHUS wln method that was also used to determine uncertainties.

The large difference between line and method measurements for Cu in cool stars leads to these large measured uncertainties, despite the fact that the average abundances are not affected by this issue, since we use the wln method for determining the abundances of the Cu I 16006 Å line, and only included this chi2 method for the purpose of determining uncertainties. The Cu measurement uncertainty in these cool stars may, therefore, be artificially inflated, but this can also indicate how uncertain the Cu values could be if blends are not properly treated.

V.4 LMC Supergiant Feature

One of the noticeable features in the abundance patterns of a few of the elements is the overdensity of stars at [Fe/H] ∼−0.5\sim-0.5 that cover a wide range of abundance ratios. This can be seen most clearly in Ce and Nd, and somewhat less obviously in 12C/13C, but it also occurs in the other elements to a lesser extent, such as S, covering a smaller spread of [X/Fe]. This feature is primarily from red supergiants (RSGs) in the Large Magellanic Cloud (LMC). These stars are relatively metal-rich stars for the LMC, and because they are all young, recently formed stars, they only cover a narrow range of metallicity.

Many LMC RSGs have been observed by APOGEE (Santana et al. 2021, particularly in the southern TESS continuous viewing zone contributed programs;) and analyzed here. Figure 14 shows a 2MASS CMD of LMC stars in our sample that have been selected according to the spatial and kinematic (proper motion and radial velocity) selections given in Hasselquist et al. 2021.

The patchwork distribution of stars in this CMD reflects the variety of programs and subprograms that have targeted LMC stars in APOGEE (Nidever et al. 2020; Santana et al. 2021), but for reference the tip of the red giant branch (TRGB) lies around 12 in Ks (Boyer et al. 2011; Hoyt et al. 2018, noting though that the TRGB is actually sloped; see e.g.,). The stars that are more luminous than the TRGB split into two branches with a redward branch around J-Ks ∼1.2\sim 1.2 and a blueward branch that is brighter and centered on J-Ks ∼1.0\sim 1.0. The redder stars seen here belong to various AGB populations, whereas the bluer stars that have been outlined in Figure 14 are red supergiants that have been selected photometrically following the criteria of Neugent et al. 2020.

In Figure 15, we show the S and Ce chemistry of these photometrically selected RSGs compared to the rest of the BAWLAS sample. Indeed the RSGs produce the overdensity of high [Ce/Fe] stars seen in Figure 7. The source of the Ce enhancement and the large spreads seen in Ce, S and other elements is unclear. It is possible that the Neugent et al. 2020 photometric selection may have some contamination by massive AGB stars that could have unusual abundances from internal mixing (Plez et al. 1993, e.g., ). However, this photometric selection is expected to have a relatively low contamination from AGB stars (Neugent et al. 2020, and was designed to be so,), and because most of this selection has unusual abundances (rather than just a few outliers in this selection), it suggests that this odd feature is related to the LMC RSGs specifically.

To some extent it may be expected that young metal-rich stars in the LMC may have enhancements in s-process elements from many generations of AGB stars. For instance, Hasselquist et al. 2021 have showed that metal-rich LMC RGB stars (which are thought to be relatively young, but still slightly older than the massive RSGs) do show an enhancement in [Ce/Fe] over MW stars of the same metallicity. However, these enhancements are at [Ce/Fe] ∼0.2−0.3\sim 0.2-0.3 rather than the [Ce/Fe] ∼0.5−2.0\sim 0.5-2.0 seen in the RSGs here.

Furthermore, this wouldn’t explain the large spread seen in other elements, e.g., S, which extends to high [S/Fe] unexpectedly given that the metal-rich RGB stars in the LMC show relatively a small α\alpha-element abundance spread at slightly super-solar [X/Fe]. Therefore, this large spread in multiple elements (beyond just S and Ce shown here) for such a narrow range in metallicity seems unlikely to be a physical abundance pattern and is more likely to be evidence that there are systematic errors for the RSGs.

This could be in the form of incorrect stellar parameters, improper fitting of blends, heightened nLTE or 3D effects in these stars, etc. For example, because these stars are very luminous and low log⁡g\log g, spherical radiation transfer might be needed (in addition to the spherical atmosphere models that APOGEE already uses) to properly derive stellar parameters for these stars, rather than the plane-parallel radiation transfer used to derive the DR17 ASPCAP stellar parameters (Holtzman et al. in prep.). This could introduce systematic trends in stellar parameters of these stars that we see propagate into the abundances we derive here.

We note that these stars also exhibit a spread in some APOGEE derived abundances, such as APOGEE’s Al or S measurements, which indicates that this feature does not originate exclusively in our BACCHUS analysis. Fully investigating these stars, however, is beyond the scope of this work, but for completeness we warn that the abundances (and potentially even the stellar parameters of these stars) may be suspect and unphysical, and should be used with caution.

VI Literature Comparison

While our abundances are derived from the exact same spectra that are used to measure abundances in APOGEE, there are several key differences in our analyses that lead to differences in derived abundances. In addition to using a different abundance pipeline and spectral synthesis code for our analysis, we also use different input stellar parameters, employ line-by-line and star-by-star flagging that allows us to provide a more cleaned sample of abundances, and, in some cases, use a slightly different selection of lines.

These analysis choices can all contribute to differences between the abundances measured by APOGEE and our work here for elements that are analyzed by both. In Table 4, we tabulate some basic statistics on the differences between the APOGEE DR17 and BAWLAS abundances, showing the mean abundance differences and 1σ\sigma standard deviation of these differences. A few elements see a moderate shift, such as C, N, V, and Ce, which can be attributed to dependence on input stellar parameters for C and Ce, and the removal of temperature trends in APOGEE data for V, as discussed below. For N the offset isn’t obviously tied to one single source, and is likely a result of changing stellar parameters as well as differences in C and O which have an important in determining N abundances.

The scatter in the differences between BAWLAS and APOGEE are typically larger than the combined uncertainties for most of the elements by ∼25−50%\sim 25-50\% (and slightly larger still for the more precisely measured molecular elements C, N and O). However, the reported uncertainties from BAWLAS and APOGEE are simply estimates of the true uncertainty, and there are some systematic differences between the two analyses, in terms of input stellar parameters, methodology, etc., either of which may account for the difference between random uncertainties and the scatter between the two sets of measurements.

Figure 16 shows a few examples of the ways in which the abundances we derive differ from APOGEE’s measurements. In particular, this shows APOGEE abundance measurements for the sample of stars we analyze, the measured BACCHUS abundances in this sample, and for the stars that are measured in both, we also show the differences between those measurements.

BAWLAS also differs from APOGEE because we use APOGEE’s calibrated stellar parameters to derive abundances, while APOGEE has used its uncalibrated stellar parameters. The differences between the calibrated and uncalibrated stellar parameters are primarily in the effective temperatures and surface gravities, which are, respectively, calibrated to photometric temperature relations, and astroseismic surface gravities in ASPCAP’s post-processing (Holtzman et al. in prep., for giants;). We also re-derive the C, N, and O abundances for fitting blends, since we are using different input stellar parameters, whereas C, N and α\alpha abundances (which adjust the O abundance by assuming [O/α\alpha] = 0) are fit simultaneously by APOGEE in its stellar parameter fits.

Not surprisingly, it appears that the change in stellar parameters, particularly the use of calibrated temperatures and gravities, affects some of the elements that we measure here. One clear example of this is Ce. While, in a broad sense, the chemical abundance patterns of Ce from APOGEE DR17 and BAWLAS are relatively similar (as seen in Figure 16), we find that there is a trend in the differences between the two Ce measurements as a function of metallicity, with BAWLAS finding systematically higher [Ce/Fe] at lower metallicities.

This metallicity-correlated offset seems to primarily be a result of using different TeffT_{\rm eff} and log⁡g\log g. The Ce II lines in APOGEE’s wavelength range are quite sensitive to surface temperatures and gravities, such that using a hotter TeffT_{\rm eff} or larger log⁡g\log g results in deriving higher Ce values (Cunha et al. 2017). This compounds with the APOGEE DR17 TeffT_{\rm eff} and log⁡g\log g calibrations, both of which are largest at low metallicities, to produce Ce differences that grow with decreasing metallicity. Figure 17 shows a clear correlation of the difference between APOGEE and BAWLAS [Ce/Fe] as a function of the difference between the uncalibrated and calibrated temperatures used in the respective analyses. Note that the scatter at low ΔTeff\Delta T_{\rm eff} coming primarily from warm stars where the Ce lines are weaker and the abundance measurements are more uncertain, and there are a lack of cool stars, since APOGEE does not populate its [Ce/Fe] abundances for cool stars where the Ce is deemed unreliable (Holtzman et al. in prep.). Similar trends also appear as a function of the log⁡g\log g calibration differences.

We also find that C and O abundances appear to be affected by the differences in assumed stellar parameters. We also show the differences between the BAWLAS and APOGEE abundances for C and O as a function of the APOGEE temperature calibration in Figure 17. While there are some differences between the trends for C, O, and Ce, each of them show a correlation with the temperature calibration. The variety in these correlations reflects the complexities in deriving these abundances and each of their individual dependencies on the input stellar parameters, line choice, the abundance of elements with molecular species (for molecular equilibrium or blending), etc.

For example the larger spread as ΔTeff\Delta{T_{\rm eff}} approaches zero is from warm stars, which have weaker features, increasing uncertainty and scatter in their resulting abundances. Another example is the increase in the spread of the O abundance differences around ΔTeff∼175\Delta{T_{\rm eff}}\sim 175 K, which appears to be due to correlations between the O differences and the log⁡g\log g calibration (which is temperature dependent, hence the temperature trend for a fixed ΔTeff\Delta{T_{\rm eff}}), which has less of an effect on the C and Ce measurements.

These systematic differences can be important to consider because they do have some impact on the chemical abundance patterns of these elements. Figure 18 compares the C and O abundances patterns of APOGEE and BAWLAS for the present sample. While in both cases the BACCHUS measurements have more scatter, because fewer lines have been used than in APOGEE’s analysis, we can see they also result in higher [X/Fe] abundances at low metallicities.

For C this does not have a particularly significant effect on the appearance of the abundance pattern. However, this systematic difference at lower metallicities is important to consider, because different metallicity trends can affect the interpretation of C for stellar evolution (Shetrone et al. 2019, e.g.,). Interestingly, these changes for C bring the BAWLAS abundances into better agreement with APOGEE’s atomic C measurements rather than the molecular ones that are compared to here. Some of this may be because BACCHUS measures a mix of atomic and molecular C features, but it may be worth investigating if calibrated temperatures and surface gravities bring atomic and molecular C abundances into better agreement than APOGEE’s uncalibrated parameters.

Similar to C, in Figure 18 we see differences between the O abundances in BAWLAS and those in APOGEE, which also seem to be related to the choice of stellar parameters. In BAWLAS we see a higher [O/Fe] plateau of ∼0.5\sim 0.5 at low metallicities, as opposed to the ≲0.4\lesssim 0.4 plateau seen in APOGEE. At higher metallicities we also see a difference in the [O/Fe] abundance patterns of the thick disk/high-α\alpha and thin disk/low-α\alpha sequences. Both of these sequences appear flatter and plateau at [Fe/H] ∼−0.7\sim-0.7 in APOGEE, whearas BAWLAS finds both of these sequences monotonically increasing towards lower metallicities.

Interestingly, the BAWLAS [O/Fe] abundance patterns are more similar than APOGEE to what has been seen with high-resolution optical studies. Such studies, typically find steeper [O/Fe] trends in the high- and low-α\alpha sequences and a higher plateau at low metallicities than what APOGEE finds (Bensby et al. 2014, e.g., averaging a plateau value of [O/Fe] ∼0.6\sim 0.6), and instead more similar to what we see in BAWLAS. The difference in the [O/Fe] plateau is likely a result of using calibrated stellar parameters, but it is not clear what causes the differences between the abundance patterns of the high- and low-α\alpha sequences. These may be in part affected by using different parameters or may be a result of separating O into an individual dimension instead of changing it along with other α\alpha-elements as is done in APOGEE. It is also possible that the lower precision of BAWLAS O abundances blur out the fine details that are apparent in APOGEE’s O abundances.

While we have used the calibrated APOGEE DR17 parameters, it is not entirely clear which set of stellar parameters might be best to use for abundance analysis. The calibrated stellar parameters used here may more accurately reflect the true stellar parameters of the stars we observe and help remove systematic trends with uncalibrated stellar parameters.

On the other hand the spectroscopic stellar parameters are derived simultaneously and (theoretically) provide the best fit to the observed spectra. So the use of spectroscopic stellar parameters may reduce the impact of any systematic errors or unaccounted for physics in the model atmospheres or synthetic spectra that might lead to poorly fit blends, line shapes, etc. Therefore we simply note that there may be differences that arise from using different input stellar parameters, and that by comparing the differences in derived abundances, we may be able to explore some of these effects.

VI.1.2 Cleaning Suspect Abundance Measurements

One significant difference between our analysis here and APOGEE’s is our more detailed flagging that helps identify lines or stars whose abundances may be erroneous or highly uncertain. In APOGEE, there is no explicit flagging for lines that may be significantly affected by blends or for measurements that should be below upper limits. In cases such as these, the abundances APOGEE reports may be coming from poor fits or measuring noise. An example of this can be seen in Na.

While the Na measurements agree reasonably well (within uncertainties) for stars measured in both APOGEE and BAWLAS, the effect of flagging and upper limits can clearly be seen in Figure 16. At low metallicities, ≲−0.5\lesssim-0.5 APOGEE reports abundances for many stars, however these stars show a large scatter, whereas with BAWLAS they are flagged as upper limits or as having poor quality fits (typically because the lines are weak and dominated by spectral noise). While we perform similar to APOGEE when stars are measured in BAWLAS, the benefit of our analysis is that we are able to flag stars with suspect measurements even at the level of indivdual lines on a star-by-star basis. Some systematic differences are also seen between APOGEE and BAWLAS as a function of metallicity (BAWLAS reports slightly higher [Na/Fe] at lower metallicities), which is similar to other elements as discussed in the previous section.

The flagging and upper limits can then improve or simplify the interpretation of the chemical abundances such as Na. S, and to some extent N (aside from its systematic offset), are similar to Na, in that the chemical abundance patterns do not significantly change, but by removing suspect abundances we present a clearer picture of these patterns.

VI.1.3 Holistic Treatment of Weak and Blended Features

The last element that overlaps with APOGEE in DR17 is V, which is also shown in Figure 16. The V abundance pattern is significantly different between APOGEE and BAWLAS, and appears to be improved in the BAWLAS analysis here. In APOGEE the V abundances show a large spread (which is even larger at low metallicities where there is no clear pattern), whereas in BAWLAS we see a tight distribution at higher metallicities and that much of the low metallicity scatter seen in APOGEE has been cleaned by our flagging and upper limits at low metallicities.

Comparing the V abundances as a function of temperature for stars that were measured by both APOGEE and BAWLAS in Figure 19, we see that there are clear systematic trends in APOGEE’s V abundances as a function of temperature. This produces the large range of [V/Fe] and complex abundance pattern seen at higher metallicities in APOGEE. In BAWLAS, while we do see slight temperature trends (see Section V.2), they are significantly reduced, leading to a much tighter [V/Fe] pattern.

This improvement is not clearly tied to any one difference between the APOGEE and BAWLAS analyses and is likely a result of a variety of improvements in localized blend treatment, line choice and flagging, upper limits, etc. This allows us to more precisely measure elements like V that are heavily blended, and in some cases only present themselves in weak lines, such as P and Nd as well as the 12C/13C ratio, illustrating the strength the BAWLAS methodology here.

VI.2 High-resolution External Literature Comparison

In addition to comparing with APOGEE, we have compiled high-resolution literature measurements for our elements of interest to compare with our derived abundances.

As with Jönsson et al. 2020; Holtzman et al. in prep. we compare star-by-star measurements of BAWLAS to those of da Silva et al. 2015 and Brewer et al. 2016 for C, N, O, Na, V and Cu (with Cu coming from da Silva et al. 2015 only), and to the sample from Jönsson et al. 2017; Lomaeva et al. 2019; Forsberg et al. 2019 for O, V, and Ce respectively. For 12C/13C we compare with values measured from several literature studies (Briley et al. 1994; Briley et al. 1997; Smith et al. 2002; Pavlenko et al. 2003; Smith et al. 2007; Mikolaitis et al. 2012; Smith et al. 2013; Drazdauskas et al. 2016; Szigeti et al. 2018); this sample may be relatively small and inhomogenous, but it can be used to indicate the quality of our 12C/13C measurements. Our overlap with the literature for P, S, and Nd is too small (a couple stars if any) to draw any meaningful conclusions from.

Table 4 gives the mean difference between our measurements and these high-resolution studies, and the 1σ1\sigma standard deviation scatter around that mean. The mean differences are relatively small for most elements, and the scatter is similar to or smaller than APOGEE comparisons with literature values for the same elements (Jönsson et al. 2020, as of DR16,). The one exception is C, which has slightly larger scatter and is likely a reflection of the lower precision that we are able to achieve using only a handful of C lines.

Because the high 12C/13C ratios are more uncertain, this can skew the scatter in our literature comparison to follow the differences in stars with high 12C/13C values. So, to compare our 12C/13C ratios in another way, in Figure 20 we show a normalized histogram of the difference between BAWLAS and literature measurements of 12C/13C, divided by the uncertainty on that difference (combining the reported literature uncertainty, where available, with the measurement uncertainty on our 12C/13C ratios). This effectively shows how many σ\sigma away from agreement these differences are. We also indicate the distribution we would expect to see if the differences were normally distributed according to the combined uncertainties.

We find that the differences are close to within what we would expect from random errors alone, although there are a few outliers, which may be true outliers or have underestimated uncertainties (either in our study or in the literature studies that they were drawn from).

VI.2.2 Chemical Abundance Pattern Comparison

The above comparisons are for relatively small samples, so to expand our comparison with literature, we have also compiled a larger sample of high-resolution studies to compare their general chemical abundance patterns with those we measure here. This sample is made of measurements from the following studies:

Na: Chen et al. 2000; Reddy et al. 2006; Adibekyan et al. 2012; Bensby et al. 2014; Roederer et al. 2014a; da Silva et al. 2015; Brewer et al. 2016; Duong et al. 2019

P: Caffau et al. 2011; Roederer et al. 2014b; Maas et al. 2017; Caffau et al. 2019; Maas et al. 2019

S: Chen et al. 2002; Caffau et al. 2005; Nissen et al. 2007; Costa Silva et al. 2020

V: Chen et al. 2000; Reddy et al. 2006; Battistini & Bensby 2015; Roederer et al. 2014a; da Silva et al. 2015; Brewer et al. 2016; Duong et al. 2019; Lomaeva et al. 2019 (we exclude the V measurements of Adibekyan et al. 2012 since their V show strong systematic temperature trends)

Cu: Reddy et al. 2006; Roederer et al. 2014a; da Silva et al. 2015; Duong et al. 2019

Ce: Reddy et al. 2006; Mishenina et al. 2013; Roederer et al. 2014a; Battistini & Bensby 2016; Delgado Mena et al. 2017; Forsberg et al. 2019

Nd: Mashonkina et al. 2004; Reddy et al. 2006; Mishenina et al. 2013; Roederer et al. 2014a; Battistini & Bensby 2016; Delgado Mena et al. 2017; Duong et al. 2019

The chemical abundances from this literature compilation are shown over our derived abundance distributions in Figures 21 and 22. In general, we see that there is a fairly good agreement between the chemical abundance patterns measured in the literature and by our analysis here.

We note that, while we have good agreement with the Na abundances from the literature referenced here, there is some disagreement between our results for Na and those of bulge RGB stars from Johnson et al. 2014, particularly in the metal-poor regime, where they report sub-solar [Na/Fe]. However, other optical literature abundances do not show sub-solar Na abundances even when considering bulge stars (Duong et al. 2019, e.g.,). Therefore given the good agreement between BAWLAS and the optical literature here, it suggests that there may be some systematics in the Johnson et al. 2014 Na abundance measurements particularly at low metallicities, as suggested by Duong et al. 2019.

For elements where we see stars that have significantly elevated abundances like Ce and Nd, we also see high-resolution literature measurements of similarly enhanced stars (albeit fewer of them). For P we note that there are very few literature measurements, so it is difficult even with the literature to clearly uncover the underlying chemical abundance pattern. However the literature distribution does seem to reflect a similar pattern to what we see at the metallicities where we are able to measure P.

The one element where we see some deviation from the literature is Cu. Literature measurements show a decreasing [Cu/Fe] abundance with decreasing metallicity at metallicities, [Fe/H] ≲−0.8\lesssim-0.8, which we do not find in our sample. One possible explanation for these differences is that in the H-band, at APOGEE resolution, we are limited in how metal-poor we can measure Cu because of it’s weak, blended lines. These limits begin to affect our measured [Cu/Fe] abundance pattern as metal-rich as [Fe/H] ∼−0.7\sim-0.7. This biases our final Cu sample to stars with relatively higher [Cu/Fe] at low metallicities. Stars with low Cu, such as those in the decreasing literature trend, would only be measureable as upper limits in our analysis. This combination of effects might cause some of the differences between the Cu patterns we see in our analysis and those in literature.

Another possible factor is that studies have found that nLTE effects should be more significant in optical Cu measurements at lower metallicities, while they are less significant in the H-band (Yan et al. 2015; Andrievsky et al. 2018). The necessary nLTE corrections would push the optically measured, literature, Cu to higher values, bringing the literature into better agreement with the trend we see with BAWLAS. However, these nLTE corrections are not quite large enough to completely account for the differences.

Cu is also one of the elements that we measure using the “wln” method in BACCHUS for one of its lines. This method relies on only a single pixel, and therefore could be more subject to systematics or random uncertainties, and could skew our results away from what is found in the literature. However, the differences in the Cu trend between BAWLAS and the literature are present in the Cu 16005.5 Å measurements which are calculated with the “chi2” method, and persist even if we use the “chi2” method for the Cu 16006.0 Å line (though the scatter is larger). Instead, systematic blending, the influence of upper limit flagging and optical nLTE effects are a more likely the source of the discrepancy between the optical literature Cu measurements and BAWLAS. P is also heavily reliant on the “wln” method, but we remark for completeness, that as with Cu, the abundance patterns of P do not change significantly if we use the “chi2” method, which is more robust to individual pixel noise.

We may also be seeing an affect of upper limits in Nd, insofar as we are limited to upper limits at the low metallicity end of our distribution. This in turn may make our distribution look relatively higher in Nd than the literature at low metallicities, due to the missing stars with lower Nd. Otherwise, the Nd abundance pattern we measure appears fairly similar to that seen in the literature.

VII Conclusion

In this work we use the BACCHUS code to analyze ∼\sim 126,000 high S/N, >150>150, APOGEE spectra of giant stars. Using the APOGEE calibrated stellar parameters of these stars we measure their 12C/13C ratios and chemical abundances in C, N, O, Na, P, S, V, Cu, Ce, Nd. We provide both the line-by-line abundances measured by BACCHUS and combinations of these line-by-line measurements, where suspicious measurements have been identified and removed using native BACCHUS line flagging, additional spectral flags, and upper limit relations that we calculate for our elements of interest.

Alongside these combined abundances, we also report upper limit measurements and two measures of the uncertainties on our abundance measurements. (1) We measure uncertainties from line-by-line scatter of the abundances in a given star. And (2) we report empirical uncertainties derived from the abundance scatter in stars with repeat observations.

Because of the flexibility of our analysis and its careful treatment of spectroscopic details, such as blends and upper limits, we are able to provide our BAWLAS catalog that is complementary to the APOGEE DR17 catalog. More automated and rigid pipelines such as ASPCAP can have difficulty measuring elements that are weak or heavily blended, whereas our more time-intensive but focused analysis allows us to expand upon what is measurable from APOGEE spectra. This provides improvements for some of the elements that APOGEE already provides like Na, S and Ce, by cleaning suspect measurements, but also significantly improves the measurement of blended V lines, and can even measure elements that APOGEE is unable to like P, Cu, Nd, and 12C/13C, providing the largest samples of P and 12C/13C measured to date.

In addition to providing improved abundances for elements that were measured by APOGEE, we can now explore other dimensions of chemical space previously unavailable with APOGEE. This includes examining r- and s-process abundances for APOGEE stars, studying dredge-up and stellar evolution along the giant branch with 12C/13C, and investigating the relatively poorly studied P abundance distribution. There are, of course multiple uses for this data particularly, because this relatively large sample spans a range of stellar parameters, positions in the galaxy, and even extends to some of the more massive satellites of the Milky Way (such as Sagittarius and the LMC).

Several large spectroscopic surveys are beginning soon or are planned, e.g., Milky Way Mapper (MWM) as part of SDSS-V (Kollmeier et al. 2017), the William Herschel Telescope Enhanced Area Velocity Explorer (Dalton et al. 2012, WEAVE;), the 4-metre Multi-Object Spectroscopic Telescope (de Jong et al. 2019, 4MOST;), and Maunakea Spectroscopic Explorer (McConnachie et al. 2016, MSE;). These surveys will necessarily require more and more efficient pipelines to handle the volume of data that they will observe. The current epoch of surveys, like APOGEE, GALAH, LAMOST, etc., have demonstrated that a great wealth of information is available, and can be extracted, and many new, quick methods are being developed to help facilitate this kind of information extraction in the next generation of surveys (Ness et al. 2016; Fabbro et al. 2018; Leung & Bovy 2019; Ting et al. 2019, e.g., The Cannon, StarNet, astroNN, The Payne;).

However with the present analysis we show that there is more information that can be extracted from spectroscopic surveys, when analyzed with more careful and meticulous methods. While methods such as ours here are time consuming and often require high quality data (e.g., high S/N spectra, precise stellar parameters, etc.), future surveys may benefit from having smaller scale, complementary analyses like what we present in this work to capitalize on their highest quality data.

DAGH and TM acknowledge support from the State Research Agency (AEI) of the Spanish Ministry of Science, Innovation and Universities (MCIU), and the European Regional Development Fund (FEDER) under grant AYA2017-88254-P. TM acknowledges financial support from the Spanish Ministry of Science and Innovation (MICINN) through the Spanish State Research Agency, under the Severo Ochoa Program 2020-2023 (CEX2019-000920-S) as well as support from the ACIISI, Consejería de Economía, Conocimiento y Empleo del Gobierno de Canarias and the European Regional Development Fund (ERDF) under grant with reference PROID2021010128.

This research made use of topcat (Taylor 2005), Astropy, a community-developed core Python package for Astronomy (Astropy Collaboration et al. 2013), NASA’s Astrophysics Data System, and the SIMBAD database, operated at CDS, Strasbourg, France.

Funding for the Sloan Digital Sky Survey IV has been provided by the Alfred P. Sloan Foundation, the U.S. Department of Energy Office of Science, and the Participating Institutions.

SDSS-IV acknowledges support and resources from the Center for High Performance Computing at the University of Utah. The SDSS website is www.sdss.org.

SDSS-IV is managed by the Astrophysical Research Consortium for the Participating Institutions of the SDSS Collaboration including the Brazilian Participation Group, the Carnegie Institution for Science, Carnegie Mellon University, Center for Astrophysics — Harvard & Smithsonian, the Chilean Participation Group, the French Participation Group, Instituto de Astrofísica de Canarias, The Johns Hopkins University, Kavli Institute for the Physics and Mathematics of the Universe (IPMU) / University of Tokyo, the Korean Participation Group, Lawrence Berkeley National Laboratory, Leibniz Institut für Astrophysik Potsdam (AIP), Max-Planck-Institut für Astronomie (MPIA Heidelberg), Max-Planck-Institut für Astrophysik (MPA Garching), Max-Planck-Institut für Extraterrestrische Physik (MPE), National Astronomical Observatories of China, New Mexico State University, New York University, University of Notre Dame, Observatário Nacional / MCTI, The Ohio State University, Pennsylvania State University, Shanghai Astronomical Observatory, United Kingdom Participation Group, Universidad Nacional Autónoma de México, University of Arizona, University of Colorado Boulder, University of Oxford, University of Portsmouth, University of Utah, University of Virginia, University of Washington, University of Wisconsin, Vanderbilt University, and Yale University.

This publication makes use of data products from the Two Micron All Sky Survey, which is a joint project of the University of Massachusetts and the Infrared Processing and Analysis Center/California Institute of Technology, funded by the National Aeronautics and Space Administration and the National Science Foundation.

This work has made use of data from the European Space Agency (ESA) mission Gaia (https://www.cosmos.esa.int/gaia), processed by the Gaia Data Processing and Analysis Consortium (DPAC, https://www.cosmos.esa.int/web/gaia/dpac/consortium). Funding for the DPAC has been provided by national institutions, in particular the institutions participating in the Gaia Multilateral Agreement.

References

Appendix A BACCHUS Flag and Combination Settings

As mentioned in Section IV, here we describe the choices we have made to flag individual line measurements and combine them to derive the final elemental abundances that are presented in this paper. In many cases we have used a set of default settings that work well for most lines across the elements we measure. The line-by-line settings that we have to choose from fall into the following categories: (1) which lines did we use in our combination, (2) which BACCHUS measurement method was used for each line, (3) what BACCHUS method flags were use to identify satisfactory measurements, (4) what spectra flags were used for each line, and finally (5) what upper limit threshold was used for each line. Our default choices for how to flag and combine lines for each of these categories are:

Line selection: use all input lines of a given element

BACCHUS measurement method: use the chi2 method

BACCHUS method flags: require that all reported BACCHUS method flags = 1 for a given measured line

Spectra flags: require that all spectra flags = 1 (if such a flag is present for the star and line in question).

Upper limit threshold: use the t = 1% empirical threshold relation to define upper limits

However, in some cases we have deviated from these default settings in order to better treat specific lines. Table 5 lists all of the flag choices and settings that we have used in our line combination, and below we go through each element and describe the choices that differ from the defaults listed above.

For C, N, and O, since these were used primarily for fitting blends, we have used a fairly simple selection of settings to combine these elements. For C, N, and O we use our default settings for the line selection (all lines), measurement method (chi2), and the method flag choices (flag = 1 for all methods). No spectra flags were defined or used for C, N, and O.

For the upper limits of C, N, and O, because these are dominantly measured in molecular features, they are therefore sensitive to each other’s relative abundance. For instance typical stars have abundance ratios with C << O, but the molecular features in a star strongly differ when they have abundance ratio C >> O. However, our empirical upper limit relations are derived assuming solar abundances of all elements except the element in question, therefore driving a changing abundance ratio relative to other elements. Therefore for C, N, and O the empirical relations we derive are not appropriate because they are derived from spectra with strongly changing [C/N], [C/O], etc. and do not reflect the ratios seen in typical stars, leading to unrealistic limits.

Instead we have used the native BACCHUS derived int method upper limit for each line in each star. While these upper limits can occasionally extend to very high values, but because C, N, and O have quite strong features, it is rare that a line is simultaneously flagged as well measured by BACCHUS and below these upper limits.

A.2 Sodium (Na)

An example of the two Na lines is shown in Figure 23. For Na we use the wln method instead of chi2 for the Na 16373 Å line because it is a weak line with both blue-ward and red-ward blends (with the red-ward CO blend nearly coincident with the Na 16373 Å line) and the wln method allows us to measure Na from a point where the Na line is maximal while minimizing contamination from any poorly fit blends.

A.3 Phosphorus (P)

An example of the two P lines is shown in Figure 24. Both of the P lines that we measure are weak and blended, so we have chosen to use the wln method to measure them where the lines are strongest and minimize noise and contamination from incompletely fit blends (because even small mismatches in the underlying blend can have a large impact on calculated the abundances from weak P lines). Similarly because of the strong blends with the weak P lines we have raised the upper limit threshold to the 3% level which has been verified with by-eye investigation of borderline measurements.

A.4 Sulfur (S)

An example of the five possible S lines analyzed here is shown in Figure 25. While we use the default settings for our S lines, after inspection of the output line-by-line abundance ratios we have chosen to not include the measurements of lines 15422 Å and 15475 Å. These lines both show strong temperature trends even once removing stars that have been flagged and have chemical abundance patterns that differ from each other and the other three lines.

A.5 Vanadium (V)

An example of the three V lines we analyze is shown in Figure 26. Similar to S, for V we have not included the V 16137 Å line in our combination, because it is a slightly weaker and more blended line, and shows strong temperature trends and abundance patterns that deviate from the other two (likely due to misfit blends). We also impose an upper limit threshold of t = 3% to remove stars that end up with anomalously low V abundances that should be below our detection limit. This was implemented in addition to the continuum flag designed for the V 15924 Å line, to only consider measurements of lines that are sufficiently strong to dominate over errors from the spectral normalization around this line (see Section B.4.1 for why these errors may arise).

A.6 Copper (Cu)

An example of the single Cu feature (a blend of two Cu lines) is shown in Figure 27. The Cu 16005 Å and 16006 Å lines both are significantly blended both blue-ward by a combination of C I, Ti II and Fe I lines, and red-ward by C I and Fe I lines. The blue-ward blend is weaker, so for the Cu 16005 Å line, we can still use the chi2 method with minimal contamination from the blue-ward blends, but the red-ward blend is typically stronger and can contaminate wings of the redder Cu 16006 Å line. So for the Cu 16006 Å line we can minimize this contamination by measuring the the Cu abundance at a point with minimal contribution from blends by using the wln method.

The blends also cause many method flags to be thrown by BACCHUS, so we have modified our flag selection for the Cu lines. For the eqw and int flags, we accept all flags (i.e., we ignore these flags or do not exclude a measurement for any specific flag from these methods) for both of the Cu lines. Of the syn flags, we allow any flags for the Cu 16006 Å line, but because the blends are weaker for the Cu 16005 Å line we only use syn flag = 1 or 3 (many stars have syn flag = 3 because the Cu line falls in between two blends and does not produce a local minimum in flux, and are therefore flagged despite decent fits by BACCHUS).

To further reduce the impact of poorly fit blends that can be interpreted by BACCHUS as enhancements in Cu, we have also used a higher upper limit threshold of t = 3%.

Finally, while we defined a blend flag for the Cu 16006 Å line we did not cut any stars based on this flag since there were no clear offsets in the Cu measurements of these (few) stars from the rest of the population. However all stars with blend flag = 0 were removed through other quality and flag cuts when calculating combined Cu abundances.

A.7 Cerium (Ce)

An example of the four Ce lines used in this study is shown in Figure 28. For Ce we use the default settings for line flagging and combination, except for raising the upper limit threshold slightly to t = 2% for the Ce 16722 Å line. This helps account for stars that visually appear to be upper limits but are considered detections in warm stars at the t = 1% threshold due to mismatches in the nearby Si I blend.

A.8 Neodymium (Nd)

An example of the three Nd lines used in this study is shown in Figure 29. The Nd 16053 Å line lies in the wings of an OH line, which is frequently included in a larger BACCHUS window around the Nd 16053 Å. To avoid adding more noise to our Nd measurements and avoid contamination in cases of poorer fits to this OH feature, we have chosen to use the wln method for this line, which appears to provide more consistent measurements and is fitting the Nd 16053 Å at a wavelength that is minimally blended with any other lines.

In addition to using the wln method for Nd 16053 Å, BACCHUS tends to focus on the OH line core as the nearest local minimum within it’s fitting window. Therefore it will report syn and eqw flag = 3 for many stars when the fits to the Nd line are otherwise good, so we include syn and eqw flag = 1 or 3 when assessing Nd measurements of this line. Again, because BACCHUS focuses on the core of the OH blend for its int method, the int flags are inappropriate for the overall quality of the BACCHUS fit to the Nd line, so we allow any int flag for the Nd 16053 Å line.

As with the weak lines of some other elements, we’ve increased the upper limit threshold for the weaker Nd 15368 Å and 16262 Å lines because of coincident blends and continuum placement that can lead BACCHUS to derive good measurements where visual inspection reveals that the fits are likely upper limits. This particularly occurs for hotter stars where our linear empirical upper limit threshold relations may not be complex enough to encompass the change in line depths from synthetic spectra as a function of temperature. Particularly we’ve raised the thresholds to 2% and 3% for Nd 15368 Å and 16262 Å respectively, to flag hotter stars as much as possible (where the upper limits are not quite high enough when inspecting individual stars), while minimizing the number of cooler stars that are flagged with Nd abundances that do appear to be measurable.

Finally, for Nd, while we created a blend and continuum flag for the Nd 15368 Å line, we decided not to use these flags as they primarily flagged stars with parameters where the Nd measurements should be more reliable (the blend flag flags nearly the whole sample and the continuum flag flagged only cool stars leaving things below 4800 K where visual inspection suggests that these measurements are predominantly upper limits). This does, however, suggest that this line (or its blends) may be more poorly fit on average, possibly the source of the large zero-point offset relative to Grevesse et al. 2007 of 0.372. However, this line does show similar abundance trends to the other Nd lines so it has been retained.

A.9 12C/13C Isotopic Ratio

As mentioned in Section IV.2, because BACCHUS’s flags are tuned typical abundances measurements of individual lines, the flags are not quite appropriate for measuring 13C features. Typically the flags are designed for narrow features, and for the broader features of 12C/13C, especially those with a variety of blends, BACCHUS will often throw syn flag = 3 and eqw = 3.

These flags are not necessarily a description of the quality of the fit for 12C/13C, so we also allow these flags when combining 12C/13C measurements. Furthermore, since the int method attempts to measure abundances from line core intensities, it is not particularly suited to the, typically broader, 13C features, so we allow any int flags in our combination.

In general for 12C/13C, because they have a relatively broad wavelength coverage and are therefore blended with multiple lines, we have chosen to use the wln method for our measurements, measuring the most intense parts of these features. While the chi2 method could provide more robust measurements by averaging multiple pixels, it is also more susceptible to blends which are more frequent when taking a larger wavelength range. The only two lines that we use the chi2 method for are the 13C16O 16121 Å and 16530 Å features, which are the strongest and least blended features in our list.

Since 13C features have increasing depth with decreasing 12C/13C values, measurement limits are actually lower limits, and our empirical relations are not appropriate for the 12C/13C values we derive. Instead because our input range maxes out at 12C/13C =50=50 we put a default line-by-line lower limit of 49 (which can cut off stars that sit near the upper synthesis range) on the measurements of all lines. To add another safe guard that helps ensure the 12C/13C measurements are reasonable, for all of the stars that we report a final, combined 12C/13C value, we require that they have good measurements from the 13C16O 16530 Å feature which is the strongest, least blended line. So, if this line has not been measured, we posit that the other lines too shouldn’t be measurable.

Finally to provide useful lower limits, we have derived a lower limit relation based on the strongest 13C feature we analyze, the 13C16O 16530 Å feature. The form of our 12C/13C ratio lower limit relation is log⁡10(\log_{10}(12C/13C)=A/Teff+[C/H]+B)=A/T_{\rm eff}+{\rm[C/H]}+B, where [C/H] is that calculated by BACCHUS. By adding a factor of [C/H], this limit essentially is a limit on [13C/H].

In order to determine the value of the coefficient AA, we synthesize the 13C16O 16530 Å region as described in Section IV.4 for 12C/13C ratios of: 1, 3, 5, 7, 10, 15, 20, 30, 50, and 70. Based on the temperature dependence of these syntheses we derive a value of A=37200A=37200 K. We then set the coefficient B=−7.0B=-7.0 from a data driven determination, based on the cont flag for 13C, which provides a limit threshold at the flux level.

Nominally the cont flag indicates when a 13C line should provide a measurement (cont flag = 1) or if it can only provide a limit (cont flag = 0). In theory we would expect that for a given temperature and [C/H], at some threshold, stars with higher 12C/13C should be lower limits, and below that threshold we have measurements. However we find that there is some overlap, such that BACCHUS measures similar 12C/13C ratios for stars of the same temperature and [C/H] but with a mix of cont = 0 and 1 set.

So we have chosen to set the lower limit relationship coefficient BB such that there are approximately an equal number of stars with cont = 1 but 12C/13C ratios that are above the lower limit relation as there are stars with cont = 0 but BACCHUS 12C/13C ratios for the 13C16O 16530 Å feature that lie below the lower limit relation. For the cont = 1 stars, these are stars where, based on the line flux, we should be able to measure 12C/13C ratios, but according to our abundance based relation should be lower limits. On the other hand, for the cont = 0 stars, these are stars that the flux limit indicates should be lower limits, but BACCHUS’s measurements suggest that they would have low enough 12C/13C ratios that we should be able to measure them according to our lower limit relation. By setting the coefficient BB such that the number of stars in each of these cases is approximately the same, we have an equal number of stars where we believe these lower limits should be over- and underestimated.

We then use this relation to set lower limits for our sample. Any stars with combined 12C/13C ratios below this relation are replaced with these limits, and all stars that have cont = 0 for the 16530 Å line, but no other bad method flags, are given lower limits according to this relation. Finally, the 12C/13C measurements are not populated for any stars without C measurements, because it is critical to have measured C in order to provide a reliable 12C/13C ratio.

A.10 Zn, Ge, Rb and Yb

There are three Zn lines at 15730.4, 16483.4 and 16505.5 A˚\rm\AA in the APOGEE spectra that are theoretically strong enough to allow abundance measurement. However, as shown in Fig. 30, all those lines suffer from major caveats which do not allow any measurement. The 15730.4 A˚\rm\AA line is the strongest but is severely blended by an unknown feature, which may have lead to an overestimation of this line’s astrophysical log⁡gf\log{gf}. We note that this feature appears at all temperature, including for Teff>5000\rm{}_{eff}>5000 K which strongly suggests that it is an atomic line. The 16483.4 A˚\rm\AA line is cleaner but appear to have a largely overestimated strength in the models, such that it is not detectable in the spectra. Finally, the 16505.5 A˚\rm\AA line is the weakest and blended by two Fe lines.

Concerning Ge, Rb and Yb, the strongest known lines in APOGEE spectra – and more generally in the H-band – are located at respectively 16759.8, 15289.5 and 16498.4 A˚\rm\AA. Unfortunately, those lines are very weak and following our upper limits procedure such as described in Sec. IV.4, very few stars pass the upper limits flag even at solar metallicity with the lowest intensity threshold. So we do not consider these elements further. We still stress that those elements can become clearly measurable in neutron-capture enhanced stars (particularly Yb), but as they represent a minority of stars in this general purpose catalog, and cannot be calibrated or treated in a similar way to the other elements, we have decided not to provide their abundances.

Appendix B Spectra Flag Definitions

As illustrated in Fig. 23, both Na lines are affected by a CO blend. In order to control whether the modelling of the CO lines is satisfactory, we build an identical flag for both Na lines such that the difference between the modelling and the observation of the nearest CO clean line (at 16375 Å) is less than 20% of the depth of the 16388 Å Na line. This flag implies that the weaker the Na lines are, the better the modelling of the CO lines needs to be, for us to measure accurate Na abundances.

B.1.2 Na 16388 Å Blend Flag

At certain radial velocities (∼\sim −110-110 – −60-60 km s-1) a relatively strong sky line aligns with the Na 16388 Å line. In many stars at these velocities this sky line is either subtracted so that the Na 16388 Å line can be recovered or sky line is strong enough that these pixels have been masked in the APOGEE pipeline. However, in some cases the sky line has been over-subtracted and not masked. When this occurs, the flux uncertainty in the affected pixels are sometimes increased to reflect the higher uncertainty from the sky line subtraction, but BACCHUS does not account for the flux uncertainty in each pixel, so it will find an enhanced Na abundance from these sky contaminated lines.

To flag stars where this occurs, we have defined a blend flag for this line that attempts to identify cases where the uncertainties at the Na 16388 Å line are larger than typical, or when stars have improperly subtracted sky lines at other pixels. To flag cases where the flux uncertainties per pixel have been raised, we identify stars whose flux uncertainty is greater than 5%.

Because not all affected stars have elevated flux uncertainties, we also use two other points in the spectra that have near continuum flux and are at wavelengths where strong sky sit in stars at the same radial velocities where Na 16388 Å is affected. At these two wavelengths, 15431 Å and 16128 Å, we compare the observed flux to that of a BACCHUS model. If the sky line at Na 16388 Å is erroneously subtracted, we may also see significant differences between observations and the model at these wavelengths from other poorly subtracted sky lines. To evaluate this, we calculate a mean and standard deviation of the differences between model and observed spectra at these wavelengths for stars with velocities between 0−-100 km s-1 (which won’t be affected by sky contamination), and flag all stars (at all radial velocities) whose differences at either of these wavelengths deviate from the calculated mean differences by more than 5σ\sigma.

Combining these two methods we create a final blend flag for Na 16388 Å that records whether the uncertainty at the line center is large or if other spectral pixels that may be affected by sky contamination deviate significantly from their BACCHUS model. Stars that may be negatively impacted by sky lines in Na 16388 Å have blend = 0 and those that pass the flagging have blend = 1.

B.2 Phosphorus (P)

Phosphorus is among the most challenging elements to be measured in the APOGEE spectra because the lines are particularly weak and blended as illustrated in Fig. 24.

The 15711 Å line is blended by a CN line at 15706.9 Å. To improve modelling of that CN line, we adjust the N abundance to this specific line before letting the code determine the P abundance of that line. The blend flag of the 15711 P line is raised as bad (= 0) only when the difference between the N abundance from the 15706.9 Å CN line and the N abundance from an average of several good N lines is larger than 0.5 dex. In other words, this flag indicates when there has been a local adjustment of the blend.

B.2.2 P 16482 Å Blend Flag

The 16482 Å P line is blended by a CO line. The procedure to control the potential impact of a poorly modelled CO is quite similar to the 15711 Å line. The carbon abundance is locally adjusted to match the CO feature at 16481 Å before the P abundance is determined. We then create a blend flag for the 16482 Å P line in a similar fashion as for the 15711 Å blend flag, i.e. it is raised as bad (= 0) when the difference between carbon abundance of the 16481 Å CO line and the mean carbon abundance derived from other good lines is larger than 0.2 dex. However, it turned out that this flag has never been raised all over the sample (implying that the 16481 Å CO line is a good representative of the C abundance) and we did not find useful to provide it.

B.2.3 P 16482 Å Cont Flag

Depending on the radial velocity of the star, the 16482 Å line can near the edge of the CCD, where the quality of the spectra can be poor. The cont flag of this line is set to 0 (i.e., bad) when the line is within 15 Å of the chip edge.

B.3 Sulfur (S)

As illustrated in Fig. 25, two of three lines used in this study are blended by an underlying OH line. While OH lines are negligible if present at all in the hottest stars (≈\approx 5000 K), the strength of OH increases rapidly with decreasing temperature such that at 4000 K it dominates the absorption, preventing any S abundance measurement in nearly all such cool stars. In addition, this effect is also increased for low metallicity stars, where the O abundance is relatively higher than at solar metallicities.

In order to measure the S abundance only in cases where the contribution from OH lines is small, we have created a blend flag for the 15403 Å and 15470 Å lines such that the the flag is set as bad (= 0) if the observed flux at 15409 Å (which corresponds to the wavelength of a clean OH line) is more than 5% of the continuum.

Regarding the 15478 Å, it is blended by Fe lines that we assumed to be always be well modelled. Consequently, we did not implement any special flagging for this line (hence always =1).

B.4 Vanadium (V)

As illustrated in Fig. 26, the 15924 Å line is the best line (in contrast to the 16137 Å severely blended and not used in our final combination, and the 16200 Å line quite strong, but blended by CO lines). Nevertheless, in hotter stars or very metal-poor stars, the V 15924 Å line is relatively weak, so a slight mismatch in the BACCHUS normalization can introduce errors in the continuum placement that lead to erroneous V 15924 Å measurements. We have therefore defined a continuum flag to identify when the local observed continuum deviates significantly from the BACCHUS model, such that the poor normalization may lead to errors in the derivation of V abundances for this line. This flag is set as bad (= 0) if the average of the difference between the observed and model flux at 15924.9 ±\pm 0.4 is more than 15% of the depth of the observed flux in the core the the V 15924 Å line.

B.4.2 Cu Blend Flag

Despite the fact that the Cu feature is blended on both its red and blue side (see Fig. 27) by a C and Fe line respectively, the derivation of Cu abundances is possible in many of the stars as long as the blends are appropriately modeled. To assure this, we have implemented a procedure as follows: the C atomic blend is locally adjusted by setting the carbon abundance to the “int” method value of the C 16004.9 Å line. If this local carbon abundance is more than 0.4 dex different from the mean carbon abundance derived from the average of the many lines we use, then we consider this local carbon measurement unreliable. And therefore we consider the the model fitting for Cu suspect, and set the Cu blend flag to 0.

B.5 Cerium (Ce)

Four Ce lines have been used in this study (Fig. 28). All of the lines are blended, but from our line-by-line comparison tests, it appears that for three of them the blends are sufficiently weak and/or well-modelled so that the Ce measurements are not severely affected. However, the fourth line, Ce 15784 Å, is affected in some cases, for which we have built a specific procedure and flag.

As shown in the left panel of Fig. 28, the Ce 15784 Å line is blended on its blue side by a CO line. To minimize the impact of an inaccurate modelling of this line, we adjust the carbon abundance to match the core of the 15783.9 Å CO line with the “wln” method. The use of the “wln” method is particularly relevant for this CO line as its core is clearly distinct from the Ce line 15784 Å and thus offer the best leverage to accurately constrain the fit of the CO line. Nevertheless, whenever the carbon abundance differs from the mean carbon abundance by more than 0.3 dex, then the Ce 15784 Å blend flag is set to 0.

B.6 Neodymium (Nd)

Along with P, Nd is a very challenging element to measure precisely because the lines are weak and blended. Fortunately, there are several lines present in the APOGEE spectra, which has allowed some robustness in the Nd measurement in our sample (Fig. 29). While we developed a similar procedure for locally fitting the blending feature such as for P, Cu or Ce, the blends do not appear to significantly impact the results, implying that the blends were reasonably well modeled, so we have not implemented any blend flags for these Nd lines like these other elements. Nevertheless, we have still developed a procedure to control for the quality of the continuum placement of the 16054 Å line.

Similar to what has been done for the Na and V cont flags: if the difference in the synthesis and the observed spectrum in the pseudo-continuum region 16054.2-16054.7 Å is more than 30% of the average flux at the wavelength of the 16053 Å Nd line, then the cont flag is set to 0 (i.e., the fit is likely to be poor).

B.7 12C/13C Isotopic Ratio

In addition to an upper limit relation, we incorporate a flux limit flagging into the continuum flags for 13C\rm{}^{13}C. For each line we use a flux threshold value for each of the 13C\rm{}^{13}C features when considering whether to flag each line. If the observed, normalised flux around the central wavelength (averaged within a window of ±\pm 0.5 A˚)\AA)) is higher than the threshold, the corresponding 13C{}^{13}C continuum flag is raised (flag = 0), and if the flux is lower than the threshold, the continuum flag for that feature is set to flag = 1. As indicated in Appendix A we require that cont flag = 1 for all 13C\rm{}^{13}C, providing limit flagging at the flux level rather than at the abundances. This, however, means that for stars where all 13C\rm{}^{13}C features are flagged as not passing the flux limits, no 12C/13C limits are provided.

Appendix C Upper Limit Relations

In Table 7 we present the constants used in our upper limit relations of the form log⁡ϵ\log\epsilon(X)lim=At⋅Teff+Bt{}_{\rm lim}=A_{\rm t}\cdot T_{\rm eff}+B_{\rm t} where t is the chosen % threshold of the continuum. We have calculated these relations for continuum threshold levels of 1, 2, 3, 4, and 5%, and have reported the AtA_{\rm t} in dex per 104 K in Table 7.