## Value-added catalogs of M type stars in LAMOST DR5

Jing Zhong, 1 Jing Li , 2, 1, 3 Jeffrey L. Carlin, 4 Li Chen, 1,5 Rene A. Mendez, 6 and Jinliang Hou 1,5

1 Key Laboratory for Research in Galaxies and Cosmology, Shanghai Astronomical Observatory, Chinese Academy of Sciences, 80 Nandan Road, Shanghai 200030, China

2 Physics and Space Science College,China West Normal University, 1 ShiDa Road, Nanchong 637002 , China

- 3 Chinese Academy of Sciences South America Center for Astronomy, National Astronomical Observatories, CAS, Beijing 100012, China 4 LSST, 950 North Cherry Avenue, Tucson, AZ 85719, USA

5 School of Astronomy and Space Science, University of Chinese Academy of Sciences, No. 19A, Yuquan Road, Beijing 100049, China 6 Departamento de Astronomia, Universidad de Chile, Casilla 36-D, Correo Central, Santiago, Chile

## Submitted to ApJS

## ABSTRACT

In this work, we present new catalogs of M giant and M dwarf stars from the LAMOST DR5. In total, 39,796 M giants and 501,152 M dwarfs are identified from the classification pipeline. The template-fitting results contain M giants with 7 temperature subtypes from M0 to M6, M dwarfs with 18 temperature subtypes from K7.0 to M8.5 and 12 metallicity subclasses from dMr to usdMp. We cross-matched our M-type catalog with the 2MASS and WISE catalog to obtain infrared magnitude and colors. Adopting the distances derived from the parallaxes in Gaia DR2, the M G vs. ( G bp -G rp ) 0 diagram shows that there are also early-type stars and white dwarf-M dwarf binaries included in our M type stars sample, with a contamination rate of about 4 6% for M giants and 0 48% for M dwarfs. . . We found that CaH spectral indices are an efficient selection criteria for carbon stars. A total of 289 carbon stars were identified from the M giants sample, and further confirmed by LAMOST spectra.

Keywords: stars:late-type -stars:carbon - catalogs - surveys

## 1. INTRODUCTION

Mgiant stars are evolved objects with high luminosity (log L/L /circledot ∼ 3-4), which enables them to be detected at large distances. Therefore, M giant stars are suitable as tracers for discovering and identifying the remnants of stellar streams in the Galactic halo, revealing the accretion and merging history of the Milky Way.

M giant sample to explore the Sagittarius accretion history in the outer halo of our Galaxy.

In the past two decades, a set of large-scale survey projects (e.g. 2MASS, UKIDSS, WISE, Pan-STARRS, Gaia ) gathered photometric data for thousands of M giants, which provide key support for the study of substructures, especially for the Sagittarius stream. By selecting candidates from the 2MASS, M giants were first used to map out the global view of the Sagittarius Dwarf Galaxy (Majewski et al. 2003). More recently, using UKIDSS, Bochanski et al. (2014) established a distant lijing@shao.ac.cn, jzhong@shao.ac.cn

Compared to the photometrically derived samples, there are advantages to study Galactic substructures by using spectral data of M giants. First of all, the spectra provide more features for selecting a pure sample. Secondly, an estimate of the radial velocity derived from the spectra provides an important evidence for substructure membership identification. Third, chemical abundances measured from the spectra are more reliable, and thus useful for a more detailed study of substructures. Consequently, a spectral sample of M giants with large numbers and wide sky coverage has a great scientific value for the study of Galactic substructures.

A small catalog of M giants selected using SDSS and LAMOST DR1 spectra were used to detect members of the Sagittarius stream and identify new substructures (Chou et al. 2007; Bochanski et al. 2014; Li et al. 2016b, 2019). In order to make optimal use of the M giant sample in LAMOST, a clean and relatively complete

M giant catalog with high precision distance estimates is highly desirable.

In this work, we present a much larger catalog of spectroscopic M giants than those available in the literature. The paper is organized as follows. In section 2, we describe how we select M giants and M dwarfs from LAMOST DR5. In section 3, we describe the separation between M giants, M dwarfs, and carbon stars using photometric and spectroscopic index features. A summary is presented in the last section.

## 2. CANDIDATES SELECTION IN LAMOST DR5

As the most efficient spectroscopic survey telescope, the LAMOST, also named as Guo Shou Jing Telescope, has finished the first stage of its regular survey (LAMOST-I; 2011-2017; including the pilot survey), and provided 9,017,844 low-resolution (R ∼ 1,800) optical spectra in its fifth data release, of which 8,171,443 are stellar spectra. (Cui et al. 2012; Zhao et al. 2012; Luo et al. 2012)

In order to identify M-type stars from the LAMOST database, Zhong et al. (2015a) developed an automatic template-fitting algorithm to classify late-type stars. After performing the rest frame correction and the pseudocontinuum normalization of LAMOST spectrum in the range 6,000-8,000 ˚ , A χ 2 values between the target spectrum and M-dwarf template spectra were calculated, with the best fit template defined as the template spectrum which corresponds to the minimum χ 2 value. Because of the low surface temperature of M-type stars, the obvious characteristics of M-type spectra are molecular absorption features (e.g., CaH, TiO, VO). Stars were rejected when they do not display any molecular absorption features and the best fit template is a non-M dwarf template (e.g., K-type stars or hotter stars). Only stars whose spectrum has molecular absorption features were labelled as M-type stars.

Using the M-type spectra identified from LAMOST DR1, Zhong et al. (2015b) found that M giants and M dwarfs can be well discriminated in the CaH2+CaH3 vs.TiO5 spectral indices diagram. Then, a set of M giant templates with high signal-to-noise ratio were assembled, with spectral subtypes ranging from M0 to M6. Combining with the M giant templates and the previous Mdwarf templates (Zhong et al. 2015a), an extended set of M-type spectral templates were used to perform the M-type stars identification and classification from LAMOST DR1. From that work, a total of 8,639 M giants as well as 101,690 M dwarfs were positively classified by the template-fitting algorithm (Zhong et al. 2015b).

Furthermore, using the confirmed M giants sample from LAMOST, Li et al. (2016a) found that the com- bination of WISE+2MASS bands is more efficient at selecting M giant samples than the 2MASS bands alone. Based on the revised infrared selection criteria, a relatively complete photometric sample of M giants was determined. Then, after combining with APOGEE data, a strong correlation between the W1-W2 color and [M/H] was found for M giants. Given the derived relation, Li et al. (2016a) estimated the photometric metallicity of M giants and further derived their photometric distances, which used the LMC, the SMC, and the Sagittarius core for calibration. The derived photometric distance uncertainties were estimated at 20%.

In this work we have adopted the same templatefitting pipeline combined with a classification algorithm (Zhong et al. 2015a) and revised M-type spectral templates (Zhong et al. 2015b) to identify and classify Mtype stars from LAMOST DR5. Although the optimized template-fitting algorithm largely eliminates the majority of noisy spectra in LAMOST, a small fraction of weird spectra still remain in the M-type stars sample; most of these suffer low S/N or serious sky line contamination. To further purify the M-type stars sample, candidates have to meet the following two additional criteria: (i) the mean S/N in the range 6,000-8,000 ˚ A must be greater than 5; (ii) the spectral indices must be located on the M-type stars locus (0 &lt; TiO5 &lt; 1.2 &amp; 0.6 &lt; CaH2+CaH3 &lt; 2.4). After excluding outlier spectra and combining duplicated spectra, a total of 540,948 spectra were identified as M-type stars, including 39,796 M giant spectra and 501,152 M dwarf spectra.

## 3. DATA ANALYSES AND CLASSIFICATION RESULTS

3.1. M giants and M dwarfs

As we described in Zhong et al. (2015b); Li et al. (2016a), M giants and M dwarfs can be well segregated through the spectral indices diagram and the infrared color-color diagram. To verify the reliability of our classification results, we re-checked the distribution of M giants and M dwarfs with spectral indices and infrared colors as described below.

First, we cross-matched our M-type catalog with the 2MASS (Skrutskie et al. 2006) and WISE (Wright et al. 2010) infrared catalogs, using a search radius of 3'. In order to correct the reddening of infrared colors, a 3D Galactic dust map is needed. Since the stellar distance is an important input parameter for calculating reddening in 3D dust maps, we adopted the estimated distances from Bailer-Jones et al. (2018), which were derived from the Gaia DR2 parallaxes (Gaia Collaboration et al. 2018). After further cross-matching our catalog with the value-added catalog (Bailer-Jones et al. 2018) in

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.01128v1-figure-3217174a-e348-4319-a108-480c358915f4.jpg)

Figure 1. Spectral indices diagram (upper panels) and de-reddened color-color diagram (bottom panels) of all M-type stars. Point distributions are plotted on the left while corresponding contours are plotted on the right. Blue and red colors represent Mgiants and M dwarfs respectively. As expected, M giants and M dwarfs show different distributions both in the spectroscopic parameter space as well as in the photometric parameter space.

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.01128v1-figure-44d966c6-7f2a-455f-948f-082b030f4198.jpg)

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.01128v1-figure-b039183f-af25-485e-a886-a2145184880b.jpg)

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.01128v1-figure-b2bafa12-334f-41b9-a852-0f7c29e9874e.jpg)

Gaia DR2 , the final common catalog contains 37,383 M giants and 472,418 M dwarfs. These number represent a loss of 6.0% M giants and 5.7% M dwarfs compared with the M-type star catalog in LAMOST DR5. This is because the magnitude of the excluded LAMOST Mtype stars are located outside of the common magnitude range (e.g., either too faint for 2MASS/ WISE catalog or too bright for Gaia catalog), or because the parallax uncertainty of those excluded stars is too large to derive a reliable distance (Bailer-Jones et al. 2018).

In order to derive the intrinsic ( J -K ) 0 and (W1W2) 0 of each M-type star, using the common catalog with multi-band photometry and stellar distance, we adopted the Galactic reddening E(B-V) in 3D dust maps of Green et al. (2018), in combination with the extinction coefficients which were determined by Yuan et al. (2013). The extinction in a given band were calculated as A =R i i × E(B-V), where R i is defined as the extinction coefficient of i band relative to E(B-V). In order to estimate extinction and further derive dereddened infrared magnitude J 0 , H 0 , Ks 0 , W1 0 and

Figure 2. Color-magnitude distribution of all stars identified as M giants. Left: G-band absolute magnitude as a function of ( G bp -G rp ) 0 color. Right: De-reddened ( J -K ) 0 vs. ( W 1 -W 2) 0 color-color diagram. Note that all dots are M giant candidates that were classified through LAMOST spectra. We use colors to distinguish misidentified stars, which include early-type stars (green), M dwarfs (red) and white dwarf binaries (orange).

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.01128v1-figure-f4265558-f102-46d2-b194-c9d5aaea306e.jpg)

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.01128v1-figure-0264e68b-2794-43b7-b680-669242dc7edb.jpg)

W2 , 0 the adopted extinction coefficient R i for each band were 0.72, 0.46, 0.306, 0.18, and 0.16, respectively (Yuan et al. 2013).

vides a means of cross-validation of the spectral types and their properties.

In Figure 1 we use M-type stars in the common catalog to plot the spectral indices diagram (upper panels) and the de-reddened ( J -K ) 0 versus (W1-W2) 0 color-color diagram (bottom panels). Throughout panels, the distributions of M giants and M dwarfs are represented as blue and red colors respectively, both of which were identified by our template-fitting algorithm. As expected, the majority of M giants and M dwarfs are well-separated in both the spectroscopic and photometric parameter space, which also clearly illustrates the different properties of these two populations. However, there are a few blue dots located on the lower color region with ( J -K ) 0 &lt; 0.8 in the lower-left panel. As pointed out in Li et al. (2016a), stars located on the blue region of the ( J -K ) 0 intrinsic color are more likely to be K-type stars, but have been misclassified as M giants in our sample.

To further study the contaminants in our M giants sample, we calculate the absolute magnitude M G and intrinsic ( G bp -G rp ) 0 color of each M giant star. Distance modulus and 3D dust maps were determined by Bailer-Jones et al. (2018) and Green et al. (2018), while the extinction A G and reddening E BP ( -RP ) were calculated as A G =2 74 . × E B ( -V ) and E BP ( -RP ) = 1 339 . × E B ( -V ) (Casagrande &amp; VandenBerg 2018). The extra photometric and astrometric information pro-

Figure 2 shows the distribution of M giants which were identified by our template-fitting algorithm. In the left panel, stellar locations in the M G versus ( G bp -G rp ) 0 diagram (Gaia Collaboration et al. 2018) indicate that there are indeed contaminants in the M giants sample, including early-type stars, M dwarfs, and a few white dwarfs. We replot the de-reddened ( J -K ) 0 versus (W1W2) 0 color-color diagram of M giants in the right panel. Early-type stars and M dwarfs which were labeled with green and red dots in the left panel also show different distributions from bona fide M giants in the infrared color-color diagram. Comparing with the distribution of K/M stars in Li et al. (2016a), the location of each stellar component is consistent with the reported region. Furthermore, we performed close visual inspection of the LAMOST spectra for each of these non-M giants. We find that a large fraction of identified early-type star candidates are main sequence-M giant binaries, and all labeled white dwarfs are white dwarf-M dwarf binaries. In Figure 3, we plot LAMOST spectra of these two kinds of binaries as examples. In particular, the early-type stars and M dwarfs in the M giants sample were labeled as non-M giants and the white dwarfs were labeled as white dwarf binaries in the M giants catalog (see Section 5).

The total number of non-M giant stars is 1,712 (including white dwarf binaries), corresponding to a contamination rate of about 4.6% in the M giants sample,

Figure 3. Two example composite spectra observed by LAMOST. Upper panel: main sequence-M giant binary. The molecular bands suggest a classical M giant spectrum in the red part, while the Balmer absorption lines suggest an F-type main sequence spectrum in the blue part. In our M giants catalog, early-type binaries were labeled as non-M giants. Bottom panel: white dwarf-M dwarf binary, which show pressure-broadened Balmer series in the blue part and strong molecular lines in the red part. We note that these stars are labeled as white dwarf binaries in the M giants catalog.

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.01128v1-figure-f2e01c19-4cc4-4424-a2cc-21d92b6a8c53.jpg)

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.01128v1-figure-529481af-e6a4-4e3d-a6e0-1d3cdf44b996.jpg)

which is similar with the contamination rate (4.7%) reported in Zhong et al. (2015b).

Similarly, figure 4 shows the color-magnitude distribution of all identified M dwarfs. In order to exclude misidentified sources from the M dwarfs sample, we use the following criteria to separate contaminants into three groups: ( G bp -G rp ) 0 &lt; 1 25 . mag &amp; M G &lt; 10 mag for early-type sources; ( G bp -G rp ) 0 &lt; 1 25 . mag &amp; M G &gt; 10 mag for white dwarf sources; ( G bp -G rp ) 0 &gt; 1 25 . mag &amp; M G &lt; 0 mag for M giant sources. For those non-M dwarfs sources, we performed visual inspection of their corresponding LAMOST spectra. We find that a large number of non-M dwarf sources which were labeled as early-type or white dwarf are binaries. The total number of non-M dwarfs sources is 2281, corresponding to a contamination rate of 0.48% in the M dwarfs sample.

Carbon stars are peculiar objects which show an inversion of the C/O ratio (C/O &gt; 1). Since their spectra are dominated by strong carbon molecular bands (CH, CN or C ), many of them are considered as asymptotic gi2 ant branch (AGB) stars undergoing the third dredge-up process. Moreover, in the revised MorganKeenan (MK) classification system (Keenan 1993), nearly half of the carbon star sequence corresponds to ordinary oxygen late-type stars because of their low surface temperature. We believe that a small number of late-type carbon stars were included in the M-type catalog and mis-classified as M giants in our sample.

3.2. Carbon stars

Using the LAMOST spectroscopic data, carbon stars have been systematically investigated by a few authors. Si et al. (2015) found 183 carbon stars from the LAMOST pilot survey with an efficient manifold ranking algorithm. In the LAMOST DR2 catalog, Ji et al. (2016) reported identifying 894 carbon stars, using a series of spectral indices (C 2 in 5,635 ˚ , Ba II in 4,554 ˚ , CN in A A 7,065 ˚ A and 7,820 ˚ ) as the selection criteria. A Using

Figure 4. Color-magnitude distribution of all stars identified as M dwarfs. The panels are as described in Figure 2. Misidentified stars can be separated into three groups, including early-type stars (green), M giants (blue) and white dwarf binaries (orange).

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.01128v1-figure-e8da5e99-037f-41fc-90e6-86a499748fda.jpg)

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.01128v1-figure-9531ee52-e664-4160-ba26-725391be2521.jpg)

Figure 5. Spectral indices for all Mgiants. Blue and red dots represent M giants and confirmed carbon stars respectively. The concentrated distribution of carbon stars in the spectral indices diagram suggests that CaH indices are an efficient criteria for discriminating carbon stars in the M giants sample.

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.01128v1-figure-ce157ccd-ebe0-4167-af26-d8cdb6b1d334.jpg)

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.01128v1-figure-3f4494fd-c719-4047-9bfc-038241164bf1.jpg)

Figure 6. Example spectra of two representative kinds of carbon stars in our LAMOST derived catalog, which exhibit clear C 2 and CN molecular bands.

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.01128v1-figure-3a647917-9a0d-4449-866c-b93097fbc44f.jpg)

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.01128v1-figure-662144e8-5a7c-4d76-84ad-4411c94a880d.jpg)

Table 1. Description of the M giant and M dwarf catalog

.

| Column      | Format   | Unit     | Description                                                                   |
|-------------|----------|----------|-------------------------------------------------------------------------------|
| DESIGNATION | string   | -        | object designation from the LAMOST DR5                                        |
| RA          | float    | deg      | object right ascension in LAMOST DR5 (J2000)                                  |
| DEC         | float    | deg      | object declination in LAMOST DR5 (J2000)                                      |
| CaH2        | float    | -        | spectral index of LAMOST spectrum                                             |
| CaH3        | float    | -        | spectral index of LAMOST spectrum                                             |
| TiO5        | float    | -        | spectral index of LAMOST spectrum                                             |
| SNR         | float    | -        | signal to noise ratio of i filter in LAMOST spectrum                          |
| SpTy        | string   | -        | specral subtype classified by the template-fitting algorithm                  |
| Gmag 0      | float    | mag      | dereddened G band magnitude from Gaia DR2                                     |
| G bp 0      | float    | mag      | dereddened BP band magnitude from Gaia DR2                                    |
| G rp 0      | float    | mag      | dereddened RP band magnitude from Gaia DR2                                    |
| J 0         | float    | mag      | dereddened J band magnitude from 2MASS                                        |
| H 0         | float    | mag      | dereddened H band magnitude from 2MASS                                        |
| K S 0       | float    | mag      | dereddened K S band magnitude from 2MASS                                      |
| W1 0        | float    | mag      | dereddened W1 band magnitude from WISE                                        |
| W2 0        | float    | mag      | dereddened W2 band magnitude from WISE                                        |
| EBV         | float    | mag      | reddening from the 3D dust map                                                |
| Dist        | float    | pc       | distance derived by the parallax in Gaia DR2                                  |
| RV          | float    | km s - 1 | radial velocity measured from LAMOST spectrum                                 |
| [ M/H ]     | float    | -        | estimated photometric metallicity of M giants                                 |
| X           | float    | pc       | Galactocentric coordinate points to the direction opposite to that of the Sun |
| Y           | float    | pc       | Galactocentric coordinate points to the direction of Galactic rotation        |
| Z           | float    | pc       | Galactocentric coordinate points toward the North Galactic Pole               |
| U           | float    | km s - 1 | Galactic space velocity in X axis                                             |
| V           | float    | km s - 1 | Galactic space velocity in y axis                                             |
| W           | float    | km s - 1 | Galactic space velocity in Z axis                                             |
| SFLAG       | string   | -        | label of subsamples                                                           |

an efficient machine-learning algorithm, Li et al. (2018) presented a catalog of 2,651 carbon stars from the LAMOST DR4. After de-duplicating these published catalogs, the number of carbon stars in LAMOST are 2,812 objects in total.

Combining with our M giants catalog and the published carbon stars catalog in LAMOST, 224 common stars were identified. Figure 5 shows the spectral indices of our M giants catalog, where known carbon stars are marked as red dots. The concentrated distribution of carbon stars strongly suggests that the CaH spectral indices is an efficient criteria for selecting carbon stars in the M giants sample. To do this simply, we select carbon star candidates whose spectral indices satisfy the following criteria [CaH3 - 0.8 × CaH2 - 0.1] &lt; 0. Of the 314 carbon star candidates which passed through the selection criteria, 289 were confirmed as carbon stars by visual inspection of LAMOST spectra, while most of the excluded stars have low signal-to-noise ratio spectra.

Two representative carbon spectra from LAMOST are shown in Figure 6 as examples.

## 4. PROPERTIES OF M GIANTS

## 4.1. Metallicity Estimation

In this section, we compare the photometry of our M giants to the spectroscopic metallicity obtained using data from the SDSS project APOGEE (Holtzman et al. 2015). This survey is taking high-S/N and highresolution (R=22,500) NIR spectra, resulting in detailed chemistry and a measurement of [M/H] to a precision of better than 0.1 dex. As in Li et al. (2016a), we crossmatched our M giant samples with APOGEE DR14, finding 2,895 stars in common, of which 2,689 are classified as true M giants, providing a much larger sample than used for fitting in Li et al. (2016a). Figure 7 shows the APOGEE metallicities of the resulting sample of 2,689 M giants as a function of ( W 1 -W 2) 0 color. The correlation with ( W 1 -W 2) 0 can be fit with the following polynomial relation:

Table 2. Number of sources of the labeled subsample in our M-type catalog.

| Source type              | Label   | M giants catalog   | M dwarfs catalog   |
|--------------------------|---------|--------------------|--------------------|
| Confirmed M type stars   | m       | 35,382             | 470,137            |
| Non-M type stars         | n       | 1697               | 2224               |
| Carbon stars             | c       | 289                | 0                  |
| White dwarf binaries     | w       | 15                 | 57                 |
| Unconfirmed M type stars | u       | 2413               | 28,734             |
| Total                    |         | 39,796             | 501,152            |

$$[ M / H ] = - 3 0. 5 7 * ( W 1 - W 2 ) _ { 0 } ^ { 2 } - 1 6. 3 4 * ( W 1 - W 2 ) _ { 0 } - 2. 0 1 \quad \stackrel { \dots } { M 6 }, \\........................................................................................................................................................................................................ \end{pmatrix}$$

As can be seen from the inset of Figure 7, the residual scatter about this relation is 0.23 dex. We compare the new result to the previous similar work in Li et al. (2016a), shown as a purple line in the figure. It should be noted that our fits are only effective in the [M/H] range from ∼ -0 6 dex to . ∼ +0 2 dex. .

## 4.2. Galactocentric coordinates and space motions

We calculate the Galactocentric coordinates (X,Y,Z) and space velocities (U,V,W) for all confirmed M giants. The solar position and the circular velocity at the solar location are adopted as R 0 =-8.34 kpc and V =240 c km s -1 (Reid et al. 2014). To correct for the solar motion, we adopt the peculiar velocity of the Sun in the local standard of rest (U /circledot , V /circledot , W /circledot )=(11.1, 12.24, 7.25) km s -1 (Sch¨nrich et al. 2010). o

Figure 8 shows the Galactocentric spatial distribution and space velocity distribution for confirmed M giants. Since a large part of LAMOST observations are focused on the Galactic Anti-center, most of the identified M giants in our catalog are also located on this region. Another prominent clump of M giants is in the Kepler field, centered on l = 76 38 , . ◦ b = 10 8 , which has been . ◦ observed repeatedly by LAMOST. The spatial distribution of M giants clearly shows that most of M giants are located on the Galactic disk and that the Galactocentric distances are less than 18 Kpc.

We summarize the kinematic components of the M giants sample with a Toomre diagram in Figure 9. The halo stars are defined as having | V V LSR | &gt; 180 km s -1 (Venn et al. 2004; Sch¨ onrich, &amp; Binney 2009), where V LSR =(0,240,0) km s -1 . The total number of halo stars selected in this manner is 5,334, constituting about 14% of our M giants sample.

## 5. CATALOG DESCRIPTION

The complete catalog of M-type stars is provided in the electronic version of this paper, including 39,796 M giants and 501,152 M dwarfs. As described in

Zhong et al. (2015a), the classification results contain M giants with 7 temperature subtypes from M0 to M6, as well as M dwarfs with 18 temperature subtypes from K7.0 to M8.5 and 12 metallicity subclasses from dMr to usdMp. Since the spectral templates were corrected to the rest frame, the radial velocity of M giants and M dwarfs were calculated with a measurement uncertainty of about 5 km s -1 (Zhong et al. 2015b). Spectral indices of CaH2, CaH3 and TiO5 were provided for measuring molecular features, which were defined by Reid et al. (1995) and L´ epine et al. (2007). In addition, our catalog includes photometry in optical bands Gmag/G bp /G rp from Gaia DR2, near infrared bands J/H/K S from 2MASS, infrared bands W1/W2 from WISE , and distance as derived from the parallax in Gaia DR2 (Bailer-Jones et al. 2018). In Section 3.1, the de-reddened magnitudes Gmag 0 / G bp 0 / G rp 0 / J 0 / H 0 / Ks 0 / W 1 / 0 W 2 0 and absolute magnitude M G for each star were calculated, thus all these derived magnitudes are provided in our catalog. In Table 1 we provide the description of each column of our catalog.

As discussed in Section 3, there are non-M type stars both in the M giants and M dwarfs catalog. In order to mark those non-M type stars and further purify the M type stars sample, we have added a column called 'sflag' in the M-type catalog, including 'm' as confirmed Mtype stars, 'n' as non-M type stars, 'c' as carbon stars, 'w' as white dwarf binaries, and 'u' as unconfirmed M type stars because of the lack of Gaia data. Table 2 shows the number of sources in each labeled subsample.

## 6. SUMMARY

We have used the template-fitting pipeline of our previous works to identify and classify M dwarfs and M giants in LAMOST DR5. A total of 39,796 M giants and 501,152 M dwarfs are provided. In addition to the large number of newly classified M-type stars, we demonstrate that M giants and M dwarfs can be well separated in the spectral indices diagram as well as in the infrared colorcolor diagram. However, using the Gaia DR2 data, the M G vs. (G bp -G rp ) 0 diagram clearly shows that not only Mtype stars, but also early-type stars, and white dwarf-

Figure 7. Metallicity distribution of APOGEE M giants vs. ( W 1 -W 2) 0 color. The red line shows the best-fit polynomial relationship. The inset histogram shows the scatter in metallicity about this relation, which has a dispersion of 0.23 dex.

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.01128v1-figure-2d801ec1-9de5-48b6-b134-8ad43ba6a105.jpg)

Figure 8. Galactocentric spatial distribution and space velocity distribution of confirmed M giants in LAMOST DR5. The spatial distribution clearly shows that the Galactocentric distances for most of M giants are less than 18 kpc.

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.01128v1-figure-9d57284d-1256-440c-b06d-8164ff4d5e9f.jpg)

Figure 9. Toomre density diagram of confirmed M giants. The red line kinematically divides the M giants sample into halo and disk components, since stars with | V - V LSR | &gt; 180 km s -1 have higher probabilities of being members of the Galactic halo.

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.01128v1-figure-102c6ed4-1d29-4301-9a37-9a85d8bc3f72.jpg)

Figure 10. De-reddened Gmag Vs. distance diagram for all M giants in our catalog. Colors represent different subsamples which were discussed in Section 3. For most of the confirmed M giants, the distance is between 1 to 15 kpc, with a peak at 2.5 kpc. Taking into account the intrinsic luminosity of different subsamples, the distance distribution of each subsample is consistent with the expectation.

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.01128v1-figure-1b4fe84e-733e-48ee-94dd-20fb0c710429.jpg)

M dwarfs binaries were included in the M type sample. The contamination rates in the M giants and M dwarfs samples are about 4.6% and 0.48% respectively. In the published M-type catalog, 'sflag' is used to mark the confirmed M type stars as well as other contamination sources. In particular, we found that the CaH spectral indices are efficient selection criteria for carbon stars. Finally, about 289 carbon stars were selected from the M giants sample, and further confirmed through visual inspection of LAMOST spectra.

to 8 kpc. This is because the faint magnitude makes the parallax uncertainty of these M giants relatively large, which further leads to unreliable distance estimation. In addition, spectral visual inspection confirms that these outliers are M giants.

To verify the reliability of our classification results in the M giants catalog, we plot the dereddened Gmag vs. distance diagram in Figure 10. Colors represent different subsamples labeled in Table 2. The distance distribution of M giants extends from 1 to 15 kpc, with a peak at 2.5 kpc. As expected, faint stars with small distances were labeled as non-M giants in our catalog, including early-type stars, M dwarfs, and white dwarf binaries. A few M giants are located in the outlier region with Gmag 0 greater than 14 and distance from 3

This work is supported by National Natural Science Foundation of China (NSFC) under grants U1731129 and 11503066 (PI: J.Zhong). JL would like to acknowledge the NSFC under grant 11703019 and China West Normal University grants 17C053,17YC507 and 16E018. JLC acknowledges support from the U.S. National Science Foundation via grant AST-1816196. RAM acknowledges support from the Chilean Centro de Excelencia en Astrofisica y Tecnologias Afines (CATA) BASAL AFB-170002, and FONDECYT/CONICYT grant # 1190038.

Guoshoujing Telescope (the Large Sky Area MultiObject Fiber Spectroscopic Telescope LAMOST) is a National Major Scientific Project built by the Chinese

Academy of Sciences. Funding for the project has been provided by the National Development and Reform Commission. LAMOST is operated and managed by the National Astronomical Observatories, Chinese Academy of Sciences.

This work is sponsored (in part) by the Chinese Academy of Sciences (CAS), through a grant to the CAS

South America Center for Astronomy (CASSACA) in Santiago, Chile.

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

## REFERENCES

| Bailer-Jones, C. A. L., Rybizki, J., Fouesneau, M., Mantelet, G., & Andrae, R. 2018, AJ, 156, 58                                                          |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
| Bochanski, J. J., Willman, B., West, A. A., Strader, J., & Chomiuk, L. 2014, AJ, 147, 76                                                                  |
| Casagrande, L., & VandenBerg, D. A. 2018, MNRAS, 479, L102                                                                                                |
| Chen, B., Stoughton, C., Smith, J. A., et al. 2001, ApJ, 553, 184.                                                                                        |
| Chou, M.-Y., Majewski, S. R., Cunha, K., et al. 2007, ApJ, 670, 346                                                                                       |
| Cui, X.-Q., Zhao, Y.-H., Chu, Y.-Q., et al., RAA, 12, 1197                                                                                                |
| Gaia Collaboration, Brown, A. G. A., Vallenari, A., et al. 2018, A&A, 616, A1.                                                                            |
| Gaia Collaboration, Babusiaux, C., van Leeuwen, F., et al. 2018, A&A, 616, A10                                                                            |
| Green, G. M., Schlafly, E. F., Finkbeiner, D., et al. 2018, MNRAS, 478, 651                                                                               |
| Holtzman, J. A., Shetrone, M., Johnson, J. A., et al. 2015, AJ, 150, 148                                                                                  |
| Ji, W., Cui, W., Liu, C., et al. 2016, ApJS, 226, 1                                                                                                       |
| Keenan, P. C. 1993, PASP, 105, 905                                                                                                                        |
| Koposov, S. E., Belokurov,V., Zucker, D. B., et al. 2014, MNRAS, 446, 3110                                                                                |
| L´pine, e S., Rich, R. M., & Shara, M. M. 2007, ApJ, 669, 1235                                                                                            |
| Li, J., Smith, M. C., Zhong, J., et al. 2016, ApJ, 823, 59                                                                                                |
| Li, J., Liu, C., Carlin, J. L., et al. 2016, Research in Astronomy and Astrophysics, 16, 125 Li, Y.-B., Luo, A.-L., Du, C.-D., et al. 2018, ApJS, 234, 31 |

| Li, J., Liu, C., Xue, X., et al. 2019, arXiv:1902.07861                                              |
|------------------------------------------------------------------------------------------------------|
| Luo, A.-L., Zhang, H.-T., Zhao, Y.-H., et al. 2012, Research in Astronomy and Astrophysics, 12, 1243 |
| Majewski, S. R.,Skrutskie, M. F., Weinberg, M. D.,& Ostheimer, J. C. 2003, ApJ, 599, 1082            |
| Minniti, D., Saito, R. K., Alonso-Garc´a, ı J., et al. 2011, ApJ, 733, L43.                          |
| Reid, I. N., Hawley, S. L., & Gizis, J. E. 1995, AJ, 110, 1838                                       |
| Reid, M. J., Menten, K. M., Brunthaler, A., et al. 2014, ApJ, 783, 130.                              |
| Robin, A. C., Creze, M., & Mohan, V. 1992, ApJ, 400, L25.                                            |
| Sch¨nrich, o R., & Binney, J. 2009, MNRAS, 399, 1145.                                                |
| Sch¨nrich, o R., Binney, J., & Dehnen, W. 2010, MNRAS, 403, 1829.                                    |
| Si, J.-M., Li, Y.-B., Luo, A.-L., et al. 2015, Research in Astronomy and Astrophysics, 15, 1671      |
| Skrutskie, M. F., Cutri, R. M., Stiening, R., et al. 2006, AJ, 131, 1163                             |
| Venn, K. A., Irwin, M., Shetrone, M. D., et al. 2004, AJ, 128, 1177.                                 |
| Wright, E. L., Eisenhardt, P. R. M., Mainzer, A. K., et al. 2010, AJ, 140, 1868                      |
| Yuan, H. B., Liu, X. W., & Xiang, M. S. 2013, MNRAS, 430, 2188                                       |
| Zhao, G., Zhao, Y.-H., Chu, Y.-Q., et al. 2012, RAA, 12, 723                                         |
| Zhong, J., L´pine, e S., Hou, J., et al. 2015, AJ, 150, 42                                           |
| Zhong, J., L´pine, e S., Li, J., et al. 2015, Research in Astronomy and Astrophysics, 15, 1154       |
Jing Zhong Jing Li Jeffrey L. Carlin Li Chen Rene A. Mendez Jinliang Hou
Value-added catalogs of M type stars in LAMOST DR5
In this work, we present new catalogs of M giant and M dwarf stars from the
LAMOST DR5. In total, 39,796 M giants and 501,152 M dwarfs are identified from
the classification pipeline. The template-fitting results contain M giants with
7 temperature subtypes from M0 to M6, M dwarfs with 18 temperature subtypes
from K7.0 to M8.5 and 12 metallicity subclasses from dMr to usdMp. We
cross-matched our M-type catalog with the 2MASS and WISE catalog to obtain
infrared magnitude and colors. Adopting the distances derived from the
parallaxes in \gaia{} DR2, the M_G vs. (G_bp-G_rp)_0 diagram shows that there
are also early-type stars and white dwarf-M dwarf binaries included in our M
type stars sample, with a contamination rate of about 4.6% for M giants and
0.48% for M dwarfs. We found that CaH spectral indices are an efficient
selection criteria for carbon stars. A total of 289 carbon stars were
identified from the M giants sample, and further confirmed by LAMOST spectra.