New red giants in NGC 6791 and NGC 6819 using Kepler superstamps

Context. Stars that are members of stellar clusters are assumed to be formed at the same time and place from material with the same initial chemical composition. These additional constraints on the ensemble of cluster stars make these stars suitable as benchmarks. Aims. We aimed 1) to identify previously unknown red giants in the open clusters NGC 6791 and NGC 6819, 2) to extract their asteroseismic parameters, and 3) to determine their cluster membership. Methods. We followed a dedicated method based on di ff erence imaging to extract the light curves of potential red giants in NGC 6791 and NGC 6819 from Kepler superstamp data. We extracted the asteroseismic parameters of the stars that showed solar-like oscillations. We performed an asteroseismic membership study to identify which of these stars are likely to be cluster members. Results. We found 149 red giant stars within the Kepler superstamps, 93 of which are likely cluster members. We were able to find 29 red giants that are not primary targets of Kepler , and therefore, their light curves had not been released previously. Five of these previously unknown red giants have a cluster membership probability greater than 95%.


Introduction
Open clusters are remarkable features in the Milky Way.They contain up to a few thousand stars that are thought to have formed at the same time from the same molecular cloud.Hence, stars in clusters are assumed to have similar properties, such as age, initial chemical composition, and distance.Due to these shared initial conditions, studying the properties of cluster stars at different evolutionary stages allows us to constrain and test theories of stellar evolution and to gain insights into the formation and chemical evolution of our own Galaxy (e.g.Vandenberg 1983;Salaris 2013;Cantat-Gaudin & Anders 2020).In this study, we search for additional oscillating red giants in the open clusters NGC 6791 and NGC 6819, which were observed by the Kepler space mission (Borucki et al. 2009;Gilliland et al. 2010).
Kepler observed the same field in the sky for four years.From the ∼ 500 000 stars in the field that are brighter than the targeted threshold (<16 mag in the Kepler passband; Batalha et al. 2010), ∼150 000 stars were selected as primary targets for the mission.They are a subset of the Kepler Input Catalog (KIC; Brown et al. 2011).The Kepler field of view contains four open clusters: NGC 6791, NGC 6811, NGC 6819, and NGC 6866.Two of them, NGC 6791 and NGC 6819 (∼8.5 and ∼2.5 Gyr old, respectively; Basu et al. 2011), were found to contain a substantial number of oscillating red giant stars, and ∼120 have been targeted by the Kepler mission and were studied with asteroseismology based on these data.For these stars, studies have determined asteroseismic parameters, stellar properties such as mass and radii (Hekker et al. 2011a), evolutionary stage (Corsaro et al. 2012), mass loss (Miglio et al. 2012), helium content (McKeever et al. 2019), core mixing (Bossini et al. 2017), stellar ages (Basu et al. 2011), and cluster membership (Stello et al. 2011).However, these clusters are likely to contain more oscillating stars that have not yet been analyzed.
Asteroseismology is a powerful technique that can probe the internal structure of stars through the study of their global oscillations.This method can be used to obtain global properties of red giant stars, such as stellar mass, radius, and evolutionary stage.To perform an asteroseismic analysis, it is necessary to obtain the light curve of the star.The mode of operation of Kepler was based on providing the light curves for only those stars that were observed as primary targets of the mission, that is, a subset of the KIC catalog.In addition to the target pixel files that were obtained for the preselected stars, the mission collected photometric data of the whole central regions of the open clusters NGC 6791 and NGC 6819.These data products are so-called superstamps that comprise long-cadence (∼ 30 minutes) photometric observations with a spatial size of 200 × 200 pixels (13.3 arcminutes on one side).These data can be used to extract the light curve of any resolved star within the superstamps.Most of the stars in the open clusters NGC 6791 and NGC 6819 were not primarily targeted, and therefore, no light curves were released.We aim to extract the light curves of oscillating red giants from the superstamp data that were not primary targets of Kepler.
The light curve of a star can be extracted with different methods.The most commonly used technique is aperture photometry, which was successfully applied to the observed KIC stars and some superstamp stars (e.g.Handberg & Lund 2014;Lund et al. 2015).Aperture photometry is a reliable method for fairly isolated stars, but has its limits in highly crowded fields, for instance, central regions of open clusters or for saturated objects because it can introduce background signal.In contrast, difference imaging is a preferred technique for probing crowded fields because it removes all nonvariable signal that neighboring stars might be introducing.A light-curve extraction method based on difference imaging was implemented by Colman et al. (2022).They successfully tested their IRIS pipeline on KIC targets that are located within the Kepler superstamp data.
We used the method developed by Colman et al. (2022) to extract the light curves of red giant stars from the Kepler open cluster superstamp data of NGC 6791 and NGC 6819.We selected ∼ 500 stars in the superstamps that are potential cluster red giants.We did this using colors and magnitudes from Gaia data (eDR3; Gaia Collaboration et al. 2021), and distances derived by Bailer-Jones et al. (2021).About half of the selected stars were not primary targets of Kepler, and their light curves were not previously extracted.We downloaded the uncorrected light curves of the KIC targets in our sample, extracted by Colman et al. (2022), and applied the IRIS pipeline to the non-KIC targets.We corrected the light curves using a modified version of the KASOC correction filter (Handberg & Lund 2014).We performed an asteroseismic analysis including cluster membership study of those stars that showed solar-like oscillations.

Target selection
We focused on the open clusters NGC 6791 and NGC 6819, which are known to host a substantial number of red giant stars.The Kepler mission provided high-quality photometric data for these clusters over a time span of four years.These superstamp data enable an asteroseismic analysis of any resolved star within the central regions of the clusters, including stars that were not primary targets of the mission.
First, we computed the expected number of red giant stars in these clusters that are observable with Kepler.Based on colormagnitude data from ground-based cluster surveys (Stetson et al. 2003;Hole et al. 2009;Ak et al. 2016), we selected the stars that are likely to be red giants according to their location in the colormagnitude diagram.We only considered stars with a V magnitude below 16.7, as we do not expect to find oscillations in fainter red giants (Stello et al. 2011).We found ∼ 200 and ∼ 150 observable red giants in NGC 6791 and NGC 6819, respectively.So far, asteroseismic studies have focused on ∼ 120 oscillating red giants in total in these clusters, potentially leaving several dozen stars to be studied.
To find these cluster red giant stars, we selected all the stars in the superstamps that are within the published color, magnitude, and distance ranges of the confirmed cluster red giants (Stello et al. 2011).We obtained the colors and magnitudes for these reference stars from Gaia eDR3.We used the gaiakepler.funcrossmatch database 1 to determine their Gaia identification numbers from the KIC numbers provided by Stello et al. (2011).We took distance measurements provided by Bailer-Jones et al. (2021) that were derived based on Gaia eDR3 parallaxes.The intervals of color, magnitude, and distance that we obtained for cluster red giants are shown in table 1.
We searched the Gaia eDR3 catalog for stars that fulfilled these criteria within the superstamp regions.We obtained a list of 281 candidate red giants in NGC 6791 and 232 in NGC 6819.These are more than the ∼ 200 and ∼ 150 observable red giants 1 https://gaia-kepler.fun/ that we expect in each cluster.Therefore, it is likely that a subset of these candidates are not red giant stars.Figures 1 and 2 show the positions of these candidates within the superstamps.Out of these stars, 225 are not primary targets of Kepler, and their light curves have not been released so far.

Light-curve extraction
The Kepler superstamps contain long-cadence (∼ 30 minutes; Jenkins et al. 2010) photometric data for stars in NGC 6791 and NGC 6819, obtained during the observing quarters 1-17 of the mission.This results in over four years of data for both clusters.
No observations are available for NGC 6819 during quarters 6, 10, and 14, due to a broken CCD.To extract the light curves of the selected stars from the superstamps, we applied the IRIS pipeline (Colman et al. 2022), which is based on a difference-imaging method.The pipeline starts by cutting out a 5x5 pixel postage stamp from the superstamp with the target star at the center.This places the data in a format similar to a Kepler target pixel file, that is, a time series of pixel images that contains all the photometric data of the star that were obtained during a given quarter.The code then estimates the crowding of the region around the star by comparing the total magnitude of the frame-averaged postage stamp to the known Kepler magnitude of the star.If the two magnitudes are similar, the star is fairly isolated.However, if the postage magnitude is lower than the magnitude of the star (i.e., the postagestamp flux is higher than the flux of the star), it is likely that a nearby star contaminates the data.Because Kepler magnitudes are only available for primary targets of the mission (Brown et al. 2011), we instead estimated the crowding using Gaia magnitudes because the two missions used similar passbands.Then, the 5×5 pixel postage stamp is resampled by a factor of 20 to 100×100 pixels using bilinear interpolation in order to create more precise apertures for the stars (see Fig. 3).Next, an aperture mask is defined as a 2D Gaussian function with a width based on the crowding of the region.Apertures for isolated stars have a larger width than those for stars with crowded backgrounds.This reduces the contamination of nearby stars in crowded regions.Difference imaging is then applied to the 100×100 pixel stamps by subtracting the frame-averaged image from each frame in the stamps.This removes all the flux sources that are not variable.Finally, the flux is extracted from each frame by applying the aperture mask.The result is a light curve for a single quarter that only accounts for variable sources.
The light curves of the KIC targets in our sample have already been extracted using the IRIS method by Colman et al. (2022).Thus, we downloaded the uncorrected light curves of the KIC stars and used the IRIS pipeline to extract those of the non-KIC targets.After extracting each light curve, we applied a number of corrections to remove systematics introduced by the instrument and the mission.We applied the KASOC filter (Handberg & Lund 2014), which was designed to correct Kepler light curves obtained with aperture photometry.This pipeline uses the quality flags released by the mission and removes data points that are flagged as desaturation events, manual exclusions, and argabrightening.Furthermore, it corrects for the jumps in the light curve that are produced by attitude tweaks.Other quality flags are ignored.However, we realized that safe modes and Earth points produced significant jumps in our light curves.Therefore, we extended the jump corrections to data points showing these quality flags.Then, the pipeline filtered the light curve for long-term trends (i.e., instrumental drifts and stellar activity) and short-term trends (i.e., transit features and instrumental effects, e.g., sudden jumps after safe modes), giving each filter a different weight depending on the relative standard deviation of the signal.Last, we performed sigma clipping to remove all data points that deviated by more than 5σ from the average.The resulting light curves showed significantly diminished systematic effects.
After we obtained the corrected light curves of the star for every observed quarter, we normalized the flux to be shown in parts per million.Last, we appended the normalized light curves of each quarter to produce the final light curve.
The resulting light curves of the red giants in our catalog that show oscillations are available on GitHub2 .

Asteroseismic analysis
We computed a power density spectrum for each star from the extracted light curves with the aim of detecting solar-like oscillations.The power density spectrum of a red giant star shows a distinct power excess that comprises the oscillation modes.To identify this potential power excess, we first implemented the automated CV method following Bell et al. (2019).This method is based on the coefficients of variation (CV), that is, the ratio of the standard deviation of the power to its mean.This ratio should be equal to 1 in the presence of χ 2 2 noise statistics as expected for the power density spectrum of solar-like oscillators.Any signal that is not caused by stochastic noise will present higher CV values.An expected width of the oscillatory signal in the CV method as a function of the frequency of maximum oscillation power (ν max ) was introduced based on the analysis of the stars in the APOKASC-DR2 (Pinsonneault et al. 2018).We found 59 solarlike oscillators and 44 stars with ambiguous results.After visual inspection of the latter, we confirmed 46 oscillations that the CV method could not clearly detect, probably due to changes in the statistics of the power density spectrum due to contamination of neighboring stars.Combining this with oscillating red giants from the literature and a final visual inspection, we identified a For these 149 oscillating stars, we performed an asteroseismic analysis and extracted the frequency of their maximum oscillation power (ν max ) using the code called tools for the automated characterization of oscillations (TACO) (Hekker et al. in prep.).We obtained ν max from a global fit to the power density spectrum through a Bayesian Markov chain Monte Carlo framework.The model consists of three granulation components, one white-noise term, and a Gaussian fit to the power excess comprising ν max .We took the 50th percentile from the posterior ν max distribution as the final parameter estimate and the 16th and 84th percentiles as its uncertainties.In Figure 4 we show a power density spectrum with the global fit.We report the Gaia eDR3 G magnitudes and the measured ν max values for the oscillating red giant stars in the field of view of NGC 6791 and NGC 6819 in tables A.1 and A.2.
Out of the 149 oscillating red giants, 83 were previously analyzed by Corsaro et al. (2012).They obtained asteroseismic parameters, including ν max , for 115 oscillating red giant stars in the Kepler open clusters.At the time, only seven quarters of Kepler data were available, which corresponds to a time stamp of ∼ 19 months (less than half of the data that are currently available).
A comparison between our results and theirs is shown in figure 5.Although the two results agree for most stars (with a sigmaclipped scatter of 4, in line with earlier works; e.g.Hekker et al. 2011b), there are a few stars with very different values of ν max as a result of the two methods.These outliers seem to have picked up an entirely different signal on the power density spectrum.This might be due to differences in the methods used for lightcurve extraction and correction.

Cluster membership study
We performed an asteroseismic cluster membership study to identify the oscillating stars that belong to NGC 6791 and NGC 6819.Following the approach introduced by Stello et al. (2010), we used the ν max measurements together with the Gaia G magnitudes to determine the most likely cluster members.We note here that the G passband covers a wavelength range of about 330 -1050 nm, which is similar to the 2MASS passbands used by Stello et al. (2010).
For red giant stars, the asteroseismic parameter ν max is related to the global properties of the star through a scaling relation   1).The solid red line shows the global model fit computed by TACO, which includes three granulation components (dashed blue lines), one white-noise component (horizontal dotted magenta line), and a Gaussian fit to the oscillation power excess (dashed yellow line).(Brown et al. 1991;Kjeldsen & Bedding 1995), where M, T eff , and L are the mass, effective temperature, and luminosity of the star.The nominal effective temperature of the Sun is T eff,⊙ = 5 772 K (Prša et al. 2016), and ν max,⊙ = 3 100 µHz (Basu et al. 2010) is a reference value that scales the relation to the Sun.For red giant stars, the stellar masses and effective temperatures vary only marginally compared to the luminosities, which have a wider range of values when these stars evolve.Thus, there is a tight correlation between ν max and the stellar luminosity.For cluster red giants, this translates into a correlation between ν max and the apparent stellar magnitude because all the stars are assumed to be located at a similar distance.By plotting the apparent magnitude versus ν max , cluster red giants line up, while foreand background stars deviate from the correlation.
In Figure 6 we show the measured asteroseismic ν max values versus the published Gaia G magnitudes for our stars with detected solar-like oscillations in NGC 6791 (top) and NGC 6819 (bottom).In each diagram, we indicate the confidence region (dashed lines) hosting stars with a 95% confidence to be part of the cluster population.The confidence intervals for each cluster were computed around a linear regression line based on ν max values, G magnitudes, and their respective uncertainties for a set of preselected KIC open cluster red giants that were studied by Stello et al. (2010).Their cluster memberships were independently confirmed through asteroseismic, radial velocity, and proper motion studies.The cluster membership probabilities of stars outside the 95% confidence intervals decrease with increasing distance to the confidence region.
Using this method, we found that 93 red giants have an asteroseismic cluster membership probability of more than 95% (61 in NGC 6791 and 32 in NGC 6819).Of these, 5 stars are not primary targets of Kepler, and they are confirmed to be cluster members using an asteroseismic analysis for the first time here.Figure 7 shows the positions of these oscillating cluster red giants within their respective clusters.Because we expect these clusters to host ∼ 200 and ∼ 150 observable red giant stars, respectively (see section 2), it is likely that we missed about three-quarters of the cluster red giants.This could be due to our restrictive selection in color, magnitude, and distance (see table 1), or due to limitations of our method for extracting the oscillations in the most crowded regions of the cluster, where the aperture masks are narrow in order to prevent contamination.It is also possible that we missed some oscillating stars due to a high level of noise in the power density spectrum, which would partially hide the oscillations.
An alternative method for determining cluster membership that does not rely on asteroseismology was presented by Cantat- Gaudin & Anders (2020).This method applies an unsupervised classification scheme using Gaia DR2 proper motions and parallaxes to compute membership probabilities.The authors studied 1 481 stellar clusters in the Galactic disk, including NGC 6791 and NGC 6819, and provided a list of cluster stars and their membership probability.We added the membership determination from Cantat-Gaudin & Anders (2020) to tables A.1 and A.2 of our oscillating stars.Out of the 149 oscillating red giants that we detected, 113 are considered cluster members with a probability of 100% in their work, while our method retrieved 93 members with a probability of 95%.Thus, the two methods agree for most of the stars in our sample, except for ∼ 10% of them.It seems that our method is much more restrictive in determining cluster membership, and we might be missing some members due to this.

Summary and conclusions
We have successfully extracted the light curves of 513 red giant candidates in the open clusters NGC 6791 and NGC 6819 using the superstamp data from Kepler.We were able to confirm that 149 of these stars are oscillating red giants, and we measured their frequency of maximum oscillation power (ν max ).By performing an asteroseismic membership study, we found that 93 of these red giants are likely to be cluster members.75 of these were previously reported to be cluster members by Stello et al. (2011) based on a similar membership determination method.11 nonmember red giants in our sample were reported to be cluster members by Stello et al. (2011).This is probably because our membership determination method is based on the correlation between the Gaia magnitude of each star and its ν max , while they used the K magnitude against ∆ν.Although both strategies are based on the same principle, it is possible that there is some scatter between the two methods, which would explain the disagreement for the 11 stars.It is also worth noting that at the time, only four quarters of Kepler data were available, making their light curves four times shorter than those we extracted.
Out of the 149 oscillating red giants that we found, 29 are not primary targets of Kepler, and their light curves have not been released previously.We found that 5 of these red giants are asteroseismic cluster members.
The method that we followed to extract the light curves from the Kepler superstamps allowed us to obtain the asteroseismic parameters of stars that are very close to the cluster center, which would be very challenging for aperture photometry.This method cannot only be applied to solar-like oscillators, but also to any other star within the superstamp data.Moreover, it can be used to extract the light curves in any moderately crowded region as long as high-precision long-term photometric data are available.
In the upcoming PLATO mission, the provisional fields that are expected to be observed (LOPS2 and LOPN1) contain about 300 open clusters (Nascimbeni et al. 2022).Our method can be used to extract the light curves of cluster stars observed by PLATO and provides an opportunity of performing asteroseismic analyses on these clusters.These analyses would allow us to obtain the parameters of more clusters in the Milky Way, which in turn would bring us closer to understanding the nature of these objects in our Galaxy.

Yes -Yes
Notes.We report whether they are cluster members following our method (this work), and whether they were determined to be cluster members in Stello et al. 2011 (S11) and Cantat-Gaudin & Anders 2020 (C20; only when their membership probability is 100%).

Yes Yes Yes
Notes.We report whether they are cluster members following our method (this work), and whether they were determined to be cluster members in Stello et al. 2011 (S11) and Cantat-Gaudin & Anders 2020 (C20; only when their membership probability is 100%).

Fig. 3 .
Fig. 3. Resampling of the pixel stamps with the IRIS code.Left: 5 × 5 pixel stamp of one of the target stars in NGC 6819.Right: 100 × 100 pixel stamp of the same star, obtained after resampling the original stamp by a factor of 20 using bilinear interpolation.

Fig. 4 .
Fig. 4. Power density spectrum (in black) of one of the target stars in NGC 6791 (star 39 in table1).The solid red line shows the global model fit computed by TACO, which includes three granulation components (dashed blue lines), one white-noise component (horizontal dotted magenta line), and a Gaussian fit to the oscillation power excess (dashed yellow line).

Fig. 5 .
Fig. 5. Comparisons of the frequencies of maximum oscillation (ν max ) that we obtained to those released byCorsaro et al. (2012).
Fig.6.Gaia G magnitude vs. frequency of the maximum oscillation power ν max for red giants in NGC 6791 and NGC 6819.Dots are KIC stars, and star symbols are newly detected stars.Filled symbols are likely to be cluster members, and open symbols are nonmembers.The axes are oriented to make the plot similar to a color-magnitude diagram.The dashed lines show the regions in which cluster stars tend to line up in these diagrams and their 95% confidence intervals.

Fig. 7 .
Fig. 7. Sky positions of the oscillating red giants that we found to be likely cluster members.Dots are KIC stars, and star symbols are newly detected stars.The large circles represent the approximate location of the clusters (Cantat-Gaudin & Anders 2020), and the central cross represents the cluster center.

Table 1 .
Intervals applied to our target selection.