Mon.Not.R.Astron.Soc.000,1–14(2012) Printed8January2013 (MNLATEXstylefilev2.2) Finding Exoplanets Orbiting Young Active Stars. I. Technique V. E. Moulds1⋆, C. A. Watson1, X. Bonfils2, S. P. Littlefair3 and E. K. Simpson1 1DepartmentofPhysicsandAstronomy,QueensUniversityBelfast,Belfast,BT71NN,NorthernIreland 3 2UJF-Grenoble1/CNRS-INSU,InstitutdePlan´etologieetd’AstrophysiquedeGrenoble(IPAG)UMR5274,38041 Grenoble,France 1 3DepartmentofPhysicsandAstronomy,UniversityofSheffield,SheffieldS37RH 0 2 n Submitted for publication in the Monthly Notices of the Royal Astronomical Society a J 7 8 January 2013 ] P E ABSTRACT Stellar activity, such as starspots, can induce radialvelocity (RV) variations that can . h mask or even mimic the RV signature of orbiting exoplanets. For this reason RV p exoplanet surveys have been unsuccessful when searching for planets around young, - o active stars and are therefore failing to explore an important regime which can help r to reveal how planets form and migrate. This paper describes a new technique to t s remove spot signatures from the stellar line-profiles of moderately rotating, active a stars (vsini ranging from 10 to 50 kms−1). By doing so it allows planetary RV signals [ to be uncovered. We used simulated models of a G5V type star with differing dark 2 spots on its surface along with archive data of the known active star HD49933 to v validate our method. The results showed that starspots could be effectively cleaned 2 from the line-profiles so that the stellar RV jitter was reduced by more than 80%. 2 ApplyingthisproceduretothesamemodelsandHD49933data,butwithfakeplanets 9 injected, enabled the effective removal of starspots so that Jupiter mass planets on 5 shortorbitalperiodsweresuccessfullyrecovered.Theseresultsshowthatthisapproach 2. canbeusefulinthesearchforhot-Jupiterplanetsthatorbitaroundyoung,activestars 1 with a vsini of ∼ 10 - 50 kms−1. 2 Key words: exoplanets – RV technique: star spots. 1 : v i X r 1 INTRODUCTION Lagrange et al.2010).Whereas,foryoung,activestarswere a stellar jitter can be of the order of kms−1, the search for Currentlyover800exoplanetshavenowbeenfoundthrough planets is limited to high mass planets and in particular avarietyoftechniquese.g.viatransits,radialvelocity(RV) those on short orbital periods (e.g.Paulson et al. 2004, variations and microlensing. The most fruitful of these is Paulson & Yelda2006). the RV method which has been responsible for discovering There have been several cases where planets have been approximately 70% of exoplanets to date. High-precision announced and then subsequently retracted after starspots spectrographs with an accuracy of a few ms−1 can easily detectthehundredsms−1 amplitudeoftheRVsignatureof were discovered to be the source of the RV signature. No- tableexamplesofthisareTWHydrae(Setiawan et al.2008, short period hot-Jupiter planets. At this level of accuracy, Hu´elamo et al. 2008), BD+20 1790 (Hern´an-Obispoet al. theamplitudeofthesignalcanonlybehiddenbyimportant 2010, Figueira et al. 2010) and HD166435 (Queloz et al. stellar noise. 2001). Due to these problems, RV surveys often exclude Desort et al. (2007) showed that stellar noise, such as active stars. Young stars with convective outer envelopes starspots, can produce RV shifts that can mimic or mask tend to be faster rotating than older stars and there- out planet signals. The limiting parameter for finding fore more active. According to the data available on planetsin thepresenceof suchactivity is theratio between http://exoplanet.eu/catalog/ this has meant that only 57 the amplitude of the planetary and activity signal. This planets with ages less than 1 Gyr are known to date. means that stellar activity on stars similar to the Sun, which exhibit an RV jitter of several ms−1, will only affect Targetingyoungplanetsisimportantforunderstandingthe formation and evolution of planetary systems. Since the the detection of low mass, long orbital period planets (e.g. core accretion model (Pollack et al. 1996) predicts longer formation timescales than the disk instability model (Boss ⋆ E-mail:[email protected] 1997) then a detection of a young planet would provide 2 V. E. Moulds, C. A. Watson, Xavier Bonfils, S. P. Littlefair, Elaine Simpson information about the formation mechanism itself. Several (Queloz et al. 2009), Fourier Analysis (Hatzes et al. people have already conducted surveys for young planets 2010) and Harmonic decomposition (Boisse et al. 2011) (e.g. Paulson et al. 2004, Huerta et al. 2008) but without have also been used to uncover planet signals from stellar any success due to small sample sizes as well as the high jitter. These methods are all based on analysing the RV stellar noise problem. datainordertoidentifyspuriousRVsignalsduetoactivity Searchingforcompanionsaroundyoungstarsisalsoimpor- and remove them. There are, however, some limitations tant for understanding the lack of substellar objects with when using these techniques. They require accurate knowl- masses greater than 20 MJ and in orbits closer than 3 AU, edge of the stellar rotation period and in the case when i.e. the brown dwarf desert. Grether & Lineweaver (2006) the planetary orbit is close to the stellar rotation period found that 16% of nearby sun-like stars had companions then separating out the signal can be extremely difficult. with orbital periods less than 5 years and of these less Generally a long time series of RV points is required in than 1% were brown dwarfs. It has been suggested by order to measure the rotation period and so considerable Armitage & Bonnell (2002) that the brown dwarf desert observational time is important. However, when all these could betheresult oforbital migration. Sincethetimescale criteria are met, harmonic decomposition has been found for catastrophic migration is of the order of 1 Myr, they to pull out planetary signals that are a third smaller in predict that young stars would not have destroyed their amplitudethan theactivity signal (Boisse et al. 2011). brown dwarf companions and have an order of magnitude We have developed a technique to compliment these morebrowndwarfcompanionsthanmain-sequencestars.A existing methods. Instead of removing the activity signal survey for substellar companions around young stars could from theRVpointsweremovethespot signaturesfrom the help with this theory and our understanding of the brown actual lineprofiles directly. This method does not require dwarf desert. knowledgeofthestellarrotationperiodoralongtimeseries Finding a solution to the stellar activity problem is not of data, provided the planetary timescale is short and the onlyimportantforconductingyoungplanetRVsurveysbut jitter/planetary signal ratio is small. This is the first paper also for transiting missions. The Kepler space mission was ofaseries,inwhichweshalloutlinethisnovelspotremoval launchedin2009 andmonitorsover150000 starswith early technique.Aforthcomingpaperwillapplythistechniqueto datashowingnumeroustransitingplanetstobeoflowmass FIES observations of a sample of young, moderately-fast, (Borucki et al.2011).Withfutureplannedmissionssuchas rotating stars. TESS(Rickeret al.2010),whichwillmonitorover2million Section 2 of this paper provides a detailed description of stars in its lifetime, the number of exoplanets, especially this spot removal technique. We then tested this technique small ones, will continue to increase. However transiting on model stars with varying spots and planets. In section surveys, unlike RV surveys, do not initially exclude active 3 we describe the construction of these models, and the stars from their missions. In addition, early Kepler results results of our simulations are presented in section 4. In show that approximately 50% of the stars that Kepler section 5 we apply our spot removal technique to archival observed during the first month of the mission are more dataoftheknownactivestarHD49933.Adiscussionofthis active than the Sun (Basri et al. 2010). This could result technique in comparison to other spot removal methods is in difficulties in the RV follow-up work to confirm their provided in section 6, with future work detailed in section planetary natureparticularly around more active stars. 7. Finally, we summarise our findingsin section 8. Indeed, this has already been found to be the case for the Super-Earth planet transiting the active star CoRoT-7 in 2009. The activity of the star completely masks out 2 SPOT REMOVAL TECHNIQUE the planetary signatures which has led to problems when analysingtheRVdatawithseparategroupsfindingdifferent Our technique is based on the fact that a planet and spot planetary solutions. Queloz et al. (2009) found 2 planetary havedifferenteffectsontheline-profile.Aplanetcausesthe signals giving masses of 4.8 M and 8.4 M for line-profiletoshiftinwavelengthorvelocitywhereasaspot Earth Earth the planets, whereas Hatzes et al. (2010), analysis of the distorts the actual shape of the line-profile resulting in an same data, suggests the star has 3 planets with masses of apparent RV shift. Spot bumps in the lines can be resolved 6.9 M ,12.4 M and 16.7 M . whenrotationalbroadeningdominatestheshapeoftheline Earth Earth Earth Overthelastcoupleofyearsalotofefforthasbeenputinto profile, typically for vsini’s greater than the resolution of finding a solution to this problem. One solution is to use the spectrograph. We have written a code, Clearing Activ- the relationship between bisector-span and RVs in order to itySignalsInLine-profiles(ClearASIL),toassessthestellar remove activity signatures from the data, e.g. Boisse et al. absorption line-profiles and remove any spot features, ef- (2009)usedthistechniqueonHD189733toimprovetheRV fectively cleaning the RVs to allow any planet signatures jitter from 9.1 ms−1 to 3.7 ms−1. However, this cannot be tobeuncovered.ClearASILisbaseduponthemethodused appliedtoallsystems.Desort et al.(2007)showedthatthis byCollier Cameron et al.(2002)onABDoradus,todirectly correlation breaks down for stars with vsini that is lower trackstarspotsinordertoassessstellardifferentialrotation. than the resolution of the spectrograph, due to the fact the spot cannot be resolved easily. There are also problems 2.1 Least SquaresDeconvolution (LSD) when stars have multiple spots, due to spot distortions compensating for each other. If other effects contribute In order to resolve the typically small spot bumps, an ab- more significantly to the RV variations (such as a planet sorption line with a signal-to-noise ratio (SNR) of several signal) then thecorrelation may in fact beabsent. hundredisrequired.AlthoughlargeformatCCDsandmod- Other methods, such as pre-whitening techniques ern ´echelle spectrographs enable high resolution spectra to Finding Exoplanets Orbiting Young Active Stars. I. Technique 3 be obtained spanning a large wavelength range (typically where fi and pi correspond to the observational and 3500to7000˚A foropticalspectrographssuchasFIES)the model flux at the ith data point and σi corresponds to the SNR of a single line is often not adequate. This is due to observational error for the ith data point. the requirement of short exposure times in order to reduce The best fit model is found by minimising the χ2 statistic the effects of blurring of the spot features, and is further using a non linear least squares technique, specifically compounded for faint targets. the Levenberg-Marquardt algorithm. This is an iterative Each of the 1000’s of photospheric lines contained in an process that rapidly converges on a numerical solution to ´echelle spectrum are assumed to be affected in a similar the minimisation of the function. As with all least-squares way by the presence of spot features in the stellar pho- techniques, an initial guess of the parameters is required. tosphere. This assumption enables the application of mul- This must be relatively close to the true value in order tiline techniques to extract common physical information to avoid the results returning a local minima. The initial from many spectral lines and determine an average profile parameters are chosen by the user based upon the shape with a high SNR. LSD is the method used in this paper of the line-profile. In this case the C version of the IDL to compute a high SNR line-profile from the thousands of MPFIT routine (Markwardt 2009) was employed. spectral lines available in a single ´echelle spectrum. It was This method for measuring the RVs using the LSD first implemented for use on polarimetric Stokes V spectra line-profiles was tested on our model data as detailed by Donati et al. (1997) and has since been successfully em- in Section 3.2 and the results showed this method to be ployedinotherareasofastronomy,suchasDopplerimaging. accurate. However, the simplifying assumption that all spectral lines have the same shape, i.e. are independent of wavelength, is not valid for spectral lines formed at different heights which will be impacted by spots differently and also for 2.3 ClearASIL bluer line-profiles were spot features will appear larger due ThehighSNRmeanline-profiles(inthiscaseobtainedusing to the increased temperature contrast. Therefore, the LSD theLSDtechnique)aretheninputintoClearASIL.Thecode technique is only applied after spectral regions containing operates on the basis that RV variations of a time series chromospherically sensitive and strong spectral lines were of line-profiles are either due to spots only or due to both removed from thedata in thispaper. spots and an orbiting planet. ClearASIL processes theline- InthispapertheLSDcodeusedwaswrittenbyC.A.Watson profiles according to both these theories and then tests to (Watson et al. 2006). Using a stellar line list from the Vi- seewhichassumptionbestremovesthespotfeatures.Thisis ennaAtomicLineDatabase(VALD)andthemethodofleast athreestagedecisionprocessthatisoutlinedinmoredetail squares,theaverageprofileistheonethatgivestheoptimal below.Thecodeiteratesoverthisprocessusingtheresulting fit to thespectra when convolved with theline list. The re- average line-profile from the best spot removal method in sultingline-profilehasaSNRthatistypically20to30times the next iteration. At the end of each iteration a goodness higher than a single isolated line. of fit test (χ2) between the resulting line-profiles from each fitting method and their average is calculated to determine thecorrectfittingtechnique.Whenfurtheriterationsdonot 2.2 Radial Velocity Calculation show any improvements to this goodness of fit test then TheLSDline-profiles can thenbeusedto measuretheRVs ClearASIL stops. forthedata,andthisisachievedbyfittingagaussiantothe LSDline-profilesandtakingthepeak ofthisgaussian. This techniqueforcalculatingtheRVscorrespondstothewidely 2.4 Step 1 - Planet Fitting Technique usedcross-correlationmethodwherebyatemplatespectrum ThismethodisonlyemployedwhenClearASIListestingthe iscrosscorrelatedwiththetargetspectrumandthepeakofa assumption that the data contains both a spot and planet. gaussianfittedtothiscross-correlationfunctionismeasured. Ifaplanetispresentthenthelinecenterswillbeshiftedrel- The LSD line-profile can be approximated by a gaussian of ative to one another. If we correctly remove this shift then theform, thelinecentersshouldlieclosetooneanotherandtheaver- pi = A exp (cid:18)(vi2−σ2µ)2 − yoff(cid:19) (1) aagnedpcreonfitlrealofvetlhoecsietyshpieftaekdcloinmespasrheodultdoheaavcehaofsitmhielairndwiivditdh- ual lines. On the other hand if we shift the lines by the wherepiisthemodelfluxvalueatthevelocityvaluevi. wrong amount then their average will be orbitally smeared Thefour parameterswhich definethegaussian are thearea andhenceappearbroaderwhencomparedtotheindividual underthecurve,A,thevariance(i.e.thewidthoftheline), lines. A goodness of fit test between the average line and σ, the mean (i.e. the peak position), µ, and the continuum each individual orbitally corrected line-profile is therefore fluxlevel, y . an appropriate measure to findthe best planet signal. off Aleastsquaresminimizationtechniqueisusedtodetermine If the planet has zero orbital eccentricity then the RV vari- themodelparametervaluesthatgivethebestfittothedata. ation of the star over time will be a smooth sinusoid. The The measure of the goodness of fit between the model and majority of hot-Jupiter planets have been found in circular observed data is given by thefollowing χ2 statistic, orbitswhichisthoughttobearesultofshortcircularization time-scales for these close orbiting planets (Jackson et al. χ2 = fi − pi 2 (2) 2008). As the work in this paper concentrates on detecting Xi (cid:16) σi (cid:17) hot-Jupiter planets then a valid approach in our method is 4 V. E. Moulds, C. A. Watson, Xavier Bonfils, S. P. Littlefair, Elaine Simpson to assume zero orbital eccentricity. With this assumption in mind the code generates sinewaves with various periods, amplitudes and phase offsets. Shifting the line-profiles ac- cording to each sinewave and measuring the goodness of fit between these shifted lines and the average determines the best model planet for the data. It is important to remove theplanetsignatureatthisstageofthefittingprocedureso as to enable accurate removal of any spot features present in thesubsequentsteps. 2.5 Step 2 - Spot Fitting Technique The observable signature of a dark spot on the surface of the star is a bright bump in the photospheric line-profile. To isolate these bright bumps in the LSD profiles we em- ployed thetechniqueof line-profile subtraction. Subtractingaline-profilewithnospotfeaturesfromeachini- dividualline-profilewouldresultinresidualsthatcontained noisewithanyspotbumpsthatwerepresentsuperimposed, similar to Fig. 1. Unfortunately it is impossible to obtain a completely immaculate line-profilefrom thedataand sowe generated a psuedo-immaculate profile by averaging all the line-profiles over the course of the observations. Averaging Figure1.Thisisthespotsignatureafterthetime-averagedline- thelines will cause anyspot features present tobesmeared profilehasbeensubtractedfromoneoftheindividualspottyline- out and diluted. So although the average line-profile will profilesgenerated bythemodelstarshowninFig.6. not be completely free of spot features compared to the in- dividual line-profiles spot features present will be severely longer any improvement to the average cleaned line-profile diminished. withsubsequentiterations. TheRVoftheresultingcleaned This method utilises the approximation that spot features line-profilesatthisiterationarethensearchedforanyplanet present in the residuals are Gaussian-like in shape as dis- signatures. cussed by Collier Cameron et al. (2002). The residuals are scanned for any peaks above this noise level and these features are fitted with a Gaussian using the Levenberg- Marquardt technique. The code also checks the width of 3 SIMULATIONS thesefeaturestoensurespikesinnoisydataarenotwrongly Tovalidateourspotremovalmethodwegeneratedavariety treatedasspotfeatures.Thisenabledthespotbumpstobe ofmodelstarswithdifferingspotandplanetconfigurations. isolated from thenoise features. These isolated spot bumps This section gives a description of how these models were werethensubtractedfromtheindividualline-profilestogen- constructed. erate a cleaner data set. 2.6 Step 3 - The Optimal Fitting Procedure 3.1 Description Of Simulation Models Having fitted the line-profiles assuming that either spots We first generated a model star defined by 7 parameters: and a planet are both present (i.e. fitting the lines using mass (M∗), radius (R∗), effective temperature (Teff), both steps 1 and 2 above) or that only spots are present rotational period (Prot), inclination (i), microturbulent (i.e. fitting the lines using only step 2 above) we now de- velocity (vmicro) and macroturbulent velocity (vmacro). We termine which of these techniques best models the data. set the microturbulence to 1.5 kms−1 for all the models This is achieved by comparing the average of the cleaned used in this paper, while the macroturbulent velocity line-profiles to the individual cleaned line-profiles for each varies as a function of T and so has been calculated eff method. for each model using eqn 1. in Valenti & Fischer (2005). In thenext iteration the average cleaned line-profile result- Including radial-tangential macroturbulence (as described ing from the best spot fitting procedure is used as a new in Gray 2008) resulted in amore realistic model line-profile psuedo-immaculate profile along with the original observed making it harder to resolve spot bumps. Along with these line-profiles to generate the residuals in step 2. Hence with parameters, the non-linear limb-darkening law of Claret eachiterationweareimprovingour‘immaculate’profileen- (2000) was used. abling betterspot identification and removal. Asmore iter- We then placed circular spots on the model star with free ations are conducted the average line becomes cleaner and parametersgivenbythespot latitude(φ)andlongitude(θ) inoursimulations(seeSection4)verycloselyresemblesthe on the stellar surface, the temperature of the spot (Tspot) ‘true’ immaculate profile. The RV of the line-profiles also and the spot size described by the fraction of the visible becomeslessnoisyand,ifanyplanetispresent,itshouldbe hemispherecovered bythespot (fr).Wethenaddedplane- easily detected. ClearASIL stops iterating when there is no tary reflex motion according to the planets mass (Mp) and Finding Exoplanets Orbiting Young Active Stars. I. Technique 5 orbital period (Pprot). We assume the hot-Jupiter planet has zero orbital eccentricity given that most hot-Jupiter planets havebeen found to havecircular orbits. Wemodelthestellarsurfaceasaseriesofquadrilateraltiles of approximately equal area. Each tile is assigned acopy of thelocal (intrinsic) specificintensity profile,which includes micro and macroturbulence effects convolved with the instrumental resolution. A gaussian profile is used for the local (intrinsic) specific intensity profile and the equations in Chapter 17 of Gray (2008) are used to model the micro and macroturbulence effects. For the simulations in this paper we use an instrumental resolution of 4.6 kms−1, which is equivalent to the FIbre-fed Echelle Spectrograph (FIES) on the Nordic Optical Telescope (NOT). These profiles are scaled to take into account the projected area, limb-darkening, obscuration and the presence of a spot when relevant. The intensity profile for each tile is then Doppler shifted according to the radial velocity of the surface element at a particular stellar rotation phase. Summing up the contributions from each element gives the rotationally broadened profile at that particular stellar rotation phase. Any tiles with a spot feature present will have a lower temperature than the surrounding tiles and hence a lower Figure 2. The effect of a rotating star spot on the rotationally intensity. We employ Planck’s radiation law which gives broadened line-profile. The top panels show the model star at the energy radiated by an ideal blackbody in a particular differentphases whilethelowerpanel represents theline-profiles wavelength interval (the central wavelength of the model atthiscorrespondingphase. star line-profile is set to 5800˚A). This law depends on the temperature of the blackbody and so if thetile has no spot featurethentheenergyradiated willbeproportionaltothe 3.2 Testing The Model effective temperature of the star. Whereas if the tile has We checked how accurate our models were by measuring a spot then the intensity will be proportional to the spot the RVs for the line-profiles generated over one rotational temperature which is lower than the effective temperature period for a G2V model star and compared the resulting of the star. This results in an emission bump appearing in RV jitter to that expected using eqn. 1 in Saar & Donahue the rotationally broadened line-profile with a shape and (1997). Again, we calculated the RVs by fitting a Gaussian position that is dependent on the temperature, size and to each individual line-profile and measuring the peak position of thespot as shown in Fig. 2. position (see Section 2.2). Fig. 4 shows the RVs for a G2V model star (T = 5800 K) with vsini = 7 kms−1 seen at eff We generate the resulting line-profiles for different an inclination of 90◦ with a spot placed at a latitude of epochs over the rotational phase. Typically, we take 19 0◦, covering 1.05% of the stellar surface and given a Tspot epochs to cover the rotational period. If there is a planet of 0 K. Saar & Donahue 1997 predict a semi-amplitude of orbiting the star then the rotationally broadened profiles 47.54 ms−1 for these parameters. Our model produced an are shifted in velocity according to the RV amplitude of RV semi-amplitude of 52 ms−1. This gives us confidence the planet at that particular orbital phase. The resulting in our model line-profiles and also in our method for line-profilesarethenwavelength binnedsothattheyareall calculating theRVs. on a common scale. Each rotationally broadened profile is then convolved with an appropriate stellar line list, taken Satisfiedwiththemethodforgeneratingourmodelline- from VALD, with photon noise added in order to obtain a profileswecomputedaseries ofstellar models with varying model spectrum as shown in Fig. 3. The model spectrum spotsandplanetsinordertovalidateClearASIL.Themodel covers the wavelength range, 4500 to 7000 ˚A similar to the star was given M∗ = 1.05 Msun, R∗ = 0.95 Rsun, Teff = typical usable wavelength range of spectra taken with an 5657K,Prot =3.2daysandi=51.8◦.Thespotandplanet optical spectrograph such as HARPSor FIES. configurations as well as the results for these models are We have added photon noise assuming that the SNR is discussed in the following sections. proportionaltothesquareroot oftheflux.Sinceourmodel spectra are normalised, in order to determine the flux as a function of wavelength we haveperformed a cubicspline fit to a synthetic spectrum. The Pollux database provided the 4 MODEL RESULTS synthetic spectrum, of similar spectral type to our model 4.1 NoSpot Model star. This enabled to correct relative photon noise to be calculated. All the models described in this paper have Forthefirsttestcasea1MJ planetona4daycircularorbit been given a peak SNR of 100. wasplacedaroundourmodelstar.Nospotswerepresenton the surface of the star and so the line-profiles should show 6 V. E. Moulds, C. A. Watson, Xavier Bonfils, S. P. Littlefair, Elaine Simpson Figure5.TheRVsforthemodelG5Vtypestarwitha1Mj mass planetpresentandnospotsonthestellarsurface. Figure3.Exampleportionofasyntheticspectrum generated by to these line-profiles and it correctly found that no spot our model, assuming a G5V type star (M∗ = 1.05 Msun, R∗ = signatures were present. Fitting the signal with a sinewave 0.95Rsun,Teff =5657K,Prot =3.2daysandi=51.8◦)with revealed a 1.0±0.04 MJ planet on a 3.9±0.08 day orbital a5%spothavingapeakSNRof100andavsini=15kms−1. period. This shows that the planet fitting method gives resultsthatareconsistent withtheplanetinjected intothis model. 4.2 1 Spot Model In thenext test case we placed 1 spot on our model star at a latitude = 20◦ with Tspot = 4600 K and covering 5% of the visible stellar surface, as shown in the top of Fig. 6. A total of 19 line-profiles covering one stellar rotation period (i.e.3.2days)weregeneratedusingthemethoddescribedin section 3. The RVswere found to have a semi-amplitude of 265±5.7 ms−1 as shown in the bottom left panel of Fig. 6. The amplitude of the RV signal is approximately the same as that caused by a 5 MJ planet orbiting this star on a period equal tothat of the stellar rotation period. ClearASIL was then applied to these line-profiles and the results are shown in the bottom right panel of Fig. 6. As described in Section 2, ClearASIL fits the signal with a combined planet and spot model, as well as with a spot only model to assess which best fits the data. For this Figure 4. The RV for a G2V type star seen face on with a dark modelstarthecodefoundcorrectlythatthebestfitforthe spot (Tspot = 0 K) covering 1.05% of the visible surface at θ = line-profileswasthespotonlyfitandwasabletoeffectively 0◦. clean thetrue spot features from theline-profiles. The χ2 levelled off at the 6th iteration and the resulting RVsshowednorealisticplanetsignature.TheresultingRVs a radial velocity shift solely due to the injected planet. A had an rms of 7.45±3 ms−1, showing that a 96% reduction total of 19 line-profiles covering one stellar rotation period in the stellar noise was achieved. (i.e. 3.2 days) were generated using the method described in section 3. Note the error on the line-profiles corresponds Next we tested the case when a relatively small planet totheSNRof100whichisgiventothemodelspectra.This signature (compared to the stellar jitter) is present. We erroristhenpropagatedthroughthemethodforcalculating placed a 1 MJ planet on a 4 day circular orbit around theRVsandthisisthecaseforallthemodeldatadescribed the same model star and again generated 19 line-profiles inthispaper.TheRVswerefoundtohaveasemi-amplitude that evenly covered 1 stellar rotation period. The RV semi- of48.91±4ms−1 asshowninFig.5.ClearASILwasapplied amplitude caused by this planet is 48.7 ms−1, which given Finding Exoplanets Orbiting Young Active Stars. I. Technique 7 Figure 7. RV results for the G5V model star which has both a dark spot (Tspot = 4600 K) covering 5% of the visible surface at a latitude of 20◦ and a 1 MJ planet on a 4 day orbit. The crossesrepresentstheRVpointsofthemodeldata,whilethered dashed line corresponds to the RV of the 1 Mj planet that has been injected into the model. The RV of the simulated obser- vational line-profiles is shown in the left panel, while the right panel shows the RVs after using ClearASIL to remove any spot featurespresent. Ascanbeseen,theinjectedplanetsignatureis wellrecoveredfromthenoise. the line-profiles but also has the ability to reveal a planet signal that is partially hidden in theRV data. Having shown that the code was able to impressively uncoverthe1MJ masssignalhiddeninthestellarnoisewe decidedtofurthertesttheabilityofClearASIL.Inthenext case we investigated the impact the phase of the injected 4F6ig0u0reK)6.coTvoepri:nTgh5e%moofdtehleGv5isViblsetasrurwfaictehadtaraklastpitoutd(eTospfo2t0◦=. planet signal had on the planet signature that could be uncovered from the noise. Again we used the same 1 spot BottomLeftPanel:TheRVpointsdeterminedusingthe19model line-profilesthatweregeneratedforthis1spotstar.BottomRight model star with a 1 MJ planet on a 4 day circular orbit. Panel:TheRVresultsafterusingClearASILtocleanspotsfrom The phase of the planet compared to the stellar rotation themodeldata.TheRVjitterduetothespotisreducedby98% phasewas varied between 0 and 1 in steps of 0.1. inthistest. These models were then processed through ClearASIL and the impact the phase had on the mass and period of the planet detected is shown in Fig. 8. When the phase of the planet is less than 0.5 the code is able to successfully theprevioustestshouldbediscernibleifourspotremovalal- remove the spot signatures to reveal the 1 MJ planet with gorithmdoesnotoverlyaffecttheplanetsignature.Wenote a 4 day orbital period. However when the planet phase that, in this test, the stellar rotation period and planetary is set to 0.5 or greater the code struggles to uncover the orbital period aresimilar. Thus,for asignificant fraction of correct planet signal. This is due to the interplay between our simulated observations, the RV jitter due to the spot, theplanet signalandthespotscausingthecodetostruggle dominates over the weaker planet signature and is phased when fitting the RV data. Increasing the data size would similarly (as can be seen in Fig. 7). help the code determing the correct planet signal in cases For the first iteration of ClearASIL the spot only fit was like this. found to best remove any spot features from these line- profiles.However,insubsequentiterations,thecodecleaned This next test case is to show the ability of the code theline-profilesusingthecombinedplanetandspotfit.The onuncoveringaplanetsignalthatisthesameasthestellar χ2 reached a minimumat the10th iteration andtheresults rotation period. Again the same model star with 1 spot showed there to be a periodic RV variation with a semi- covering 5% of the stellar surface was used but this time amplitude of 49.8±1.4 ms−1 which closely matches the RV theinjectedplanet signalhadmassof1Mj andaperiodof signal of theinjected planet (see right panel of Fig. 7). Fit- 3.2 days (i.e. the same as the stellar rotation period). The tingtheseRVswithasinewaverevealsa1.03±0.05MJ ona initial semi-amplitude of the RV signal was 299±5.1 ms−1 4.08±0.115dayorbitalperiod,indeedconfirmingtheresults which completely masks the RV signal of the planet (see areconsistentwiththesameastheplanetinjectedintothis Fig. 9). model.This simpletestcase showsthatClearASIL was not The spot removal code was able to successfully reduce only capable of removing the majority of a large spot from the stellar jitter to reveal a periodic RV variation with a 8 V. E. Moulds, C. A. Watson, Xavier Bonfils, S. P. Littlefair, Elaine Simpson Figure 9. Left panel: RV curve of the G5V model star with a darkspot(Tspot =4600K)covering5%ofthevisiblesurfaceat a latitude of 20◦ and a 1 MJ planet on a 3.2 day orbit. Right panel: RV curve after the spot removal code is applied to the data.AscanbeseenClearASILissuccessfulatreducingtheRV noisetorevealaperiodicsignalthatcloselymatchesthesignalof theinjectedplanet. 19 line-profiles were generated covering 1 stellar rotation period. The RVs resulting from this model are not very periodic due to the interplay of multiple spots crossing the stellar disc and have an rms of 30 ms−1 and a peak amplitudeof 96 ms−1, as shown in Fig. 10. The line-profiles were put through ClearASIL, which correctly foundthespot onlyfittobebest forall iterations of the code. The χ2 levels out at the 13th iteration and the resulting line-profiles reveal an RV signal with an rms of Figure8.Resultsshowingtheimpactofvaryingtheplanetsignal 13 ms−1 (Fig. 10). In this case ClearASIL has effectively phase on the ability of ClearASIL to uncover the correct planet reduced the stellar jitter by 57%. The peak to peak ampli- 4si6g0n0atKu)rec.oIvnertihnigsc5a%seoaftGh5eVvimsibodleelsustrafarcweiatthaaldaatirtkusdpeootf(2T0s◦poatn=d tudeisreducedfrom96±6.3 ms−1 to24±6.2ms−1 whichis a1MJ planetona4dayorbitwasused.Thephaseoftheplanet a75%reductioninamplitude.Althoughthisisasignificant was varied from 0 to 1 in steps of 0.1. The top panel displays result, we do note it is smaller than the RV improvement how the planetary period uncovered by ClearASIL varies with seen in the 1 spot model case under the same sampling the injectedplanetary phase. Whilethebottom panel showsthe andSNRconditions.ClearASILassumesnothingaboutthe planetaryphaseagainstthemassoftheuncoveredplanetsignal. numberofspotspresentonthestarandfitstheline-profiles for any spot-like features according to the fitting technique outlined in Section 2.5. There is no limit on the number of semi-amplitudeof51.5±1.4ms−1 whichcloselymatchesthe spots that ClearASIL will try and fit and remove from the RV signal of the injected planet (see right panel of Fig. 9). line-profiles. Therefore if ClearASIL detects 10 spots in the Fitting these RVs with a sine wave reveals a 0.98±0.04 MJ line-profile then it will fit for 10 spots or if it detects 20 on a 3.2±0.04 day orbital period, indeed confirming the spots then it will fit for 20 etc. Multiple, smaller spots are results are consistent with the same as the planet injected difficult to fit using this Gaussian based fitting technique into this model. This highlights the ability of ClearASIL and so theline-profiles are not cleaned as effectively in this to uncover the correct planetary parameters even if the 4 spot model. planetaryorbitalperiodisthesameasthestellarrotational Wealsonotethatin thisinstancetheresultant RVsappear period. to have a systemic velocity of approximately -13 ms−1 which does not match the systemic velocity of 0 ms−1 that was given to the model data. When dealing with multiple spots rotating across thestar it becomes more likely that a 4.3 4 Spot Model spot feature will appear in the same place in all the line- The previous 1 spot model represents a simple test case. profiles. If this does happen then when the line-profiles are In this section we investigate the ability of ClearASIL to averaged together to create the psuedo-immaculate profile cope with a more realistic multiple spot model. Four spots as described in section 2.5 this feature will also appear in were placed on the model G5V star (see Section 3) and the average profile. Subtracting this psuedo-immaculate the details of the latitude, size and temperature of these profile from each individual profile will have the result spots can be found in Table 1. As for the previous model, of cancelling this spot feature out and so it will never Finding Exoplanets Orbiting Young Active Stars. I. Technique 9 Figure10.Leftpanel:RVcurveoftheG5Vmodelstarwith4dark Figure11.Leftpanel:RVcurveoftheG5Vmodelstarwith4dark spots (Tspot = 4600 K) each covering 1% of the visible surface spots(Tspot =4600K)eachcovering1%ofthevisiblesurfaceat at positions detailed in Table 1. Right panel: RV curve after 13 positions (detailed inTable 1) anda 1Jupiter massplanet on a iterationsofthespotremovalcode.AscanbeseenClearASILis 4dayorbit.Rightpanel:RVcurveafter21iterationsofthespot successfulatreducingtheRVnoiseby75%. removalcode. appear in the residuals. This results in the code being in both cases the line-profiles have been evenly spaced unable to isolate this spot feature and remove it from of over one stellar rotational period. In reality, observations theline-profiles. will be spread out due to limitations caused by telescope Although this is annoying it does not have any impact availabilityandthestars’visibility.Sowedecidedtofurther on finding planets that could be hidden in the data. Not test the code on unevenlysampled data. removingthisspotfeaturefromeachoftheline-profileswill In this case the model star (M∗ = 1.05 Msun, R∗ = create the same apparent RV shift in all the line-profiles 0.95 Rsun, Teff = 5657 K, Prot = 3.2 days and i = 51.8◦) and so will effectively change the systemic velocity. Any was used to generate 16 spectra with varying spot features trueshiftinthecentreoftheline-profilesduetoanorbiting that covered the time-span of the RV observations taken planet will still be visible as is shown in the following case to confirm the transiting nature of WASP-39b (Faedi et al. when a planet is added tothis data. 2011). Note that we generate one model star for each of the 16 spectra with the spot features set to correspond to that particularobservation. WASP-39b was chosen because it has similar properties to the models so far run in this As with the previous 1 spot case, we decided to test paperandisthereforeagoodrepresentationofatypicalRV the code further by inserting a 1 MJ planet on a 4 day follow-up strategy. The 16 line-profiles span over 76 days circular orbit into this multiple spot model. Fig. 11 shows with a gap of 20 daysin the middle of theobservations. theRVcurvefor thismodel,which hasasemi-amplitudeof Weinitially placed 3 spotson thestar and allowed them to 87.14±6.3 ms−1.Thereisahintofaplanetarysignalinthe changetheirsize(α),latitude(φ)andlongitude(θ)butnot RV jitter due to the fact that both the RV amplitude and their temperature (which was kept at a constant 4600 K) orbital period of the planet is similar to that of the spots, for the first 8 spectra. For the last 8 spectra we changed andtheybothhavesimilarphase.Fittingasinewavetothis the spot pattern to 4 spots and again allowed these new original ‘noisy’ data reveals a 1.8 MJ planet on a 4.7 day spots to change their size, latitude and longitude but kept orbital period. their temperature at a constant 4600 K. Table 2 shows the ClearASIL was once again able to successfully reduce the spot properties that were used to construct each model stellar jitter and clean the injected planetary signal. The line-profile. Generally spots have lifetimes that span from lowest χ2 occurred at the 21st iteration with the result- several days to several weeks (Hall & Henry 1994) and on ing RV curve having a periodic shape and semi-amplitude stars that are more active than theSun thesefeatures tend of 63±6.3 ms−1. Fitting a sine wave to the RVs shows a to cover a large portion of the star and be found at higher 1.2±0.15 MJ planet on a 4.15±0.083 day orbital period. latitudes (Donati et al. 1999, Strassmeier et al. 1999). I This is an improvement in the orbital period by 20% and tried to use this information to determine the size and the planet mass by 30%. Due to the confusion of fitting latitudinal position of the spot features on the star as well multiplespotstheplanetsignatureisslightlydistorted,but as for determining how long the spot feature should be again the sine fit reveals a similar mass and orbital period present on the surface. Note the longitudinal position of to thefake planet signature injected into themodel. thespotswas choosen sothat they would all appearon the surface of thestar at the same time. The RVs for this model were found to have an rms of 4.4 Variable Spot Model 32.3 ms−1, as shown in Fig. 12 and ClearASIL was able The previous models discussed have shown ClearASIL to reduce the stellar jitter rms by 65%. The peak to works for single and multiple spot scenarios. However, peak amplitude was reduced from 105±6.3 ms−1 down to 10 V. E. Moulds, C. A. Watson, Xavier Bonfils, S. P. Littlefair, Elaine Simpson Table1.Adescriptionofthesize,positionandtemperatures ofthespotsplacedonthe4spotmodelG5Vstar. SpotNumber Latitude Longitude Size (% of visi- Temperaturein blesurface) K 1 30 0 1 4600 2 -20 90 1 4600 3 -5 -90 1 4600 4 60 120 1 4600 Figure12.Leftpanel:RVcurveoftheG5Vmodelstarwithran- dom spot coverage (Tspot = 4600 K) with positions and sizes detailed in Table 2. Right panel: RV curve after 18 iterations of Figure 13. RV curve of the G5V model star with random spot thespotremovalcode. coverage(spotparametersaredetailedinTable2)anda1Jupiter massplanetona4dayorbit.Overplottedonthiscurveisablue dashedlineshowingthebestsinefittothis‘noisy’data. 13±6.2 ms−1 showing an 80% reduction. Again we note a systemic velocity present in the resulting data which is once again a result of fitting multiple spots as explained in section 4.3. Again we carried out the test when a 1 Jupiter mass planet on a 4 day circular orbit was inserted into this model.Fig. 14shows theRVsfor thismodelwith theinput planet signal over-plotted as the dashed red line. The RV semi-amplitude due to the planet and evolving spots is 97.5±6.3 ms−1.Fittingthisoriginal‘noisy’datawithasine wave reveals a planet with a mass of 1.2 MJ on an orbital period of 4.01 days. Although this sine wave is close to the true signal it does not match well with the datapoints as shown in Fig. 13. Even though the data size was small and covered a large Figure14.Top:RVcurveoftheG5Vmodelstarwithrandomspot time-span, ClearASIL was still able to detect that the coverage(spotparametersaredetailedinTable2)anda1Jupiter planet and spot fit was better at removing the spot from massplanetona4dayorbit.Bottom:RVcurveafter9iterations the line-profiles. The lowest χ2 was reached at the 9th ofthe spot removal code. In bothplots thedata has been phase iteration and the resulting RVs had a semi-amplitude of foldedontotheorbitalperiodofthefakeplanetinjectedintothe 45±6.3 ms−1. Fitting these RVs with a sine wave revealed data. a 1.14±0.18 Mj on a 4±0.08 day orbital period, which is consistent with the planet signature initially placed into the model. The code can still successfully detect the pres- enceofaplanetwithsparsedatacoveringalargetime-span.