Abstract

We have modified our particle-by-particle adaptation of the made-to-measure (M2M) method, with the aim of modelling the Galactic disc from upcoming Galactic stellar survey data. In our new particle-by-particle M2M algorithm, primal, the observables of the target system are compared with those of the model galaxy at the position of the target stars, i.e. particles. The mass of the model particles are adjusted to reproduce the observables of the target system, and the gravitational potential is automatically adjusted by the changing mass of the particles. This paper builds upon our previous work, introducing likelihood-based velocity constraints in primal. In this paper, we apply primal to barred disc galaxies created by an N-body simulation in a known dark matter potential, with no error in the observables. This paper demonstrates that primal can recover the radial profiles of the surface density, velocity dispersion in the radial and perpendicular directions, and the rotational velocity of the target discs, along with the apparent bar structure and pattern speed of the bar, especially when the reference frame is adjusted so that the bar angle of the target galaxy is aligned to that of the model galaxy at every timestep.

INTRODUCTION

The made-to-measure (M2M) method developed by Syer & Tremaine (1996) has seen increasing use in the past few years, including multiple papers involving nmagic (e.g. de Lorenzi et al. 2007, 2008; Das et al. 2011; Morganti & Gerhard 2012), and the series of three papers (Long & Mao 2010, 2012; Long et al. 2013) based on the M2M algorithm described in Long & Mao (2010). This increasing level of interest is now highlighting the potential of the M2M method to be used in many different applications, from probing the dark matter halo of NGC 4649 (Das et al. 2011) to tailoring N-body initial conditions (Dehnen 2009). While previous work has primarily focused on theoretical models and external galaxies, Bissantz, Debattista & Gerhard (2004) and Long et al. (2013) have applied their versions of M2M to the Milky Way which is also our eventual goal.

The Milky Way is known to be a barred spiral (Spergel & Blitz 1990; Weinberg 1992; Binney, Gerhard & Spergel 1997) but there is still disagreement over whether the bar is formed of a single structure, or if it is comprised of a separate long flat bar in addition to the barred bulge (e.g. Martinez-Valpuesta & Gerhard 2011; Athanassoula 2012; González-Fernández et al. 2012). The bar angle, defined as an offset between the axis of the bar and the Sun–Galactic Centre line is also still debated. For example Dwek et al. (1995) suggested a bar angle of 20° ± 10°, Alcock et al. (2000) found 15°, Rodriguez-Fernandez & Combes (2008) found 20°–35°, Minchev, Nordhaus & Quillen (2011) found 20°–45° and Green et al. (2011) found 45°. There is also still discussion of the pattern speed of the bar, Ωp. Among others Fux (1999) calculated a value of Ωp ≈ 50 km s− 1 kpc− 1, Dehnen (1999) calculated Ωp = 53 ± 3 km s− 1 kpc− 1, Rodriguez-Fernandez & Combes (2008) calculated Ωp = 30–40 km s− 1 kpc− 1, Wang et al. (2012) concluded Ωp ≈ 60 km s− 1 kpc− 1 and Gerhard (2011) provided a review of previous work, concluding a likely pattern speed for the bar of Ωp ≈ 50–60 km s− 1 kpc− 1.

Bissantz et al. (2004) were the first to apply the original M2M algorithm from Syer & Tremaine (1996) to the Milky Way, which was an important first test of M2M on the Milky Way, matching observed bar kinematics in several fields. The M2M algorithm has undergone significant improvements since then much more observational data have become available, leaving the door open for more up to date M2M modelling of the Milky Way.

Long et al. (2013) have taken the next step, applying their M2M algorithm from Long & Mao (2010) to observed radial velocity data from the Bulge RAdial Velocity Assay (BRAVA)1 (Rich et al. 2007; Kunder et al. 2012) and the particle mass distribution of an N-body barred galaxy model (Shen et al. 2010) that has been built to reproduce the Milky Way disc and earlier BRAVA data. Long et al. (2013) used the gravitational potential calculated from the N-body model of Shen et al. (2010). Then, they rotate this potential with a fixed pattern speed and assumed bar angle from the line of the Galactic Centre and the observer, i.e. the position of the Sun. They ran many models with different pattern speeds and bar angles and explored the models which best fit their observables. They found their best model recovered the bar angle and pattern speed of the Shen et al. (2010) N-body model, and reproduced the mean radial velocity and radial velocity dispersion of the BRAVA data very well.

Although Long et al. (2013) have taken an important step forwards, there will be much room for improvement for applying M2M to the future observational data. The European Space Agency's upcoming Gaia mission along with ground-based surveys, e.g. the Panoramic Survey Telescope And Rapid Response System (PanStarrs, e.g. Kaiser et al. 2010), the Visible and Infra-red Survey Telescope for Astronomy (VISTA, e.g. Minniti et al. 2009), the Large Synoptic Survey Telescope (LSST, e.g. Ivezić et al. 2008), the Sloan Extension for Galactic Understanding and Exploration (SEGUE, e.g. Yanny et al. 2009), the Apache Point Observatory Galactic Evolution Experiment (APOGEE, e.g. Allende Prieto et al. 2008), Subaru-PFS (e.g Ellis et al. 2012), The Radial Velocity Experiment (RAVE, e.g. Steinmetz et al. 2006), the Large sky Area Multi-Object fibre Spectroscopic Telescope, LAMOST Experiment for Galactic Understanding and Explanation (LEGUE, e.g. Deng et al. 2012) and the Gaia-ESO public spectrographic survey (e.g. Gilmore et al. 2012) will provide us with an unprecedentedly large amount of data about the Milky Way, which we can use as observational constraints for our M2M algorithm. As such we have made modifications to our algorithm with this goal in mind.

In Hunt & Kawata (2013), hereafter Paper 1, we developed a particle-by-particle M2M algorithm now called primal. Because the Galactic stellar-survey data, such as the ones Gaia will produce, are in the form of the position and velocity of individual stars, primal is designed to compare the observables at the position of each star, i.e. not binned data as in previous M2M modelling. Another major difference between primal and other M2M algorithms is that the gravitational potential is calculated via self-gravity of the model particles. The potential is thus altered by the changing particle masses induced by the M2M algorithm. In Paper 1, we apply primal to the target system of a smooth axisymmetric disc created by N-body simulations, and demonstrate that primal can reproduce the density and velocity profiles of the target system well, even when starting from a disc whose scalelength is different from the target system.

We are encouraged by the success of Paper 1 and intend to build upon it. In this paper, we apply primal to barred disc galaxies again generated by N-body simulations with gcd+ (Kawata & Gibson 2003; Kawata et al. 2013). We introduce a new form of velocity observable constraints as described in de Lorenzi et al. (2008), based on the likelihood function as described in Romanowsky & Kochanek (2001). We also introduce a rotating reference frame in a similar, although not identical fashion to Long et al. (2013).

We use target systems whose information is known without any error. Ultimately, we wish to apply primal to real observational data, where the information will be provided for a limited region of the sky, with a more complicated selection and error function due to the dust extinction, crowding and stellar populations. However, we think that in the development stages it is important to test the algorithm against the ideal target. In this paper, we demonstrate the successful application of primal to the barred galaxy targets, and this is a significant step forward to modelling the Milky Way with M2M.

This paper is organized as follows. Section 2.1 describes the M2M methodology of our original M2M algorithm as shown in Paper 1. Sections 2.2 and 2.3 describe the new improvements we have made to the algorithm, and Section 2.4 describes the setup of our target systems. Section 3 shows the performance of our updated method for recreating the target disc systems. In Section 4, we provide a summary of this work.

THE M2M ALGORITHM: primal

The M2M algorithm works by calculating observable properties from the model and the target, and then adapting particle masses such that the properties of the model reproduce those of the target. The target can be in the form of a distribution function, an existing simulation or real observational data. The model can be a test particle simulation in an assumed fixed or adaptive potential, or a self-gravity N-body model.

A particle-by-particle M2M

We have presented a full description of both the original M2M and our particle-by-particle M2M in Paper 1. In this section, we describe briefly the basis of our particle-by-particle M2M. As mentioned in Section 1, our ultimate target is the Milky Way, and the observables are not binned data, but the position and velocity of the individual stars which are distributed rather randomly. To maximize the available constraints, we evaluate the observables at the position of each star and compare them with the N-body model, i.e. in a particle-by-particle fashion. To this end, primal uses a kernel often used in smoothed particle hydrodynamics (SPH), W(r, h), which is a spherically symmetric spline function given by
(1)
(Monaghan & Lattanzio 1985), where |$r = \ \mid\! {\boldsymbol r}_i-{\boldsymbol r}_j\!\mid$| and h is a smoothing length described later. Note that in our particle-by-particle M2M algorithm the kernel, W(r, h), does not explicitly include the total mass, Mtot, unlike standard M2M algorithms, because we wish to eventually apply it to the Milky Way, whose mass is unknown.
We use this kernel to calculate the density at the target particle locations, |${\boldsymbol r}_j$|⁠, of both the target and the M2M model. For example, the density of the target at |${\boldsymbol r}_j$| is evaluated by
(2)
where mt, k is the mass of the target particle, |$r_{kj} = \ \mid\! {\boldsymbol r}_{k} - {\boldsymbol r}_{j}\! \mid$|⁠, and hj is the smoothing length determined by
(3)
where η is a parameter and we have set η = 3. In SPH simulations, a value of η between 2 and 3 is often used. We choose the higher value to maximize the smoothness. This results in ≈113 particles being included in the smoothing length when the particles are distributed homogeneously in three-dimensional space. The solution of equation (3) is calculated iteratively until the relative change between two iterations is smaller than 10−3 (Price & Monaghan 2007). Similarly, the density at hj is calculated by
(4)
from the model particles. The target density ρt, j is calculated only once at the beginning of the M2M simulation, and the model density ρj is recalculated at every timestep. We then calculate the difference between these observables
(5)
Following the M2M algorithm, the mass of the model particle is changed to reduce |$\Delta _{\rho _j}$|⁠. Thus, an example of the particle mass change equation, when using density observables is
(6)
where |$\hat{m}_i$| is the prior, and M is an arbitrary constant mass, which we set as M = 1012 M for this paper. We introduce this arbitrary constant mass so that the method may be applied to a system with unknown mass and as a result the parameters, such as ϵ and μ, must be calibrated before performing the modelling. In equation (6), |$\tilde{\Delta }_{j,\rho }(t)$| corresponds to a temporally smoothed version of |$\Delta _{\rho _j}$| to reduce fluctuations. This is derived by
(7)
with α being a small positive parameter. This |$\tilde{\Delta }_{j}(t)$| can be calculated from the differential equation
(8)
This temporal smoothing effectively increases the number of particles from N to
(9)
where Δt is the length of the timestep and t1/2 = (ln 2)/α is the half life of the ghost particles. Syer & Tremaine (1996) show that excessive temporal smoothing is undesirable, and should be limited to α ≥ 2ϵ. The regularization term, |$\mu \left(\ln \left(\frac{m_{i}(t)}{\hat{m}_{i}}\right)+1\right)$|⁠, in equation (6) is introduced to stabilize the mass changing process. The idea behind this term is to maximize the entropy defined by
(10)
and μ is a parameter to control the regularization.
In this paper, the prior, |$\hat{m}_i$|⁠, is set as |$\hat{m}_{i}=M_{{\rm tot,ini}}/N$|⁠, where Mtot, ini is the initial total mass of the system and N is the number of particles. The regularization term forces the particle mass close to their initial value. As with Paper 1, we write ϵ as ϵ = ϵϵ, where ϵ is given by
(11)

Maximum likelihood for velocity constraints

In Paper 1, we use velocity observables in the form of mean local velocity field, calculated around the target particle positions, with the kernel described in equation (1). However, as the Galactic stellar surveys will provide us velocity information for individual particles, instead of smoothing the velocity, we can evaluate likelihood of the actual velocity of the particle. Thus, we have converted the velocity section of our algorithm to maximize the likelihood of the velocity of the target particles as shown in de Lorenzi et al. (2008). The likelihood is calculated with the equation
(12)
where |$\mathcal {L}_j$| is the likelihood function for a single discrete velocity. Following Romanowsky & Kochanek (2001), we calculate the likelihood for individual velocity observables, vj, at the target particle positions, |${\boldsymbol r}_j$|⁠, with
(13)
where σj is the velocity error, which we have set as σj = 2.5 km s−1 for this paper, and dL/dv is a velocity distribution for the model. Although we fix the velocity error, and do not discuss the effects of the errors in this paper, an advantage of the likelihood-based velocity constraints is that we can set individual errors for each velocity component of each particle. Instead of the kernel chosen in de Lorenzi et al. (2008) we use our kernel from equation (1), allowing us to write dL/dv for target particle j, from model particle i, as
(14)
where δ(x) is the delta function and
(15)
which is the same as equation (4). We can express |$\mathcal {L}_{j}$| in equation (13) as
(16)
where
(17)
and
(18)
This leads us to the modified term in the particle mass change equation. Following the M2M algorithm, we maximize the likelihood of equation (12), using
(19)
where
(20)
The particle mass change equation from the velocity based likelihood constraints is calculated with
(21)
and equation (6) becomes
(22)
where vr, vz and vrot are the radial, vertical and rotational velocity components. The parameter, ζ, is an optional adjustable parameter for changing the significance of the velocity constraints, although we set ζ = 1 in this paper. Following de Lorenzi et al. (2008), we use temporally smoothed versions (cf. equation 8) of |$\hat{\mathcal {L}}$| and l.
Alongside this new mass change equation we have also altered the time when the constraints kick in from our previous method. We found when using the likelihood-based velocity constraints the model requires a lower level of temporal smoothing, and thus we are able to use temporal smoothing as soon as the mass change equation is enabled. Thus, we now use the following series of stages. From t = 0 to 0.471 Gyr (one simulation time unit), we allow the initial model to experience relaxation, following a standard self-gravity N-body calculation without any mass change. From t = 0.471 Gyr to 0.942 Gyr, we used temporally smoothed density constraints only, and at t = 0.942 Gyr, we engage the velocity constraints as well. This sequence is substantially shorter than the method used in Paper 1, allowing the solution to converge faster, and the overall simulation length to be halved to ∼5 Gyr. We continue to use individual timesteps for the particles, and only update the masses of particles whose position and velocity are updated within the individual timestep. The timestep for each particle is determined by
(23)
with Cdyn = 0.2. We also retain the limit on the maximum mass change which any particle can experience in one timestep. We set this limit to 10 percent of that particle's mass.

We have again performed a parameter search to determine differences in the likelihood-based velocity constraints, as we did in Paper 1. There are four important parameters, ϵ, α, ζ and μ, which must be calibrated for M2M. ϵ provides the balance between the speed of convergence, and the smoothness of the process. Note that ϵ = ϵϵ, where ϵ is defined by equation (11). We have chosen ϵ = 0.1 as an appropriate balance between accuracy and simulation time. With more computing power available to us we would consider running a lower value of ϵ. However if ϵ ≪ 0.1, it is possible that the model might not converge as the mass change is too slow. The choice of α, which controls the strength of the temporal smoothing, should depend upon the choice of ϵ (α ≥ 2ϵ). We find that our modelling is not overly sensitive to α as long as the condition α ≥ 2ϵ is met and we set α = 2.0 in this paper. We set ζ = 1 as mentioned before. μ controls the strength of the regularization and is essential in reducing the oscillation in particle masses and ensuring smooth convergence. We discuss the importance of μ in much greater detail in Paper 1. In this paper, we adopt μ = 105. All different models presented in Section 3 use this same parameter set, and have not been individually tailored to the target or model in question. This demonstrates the robustness of the method.

Rotating reference frames

In Paper 1, it was sufficient to use a fixed reference frame as we were investigating smooth axisymmetric discs. However, if the target has some non-axisymmetric structure, such as a bar, the target bar angle is fixed, but the bar of the model rotates in the fixed reference frame. For example, if there is a bar, we expect the density and kinematics to be very different at the different azimuth angles at a fixed radius. Then, if the bar of the model is not aligned with the target bar, the observables of the model are evaluated in the different dynamical states from the target observables. Hence, if the bar of the model keeps rotating in the fixed frame, the model particles receive the different constraints from the target depending on the bar angle at each timestep, and the model never settles to the solution. This is discussed in Section 3.

Long et al. (2013) have proposed using a reference frame with a fixed bar angle, and comparing multiple simulations with different bar angles to find the best fit. This was trivial for their model, because they used a fixed shape of the bar potential and rotating with a fixed bar pattern speed, Ωp. We however have not assumed any pattern speed prior to the beginning of our simulations, nor have we placed any explicit constraints on it. Instead, we start with a smooth disc as the initial condition, allowing the pattern speed to evolve with the model galaxy due to self-gravity, and compare Ωp for the model and target galaxies at the end of the run.

We therefore calculate the angle of the bar in our target, and the angle of the bar in the model at each step. Then we rotate the model to match the bar angle of the target for the purposes of calculating the observables in the same reference frame. It is our hope that this method will allow the pattern speed to be recovered along with the density and velocity profiles. When applying this to the Milky Way we will not know the exact bar angle. But here, we assume that the bar angle is known for our first step of modelling the bar. We call this reference frame change the rotating reference frame hereafter. In Section 3, we present a comparison of our method with and without this rotating reference frame, and also present the results from cases where we have chosen an incorrect bar angle.

Target system setup

Our simulated target galaxies consist of a pure stellar disc with bar and/or spiral structure and a static dark matter halo, setup using the method described in Grand, Kawata & Cropper (2012). The dark matter halo density profile is taken from a truncated NFW profile (Navarro, Frenk & White 1997; Rodionov, Athanassoula & Sotnikova 2009) and given by
(24)
where δc is the characteristic density described by Navarro et al. (1997). The truncation term, |${\rm e}^{-x^2}$|⁠, is introduced in our initial condition generator for a live halo simulation. Although we use a static dark matter halo in this paper, we used the profile of equation (24). Note that the truncation term leads to very little change in the dark matter density profile in the inner region focused on in this paper. The concentration parameter c = r200/rs and x = r/r200, where r200 is the radius inside which the mean density of the dark matter sphere is equal to 200ρcrit and given by
(25)
where h100 = H0/(100 km s−1 Mpc−1), and H0 is the Hubble constant set to 71 km s−1 Mpc−1.
The stellar disc is assumed to follow an exponential surface density profile:
(26)
where zd is the scaleheight of the disc and Rd is the scalelength. The velocity dispersion for each three-dimensional position is computed following Springel, Di Matteo & Hernquist (2005) to construct a near-equilibrium condition for each the target discs. We have constructed four different target galaxies whose initial conditions are listed in Table 1, and the scalelength of the target discs are initially set as Rt, d = 3 kpc. We run N-body simulations with these initial conditions, with 106 particles, for 2 Gyr using a tree N-body code, gcd+ (Kawata & Gibson 2003; Kawata et al. 2013), and adopt the final output as a target. We use the kernel softening suggested by Price & Monaghan (2007). Although these authors suggested adaptive softening length, we use a fixed softening for these simulations for simplicity. Our softening length ε = 0.577 kpc is about three times larger than the equivalent Plummer softening length. We also use this softening for the M2M modelling runs.
Table 1.

N-body target parameters. M200 is the mass of the halo, Md is the mass of the disc, c is the concentration parameter, zd is the scale height, |$\sigma _r^2/\sigma _z^2$| is the ratio between radial and tangential velocity dispersion and Ωt, p is the pattern speed of the bar, measured at 2 Gyr.

TargetM200 (M)Md (M)czd (kpc)|$\sigma _r^2/\sigma _z^2$|Ωt, p (kms− 1 kpc− 1)Notes
I1.75 × 10123.0 × 101020.00.359.0N/ASmooth disc
II2.0 × 10125.0 × 10109.00.32.027.5
III1.5 × 10125.0 × 10107.00.32.031.7
IV1.75 × 10125.0 × 10109.00.32.028.9
TargetM200 (M)Md (M)czd (kpc)|$\sigma _r^2/\sigma _z^2$|Ωt, p (kms− 1 kpc− 1)Notes
I1.75 × 10123.0 × 101020.00.359.0N/ASmooth disc
II2.0 × 10125.0 × 10109.00.32.027.5
III1.5 × 10125.0 × 10107.00.32.031.7
IV1.75 × 10125.0 × 10109.00.32.028.9
Table 1.

N-body target parameters. M200 is the mass of the halo, Md is the mass of the disc, c is the concentration parameter, zd is the scale height, |$\sigma _r^2/\sigma _z^2$| is the ratio between radial and tangential velocity dispersion and Ωt, p is the pattern speed of the bar, measured at 2 Gyr.

TargetM200 (M)Md (M)czd (kpc)|$\sigma _r^2/\sigma _z^2$|Ωt, p (kms− 1 kpc− 1)Notes
I1.75 × 10123.0 × 101020.00.359.0N/ASmooth disc
II2.0 × 10125.0 × 10109.00.32.027.5
III1.5 × 10125.0 × 10107.00.32.031.7
IV1.75 × 10125.0 × 10109.00.32.028.9
TargetM200 (M)Md (M)czd (kpc)|$\sigma _r^2/\sigma _z^2$|Ωt, p (kms− 1 kpc− 1)Notes
I1.75 × 10123.0 × 101020.00.359.0N/ASmooth disc
II2.0 × 10125.0 × 10109.00.32.027.5
III1.5 × 10125.0 × 10107.00.32.031.7
IV1.75 × 10125.0 × 10109.00.32.028.9

As mentioned above, in this initial stage of development, we assume that the dark matter halo potential is known and there is no other external potential such as the bulge or stellar halo. We use the same number of particles, 106, and the same initial dark matter halo and disc parameters for the model and target galaxies, except for the disc scalelength: Rd = 2 kpc for the models and Rt, d = 3 kpc for the targets.

RESULTS

In this section, we present the results from our eight models using primal. We will first show the results for the smooth featureless target disc previously explored in Paper 1. Then, we apply primal to three different barred targets. We also examine how primal can reproduce the target galaxy with a partial data set of the observables, or an incorrect bar angle, or without the rotating reference frame using one of the targets. Table 2 shows which target the model is recreating, the bar pattern speeds, the likelihood values for radial, tangential and rotation velocity, |$\mathcal {L}$|⁠, in equation (12) and the |$\chi ^2_{\rho }$| for the density, where
(27)
Note that we include only particles within 10 kpc, and Nr is the number of particles satisfying this criteria. Note also that in the likelihood case, although we seek to maximize likelihood, the values are |$-\mathcal {L}$|⁠, and hence smaller values in Table 2 mean higher likelihood. The absolute values of |$\mathcal {L}$| are not important. We cannot compare these values between models for different targets. However, the relative differences in |$\chi ^2_{\rho }$| and in |$\mathcal {L}$| between models for the same target observables are meaningful and are used in Section 3.4.
Table 2.

M2M model results at the final timestep. Ωt, p is the target pattern speed, Ωp is the model pattern speed, |$\chi ^2_{\rho }$| is a measure of accuracy of the density, |$\mathcal {L}_{r,z,{\rm rot}}$| are the likelihood values for the radial, tangential and rotational velocity.

ModelTargetΩp (kms− 1 kpc− 1)|$\chi ^2_{\rho }$||$-\mathcal {L}_r/10^6$||$-\mathcal {L}_z/10^6$||$-\mathcal {L}_{{\rm rot}}/10^6$|Notes
AIN/A0.1236.063.615.27Smooth disc
BII27.90.2544.723.624.43
CIII30.40.2354.964.405.28
DIV28.30.1895.145.155.02
EII27.30.2304.773.654.47Partial data
FII23.60.2765.773.915.21Bar angle −30o
GII28.00.2504.873.674.55Bar angle −10o
HII24.30.21–0.496.82–9.994.59–5.486.63–8.77No rotating frame
ModelTargetΩp (kms− 1 kpc− 1)|$\chi ^2_{\rho }$||$-\mathcal {L}_r/10^6$||$-\mathcal {L}_z/10^6$||$-\mathcal {L}_{{\rm rot}}/10^6$|Notes
AIN/A0.1236.063.615.27Smooth disc
BII27.90.2544.723.624.43
CIII30.40.2354.964.405.28
DIV28.30.1895.145.155.02
EII27.30.2304.773.654.47Partial data
FII23.60.2765.773.915.21Bar angle −30o
GII28.00.2504.873.674.55Bar angle −10o
HII24.30.21–0.496.82–9.994.59–5.486.63–8.77No rotating frame
Table 2.

M2M model results at the final timestep. Ωt, p is the target pattern speed, Ωp is the model pattern speed, |$\chi ^2_{\rho }$| is a measure of accuracy of the density, |$\mathcal {L}_{r,z,{\rm rot}}$| are the likelihood values for the radial, tangential and rotational velocity.

ModelTargetΩp (kms− 1 kpc− 1)|$\chi ^2_{\rho }$||$-\mathcal {L}_r/10^6$||$-\mathcal {L}_z/10^6$||$-\mathcal {L}_{{\rm rot}}/10^6$|Notes
AIN/A0.1236.063.615.27Smooth disc
BII27.90.2544.723.624.43
CIII30.40.2354.964.405.28
DIV28.30.1895.145.155.02
EII27.30.2304.773.654.47Partial data
FII23.60.2765.773.915.21Bar angle −30o
GII28.00.2504.873.674.55Bar angle −10o
HII24.30.21–0.496.82–9.994.59–5.486.63–8.77No rotating frame
ModelTargetΩp (kms− 1 kpc− 1)|$\chi ^2_{\rho }$||$-\mathcal {L}_r/10^6$||$-\mathcal {L}_z/10^6$||$-\mathcal {L}_{{\rm rot}}/10^6$|Notes
AIN/A0.1236.063.615.27Smooth disc
BII27.90.2544.723.624.43
CIII30.40.2354.964.405.28
DIV28.30.1895.145.155.02
EII27.30.2304.773.654.47Partial data
FII23.60.2765.773.915.21Bar angle −30o
GII28.00.2504.873.674.55Bar angle −10o
HII24.30.21–0.496.82–9.994.59–5.486.63–8.77No rotating frame

Smooth disc

First, we demonstrate that the newly introduced likelihood velocity constraints can reproduce the smooth featureless disc target used in Paper 1. Model A applies primal to Target I, which was the target used in Paper 1, but using a larger number of particles. Note the high value of |$\sigma _r^2/\sigma _z^2$| of Target I in Table 1 was used to deliberately suppress structure formation. Fig. 1 shows that the radial profiles of the density, the radial velocity dispersion, the vertical velocity dispersion and the mean rotation velocity for the target galaxy, the initial galaxy and the final output after primal is applied. The figure demonstrates that primal with the likelihood-based velocity constraints equally or even more accurately reproduces the target galaxies compared to our old version of the particle-by-particle M2M (Paper 1). However, a quantitative comparison between the old and new version is not the main focus of this paper. As discussed above, we introduced the likelihood-based velocity constraints, because we can compare the velocity more directly and also introduce different errors for individual velocity components and individual particles. Therefore, the likelihood-based velocity constraints are a necessary update, and a comparison with the old version is not an important issue. Note that the properties shown in Fig. 1 are not explicitly constrained by primal. As discussed previously in Paper 1, it is interesting to note that although our particle-by-particle M2M uses only the first moment of the velocity components as observables, because primal tries to reproduce the velocity of individual particles, the velocity distribution becomes close to the target and therefore the velocity dispersion can be reproduced as well.

Initial (red dotted), final (green dashed) and target (black solid) density profile (upper), radial velocity dispersion (upper middle), vertical velocity dispersion (lower middle) and rotation velocity (lower) for Model A with Target I.
Figure 1.

Initial (red dotted), final (green dashed) and target (black solid) density profile (upper), radial velocity dispersion (upper middle), vertical velocity dispersion (lower middle) and rotation velocity (lower) for Model A with Target I.

Barred disc galaxies

In this section, we present the results of Models B, C and D, where we apply the same parameter set for primal to model three different target barred galaxies. Target II is a barred disc galaxy showing faint spiral structure. Fig. 2 shows the face-on and edge-on views of Target II and the final state of Model B (two top panels). The final model reproduces the bar feature very well. The observables are only constrained within 10 kpc of the galactocentric radius and hence the areas outside this radius are reproduced with less accuracy.

Face-on (left) and edge-on (right) density maps of Target II, Models B, E, F, G and H, (from top to bottom) plotted for comparison. The white line indicates the angle of the bar, rotated for comparison. The density scale is the same for all panels.
Figure 2.

Face-on (left) and edge-on (right) density maps of Target II, Models B, E, F, G and H, (from top to bottom) plotted for comparison. The white line indicates the angle of the bar, rotated for comparison. The density scale is the same for all panels.

Fig. 3 shows the radial profiles of the surface density, radial and tangential velocity dispersion, and the mean rotation velocity for the target and the final model compared to the initial model. As in Paper 1 and Model A, these radial profiles are not directly constrained by primal, but are reproduced remarkably well. Fig. 3 shows a substantial increase in radial velocity dispersion and a corresponding decrease in mean rotational velocity from the initial to the final model. We believe that this is due to heating from the bar which leads to an excellent agreement with the velocity dispersion of the target.

Same as Fig. 1, but for Model B with Target II.
Figure 3.

Same as Fig. 1, but for Model B with Target II.

The pattern speed of the bar, Ωp, is also reproduced very well, as shown in Tables 1 and 2. We calculate the pattern speed of the bar, Ωp, by calculating the change in angle of the bar between timesteps, divided by the difference in time between the steps. We take Ωp to be the mean value from the final 10 steps. We found that the bar pattern speed of the model is Ωp = 27.9 km s−1 which is close to that of the target, Ωt, p = 27.5 km s−1. This is probably due to our self-consistent calculation of the gravitational potential, because once the mass distribution and kinematic properties of the target disc are reproduced, a bar with a similar shape and pattern speed to those of the target is expected to develop. This is certainly helped by our use of a known, fixed dark matter halo potential. We are pleased to see a spiral arm developing in the model, which looks similar to the one seen in the target.

Model C applies primal to Target III, which is also a barred disc galaxy, but with a smaller bar than Target II, and a boxy and peanut shaped bulge (e.g. Pfenniger 1984; Athanassoula & Misiriotis 2002; Debattista et al. 2005; Bureau et al. 2006; Saito et al. 2011), as can be seen in the top panel of Fig. 4. Rather surprisingly primal reproduces the boxy structure of the target as shown in the bottom panel of Fig. 4. Fig. 5 shows the radial profiles for Model C. We see a slight inaccuracy in the inner 2 kpc of the radial velocity dispersion, and also in the rotational velocity in the inner 4 kpc, which corresponds roughly with the length of the bar. In addition, σz is systematically higher than the target at all radii. As such the bar pattern speed is not as well reproduced as with Model B, with Ωp = 30.4 km s−1 compared to Ωt, p = 31.7 km s−1. However, we still think that this is a reasonably good recovery of the target, and it is encouraging for further developments to apply primal to more complicated observational data.

Same as Fig. 2, but for Model C with Target III.
Figure 4.

Same as Fig. 2, but for Model C with Target III.

Same as Fig. 1, but for Model C with Target III.
Figure 5.

Same as Fig. 1, but for Model C with Target III.

Model D takes Target IV which is morphologically similar to Target III, with a small bar and boxy peanut feature, as can be seen in Fig. 6. We see a slightly larger bar in the model than in the target. Fig. 7 shows slight inaccuracies in the recovery of the radial and vertical velocity dispersion and mean rotational velocity in the inner 3 kpc roughly consistent with the radius of the bar. However, the pattern speed is still recovered well with Ωp = 28.3 km s−1 for the final model compared to the target of Ωt, p = 28.9 km s−1.

Same as Fig. 2, but for Model D with Target IV.
Figure 6.

Same as Fig. 2, but for Model D with Target IV.

Same as Fig. 1, but for Model D with Target IV.
Figure 7.

Same as Fig. 1, but for Model D with Target IV.

Working with partial data

Even with the huge amount of data returned by Gaia and related stellar surveys, due to our position within the Milky Way's disc, we will not even come close to having a complete data set of the disc stars. Therefore, it is important to make sure our method is still applicable when we do not have access to the complete picture of the disc. Our previous models have used all data within 10 kpc from the galactic centre. However, Model E was performed with a simple selection function restricting the observable volume to a 10 kpc sphere around a point in the plane 8 kpc from the galactic centre, i.e. at (x, y, z) = (8, 0, 0) in Fig. 2, roughly emulating Gaia's observable area, while ignoring effects such as extinction and errors. This is merely the first step towards using primal with realistic data.

The third panel of Fig. 2 shows the face-on and edge-on view of Model E, which has a similar bar to the target (top panel), with a hint of a spiral arm in the lower-left quadrant matching the one visible in the target. Fig. 8 shows that an excellent agreement of the final model with the target radial profiles is still obtained with the restricted data set. This is an improvement on Paper 1, where we saw loss of accuracy when the observable field was restricted. We believe that this is helped by both the likelihood form of velocity observable and the higher resolution with which the simulations have been carried out. The bar pattern speed is recovered very well with Ωp = 27.3 km s−1 compared to the target of Ωt, p = 27.5 km s−1. This shows the ability of primal to produce reasonable results when supplied with a partial data set of the disc particles. However, we are aware that this selection function is crude and the next stage of our work will deal with more realistic selection functions and expected observational errors.

Same as Fig. 1, but for Model E with Target II, performed with a partial data set.
Figure 8.

Same as Fig. 1, but for Model E with Target II, performed with a partial data set.

Same as Fig. 1, but for Model F with Target II, performed with the assumed angle of the bar offset from 30° compared to the real value.
Figure 9.

Same as Fig. 1, but for Model F with Target II, performed with the assumed angle of the bar offset from 30° compared to the real value.

Working with an incorrect bar angle

As mentioned in Section 1, the bar angle of the Milky Way is still debated. Ultimately, we aim to recover the dynamical state of the Milky Way with primal from the future stellar survey data, and recovering the bar angle is also one of our targets. In the previous sections, we assumed that the bar angle of the target is known and we align the bar of the model galaxy to that of the target at every timestep to evaluate the observables. If we do not know the bar angle of the target, like with the Milky Way, we could try different bar angles and hope that the models with the lowest χ2 and/or the maximum likelihood values recover the bar angle of the target, which is the strategy taken by Long et al. (2013). In this section, we examine the effects of running primal with an incorrect bar angle. Models F and G are performed with the bar angles deliberately set to be incorrect by 30° and 10°, respectively. In this section, we again use all data within 10 kpc from the galactic centre.

Model F has been performed while assuming that the bar angle is 30° less than the real angle of the target. The fourth panel of Fig. 2 shows a poor reproduction of the target bar morphology in Model F, which is significantly shorter than that of the target (top panel). We also see no evidence of the spiral structure seen in other cases. Fig. 9 shows the radial profiles for Model F. There is a discrepancy in the inner 4 kpc of the model compared to the target in both the density profile and the radial velocity dispersion. This is in agreement with the weaker bar shown in Fig. 2. The average rotational velocity is also lower across the disc. This is also reflected in the final pattern speed of Ωp = 23.6 km s−1 compared to the target of Ωt, p = 27.5 km s−1. However, in the real Milky Way case, we cannot know the correct profiles or the bar pattern speed in advance. On the other hand, we can evaluate the goodness of fit by |$\chi ^2_{\rho }$| or the values of the likelihood, |$\mathcal {L}_v$|⁠. In Table 2, Model F shows significantly worse values of |$\chi ^2_{\rho }$| and |$\mathcal {L}_v$| than those of Model B which assumes the correct bar angle. Therefore, we should be able to tell easily if the bar angle is off by 30°, at least in this simple target case.

Same as Fig. 1, but for Model G with Target II, performed with the assumed angle of the bar offset from 10° compared to the real value.
Figure 10.

Same as Fig. 1, but for Model G with Target II, performed with the assumed angle of the bar offset from 10° compared to the real value.

Model G has been performed while assuming that the bar angle is 10° less than the bar angle of the target. The fifth panel of Fig. 2 shows a barred disc which is morphologically similar to the target (top panel). The bar is reproduced well whereas the spiral structure is barely visible. Fig. 10 shows the radial profiles for Model G, which again reproduces very well those of the target. The bar pattern speed is still well recovered with Ωp = 28.0 km s−1 compared to the target of Ωt, p = 27.5 km s−1. In Table 2, Model G shows similar values of |$\chi ^2_{\rho }$| and |$\mathcal {L}_v$| to those of Model B, although the velocity likelihood values are slightly worse. These results may indicate that primal does not have the power to determine the bar angle within 10° accuracy, but can recover it with better than 30° accuracy. However, our ultimate target is much more complicated than this ideal target, and at this stage we do not explore further the expected accuracy of recovering the correct bar angle for this ideal target. At least we demonstrate that with this type of exercise we can examine how accurately the dynamical model, such as primal, can recover the bar angle. In our future study, we will construct more realistic mock observational data from N-body barred simulated discs and ‘train’ primal to recover the bar angle as accurately as possible, and finally evaluate the expected accuracy of our recovered bar angle using the comparison demonstrated in this section.

The importance of the rotating reference frame

In this section, we show a brief comparison between the resulting models with and without the rotating reference frame. Model H was performed under identical conditions to Model B, but without the reference frame corrections detailed in Section 2.3. The bottom panel of Fig. 2 shows that the resulting disc contains a less prominent bar, and no evidence of spiral structure in a similar fashion to Model F. Fig. 11 shows the radial profiles of Model H. In the inner 4 kpc region, the radial density and radial velocity profiles are lower for the model than for the target. The average rotation velocity is lower than that of the target across the whole disc. The pattern speed is also too low with Ωp = 24.3 km s−1 compared to the target of Ωt, p = 27.5 km s−1. Fig. 12 shows a comparison of the evolution of the |$\chi ^2_{\rho }$| of the density between Model B and Model H. The |$\chi ^2_{\rho }$| in Model H experiences periodic oscillations in time with the bar rotation which are not seen in Model B. This lack of a smooth model convergence along with the poor accuracy on the recovered radial profiles shows the importance of having a rotating reference frame.

Same as Fig. 1, but for Model H with Target II, which is performed without the rotating reference frame.
Figure 11.

Same as Fig. 1, but for Model H with Target II, which is performed without the rotating reference frame.

Time evolution of $\chi ^2_{\rho }$ for density for Model B (black line) compared to Model H (red line).
Figure 12.

Time evolution of |$\chi ^2_{\rho }$| for density for Model B (black line) compared to Model H (red line).

SUMMARY

We have demonstrated that our updated particle-by-particle M2M algorithm, primal, can recover a target disc system with a bar, including boxy/peanut features, in a known dark matter halo potential. In primal, the observables are compared with the model at the position of the target particles. The mass of the model particles are adjusted to reproduce the target observables, and the gravitational potential is calculated self-consistently from the model particle mass distribution. We have introduced the likelihood-based velocity constraints to primal, which allows us to compare the velocity of the target particle more directly than the smoothed velocity field used in our previous algorithm. To apply this method to a barred disc, we evaluate at every timestep the density and velocity likelihood after the reference frame of the model disc has been corrected, so that the bar of the model is always aligned with the bar of the target. Our fiducial model recovers the radial profiles of the surface density, the radial and vertical velocity dispersion and the mean rotation velocity of the target system very well. In addition, because of our self-gravity implementation of M2M, we can reproduce the bar morphology and pattern speed. We have demonstrated that primal performs well even when the observables are restricted to within a sphere of radius 10 kpc around a point in the disc plane 8 kpc from the centre.

We admit that these applications are still simplified cases. The excellent recovery of the properties of the target galaxies is not surprising because we have not applied any observational errors or selection functions. Our ultimate goal is to further improve primal to be applicable to the future stellar survey data, including the Gaia data. While Gaia will return an unprecedentedly large amount of data, for approximately one billion stars, the accuracy of this data will be highly variable due to distance, extinction, location in the sky etc. In a forthcoming paper, we will apply primal to more realistic mock observational data from N-body simulations, taking into account the observational errors and selection functions. This paper also assumes a known, static, spherical dark matter halo potential for simplicity. In reality the dark matter halo remains very much unknown and yet has a significant effect on the dynamics of its inner galaxy. Thus, we need to explore different dark matter halo potentials and to consider the possibility of using a model which includes a live halo.

We remain optimistic that we can continue to improve primal, and develop a unique tool to recover the dynamical properties of the Milky Way from the future large-scale stellar survey data.

We thank the anonymous referee for their time and effort. We thank Victor Debattista for recommending their likelihood-based velocity constraints. We gratefully acknowledge the support of the UK's Science & Technology Facilities Council (STFC Grant ST/H00260X/1). The calculations for this paper were performed on Cray XT4 at Center for Computational Astrophysics, CfCA, of the National Astronomical Observatory of Japan and the DiRAC Facilities, Legion and COSMOS, jointly funded by the STFC and the Large Facilities Capital Fund of BIS. The authors also thank the support of the STFC-funded Miracle and COSMOS consortium (part of the DiRAC facility) in providing access to the UCL Legion and Cambridge COSMOS High Performance Computing Facilities. We additionally acknowledge the support of UCL's Research Computing team with the use of the Legion facility. This work was carried out, in part, through the Gaia Research for European Astronomy Training (GREAT-ITN) network. The research leading to these results has received funding from the European Union Seventh Framework Programme ([FP7/2007-2013] under grant agreement number 264895). HM is supported by the Natural Sciences and Engineering Research Council of Canada, and the Canada Research Chair program. HM is thankful to the Department of Physics and Astronomy, University of Victoria, for its hospitality.

REFERENCES

Alcock
C.
et al.
ApJ
,
2000
, vol.
541
pg.
734
Allende Prieto
C.
et al.
Astron. Nachr.
,
2008
, vol.
329
pg.
1018
Athanassoula
E.
Eur. Phys. J. Web Conf.
,
2012
, vol.
19
pg.
6004
Athanassoula
E.
Misiriotis
A.
MNRAS
,
2002
, vol.
330
pg.
35
Binney
J.
Gerhard
O.
Spergel
D.
MNRAS
,
1997
, vol.
288
pg.
365
Bissantz
N.
Debattista
V. P.
Gerhard
O.
ApJ
,
2004
, vol.
601
pg.
L155
Bureau
M.
Aronica
G.
Athanassoula
E.
Dettmar
R.-J.
Bosma
A.
Freeman
K. C.
MNRAS
,
2006
, vol.
370
pg.
753
Das
P.
Gerhard
O.
Mendez
R. H.
Teodorescu
A. M.
de Lorenzi
F.
MNRAS
,
2011
, vol.
415
pg.
1244
de Lorenzi
F.
Debattista
V. P.
Gerhard
O.
Sambhus
N.
MNRAS
,
2007
, vol.
376
pg.
71
de Lorenzi
F.
Gerhard
O.
Saglia
R. P.
Sambhus
N.
Debattista
V. P.
Pannella
M.
Méndez
R. H.
MNRAS
,
2008
, vol.
385
pg.
1729
Debattista
V. P.
Carollo
C. M.
Mayer
L.
Moore
B.
ApJ
,
2005
, vol.
628
pg.
678
Dehnen
W.
ApJ
,
1999
, vol.
524
pg.
L35
Dehnen
W.
MNRAS
,
2009
, vol.
395
pg.
1079
Deng
L.-C.
et al.
Res. Astron. Astrophys.
,
2012
, vol.
12
pg.
735
Dwek
E.
et al.
ApJ
,
1995
, vol.
445
pg.
716
Ellis
R.
et al.
,
2012
 
preprint (arXiv:1206.0737)
Fux
R.
A&A
,
1999
, vol.
345
pg.
787
Gerhard
O.
Mem. Soc. Astron. Ital. Suppl.
,
2011
, vol.
18
pg.
185
Gilmore
G.
et al.
The Messenger
,
2012
, vol.
147
pg.
25
González-Fernández
C.
López-Corredoira
M.
Amôres
E. B.
Minniti
D.
Lucas
P.
Toledo
I.
A&A
,
2012
, vol.
546
pg.
A107
Grand
R. J. J.
Kawata
D.
Cropper
M.
MNRAS
,
2012
, vol.
421
pg.
1529
Green
J. A.
et al.
ApJ
,
2011
, vol.
733
pg.
27
Hunt
J. A. S.
Kawata
D.
MNRAS
,
2013
, vol.
430
pg.
1928
 
Paper 1
Ivezić
Ž.
et al.
Jin
W. J.
Platais
I.
Perryman
M. A. C.
Proc. IAU Symp. 248, A Giant Step: From Milli- to Micro-arcsecond Astrometry
,
2008
Cambridge
Cambridge Univ. Press
pg.
537
Kaiser
N.
et al.
Stepp
L. M.
Gilmozzi
R.
Hall
H. J.
Proc. SPIE Conf. Ser. Vol. 7733, Ground-based and Airborne Telescopes III
,
2010
Bellingham
SPIE
pg.
77330E
Kawata
D.
Gibson
B. K.
MNRAS
,
2003
, vol.
340
pg.
908
Kawata
D.
Okamoto
T.
Gibson
B. K.
Barnes
D. J.
Cen
R.
MNRAS
,
2013
, vol.
428
pg.
1968
Kunder
A.
et al.
AJ
,
2012
, vol.
143
pg.
57
Long
R. J.
Mao
S.
MNRAS
,
2010
, vol.
405
pg.
301
Long
R. J.
Mao
S.
MNRAS
,
2012
, vol.
421
pg.
2580
Long
R. J.
Mao
S.
Shen
J.
Wang
Y.
MNRAS
,
2013
, vol.
428
pg.
3478
Martinez-Valpuesta
I.
Gerhard
O.
ApJ
,
2011
, vol.
734
pg.
L20
Minchev
I.
Nordhaus
J.
Quillen
A. C.
Mem. Soc. Astron. Ital. Suppl.
,
2011
, vol.
18
pg.
189
Minniti
D.
et al.
Rev. Mex. Astron. Astrofis
,
2009
, vol.
35
pg.
263
Monaghan
J. J.
Lattanzio
J. C.
A&A
,
1985
, vol.
149
pg.
135
Morganti
L.
Gerhard
O.
MNRAS
,
2012
, vol.
422
pg.
1571
Navarro
J. F.
Frenk
C. S.
White
S. D. M.
ApJ
,
1997
, vol.
490
pg.
493
Pfenniger
D.
A&A
,
1984
, vol.
134
pg.
373
Price
D. J.
Monaghan
J. J.
MNRAS
,
2007
, vol.
374
pg.
1347
Rich
R. M.
Reitzel
D. B.
Howard
C. D.
Zhao
H.
ApJ
,
2007
, vol.
658
pg.
L29
Rodionov
S. A.
Athanassoula
E.
Sotnikova
N. Y.
MNRAS
,
2009
, vol.
392
pg.
904
Rodriguez-Fernandez
N. J.
Combes
F.
A&A
,
2008
, vol.
489
pg.
115
Romanowsky
A. J.
Kochanek
C. S.
ApJ
,
2001
, vol.
553
pg.
722
Saito
R. K.
Zoccali
M.
McWilliam
A.
Minniti
D.
Gonzalez
O. A.
Hill
V.
AJ
,
2011
, vol.
142
pg.
76
Shen
J.
Rich
R. M.
Kormendy
J.
Howard
C. D.
De Propris
R.
Kunder
A.
ApJ
,
2010
, vol.
720
pg.
L72
Spergel
D. N.
Blitz
L.
BAAS
,
1990
, vol.
22
pg.
1340
Springel
V.
Di Matteo
T.
Hernquist
L.
MNRAS
,
2005
, vol.
361
pg.
776
Steinmetz
M.
et al.
AJ
,
2006
, vol.
132
pg.
1645
Syer
D.
Tremaine
S.
MNRAS
,
1996
, vol.
282
pg.
223
Wang
Y.
Zhao
H.
Mao
S.
Rich
R. M.
MNRAS
,
2012
, vol.
427
pg.
1429
Weinberg
M. D.
ApJ
,
1992
, vol.
384
pg.
81
Yanny
B.
et al.
AJ
,
2009
, vol.
137
pg.
4377