Pulsar and Pulsar Timing


1. About Pulsar

When a large star gets very old, it will probably blow up. What it blows up to depends on how large it was in the first place, but some stars blow up and become Neutron Stars. When a star the size of our sun runs out of fuel, its outer layers are ejected as a colorful nebula, and the core collapses in on itself into a white dwarf star, generally destined to cool and fade over time (left, in illustration below). When a super giant star at least 20 times more massive than our sun runs out of fuel, it collapses abruptly, which can trigger a supernova explosion, and can result in the formation of a black hole (right). Stars lighter than about 20 solar masses but several times heavier than our sun can end their lives by creating a supernova that leaves behind a small, dense core rather than a black hole. Gravity presses the material in on itself so tightly that protons and electrons combine to make neutrons. The result is a neutron star—in which a mass about equal to that of our sun, is compressed into an incredibly dense sphere with a diameter of only about 20 kilometers (middle).

The high energy of an explosive birth and an extremely dense core can set the stage for a strong magnetic field. The magnetic axis can be dramatically misaligned with the rotational axis. As the star rotates, it emanates a radio beam, generated by the combined effect of the magnetic field and the rotation, which sweeps periodically through the surrounding space, like a lighthouse beacon. If we’re lucky, then the radiation from these poles sweeps across the earth once during each orbit and we detect ‘pulses’ of radiation. Hence the name, pulsars.

Pulsars are fascinating objects - they are incredibly dense (300 million million grams per centimetre cubed!), and often rotating very quickly. Though pulsars do slow down, there are a certain type of extremely short period pulsars (known as millisecond pulsars - they have periods of the order of milliseconds) that slow down very slowly and in an entirely predictable way. Once a mathematical model has been built that describes how the pulsar slows down (called an ephemeris) these pulsars can be used as one of the most reliable clocks in the universe. Because they are so stable data from these pulsars can be used to test theories such as the Theory of General Relativity, or new gravitational models. Joe Taylor of Princeton University and a student of his, Russell Hulse were awarded the Nobel Prize for Physics in 1993 for their pulsar timing work which indirectly detected gravitational waves.

However, because the pulsar is emitting so much energy it slows down (energy is always conserved) which means that the pulses of radiation get further and further apart. The ‘period’ of a pulsar is the time between each pulse, so as the pulsar slows down the period is seen to increase. Knowing the pulsar period (P) and the rate at which it is slowing down (dP/dt or ‘p-dot’) allows the age and the magnetic field of the pulsar to be found, and the more accurately these parameters are known, the more accurately information can be derived about the pulsar.

1.1 Discovery and Basic Properties

Shortly after the discovery of the neutron by Chadwick in 1932, two astronomers, Baade & Zwicky, proposed that during Supernova explosions small, extremely dense objects could be created in the centre of the exploding star. They suggested that the enormous pressure occurring in the centre of the explosion would be sufficient to enable an “inverse beta-decay” during which electrons and protons are combined to neutrons and neutrinos. Neutrinos could leave the star to carry away a substantial amount of energy, leaving behind a very dense object consisting mostly of neutrons. They called these objects accordingly “neutron stars”.

Five years later, Oppenheimer (who later lead the Manhattan project) & Volkov were the first to calculate the expected size and mass of these newly predicted objects. Based on quantum mechanical arguments they computed that neutron stars should have a diameter of about 20 km while containing 1.4 times the mass of the sun. Given this extremely small size expected for these objects, astronomers therefore considered it to be impossible to ever detect neutron stars and hence to verify the predictions by Baade & Zwicky.

The situation changed dramatically in 1967. Meanwhile a new window had been opened up for astronomers, the radio window. It was in summer 1967 when a research student, Jocelyn Bell, was working on her PhD thesis at Cambridge under the supervision of Anthony Hewish. They wanted to study the intensity variation of quasars, which were discovered only a few years earlier. After constructing a radio telescope dedicated to monitor the sky for intensity variations, Jocelyn Bell came across a signal which originated from a certain location in the sky, RA B19:19:36 - DEC +21:47:16. The signal was highly periodic with a periodicity of 1.337 seconds. Figure 1 shows the discovery recording.

The astronomers were puzzled by this discovery and wanted to establish its nature before they made it public. Indeed, one possibility that was seriously considered was that of a signal sent by extra-terrestrial intelligence. Soon, however, the team discovered more such periodic signals, and it seemed highly unlikely that one would suddenly receive signals from many different civilisations at once. Moreover, a period variation due to a Doppler effect caused by the moving planet of a possibly transmitting civilisation was not discovered. A natural origin of the signal was hence concluded.

1.2 The nature of pulsars

A journalist finally invented the name “Pulsar” for these objects, standing for “Pulsating Radio Source”. Three possible explanation were put forward in the publication reporting the discovery. A pulsar could be

  • an oscillating object (similar to intensity variations of Cepheids in the optical),
  • an orbiting object (i.e. a companion eclipsing a radio source) and
  • a rotating object (like a rotating lighthouse).

The question about the true nature of pulsars was finally settled, when a pulsar was discovered in the centre of the Crab Nebula supernova remnant.

The Crab Nebula (Figure 2; also called M1 as it was the first object in Messier’s famous list) is the visible remnant of a supernova explosion witnessed by Chinese astronomers in A.D.1054. The nebula had been in the focus of discussions before, since its brightness was hard to explain given the nebula’s age. It was suggested that a mysterious star visible in the centre (see arrow in Figure 2) was responsible, but the star did not fit any known category. It happened that in parallel to the discovery of pulsars, Thomas Gold (1968) had proposed that the nebula could be powered by a highly magnetised neutron star. After the discovery of pulsars, Staelin & Reifenstein (1968) observed the nebula for pulsed radio emission. They discovered high intensity pulses originating from the central “strange” star, identifying it as a pulsar. It turned out later, that these “giant pulses” which they observed, occur every two minutes or so, and that the true pulse period was in fact as short as 33 milliseconds.

Periods for radial oscillations of neutron stars were predicted to be larger than 1 second and were hence incompatible with the periods of the first discovered pulsars. Finally, another property of pulsars, also most easily observed in the Crab pulsar, provided the final clue. It was noticed that the period of pulsars slowly increases, for the Crab pulsar by as much as 36 nanoseconds per day. This property is not expected for the model of an eclipsing binary, where due to the loss of energy one would in fact expect the companions to come closer, reducing the pulse period. However, a slow-down of the period is indeed expected for a rotating object. The problem was finally solved: pulsars are rotating cosmic light houses.

Pulsars are named according to their celestial coordinates. Using the equatorial system, the name is composed from hours and minutes of right ascension and degrees (and minutes) of declination, preceeded by a leading “PSR” for “pulsar”. As the Earth axis is precessing, the equatorial coordinate system changes slowly and we have to indicate the epoch we refer to. For all newly discovered pulsars today, J2000 coordinates are chosen and we write, for instance, PSR J1022+1001. In the past, coordinates referred to epoch B1950, and well studied pulsars are still known under their B1950 names (not including minutes of declination), e.g. see PSR B0329+54 below.

But the stacked plot pulses below are irregular, not clean bell curves, as shown in the animation above.

Several researchers, including Joanna Rankin, have proposed that variation in pulse shape could be due to internal variation in the cone of emissions. Here are some idealized forms, but the pattern could be further complicated with additional hotspots and interference by solar wind.

Although there’s definitely variation from pulse to pulse, the average shape over about a minute results in a characteristic form that is different for each individual pulsar.

2. Pulsar Data Archive

The ‘Archive Files’ contain the raw, unprocessed data taken straight from the telescope. All archive files have names that end in ‘.ar’. The telescope collects information on three parameters, and stores it in a three-dimensional array with the following dimensions:

Polarisation
Frequency
Timei

The polarisation of light is the angle of oscillation of a transverse light wave. Imagine light as a wave on a string - the polarisation is the angle that the string is moving up and down along. Radio waves are electromagnetic waves just like light, so we can talk about how the radio waves are polarised. One of the ways that the angle of this polarisation may be detected is by crossing two electric dipoles at right angles to one another within the telescope- as the wave passes by it induces a voltage across the dipoles - the proportion of voltage induced across each dipole allows us to know the polarisation of the incident radio signal. The polarisation of the radio signal is not the same throughout the pulse - indicating that it changes across the beam. Knowing how it changes allows astronomers to learn about mechanisms inside the pulsar.

The telescope collects polarisation data as coherency products . These are:

LL (left polarised)
RR (right polarised)
LR
RL

These coherency products are used to give the Stoke’s Parameters (I; Total intensity, Q and U; Linear intensities and V; Circular intensity) which can be used to specify the phase and polarisation of the radiation at any time.

The frequency in this case doesn’t refer to the pulsar frequency, but to the frequency of radiation coming in. Observations are made in certain bandwidths centred on one frequency, eg 800MHz +/- 0.5MHz so there is some spread in the frequencies of radiation being observed. The frequency of the signal is very important in correcting for a phenomenon known as dispersion:

As electromagnetic radiation travels through space, it interacts with the interstellar medium (ISM). Photons are scattered off interstellar electrons essentially causing them to slow down. This effect is more prominent with lower frequencies and so they are slowed down more than higher frequencies. This means that when a pulse is detected at the telescope, higher frequencies are detected sooner than lower frequencies. An example of an archive file is shown below:

Note how the higher frequencies arrive well before the lower frequencies. Knowing the frequencies of the incoming data, this dispersion effect can be accounted for, and the pulse ‘lined up’. An interesting offshoot of this effect is that it gives astronomers the ability to estimate a distance to the pulsar by measuring just how much more delayed the lower frequencies are. The more delayed they are, the more electrons the radiation interacted with - so assuming that the electron density in space is constant (which is not a great assumption), we have an indication of the pulsar’s distance from Earth. The ‘amount of delay’ across the frequencies in each pulse is known as the Dispersion Measure (DM) .

The ultimate aim of this part of the timing process is to create a Pulse Profile. A pulse profile is a single polarisation intensity distribution usually formed by the integration of several, to several thousand, to several million pulsar rotatios. A good pulse profile will be narrow (properly dispersion corrected and correctly timed) with a high signal to noise ratio. The signal to noise ratio (SNR) is the height of the pulse signal, divided by the average height of the background noise - so the bigger the better! Quantitatively, the ‘root-mean-square’ (like the average) of the noise height goes as one over the square root of the total integration time. This means that combining the data from more pulses reduces the noise height, so the SNR goes up. This is a good thing.

3. Pulsar Timing

The inherent assumption is that average pulsar profiles are stable (Lorimer & Kramer 2004), and that any given observed profile \(O(x)\) is just a phase-shifted version of the intrinsic profile \(P(x)\) multiplied by a constant plus noise \(N(x)\), ie $$O(x) = AP(x − \alhpa) + N(x)$$, where A is a scale factor and α is the phase shift. One then cross correlates this observed profile with a template, and obtains an arrival time and associated error.

Pulsars are intrinsically low-luminosity objects, and pulsar timing requires the world’s largest telescopes in many cases just to detect them. From an astrometric point of view, we can think of pulsar timing as an interferometric experiment. The pulsar, due to its massive moment of inertia and small braking torque is a very precise clock. The pulses therefore represent a source of coherent radiation and the Earth-Sun system are immersed in radiation from this coherent source. The wavelength of the radiation can be thought of as having a wavelength \(\lambda = cP\), where \(c\) is the speed of light. The baseline of our experiment is 2 astronomical units (AU). The position of the pulsar can therefore be determined to an accuracy of \(~λ/(2AU)\) times the relative accuracy with which we can determine the arrival time of the pulse at any given epoch. For a gaussian profile this is approximately \(w/(2 × P × SNR)\) where \(w\) is the half-width of the Gaussian and SNR is the signal-to-noise ratio of the pulsar.

The SNR is provided by a modified version of the radiometer equation: $$SNR = $$

where S is the pulsar flux in Janskys, G the receiver gain in the units of K/Jy, B the
receiver bandwith (Hz), Np is the number of polarisations (usually 2), t the integration
time in seconds, and Trec and Tsky are the effective temperatures of the receiver and sky
respectively.
This means the error (σ) in the arrival times or TOAs is approximately:

and for the brightest millisecond pulsars can be below 100 nanoseconds. These types of errors permit not only positions to be determined to a precision of just tens of microarcseconds, but also allow very accurate proper motions and even parallaxes, orbital period derivatives, and relativistic effects such as Shapiro delay to be observed. For narrow pulsar profiles, \(\sigma ∝ w^{3/2}\) , highlighting the importance of finding pulsars with narrow features or using instrumentation that minimizes any smearing.

The theory of pulsar timing relies on the pulse profile being an invariant. We know it isn’t. Observations of slow pulsars with large fluxes demonstrate that pulsar profiles require many rotations to stabilize, but due to their small fluxes, this is difficult to
establish for the millisecond pulsars.

Astronomers fit a template, often constructed of either the sum of the best observations or the addition of several Gaussian components that closely approximate the pulse shape to each observation. As we saw in the introduction the “theory” is that each observation is just a scaled version of the template plus random noise with a phase shift. Fitting to equation 1.1 for A and α (often in the Fourier domain) yield an arrival time (TOA) and error. These TOAs and errors are often placed into a least squares fitting program like tempo2 (Hobbs, Edwards and Manchester 2006) to yield pulsar parameter estimations from which physical interpretations are made.

Unfortunately, once this fit is performed, the reduced chi-squared is often far from unity, limiting the interpretation of the physical parameter errors, and ultimately the pulsar timing methodology. A conservative approach to this problem is to keep adding a systematic error term in quadrature to each TOA until the reduced chi-squared is unity. A more dangerous (but more often used approach) is to linearly increase the size of each error until the reduced chi-squared is unity. This is an optimistic assumption, but reduces the size of the errors on the physical parameters.

4. Pulsar Timing Process

There are 6 main steps to timing a pulsar:

  1. Use Pav to view the pulses and familiarise yourself with the data.
  2. Use Pam to scrunch the data
  3. Choose a standard pulse for that set of data
  4. Use Pat to measure the difference in pulse arrival times from the standard pulse
  5. Use the online Pulsar Catalogue to get a up to date ephemeris for the pulsar
  6. Fit the ephemeris parameters for minmize the residuals with tempo2

The ephemeris of a pulsar is a mathematical model that defines how the pulsar ‘pulses’ - an accurate ephemeris will allow you to predict any time into the future whether the pulse will be ‘on’ or ‘off’.

4.1 Using Pav (Pulsar Archive Viewer)

You can look at a pulse using the visualisation tool ‘pav’. In the directory that you just created, try typing:

pav -DFTp 'name-of-file.ar'

(Any archive file will do for now) Before displaying the data, your computer will ask you to specify a graphics device:

Graphics device/type (? to see list, default /NULL):

Type:

/xs

And a pulse should appear (Hint: typing all the file-name in can be tedious, use your mouse to copy the file-name by left-clicking on the name - it should highlight it. Then, go back to where you were typing and right-click - the highlighted region will copy down).

What pav has done, is:

  1. ‘Scrunched’ (combined) all of the frequency data and accounted for dispersion
  2. Scrunched all of the polarisation data
  3. Scrunched the timing data
  4. Put all the combined data together and created one final pulse for that archive.

To compare more than one pulse at a time, type:

 pav -DFTp -N 3,3 *.ar

Press ‘enter’ to scroll through the data page by page.

So have a look at these pulses - you’ll notice that most archives show a double peak. Interestingly if you look at the dates (in the filename) you’ll see that the earlier archives don’t resolve the double pulse but the later ones do. This is because the telescope software and hardware has improved somewhat over the years. Some of these archives are great, others are not - some appear to have nothing in them, others really do have nothing in them. One thing to look for is the signal to noise ratio - this is the height of the pulse over the height of the noise in the background. Bigger signal to noise ratios mean a clearer pulse.

4.2 Using Pam (Pulsar Archive Manipulator)

Using ‘pav’ to view the archives involved telling pav to scrunch the data.

Pam will scrunch the data in each archive, and write it to a new file ending in ‘.FTp’. The archives must be pammed like this so that the pulse arrival times can be properly compared in the next section. You could pam each archive individually- but it would take too long. Using the wildcard ‘*’ you can specify that pam should run on each archive in the following way:

pam -FTp -e FTp *.ar

This literally means: use pam to scrunch the archives ending in ‘.ar’ in frequency, time and polarisation, then write files (-e) that end with ‘.FTp’.

Because the files have been scrunched, you can view ‘.FTp’ files using ‘pav’ but without the ‘FTp’ part, so try the command:

pav -D -N 3,3 *.FT

Or, to just view one file:

pav -D 'filename.FT'

These pulses should look exactly the same as the scrunched archive files you were looking at in the previous section.

4.3 Choosing A Standard Pulse

Now that the data has been scrunched, It is advisable to choose the ‘best looking pulse’ profile as the standard template through psrstat script, which can be used to evaluation the S/N value of the archives. Type:

psrstat -c snr -Q *.FTp | sort -gk2  

For simplicity’s sake I’d strongly recommend you to pick the one(for examples, J1713+0747.aaa.FTp) with highest S/N as the single brightest templates and copy this standard pulse to the tempaltes directory:

mkdir templates
cp J1713+0747.aaa.FTp ./templates/J1713+0747.FTp.single.std

4.4 Using Pat (Pulsar Archive Timer)

Pat is used to determine the arrival times of pulsars in each archive. This is the most important part of timing a pulsar and determining its ephemeris.

Pat will take the pulse data from each pammed data file and measure its arrival time relative to that of the standard pulse. It compiles all of the arrival time data into a file that is suitable for reading by a program called TEMPO2. At the present time, pat can use several cross-correlation algorithms to determine the phase shift between the standard template and the observed Profile. Here, we strongly suggest you to use the ‘Fourier domain with Markov chain Monte Carlo’(‘FDM’) algorithms.

To use pat, type the following command:

pat -FT -A FDM -C snr -s fcm20cm.std -f "tempo2 IPTA" *.FTp > J1713+0747.tim

This translates to: ‘Use pat to compare your standard file to the arrival times of pulses in each of the files with names ending in ‘.FTp’. Output all the arrival time data into a file called your.tim’.

You could look at the data that pat has produced by either typing ‘more yourinitials.tim’ into your shell, or opening the file with vim (%vim J1713+0747.tim). The data is in a table with the following columns:

Filename : Observation Frequency : Time of Arrival : Error in Microsecs : Telescope no and any other flags and value represent the observation messages.

So now you have created a file with the arrival times of all the pulses relative to the standard pulse. This will be used in the next part to show the timing residuals of the pulsar and fit for the up to data ephemeris.

4.5 Downloading an Ephemeris

The most simple pulsar data format is the ephemeris. This is the parameters used in the timing model. Ephemerdies come as text files with a .eph or .par extension.

For most pulsars, an attempt at timing has already been made and an estimate of an ephemeris drawn up. We use this now to base our new ephemeris on and give the program some idea of where to start. For most pulsars, the ephemeris can be download form the IPTA data release through the EPTA website.

There appears to be no formal specification of what parameters are used in these files, although a loose standard has developed, with the following common parameters.

Param Units Description Aliases
PSRJ Str Pulsar JName
RAJ hr Right Asscention (J2000)
DECJ deg Declination (J2000)
PEPOCH MJD Period Epoch
F0 Hz Rotational Frequency or P/P0
F1 Hz/s First derivitive of F0
F2 Hz/s/s Second derivitive of F0
POSEPOCH MJD Position Epoch
DM pc/cm3 Dispersion Measure
START MJD Time the eph is valid from
FINISH MJD Time the eph is valid till
BINARY Str The binary model used (if any)
EPHVER Int The eph version 5:tempo2
CLK Str Definition of clock to use
PMRA mas/yr Proper mothin in RA
PMDEC mas/yr Proper mothin in DEC
PX mas Parallax
NITS Int Number of fitting interations

The parameters for the binary motion are dependent on the binary model used.

For the BT model:

Param Units Description Aliases
A1 ltsec projected semimajor axis
ECC Eccentricity of the orbit
T0 MJD Epoch of periastron
PB days Orbital Period
OM deg Longitude of Periastron
ECCDOT First derivitive of ECC
XDOT First derivitive of A1
OMDOT deg/yr First derivitive of OM
PBDOT First derivitive of PB

4.6. Using tempo2 to show the residuals and fit Ephemeris for the Pulsar

The TEMPO2 software package is mainly used in pulsar timing analysis. It d implements pulsar timing algorithms with a precision and accuracy of ~1 ns. Usually TEMPO2 is used to compare a model for a pulsar’s rotation, position and orbital parameters with actual observations of pulse arrival times.

The difference between actual and predicted arrival times are known as the pulsar “timing residuals”. After calculating these timing residuals, TEMPO2 carries out a linear least-squares-fit to improve the parameters in the model. It is possible that the model is too simplistic and does not contain all the phenomena that affect the pulse arrival times. For instance, the pulsar may undergo glitch events, or may have unmodelled binary companions. Various tools exist to study such effects that are not included in the timing model. TEMPO2 can also be used to predict the pulse period and phase at any given time.

Type:

tempo2 -gr plk -f J1713+0747.IPTA.par J1713+0747.tim

$$x = 100 * y + z - 10 / 33 + 10 % 3$$

hangjiangongsh1: \(a + b\)


Author: Jun Wang
Reprint policy: All articles in this blog are used except for special statements CC BY 4.0 reprint policy. If reproduced, please indicate source Jun Wang !