Issue 
A&A
Volume 609, January 2018



Article Number  A8  
Number of page(s)  16  
Section  Planets and planetary systems  
DOI  https://doi.org/10.1051/00046361/201731453  
Published online  22 December 2017 
The completenesscorrected rate of stellar encounters with the Sun from the first Gaia data release^{⋆}
Max Planck Institute for Astronomy, Königstuhl 17, 69117 Heidelberg, Germany
email: calj@mpia.de
Received: 27 June 2017
Accepted: 12 August 2017
I report on close encounters of stars to the Sun found in the first Gaia data release (GDR1). Combining Gaia astrometry with radial velocities of around 320 000 stars drawn from various catalogues, I integrate orbits in a Galactic potential to identify those stars which pass within a few parsecs. Such encounters could influence the solar system, for example through gravitational perturbations of the Oort cloud. 16 stars are found to come within 2 pc (although a few of these have dubious data). This is fewer than were found in a similar study based on Hipparcos data, even though the present study has many more candidates. This is partly because I reject stars with large radial velocity uncertainties (>10 km s^{1}), and partly because of missing stars in GDR1 (especially at the bright end). The closest encounter found is Gl 710, a K dwarf longknown to come close to the Sun in about 1.3 Myr. The Gaia astrometry predict a much closer passage than preGaia estimates, however: just 16 000 AU (90% confidence interval: 10 000–21 000 AU), which will bring this star well within the Oort cloud. Using a simple model for the spatial, velocity, and luminosity distributions of stars, together with an approximation of the observational selection function, I model the incompleteness of this Gaiabased search as a function of the time and distance of closest approach. Applying this to a subset of the observed encounters (excluding duplicates and stars with implausibly large velocities), I estimate the rate of stellar encounters within 5 pc averaged over the past and future 5 Myr to be 545 ± 59 Myr^{1}. Assuming a quadratic scaling of the rate within some encounter distance (which my model predicts), this corresponds to 87 ± 9 Myr^{1} within 2 pc. A more accurate analysis and assessment will be possible with future Gaia data releases.
Key words: Oort cloud / solar neighborhood / stars: kinematics and dynamics / surveys / methods: statistical / methods: analytical
Full Table 3 is only available at the CDS via anonymous ftp to cdsarc.ustrasbg.fr (130.79.128.5) or via http://cdsarc.ustrasbg.fr/vizbin/qcat?J/A+A/609/A8
© ESO, 2017
1. Introduction
What influence has the Galactic environment had on the solar system? How has this environment changed with time? As the solar system moves through the Galaxy, it is likely to come close to other stars. Ionizing radiation from particularly hot or active stars could adversely affect life on Earth. Tidal forces could shear the Oort cloud, the postulated body of primordial comets orbiting in the cold, dark outskirts of the solar system. This could push some bodies into the inner solar system in the form of comet showers, where they could potentially impact the Earth.
Reconstructing the encounter history (and future) of the solar system is possible by observing the present day positions and velocities of stars, and tracing their paths back and forward in time. Such studies came into their own after 1997 with the publication of the Hipparcos catalogue, which lists the positions, proper motions, and parallaxes of some 120 000 stars. The various studies performed before and since Hipparcos have identified tens of stars which have – or which will – come within 2 pc of the Sun (Matthews 1994; Mülläri & Orlov 1996; GarcíaSánchez et al. 1999, 2001; Dybczyński 2006; Bobylev 2010a,b; JiménezTorres et al. 2011; BailerJones 2015a; Dybczyński & Berski 2015; Mamajek et al. 2015; Berski & Dybczyński 2016). One of these articles, BailerJones (2015a, hereafter Paper I), is the precursor to the present work, and was based on the Hipparcos2 catalogue (van Leeuwen 2007) combined with various radial velocity catalogues. Dybczyński & Berski (2015) looked more closely at some of the encounters discovered in Paper I, in particular those flagged as problematic.
The closer a stellar encounter, the larger the tidal force on the Oort cloud. But the ability to perturb the orbit of a comet depends also on the mass and relative speed of the encounter. This can be quantified using an impulse approximation (Öpik 1932; Oort 1950; Rickman 1976; Dybczynski 1994). One version of this (Rickman 1976) says the change in velocity of an Oort cloud comet due to a star of mass M passing a distance d_{ph} at speed v_{ph} is proportional to (1)For the much rarer, very close approaches (on the order of the comet–Sun separation), the dependence on distance is more like 1 /d_{ph} (see Feng & BailerJones 2015, for some empirical comparison). More sophisticated modelling of the effect of passing stars on the Oort cloud has been carried out by, for example, Scholl et al. (1982), Weissman (1996), Dybczyński (2002), Fouchard et al. (2011), Rickman et al. (2012). Feng & BailerJones (2015) looked specifically at the consequence of the closest encounters found in Paper I.
Our ability to find and characterize close encounters has received a huge boost by the launch of the Gaia astrometric satellite in December 2013 (Gaia Collaboration 2016b). This deep, accurate astrometric survey will eventually provide positions, parallaxes, and proper motions for around a billion stars, and radial velocities for tens of millions of them. The first Gaia data release (GDR1) in September 2016 (Gaia Collaboration 2016a), although based on a short segment of data and with only preliminary calibrations, included astrometry for two million Tycho sources (Høg et al. 2000) down to about 13th magnitude, with parallaxes and proper motions a few times more accurate than Hipparcos (Lindegren et al. 2016). This part of GDR1 is known as the TychoGaia Astrometric Solution (TGAS), as it used the Tycho coordinates from epoch J1991.25 to lift the degeneracy between parallax and proper motion which otherwise would have occurred when using a short segment of Gaia data.
The first goal of this paper is to find encounters from combining TGAS with various radial velocity catalogues. The method, summarized in Sect. 2 is very similar to that described in Paper I. One important difference here is the exclusion of stars with large radial velocity uncertainties. I search for encounters out to 10 pc, but really we are only interested in encounters which come within about 2 pc. More distant encounters would have to be very massive and slow to significantly perturb the Oort cloud. The encounters are presented and discussed in Sect. 3.
The other goal of this paper is to model the completeness in the perihelion time and distance of searches for close encounters. This involves modelling the spatial, kinematic, and luminosity distribution of stars in the Galaxy, and combining these with the survey selection function to construct a twodimensional completeness function. A simple model is introduced and its consequences explored in Sect. 4. Using this model I convert the number of encounters detected into a prediction of the intrinsic encounter rate out to some perihelion distance. This study is a precursor to developing a more sophisticated incompletenesscorrection for subsequent Gaia data releases, for which the selection function should be better defined.
The symbols t_{ph}, d_{ph}, and v_{ph} indicate the perihelion time, distance, and speed respectively (“ph” stands for perihelion). The superscript “lin” added to these refers to the quantity as found by the linear motion approximation of the nominal data (where “nominal data” means the catalogue values, rather than resamplings thereof). The superscript “med” indicates the median of the distribution over a perihelion parameter found by orbit integration (explained later). Preliminary results of this work were reported at the Nice IAU symposium in April 2017 (BailerJones 2017).
2. Procedure for finding close encounters
The method is similar to that described in Paper I, but differs in part because the radial velocity (RV) catalogue was prepared in advance of the Gaia data release.
I searched CDS/Vizier in early 2016 for RV catalogues which had a magnitude overlap with Tycho2 and a typical radial velocity precision, σ(v_{r}), better than a few km s^{1}. I ignored catalogues of stellar cluster members, those obsoleted by later catalogues, or those with fewer than 200 entries. Where necessary, I crossmatched them with Tycho2 using the CDS Xmatch service to assign Tycho2 IDs (or Hipparcos IDs for those few Hipparcos stars which do not have Tycho2 IDs). The union of all these catalogues I call RVcat. A given star may appear in more than one RV catalogue or more than once in a given catalogue, so RVcat contains duplicate stars. Each unique entry in RVcat I refer to as an object. RVcat contains 412 742 objects. Missing σ(v_{r}) values were replaced with the median of all the other values of σ(v_{r}) in that catalogue. Malaroda2012 lists no uncertainties, so I somewhat arbitrarily set them to 0.5 km s^{1}. For APOGEE2 I took the larger of its catalogue entries RVscatter and RVerrMed and added 0.2 km s^{1} in quadrature, following the advice of Friedrich Anders (priv. comm.). For Galah I conservatively use 0.6 km s^{1}, following the statement in Martell et al. (2017) that 98% of all stars have a smaller standard deviation than this.
 2.
I then independently queried the GaiaTGAS archive to find all stars which, assuming them all to have radial velocities of  v_{r}  = 750 km s^{1}, would come within 10 pc of the Sun according to the linear motion approximation (LMA) ( pc). The LMA models stars as moving on unaccelerated paths relative to the Sun, so has a quick analytic solution (see Paper I). By using a fixed radial velocity I could run the archive query (listed in Appendix A) independently of any RV catalogue, and by using the largest plausible radial velocity I obtained the mostinclusive list of encounters (the larger the radial velocity, the closer the approach). The value of 750 km s^{1} is chosen on the basis that the escape velocity from the Galaxy (with the model adopted for the orbit integrations) is 621 km s^{1} at the Galactic Centre (GC) and 406 km s^{1} at the solar circle; a reasonable upper limit is 500 km s^{1}. To this I add the velocity of the Sun relative to the GC (241 km s^{1}) to set a limit of 750 km s^{1}, on the assumption that very few stars are really escaping from the Galaxy. This query (run on 16112016) identified 541 189 stars. Stars with nonpositive parallaxes are removed, leaving 540 883 stars (call this ASTcat).

I now remove from RVcat all objects which have  v_{r}  > 750 km s^{1} or σ(v_{r}) > 10 km s^{1} or which have one of these values missing. This reduces RVcat to 397 788 objects, which corresponds to 322 462 unique stars. This is approximately the number of objects/stars I can test for being encounters^{1}. The number of objects for each of the catalogues is shown in Col. 3 of Table 1.
Table 1Number of objects (not unique stars) in the RV catalogues.
 4.
The common objects between this reduced RVcat and ASTcat are identified (using the Tycho/Hipparcos IDs). These 98 849 objects all have – by construction – a Tycho/Hipparcos ID, TGAS data, positive parallaxes,  v_{r}  ≤ 750 km s^{1}, σ(v_{r}) ≤ 10 km s^{1}, and would encounter the Sun within 10 pc (using the LMA) if they had a radial velocity of 750 km s^{1}. Applying the LMA now with the measured radial velocity, I find that 725 have pc. The number per RV catalogue is shown in the fourth column of Table 1. Only these objects will be considered in the rest of this paper. The distribution of the measurements, including their standard deviations and correlations, can be found in BailerJones (2017).
 5.
These 725 objects are then subject to the orbit integration procedure described in Sects. 3.3 and 3.4 of Paper I. This gives accurate perihelia both by modelling the acceleration of the orbit and by numerically propagating the uncertainties through the nonlinear transformation of the astrometry. To summarize: the 6D Gaussian distribution of the data (astrometry plus radial velocity) for each object is resampled to produce 2000 “surrogate” measurements of the object. These surrogates reflect the uncertainties in the position and velocity (and takes into account their covariances, which can be very large). The orbit for every surrogate is integrated through the Galactic potential and the perihelia found. The resulting distribution of the surrogates over the perihelion parameters represents the propagated uncertainty. These distributions are asymmetric; ignoring this can be fatal (see Sect. 3 for an example). I summarize the distributions using the median and the 5% and 95% percentiles (which together form an asymmetric 90% confidence interval, CI)^{2}. I use the same Galactic model as in Paper I. The integration scheme is also the same, except that I now recompute the sampling times for each surrogate, as this gives a better sampling of the orbit.
This procedure does not find all encounters, because an initial LMAselection is not guaranteed to include all objects which, when properly integrated, would come within 10 pc. Yet as the LMA turns out to be a reasonable approximation for most stars (see next section), this approach is adequate for identifying encounters which come much closer than 10 pc.
3. Close encounters found in TGAS
As duplicates are present in the RV catalogue, the 725 objects found correspond to 468 unique stars (unique Tycho/Hipparcos IDs). The numbers coming within various perihelion distances are shown in Table 2. The data for those with pc are shown in Table 3 (the online table at CDS includes all objects with pc). Negative times indicate past encounters.
Number of objects and stars found by the orbit integration to have .
Perihelion parameters for all objects with a median perihelion distance (median of the samples; ) below 2 pc, sorted by this value.
Figure 1 plots the perihelion times and distances. Although the objects were selected by the LMA to come within 10 pc of the Sun, some of the orbit integrations result in much larger median perihelion distances. The differences between the two estimates – LMA and median of orbitintegrated surrogates – are shown in Fig. 2. The differences arise both due to gravity and to the resampling of the data. The largest differences are seen at larger (absolute) times. These objects have small and lowsignificance parallaxes and proper motions. The resulting distribution over the perihelion parameters is therefore very broad (as seen from the large confidence intervals in Fig. 1), with the consequence that the median can differ greatly from the LMA value. If I use the LMA to find the perihelion of the surrogates and then compute their median, there are still large differences compared to the orbit integration median (up to 170 pc; the plot of differences looks rather similar to Fig. 2). This proves that the inclusion of gravity, and not just the resampling of the data, has a significant impact on the estimated perihelion parameters.
As we are only interested in encounters which come within a few pc, Fig. 3 zooms in to the perihelion range 0–5 pc. The perihelion speeds for these objects are shown in Fig. 4.
Fig. 1 Perihelion times and distances computed by orbit integration for all 725 objects. Open circles show the median of the perihelion time and distance distributions. The error bars show the limits of the 5% and 95% percentiles (which together form an asymmetric 90% confidence interval). Note that this set of objects includes duplicates (see Table 2). 
Fig. 2 Difference between perihelion estimates from orbit integration of surrogates () and the linear motion approximation (), on a log scale. The black symbols are for , the red symbols for . The set of objects is the same as shown in Fig. 1, but excluding, for plotting purposes, the three points with Myr. 
Fig. 3 As Fig. 1, but zoomed in to the range . The time axis is scaled to show all encounters in this distance range. 
Fig. 4 Median perihelion velocities from the orbit integrations for those encounters shown in Fig. 3. 
Immediately apparent in Fig. 3 is the very close encounter at 1.3 Myr in the future. This is the K7 dwarf Gl 710 (Tyc 51021001, Hip 89825), known from many previous studies to be a very close encounter. In Paper I, I found a median encounter distance of 0.26 pc (90% CI 0.10–0.44 pc). TGAS reveals a much smaller proper motion than Hipparcos2: 0.50 ± 0.17 mas yr^{1} as opposed to 1.8 ± 1.2 mas yr^{1} (the parallax is the same to within 2%). Using the same radial velocity, my orbit integration now gives a median perihelion distance of 0.08 pc (90% CI 0.05–0.10 pc), equivalently 16 000 AU (90% CI 10 000–21 000 AU). This makes Gl 710 once again the closest known stellar encounter^{3}. Berski & Dybczyński (2016) found a very similar value using the same data and a similar method. Although this close approach will take Gl 710 well within the Oort cloud – and its relative velocity at encounter is low (14 km s^{1}) – its low mass (around 0.6 M_{⊙}) limits its perturbing influence. This is analysed by Berski & Dybczyński (2016).
The second closest encounter is Tyc 474413941 at = 0.87 pc, two million years ago. This is based on a RAVE radial velocity of 120.7 ± 1.6 km s^{1}. A second RAVE measurement gives 15.3 ± 1.2 km s^{1}, which puts the encounter at a much larger distance of pc, 12.9 Myr in the past. This discrepancy may suggest both measurements are unreliable.
Tyc 10419961 (Hip 94512) was found in Paper I to encounter between 0.59–3.30 pc or 0.58–4.60 pc (90% CI), depending on the whether the Tycho2 or Hipparcos2 proper motion was adopted. TGAS puts a much tighter constraint on its perihelion distance, using the same radial velocity.
Tyc 50338791 is not in Hipparcos so was not in Paper I, and has not previously been reported as a close encounter. Its large radial velocity is from RAVE (DR5). The spectrum has a very low signaltonoise ratio, and the standard deviation computed by resampling is very high (StdDev_HRV = 246 kms), so this measurement is probably spurious. This catalogue lists a second value of −6.5 ± 7.0 km s^{1} for the same RAVE ID (RAVE J160748.3012060). Another object with a different RAVE ID (RAVE J160748.3012059) – but very close by, and matched to the same Tycho ID by RAVE – has −11.6 ± 2.1 km s^{1}.
Tyc 709631 is Hip 26335. I found this to be a close encounter with very similar perihelion parameters in Paper I. The TGAS measurements are very similar to those from Hipparcos2, but more precise.
I make no special provision for unresolved physical binaries in my search for encounters. The two objects Tyc 475318921 and Tyc 475318922 listed in Table 3 are in fact the two components of the spectroscopic binary Hip 25240, for which there is just one entry in TGAS (but both were listed separately in two RV catalogues). Their mutual centreofmass motion means the encounter parameters computed will be slightly in error. This could be corrected for in some known cases, but the many more cases of unidentified binarity would remain uncorrected. The situation will improve to some degree once Gaia includes higher order astrometric solutions for physical binaries (see Sect. 6).
Many of the other objects found in this study were likewise found to be close encounters in Paper I, sometimes with different perihelion parameters. The main reasons why some were not found in the earlier study are: not in the Hipparcos catalogue (for example because they were too faint); no radial velocity available; the TGAS and Hipparcos astrometry differ so much that d_{ph} was too large using the Hipparcos data to be reported in Paper I.
A few of the other closest encounters in Table 3 have suspiciously high radial velocities. Some or all of these may be errors, although it must be appreciated that close encounters are generally those stars which have radial velocities much larger than their transverse velocities. Tyc 53831871 is, according to Simbad, a B9e star. If the radial velocity from APOGEE (SDSS 2M065253051000270) is correct – and this is questionable – its perihelion speed was a whopping 687 km s^{1}. As its proper motion is very uncertain (0.55 ± 0.57) mas yr^{1}, the range of perihelion distances is huge. The radial velocity for Tyc 69756561 is from RAVE. The value StdDev_HRV = 545 km s^{1} in that catalogue indicates its radial velocity, and therefore its perihelion parameters, are highly unreliable.
Slightly surprising is the fact that 18 of the 20 objects with pc have encounters in the past. However, these 20 objects only correspond to 15 systems, and 13 of 15 is not so improbable. Moreover, for pc the asymmetry is much weaker: 35 objects have encounters in the past vs. 21 in the future.
Fig. 5 Comparison of object encounters found in the present work with TGAS (left) and those found in Paper I from Hipparcos (right). Both sets of estimates are from the linear motion approximation of the nominal data. In the left and right panels there are 16 objects and 1 object respectively which lie at times beyond the limits of the plots. Both panels shows all objects, not unique stars, so include duplicates. 
Figure 5 compares the encounters found in Paper I with those found in the present study. For this comparison I use the perihelion parameters computed by the LMA with the nominal data, as this permits an unbiased comparison out to 10 pc. The most striking feature is that the Hipparcosbased study finds more encounters (1704 vs. 725 objects; 813 vs. 468 stars), despite the fact that the number of objects searched for encounters (i.e. those with complete and appropriate astrometry and radial velocities) is nearly four times larger in the present study: 397 788 compared to 101 363. Looking more closely, we also see that the present study finds comparatively few encounters at perihelion times near to zero. This is partly due to the fact that TGAS omits bright stars: brighter stars tend to be closer, and therefore near perihelion now (because the closer they are, the smaller the volume of space available for them to potentially come even closer). TGAS’s bright limit is, very roughly, G = 4.5 mag (Gaia Collaboration 2016a), whereas Hipparcos did not have one. For the encounters in Paper I we indeed see a slight tendency for brighter stars to have smaller perihelion times. Some of the brightest stars in that study – and missed by TGAS – were also the closest encounters listed in Table 3 of Paper I, and include wellknown stars such as Alpha Centauri and Gamma Microscopii. Yet as we shall see in Sect. 4, the encounter model actually predicts a minimum in the density of encounters at exactly zero perihelion time. Note that Barnard’s star is missing because TGAS does not include the 19 Hipparcos stars with proper motions larger than 3500 mas (Lindegren et al. 2016).
In Paper I, I drew attention to the dubious data for a number of apparent close encounters. This included the closest encounter found in that study, Hip 85605. Unfortunately this and several other dubious cases are not in TGAS, so further investigation will have to await later Gaia releases. The closestapproaching questionable case from Paper I in the present study is Hip 91012 (Tyc 51161431). This was flagged as dubious on account of its very high radial velocity in RAVEDR4 (−364 ± 22 km s^{1}; other RV catalogues gave lower values and thus more distant encounters). The TGAS astrometry agrees with Hipparcos, but the RAVEDR5 radial velocity has a large uncertainty, and so was excluded by my new selection procedure. This same deselection applies to several other cases not found in the present study. Dybczyński & Berski (2015) discuss in more detail some of the individual problematic cases in Paper I.
More interesting is Hip 42525 (Tyc 29859821). The parallax is much smaller in TGAS than in Hipparcos2: 5.9 ± 0.5 mas compared to 68.5 ± 15.5 mas. (The proper motions agree.) This puts its perihelion (according to the LMA) at around 90 pc. In Paper I, I pointed out that the Hipparcos catalogue flagged this as a likely binary, with a more likely parallax of 5.08 ± 4.28 mas. TGAS confirms this, but with ten times better precision. Its companion is Tyc 298516001, also in TGAS.
Fig. 6 As Fig. 3, but now plotting each object as a circle, the area of which is proportional to , which is proportional to the impulse transferred to the Oort cloud per unit mass of encountering star. (The plotting symbol is a circle with a diagonal cross, but the latter is not apparent in the smallest symbols.) The values for the plotted symbols range from 0.0088 to 3.5 s km^{1} pc^{2}. 
Equation (1) approximates the change of momentum of an Oort cloud comet due to an encounter. As we do not (yet) know the masses of most of the encountering stars (not all have the required photometry/spectroscopy), this cannot be determined. But we can compute , which is proportional to the velocity change per unit mass of encountering star. This is visualized in Fig. 6 as the area of the circles. The importance of Gl 710 compared to all other stars plotted is selfevident. Even if the second largest circle corresponded to a star with ten times the mass, Gl 710 would still dominate the momentum transfer. This is in part due to the squared dependence on d_{ph}. For very close encounters – where the star comes within the Oort cloud – the impulse is better described as 1/(v_{ph}d_{ph}) (Rickman 1976), in which case Gl 710 is not so extreme compared to other stars. The impact of the different encounters is better determined by explicit numerical modelling, as done, for example, by Dybczyński (2002), Rickman et al. (2012), and Feng & BailerJones (2015).
Comments on another TGAS study.
Just after I had submitted this paper for publication, there appeared on arXiv a paper by Bobylev & Bajkova (2017) reporting encounters found from TGAS/RAVEDR5 by integrating orbits in a potential.
They find three encounters they consider as reliable, defined as having fractional errors of less than 10% in initial position and velocity, and a radial velocity error of less than 15 km s^{1}(all three have σ(v_{r}) < 4.1 km s^{1}). One of these is Gl 710, for which they quote d_{ph} = 0.063 ± 0.044 pc, broadly in agreement with my result. Their other two results are quite different from mine and are probably erroneous.
The first is Tyc 65289801, which they put at d_{ph} = 0.86 ± 5.6 pc. It is not clear from their brief description how this uncertainty is computed (seemingly the standard deviation of a set of surrogate orbits), but such a large symmetric uncertainty is inadmissible: just a 0.15sigma deviation corresponds to an impossible negative perihelion distance. Their quoted best estimate of 0.86 pc is also dubious. I derive a very different value using the same input data: pc with a 90% CI of 1.75–16.9 pc (the large range being a result of the low significance proper motion). The difference is unlikely to arise from the different potential adopted. Even the LMA with the same data gives a perihelion distance of 6.9 pc. I suspect their estimate comes directly from integrating an orbit for the nominal data. When I do this I get a perihelion distance of 1.60 pc. Yet this value is not representative of the distribution of the surrogates, as can be seen in Fig. 7. Although the measured astrometric/RV data have a symmetric (Gaussian) uncertainty distribution, the nonlinear transformation to the perihelion parameters means not only that this distribution is asymmetric, but also that the nominal data is not necessarily near the centre (it is particularly extreme in this case). We have to correctly propagate the uncertainties not only to get a sensible confidence interval, but also to get a sensible point estimate. The perihelion time I compute from the nominal data (–8.9 Myr) is consistent with the median (−8.9 Myr) and 90% confidence interval (−12.2 to −7.0 Myr) in this case, whereas Bobylev & Bajkova report −2.8 ± 0.7 Myr.
Their other encounter (Tyc 80886311) shows a similar problem. They quote a perihelion distance of 0.37 ± 1.18 pc, whereas I find pc with a 90% CI of 0.6–5.9 pc, and the LMA puts it at 0.95 pc.
Bobylev & Bajkova list in their Table 3 several other encounters which they consider less reliable. These all have radial velocity uncertainties larger than 10 km s^{1}, so did not t enter my analysis. Bobylev & Bajkova do not mention several close several encounters which I find, even though their RAVE selection is more inclusive. This may be because they choose a smaller limit on perihelion distance.
4. Accounting for survey incompleteness
A search for stellar encounters is defined here as complete if it discovers all stars which come within a particular perihelion time and perihelion distance. Incompleteness arises when objects in this time/distance window are not currently observable. This may occur in a magnitudelimited survey because a star’s large distance may render it invisible. The completeness is quantified here by the function C(t_{ph},d_{ph}), which specifies the fraction of objects at a specified perihelion time and distance which are currently observable.
Fig. 7 Distribution of the perihelion distance (from the orbital integration of the 2000 surrogates) for Tyc 65289801. The green, red, and blue lines (left to right) show the nominal, LMA, and median estimates. This demonstrates that the nominal estimate – from integrating the orbit of just the nominal data – can be very unrepresentative of the distribution we get when we account for the uncertainties in the data. 
I estimate C by constructing a model for encounters and determining their observability within a survey. The encounter data are not used. I first define a model for the distribution and kinematics of stars. In its most general form this is a sixdimensional function over position and velocity (or sevendimensional function if we also include time evolution of the distributions). I then integrate the orbits of these stars to derive the probability density function (PDF) over perihelion time and distance, P_{mod}(t_{ph},d_{ph}). (Below I neglect gravity, so this integration will be replaced by the LMA.) The subscript “mod” indicates this has been derived from the model and, crucially, has nothing to do with the potential nonobservability of stars. I then repeat this procedure, but taking into account the selection function of the survey. In general this would involve a spatial footprint, an extinction map, as well as bright and faint magnitude limits and anything else which leads to stars not being observed. This allows us to derive , where the “exp” subscript indicates this is the distribution we expect to observe in the survey (the asterisk indicates this is not a normalized PDF; more on this later). As shown in Appendix B, the ratio is the completeness function.
In principle we could extend the completeness function to also be a function of the perihelion speed, v_{ph} (and also the three other perihelion parameters which characterize directions). But I will assume we are 100% complete in this parameter, i.e. we do not fail to observe stars on account of their kinematics.
4.1. The model
I implement the above approach using a very simple model for the encountering stars. Let r be the distance from the Sun to a star of absolute magnitude M and space velocity (relative to the Sun) v. My assumptions are as follows^{4}:

1.
the stellar spatial distribution is isotropic, described by P(r);

2.
the stellar velocity distribution is isotropic and homogeneous, described by P(v);

3.
the stellar luminosity function, P(M), is homogeneous;

4.
there is no extinction;

5.
stellar paths are linear (no gravity);

6.
the survey selection function, S(m), is only a function of the apparent magnitude m. It specifies the fraction of objects observed at a given magnitude.
Note that P(r), P(v), and P(M) are all onedimensional functions, which will greatly simplify the computation of P_{mod}(t_{ph},d_{ph}) and . The symmetry in these assumptions means any distribution will be symmetric in time. We therefore only need to consider future encounters.
Although my model is very simple (see the end of this subsection), it turns out to be reasonably robust to some changes in the assumed distributions, as we shall see. This is because we are only interested in how P_{mod}(t_{ph},d_{ph})changes under the introduction of the selection function. The poorlydefined selection functions of the TGAS data and the RV catalogues mean we would gain little from constructing a more complex model, yet we would pay a price in interpretability.
Fig. 8 Geometry of a close encounter for a star initially at distance r and reaching a perihelion distance of d_{ph} at point P, whereby d_{ph} ≤ r. 
Using these assumptions I now derive P(t_{ph},d_{ph}). The initial steps are valid for both the “mod” and “exp” distributions, so I omit the subscripts where they are not relevant.
The geometry for an arbitrary star currently at distance r from the Sun is shown in Fig. 8. The star travels a distance x to reach perihelion at point P, when its distance from the Sun is d_{ph}. Note that d_{ph} ≤ r, otherwise the star has already been at perihelion (and I neglect past encounters due to time symmetry). To achieve a perihelion between distance d_{ph} and d_{ph} + δd_{ph}, this star must pass through a circular ring of inner radius h and infinitesimal width δd_{ph}. Note that δd_{ph} is parallel to d_{ph} and so perpendicular to the direction of motion. The area of this circular ring as seen from the initial position of the star is therefore δA = 2πhδd_{ph}, its circumference times its width. As all directions of travel for the star are equally probable (isotropic velocity distribution), the probability that this star has a perihelion distance between d_{ph} and d_{ph} + δd_{ph} is just proportional to δA. That is From the diagram we see that (4)and (5)from which it follows that (6)We can normalize analytically to get (7)Plots of this distribution for different values of r are shown in Fig. 9. This may be counterintuitive. For fixed r the PDF is proportional to h (Eq. (83)). As we increase d_{ph} from zero, h initially increases from zero. As the line SunP is always perpendicular to the line Pstar, increasing d_{ph} beyond some point leads to h decreasing. The PDF therefore has a maximum at d_{ph}<r.
Fig. 9 PDF over the perihelion distance for stars with different initial distances r = 10,11,12,13,14,15,20,25,50,100 pc, shown in different colours, as described by the model (Sect. 4.1). The lines for r> 20 pc extend beyond the right boundary of the plot, but have the same shape, dropping to zero at d_{ph} = r. 
We now compute the distribution over perihelion times. As velocities are constant, the time of the encounter, t_{ph}, is c_{0}x/v, where v is the velocity. Using parsecs for distance, years for time, and km s^{1} for velocity, c_{0} = 0.97779 × 10^{6}. For a given x there is a onetoone correspondence between v and t_{ph}. As x is determined by d_{ph} and r, this means we can write (8)Because we are assuming an isotropic and homogeneous velocity distribution, P(v), we can write the term on the right as P(v) dv. It then follows that with x given by Eq. (5). This distribution is normalized (provided P(v) is).
The model PDF we want is related to the two PDFs we just derived by marginalization, namely (11)Typically, this integral must be computed numerically. I do this below by integrating on a grid.
The impact of the selection function is to reduce the number of stars we would otherwise see. The selection function depends only on apparent magnitude which, as I neglect extinction, is m = M + 5(log r−1). Consequently the selection function only modifies the distance distribution, P_{mod}(r), to become (12)This PDF is not normalized (I use the asterisk to remind us of this). As 0 ≤ S(m) ≤ 1, for all r, i.e. the change from P_{mod}(r) to reflects the absolute decrease in the distribution due to the selection function. This integral I also evaluate on a grid. The expected PDF over the perihelion time and distance is then (13)which is also not normalized. The completeness function is defined as (14)where F_{mod}(t_{ph},d_{ph}) and F_{exp}(t_{ph},d_{ph}) are the model and expected encounter flux – number of encounters per unit perihelion time and distance – respectively. As shown in Appendix B, the completeness can be written as (15)which is the ratio of the two PDFs I just derived. For all t_{ph} and d_{ph}, 0 ≤ C(t_{ph},d_{ph}) ≤ 1. This completeness function gives the probability (not probability density!) of observing an object at a given perihelion time and distance. I will use it in Sect. 4.3 to infer the encounter rate.
To compute the completeness function we need to select forms for the various input distributions. These are shown in Fig. 10. For the distance distribution I use an exponentially decreasing space density distribution (BailerJones 2015b) (16)and L is a length scale, here set to 100 pc. This produces a uniform density for r ≪ L. This is shown in panel (a) as the solid line. This form has been chosen mostly for convenience, with a length scale which accommodates the decrease in density due to the disk scale height. The dashed line in panel (a) is . As expected, the selection function reduces the characteristic distance out to which stars can be seen. Panels (b) and (c) show the velocity and absolute magnitude distributions respectively. These are both implemented as shifted/scaled beta distributions, so are zero outside the ranges plotted. Again these have been chosen mostly for convenience. The luminosity distribution is a rough fit to the distribution in Just et al. (2015), with a smooth extension to fainter magnitudes. The lower end of the velocity distribution is a reasonable fit to the TGAS stars, but I have extended it to larger velocities to accommodate halo stars. This distribution ignores the anisotropy of stellar motions near to the Sun (e.g. Feng & BailerJones 2014). But as I am not concerned with the (l,b) distribution of encounters, this is not too serious (I effectively average over (l,b)). None of these distributions is particularly realistic, but are reasonable given the already limiting assumptions imposed at the beginning of this section. Earlier attempts at completeness correction for encounter studies used even simpler assumptions. In Sect. 4.5, I investigate the sensitivity of the resulting completeness function to these choices. Panel (d) models the TGAS selection function, as derived from the information given in Høg et al. (2000) and Lindegren et al. (2016). Due to the preliminary nature of the TGAS astrometric reduction, the complex selection function of the Tycho catalogue, and what was included in TGAS, this is a simple approximation of the true (unknown) TGAS selection function. In practice the selection function does not depend only on apparent magnitude. In particular, there are some bright stars fainter than my bright limit of G = 4.5 that are not in TGAS. The only way to accommodate for such an incompleteness would be to inflate the encounter rate based on other studies, but this comes with its own complications, such as how to model their incompletenesses. The goal in the present work is to explore the consequences of a very simple model. Once we have data with betterdefined selection functions, more complex – and harder to interpret – models will become appropriate and necessary.
4.2. Model predictions
Fig. 10 Input distributions for the completeness model are the a) distance (solid line), b) space velocity, c) absolute magnitude (normalized PDFs). The selection function (on apparent magnitude) is shown in panel d. This modifies the model distance distribution to become the expected distribution shown as the dashed line in panel a. 
Fig. 11 Distribution of stellar encounters in the model (left column of plots) and what we expect to observe from this model given the selection function (right column). Top row of plots: twodimensional PDFs P_{mod}(t_{ph},d_{ph}) (left) and (right) on a colour scale in units Myr^{1} pc^{1}. The colour scale covers the full range of densities plotted (and is different in the two cases, being a factor of 4.4 larger for the model). Middle row: onedimensional conditional PDFs over perihelion distance for different values of t_{ph} ranging from 100 kyr to 5 Myr in steps of 20 kyr. These are vertical cuts through the twodimensional PDF (and renormalized, as given by Eq. (17) for the model distribution). Bottom row: onedimensional conditional PDFs over perihelion time for different values of d_{ph} ranging from 0.1 pc to 10 pc in steps of 0.1 pc. Only the positive perihelion times are shown for the four conditional plots, which also use different density scales (vertical axes). 
Using these input distributions, the resulting distribution P_{mod}(t_{ph},d_{ph}) for the model is shown in the top left panel of Fig. 11. The distribution we expect to observe – i.e. after application of the selection function – is show in the top right panel. The onedimensional conditional distributions derived from these, e.g. (17)are shown in the bottom two rows.
By construction, these distributions are symmetric about t_{ph} = 0. Consider the form of P_{mod}(t_{ph}  d_{ph}) in the bottom left panel of Fig. 11. This increases from zero at t_{ph} = 0 to a maximum somewhere between 0 and 0.25 Myr (depending on d_{ph}) before decreasing at larger t_{ph}. This can be understood from the encounter geometry and the combination of the input distance and velocity distributions. Stars that encounter in the very near future are currently nearby (small r), but “nearby” has a limited volume (∝r^{3}) and so a limited supply of stars. Thus the further into the future encounters occur, the more volume there is available for their present positions, so – provided the space density does not drop – the more encounters there can be. This explains the increase in P_{mod}(t_{ph}  d_{ph}) at small t_{ph}. But at large enough distances the space density of stars does drop (Fig. 10a), so the number of potentially encountering stars also decreases. These currently more distant stars generally have encounters further in the future, which is why P_{mod}(t_{ph}  d_{ph}) decreases at larger t_{ph}. Stars coming from L = 100 pc (where the space density has dropped off by a factor of e^{1}) with the most common space velocity (60 km s^{1}, the mode of P(v) in Fig. 10b) take 1.7 Myr to reach us, and we see in the figure that P_{mod}(t_{ph}  d_{ph}) has already dropped significantly by such times^{5}.
The P(t_{ph},d_{ph}) distribution is not invariant under translations in the perihelion time, but this does not mean we are observing at a privileged time. After all, there is no time evolution of the stellar population in our model, so we would make this same prediction for any time in the past or future. It is important to realise that Fig. 11 shows when and where stars which we observe now will be at perihelion. The dropoff at large perihelion times is a result of the adopted spatial and velocity distributions. In some sense these distributions are not selfconsistent, because this velocity distribution would lead to a changing spatial distribution.
Other than for very small values of t_{ph}, we see that P_{mod}(d_{ph}  t_{ph}) increases linearly with d_{ph} over the perihelion distances shown (0–10 pc). The number of encounters occurring within a given distance, which is proportional to the integral of this quantity, therefore varies as . This behaviour may seem counterintuitive (e.g. for a uniform density, the number of stars within a given distance grows as the cube of the distance). But it can again be understood when we consider the phase space volume available for encounters: in order for a star to encounter at a distance d_{ph} of the Sun, it must traverse a thin spherical shell (centred on the Sun) of radius d_{ph}. The volume of this shell scales as , so the number of stars traversing this volume also scales as . Thus the number of encounters per unit perihelion distance, which is proportional to P_{mod}(d_{ph}  t_{ph}), scales as d_{ph}, as the model predicts. This will break down at large d_{ph}, because even though the phase space available for encountering continues to grow, the number of stars available to fill it does not, because of the form of P_{mod}(r). Thus P_{mod}(d_{ph}  t_{ph}) will decrease for sufficiently large d_{ph} (which anyway must occur, because the PDF is normalized). Examination of P_{mod}(d_{ph}  t_{ph}) out to much larger distances than those plotted confirms this. There is a second contribution to this turnover, namely that at smaller t_{ph} the volume from which the encounters can come is also smaller (as explained earlier). Thus for these times we begin to “run out” of encounters already at smaller values of d_{ph}. This can be seen as a levellingoff of P_{mod}(d_{ph}  t_{ph}) at very small t_{ph} in Fig. 11 (upper lines in middle left panel).
The expected distributions (the right column of Fig. 11) are qualitatively similar to the model distributions. The main difference is that the expected distribution is squeezed toward closer times. This is consistent with the fact that we only observe the brighter and therefore generally nearer stars in our survey, which correspondingly have smaller encounter times.
Fig. 12 As the top right panel of Fig. 11, now overplotted with the TGAS encounters found using the linear motion approximation , with duplicates removed at random. 
Figure 12 overplots the perihelion times and distances of the TGAS encounters with this expected distribution. For this plot I have used the encounters as found with the linear motion approximation, rather than with the orbit integrations, because the latter will be incomplete near to 10 pc (as explained in Sect. 2). I show only the 439 unique stars (rather than all objects), with duplicates removed at random. As the model is very simple we do not expect good agreement with the observations. But the data show a similar distribution, in particular fewer encounters both at large times and at times near to zero. Recall that the encounter model shows an intrinsic minimum – in fact a zero – at t_{ph} = 0, i.e. it is not due to observational selection effects. Rather it is due to the vanishing amount of phase space available for encountering stars as t_{ph} decreases to zero. So we expect to see this in the data. While we see it here, it is not clearly discernable in my earlier Hipparcosbased study (Fig. 2 of Paper I).
Fig. 13 Completeness function, C(t_{ph},d_{ph}) (top panel). This shows the probability of observing an encounter as a function of its perihelion time and distance. It uses distributions of stellar properties and an approximation of the TGAS selection function (see Sect. 4.1) and is mirrorsymmetric about t_{ph} = 0. The values shown range between 0.05 and 0.57, which excludes t_{ph} = 0 and d_{ph} = 0 as formally the incompleteness is undefined at these values. Cuts through this parallel to the d_{ph} axis are shown in the middle panel for t_{ph} from 20 kyr to 5 Myr in steps of 20 kyr. Cuts parallel to the t_{ph} axis (for positive t_{ph}) are shown in the bottom panel for d_{ph} from 0.1–10 pc in steps of 0.1 pc. 
The completeness function (computed with Eq. (15)) is shown in the top panel of Fig. 13. Formally C(t_{ph} = 0,d_{ph}) and C(t_{ph},d_{ph} = 0) are undefined (zero divided by zero), but given the time symmetry and the form of the plots, it is clear that at fixed d_{ph} the function varies continuously at t_{ph} = 0, so I use constant interpolation to fill this. The true completeness will not go to unity at t_{ph} = 0 for very small d_{ph}, because such encountering stars would currently be so close and hence some so bright that they would be unobservable due to the bright limit of the selection function^{6}. I avoid the formal singularity at d_{ph} = 0 in the following by using a lower limit of d_{ph} = 0.1 pc. This and the constant interpolation have negligible impact on the following results.
We see from Fig. 13 that the completeness ranges from 0.05 at large perihelion times to 0.57 for very close times. The mean completeness for  t_{ph}  < 5 Myr and d_{ph}< 5 pc is 0.091 (0.099 for d_{ph}< 2 pc). That is, if all TGAS stars had measured radial velocities, we would expect to observe about 1 in 11 of the encountering stars in this region (if the Galaxy really followed the model assumptions laid out above). This might seem a rather large fraction, given that Fig. 10a shows a much smaller fraction of stars retained when the selection function is applied to P_{mod}(r) (solid line) to achieve . But shows the observability of all stars, not just the encountering stars. A completeness correction based on the observability of all stars would be incorrect, because it would “overcorrect” for all those stars which would not be close encounters anyway.
There is very little dependence of the completeness on distance, except at the smallest times, as can be seen in the middle panel of Fig. 13, which shows cuts through the completeness at fixed times. At t_{ph} = 1 Myr, for example, the completeness varies from 0.106 at d_{ph} = 0.1 pc to 0.102 at d_{ph} = 10 pc. There is a strong dependence on time, in contrast, as can be seen in the bottom panel of Fig. 13. The lack of distance dependence is because, for a given encounter time, those stars which encounter at 0.1 pc have much the same current spatial distribution as those which encounter at 10 pc: they all come from a large range of distance which is much larger than 10 pc (unless t_{ph} is very small), so their average observability and thus completness is much the same. Perihelion times varying between 0 and 5 Myr, in contrast, correspond to populations of stars currently at very different distances, for which the observability varies considerably.
4.3. An estimate of the encounter rate
I now use the completeness function to correct the observed distribution of encounters in order to infer the intrinsic (“true”) distribution of encounters. From this we can compute the current encounter rate out to some perihelion distance.
Let F_{int}(t_{ph},d_{ph}) be the intrinsic distribution of encounters, i.e. the number of encounters per unit perihelion time and perihelion distance with perihelion parameters (t_{ph},d_{ph}). The corresponding quantity for the observed encounters is F_{obs}(t_{ph},d_{ph}). These two quantities are the empirical equivalents of F_{mod} and F_{exp}, respectively, introduced around Eq. (14). This equation therefore tells us that (18)where g is an extra factor accommodating the possibility that the search for encounters did not include all the observed stars (discussed below). Given this factor, the completeness function, and the observed distribution of encounters, we can derive F_{int}(t_{ph},d_{ph}). Integrating this over time and distance we infer the intrinsic number of encounters.
To do this I first represent the observed encounter distribution, F_{obs}(t_{ph},d_{ph}), as a continuous density. I compute this using kernel density estimation (with a Gaussian kernel) on the surrogates for all stars. (The surrogates are the data resamples in the orbital integration – see item 5 in Sect. 2.) By applying the density estimation to the surrogates – rather than, say, the median of the perihelion parameter distribution – we account for the uncertainties. When computing the density I only retain unique stars (duplicates are removed at random). I also exclude surrogates with v_{ph}> 300 km s^{1}, on the grounds that the model does not include faster stars either. This also gets rid of objects with the most spurious radial velocity measurements.
Figure 14 shows the resulting distribution. The density scale has been defined such that the integral over some perihelion time and distance region equals the (fractional) number of stars within that region. This number can be a fraction because not all of the surrogates for a star lie within the region.
Fig. 14 Density of the observed encounters, F_{obs}(t_{ph},d_{ph}), estimated by kernel density estimation over the surrogates (orbitalintegrated data samples) with v_{ph} ≤ 300 km s^{1}, for all unique stars. The colour scale gives the number of encounters per unit time and distance. The integral over time and distance is the (fractional) number of encountering stars. 
The completeness function describes what fraction of stars we miss on account of the TGAS selection function. But it does not reflect the fact that not all TGAS stars have radial velocities, and so could not even be tested for being potential encounters. This is accommodated by the factor^{7}g in Eq. (18). The total number of stars in TGAS is 2 057 050 (Lindegren et al. 2016, Sect. 5.1). The number of stars in TGAS for which I have valid radial velocities is 322 462, and this is approximately the number of stars which I could potentially have searched for encounters. Therefore, the fraction of stars in TGAS I effectively searched is g = 322 462/2 057 050 = 0.157.
I now apply Eq. (18) to find F_{int}(t_{ph},d_{ph}). Integrating this over some region of t_{ph} and d_{ph} gives the inferred number of encounters in that region. Dividing that by the time range of the region gives the average encounter rate.
For the full region over which the completeness has been computed,  t_{ph}  ≤ 5 Myr and d_{ph} ≤ 10 pc, the inferred encounter rate is 2117 ± 115 Myr^{1}. The quoted uncertainty reflects only the Poisson uncertainty arising from the finite number of observed encounters (it is the rate divided by the square root of the fractional number of encounters). This rate is likely to be an underestimate, however, because we will miss encounters near to 10 pc on account of the initial LMAbased selection (explained at the end of Sect. 2). Limiting the region to perihelion distances within 5 pc we get 545 ± 59 Myr^{1}. This is 3.9 times smaller, which follows almost exactly the quadratic dependence on the number of encounters within a given distance predicted by the encounter model (see Sect. 4.2).
If I limit the region to 2 pc we get an encounter rate of 124 ± 30 Myr^{1}. However, this estimate is based primarily on just the 13 stars with pc and km s^{1}, so has a larger uncertainty. If I instead scale quadratically the result for 5 pc, I get 87 ± 9 Myr^{1}, which is what I adopt as the rate inferred by this study.
The inferred encounter rates for smaller time windows tend to be higher. For d_{ph} ≤ 5 pc, the average rates for close encounters within 1, 2, 3, and 4 Myr of now are 844 ± 128, 816 ± 102, 725 ± 83, and 639 ± 70 Myr^{1} respectively. These are consistent within the quoted uncertainties, although these estimates are not independent because encounters in the shorter time intervals are also counted in the longer intervals.
4.4. Other published rates
Other authors have derived encounter rates using different data sets or from Galaxy models. Using the Hipparcos catalogue and a correction for incompleteness, GarcíaSánchez et al. (2001) derived a value of 11.7 ± 1.3 Myr^{1} within 1 pc (an average for the past and future 10 Myr, it seems). Applying the quadratic scaling with distance, this would correspond to 46.8 ± 5.2 Myr^{1} within 2 pc, which is about half the size of my result. Their approach to the incompleteness is very different: they compute a single factor for the fraction of stars within 50 pc which Hipparcos did not see (estimated as 1/5), even though many of their encounters would have travelled from much larger distances. My correction, in contrast, looks at the completeness as a function of encounter time and distance, based on nonuniform density and velocity distributions. The luminosity function they used in their correction (their Fig. 13) does not include nearly as many faint stars as mine (Fig. 10c). This may explain their smaller inferred encounter rate.
MartínezBarbosa et al. (2017) used Nbody simulations of the Galaxy for three different scenarios – with orbital migration from the inner disk, no significant migration, and with migration from the outer disk – to derive current encounter rates of 21, 39, and 63 Myr^{1} within 1.94 pc, respectively. These are all somewhat smaller than my inferred rate for the same distance.
4.5. Sensitivity to assumptions
My completeness model contains a number of simplifying assumptions, so I look here briefly at their impact on the completeness function and the derived encounter rate.
The adopted distance distribution (Eq. (16), Fig. 10a) uses a length scale of L = 100 pc. If I double this, then the model distribution P_{mod}(t_{ph}  d_{ph}) shown in the bottom left panel of Fig. 11 is stretched in time, because the bulk of the stars are now further away and so take longer to reach perihelion. The expected distribution (bottom right panel of Fig. 11) stretches in a similar way. The net result is a decrease in completeness, as we would expect, because the stars are now more distant and so less observable. The mean completeness for  t_{ph}  < 5 Myr and d_{ph}< 5 pc is 0.078 (compared to 0.091 before). Using this completeness function, the inferred encounter rate over the past/future 5 Myr within 5 pc is 659 ± 71 Myr^{1}, compared to 545 Myr^{1} computed earlier with L = 100 pc.
In the orignal model I assumed that the velocity distribution of stars was as shown in Fig. 11b. I now scale this distribution in velocity by a factor of two, keeping the shape the same (i.e. the mode shifts from 60 km s^{1} to 120 km s^{1}). As the stars are now moving much faster, we see relatively more encounters at closer times in the past/future (and likewise fewer at large times), because their travel times to encounter are shorter. The conditional distributions are compressed considerably compared to the nominal case. The mean completeness for  t_{ph}  < 5 Myr and d_{ph}< 5 pc is now decreased to 0.069, and the inferred encounter rate over this region is 782 ± 81 Myr^{1}, 1.4 times larger than before. (Scaling the velocities by a factor of a half – so the mode is 30 km s^{1} rather than 60 km s^{1} – lowers the encounter rate by the same factor.)
In reality, TGAS does not have the sharp brightmagnitude cut I use in the model (Fig. 10d). I set this to G = 4.5 on the grounds that there is only one star brighter in TGAS. Modelling the shape of the completeness at the bright end using very few stars is difficult, so I test the sensitivity to this choice by shifting the cutoff to G = 5.5 (375 TGAS stars are brighter than this). Remodelling the completeness, I find that the inferred encounter rate increases by just 1%. This is an increase and not a decrease because while the number of observed encounters stays the same, and therefore C are slightly smaller, thus increasing F_{int} (see Eqs. (15) and (18)).
These tests indicate that while the incompletenesscorrected encounter rate does depend on the assumed model parameters, it is not overly sensitive. Of course, the model remains rather unrealistic, not least the assumption of isotropic and independent distance and velocity distributions. Changes to these could have a more dramatic impact. On the other hand, the completeness function depends not on the model directly, but only on how the derived encounter distribution changes under the observational selection function, which is a weaker dependence. Nonetheless, for the deeper survey we expect in the second Gaia data release, a more sophisticated model should be adopted.
5. Summary and conclusions
I have searched for close stellar encounters using a combination of Gaia astrometry and several radial velocity catalogues. Candidates were identified from a list of 322 462 stars by assuming that stars travel on straight lines relative to the Sun, and identifying those which come within 10 pc. The orbits of these were then integrated in a Galactic potential to compute more precise perihelion parameters. This included an integration of resampled data (“surrogates”) in order to determine the (asymmetric) distribution over the perihelion time, distance, and speed for each star. These distributions are summarized with the 5%, 50% (median), and 95% percentiles (Table 3).
16 stars were found to have median perihelion distances less than 2 pc (see Table 2). This is fewer than I found in my Hipparcosbased study (Paper I), and fewer than expected given the much larger size of TGAS (it has 17 times more stars than Hipparcos, although due to the limited availability of radial velocities it is effectively only four times larger). This is in part because TGAS includes fewer bright stars (only one brighter than G = 4.5 mag), but also because I have excluded stars with large radial velocity uncertainties. Note that some of the encounters listed are almost certainly spurious due, for example, to implausibly large radial velocity measurements.
The closest encounter found is Gl 710, known for some time to come close to the Sun. TGAS determines a smaller proper motion than Hipparcos for this star, leading to a much smaller perihelion distance: now just 16 000 AU (90% CI 10 000–21 000 AU), making Gl 710 the closest approaching star known. This brings it within the Oort cloud, and although its mass is low, so is its velocity, so its perturbing influence is likely to be much higher than more massive but more distant encounters (Fig. 6).
I then set up simple models for the stellar spatial, velocity, and luminosity distributions and used these to compute the perihelion distribution we would observe in the absence of observational selection effects (left column of Fig. 11). This shows, for example, a decrease in the number of encounters at larger absolute perihelion times. This is a direct (and possibly counterintuitive) consequence of the adopted spatial and velocity distributions. I then determined how this distribution would change under the influence of the TGAS selection function (right column of Fig. 11). The ratio of this expected distribution to the model distribution gives the completeness function (Fig. 13). This tells us that the probability that TGAS observes a star which encounters within 2 pc within 5 Myr of now is on average 0.09 (and 0.20 within 1 Myr from now). This function shows very little change in the completeness out to 10 pc perihelion distance, but a strong drop off with perihelion time over ± 5 Myr. This is also seen in the distribution of observed encounters. I emphasize that the completeness model is based on very simple assumptions, in particular isotropic spatial and homogeneous velocity distributions, and a selection function which only depends on magnitude. A more complex model would bring few benefits for these data, because the selection functions for TGAS and the RV catalogues would still be poorly defined. The goal in this paper was to explore the consequences of a simple model; this will help the interpretation of more complex models (to be developed for later Gaia data releases). Yet even my simple model is an improvement on earlier attempts at deriving encounter rates, which have either ignored incompleteness or have assumed uniform distributions. Moreover, this is the first study to look at the completeness in the parameter space of interest, which is where we actually need it.
Combining the completeness function with the number of observed encounters (excluding those with  v_{r}  > 300 km s^{1}), and taking into account that not all TGAS stars had radial velocities, I estimated the intrinsic encounter rate. Averaged over the past/future 5 Myr this is 545 ± 59 Myr^{1} for encounters within 5 pc. My model predicts that this scales quadratically with the distance limit. This is confirmed by the data, as the incompletenesscorrected rate out to twice this distance is 2117 ± 115 Myr^{1}, a factor 3.9 ± 0.4 larger. Thus the implied encounter rate within 1 pc (scaling from the 5 pc result) is 21.8 ± 2.4 Myr^{1}. The quoted uncertainties reflect only Poisson uncertainties in the detected encounters; uncertainties due to model approximations are probably larger. The rates given are for all types of stars, as defined by the luminosity distribution in my model (Fig. 10c). As the true luminosity distribution is poorly sampled by TGAS, this is one source of additional uncertainty in my derived rates. In particular, TGAS omits more bright stars than my simple selection function accommodates, which would lead to my rates being slightly underestimated.
Some stars which are not both in TGAS and my radial velocity catalogues are additionally known to be close encounters (see references in the introduction). I have not included these in my analysis because cobbling together encounters found in different ways from different surveys makes modelling the incompleteness nearly impossible. The goal of the present paper was not to list all known close encounters, but rather to make a step toward a more complete modelling with later Gaia data releases.
6. Moving on: future Gaia data releases
The next Gaia data release (GDR2, planned for April 2018) should provide more precise parallaxes and proper motions for of order a billion stars down to G ≃ 21 and up to G ≃ 4. This will be vital for increasing the completeness of encounter searches, in particular to encounter times further in the past/future than a few Myr. Using my model together with an estimate of the GDR2 magnitude selection function, I compute the mean completeness over the range d_{ph}< 2 pc and  t_{ph}  < 5 Myr to be 0.75, eight times higher than TGAS. The completeness model in the present paper is too simplistic for GDR2, however, because GDR2 will include many moredistant stars. It should also have a betterdefined selection function (among other things, it will become independent of Tycho). It will then be appropriate to construct a threedimensional spatial model, as well as a threedimensional velocity model with spatial dependence, in order to better model the Galaxy (different components, disk rotation, etc.).
The number of encounters which can be found in GDR2 will be limited by the availability of radial velocities. Although GDR2 will include estimates of radial velocities for a few million of the brightest stars (to a precision of a few km s^{1}) – from the calcium triplet spectra observed by the satellite’s high resolution spectrograph (Gaia Collaboration 2016b) – this remains a small fraction of stars with astrometry. Even upcoming largescale spectroscopic surveys will obtain “only” tens of millions of spectra. We are now entering a period in which the ability to find encounters is limited not by the availability of astrometry, but by the availability of radial velocities. Furthermore, the Gaia astrometric accuracy is so good that the corresponding transverse velocity accuracy for encounter candidates will far exceed the precision of largescale radial velocity surveys. Using the official predictions of the endof5yearmission Gaia accuracy^{8}, a Gtype dwarf at a distance of 200 pc moving with a transverse velocity of 5 km s^{1} will have this velocity determined to an accuracy of 8 m s^{1}.
The following (third) Gaia data release will also include estimates of stellar masses and radii, derived by the DPAC using the low resolution Gaia spectroscopy, magnitude, parallax, and stellar models (BailerJones et al. 2013). We will then be able to estimate systematically actual impulses (Eq. (1)), and also to correct the measured radial velocities for the gravitational redshift, which is of order 0.5–1.0 km s^{1} (Pasquini et al. 2011). This data release should also include solutions for astrometric and spectroscopic binaries (Pourbaix 2011), thereby permitting a better computation of flight paths for such systems.
In Paper I, I reported the mean, although the median is available in the online supplement: http://www.mpia.de/homes/calj/stellar_encounters/stellar_encounters_1.html. The median is more logical when reporting the equaltailed confidence interval, as this interval is guaranteed to contain the median. The mean and median are generally very similar for these distributions.
When using a much larger length scale L, and/or a much smaller maximum velocity, then essentially all the encounters that reach us within a few Myr come from regions with the same, constant, space density. For example, using a velocity distribution with a mode at 20 km s^{1}, then in 2.5 Myr stars most stars come from within 50 pc, out to which distance the space density has dropped by no more than 5% when using L = 1000 pc. With this alternative model we still see a rise in P_{mod}(t_{ph}  d_{ph}) like that in Fig. 11 (now extending up to 1.5 Myr for the largest d_{ph} on account of the lower speeds). But the curves then remain more or less flat out to 5 Myr, which reflects the constant space density origin of most of the encountering stars.
As I do not compute C to arbitrarily small values of t_{ph}, the faint magnitude limit also prevents the plotted completeness going to one. For t_{ph} = 20 kyr – the smallest time I use; top line in the middle panel of Fig. 13 – stars moving at 60 km s^{1} to zero perihelion distance are currently 1.2 pc away (and faster stars are currently more distant). Any star at this distance with M> 18.1 will have m> 13.5 and so not be observable.
Describing this as a constant factor assumes that the selection of radial velocities is not a function of t_{ph} and d_{ph}. If fewer faint stars had radial velocities, for example, this may harm this assumption. We might expect missing faint stars to lower the completeness at larger t_{ph}, but it’s not as simple as this: the apparently faint stars are at a range of distances, so will contribute to a range of t_{ph}. More distant stars are also less likely a priori to encounter the Sun. Given the illdefined selection function of the combination of these radial velocity catalogues, any attempt at a more sophisticated correction would probably do more harm than good.
Acknowledgments
I thank members of the MPIA Gaia group for useful comments, and in particular Morgan Fouesneau for discussions on the completeness function and for assistance with ADQL. I also thank the anonymous referee for a constructively critical reading. This work is based on data from the European Space Agency (ESA) mission Gaia (https://www.cosmos.esa.int/gaia), processed by the Gaia Data Processing and Analysis Consortium (DPAC; https://www.cosmos.esa.int/web/gaia/dpac/consortium). Funding for the DPAC has been provided by national institutions, in particular the institutions participating in the Gaia Multilateral Agreement. This work has used the VizieR catalogue access tool, the Simbad object database, and the crossmatch service, all provided by CDS, Strasbourg, as well as TOPCAT. Funding for RAVE has been provided by: the Australian Astronomical Observatory; the LeibnizInstitut fuer Astrophysik Potsdam (AIP); the Australian National University; the Australian Research Council; the French National Research Agency; the German Research Foundation (SPP 1177 and SFB 881); the European Research Council (ERCStG 240271 Galactica); the Istituto Nazionale di Astrofisica at Padova; The Johns Hopkins University; the National Science Foundation of the USA (AST0908326); the W. M. Keck foundation; the Macquarie University; The Netherlands Research School for Astronomy; the Natural Sciences and Engineering Research Council of Canada; the Slovenian Research Agency; the Swiss National Science Foundation; the Science & Technology Facilities Council of the UK; Opticon; Strasbourg Observatory; and the Universities of Groningen, Heidelberg, and Sydney. The RAVE web site is https://www.ravesurvey.org.
References
 BailerJones, C. A. L. 2015a, A&A, 575, A35 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 BailerJones, C. A. L. 2015b, PASP, 127, 994 [NASA ADS] [CrossRef] [Google Scholar]
 BailerJones, C. A. L. 2017, in Astronomy and Astrophysics in the Gaia Sky, eds. A. RecioBlanco, P. de Laverny, A. Brown, & T. Prusti, IAU Symp., 330 [Google Scholar]
 BailerJones, C. A. L., Andrae, R., Arcay, B., et al. 2013, A&A, 559, A74 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 BarbierBrossat, M., & Figon, P. 2000, A&AS, 142, 217 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Berski, F., & Dybczyński, P. A. 2016, A&A, 595, L10 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Bobylev, V. V. 2010a, Astron. Lett., 36, 220 [NASA ADS] [CrossRef] [Google Scholar]
 Bobylev, V. V. 2010b, Astron. Lett., 36, 816 [NASA ADS] [CrossRef] [Google Scholar]
 Bobylev, V. V., & Bajkova, A. T. 2017, Astron. Lett., 43, 559 [NASA ADS] [CrossRef] [Google Scholar]
 Casagrande, L., Schönrich, R., Asplund, M., et al. 2011, A&A, 530, A138 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Duflot, M., Figon, P., & Meyssonnier, N. 1995, A&AS, 114, 269 [NASA ADS] [Google Scholar]
 Dybczynski, P. A. 1994, Celest. Mech. Dyn. Astron., 58, 139 [NASA ADS] [CrossRef] [Google Scholar]
 Dybczyński, P. A. 2002, A&A, 396, 283 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Dybczyński, P. A. 2006, A&A, 449, 1233 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Dybczyński, P. A., & Berski, F. 2015, MNRAS, 449, 2459 [NASA ADS] [CrossRef] [Google Scholar]
 Famaey, B., Jorissen, A., Luri, X., et al. 2005, A&A, 430, 165 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Fehrenbach, C., Duflot, M., Mannone, C., Burnage, R., & Genty, V. 1997, A&AS, 124, 255 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Feng, F., & BailerJones, C. A. L. 2014, MNRAS, 442, 3653 [NASA ADS] [CrossRef] [Google Scholar]
 Feng, F., & BailerJones, C. A. L. 2015, MNRAS, 454, 3267 [NASA ADS] [CrossRef] [Google Scholar]
 Fouchard, M., Froeschlé, C., Rickman, H., & Valsecchi, G. B. 2011, Icarus, 214, 334 [NASA ADS] [CrossRef] [Google Scholar]
 Gaia Collaboration (Brown, A. G. A., et al.) 2016a, A&A, 595, A2 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Gaia Collaboration (Prusti, T., et al.) 2016b, A&A, 595, A1 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 GarcíaSánchez, J., Preston, R. A., Jones, D. L., et al. 1999, AJ, 117, 1042 [NASA ADS] [CrossRef] [Google Scholar]
 GarcíaSánchez, J., Weissman, P. R., Preston, R. A., et al. 2001, A&A, 379, 634 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Gontcharov, G. A. 2006, Astron. Lett., 32, 759 [NASA ADS] [CrossRef] [Google Scholar]
 Høg, E., Fabricius, C., Makarov, V. V., et al. 2000, A&A, 355, L27 [NASA ADS] [Google Scholar]
 JiménezTorres, J. J., Pichardo, B., Lake, G., & Throop, H. 2011, MNRAS, 418, 1272 [NASA ADS] [CrossRef] [Google Scholar]
 Just, A., Fuchs, B., Jahreiß, H., et al. 2015, MNRAS, 451, 149 [NASA ADS] [CrossRef] [Google Scholar]
 Kunder, A., Kordopatis, G., Steinmetz, M., et al. 2017, AJ, 153, 75 [NASA ADS] [CrossRef] [Google Scholar]
 Lindegren, L., Lammers, U., Bastian, U., et al. 2016, A&A, 595, A4 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Malaroda, S., Levato, H., Morrell, N., et al. 2000, A&AS, 144, 1 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Maldonado, J., MartínezArnáiz, R. M., Eiroa, C., Montes, D., & Montesinos, B. 2010, A&A, 521, A12 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Mamajek, E. E., Barenfeld, S. A., Ivanov, V. D., et al. 2015, ApJ, 800, L17 [NASA ADS] [CrossRef] [Google Scholar]
 Martell, S. L., Sharma, S., Buder, S., et al. 2017, MNRAS, 465, 3203 [NASA ADS] [CrossRef] [Google Scholar]
 MartínezBarbosa, C. A., Jílková, L., Portegies Zwart, S., & Brown, A. G. A. 2017, MNRAS, 464, 2290 [NASA ADS] [CrossRef] [Google Scholar]
 Matthews, R. A. J. 1994, QJRAS, 35, 1 [NASA ADS] [Google Scholar]
 Mülläri, A. A., & Orlov, V. V. 1996, Earth Moon Planets, 72, 19 [Google Scholar]
 Oort, J. H. 1950, Bull. Astron. Inst. Netherlands, 11, 91 [Google Scholar]
 Öpik, E. 1932, Proc. Am. Acad. Arts Sci., 67, 169 [CrossRef] [Google Scholar]
 Pasquini, L., Melo, C., Chavero, C., et al. 2011, A&A, 526, A127 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Pourbaix, D. 2011, in AIP Conf. Ser. 1346, eds. J. A. Docobo, V. S. Tamazian, & Y. Y. Balega, 122 [Google Scholar]
 Rickman, H. 1976, Bull. Astr. Inst. Czechosl., 27, 92 [NASA ADS] [Google Scholar]
 Rickman, H., Fouchard, M., Froeschlé, C., & Valsecchi, G. B. 2012, Planet. Space Sci., 73, 124 [NASA ADS] [CrossRef] [Google Scholar]
 Scholl, H., Cazenave, A., & Brahic, A. 1982, A&A, 112, 157 [NASA ADS] [Google Scholar]
 SDSS Collaboration 2017, ApJS, 233, 25 [NASA ADS] [CrossRef] [Google Scholar]
 van Leeuwen, F. 2007, Hipparcos, the New Reduction of the Raw Data, Astrophys. Space Sci. Lib., 350 [Google Scholar]
 Weissman, P. R. 1996, Earth Moon Planets, 72, 25 [Google Scholar]
Appendix A: Gaia archive query
Below is the ADQL query used to select stars from the TGAS table which have perihelion distances less than 10 pc according to the linear motion approximation, assuming they all have  v_{r}  = 750 km s^{1}. The TGAS table does not list Tycho IDs when Hipparcos IDs are present, so I use a join to add these missing Tycho IDs.
select tgas.tycho2_id, tycho2.id, tgas.hip, tgas.source_id, tgas.phot_g_mean_mag, tgas.ra, tgas.dec, tgas.parallax, tgas.pmra, tgas.pmdec, tgas.ra_error, tgas.dec_error, tgas.parallax_error, tgas.pmra_error, tgas.pmdec_error, tgas.ra_dec_corr ,tgas.ra_parallax_corr, tgas.ra_pmra_corr, tgas.ra_pmdec_corr, tgas.dec_parallax_corr, tgas.dec_pmra_corr, tgas.dec_pmdec_corr, tgas.parallax_pmra_corr, tgas.parallax_pmdec_corr, tgas.pmra_pmdec_corr from gaiadr1.tgas_source as tgas left outer join public.tycho2 as tycho2 on tgas.hip = tycho2.hip where( ( 1000*4.74047*sqrt(power(tgas.pmra,2) + power(tgas.pmdec,2))/power(tgas.parallax,2) ) / ( sqrt( (power(tgas.pmra,2) + power(tgas.pmdec,2)) * power(4.74047/tgas.parallax,2) + power(750,2) ) ) ) < 10
Appendix B: The completeness function
Let F_{mod}(t_{ph},d_{ph}) be the modelpredicted number of encounters per unit perihelion time and perihelion distance at (t_{ph},d_{ph}), and let F_{exp}(t_{ph},d_{ph}) be the corresponding expected quantity, i.e. after modulation by the observational selection function. The completeness function, C(t_{ph},d_{ph}), specifies the fraction of objects observed at a given (t_{ph},d_{ph}), and is defined by (B.1)Clearly 0 ≤ C(t_{ph},d_{ph}) ≤ 1. P_{mod}(t_{ph},d_{ph}) is the normalized PDF of F_{mod}(t_{ph},d_{ph}), i.e. (B.2)where the integral is over all perihelion times and distances, which (conceptually) gives the total number of encounters in the model, N_{mod}. (This is only a conceptual definition for N_{mod}, because my model is continuous.) relates to F_{exp}(t_{ph},d_{ph}) in a similar way, but here we must include an additional (dimensionless) factor, b, to accommodate the fact that is not normalized, (B.3)which also defines N_{exp}. Integrating both sides of this equation over all perihelion times and distances shows us that (B.4)By construction is the reduction in P_{mod}(t_{ph},d_{ph}) under the influence of the selection function, so everywhere. Hence b, which therefore lies between 0 and 1, is the fraction of stars retained following application of the selection function, which is N_{exp}/N_{mod}.
Substituting F_{mod}(t_{ph},d_{ph}) from Eq. (B.2) and F_{exp}(t_{ph},d_{ph}) from (B.3) into Eq. (B.1) gives (B.5)But b = N_{exp}/N_{mod}, so (B.6)
All Tables
Perihelion parameters for all objects with a median perihelion distance (median of the samples; ) below 2 pc, sorted by this value.
All Figures
Fig. 1 Perihelion times and distances computed by orbit integration for all 725 objects. Open circles show the median of the perihelion time and distance distributions. The error bars show the limits of the 5% and 95% percentiles (which together form an asymmetric 90% confidence interval). Note that this set of objects includes duplicates (see Table 2). 

In the text 
Fig. 2 Difference between perihelion estimates from orbit integration of surrogates () and the linear motion approximation (), on a log scale. The black symbols are for , the red symbols for . The set of objects is the same as shown in Fig. 1, but excluding, for plotting purposes, the three points with Myr. 

In the text 
Fig. 3 As Fig. 1, but zoomed in to the range . The time axis is scaled to show all encounters in this distance range. 

In the text 
Fig. 4 Median perihelion velocities from the orbit integrations for those encounters shown in Fig. 3. 

In the text 
Fig. 5 Comparison of object encounters found in the present work with TGAS (left) and those found in Paper I from Hipparcos (right). Both sets of estimates are from the linear motion approximation of the nominal data. In the left and right panels there are 16 objects and 1 object respectively which lie at times beyond the limits of the plots. Both panels shows all objects, not unique stars, so include duplicates. 

In the text 
Fig. 6 As Fig. 3, but now plotting each object as a circle, the area of which is proportional to , which is proportional to the impulse transferred to the Oort cloud per unit mass of encountering star. (The plotting symbol is a circle with a diagonal cross, but the latter is not apparent in the smallest symbols.) The values for the plotted symbols range from 0.0088 to 3.5 s km^{1} pc^{2}. 

In the text 
Fig. 7 Distribution of the perihelion distance (from the orbital integration of the 2000 surrogates) for Tyc 65289801. The green, red, and blue lines (left to right) show the nominal, LMA, and median estimates. This demonstrates that the nominal estimate – from integrating the orbit of just the nominal data – can be very unrepresentative of the distribution we get when we account for the uncertainties in the data. 

In the text 
Fig. 8 Geometry of a close encounter for a star initially at distance r and reaching a perihelion distance of d_{ph} at point P, whereby d_{ph} ≤ r. 

In the text 
Fig. 9 PDF over the perihelion distance for stars with different initial distances r = 10,11,12,13,14,15,20,25,50,100 pc, shown in different colours, as described by the model (Sect. 4.1). The lines for r> 20 pc extend beyond the right boundary of the plot, but have the same shape, dropping to zero at d_{ph} = r. 

In the text 
Fig. 10 Input distributions for the completeness model are the a) distance (solid line), b) space velocity, c) absolute magnitude (normalized PDFs). The selection function (on apparent magnitude) is shown in panel d. This modifies the model distance distribution to become the expected distribution shown as the dashed line in panel a. 

In the text 
Fig. 11 Distribution of stellar encounters in the model (left column of plots) and what we expect to observe from this model given the selection function (right column). Top row of plots: twodimensional PDFs P_{mod}(t_{ph},d_{ph}) (left) and (right) on a colour scale in units Myr^{1} pc^{1}. The colour scale covers the full range of densities plotted (and is different in the two cases, being a factor of 4.4 larger for the model). Middle row: onedimensional conditional PDFs over perihelion distance for different values of t_{ph} ranging from 100 kyr to 5 Myr in steps of 20 kyr. These are vertical cuts through the twodimensional PDF (and renormalized, as given by Eq. (17) for the model distribution). Bottom row: onedimensional conditional PDFs over perihelion time for different values of d_{ph} ranging from 0.1 pc to 10 pc in steps of 0.1 pc. Only the positive perihelion times are shown for the four conditional plots, which also use different density scales (vertical axes). 

In the text 
Fig. 12 As the top right panel of Fig. 11, now overplotted with the TGAS encounters found using the linear motion approximation , with duplicates removed at random. 

In the text 
Fig. 13 Completeness function, C(t_{ph},d_{ph}) (top panel). This shows the probability of observing an encounter as a function of its perihelion time and distance. It uses distributions of stellar properties and an approximation of the TGAS selection function (see Sect. 4.1) and is mirrorsymmetric about t_{ph} = 0. The values shown range between 0.05 and 0.57, which excludes t_{ph} = 0 and d_{ph} = 0 as formally the incompleteness is undefined at these values. Cuts through this parallel to the d_{ph} axis are shown in the middle panel for t_{ph} from 20 kyr to 5 Myr in steps of 20 kyr. Cuts parallel to the t_{ph} axis (for positive t_{ph}) are shown in the bottom panel for d_{ph} from 0.1–10 pc in steps of 0.1 pc. 

In the text 
Fig. 14 Density of the observed encounters, F_{obs}(t_{ph},d_{ph}), estimated by kernel density estimation over the surrogates (orbitalintegrated data samples) with v_{ph} ≤ 300 km s^{1}, for all unique stars. The colour scale gives the number of encounters per unit time and distance. The integral over time and distance is the (fractional) number of encountering stars. 

In the text 
Current usage metrics show cumulative count of Article Views (fulltext article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.
Data correspond to usage on the plateform after 2015. The current usage metrics is available 4896 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.