WorksPhysics and Astronomy
Bayesian Solar Wind Modeling with Pulsar Timing Arrays
Abstract
Using Bayesian analyses we study the solar electron density with the NANOGrav 11-year pulsar timing array (PTA) dataset. Our model of the solar wind is incorporated into a global fit starting from pulse times-of-arrival. We introduce new tools developed for this global fit, including analytic expressions for solar electron column densities and open source models for the solar wind that port into existing PTA software. We perform an ab initio recovery of various solar wind model parameters. We then demonstrate the richness of information about the solar electron density, , that can be gleaned from PTA data, including higher order corrections to the simple model associated with a free-streaming wind (which are informative probes of coronal acceleration physics), quarterly binned measurements of and a continuous time-varying model for spanning approximately one solar cycle period. Finally, we discuss the importance of our model for chromatic noise mitigation in gravitational-wave analyses of pulsar timing data and the potential of developing synergies between sophisticated PTA solar electron density models and those developed by the solar physics community.
(The NANOGrav Collaboration)
Corresponding author: Jeffrey S. Hazboun
Introduction
Radio observations of distant astrophysical sources have long been used to study the content and characteristics of the solar wind. For example, Hewish & Dennison (1967) used observations of scintillation from quasars as a way to probe the structure of the solar wind. The dispersion of pulsed radio emission from pulsars, due to the diffuse ionized medium along the observational line of sight (LOS), has been known from their first radio observations [31]. The utility of these radio pulses for investigations of electron density was used in Counselman et al. [19], only two years after the discovery of pulsars, to measure the solar electron density ( at 1 au) based on a spherically symmetric model for the solar wind.
Since these early investigations, pulsar astronomers have often included a model for the solar electron density as a part of pulsar ephemerides—see, for example, the three main pulsar timing software packages Tempo, Tempo2, and Pint [55, 33, 50]. In Lommen et al. [49] and Splaver et al. [60], the solar wind signal was shown to be highly covariant with astrometric components of the timing models for individual pulsars, in particular the parallax and sky position, because these parameters contain strong Fourier components at 1/yr and higher harmonics. Beyond the importance of a solar wind model for accuracy in pulsar astronomy, You et al. [77] and You et al. [76] showed the sensitivity of pulsar data sets to more complex (than the spherically symmetric wind) features in the solar electron density2. More recent work [51, 66, 67] has shown the potential of pulsar timing arrays (PTAs) as independent probes of the solar wind and its behavior as a function of time.
In this paper we introduce new methods, expanding upon those used in Madison et al. [51] and Tiburzi et al. [67], to obtain information about the solar electron density from PTA data. Using a fully Bayesian framework, we show that much more information about the solar wind can be obtained from the same set of pulsar data used in Madison et al. [51], the NANOGrav 11-year Data Set Arzoumanian et al. [8]. As in these recent studies, it is important that we are using an array of pulsars. This allows us to separate the variations in electron density of the ionized interstellar medium (ISM) along the kiloparsec distances to pulsars from the local fluctuations in electron density due to variations in the solar wind.
The NANOGrav 11-year Data Set consists of high-precision time-of-arrival (TOA) measurements 45 millisecond pulsars spanning up to 11.4 years. Each pulsar was observed at approximately a monthly cadence, over widely separated radio frequencies in order to measure both TOAs and dispersion of the pulsar signal at each observing epoch. Observations were made using the Arecibo Observatory and the Green Bank Observatory. Typical TOA measurement precision was in the range 0.1 to 1 . Further details of the data set are in NG11.
Monitoring of Solar Electron Density
Since the initial use of astrophysical radio sources to measure solar wind density via scintillation [32], a program for monitoring solar wind densities, especially at higher solar latitudes, has continued [16, 52, 68]. In addition to ground-based monitoring, a considerable number of resources have been used to study the solar wind from space. Many of these spacecraft have included instruments for electron density measurements, including Ulysses’s Solar Wind Observations Over the Poles of the Sun (SWOOPS; Bame et al. [13]), the Orbiter Retarding Potential Analyzer (ORPA) instrument mounted on the NASA Pioneer Venus Orbiter spacecraft (Knudsen et al. [39]) and the Advanced Composition Explorer (ACE) with its Solar Wind Electron Proton Alpha Monitor (McComas et al. [53]). Similar to pulsar timing measurements, the Viking mission used dual frequency delays to make early measurements of the latitudinal dependence of the solar electron density (Muhleman & Anderson [54]). The Parker Solar Probe (Bale et al. [11]) with its Solar Wind Electrons Alphas and Protons (SWEAP) instrument (Kasper et al. [38]) is revolutionizing our understanding of the solar wind in the inner solar system (Bale et al. [12]).
Apart from the Viking data, these space missions take in situ measurements of the solar electron density. These allow for one variety of long-term monitoring of the solar wind and Ulysses data have been used to study its structure and behavior at high to mid latitudes (Issautier et al. [36]). Obviously, this monitoring requires the use of costly spacecraft, and while the data from pulsar timing does not provide the same type of fine-grained local spatial information, the many lines of sight to pulsars allow for omnidirectional integral monitoring of the solar electron density from ground-based facilities and the scrutinization of various models for its structure and evolution. PTAs provide a probe of the solar wind that is distinct from and complementary to space missions.
Noise Mitigation in PTAs
The main goal of PTA experiments is to use precise long-term measurements of millisecond pulsars to observe gravitational-waves (GWs) in the nanohertz regime. Many pulsars are used since the unique noise properties of individual pulsars necessitates the corroboration of common3 astrophysical signals across multiple sources and because lower-amplitude common signals can be drawn out of the noise of more pulsars. Additionally, PTAs allow us to search for other common signals, for instance the motion of the solar system barycenter (Vallisneri et al. [69]) or errors in terrestrial time standards (Hobbs et al. [34]).
One motivation for this work is to develop a pan-PTA solar wind model as one component of the next generation of PTA noise models. Dispersion measure (DM) variations are one of the largest noise sources in PTA data, ([42, 18, 17, 37], and modeling these variations is an important part of PTA noise mitigation strategies—it is, in fact, a major driver of PTA observing strategies ([59, 44]). DM values in NG11 vary from , while the variations are usually on the order of . While a piecewise binned model of DM variations (DMX, see Arzoumanian et al. [7]) has served NANOGrav well, it removes up to a third of the power through the timing model transmission function ([29, 7, 37]), a problem endemic to any DM variation model that is part of the timing model fit. Additionally it has been shown that asynchronous multiband observations can lead to misestimation of DM variations (Lam et al. [41]) when binned together, either in DMX or an interpolation basis. Niu et al. [56] demonstrated that observations only a day apart can be insufficient to remove sharp solar wind effects, or “cusps”. In Hazboun et al. [30] and Lam et al. [47] the effect of sharp unmodeled cusps in DM variations was demonstrated. Mismodeling of solar wind cusps could then also present as broadband white noise in pulsar datasets. In particular, this could adversely affect GW searches for single sources which are especially dependent on the high frequency noise floor of PTAs ([40, 43] (Lam et al. 2018b)).
Perhaps most importantly for PTAs, in addition to the noise introduced by mismodeling DM variations, it was shown in Tiburzi et al. [65] that the solar wind can actually manifest spatial correlations amongst the pulsars, a potential source of confusion when searching for GWs, especially a GW background which presents in the data as a low-frequency spatially-correlated process. In this paper, we demonstrate how a fully Bayesian framework, built upon the extensive analysis infrastructure developed by PTA collaborations to search for GWs, can isolate the signal from the solar wind in PTA data. This allows for precise noise mitigation as well as monitoring of the overall solar electron density both as a function of time and observational LOS.
The paper is organized as follows. In § 2 the DM parameter will be derived along with various analytical models for a spherically symmetric and static solar electron density. In § 3 we present the full Bayesian model for pulsar timing data and how we incorporate our solar wind models. In § 4 three models for the behavior and structure of the solar electron density will be presented along with the results of using these models to analyze NG11. In § 5 we discuss the incorporation of these models into PTA data analyses as well as how these models might be used in the future to bolster efforts to study solar physics.
Solar Electron Density Models
The simplest and most common model for the solar electron density used in pulsar timing software packages like TEMPO, TEMPO2 and PINT ([55, 33, 50]) is the spherically-symmetric, time-independent expression , where is the electron density at 1 au, herein measured using units of to match pulsar timing software. The DM parameter used in pulsar timing is the column density, i.e. the integral of along the line-of-sight to the radio source
where the first line is the generic expression, and the last equality uses the relationship and . See Figure 1 for the definitions of these variables.4 The time delay is then dependent on the radio frequency and the DM by

Figure 1. Solar Wind Geometry: The figure defines the variables used for the solar wind electron density line integral. Here we have adopted some of the nomenclature of scattering calculations, as in Aksim et al. [2], using as the impact parameter and defining as the “impact angle”, i.e the solar elongation. The vector points from the Sun to the pulsar, while points from the Sun to the observatory on Earth. The distance to the pulsar is effectively infinite when compared to the distance to the Earth, so and are effectively parallel.
DM is usually measured in units of , and the constants of nature in front combine to .
In You et al. [77] the authors use a two phase model assuming that the LOS to the pulsar crosses the fast and slow solar wind. Higher order terms, in addition to the simple model are used to ameliorate the effect of realistic solar wind time delays. The slow solar wind model5,
was developed in You et al. [77] by combining the near and far distance models in Allen [5] and Muhleman & Anderson [54]. A separate model was used for the fast solar wind
developed in Guhathakurta & Fisher [26, 27]. These models were then combined with measurements of the portion of the line-of-sight in the fast and slow wind to better estimate the cusps to the pulsar timing data. In You et al. [76] the fraction parameter for the two phases of the model is fit for as part of the analysis. Additionally a time dependent component is investigated. The model in You et al. [77, 76] has potential as a useful tool for removing the solar wind signal from pulsar timing data, especially for single pulsars, where disentangling the DM variations from the ISM is difficult.
Recently, however, Tiburzi et al. [66, 67] showed that the simple model for commonly used in pulsar timing software packages and the You et al. [76] model are both insufficient for accurately modeling dispersion delays from the solar wind. Even with allowances for time variability, these models still fall short of the mitigation needed for the low frequency radio data taken by the LOw-Frequency ARray (LOFAR) [61, 71] used in the analyses.
In Aksim et al. [2] the authors compare their measurements of DM using Very Long Baseline Interferometry (VLBI) observations of quasars to both a spherically symmetric model and a numerical integral of the Alfvén Wave Solar Model (AWSoM) [70]. As in other studies the AWSoM matches well with the astrophysical measurements, however this model is currently too cumbersome to be used effectively by PTAs. Aksim et al. [2] also fit for a variable power spherically symmetric model and find reasonable agreement with their time delay measurements.
General Spherically Symmetric Solar Wind Density
Here we derive generic expressions for the dispersion measure for any spherically symmetric electron density fall off. While these expressions will assume the source of the electrons is the sun, they are general enough to be used for any spherically symmetric source of streaming electrons along the LOS to a pulsar, a stellar wind from a star orbiting a pulsar, for instance. Relaxing the assumption that the electron density around the sun drops off as , we model the drop off with a more generic power law dependence. These calculations are similar to those in Aksim et al. [2], where the analytical expression for the time delay was calculated directly.
Assuming that is the exponent in the power law dependence we go through a similar calculation as in Equation (4),
where is a hypergeometric function. This expression can be further simplified by assuming the pulsar is sufficiently distant that we can take the limit . This gives
where is the Gamma function. Compare this expression to the time delay equation given in Aksim et al. [2]. Equation (11) simplifies to Equation (4) when . See Appendix § 8 for expressions with higher integer values of . The relationships below Equation (4) can be used to write this in terms of . One can choose to build a solar electron density model using multiple summed terms, as in You et al. [77, 76]; Allen [5]; Muhleman & Anderson [54]; Guhathakurta & Fisher [26, 27], or allow the index to vary, as in Aksim et al. [2].
Bayesian Methods
The solar wind modeling presented here relies on the analysis infrastructure developed by PTAs for GW searches ([72, 48, 64, 74, 73]). While a gravitational wave background only causes residuals of tens of nanoseconds, the solar wind signal is much stronger ( at 1 GHz with ). This allows us to undertake an in depth study of the solar wind by modeling the solar electron density across all of the pulsars simultaneously.
To decouple the variations within the ISM along the LOS to each of the pulsars from the solar electron density that is varying locally, we use a deterministic solar wind model based on the expressions in § 2.1. The solar wind electron density is fit as a global parameter across all pulsars, while the geometry of the solar wind model is dependent on the details of the individual Sun-Earth-Pulsar angles, , shown in Figure 1. In addition to this model each pulsar is also fit with a quadratic polynomial in time over the data set for the DM, encoded with the pulsar timing parameters, DM1 and DM2, as well as an additional Gaussian process model that emulates the variations of the ISM, which will be discussed in § 3.2.
The PTA analysis framework includes a timing model marginalization, based on a linearized timing model (van Haasteren & Levin [72]) and a full noise treatment that includes a generalized covariance matrix, parametrized by TOA errors, three additional white noise parameters and a power law red noise model (Lentati et al. [48]; Taylor et al. [64]). The PTA likelihood model is implemented using the ENTERPRISE software suite (Ellis et al. [23]) and the various models and extensions compiled in enterprise_extensions (Taylor et al. [63]). We use the Parallel Tempering Markov-Chain Monte Carlo Sampler, PTMCMCSampler, for numerically integrating our likelihood (Ellis & van Haasteren [22]).
It should be noted that while this formalism is focused on high precision millisecond pulsars, the code infrastructure can be used on data from any type of pulsar and its timing data. Observations of the more numerous canonical pulsars may be useful for these types of solar investigations in the future.
ACE SWEPAM Prior
As mentioned in § 1, a number of past and ongoing space missions have collected solar electron density data over the past few decades. In order to take advantage of this large base of knowledge about the solar electron density we used the solar electron density data from the ACE Solar Wind Electron Proton Alpha Monitor (McComas et al. [53]) to build an informative prior for , the solar electron density at 1 au. We binned the data from the same time span as NG11, corrected the density from the L1 Lagrange point using a density model6 and used an empirical distribution to build a random variable in SciPy. The distribution and median are shown in Figure 2. The ACE SWEPAM in situ data are a useful prior for limiting the extent of parameter space at which we expect to be working, roughly –. However, the electron flow in the ecliptic plane is known to be different than the fast flow at other solar latitudes [54, 13, 26]. We do not expect the ACE measurements to match our results perfectly, but it is a good comparison in these analyses as a sanity check. In practice the prior was only informative when compared to the data in some individual pulsar runs — usually pulsars without strong solar wind signals in their TOAs. In tests, the full PTA runs retrieved the same posteriors from uninformative uniform priors, but we use the ACE prior throughout the work presented here to decrease convergence times in our Markov Chain Monte Carlo runs.

Figure 2. ACE SWEPAM Prior. We use in situ measurements of the solar electron density at Earth’s orbit to construct a prior for our analysis. Note that the prior extends all the way up to .
Uniform priors were used for the spectral index in all higher order searches and log-uniform priors were used for priors when .
Dispersion Measure Variation Model
Gaussian processes (GPs) have been used extensively to model time-correlated noise in pulsar datasets [10, 9, 25]. Commonly, they are used to model the GW background, achromatic red noise, such as that caused by intrinsic spin noise, and chromatic noise due to the bulk movement of the ISM [25, 48].
The standard prior function of GPs in these datasets is a red (negative spectral-indexed) power law model with a Fourier-basis. The solar wind has strong spectral characteristics at Fourier frequencies of and higher modes [51]. In early testing these modes showed themselves to be highly covariant with some frequencies in a Fourier-basis GP, so we have instead adopted for our DM variations model another common ansatz for GPs: a square exponential kernel,
where is an overall variance, is a time scale of variation, and a constant variance is also added as a regularizing term for stable inversions and to ensure a minimal value of the variance. This kernel represents the realization average of covariance matrices described by this type of variation. They are similar to the structure functions used in the pulsar timing literature for characterizing noise due to variations in the ISM—for instance, see Equation (7.1) in Foster & Cordes [24] or Section 5 of Lam et al. [42]. Such structure functions were also used as a check in Tiburzi et al. [66] to ensure the iterative process used therein full disentangled the solar wind signal form the DM variations in the ISM. Our Bayesian framework allows for simultaneous fitting across multiple pulsars and frees us from the iterative process used in this latter publication. Tiburzi et al. [67] also uses a Bayesian analysis to separate these signals, but only within single pulsar datasets in order to keep track of solar wind dependencies on ecliptic latitude. The GP model above (along with our solar wind model) replaces the use of a short-time-span DMX model normally used in NANOGrav datasets [8, 3 b], since DMX cannot distinguish between the ISM and solar wind contributions to the measured DM value at each epoch. Here a standard 15 day linear interpolation basis in the time domain is used for constructing realizations of the DM variations.
Noise Analyses
Since we are implementing entirely new DM variation models from the original NG11 analysis, we redid single pulsar noise analyses using our solar wind and DM GP models. This allowed us to recover new values for the standard white noise parameters, EFAC, EQUAD and ECORR, (see e.g., [7, 46]) and power law achromatic red noise parameters for each pulsar. These single pulsar noise runs then consist of a set of three white noise parameters for each backend/receiver combination used for observations, two DM GP parameters, and , a solar electron density, , and two power law red noise parameters, and .
Using only one pulsar’s dataset it is impossible to fully disentangle the solar wind electron density from the ionized ISM. Any given observation’s DM variation can be attributed to either changes in the interplanetary or interstellar media. The key to these analyses is a global fit where the DM GP and red noise parameters are allowed to vary individually for each pulsar, while the solar electron density is set as a global parameter across all of the pulsars. Since pulsars have upwards of 20+ white noise parameters it is cumbersome to vary all of these parameters across the entire PTA, so we adopt the usual practice in PTA analyses [10] of setting their values constant in the full PTA analysis following single-pulsar noise modeling.
Bayesian Model Implementation and Analysis
We use the expressions in § 2.1 to build models for a spherically symmetric solar electron density and analyze NG11. We explore three different models for the behavior and structure of the solar electron density: higher order spherically symmetric solar wind models, time-binned solar wind density models, and continuous time-dependent solar wind perturbations. Each model demonstrates how our full Bayesian framework provides access to the unique probes of the solar wind available in PTA datasets.
Higher Order Models
Any number of higher order spherically symmetric models can be constructed using the tools developed here. We present only a few to demonstrate the feasibility of detecting these higher order signals using PTA datasets. In general we follow the methods of Aksim et al. [2] and fit for a varying power dependence, , of the solar electron density, though we still investigate models of the type in You et al. [77, 76] with multiple summed fixed-power terms. The fit for the proportion of the two-phases (slow and fast solar wind) in You et al. [76] is dependent on the individual lines-of-sight for the individual pulsars which is out of the scope of the current tests for these modeling tools.
In Table 1 we summarize results from a number of similar analyses. The aim here was not to exhaustively test the various powers from Equation (6) and Equation (7), as the real model is expected to be a mixture of the two [77], but rather to test the sensitivity of NG11 to some of these higher order terms. Table 1 shows a progression from the overly simplistic model, where we find , to models with more terms, and more free parameters. Model 2, where the exponent in the density relation is allowed to vary, shows that there is support for a higher order model for the solar electron density, . This power is in agreement with the best fit power from Aksim et al. [2] of . Their value of is smaller than our recovered value, but the Aksim et al. [2] value is from only one observation, while our value is an 11.4 year average. We will see in § 4.2 that time varying values can differ by up to a factor of 4 or more.
| Model | First Term | First Term [cm] | Second Term | Second Term | Third Term | Third Term |
| 1 | 2 | — | — | — | — | |
| 2 | — | — | — | — | ||
| 3 | 2 | — | — | |||
| 4 | — | — | ||||
| 5 | 2 | 4.39 | 16.25 |
Table 1. Table of higher order spherically symmetric solar wind density terms. Parameters without sub(super)scripts are set constant. The median of free parameters is reported along with the 68% credible interval. Parameters with a superscript 95% represent 95% upper limits of the parameter.
Models 3 and 4 show that there is broad support for a second term in the density model when the power of the first term is kept constant, but the analysis only retrieves upper limits for a third term when the first two are kept constant. These analyses broadly support what has been previously shown in You et al. [76, 77] that pulsar timing data, especially for an array as we are treating here, is sensitive to a much more complicated model of the solar electron density than is routinely assumed. Model 5 shows the limits of the data set’s sensitivity, as we do not seem to detect a third term with the large index predicted in You et al. [77].
Time-Binned Solar Wind Density
As in Madison et al. [51] and Tiburzi et al. [67], we search for separate values of with during different periods of time by fitting values of for discrete time bins of the dataset. In the Madison et al. [51] analysis the bins are set to be a year long and a fit is done to the DMX times series of the pulsars. DMX is a piece-wise time-binned analysis of the DM variations, (see, e.g. Arzoumanian et al. 2015). We present our results and those of Madison et al. [51] in Figure 3, along with binned ACE SWEPAM data for the same time period. The ACE data are in situ measurements of the local electron density, and so can be considerably noisier than the large effective average taken by the column density measurements to which the pulsar timing data are sensitive. In addition, since ACE orbits in the ecliptic plane, the SWEPAM instrument is really only sampling the slow solar wind, and would not track changes in the higher altitude fast wind. This is supported by scintillation studies that track high altitude solar wind density, see for instance Porowski et al. [57] for a model based on scintillation data. Their model for solar electron density shows strong positive correlations on the high latitude wind density with the solar cycle. Lastly, the ACE data are taken by the same instrument across the 11+ year time span shown here, while the NANOGrav PTA continually increased the number of pulsar in the array (hence LOSs) and sensitivity, including a “high cadence” observing campaign in the latter portion of the dataset Arzoumanian et al. [8].

Figure 3. Year binned solar electron density. The blue plusses show the values of our binned solar electron density search. The horizontal error bars show the width of the bins used, mostly one year here, except the last bin which is 1.4 years long. The orange lines with vertical error bars show the results from Madison et al. [51] that used this same dataset, (NG11). The green shaded blocks show median and 68% confidence intervals from the in situ measurements of the ACE satellite’s SWEPAM instrument. The pink and purple shaded vertical regions show the minimum and maximum, respectively, months of solar cycle 24.
The largest differences between our values and those of Madison et al. [51] occur in the first part of the dataset where the observation cadence was significantly less. The fit in Madison et al. [51] was done using a -minimization, and did not include any priors for the solar electron density. Hence the unphysical negative value of the second bin is a result of the -minimization. The large value in the fifth bin occurs during a time when there is a gap in the PTA data. This will be explored more in the finer binning used next. The Madison et al. [51] analysis is not as robust as the analysis here, since rather than fitting a secondary data product (DMX) we are fitting the solar wind as part of a full PTA-wide analysis, which includes a noise model fit and timing model marginalization.
In Figure 4 we show Bayesian binned results for bin sizes of three months again with , showing that NG11 has enough information to fit with finer resolution than is done in Madison et al. [51]. The 68% credible intervals for the binned values are small compared to the same intervals in the ACE data. In addition to the binned fit for , we also run an analysis with a second density, , in the solar wind density profile model with . We chose this index from the fast solar wind model of Equation (7) in order to investigate how a higher order term might effect the binned values of specifically from the few pulsars with very small . We use a time-constant value of in this application for ease of analysis.

Figure 4. Three month binned solar electron density. The horizontal error bars show the width of the bins used, while the vertical error bars show the inner 68% credible region of the binned posteriors. The pink and purple shaded vertical regions show the minimum and maximum, respectively, months of solar cycle 24. The vertical dotted lines show the boundaries of a few important bins. The first shows the end of the first bin which contains the fewest number of TOAs. The bin near MJD 54250 has no TOAs due to down time at both the Arecibo Observatory and the Green Bank Observatory. The dotted vertical lines near MJD 55800 and MJD 56400 show bins where the values for in the two models differ by a substantial amount. The bottom panel shows the geometric part of the solar DM obtained from a model for the solar wind density calculated for all TOAs in the dataset. Note the log scale on the y-axis. Only two pulsars, J0030+0451 and J1614−2230, have geometric factors larger than 100 and the factors for these have been highlighted with colored x’s and +’s, respectively.
This second analysis, with an parameter highlights the importance of these higher order terms in the density model when there are observations with lines of sight close to the Sun. The geometric factor for the delay, , of all TOAs is shown in the bottom panel of Figure 4. There are two occasions in the 11-year dataset where is very small for PSR J0030+0451 and PSR J1614−2230. These can be seen as the points where the geometric factor is larger than . The two bins, marked by vertical dots, where these occur correspond to the two bins where the recovered values for differ by many standard deviations from the usual model for the density, over estimating . While the model seems to ameliorate the effect of these small observations, the direct cause of the anomalously high measurements of could also be due to the highly inhomogeneous streaming of the solar wind at these small distances or from individual events, i.e. coronal mass ejections. See Appendix § 9 for more discussion.
Two other bins warrant attention. The first bin has only a few TOAs with narrow frequency coverage, and hence parameters recovered have large error bars. The bin near MJD 54250 has no TOAs due to concurrent down time at both the Arecibo Observatory and the Green Bank Observatory. In this bin, the ACE prior is returned in the posterior. Hence no information beyond the prior is gained.
Continuous Time-Dependent Solar-Wind Perturbations
In addition to the piecewise constant models for discussed above, we also implemented a continuous Fourier-basis model for as a perturbation to a mean . The model is reminiscent of the free spectral models used by PTAs to describe achromatic red noise ([10]). It is constructed using the TOAs for each pulsar, parametrized with a separate value for each component of the basis,
Rather than trying to reproduce the fine structure recoverable by the You et al. [76] model, here we are concerned with long to mid scale variations of , therefore we use a set of frequencies based on the time span, yr, of NG11 and include 30 linearly spaced frequencies ranging from , using 2 parameters per frequency, and .
In various test analyses we recorded the same type of behavior for these continuous models as was seen in Figure 4, i.e., the fit returned large values of during periods of time when J0030+0451 and J1614−2230 observations had small values of . Here we only report on the continuous model for where we also fitted for the same static, higher order term discussed in § 4.2. Figure 5 shows the resulting recovery of from an analysis that uses the model in Equation (13). The use of the Fourier basis gives us immediate access to an analogue of the power spectral density for the perturbations to the solar electron density. Figure 6 shows violin plots for the power in the various frequencies calculated using the posteriors of the Fourier decomposition coefficients, . Notice that a majority of the frequencies show small amounts of power, while the lowest frequency, , recovers the most power — very close to an inverse average solar cycle length of 11.75 yr. It will be interesting to see which frequencies have the most power in longer datasets.

Figure 5. Continuous solar wind density model. The black dots show the same binned values for shown in orange in the top panel of Figure 4. The blue trace and shading show the median and inner 68% credible interval of 1000 realizations of the continuous solar electron density perturbation model.

Figure 6. Power in the continuous solar wind density model. The violin plots show a simple representation of a power posterior calculated as for each set of Fourier coefficients. The horizontal bars show the median values. The orange dotted line shows a frequency of while the blue dashed vertical line shows , an inverse average solar cycle.
A continuous signal like this would be a good candidate for a Gaussian process, however current code bases for PTAs construct different realizations of a process for each pulsar in an array. Since this work reveals a great deal of potential for gleaning information about the solar wind from PTAs we plan on developing per LOS solar wind perturbations for these pulsars in future work by using a simple deterministic inhomogeneous model.
Discussion
This work demonstrates a new set of Bayesian tools that allow for the use of PTA datasets, or any collection of pulsar timing data, as probes of the solar wind. The main innovations include a completely general Bayesian fit that includes timing model marginalization, generic spherically symmetric models for the solar electron density, and time dependent models. These models can be assembled in myriad ways in order to mitigate the solar wind as a noise source in pulsar data, or to use these sensitive datasets to study the Sun’s coronal behavior across the solar system. The NANOGrav data set is not aimed at monitoring the solar wind, nonetheless it is sensitive to interesting solar phenomena. The tools we have developed, if applied to a PTA data set built for the purposes of solar science, have great potential.
One important aspect of this work not yet discussed is how these models can enable more in depth generic ISM studies. These solar wind models allow the removal of the DM variation signal from the local interplanetary medium in a principled way. This would better enable the use of these pulsar timing datasets for studying the ISM unencumbered by local variations in electron density.
The solar wind signal has been known to cause issues [49, 60] when trying to measure some timing effects in pulsar data sets—for instance, timing parallax, critical for constraining pulsar distances. The covariances with measuring parallax imply that improvements in the solar wind model could ultimately improve single source GW searches, as the distance to pulsars is an important aspect of pulsar term searches for GW from supermassive black binaries [1]. The solar wind has also been implicated as one of the systematics in the “triple system” [6], impeding better limits of Einstein’s equivalence principle. Better modeling of the solar wind might allow for more accurate measurements of these limits, in addition to allowing for better noise mitigation when these data are used for GW searches. Improvements to the handling of the solar wind in pulsar timing investigations stand to improve precision pulsar science in a wide variety of ways.
PTA studies of the solar wind have the potential to add a completely independent set of measurements to the myriad space missions studying solar weather. PTA observations survey a much wider swath of the Sun’s environment than any spacecraft would be able to, taking column density information in 70+ lines of sight every month, probing beyond the outermost reaches of the solar environment. The observational campaigns of lower frequency observatories like the Canadian Hydrogen Intensity Mapping Experiment [15], LOFAR [61, 71] and the Long Wavelength Array (LWA, [62]) are continually adding data that is extremely useful for DM variability studies, since these lower frequencies allow for more accurate measurement of the variations. These data can add important tests to the well developed solar weather modeling efforts undertaken by the solar physics community [70]. These large scale measurements would allow for long timescale monitoring of the fast and slow solar wind, giving access to continuous measurements of the solar wind at all solar latitudes.
Acknowledgments
Author contributions. This paper is the result of the work of many people and uses data from over a decade of pulsar timing observations. We list specific contributions below. JSH developed and ran the solar wind analyses and led the paper writing. JS, and DRM contributed substantially to paper writing, discussion and interpretation of results. ZA, KC, MED, PBD, TD, JAE, RDF, ECF, EF, PAG, GJ, MLJ, MTL, LL, DRL, RSL, MAM, CN, DJN, TTP, SMR, PSR, RS, IHS, KS, JKS, and WZ ran observations and developed the 11-year data set.
Acknowledgments. The NANOGrav project receives support from National Science Foundation (NSF) as a Physics Frontier Center award number 1430284. We thank Caterina Tiburzi, Aditya Parsatharathy, Joseph Lazio and Patrick O’Neill for comments on an early draft of this manuscript. TD and MTL are supported by an NSF Astronomy and Astrophysics Grant (AAG) award number 2009468. ECF is supported by NASA under award number 80GSFC17M0002. The Dunlap Institute is funded by an endowment established by the David Dunlap family and the University of Toronto. TTP acknowledges support from the MTA-ELTE Extragalactic Astrophysics Research Group, funded by the Hungarian Academy of Sciences (Magyar Tudományos Akadémia), which was used during the development of this research. SMR is a CIFAR Fellow. Portions of this work performed at NRL were supported by ONR 6.1 basic research funding. Pulsar research at UBC is supported by an NSERC Discovery Grant and by CIFAR. WWZ is supported by the CAS Pioneer Hundred Talents Program and the Strategic Priority Research Program of the Chinese Academy of Sciences, grant No. XDB23000000.
Facilities: AO, GBO
Software: Numpy ([28]), Scipy ([75]), Mat-PlotLib ([35]), Pint ([50]), Enterprise ([23]), enterprise_extensions ([63]), Tempo2 ([33]), PTMCMCSampler ([22])
Appendix
Generic Spherically Symmetric DM for Integer Powers
The expression in Equation (11) simplifies considerably for integer values of . Here we show the first few expressions for powers greater than for reference.
Coronagraph Images
As discussed in § 4.2, three observation epochs from NG11 have fairly small solar impact angles. In Figure 7 we show images from the Large Angle Spectroscopic Coronagraph (LASCO, Brueckner et al. [14]) on board the Solar and Heliospheric Observatory (SOHO) from the same time as the pulsar observations, with the approximate pulsar positions marked. These white light images from the C2 camera can be related to the solar electron density (Quémérais & Lamy [58]), however such calculations are out of the scope of the current work. These images are provided

Figure 7. Coronagraph images from the LASCO/C2 instrument onboard the SOHO spacecraft. The inset image is from the Extreme-Ultraviolet Imaging Telescope (EIT, Delaboudinière et al. [20]). These coincide with the three pulsar timing observations discussed in § 4.2. The approximate pulsar positions are marked in each image with a white crosshairs. Images a) and b) are for the PSR J1614−2230 observations and are separated by one day. Image c) is for the PSR J0030+0451 observation. The dates and time in UT are given in the images.
to highlight how close to the Sun these observations were taken () and how inhomogeneous the inner solar system can be. Testing various estimates of 2 and 3-dimensional electron density from these white light images would be an interesting use of dedicated pulsar observations close to the Sun.
References
- [1]Aggarwal, K., Arzoumanian, Z., Baker, P. T., et al. 2019, ApJ, 880, 116, doi: 10.3847/1538-4357/ab2236DOI
- [2]Aksim, D., Melnikov, A., Pavlov, D., & Kurdubov, S. 2019, ApJ, 885, 159, doi: 10.3847/1538-4357/ab499a
- [3]Alam, M. F., Arzoumanian, Z., Baker, P. T., et al. 2020a, arXiv e-prints, arXiv:2005.06490. https://arxiv.org/abs/2005.06490
- [5]Allen, C. W. 1947, MNRAS, 107, 426, doi: 10.1093/mnras/107.5.426
- [6]Archibald, A. M., Gusinskaia, N. V., Hessels, J. W. T., et al. 2018, Nature, 559, 73, doi: 10.1038/s41586-018-0265-1DOI
- [7]Arzoumanian, Z., Brazier, A., Burke-Spolaor, S., et al. 2015, ApJ, 813, 65
- [8]Arzoumanian, Z., Brazier, A., Burke-Spolaor, S., et al. 2018a, ApJS, 235, 37, doi: 10.3847/1538-4365/aab5b0DOI
- [9]Arzoumanian, Z., Baker, P. T., Brazier, A., et al. 2018b, ApJ, 859, 47, doi: 10.3847/1538-4357/aadb3b
- [10]Arzoumanian, Z., Baker, P. T., Blumer, H., et al. 2020, ApJL, 905, L34, doi: 10.3847/2041-8213/abd401DOI
- [11]Bale, S. D., Goetz, K., Harvey, P. R., et al. 2016, SSRv, 204, 49, doi: 10.1007/s11214-016-0244-5DOI
- [12]Bale, S. D., Badman, S. T., Bonnell, J. W., et al. 2019, Nature, 576, 237, doi: 10.1038/s41586-019-1818-7DOI
- [13]Bame, S. J., McComas, D. J., Barraclough, B. L., et al. 1992, A&AS, 92, 237
- [14]Brueckner, G. E., Howard, R. A., Koomen, M. J., et al. 1995, SoPh, 162, 357, doi: 10.1007/BF00733434DOI
- [15]CHIME/Pulsar Collaboration, Amiri, M., Bandura, K. M., et al. 2021, ApJS, 255, 5, doi: 10.3847/1538-4365/abfdcb
- [16]Coles, W. A. 1978, SSRv, 21, 411, doi: 10.1007/BF00173067DOI
- [17]Cordes, J. M., & Shannon, R. M. 2010, arXiv e-prints, arXiv:1010.3785. https://arxiv.org/abs/1010.3785
- [18]Cordes, J. M., Shannon, R. M., & Stinebring, D. R. 2016, ApJ, 817, 16, doi: 10.3847/0004-637X/817/1/16DOI
- [19]Counselman, C. C., Rankin, J. M., & Richards, D. W. 1970, in Bulletin of the American Astronomical Society, Vol. 2, 189
- [20]Delaboudinière, J. P., Artzner, G. E., Brunaud, J., et al. 1995, SoPh, 162, 291, doi: 10.1007/BF00733432DOI
- [21]Edwards, R. T., Hobbs, G. B., & Manchester, R. N. 2006, MNRAS, 372, 1549, doi: 10.1111/j.1365-2966.2006.10870.xDOI
- [22]Ellis, J., & van Haasteren, R. 2017, jellis18/PTMCMCSampler: Official Release, doi: 10.5281/zenodo.1037579DOI
- [23]Ellis, J. A., Vallisneri, M., Taylor, S. R., & Baker, P. T. 2019, ENTERPRISE: Enhanced Numerical Toolbox Enabling a Robust Pulsar Noise Suite. http://ascl.net/1912.015
- [24]Foster, R. S., & Cordes, J. M. 1990, ApJ, 364, 123, doi: 10.1086/169393
- [25]Goncharov, B., Reardon, D. J., Shannon, R. M., et al. 2021, MNRAS, 502, 478, doi: 10.1093/mnras/staa3411DOI
- [26]Guhathakurta, M., & Fisher, R. 1998, ApJL, 499, L215, doi: 10.1086/311371DOI
- [27]Guhathakurta, M., & Fisher, R. R. 1995, Geophys. Res. Lett., 22, 1841, doi: 10.1029/95GL01603DOI
- [28]Harris, C. R., Millman, K. J., van der Walt, S. J., et al. 2020, Nature, 585, 357, doi: 10.1038/s41586-020-2649-2DOI
- [29]Hazboun, J. S., Romano, J. D., & Smith, T. L. 2019, Phys. Rev. D, 100, 104028, doi: 10.1103/PhysRevD.100.104028DOI
- [30]Hazboun, J. S., Simon, J., Taylor, S. R., et al. 2020, ApJ, 890, 108, doi: 10.3847/1538-4357/ab68dbDOI
- [31]Hewish, A., Bell, S. J., Pilkington, J. D. H., Scott, P. F., & Collins, R. A. 1968, Nature, 217, 709, doi: 10.1038/217709a0DOI
- [32]Hewish, A., & Dennison, P. A. 1967, J. Geophys. Res., 72, 1977, doi: 10.1029/JZ072i007p01977DOI
- [33]Hobbs, G., & Edwards, R. 2012, Tempo2: Pulsar Timing Package. http://ascl.net/1210.015
- [34]Hobbs, G., Guo, L., Caballero, R. N., et al. 2020, MNRAS, 491, 5951, doi: 10.1093/mnras/stz3071DOI
- [35]Hunter, J. D. 2007, Computing in Science Engineering, 9, 90, doi: 10.1109/MCSE.2007.55
- [36]Issautier, K., Hoang, S., Moncuquet, M., & Meyer-Vernet, N. 2001, SSRv, 97, 105, doi: 10.1023/A:10118782168
- [37]Jones, M. L., McLaughlin, M. A., Lam, M. T., et al. 2017, ApJ, 841, 125, doi: 10.3847/1538-4357/aa73dfDOI
- [38]Kasper, J. C., Abiad, R., Austin, G., et al. 2016, SSRv, 204, 131, doi: 10.1007/s11214-015-0206-3DOI
- [39]Knudsen, W. C., Spenner, K., Bakke, J., & Novak, V. 1980, IEEE Transactions on Geoscience and Remote Sensing, 18, 54, doi: 10.1109/TGRS.1980.350261
- [40]Lam, M. T. 2018, ApJ, 868, 33, doi: 10.3847/1538-4357/aae533DOI
- [41]Lam, M. T., Cordes, J. M., Chatterjee, S., & Dolch, T. 2015, ApJ, 801, 130, doi: 10.1088/0004-637X/801/2/130DOI
- [42]Lam, M. T., Cordes, J. M., Chatterjee, S., et al. 2016, ApJ, 821, 66, doi: 10.3847/0004-637X/821/1/66DOI
- [43]Lam, M. T., & Hazboun, J. S. 2021, ApJ, 911, 137, doi: 10.3847/1538-4357/abeb64DOI
- [44]Lam, M. T., McLaughlin, M. A., Cordes, J. M., Chatterjee, S., & Lazio, T. J. W. 2018a, ApJ, 861, 12, doi: 10.3847/1538-4357/aac48dDOI
- [46]Lam, M. T., Cordes, J. M., Chatterjee, S., et al. 2017, ApJ, 834, 35, doi: 10.3847/1538-4357/834/1/35DOI
- [47]Lam, M. T., Ellis, J. A., Grillo, G., et al. 2018c, ApJ, 861, 132, doi: 10.3847/1538-4357/aac770DOI
- [48]Lentati, L., et al. 2016, Mon. Not. Roy. Astron. Soc., 458, 2161, doi: 10.1093/mnras/stw395DOI
- [49]Lommen, A. N., Kipphorn, R. A., Nice, D. J., et al. 2006, ApJ, 642, 1012, doi: 10.1086/501067DOI
- [50]Luo, J., Ransom, S., Demorest, P., et al. 2021, ApJ, 911, 45, doi: 10.3847/1538-4357/abe62fDOI
- [51]Madison, D. R., Cordes, J. M., Arzoumanian, Z., et al. 2019, ApJ, 872, 150, doi: 10.3847/1538-4357/ab01fdDOI
- [52]Manoharan, P. K. 2010, SoPh, 265, 137, doi: 10.1007/s11207-010-9593-5DOI
- [53]McComas, D. J., Bame, S. J., Barker, P., et al. 1998, SSRv, 86, 563, doi: 10.1023/A:1005040232597DOI
- [54]Muhleman, D. O., & Anderson, J. D. 1981, ApJ, 247, 1093, doi: 10.1086/159119DOI
- [55]Nice, D., Demorest, P., Stairs, I., et al. 2015, Tempo: Pulsar timing data analysis, Astrophysics Source Code Library. http://ascl.net/1509.002
- [56]Niu, Z.-X., Hobbs, G., Wang, J.-B., & Dai, S. 2017, Research in Astronomy and Astrophysics, 17, 103, doi: 10.1088/1674-4527/17/10/103
- [57]Porowski, C., Bzowski, M., & Tokumaru, M. 2021, arXiv e-prints, arXiv:2110.15847. https://arxiv.org/abs/2110.15847
- [58]Quémerais, E., & Lamy, P. 2002, A&A, 393, 295, doi: 10.1051/0004-6361:20021019DOI
- [59]Ransom, S., Brazier, A., Chatterjee, S., et al. 2019, in Bulletin of the American Astronomical Society, Vol. 51, 195. https://arxiv.org/abs/1908.05356
- [60]Splaver, E. M., Nice, D. J., Stairs, I. H., Lommen, A. N., & Backer, D. C. 2005, ApJ, 620, 405, doi: 10.1086/426804DOI
- [61]Stappers, B. W., Hessels, J. W. T., Alexov, A., et al. 2011, A&A, 530, A80, doi: 10.1051/0004-6361/201116681DOI
- [62]Stovall, K., Ray, P. S., Blythe, J., et al. 2015, ApJ, 808, 156, doi: 10.1088/0004-637X/808/2/156DOI
- [63]Taylor, S. R., Baker, P. T., Hazboun, J. S., Simon, J., & Vigeland, S. J. 2021, enterprise_extensions. https://github.com/nanograv/enterprise-extensions
- [64]Taylor, S. R., Gair, J. R., & Lentati, L. 2013, PhRvD, 87, 044035, doi: 10.1103/PhysRevD.87.044035DOI
- [65]Tiburzi, C., Hobbs, G., Kerr, M., et al. 2016, MNRAS, 455, 4339, doi: 10.1093/mnras/stv2143DOI
- [66]Tiburzi, C., Verbiest, J. P. W., Shaifullah, G. M., et al. 2019, MNRAS, 487, 394, doi: 10.1093/mnras/stz1278DOI
- [67]Tiburzi, C., Shaifullah, G. M., Bassa, C. G., et al. 2021, A&A, 647, A84, doi: 10.1051/0004-6361/202039846DOI
- [68]Tokumaru, M. 2013, Proceedings of the Japan Academy, Series B, 89, 67, doi: 10.2183/pjab.89.67DOI
- [69]Vallisneri, M., Taylor, S. R., Simon, J., et al. 2020, ApJ, 893, 112, doi: 10.3847/1538-4357/ab7b667
- [70]van der Holst, B., Sokolov, I. V., Meng, X., et al. 2014, ApJ, 782, 81, doi: 10.1088/0004-637X/782/2/81DOI
- [71]van Haarlem, M. P., Wise, M. W., Gunst, A. W., et al. 2013, A&A, 556, A2, doi: 10.1051/0004-6361/201220873DOI
- [72]van Haasteren, R., & Levin, Y. 2013, Mon. Not. Roy. Astron. Soc., 428, 1147, doi: 10.1093/mnras/sts097DOI
- [73]van Haasteren, R., Levin, Y., McDonald, P., & Lu, T. 2009, MNRAS, 395, 1005, doi: 10.1111/j.1365-2966.2009.14590.xDOI
- [74]van Haasteren, R., & Vallisneri, M. 2014, PhRvD, 90, 104012, doi: 10.1103/PhysRevD.90.104012DOI
- [75]Virtanen, P., Gommers, R., Oliphant, T. E., et al. 2020, Nature Methods, 17, 261, doi: 10.1038/s41592-019-0686-2DOI
- [76]You, X. P., Coles, W. A., Hobbs, G. B., & Manchester, R. N. 2012, MNRAS, 422, 1160, doi: 10.1111/j.1365-2966.2012.20688.xDOI
- [77]You, X. P., Hobbs, G. B., Coles, W. A., Manchester, R. N., & Han, J. L. 2007, ApJ, 671, 907, doi: 10.1086/522227DOI