1. Introduction
Pulsars are compact objects with emission characterized by the beam of radiation emitted from their magnetic poles. In binary systems, there can be an accretion of matter from the companion star to the magnetic poles of the pulsar, forming what are called accretion columns [
1]. Accreting millisecond X-ray pulsars (AMXPs) are believed to be neutron stars in low mass X-ray binaries [
2].
The accretion columns formed in those systems can have several shapes as filled funnel, hollow funnel, and pancaked or spaghetti (when instabilities are predominant) [
1]. The filled funnel occurs when infalling matter comes with spherical symmetry [
3]. The photons scattered through the walls of the column are called fan beam, whereas the photons that go upwards compound a pencil beam. Even though the type of emission is related to the accretion rate, a combination of fan beam and pencil beam cannot be discarded [
4].
Falkner [
5] developed a three-dimensional full cylindrical-shaped antipodal accretion column simulation and used the Beloborodov ray-tracing model [
6] to calculate the pulse profile formed by the X-ray photons coming from the column. There, the geodesics were determined through the bilinear interpolation of some integrated points from the surface. The hot spots may have arbitrary sizes and locations (see also [
7]). Furthermore, we allow different shapes for the accretion columns, e.g., cone trunk and cylindrical, as illustrated in
Figure 1.
One pulsar believed to have accretion columns is 1A 0535+262, one of the best-studied high mass X-ray binary (HMXB) of the galaxy. The system is composed of a Be star and a neutron star with an orbital period of ∼
[
8] and a spin period of ∼
[
9]. From this pulsar, Doroshenko [
10] has noted a spectral softening that could be explained by the presence of accretion columns. Caballero [
11] has done a pulse profile decomposition and found a good match with a neutron star
,
and an accretion column height of
.
1A 0535+262 long spin period makes it unnecessary to consider fast spin effects. The data available from the NuSTAR mission covers hundreds of spin periods and takes place in a quiescent phase of the source, making 1A 0535+262 a good candidate for finding accretion-column effects on its phase diagram .
The main goal of the present paper is to reproduce the emission profile in the X-ray range of these accretion columns, in a star with two columns in independent positions, taking into account a Schwarzschild spacetime, gravitational redshift, and the relativistic Doppler effect. The simulation creates a three-dimensional structure of the columns, with cylindrical or conical shapes with cap-like structures in the bottom and top of the columns. At the same time, we created a table from integration with the results of the photon geodesics. By the bilinear interpolation of the table data, we found the emission angle and the impact parameter for each column emission point. The resulting simulation was in agreement with other studies carried out, and we compared its aspects for different column heights, column shapes and positions, and star radii. We then used algorithms for sampling (the genetic algorithm and Markov Monte Carlo chain) to determine the best parameters that described the pulse profile of the source 1A 0535+262.
To do so, this paper is organized as follows. In
Section 2, we present how the calculations are done and discuss the obtained results. Finally, in
Section 3 we summarize the main conclusions and remarks about them.
2. Materials and Methods
In this section, we introduce the steps taken into our simulation of a neutron star with accretion columns. The parameters considered are the neutron star mass
M, its radius
R, the angular frequency
f, and the angle of its rotational axis with the line of sight (LOS)
i. We also have the parameters of the columns’ positions and shape, which are the semi-aperture angle
; its latitude
; its longitude
, where the north was set to the column rotational axis; its column height
H; and its column temperature
T. Some of those coordinates are illustrated in
Figure 2.
The simulation was designed in python following the recipe described by Falkner [
5]. Therefore, it was developed by following the steps below:
Lookuptable: For some values of possible positions where photons can leave the columns, we created a table with their point of emission and emission angle .
Object creation: From a given set of parameters of the columns (, , , H), a 3D mesh of the star was created, where the coordinates of the baricenter of its divisions can be taken and followed through the star’s rotation and the columns can be shaped as we want.
Flux calculation: Given a set of parameters (M, R, f, i, , , , H, T), the flux that comes from each point of the column was calculated and summed for each phase of the star’s rotation.
To calculate the geodesics, Schwarzschild spacetime was assumed and, to the flux, the effects of the Doppler shift and gravitational redshift were also considered. Following the above steps, we use the model to fit some data sets. For example, we apply the model to the source 1A 0535+262, discovered in 1975 by Ariel V [
9], through sampling algorithms. In that step, Markov Chain Monte Carlo (MCMC) and the genetic algorithm (GA) were employed to constrain the values of the set (
M,
R,
f,
i,
,
,
,
H,
T), which has the best fit with source 1A 0535+262.
2.1. Lookuptable
In the simulation, we want to calculate the flux emitted from a given point in the accretion column with polar coordinates
R and
, where
is the angle between the position and the observer’s line of sight. In order to do this, we need to obtain the angle of emission
, which is the angle between the photon direction and the surface normal, and the impact parameter
b. Those parameters can be obtained by solving the geodesics for the photons, for a Schwarzschild spacetime in our model. In our case, we need to be careful because in some cases the photons may approach the star before leaving it, i.e., there are trajectories with periastron. This scenario is a consequence of the photons leaving from a point above the surface of the star. The
Figure 3 shows the two kinds of trajectories.
The solution needs to be taken apart in two steps, one where the photon goes from the emission point to the periastron and another where it leaves the periastron and goes to the observer. Therefore, one needs to know beforehand if the trajectory has a periastron or not. To do that,
is calculated from a list of
R and
through numerical integration, i.e.,
where
is the Schwarzschild radius, where it is used the geometric unit system with
. This is solved by Romberg’s method provided by the
SCIPY library for
Python. The impact parameter is related to
R and
through the expression
When
, the trajectory has a periastron and then the angle between its radial direction and the LOS,
, is
where
is the same angle when the photon is precisely on the periastron and
is the angle when it crosses the emitting radius. Further, knowing that
,
can be retrieved via bilinear interpolation from a table containing the values for
R,
, and
. Therefore, we are able to read from this table the value for any
, given
R and
through bilinear interpolation; see
Figure 4.
2.2. Object Creation
In order to calculate the flux, the coordinates of each subdivision of the accretion columns are needed. This was obtained by the
pymesh platform in python. The mesh of the star and its accretion columns can be created by adding and subtracting three dimensional geometrical forms. We have used cylindrical and cone trunks. The top of each column is closed with a spherical cap, in order that a column tends to a polar cap as its height tends to zero. Additionally,
pymesh provides the objects (stellar surface and columns) subdivisions, its baricenters, and its normal vectors, which are all needed to perform the calculations.
Figure 1 shows how the accretion columns are visualized by the simulation.
2.3. Flux Calculation
Given the coordinates of an emitting subdivision of the column, its flux is calculated by ([
12])
where
is the intensity in the corotating frame,
is the Doppler shift,
,
is the angle between the direction of emission and the normal to the element, and
is the area of the element and
D the distance to the source. The
term accounts for Doppler and gravitational redshift effects. For the present analysis , an isotropic blackbody emission from the columns is assumed since our purpose here is to see geometrical effects only. Additionally, the distance of the source to the observer is not a necessary feature since the flux is normalized through
After the flux for each subdivision is calculated, the star is rotated around its rotational axis, starting the flux count from the beginning. This process is repeated until the flux for the whole rotation is obtained.
2.4. Data Selection and Reduction
The data employed to constrain the parameters of 1A 0535+262 were retrieved from its longest available observation from the NuSTAR mission [
13] archival database. This observation (ObsID 90401370001) occurred on 26 December 2018, three months after the type-I outbursts, when the source was in a deep quiescent state with luminosities as low as ∼7 × 10
erg s
[
14]. The observation lasted (total span time) approximately 33 h, with an effective on-source time (i.e., exposure time) of about 15 h (∼55 ks).
Data were reduced following the standard procedures of the NuSTAR Data Analysis Software (nustardas pipeline v2.0); calibration files from CALDB version 20210427 were used. The source and background to generate lightcurves were extracted, respectively, from a ∼75 arcsec region centred on the source position and from a source-free region—on the same detector—of ∼95 arcsec. A Barycenter correction with the FTOOL barycorr was applied.
2.5. Genetic Algorithm
Inspired by natural selection, the genetic algorithm (GA) is a programming technique in which the parameters, e.g., M and R, are treated as genes and a set of free parameters are treated as chromosomes. Following natural evolution, these chromosomes’ phenotype, the pulse profile, must adapt to its surroundings, the data.
That said, the GA can be described by the following steps:
Initialization: the generation of a population of solutions (i.e., the chromosomes);
Phenotype evaluation: the calculation of each model solution’s fitness;
The selection of the best solutions;
Reproduction: the genes of the best solutions are recombined;
Mutation: genes can be randomly selected and changed;
Population replacement.
The set composed of steps 2 to 6 is called a generation. In step 3, the best solutions are selected through the goodness-of-fit (
) of a given solution, representing the square difference between the model and the observed data ,
where
is (
4) summed over all observed points in an instant of rotation, normalized by Equation (
5).
is the normalized observed flux of our data , and
, where
N is the number of points observed in the lightcurve, so the difference in flux is summed over the period of the pulse profile. The best fit will have its
closer to zero [
7].
In the present work, the GA has the sole objective of finding an adequate prior probability distribution for the Markov Chain Monte Carlo (MCMC) method. Then, the MCMC algorithm is able to evolve the prior distribution according to Bayes’ Theorem until a convergence criterion is reached. The MCMC method is discussed in the next section.
2.6. Markov Chain Monte Carlo
The Markov chain Monte Carlo (MCMC) method is a Bayesian sample method, i.e., it is based on the Bayes’ theorem given by
where, in statistical language,
is the prior probability,
is the likelihood probability, and
is the posterior probability. The
is not important in the applied method.
In order to run the algorithm, a prior probability distribution must be provided. The prior is supposed to reflect our prior knowledge of each variable in the model. The genetic algorithm is responsible for producing the mean values for such distributions (see
Section 2.5). Then, normal distributions are built around the mean values, which become the input distributions for the MCMC algorithm.
The likelihood is the conditional probability distribution that given the true parameter value being A, the output B is observed. For a sample set, where the most recent is , the next sample is generated by the following:
Sampling: A parameter set is taken from a proposal, a probability distribution function.
Evaluation: The new set is evaluated to know whether it is more likely or not by the ratio .
Selection: If it is more likely, will be the new sample. Otherwise, the algorithm accepts it anyway within a predefined probability.
Where
is the prior times the likelihood [
15].
3. Results
Figure 5 shows the parameter space, i.e., the posterior probability, for
M and
R calculated as depicted in
Section 2.5 and
Section 2.6. For this result, we considered two columns with independent positions, cone trunk shapes, and a column height fixed at 1 km. The fit for 1A 0535+262 suggests
M
and
km at
(68%) confidence level (CL). Other parameters can be found in
Table 1.
Figure 6 shows a comparison between the observed data and the fitted theoretical model.
Figure 7 shows the phase diagrams for one column with height
km and different values for the semi-aperture
, e.g.,
,
,
, and
. As expected, bigger apertures imply more pencil beam rays due to the increasing column area. Because of the rotation, sometimes, throughout the phase, the pencil beams are emitted in the observer direction (LOS). This increases the pulsed fraction with the widening of the difference between the higher flux and the lower one.
Figure 8 shows the importance of the fan beams when
H∼1.0 km. This contribution for the flux is dependent on the form of the column, as one can see in the lower plots of
Figure 8. The reason for this is that, as defined here, both have the same base size, i.e., the spot size, and therefore the cone trunk has more emission surface than the cylindrical column.
4. Summary
The simulation developed can create a pulse profile of a neutron star with accretion columns given a set of parameters (M, R, f, i, , , , H, T), where the last four are given for each column. Some features of the pulse profile for that emission were observed, such as the increase in the flux due to the fan beam, as well as the change due to the chosen geometry for the column. With the assistance of sample algorithms, a set of parameters for the neutron star and the columns were constrained for the source 1A 0535+262.