We present an in-depth, high-resolution spectroscopic analysis of the M dwarf K2-18 that hosts a sub-Neptune exoplanet in its habitable zone. We show our technique to accurately normalize the observed spectrum, which is crucial for a proper spectral fitting. We also introduce a new automatic, line-by-line model-fitting code, AutoSpecFit, that... Show more