2018-07-31

writing

I spent the day writing in the spectroscopic-parallax project. I wrote six or seven paragraphs, and that's about it! (Actually, that's a great day: My goal is two paragraphs per day.)

But in addition to the writing, I did have an interesting conversation with Tom Herbst (MPIA), Thomas Bertram (MPIA), and Kalyan Radhakrishnan (MPIA) about adaptive optics. The idea is to think about using the science data (the imaging you care about) to update the adaptive mirrors. What new things might be unlocked by that, especially if used in concert with the wavefront sensors? This reminds me of old conversations I have had with Matthew Kenworthy (Leiden). I also asked what kinds of science you might do with the wavefront sensors. Just as the imaging detector gives wavefront information, the wavefront sensors give imaging information!

I also was present for presentations by Eilers (MPIA) and Birky (UCSD) on their stellar projects in the MPIA Stars Group Meeting.

2018-07-30

spiral arms? and model-grid troubleshooting

The excitement of the day is that we looked at velocity-tensor maps (maps of the means of average velocity-velocity products) across the disk with Eilers (MPIA): We see lots of structure, including possible evidence of spiral arms or bar resonances on the off-diagonal tensor components. Reminder: If the Galaxy is axisymmetric, there will only be diagonal tensor components in the R, phi, z coordinate system. If we find off-diagonal components: Non-axisymmetry. Could be interesting. Rix (MPIA) encouraged us to stay on target for a Jeans model and leave these hints of complex disk morphology for later investigations.

In addition to this, I had a great chat with Maria Bergemann (MPIA) and Mikhail Kovalev (MPIA) about fitting spectra with spectral models, given that the models are amazingly expensive to compute. They do a (random) grid and then interpolate using The Payne. They are getting some results they aren't happy with, so I walked through basic tests that can be done in these situations.

Basic sanity checks—when you are fitting data using an interpolation of a grid or random assemblage of model predictions—are the following: Find the closest model point in the grid, and then the K next closest, where K is larger than the dimensionality of the model parameter space. Is the best-fit model in the convex hull of the K? Are the K in one group or multiple groups? Do the K look like they hit the edge of the grid? And what are the chi-squared values? And is the interpolated best point also in the convex hull? All these pieces of information go into an analysis of whether you have enough model evaluations and how to interpolate them.

2018-07-27

evidence for dark-matter in (exceedingly large) colliders

Today Ana Bonaca (Harvard) showed beautifully that the features seen in the GD-1 stellar stream are very well described by an encounter in the past (collision, if you will) with a dark-matter substructure. Her argument is fundamentally qualitative, but so many aspects of the data are matched by the toy model she has made that it is hard to see how to get around the conclusion. This could be huge! We discussed the scope of the paper she could write (or really the content of the abstract).

2018-07-26

don't cut Gaia on parallax signal-to-noise!

We spent the day discussing Milky-Way halo and disk structures with Amina Helmi (Kapteyn). It was fun! Along the way, Adrian Price-Whelan (Princeton) and I spent time looking at large halo structures that have been found in the literature. We could find some extremely odd structures when we match the cuts used in the papers we were looking at. And then we found the following:

Say you are cutting at parallax signal-to-noise of 5 (parallax over parallax error greater than 5). And then you look at the configuration-space shape of the stellar distribution you find? Well guess what? Since parallax errors are a strong function of sky position, the shape of your object will be very strange at large distance. For instance, the parallax errors only go below 0.05 mas in some parts of the sky. So your stellar distribution will only extend out past 4 kpc in some specific directions (and not all directions).

All this relates to various things I have said repeatedly in this forum: Build your science on measured quantities, not estimated uncertainties on those quantities! Your uncertainties are not really your data, and it is almost impossible to know your uncertainties on your uncertainties. Furthermore, the people who want to cut on parallax signal-to-noise are also using inverse-parallax as distance, and that's dangerous too. Finally, if you cut on parallax signal-to-noise, you will bias any means or averages or regressions you do using those parallaxes.

My advice: Find ways to work that don't require these cuts. These issues are a big danger for people using actions to study the stellar distribution: Actions require distances, distances are generally inverse-parallax, and then low signal-to-noise parallaxes must get cut. These arguments apply there too. We have to forward-model the data if we want to understand spatial structures, I am afraid.

2018-07-25

tidal distortions and disruption

At lunch we had a discussion (inspired by Bertrand Goldman, MPIA) about the expected shapes of open clusters. I think they should be elongated along their orbits. There was some back and forth but this made me more confident: Once the clusters start to disperse, they should distort through orbital phase-frequency differences. I proposed a simple test of this. But I'm more interested in the point that this should help us find new kinds of (maybe older) clusters!

In the afternoon, Amina Helmi (Kapteyn) showed up and Bonaca (Harvard), Price-Whelan (Princeton), and I discussed many things with her. We discussed the question of when and how stellar streams in the Milky Way halo constrain purely local properties of the Galaxy. Does this result (from Bonaca) depend on the potential being time-dependent? I think it does. Helmi didn't disagree but is optimistic that we can handle the time dependence.

We also discussed the lack of tidal tails around globular clusters: Is it surprising that only Palomar 5 has these tails? Price-Whelan has looked at a few of the most likely clusters in Gaia, and nada. This led to (or was part of) a longer discussion of the statistics of streams: How many will there be and how many do we expect?

2018-07-24

all talk

Today was an all-talk day! But I did get in a bit of morning time writing in the spectroscopic-parallax method paper. I have to figure out whether the model is convex. I am not sure that it is, but I can't see why not. In the talking part of my day, I spoke with Bedell (Flatiron) about continuum-normalization of stars. I think I have improvements to the sigma-clipping hack we are currently doing, but I feel like I am reinventing the wheel! I spoke with Bonaca (Harvard) about our plans to drop dark-matter-halo-perturbed streams into toy Galaxy potentials. She had a very small-scope recommendation, which I accepted. And I spoke with Rene Andrae (MPIA) about computationally permitted options for the Gaia CU8 pipelines. They have extremely restricted memory and time requirements for their pipeline, so they can't do all the things they would like to do. He showed me some nice results with random-basis methods, which have good properties both statistically and computationally.

2018-07-23

hike-writing and hike-coding

I was off the grid for a few days, but I took opportunities when others were hiking to sit at the Hütte and do some writing in the spectroscopic-parallax (or spectroscopic estimates of luminosity and distance) project. I have structured the paper in our new style, which is to lay out all assumptions clearly at the beginning and then find the method that flows from those assumptions. If no method flows, new or different or additional assumptions are needed. This makes the subjectivity clear, but also protects us from the complaint that there are implicit assumptions. A referee can object to the assumptions but (we hope) not the method given the assumptions.

I also worked out with Adrian Price-Whelan (Princeton) the details of the simplest possible inference of dynamics from element abundances. The idea is to find the dynamical model that makes the abundances a function (only) of the dynamical actions (or other invariants). For the demonstration project, we are just going to do vertical dynamics, and just with very simple moments of the abundance distribution. I built and tested a leap-frog integrator to integrate the vertical orbits.

2018-07-20

Ringberg, day 5

Bedell (Flatiron) and I worked out a greedy method to optimize the regularization parameters for wobble, at least roughly. The method is necessary, because there are 72 orders and we have come to the conclusion that for every order, for every different kind of star, we are going to need a unique set of regularization parameters.

Birky (UCSD) showed that M-dwarf stars with different kinds of pathologies (fast rotation, pre-main-sequence, flaring, or binary) have larger chi-squared values against our Cannon model. We are going to leave it at that, but because we have these dependencies, we are going to be able to make data-driven spectral indicators of all these things.

Rix (MPIA) and I discussed the results that Eilers (MPIA) produced this week. We realized that we don't have to get the full density model for the tracers right; we can just show our results in the context of various sensible assumptions about those tracers. That's a simplification, and sensible, given what we have.

2018-07-19

Ringberg, day 4

Today was almost all Milky-Way rotation-curve work, all day. Eilers (MPIA) and I worked through a checklist of things we need to figure out, and some of them made the project clearer, and some much less clear. In order to model the rotation curve with a set of tracers that are phase-mixed but not on circular orbits, we need a model for the asymmetric drift. This model is fundamentally a Jeans model, for which we need to know various second moments of the velocity field, and some derivatives of density and velocity dispersion with respect to radius. The second moments are (relatively) easy to measure, but without a selection function it is hard to get the derivatives of the density field!

For now, we decided to get our density models from the literature, if we can. That doesn't look super-hopeful. But I'm still hoping!

Other work included conversations with Bedell (Flatiron) about how the regularization we are using in wobble to control spectral model complexity doesn't seem to want to be the same in different parts of the stellar spectrum (which are differently complex!); with Lauer (NOAO) about using PCA to build data-driven models of nuisances; and with Anderson (Flatiron) about using RR Lyrae stars from PanSTARRS to characterize (and also find new) halo substructures.

2018-07-18

Ringberg, day 3

Today Megan Bedell (Flatiron) and I called Jan Rybizki (MPIA) to discuss his nucleosynthesis (or chemical-evolution) models for the abundances Bedell sees in her Solar twin stars. His fits are not great—the yield tables from nuclear astrophysics don't do a good job explaining the Sun yet—but he can build a model that is best-fit under his assumptions. The realization we had today is that Bedell's abundances are referenced to the Solar abundances in the real world; and so if we are using Rybizki's model, we should reference her abundances to the Solar abundances in Rybizki's world! That should make everything work better and permit us to come to conclusions.

All this assumes that Rybizki's model is better at getting relative element abundances than absolute abundances. That remains to be seen! However, this also connects to the constant refrain on my blog that we need to do inference in the context of models we know to be wrong! That can't be helped; so what is the epistemological status of conclusions based on wrong models? Scientific inferences are only correct in the context of specific and questionable assumptions. But we still learn a lot and know a lot.

2018-07-17

Ringberg, day 2

While I was on vacation, Jessica Birky (UCSD) used Gaia DR2 to identify many M-type dwarfs among the APOGEE spectroscopy, and type them using our data-driven models. The effective temperatures and metallicities that she finds vary beautifully along and across (respectively) the main sequence. It looks great. There are also many stars way above the main sequence, and we think these may be very young stars that are falling onto the main sequence. If that's true, it looks like we will have age indicators too. But we might postpone that to a second paper.

Megan Bedell (Flatiron) and I discussed the regularization scheme in her wobble code to measure precise radial velocities of stars, and also deliver extremely precise telluric and micro-telluric models. We decided to revisit all of the regularization and try to set it sensibly. The problem we are facing is that there are more regularization parameters and choices than we can comfortably cross-validate. So we have to do something more greedy for now. We discussed and Bedell started to implement. We also discussed the new scope for our note on information-theory bounds on radial-velocity precision; my job is to write that up tonight or tomorrow.

Christina Eilers (MPIA) and I made many improvements to her code to map the Milky-Way disk with red-giant stars, including changing slightly the absolute-magnitude model, estimating uncertainties on kinematic quantities through proper (nonlinear) error-propagation, switching to cylindrical coordinates, and working out (with the enormous help of Hans-Walter Rix and Ortwin Gerhard) a Jeans approach to getting the rotation curve in the face of asymmetric drift. At the end of the day I became convinced that the simplicity of our data-driven model for stellar luminosities will permit us to infer a dust map from our results; as my loyal reader knows, this is why I love linear models! I hope I'm right.

2018-07-16

new correlation function estimator

After a few days of much-needed vacation, I spent travel time towards Ringberg Castle working out and writing down an estimator for the correlation function and its gradient. That is, it is a replacement of the standard estimator that gives you the correlation function in radius bins with a new estimator that gives you the parameters of a parameterized model of that correlation function, even if those parameters have correlated (or covariant) estimates under the data. This was a straightforward merging of the argument underlying the Landy & Szalay estimator with the argument underlying linear least-square fitting.

I wrote up a telegraphic latex document and sent it to Kate Storey-Fisher (NYU), who might try to implement it later this summer. I'm excited about cosmology again!

2018-07-12

linear models for the win

Christina Eilers (MPIA) and I have been debating what photometry and colors to put into our linear model for distance estimation or distance-modulus estimation. And then we realized: It is a general linear model! So we should just put in all photometry and the code will decide what colors to create and use. We did, and the model improved for the stars behind the most dust. Just a reminder: We don't explicitly extinction-correct anything! We ask the model to figure out extinction on its own, by training on a sample that has stars at different extinctions.

In the afternoon I had a conversation with Maryam Modjaz (NYU) and Marc Williamson (NYU) about applying PCA and other simple machine-learning techniques to their library of supernova spectra across type and phase. They have some nice results, that show that the first few PCA components do a good job of separating types, and they can show that the separation quality is a function of time (relative to maximum light, or the explosion). We discussed using something like a purely linear support vector machine to do classification that would be highly interptetable. As my loyal reader knows, I am happy to sacrifice some performance for interpretability.

2018-07-11

using Gaia correctly; direct imaging

As my loyal reader knows, Christina Eilers (MPIA) and I have been working on a purely linear model for estimating parallax given APOGEE spectroscopy (and Gaia+2MASS+WISE photometry), for very luminous red giants. This model had some pathologies, which caused Hans-Walter Rix (MPIA) to disagree with us about various aspects of implementation. On my vacation, I figured out how to generalize this model to make it a linear predictor for absolute magnitude (or log luminosity or distance modulus) without breaking the nice properties of the model, to wit: We don't do any cuts on the Gaia parallaxes or parallax signal-to-noise, avoiding selection-induced biases. And we use the Gaia likelihood function correctly.

It worked! We are now predicting distance moduli with a distance precision of better than 10 percent for very luminous giants (more luminous than the red clump). We made some sweet maps of Milky Way disk kinematics (mean velocity and velocity dispersion as a function of location in the disk).

Late in the day, Matthias Samland (MPIA) re-booted our project with Jeroen Bouwman (MPIA) to apply technology like our Kepler CPM calibration to ground-based direct-imaging data from coronographs. We reminded ourselves where we are and made very short-term writing goals to write down what we think we are doing.

2018-07-10

bad data; crazy model

Today, Jessica Birky (UCSD) found a weird M-type dwarf spectrum in the APOGEE data. We know it is a M dwarf, because Andrew Mann has an optical spectrum of it and physical parameters. But the APOGEE spectrum has features in all the wrong places; it looks nothing like any of the other M dwarfs we have. By the end of the day we started to suspect that it is a redshift issue, where the pipeline is assigning the wrong radial velocity and redshifting the data incorrectly.

I got in a discussion with Adrian Price-Whelan (Princeton) of an insane idea I had (while hiking) about Schwarzschild modeling: We could build a model out of not complete orbits but small orbit segments. We could deliberately make these segments with inconsistent gravitational potentials. And then when we model the data as a sum of segments, it would select the segments that fit the data best locally. Hence: A non-parametric model of the Milky Way potential, built up of locally fitting but globally inconsistent orbit segments! That's interesting. And probably intractable.

Lauren Anderson (Flatiron) showed me some examples of stellar streams where it appears that the Gaia DR2 RR Lyrae lie kinematically in the stream. That is interesting, because the RR Lyrae would deliver distance information for the streams.

2018-07-09

angles mixed?

I spent a few days fully off-grid, hiking. During that time I nonetheless thought and dreamed about some astrophysics projects. Not sure if that's healthy! But hey.

In particular, Hans-Walter Rix (MPIA) and I talked out some possible projects with Gaia DR2 that could make good use of action–angle formalism to constrain properties of the Milky Way. For example, we could look at angle uniformity in action boxels. That requires a selection function, but maybe one is forthcoming? For another, we could look at whether angles predict element abundances at fixed actions? If they do, then either the potential is wrong or the populations are kinematically young. And for another, we could look at point symmetries in velocity space (where selection should be simple) of stars in action boxels. Any asymmetries point to dynamically young populations. All projects to discuss with the team on my return to civilization.

2018-07-03

bias–variance trade-off, for parallax estimation

It was a very successful day today! Christina Eilers (MPIA) and I performed a set of external validations on our spectroscopic parallax project and it passed them well: our parallax estimates are more precise than Gaia for the red-giant stars we care about, and they seem to be unbiased when we look at the positions of stellar clusters (open and globular). A fight broke out with Hans-Walter Rix (MPIA), who doesn't like that our spectroscopic estimates of parallax sometimes go negative! But we are trying to build something that can be used as a likelihood for distance, so we want it to have the same kind of unbiased properties that the Gaia parallaxes have. That's leading to some friction on the team!

Fundamentally the issue is this: Do you want the best distance estimates you can get? Or do you want a likelihood function that can be multiplied into other likelihoods to obtain better distances given everything you know? If you want the former, then you might take on a lot of bias to get lower variance (more precision). If you want the latter, then you want unbiased likelihood components that can be multiplied together.

Another important distinction is this: Do you want to use many stars in concert to do things like measure the rotation curve or a metallicity gradient? Or do you just want to know an individual star's position? If the former, then you want unbiased likelihood functions that you can combine. If the latter, then you want to take on bias to increase precision.

2018-07-02

Milky Way disk and halo, HabEx, M dwarfs, etc

Ah, back to work again. It is my incredible privilege to work in Heidelberg every summer. Today I spoke with Sara Rezaei Kh (MPIA) and Christina Eilers (MPIA) about projects to use Gaia DR2 to constrain properties of the Milky-Way disk, especially the rotation curve and the dust density as a function of position. That connected to a longer conversation with Lauren Anderson (Flatiron) and Hans-Walter Rix (MPIA) about measuring the properties of stellar populations in boxels of the Milky Way. Boxels in position, or in velocity, or in actions. It also led to some work in which Eilers and I looked at external validation (using open clusters) of our spectroscopic parallaxes.

I also re-started projects on M-type dwarf stars with Jessica Birky (UCSD) who is in HD for the summer. She will write up her results using The Cannon to transfer labels from a small training set fit by Andrew Mann (Columbia) to all of APOGEE if all goes well.

And into town came Daniel Stern (JPL), who gave an incredibly impressive talk about HabEx, the NASA mission concept for the next decadal survey. It is an ambitious mission, but strongly cost controlled. If it is paired with a starshade (an idea I love), it could do amazing exoplanet science. And it really motivates me to get back to thinking about physical optics!

Finally, I spent a couple hours in the back of the room for #StellarHalos18, where I learned about Gaia DR2 projects on the Milky-Way halo. In particular, I learned about the Malhan method for finding streams. It puts high weight on stars with likely co-orbital neighbors, and then uses a by-hand or by-eye step to link them into stream discoveries. Very impressive. Very fast. Very high impact! But a bit too heuristic for my taste; let's automate all the things!