Free Access
Issue
A&A
Volume 646, February 2021
Article Number A91
Number of page(s) 12
Section Astrophysical processes
DOI https://doi.org/10.1051/0004-6361/202039277
Published online 12 February 2021

© ESO 2021

1. Introduction

Gamma-ray binaries are composed of an early-type massive star in orbit with a compact object, either a neutron star or a black hole. They are characterised by a dominant radiative output in the gamma-ray regime > 1 MeV (see Dubus 2013; Paredes & Bordas 2019, for a review). They exhibit broadband non-thermal emission ranging from radio through low-energy (LE, 1–100 MeV) up to high-energy (HE, > 100 MeV) and very high energy (VHE, > 100 GeV) gamma-rays. For most systems, observations show flux variations with the orbital phase. At the time of writing, nine gamma-ray binaries emitting in the HE regime are confirmed: 1FGL J1018.6-5856 (Fermi LAT Collaboration 2012; H.E.S.S. Collaboration 2015a), 4FGL J1405-6119 (Corbet et al. 2019), HESS J0632+057 (Aharonian et al. 2007), HESS J1832-093 (H.E.S.S. Collaboration 2015b; Martí-Devesa & Reimer 2020), LMC P3 (Corbet et al. 2016; H.E.S.S. Collaboration 2018), LS 5039 (Paredes et al. 2000; Aharonian et al. 2005a), LS I +61 303 (Kniffen et al. 1997; Albert et al. 2006), PSR B1259-63 (Aharonian et al. 2005b), and PSR J2032+4127 (Abeysekara et al. 2018).

In the literature, two possible mechanisms are proposed to explain the non-thermal emission (see e.g. Mirabel 2006; Romero et al. 2007): A jet-related emission scenario, where the compact object accretes matter from its stellar companion, releasing the accretion energy in the form of relativistic jets with high-energy particles (see e.g. Bosch-Ramon & Khangulyan 2009); or a wind-driven scenario, in which the compact object is commonly assumed to be a pulsar, whose rotational energy is dissipated as a relativistic pair plasma interacting with the wind of the early-type companion star (see Maraschi & Treves 1981; Dubus 2006). In close-orbit binaries, this interaction leads to the formation of an extended wind-collision region (WCR) that terminates both the pulsar and stellar wind by shocks (see e.g. Bogovalov et al. 2008; Bosch-Ramon et al. 2012). At these sites, particles can be accelerated to ultra-relativistic energies through diffusive shock acceleration and other processes (Sironi & Spitkovsky 2011), which then produce the observed radiation. For many systems, a wind-driven interpretation seems favoured. This has been investigated using a variety of different approaches ranging from simple few-zone models to more complex numerical models including different emission mechanisms (see e.g. Khangulyan et al. 2007; Bosch-Ramon et al. 2008; Cerutti et al. 2010; Bednarek 2011; Zabalza et al. 2013; Takata et al. 2014; Dubus et al. 2015; Barkov & Bosch-Ramon 2018; Molina & Bosch-Ramon 2020). However, while the explored approaches succeed at modelling some observed features, they fail at reproducing others. In this work, we also focus on a wind-driven scenario and aim to alleviate some of the encountered issues.

In analogy to gamma-ray binaries, extended WCRs can also be formed in colliding-wind binaries (CWBs). These systems are very similar in terms of wind interaction, but they harbour a second early-type star instead of the neutron star. CWBs can therefore be viewed as a non-relativistic analogue of gamma-ray binaries in the wind-driven scenario. The HE emission of such systems has been successfully described by Reitberger et al. (2017) employing a dynamically coupled treatment of the particle transport and the fluid. The corresponding numerical model was implemented as an extension to the CRONOS code (see Kissmann et al. 2018) solving a Fokker-Planck type particle transport equation for protons and electrons simultaneously to the equations of magneto-hydrodynamics.

In this work, we extend this approach to gamma-ray binaries by translating the previous simulations into a relativistic framework, but we neglect the possible effect of the pulsar and stellar magnetic field on the fluid flow at this stage (Dubus et al. 2015; Bogovalov et al. 2019). This allows a production of emitting particle distributions that is consistent with the dynamics of the wind interaction; this has not been attempted in the case of gamma-ray binaries before. In turn, this enables the prediction of the non-thermal emission from gamma-ray binaries in a self-consistent framework.

This is the first in a series of papers. With this first paper, we establish the governing equations, describe their numerical treatment, and demonstrate the approach on a generic binary system. In a second paper (Huber et al. 2020), the developed model is specifically applied to the LS 5039 system, and we compare the predicted emission to observations.

The paper is structured as follows: In Sects. 2.1 and 2.2 we introduce the governing equations for the coupled fluid and particle transport simulation, respectively, together with their numerical treatment and their implementation within CRONOS. In Sect. 2.3 we present the emission model involving synchrotron and inverse-Compton emission with additional modulations by relativistic boosting and γγ-absorption. In Sect. 3 we demonstrate the general properties of our model on a generic binary system and present the resulting fluid structure, particle distributions, and emission spectra and light curves. A concluding summary and outlook are given in Sect. 4.

2. Numerical model

The numerical model can be conceptually split into three distinct parts: the fluid model formulated in special relativity treating the interaction of the winds (see Sect. 2.1), the particle transport treating the evolution of the particle distributions embedded in the fluid (see Sect. 2.2), and the emission model predicting the radiation from the system (see Sect. 2.3). The first two are treated simultaneously in the simulation, whereas the radiation is computed in a post-processing step using previously obtained particle and fluid solutions.

2.1. Fluid model

Owing to the relativistic pulsar wind, a classical treatment does no longer suffice and a special relativistic hydrodynamic framework has to be employed to accurately simulate the stellar and pulsar wind interaction. In this section we briefly summarise the necessary ingredients that are treated in an extension of the CRONOS code (Kissmann et al. 2018), which will be described in more detail in a future paper. The governing equations can be cast into a set of hyperbolic conservation equations that in Cartesian coordinates take the form

t U + i F i ( U ) = S , $$ \begin{aligned} \partial _t \boldsymbol{U}+ \partial _i \boldsymbol{F}^i \left( \boldsymbol{U}\right) = \boldsymbol{S}, \end{aligned} $$(1)

where U denotes the conserved quantities, Fi its respective flux, and S an additional source term. The first two can be expressed through primitive fluid variables such as the mass density ρ, the pressure p, the four-velocity uμ, and specific enthalpy h as

U = ( D E m j ) = ( ρ u 0 D h u 0 p D h u j ) $$ \begin{aligned} \boldsymbol{U}= \begin{pmatrix} D \\ E \\ m^j \end{pmatrix} = \begin{pmatrix} \rho {u^0}\\ D h {u^0}- p \\ D h u^j \end{pmatrix} \end{aligned} $$(2)

and

F i ( U ) = ( D u i / u 0 m i m j u i / u 0 + p δ ij ) . $$ \begin{aligned} \boldsymbol{F}^i(\boldsymbol{U}) = \begin{pmatrix} D \, u^i / u^0 \\ m^i \\ m^j \, u^i / u^0 + p \, \delta ^{ij} \end{pmatrix} . \end{aligned} $$(3)

In this paper we use the normalisation c = 1 and notate the three spatial components of the fluid four-velocity vector as u = ui and its Lorentz factor as u0. The presented system of five equations in six unknowns is closed by an additional equation of state. For now we employ an ideal equation of state,

h ( ρ , p ) = 1 + Γ Γ 1 p ρ , $$ \begin{aligned} h(\rho , p) = 1 + \frac{\Gamma }{\Gamma - 1} \frac{p}{\rho }, \end{aligned} $$(4)

where Γ = 4/3 is the constant adiabatic exponent of the fluid, as this was found to have only a negligible effect on the resulting fluid structure with respect to more sophisticate ones (Bosch-Ramon et al. 2015).

In our simulation, we employed the HLLC solver (Mignone & Bodo 2005) alongside a second-order sub-grid reconstruction using a MINMOD slope limiter. To further increase the stability and robustness of our simulation, we directly evolved τ = E − D, which replaces the energy equation, and solved an additional conservation equation for the specific entropy s = p/ρΓ used in smooth flows,

t ( s D ) + i ( s D u i / u 0 ) = 0 . $$ \begin{aligned} \partial _t (s D) + \partial _i (s D u^i / u^0) = 0. \end{aligned} $$(5)

2.1.1. Wind injection

The stellar and pulsar wind were injected in the simulation by prescribing a solution in a spherical region with radius rinj of the domain. Inside each wind injection volume, we prescribed the solution as

ρ ( r ) = M ˙ 4 π r 2 u , u ( r ) = u e r , p ( r ) = 10 6 ρ ( r ) , $$ \begin{aligned} \rho \left( \boldsymbol{r} \right) = \frac{\dot{M}}{4 \pi r^2 u}, \quad \boldsymbol{u}(\boldsymbol{r}) = u \, \boldsymbol{e}_r, \quad p (\boldsymbol{r}) = 10^{-6} \rho \left( \boldsymbol{r} \right), \end{aligned} $$(6)

where r denotes the vector originating at the injection centre to a given point in space, the mass injection rate, and u the four-speed of the injected wind. We kept the wind speed constant at its terminal velocity over the whole injection volume. The density gradient was scaled such that the prescribed mass-loss rate was recovered for every spherical shell inside the injection region. Because the effect of thermal pressure is neglected in our simulation, it was set to a low value scaled with the density gradient in order to keep the corresponding temperature constant.

In simulations of gamma-ray binaries, it is common practice to prescribe the pulsar mass-loss rate through the ratio η of the total momentum. The pulsar mass-loss rate can hence be obtained by

M ˙ p = η M ˙ s u s u p , $$ \begin{aligned} \dot{M}_{\rm p} = \eta \frac{\dot{M}_{\rm s} u_{\rm s}}{u_{\rm p}}, \end{aligned} $$(7)

where quantities indicated with p and s belong to the pulsar and star, respectively.

In practice, the injection was realised by resetting the states of the respective cells after every time-step with those computed from the prescribed solution. A cell was treated as part of the star or pulsar, respectively, when its centre was within a spherical volume of given radius rinj around the star or pulsar location.

2.1.2. Orbital motion

To account for the orbital motion, the wind injection volumes were relocated after every step of the simulation to their respective position on the Keplerian orbit. In standard approaches, the system is treated in the laboratory frame (see e.g. Bosch-Ramon et al. 2012). In our approach, we treat the binary in a frame corotating with the average angular velocity of the system as described in Appendix A. This has the advantage that the vector connecting the two companions remains fixed for circular orbits instead of performing full rotations. For mildly eccentric orbits, this translates into an oscillation in a narrow angular range. Consequently, the wind injection volumes have to be relocated by a smaller amount than in the laboratory frame, which increases the stability of the simulation by avoiding unphysical conditions upon relocation.

Furthermore, because the binary motion is restricted, the orientation of the WCR is also restricted. This allows saving computational effort by reducing the simulation volume behind the star as seen from the centre of mass because we are mostly interested in the cometary tail-like downstream of the WCR behind the pulsar.

2.2. Particle transport

The particle transport equation for cosmic rays has been presented in the relativistic case by Webb (1989). It takes the following form:

0 = μ ( u μ f 0 + q μ ) + 1 p 2 p [ p 3 3 μ u μ f 0 + p ˙ loss p 2 f 0 Γ visc p 4 τ f 0 p p 2 D pp f 0 p p ( p 0 ) 2 u ˙ μ q μ ] , $$ \begin{aligned} 0&= {\nabla _\mu \left( u^\mu {f^{\prime }}_0 {+ {q^\mu }} \right) } + \frac{1}{p^2} \frac{\partial }{\partial p^{\prime }} \left[ \right. { - \frac{{p^{\prime }}^3}{3} \nabla _\mu u^\mu {f^{\prime }}_0 } { + \dot{p^{\prime }}_\mathrm{loss} {p^{\prime }}^2 {f^{\prime }}_0 }\nonumber \\&\quad { - {\Gamma _\mathrm{ visc} {p^{\prime }}^4 \tau \frac{\partial f\prime _0}{\partial p\prime }}} { - {p^{\prime 2} D_{pp} \frac{\partial f\prime _0}{\partial p\prime }} } { - {p\prime (p^{\prime 0})^2 \dot{u}_\mu q^\mu } } \left. \right] , \end{aligned} $$(8)

where f 0 ( x μ , p ) $ f^\prime_0(x^\mu, p^\prime) $ is the isotropic part of the particle phase space density. All primed quantities are given in the fluid frame. The first term describes passive advection with the fluid bulk motion uμ and spatial diffusion with the heat flux qμ. The other terms in square brackets describe the transport in momentum space. From left to right, they correspond to adiabatic losses or gains, generic momentum losses (e.g. from radiative processes), viscous shear acceleration, the second-order Fermi process, and losses due to non-inertial frame changes. Following Vaidya et al. (2018), we neglected (for the purpose of this paper) spatial diffusion (qμ = 0), viscous shear-acceleration (Γvisc = 0), and momentum diffusion (Dpp = 0). Because we assume the ultra-relativistic limit, the particle Lorentz factor can be readily obtained as γ ≈ p′/m, leading us to define N ( x μ , γ )=4π p 2 f 0 m $ \mathcal{N}^\prime(x^\mu, \gamma^\prime) = 4 \pi {p}^{\prime2} f^\prime_0 m $, with 𝒩′ dV′ dγ′ corresponding to the number of particles within a volume  dV′ in the range [γ′,γ′+ dγ′]. According to our assumptions and substitutions, we obtain the simplified transport equation

μ ( u μ N ) + γ [ ( γ 3 μ u μ + γ ˙ rad ) = d γ d t N ] = 0 , $$ \begin{aligned} {\nabla _\mu \left( u^\mu \mathcal{N} \prime \right)} + \frac{\partial }{\partial \gamma \prime } \biggl [ \underbrace{ \left( - \frac{\gamma \prime }{3} \nabla _\mu u^\mu + \dot{\gamma ^{\prime }}_\mathrm{rad} \right) }_{= \langle \frac{\,{\mathrm{d} }\gamma \prime }{\,{\mathrm{d} }t\prime } \rangle } \mathcal{N} \prime \biggr ] = 0, \end{aligned} $$(9)

with d γ d t $ \langle \frac{{\,{\text{ d}}}\gamma\prime}{{\,{\text{ d}}}t\prime} \rangle $ being the total energy loss rate in the fluid frame. We now consider electrons and positrons in the particle transport because accelerated nuclei are thought to not contribute efficiently to the overall emission (e.g. Bosch-Ramon & Khangulyan 2009).

2.2.1. Implementation

Following Reitberger et al. (2014), we implemented the transport equation Eq. (9) within CRONOS by employing a splitting scheme that separates the problem into a spatial and an energy part,

t ( u 0 N ) + i ( u i N ) = 0 $$ \begin{aligned} \partial _t \bigl ( u^0 \mathcal{N} \prime \bigr ) + \nabla _i \bigl ( u^i \mathcal{N} \prime \bigr )&= 0 \end{aligned} $$(10)

t ( u 0 N ) + γ ( d γ d t N ) = 0 . $$ \begin{aligned} \partial _t \bigl ( u^0 \mathcal{N} \prime \bigr ) + \partial _{\gamma \prime } \left( \left\langle \frac{\,{\mathrm{d} }\gamma \prime }{\,{\mathrm{d} }t\prime } \right\rangle \mathcal{N} \prime \right)&= 0. \end{aligned} $$(11)

Both parts are treated independently and sequentially one after the other. The particle density was discretised in space in the same manner as the fluid variables, while its spectrum was subdivided into spectral bins [ γ l1/2 , γ l+1/2 ] $ [\gamma^\prime_{l-1/2}, \gamma^\prime_{l+1/2}] $. In our implementation, we allow the user to specify the limits of the simulated spectral range, that is, the first and the last edge γ 1/2 , γ N γ 1/2 $ \gamma^\prime_{-1/2}, \gamma^\prime_{N_\gamma -1/2} $, and the number of spectral bins Nγ. The range was then subdivided into logarithmic bins with

γ l 1 / 2 = γ 1 / 2 ( γ N γ 1 / 2 γ 1 / 2 ) l / N γ , for l } 0 , , N γ { . $$ \begin{aligned} \gamma \prime _{l-1/2} = \gamma \prime _{-1/2} \left( \frac{\gamma \prime _{N_\gamma -1/2}}{\gamma \prime _{-1/2}} \right)^{l/N_\gamma } , \; \mathrm{for} \, l \in \} 0, \dots , N_\gamma \{ . \end{aligned} $$(12)

The cell centre γ l $ \gamma^\prime_l $ is then obtained as the arithmetic mean of its limits.

Averaging Eq. (10) over the l-th energy bin yields the finite-volume version of the spatial particle transport,

μ ( u μ N l ) = 0 $$ \begin{aligned} {\nabla _\mu \left( u^\mu \mathcal{N} \prime _l \right)} = 0 \end{aligned} $$(13)

with the cell averages N l =Δ γ l 1 γ l1/2 γ l+1/2 N d γ $ \mathcal{N}^\prime_l = \Delta {\gamma^\prime}_l^{-1} \int_{\gamma^\prime_{l-1/2}}^{\gamma^\prime_{l+1/2}} \mathcal{N}^\prime {\,{\mathrm{d}}} \gamma^\prime $ and Δ γ l = γ l+1/2 γ l1/2 $ \Delta \gamma^\prime_l = \gamma^\prime_{l+1/2} - \gamma^\prime_{l-1/2} $. The spatial particle distribution corresponding to a given spectral bin can therefore be represented by an additional three-dimensional scalar field N l $ \mathcal{N}^\prime_l $. The spatial transport, amounting to a mere spatial convection, is solved directly by the hydrodynamic solver similar to the mass continuity equation (the first component in Eq. (1)).

Averaging Eq. (11) over a spatial cell with index i, j, k, and treating the fluid variables as constant in time yields

t N i , j , k + γ ( 1 u 0 d γ d t N i , j , k ) = 0 , $$ \begin{aligned} \partial _t \mathcal{N} \prime _{i,j,k} + \partial _{\gamma \prime } \left( \frac{1}{u^0} \langle \frac{\,{\mathrm{d} }\gamma \prime }{\,{\mathrm{d} }t\prime } \rangle {\mathcal{N} \prime }_{i,j,k} \right) = 0, \end{aligned} $$(14)

where N i,j,k $ {\mathcal{N}^\prime}_{i,j,k} $ is the spatial cell average of the differential particle number density at a certain energy. The spectral evolution of the particle distribution can therefore be viewed as an advection in energy with energy-dependent velocity γ ˙ = d γ d t / u 0 $ \dot{\gamma}\prime = \langle \frac{{\,{\text{ d}}}\gamma\prime}{{\,{\text{ d}}}t\prime} \rangle / u^0 $.

The evolution in energy was treated independently for each spatial cell by a semi-Lagrangian solver in analogy to the one presented by Zerroukat et al. (2006), which we detail in the following. For better readability, we omit in the following the prime and the indices on the particle number density N N i,j,k $ \mathcal{N} \equiv \mathcal{N}^\prime_{i,j,k} $ and the particle Lorentz factor γ ≡ γ′. We can show that the absolute number of particles in the energy range [γ(t),γ+(t)] remains constant if the limits γ±(t) satisfy the characteristic equation

d d t γ = γ ˙ ( γ ) , $$ \begin{aligned} \frac{\,{\mathrm{d} }}{\,{\mathrm{d} }t} \gamma = \dot{\gamma } (\gamma ) , \end{aligned} $$(15)

which can be exploited to construct a conservative and explicit update scheme for the particle number densities.

We obtained the particle number density N l n+1 $ \mathcal{N}^{n+1}_l $ at the next timestep tn + 1 by first considering where the particles inside the bin were advected from, that is, in which γ-range they were at time step tn. This was done by performing a backward integration of the bin edges γl ± 1/2 following Eq. (15) to identify the corresponding values γ l±1/2 n $ \gamma^n_{l\pm1/2} $ at time tn (denoting propagated edges with a superscript). Equation (15) was solved numerically using a second-order explicit Runge-Kutta method, for example Ralston’s method, with the time step provided by the RHD solver.

After the interval edges γ l±1/2 n $ \gamma^n_{l\pm1/2} $ were identified, the updated number density was obtained using particle conservation

Δ γ l N l n + 1 = γ l 1 / 2 n γ l + 1 / 2 n N n d γ = I n [ γ l + 1 / 2 n ] I n [ γ l 1 / 2 n ] , $$ \begin{aligned} \Delta \gamma _l \, \mathcal{N} _l^{n+1} = \int _{\gamma ^n_{l-1/2}}^{\gamma ^n_{l+1/2}} \mathcal{N} ^{n} \,{\mathrm{d} }\gamma = I^n \left[ \gamma _{l+1/2}^{n} \right] - I^n \left[ \gamma _{l-1/2}^{n} \right], \end{aligned} $$(16)

where In[γ] denotes the cumulative particle count up to a value γ, for the spectrum at time tn (see also Eq. (19)). To approximate the integral, we considered a second-order, piece-wise linear reconstruction in energy in each cell, in analogy to the spatial reconstruction in the hydrodynamics part,

N n ( γ ) = N l n + δ l n ( γ γ l ) , $$ \begin{aligned} \mathcal{N} ^n(\gamma ) = \mathcal{N} ^n_l + \delta ^n_l (\gamma - \gamma _l) , \end{aligned} $$(17)

with γl − 1/2 <  γ <  γl + 1/2. Here, δ l n $ \delta^n_l $ denotes the slope of the reconstruction obtained after applying the van Leer limiter (van Leer 1977),

δ van Leer = max ( δ + δ , 0 ) δ C , $$ \begin{aligned} \delta _\mathrm{van Leer} = \frac{\max \left(\delta ^+ \delta ^-, 0\right)}{\delta ^C} , \end{aligned} $$(18)

to the right-, left-, and two-sided finite differences, denoted by δ+, δ, and δC, respectively. With this, the integral can be approximated directly as piecewise parabolas by

I n [ γ ] = γ 1 / 2 γ N n ( γ ) d γ I n [ γ l 1 / 2 ] + ( N l n δ l n γ l ) h γ + δ l n 2 h γ 2 , $$ \begin{aligned} I^n \left[ \gamma \right]&= \int _{\gamma _{-1/2}}^{\gamma } \mathcal{N} ^n(\tilde{\gamma }) \,{\mathrm{d} }\tilde{\gamma }\nonumber \\&\approx I^n \left[ \gamma _{l-1/2} \right] + (\mathcal{N} ^n_l - \delta ^n_l \gamma _l) h_\gamma + \frac{\delta ^n_l}{2} \, h_\gamma ^2, \end{aligned} $$(19)

with γl − 1/2 <  γ <  γl + 1/2, hγ = γ − γl − 1/2, and the exact integrals at the cell edges,

I n [ γ l 1 / 2 ] = γ 1 / 2 γ l 1 / 2 N n d γ = j = 0 l 1 Δ γ j N j n , $$ \begin{aligned} I^n \left[ \gamma _{l-1/2} \right] = \int _{\gamma _{-1/2}}^{\gamma _{l-1/2}} \mathcal{N} ^{n} \,{\mathrm{d} }\gamma = \sum _{j = 0}^{l-1} \Delta \gamma _j \, \mathcal{N} _j^{n}, \end{aligned} $$(20)

where γ−1/2 is the lower edge of the first spectral bin l = 0.

On either end of the energy grid, we employed outflowing boundary conditions, ensuring that particles cannot be gained but only lost through the boundaries. This was realised by setting the particle number density to zero outside the energy domain, which amounts to a constant extrapolation of In in the evaluation of the right-hand side of Eq. (16). To determine the slope of the first and last spectral bin according to Eq. (18), we added a ghost-cell at either end of the spectrum (with l = −1 and l = Nγ, using Eq. (12)), and set the cell values to zero.

2.2.2. Magnetic field model

For the purpose of this work, we employed a simplified magnetic field model. We assumed the magnetic field to be amplified by plasma instabilities to a fraction ζb of the available internal energy. This fraction was kept constant throughout the simulation (see also Dubus et al. 2015; Barkov & Bosch-Ramon 2018). The strength of the post-shock magnetic field B′ in the fluid frame can therefore be expressed as

B 2 2 μ 0 = ζ b p Γ 1 . $$ \begin{aligned} \frac{B^{\prime 2}}{2 \mu _0} = \zeta _b \frac{p}{\Gamma - 1} . \end{aligned} $$(21)

We assumed no direction on the magnetic field.

2.2.3. Radiative losses

As energy-loss processes for the accelerated electron-positron pairs we considered synchrotron and inverse-Compton losses. The energy-loss rates are given by

γ ˙ syn = 4 3 σ T m e c w B γ 2 $$ \begin{aligned} \dot{\gamma }\prime _\mathrm{syn} = \frac{4}{3} \frac{\sigma _T}{m_e c} { w}_B\prime {\gamma }^{\prime 2} \end{aligned} $$(22)

γ ˙ ic = 4 3 σ T m e c w rad γ 2 F KN ( ϵ 0 , γ ) , $$ \begin{aligned} \dot{\gamma }\prime _\mathrm{ic} = \frac{4}{3} \frac{\sigma _T}{m_e c} { w}_\text{ rad}\prime {\gamma }^{\prime 2} F_\mathrm{KN} (\epsilon _0\prime , \gamma \prime ) , \end{aligned} $$(23)

with w B $ {{\it w}_B}^\prime $ and w rad $ {{\it w}^\prime_\text{rad}} $ being the magnetic and radiative energy densities in the fluid frame, respectively, and FKN the Klein-Nishina factor.

The magnetic field in the fluid frame can be readily obtained by the transformation

B = 1 u 0 [ B + B · u u 0 + 1 u ] . $$ \begin{aligned} \boldsymbol{B}\prime = \frac{1}{{u^0}} \left[ \boldsymbol{B} + \frac{{\boldsymbol{B}} \cdot \boldsymbol{u}}{{u^0}+ 1} \boldsymbol{u} \right] . \end{aligned} $$(24)

The corresponding magnetic field strength is therefore given by

B = 1 u 0 B 2 + ( B · u ) 2 , $$ \begin{aligned} B\prime = \frac{1}{{u^0}} \sqrt{ B^2 + \left(\boldsymbol{B} \cdot \boldsymbol{u}\right)^2} , \end{aligned} $$(25)

yielding the magnetic energy density w B = B 2 2 μ 0 $ {\textit{w}_B}\prime = \frac{{B\prime}^2}{2 \mu_0} $. For disordered magnetic fields, that is, when no information on the magnetic field orientation is available, we dropped the term containing B ⋅ u in Eq. (25) (see Dubus et al. 2015).

For the inverse-Compton losses, we assumed the radiation field to be monochromatic and mono-directional. The energy density of a beam of photons with direction Ω0 is given in the fluid frame by Doppler boosting the laboratory energy density,

w rad = D u Ω 0 2 w rad , $$ \begin{aligned} { w}_\text{ rad}\prime = \mathcal{D} _{u \Omega _0}^{-2} { w}_\text{ rad}, \end{aligned} $$(26)

with the Doppler factor 𝒟uΩ0 = (u0uΩ0)−1. The radiation field relevant for the inverse-Compton losses emerges from the stellar binary companion,

w rad = L star 4 π r star 2 c , $$ \begin{aligned} { w}_\text{ rad}= \frac{L_\mathrm{star} }{4 \pi r_\mathrm{star} ^2 c}, \end{aligned} $$(27)

where r is the distance to the star and L its luminosity. We employed the Klein-Nishina factor following Moderski et al. (2005),

F KN ( b ) = 9 b 3 [ ( 1 2 b + 6 + 6 b ) log ( 1 + b ) + 2 Li 2 ( b ) ( 11 12 b 3 + 6 b 2 + 9 b + 4 ) · ( 1 + b ) 2 2 ] , $$ \begin{aligned} F_\mathrm{KN} (\tilde{b}\prime )&= \frac{9}{{\tilde{b}}^{\prime 3}} \left[ \left( \frac{1}{2} \tilde{b\prime } + 6 + \frac{6}{\tilde{b\prime }} \right) \log (1 + \tilde{b\prime }) + 2 \mathrm{Li} _2(-{\tilde{b\prime }}) \right. \nonumber \\&\quad \left. - \left( \frac{11}{12} {\tilde{b}}^{\prime 3} + 6 {\tilde{b}}^{\prime 2} + 9 {\tilde{b\prime }} + 4 \right) \cdot \left( 1 + {\tilde{b\prime }} \right)^{-2} - 2 \right] , \end{aligned} $$(28)

assuming an isotropic seed photon and electron distribution for simplicity, with b = 4 ϵ 0 γ ( m e c 2 ) 1 $ \tilde{b}\prime = 4 {\epsilon\prime}_0 \gamma\prime \, (m_e c^2)^{-1} $ and ϵ 0 = D u Ω 0 1 ϵ 0 $ \epsilon^\prime_0 = \mathcal{D}_{u \Omega_0}^{-1} \epsilon_0 $ denoting the Doppler-boosted photon energy of the stellar radiation field.

2.2.4. Particle injection

Strong shocks are commonly regarded as sites for particle acceleration, where we expect a fraction of pairs from the pulsar wind to be accelerated to high energies. However, because the converging fluid flow is the principal driver for several acceleration processes, we generally consider that strongly compressive flows participate in the acceleration. In the simulation, we identified these sites using the criterion

μ u μ < δ sh , $$ \begin{aligned} \nabla _\mu u^\mu < \delta _\mathrm{sh} , \end{aligned} $$(29)

with a typical value of δsh = −10 c/AU to ignore weakly converging flows (see also Appendix C for a comparison to a common shock-identification criterion).

In the identified cells we injected two populations of pairs: thermal pairs from the cold pulsar wind that are isotropised, following a Maxwellian distribution; and non-thermal accelerated pairs, following a power-law spectrum (similar to Dubus et al. 2015), which are parametrised as

N MW = K MW γ 2 exp ( γ / γ t ) $$ \begin{aligned} \mathcal{N} ^\mathrm{MW} = K^\mathrm{MW} \gamma ^2 \exp (-\gamma / \gamma _t) \end{aligned} $$(30)

N PL = K PL γ s for γ min PL < γ < γ max PL N MW $$ \begin{aligned} \mathcal{N} ^\mathrm{PL} = K^\mathrm{PL} \gamma ^{-s} \quad \mathrm{for} \quad \gamma _\mathrm{min} ^\mathrm{PL} < \gamma < \gamma _\mathrm{max} ^\mathrm{PL} \mathcal{N} ^\mathrm{MW} \end{aligned} $$(31)

The maximum Lorentz factor γ max PL $ \gamma_\mathrm{max}^\mathrm{PL} $ for the power law is determined by the balance between acceleration and radiative losses. The acceleration timescale is given by a multiple of the gyration time of the particle τacc = 2πRL/cξacc with the Larmor radius R L = γ m e B $ R_L = \frac{\gamma m}{e B\prime} $ and the acceleration efficiency ξacc. We assumed synchrotron losses to be dominant for the particles at highest energies. Together with the loss timescale τ loss = γ / γ ˙ $ \tau_{\mathrm{loss}} = \gamma\prime / \dot{\gamma}\prime $ given by Eq. (22), this yields the maximum particle Lorentz factor expected at the current location,

γ max PL = 3 4 π μ 0 e c ξ acc σ T B 4.65 × 10 7 1 G ξ acc B . $$ \begin{aligned} \gamma _\mathrm{max} ^\mathrm{PL} = \sqrt{ \frac{3}{4 \pi } \frac{\mu _0 e c}{\xi _\mathrm{acc} \sigma _T B\prime } } \approx 4.65 \times 10^7 \sqrt{\frac{1\,\mathrm{G} }{\xi _\mathrm{acc} B\prime }} . \end{aligned} $$(32)

Because the dominant particle acceleration mechanism in gamma-ray binaries could not be clearly identified, we took a generic phenomenological approach and treated both the spectral index s and the acceleration efficiency ξacc as free parameters of the model (similar to Dubus et al. 2015; Molina & Bosch-Ramon 2020).

The average Lorentz factor of the Maxwellian γt, the lower cutoff of the power-law spectrum γmin, and both normalisations KPLMW were determined from fluid properties. This was controlled by three free parameters: ζ n PL $ \zeta_n^\mathrm{PL} $ the fraction of accelerated non-thermal pairs, ζ e PL $ \zeta_e^\mathrm{PL} $ the fraction of internal energy converted to non-thermal pairs, and ζρ to account for the pulsar wind speed, which might be too low in our simulation and result in an overestimation of the particle number density in the pulsar wind. The respective fractions for the Maxwellian are then readily given by ζ n MW =1 ζ n PL $ \zeta_n^\mathrm{MW} = 1- \zeta_n^\mathrm{PL} $ and ζ e MW =1 ζ e PL $ \zeta_e^\mathrm{MW} = 1 - \zeta_e^\mathrm{PL} $. In our simulation, we kept all injection parameters constant in time and space. The injected spectra are therefore related to fluid quantities by

γ min PL , MW γ max PL , MW N PL , MW ( γ ) d γ = ζ n PL , MW ζ ρ ψ p ρ / m e = : n PL , MW $$ \begin{aligned} \int _{\gamma _\mathrm{min} ^\mathrm{PL,MW} }^{\gamma _\mathrm{max} ^\mathrm{PL,MW} } \mathcal{N} ^\mathrm{PL,MW} (\gamma ) \, \,{\mathrm{d} }\gamma = \underbrace{\zeta ^\mathrm{PL,MW} _n \, \zeta _\rho \, \psi _\mathrm{p} \, \rho / m_e}_{=: n^\mathrm{PL,MW} } \end{aligned} $$(33)

γ min PL , MW γ max PL , MW γ m e c 2 N PL , MW ( γ ) d γ = ζ e PL , MW ψ p e thermal = : e PL , MW , $$ \begin{aligned} \int _{\gamma _\mathrm{min} ^\mathrm{PL,MW} }^{\gamma _\mathrm{max} ^\mathrm{PL,MW} } \gamma \, m_e c^2 \, \mathcal{N} ^\mathrm{PL,MW} (\gamma ) \,{\mathrm{d} }\gamma = \underbrace{\zeta ^\mathrm{PL,MW} _e \, \psi _\mathrm{p} \, e_\mathrm{thermal} }_{=: e^\mathrm{PL,MW} } , \end{aligned} $$(34)

where 0 <  ψp <  1 is a passive tracer indicating the fraction of pulsar wind material and the thermal energy density e thermal = p Γ 1 $ e_{\mathrm{thermal}} = \frac{p}{\Gamma - 1} $ given by the fluid pressure.

For the non-thermal particles, the above expressions yield an implicit equation for γ min PL $ \gamma_\mathrm{min}^\mathrm{PL} $, which was solved numerically by a standard root-finding algorithm. The injection normalisation KPL was then determined from Eq. (33). When the internal fluid energy was too low,

γ min PL γ max PL γ m e c 2 N PL ( γ ) d γ > e PL , $$ \begin{aligned} \int _{\gamma _\mathrm{min} ^\mathrm{PL} }^{\gamma _\mathrm{max} ^\mathrm{PL} } \gamma \, m_e c^2 \, \mathcal{N} ^\mathrm{PL} (\gamma ) \, \mathrm{d}\gamma > e^\mathrm{PL} , \end{aligned} $$(35)

we did not inject particles in the given cell.

For the Maxwellian, Eqs. (33) and (34) can be inverted analytically in the limit γt ≫ 1 using γ min MW =1 $ \gamma_\mathrm{min}^\mathrm{MW} = 1 $ and γ max MW = $ \gamma_\mathrm{max}^\mathrm{MW} = \infty $, yielding

γ t = 1 3 e MW n MW m e c 2 , K MW = n MW 2 γ t 3 . $$ \begin{aligned} \gamma _t = \frac{1}{3} \frac{e^\mathrm{MW} }{n^\mathrm{MW} \, m_e c^ 2 }, \; K^\mathrm{MW} = \frac{n^\mathrm{MW} }{2 \gamma _t^3}. \end{aligned} $$(36)

2.3. Emission

The particle distributions resulting from a joint hydrodynamic and particle-transport simulation (as detailed in Sects. 2.1 and 2.2) were used in a post-processing step to predict the expected emission. In this section, we elaborate on the calculations of the emission and their implementation.

The involved radiative processes are again synchrotron (Sect. 2.3.1) and inverse-Compton emission (Sect. 2.3.2). Furthermore, the produced fluxes were modified by γγ-absorption on photons of the stellar radiation field depending on the location of the emitter (Sect. 2.3.3). For the sake of better readability, we omit the dependence on the location x when it is not imperative.

We formulated the emission in the fluid frame, represented by primed quantities, and then related it to the laboratory frame with a Doppler boost. The spectral emissivity jϵ, that is, the emitted power per unit photon energy per unit solid angle per unit volume, for a given emitted photon energy ϵ and direction Ω is hence given by

j ϵ ( ϵ , Ω ) = D u Ω 2 j ϵ ( ϵ , Ω ) , $$ \begin{aligned} j_\epsilon (\epsilon , \boldsymbol{\Omega }) = \mathcal{D} _{u \Omega }^2 j\prime _\epsilon (\epsilon \prime , \boldsymbol{\Omega }\prime ) , \end{aligned} $$(37)

where 𝒟uΩ = (u0Ωu)−1 is the corresponding Doppler factor. The respective energy and direction of the emitted photons are given in the fluid frame by

ϵ = D u Ω 1 ϵ , Ω = D u Ω [ Ω + ( Ω · u u 0 + 1 1 ) u ] . $$ \begin{aligned} \epsilon \prime = \mathcal{D} _{u \Omega }^{-1} \epsilon \, , \; \boldsymbol{\Omega }\prime = \mathcal{D} _{u \Omega } \left[ \boldsymbol{\Omega } + \left( \frac{\Omega \cdot \boldsymbol{u}}{{u^0}+ 1} - 1\right) \boldsymbol{u} \right] . \end{aligned} $$(38)

Furthermore, it is convenient to express the spectral emissivity in terms of the emission produced by a single electron 𝒫′(ϵ′,Ω′,γ′), that is, the emitted power per unit photon energy per unit solid angle per electron under the assumption of an isotropic distribution of particles in the fluid frame. The spectral emissivity can then be formulated as

j ϵ ( ϵ , Ω ) = P ( ϵ , Ω , γ ) N d γ . $$ \begin{aligned} j\prime _\epsilon (\epsilon \prime , \boldsymbol{\Omega }\prime ) = \int \mathcal{P} \prime (\epsilon \prime , \boldsymbol{\Omega }\prime , \gamma \prime ) \mathcal{N} \prime \,{\mathrm{d} }\gamma \prime . \end{aligned} $$(39)

2.3.1. Synchrotron emission

The total power emitted by a single electron in a magnetic field B′ can be expressed as

P tot syn ( ϵ , γ ) = 3 e 3 8 π 2 ε 0 m e c ħ B F ( ϵ ϵ c ) , $$ \begin{aligned} {\mathcal{P} ^{\prime }}^\text{ tot}_\text{ syn}(\epsilon ^{\prime }, \gamma ^{\prime }) = \frac{\sqrt{3} e^3}{8 \pi ^2 \varepsilon _0 m_e c \hbar } {B^{\prime }}_\perp {F}\left(\frac{\epsilon ^{\prime }}{\epsilon _{c^{\prime }}} \right) , \end{aligned} $$(40)

which is peaked around the critical photon energy,

ϵ c = 3 e ħ 2 m e B γ 2 = 1.74 × 10 8 eV B 1 G γ 2 . $$ \begin{aligned} \epsilon _c\prime = \frac{3 e \hbar }{2 m_e} B\prime _\perp {\gamma }^{\prime 2} = 1.74 \times 10^{-8} \, \text{ eV} \, \frac{B\prime _\perp }{1\,\text{ G}} {\gamma }^{\prime 2} . \end{aligned} $$(41)

B = B sin(α) $ B^\prime_\perp = B^\prime \sin(\alpha) $ denotes the magnetic field component perpendicular to the electron motion, which gyrates with a pitch angle α around the magnetic field lines. For ultra-relativistic electrons, the emission is strongly beamed in their instantaneous direction of motion (within a cone of angle 1/γ′). Only particles whose pitch angle coincides with the angle between the magnetic field B′ and the line of sight Ω′ therefore contribute to the emission, effectively yielding B $ B^\prime_\perp $ = |B′×Ω′|. Together with the assumption of an isotropic particle distribution, this yields

P syn ( ϵ , Ω , γ ) = 3 e 3 32 π 3 ε 0 m e c ħ B F ( ϵ ϵ c ) . $$ \begin{aligned} \mathcal{P} \prime _\text{ syn}(\epsilon \prime , \boldsymbol{\Omega }\prime , \gamma \prime ) = \frac{\sqrt{3} e^3}{32 \pi ^3 \varepsilon _0 m_e c \hbar } B\prime _\perp {F}\left(\frac{\epsilon \prime }{\epsilon _c\prime } \right) . \end{aligned} $$(42)

In many cases, we approximated the magnetic field to be disordered, that is, we have no information on the direction of the field lines. In this case, we approximated the B $ B^\prime_\perp $ in Eqs. (41), (42) by its pitch-angle average B ¯ = π 4 B $ {\bar{B}\prime}_\perp = \frac{\pi}{4} B\prime $.

2.3.2. Inverse-Compton emission

Through the inverse-Compton process, photons of the stellar radiation field are scattered to gamma-ray energies by highly energetic particles. Following the description of Moderski et al. (2005), the power emitted through this process is given by

P ic ( ϵ , Ω , γ ) = ϵ N ˙ sc ϵ Ω , $$ \begin{aligned} \mathcal{P} \prime _\text{ ic}(\epsilon \prime , \boldsymbol{\Omega }\prime , \gamma \prime ) = \epsilon \prime \frac{\partial \dot{N}\prime _\text{ sc}}{\partial \epsilon \prime \, \partial \Omega \prime } , \end{aligned} $$(43)

where N ˙ sc ϵ Ω $ \frac{\partial {\dot{N}\prime}_\text{ sc}}{\partial \epsilon\prime \, \partial \Omega\prime} $ is the scattering rate of photons on isotropically distributed electrons. The scattering rate was presented by Aharonian & Atoyan (1981) in the case of ϵ ϵ 0 $ \epsilon^\prime \gg \epsilon^\prime_0 $ and γ′≫1 taking the form

N ˙ sc ϵ Ω = 3 16 π c σ T 1 γ 2 ϵ 0 , min f ic ( ϵ , ϵ 0 , γ , μ ) n ϵ 0 ( ϵ 0 , Ω 0 ) ϵ 0 d ϵ 0 d 2 Ω 0 , $$ \begin{aligned} \frac{\partial \dot{N}\prime _\text{ sc}}{\partial \epsilon \prime \, \partial \Omega \prime }&= \frac{3}{16 \pi } c \sigma _T \, \frac{1}{{\gamma }^{\prime 2}} \nonumber \\&\quad \int \int _{\epsilon \prime _{0,\text{ min}}}^\infty f_\text{ ic}(\epsilon \prime , \epsilon \prime _0, \gamma \prime , \mu \prime ) \frac{n_{\epsilon _0}\prime (\epsilon _0\prime , \boldsymbol{\Omega }_0\prime )}{\epsilon _0\prime } \,{\mathrm{d} }\epsilon \prime _0 \,{\mathrm{d} }^2 {\Omega _0\prime } , \end{aligned} $$(44)

where n0(ϵ0, Ω0) is the density of the seed photons with energy ϵ0 and direction Ω0 and ϵ 0,min $ {\epsilon_{0,\text{min}}^\prime} $ the lowest seed photon energy that is still scattered to a given energy ϵ′ and direction Ω

ϵ 0 , min = ϵ [ 2 ( 1 μ ) ( 1 ϵ γ m e c 2 ) ] 1 . $$ \begin{aligned} {\epsilon _{0,\text{ min}}\prime } = \epsilon \prime \left[ 2 (1-\mu \prime )(1-\frac{\epsilon \prime }{\gamma \prime m_e c^2}) \right]^{-1}\,. \end{aligned} $$(45)

The scattering kernel fic is given by

f ic ( ϵ , ϵ 0 , γ , μ ) = 1 + w 2 2 ( 1 w ) 2 w b μ ( 1 w ) + 2 w 2 b μ 2 ( 1 w ) 2 , $$ \begin{aligned} f_\text{ ic}(\epsilon \prime , \epsilon \prime _0, \gamma \prime , \mu \prime ) = 1 + \frac{{{ w}}^{\prime 2}}{2(1-{{ w}\prime })} - \frac{2 {{ w}\prime }}{b\prime _\mu (1-{ w}\prime )} + \frac{2 {{ w}}^{\prime 2}}{{b\prime _\mu }^2(1-{ w}\prime )^2}, \end{aligned} $$(46)

with b μ =2(1 μ ) ϵ 0 γ ( m e c 2 ) 1 $ b^\prime_\mu = 2 (1 - \mu^\prime) \epsilon^\prime_0 \gamma^\prime (m_e c^2)^{-1} $, w′=ϵ′(γmec2)−1 and the cosine of the scattering angle μ = Ω Ω 0 $ \mu^\prime = \boldsymbol{\Omega}^\prime \cdot \boldsymbol{\Omega}^\prime_0 $, which can be expressed in terms of laboratory quantities by

μ = 1 + D u Ω 0 D u Ω ( μ 1 ) . $$ \begin{aligned} \mu \prime = 1 + \mathcal{D} _{u \Omega _0} \mathcal{D} _{u \Omega } \left( \mu - 1 \right) . \end{aligned} $$(47)

Together with the relativistic invariant n ϵ 0 ϵ 0 d ϵ 0 d 2 Ω 0 = n ϵ 0 ϵ 0 d ϵ 0 d 2 Ω 0 $ \frac{n_{\epsilon_0}\prime}{\epsilon_{0\prime}} {\,{\text{ d}}}{\epsilon\prime}_0 {\,{\text{ d}}}^2 {\Omega_0}\prime = \frac{n_{\epsilon_0}}{\epsilon_0} {\,{\text{ d}}}\epsilon_0 {\,{\text{ d}}}^2 {\Omega_0} $ Eq. (44) can be expressed directly in terms of the seed photon field in the laboratory frame,

N ˙ sc ϵ Ω = 3 16 π c σ T 1 γ 2 ϵ 0 , min f ( ϵ , ϵ 0 , γ , μ ) n ϵ 0 ( ϵ 0 , Ω 0 ) ϵ 0 d ϵ 0 d 2 Ω 0 . $$ \begin{aligned}&\frac{\partial \dot{N}\prime _\text{ sc}}{\partial \epsilon \prime \,\partial \Omega \prime } = \frac{3}{16 \pi } c \sigma _T \, \frac{1}{{\gamma }^{\prime 2}} \int \int _{\epsilon _{0,\text{ min}}}^\infty f(\epsilon \prime , \epsilon \prime _0, \gamma \prime , \mu \prime ) \frac{n_{\epsilon _0}(\epsilon _0, \boldsymbol{\Omega _0})}{\epsilon _0} \,{\mathrm{d} }\epsilon _0 \,{\mathrm{d} }^2 {\Omega _0.} \end{aligned} $$(48)

Applying the factorisation of the target photon field (Appendix B) yields

N ˙ sc ϵ Ω = 3 16 π c σ T 1 γ 2 g n ( x ) g Ω ( Ω 0 ) ϵ 0 , min f ( ϵ , ϵ 0 , γ , μ ) g ϵ ( ϵ 0 ) ϵ 0 d ϵ 0 d 2 Ω 0 , $$ \begin{aligned} \frac{\partial \dot{N}\prime _\text{ sc}}{\partial \epsilon \prime \, \partial \Omega \prime }&= \frac{3}{16 \pi } c \sigma _T \, \frac{1}{{\gamma }^{\prime 2}} g_n(\boldsymbol{x}) \int g_\Omega (\boldsymbol{\Omega }_0)\nonumber \\&\quad \int _{\epsilon _{0,\text{ min}}}^\infty f(\epsilon \prime , \epsilon \prime _0, \gamma \prime , \mu \prime ) \frac{g_\epsilon (\epsilon _0)}{\epsilon _0} \,{\mathrm{d} }\epsilon _0 \,{\mathrm{d} }^2 {\Omega _0}, \end{aligned} $$(49)

which can be further simplified depending on the employed radiation field model.

2.3.3. γγ-absorption

As a result of the strong stellar photon field, parts of the VHE gamma-ray flux produced through inverse-Compton scattering are significantly attenuated by γγ-pair creation. This effect depends strongly on the geometry of the system and the location of the observer, yielding strongly modulated spectra with the binary orbit. For a consistent model of gamma-ray binary emission, this attenuation has to be taken into account for every cell in our simulation.

The absorption opacity τγγ of photons with energy ϵ originating at x in direction Ω can be expressed by a three-fold integration of the differential absorption opacity given by Gould & Schréder (1967),

d τ γ γ = ( 1 μ ) σ γ γ ( β ) n ϵ 0 ( x , ϵ 0 , Ω 0 ) d l d 2 Ω 0 d ϵ 0 , $$ \begin{aligned} \,{\mathrm{d} }\tau _{\gamma \gamma } = \left( 1 - \mu \right) \sigma _{\gamma \gamma }(\beta ) n_{\epsilon _0}(\boldsymbol{x}, \epsilon _0, \boldsymbol{\Omega }_0) \,{\mathrm{d} }l \,{\mathrm{d} }^2 \Omega _0 \,{\mathrm{d} }\epsilon _0, \end{aligned} $$(50)

over the line of sight l, the solid angle Ω0, and the seed photon energy ϵ0. Here, μ = Ω ⋅ Ω0 denotes the scattering angle cosine between a VHE photon with direction Ω and a seed UV photon with direction Ω0, β 2 = 1 m e 2 c 4 ϵ ϵ 0 2 1 μ $ \beta^2 = 1 - \frac{m_e^2 c^4}{\epsilon \epsilon_0} \frac{2}{1 - \mu} $ the speed of the created e± pair normalised to c and σ γ γ = 3 16 σ T f γ γ ( β ) $ \sigma_{\gamma \gamma} = \frac{3}{16} \sigma_T \, f_{\gamma\gamma}(\beta) $ the scattering cross-section with

f γ γ ( β ) = ( 1 β 2 ) [ ( 3 β 4 ) log ( 1 + β 1 β ) 2 β ( 2 β 2 ) ] . $$ \begin{aligned} f_{\gamma \gamma }(\beta ) = (1-\beta ^2) \left[ \left( 3 - \beta ^4 \right) \log \left( \frac{1 + \beta }{1 - \beta }\right) - 2 \beta (2 - \beta ^2) \right] . \end{aligned} $$(51)

The lower bound of the energy integration is provided by the lowest seed photon energy ϵ 0 , min = m e 2 c 4 ϵ 2 1 μ $ \epsilon_{0,\text{ min}} = \frac{m_e^2 c^4}{\epsilon} \frac{2}{1-\mu} $ to create an e± pair under a given scattering angle. The stellar seed photon density nϵ0 is defined in the same way as in Sect. 2.3.2.

For numerical purposes, it is more suitable to transform the occurring improper integrals into proper ones. For the line-of-sight integration, we therefore used the transformation l = d 0 sin ( ψ ψ 0 ) sin ( ψ ) $ l = d_0 \frac{\sin(\psi - \psi_0)}{\sin(\psi)} $ (as detailed in Dubus 2006). The integration over target photon energy ϵ0 was transformed into an integral over the speed of the created pairs β. Together with the radiation field factorisation (Appendix B), this yields

τ γ γ = 3 16 σ T ψ 0 π d l d ψ g n ( x ) ( 1 μ ) g Ω ( x , Ω 0 ) 0 1 d ϵ 0 d β g ϵ ( x , ϵ 0 ) f γ γ ( β ) d β d 2 Ω 0 d ψ , $$ \begin{aligned} \tau _{\gamma \gamma }&= \frac{3}{16} \sigma _T \int _{\psi _0}^\pi \frac{\,{\mathrm{d} }l}{\,{\mathrm{d} }\psi } g_n(\boldsymbol{x}\prime ) \int (1-\mu ) g_\Omega (\boldsymbol{x}\prime , \boldsymbol{\Omega }_0)\nonumber \\&\quad \int _{0}^1 \frac{\,{\mathrm{d} }\epsilon _0}{\,{\mathrm{d} }\beta } g_\epsilon (\boldsymbol{x}\prime , \epsilon _0) f_{\gamma \gamma }(\beta ) \,{\mathrm{d} }\beta \,{\mathrm{d} }^2 \Omega _0 \,{\mathrm{d} }\psi , \end{aligned} $$(52)

which can be further simplified depending on the stellar radiation field model.

The integration over solid angle Ω0 is approximated by a nested quadrature rule with equidistant points in azimuth and a Gauss-Legendre quadrature in the polar angle (see Hesse & Womersley 2012). For the integrals over ψ and β, we employed standard Gauss-Legendre quadratures. The necessary routines are provided by the GSL.

3. Application to a generic binary

In the following section, we apply the presented numerical model to a generic binary system. We focus on exploring the general properties of our model.

The considered binary is composed of an O-type star in a circular (e = 0) 1 d orbit with a pulsar at an orbital separation of d = 0.2 AU. We adopted a stellar mass-loss rate of s = 2 × 10−8 M yr−1 launched at a velocity of vs = 2000 km s−1. The pulsar wind was injected at a speed of vp = 0.99 c and a mass-loss rate scaled with η = 0.1 in Eq. (7).

The simulation was performed on a Cartesian grid in corotating coordinates (as detailed in Sect. 2.1.2). The computational volume has the dimensions [ − 0.4, 0.4] × [−0.2, 0.6] × [−0.2, 0.2] AU3 and is homogeneously subdivided into 256 × 256 × 128 spatial cells. The binary orbits in the x − y plane, with the stellar companion residing at the coordinate origin.

The stellar and pulsar winds are injected as described in Sect. 2.1.1 with an injection radius of four cell widths. Initially, both injection volumes were placed in a vacuum. We ran the simulation for 0.58 d giving the slow stellar wind time to populate the computational domain.

3.1. Fluid structure

In Fig. 1 we show the resulting fluid mass, bulk four-speed, and magnetic field strength in the fluid frame, using the magnetic field model as described in Sect. 2.2.2 with ζb = 0.5. The interaction of the stellar and pulsar wind gives rise to an extended WCR delimited by shocks on both the stellar and the pulsar side. Through the Coriolis force in the rotating system, the WCR is highly asymmetric and bends in the direction opposite to the orbital motion. This leads to the termination of the pulsar wind on the far side of the system, forming another shock at the Coriolis turnover (hereafter Coriolis shock). The location of the Coriolis shock was noted previously and is consistent with previous studies (see e.g. Bosch-Ramon et al. 2015; Dubus et al. 2015). In the wings of the WCR, the shocked pulsar wind is reaccelerated to a Lorentz factor ∼3, again in agreement with previous simulations by Bogovalov et al. (2008).

thumbnail Fig. 1.

Resulting fluid structure for a generic binary system in the orbital plane. From top to bottom: fluid mass density, bulk speed, and magnetic field strength in the fluid frame. An extended WCR is formed by interaction of the pulsar (blue) and stellar (orange) wind. The reference frame is corotating with counter-clockwise orbital motion. The location of the most relevant shocks is annotated.

The strong velocity shear between the shocked winds at the contact discontinuity and the steep density gradient at the stellar wind shock leads to the development of fluid instabilities (see also Bosch-Ramon et al. 2012). As a consequence, many secondary shocks are formed in the turbulent regions.

3.2. Particle distribution

To economise on computation time, we did not perform a particle transport simulation for the full time span used in Sect. 3.1. Instead, we restarted such a simulation on a preconverged fluid solution and ran it for a shorter time span t = 0.029 d, allowing the accelerated electron-positron pairs to populate the system, which we also refer to as electrons for brevity.

The simulation presented in this section was carried out using 50 logarithmic bins in energy ranging from γ ∈ [200, 4 × 108]. The particle injection was controlled as detailed in Sect. 2.2.4 using ζρ = 5 × 10−4, ζ n PL =5× 10 3 $ \zeta_n^\text{PL} = 5 \times 10^{-3} $, ζ e PL =0.5 $ \zeta_e^\text{PL} = 0.5 $, s = 2, and ξacc = 1, assuming the maximum acceleration timescale at the Bohm limit.

In Fig. 2 we present the resulting electron distributions at two energies. The shock structure leaves a clear imprint on the particle distribution. This is especially visible for higher energetic electrons, which remain much more confined to their acceleration site due to increased energy-loss rates, as compared to lower energetic electrons. Next to the bow and Coriolis shocks, the secondary shocks arising in the turbulent flow are clearly visible, which are for the first time consistently accounted for in the particle transport.

thumbnail Fig. 2.

Differential particle number density for the energy bin centred at γ = 4.2 × 103 (upper panel) and γ = 1.1 × 107 (lower panel) in analogy to Fig. 1. The lower energetic distribution is mainly populated by Maxwellian electrons, whereas the higher energetic distribution is dominated by power-law electrons. For clarity we show only five orders of magnitude below the highest value. The blue regions correspond to those with lower values.

In Fig. 3 we show the spectral energy distribution of electrons integrated over the computational volume. The contributions of the Maxwellian and the power-law electrons can be easily distinguished, with Maxwellian electrons dominating the low-energy part (γ ≲ 2 × 104) and the non-thermal electrons the high-energy part. For the chosen set of parameters, Maxwellian electrons were on average injected with γt ∼ 1.0 × 103 and non-thermal electrons within the limits of γmin ∼ 1.1 × 105 and γmax = 2.4 × 107.

thumbnail Fig. 3.

Spectral energy distribution of accelerated electrons integrated over the computational domain for different orbital phases.

The number and extent of particle acceleration sites identified in the turbulent Coriolis shock downstream region were determined by the chosen compression threshold in Eq. (29) (see also Appendix C). The particles accelerated in this region reach higher energies because the magnetic field is lower than in regions near the bow shock. Choosing a more restrictive threshold, that is, one with higher compression, would thus decrease the total number of particles at higher energies in the simulation.

3.3. Emission

In this section, we present the predicted emission for the generic binary. The involved computations were performed in a post-processing step as detailed in Sect. 2.3, using the previously obtained particle distribution (see Sect. 3.2) and fluid solution (see Sect. 3.1).

We chose the observer to be located at a distance of dobs = 2.5 kpc along the +y -axis of the system for the orbital phase ϕ = 0. The phases ϕ = 0 and ϕ = 0.5 therefore correspond to inferior and superior conjunction, respectively. As a result of the employed corotating coordinates, the observer rotates clockwise with respect to the simulation frame. For the present purpose, the underlying particle and fluid solutions were kept constant for all orbital phases.

To compute the inverse-Compton emission, we treated the stellar photon field as monochromatic, whereas for the γγ -absorption, a full blackbody spectrum was considered. In both cases, the source was treated as an extended sphere with luminosity L = 2 × 105L, temperature T = 40 000 K, and resulting radius R = 9.3 R. The emission was computed for a system inclination of i = 30° and 20 equidistant orbital phases.

In Fig. 4 we show the resulting spectral energy distribution of emitted photons. Ranging from X-rays up to LE gamma-rays, the spectrum is dominated by synchrotron emission from electrons at the power-law tail of the spectrum. The same population of electrons is responsible for the inverse-Compton scattering of stellar UV photons to the VHE gamma-ray regime, which are heavily attenuated by γγ-absorption in the 0.1 − 10 TeV range, depending on the orbital phase. Again, the emission in the HE gamma-ray regime is produced through the inverse-Compton process, but by the low-energy Maxwellian electrons.

thumbnail Fig. 4.

Spectral energy distribution of the emission predicted by our model for a generic binary with a system inclination of 30°. The results are shown for the sampled orbital phases (grey) and their average (black). The average spectral distribution is further split into the individual radiative processes: synchrotron (green) and inverse Compton attenuated by γγ -absorption (orange). Inferior (dashed red, ϕ = 0) and superior conjunction (dashed blue, ϕ = 0.5) emissions are highlighted.

In our model, the predicted spectra can be tuned most directly by varying the parameters that regulate the emerging electron distributions, that is, the unknown injection parameters and the magnetic field model. Here, the acceleration efficiency ξacc limits the maximum energy reached γmax (see Eq. (32)), hence affecting the location of the LE and VHE cutoff. The shape of the injected electron spectrum, and consequently, the main emission features, are determined by the electron specific energy density given by the ratio ζ e PL,MW /( ζ ρ ζ n PL,MW ) $ \zeta_e^\text{PL,MW} / (\zeta_\rho \zeta_n^\text{PL,MW}) $. In the case of the Maxwellian electrons, this can be used to shift the inverse-Compton bump at HE in energy. For the non-thermal power-law electrons, their specific energy density affects the low-energy cutoff of the spectrum. The overall normalisation of the spectrum is given by the amount of energy deposited in the respective populations, determined by ζ e PL,MW $ \zeta_e^\text{PL,MW} $. The index of the injected electrons translates into the spectral index of the X-ray synchrotron emission and affects the spectral index at VHE gamma-rays. ζb is used to control the magnetic field strength in the simulation that affects the amplitude of the synchrotron emission, the VHE cutoff, and the evolution of the electron distribution itself with more subtle consequences for the emission spectra. Because the compression threshold δsh mostly affects the particle density at highest energies in the turbulent Coriolis shock downstream, this parameter can affect the synchrotron fluxes produced in the LE gamma-ray band, depending on the magnetic field in this region, and the VHE gamma-ray flux at superior conjunction.

In Fig. 5 we show the predicted light curves for different energy bands, which exhibit a significant orbital modulation in all bands. The X-ray and LE gamma-ray light curves show a clear correlation, which is expected because both bands are dominated by synchrotron emission generated by the same particle population. Because we assumed no direction for the magnetic field, the synchrotron emissivity is isotropic in the fluid frame of our model. The driver for the orbital modulation in these bands is accordingly solely given by relativistic boosting. Because the WCR is bent by orbital motion, relativistic boosting is at its maximum at ϕ ∼ 0.1, while deboosting is most significant for ϕ ∼ 0.6.

thumbnail Fig. 5.

Emission light curves predicted by our model for a generic binary for different energy bands and a system inclination of 30°. Inferior and superior conjunction correspond to ϕ = 0 and ϕ = 0.5, respectively. For better visualisation, we show the data for two full orbits.

At HE gamma-rays, the anisotropic inverse-Compton scattering cross-section introduces a further line-of-sight-dependent modulation. The scattering process is most efficient for large scattering angles, which are achieved at superior conjunction (ϕ = 0.5). This is reflected in the respective light curve, which reaches its maximum shortly before superior conjunction through the onset of relativistic deboosting, yielding an anti-correlation of the HE gamma-ray band and the previously discussed one.

The VHE gamma-ray emission is again produced by inverse-Compton process, but the upscattered photons are attenuated by γγ-pair creation with the stellar photon field. This once more introduces a line-of-sight-dependent modulation that reaches its maximum attenuation at superior conjunction, where the produced VHE photons have to propagate through the entire stellar radiation field. Consequently, the maximum photon flux can escape the system at inferior conjunction, with a slight shift to ϕ = 0.1 due to relativistic boosting, leaving the VHE correlated with the X-ray to LE gamma-ray band and therefore anti-correlated to HE gamma-rays.

4. Summary and outlook

We presented a novel numerical model for gamma-ray binaries treating the transport of shock-accelerated electron-positron pairs dynamically coupled to the relativistic fluid dynamics of the stellar and pulsar wind interaction. With this, it is possible for the first time to obtain self-consistent three-dimensional particle distributions and fluid solutions while consistently accounting for dynamic fluid instabilities, mixing, and the effects of orbital motion. The proposed emission model is purely leptonic, thus we inferred the expected emission through the synchrotron and inverse-Compton process acting on accelerated pairs from the pulsar wind obtained through the particle transport simulation. Together with the simultaneously obtained fluid solution, it is therefore possible to consistently account for relativistic boosting and γγ-absorption. The model was implemented as a relativistic extension to the CRONOS code (Kissmann et al. 2018).

The capabilities of the presented model were demonstrated on a generic binary system. The wind interaction yields an extended asymmetric wind collision region bent by the effects of orbital motion, exhibiting a strong bow-like pulsar-wind shock and a Coriolis shock behind the pulsar. The expressed features are in qualitative agreement with previous works (see e.g. Bosch-Ramon et al. 2015).

The developing fluid instabilities give rise to the formation of secondary shocks. Our model naturally includes the reacceleration of cooled particles at these shocks, which has not been done before in the case of gamma-ray binaries. In our generic simulation, parts of the turbulence are damped by numerical diffusion due to our choices of spatial resolution. More highly resolved simulations might hence yield a more turbulent fluid and consequently more secondary shocks.

The emission predicted for the generic binary was extended over a broad range in energy reaching up to VHE gamma-rays. Our results are consistent with the simulations performed by Dubus et al. (2015), showing a strong resemblance because the investigated models are similar.

Our model predicts significant orbital modulation in every energy band. The main driver for the modulation in the X-ray to LE gamma-ray synchrotron emission is given by relativistic boosting in the wings of the WCR. In addition to the modulation introduced by the anisotropic inverse-Compton scattering producing the HE and VHE gamma-ray emission, the VHE band is further modulated by γγ-absorption. For the investigated general binary, the model naturally predicts a correlated X-ray to LE gamma-ray and VHE gamma-ray emission, while being anti-correlated to the HE band, as is seen in the observations of many gamma-ray binaries (e.g. LS 5039, Chang et al. 2016).

Because many of the observed gamma-ray binaries are known to host Be stars, a possible extension of the model foresees the inclusion of more complex, anisotropic stellar wind structures, such as adding an equatorial disc. In the forthcoming second paper of this series, we will apply the presented model specifically to the well-studied LS 5039 system (Huber et al. 2020), for which no stellar disc has been found. The wealth of available data means that the comparison of our model predictions with observations will provide valuable insights into gamma-ray binaries and a calibration of our model, pointing out potential aspects that might need more modelling effort in the future.

This might, for example, consist of an inclusion of the pulsar and stellar magnetic fields in the dynamics of the wind interaction by extending the model to relativistic magnetohydrodynamics. This might be used to obtain a self-consistent picture for the magnetic field strength and direction, which could further enable the incorporation of more sophisticated particle acceleration models in the future, for example including the obliquity of magnetised shocks (e.g. Vaidya et al. 2018, and references therein).

Another possible extension of this model could consist of easing some simplifications made in the particle transport model, for example by including spatial diffusion. Next to the obvious changes in the spatial particle distribution, an additional effect is provided by the loss term accounting for non-inertial frame changes. This effect has not been studied in the context of gamma-ray binaries.

In future, our model can further help to shed light on dynamical phenomena that can now be addressed with a higher level of sophistication. This could involve investigations of the role of turbulence and the variability it introduces in the radiative output of gamma-ray binaries. Particularly, it remains to be investigated in which way the emission from these systems may vary from one orbit to the next. In a broader context, this might also yield implications for and connect to transient phenomena, such as flaring events in otherwise regular gamma-ray binary emissions (e.g. PSR B1259-63 Johnson et al. 2018).

Acknowledgments

The computational results presented in this paper have been achieved (in parts) using the research infrastructure of the Institute for Astro- and Particle Physics at the University of Innsbruck, the LEO HPC infrastructure of the University of Innsbruck, the MACH2 Interuniversity Shared Memory Supercomputer and PRACE resources. We acknowledge PRACE for awarding us access to Joliot-Curie at GENCI@CEA, France. This research made use of Cronos (Kissmann et al. 2018); GNU Scientific Library (GSL) (Galassi 2018); matplotlib, a Python library for publication quality graphics (Hunter 2007); and NumPy (Van Der Walt et al. 2011). We would like to thank the unknown referee/reviewer for the thoughtful comments and efforts towards improving our manuscript.

References

  1. Abeysekara, A. U., Benbow, W., Bird, R., et al. 2018, ApJ, 867, L19 [Google Scholar]
  2. Aharonian, F. A., & Atoyan, A. M. 1981, Ap&SS, 79, 321 [NASA ADS] [Google Scholar]
  3. Aharonian, F., Akhperjanian, A. G., Aye, K. M., et al. 2005a, Science, 309, 746 [NASA ADS] [CrossRef] [PubMed] [Google Scholar]
  4. Aharonian, F., Akhperjanian, A. G., Aye, K. M., et al. 2005b, A&A, 442, 1 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  5. Aharonian, F. A., Akhperjanian, A. G., Bazer-Bachi, A. R., et al. 2007, A&A, 469, L1 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  6. Albert, J., Aliu, E., Anderhub, H., et al. 2006, Science, 312, 1771 [Google Scholar]
  7. Banyuls, F., Font, J. A., Ibáñez, J. M., Martí, J. M., & Miralles, J. A. 1997, ApJ, 476, 221 [Google Scholar]
  8. Barkov, M. V., & Bosch-Ramon, V. 2018, MNRAS, 479, 1320 [Google Scholar]
  9. Bednarek, W. 2011, MNRAS, 418, L49 [NASA ADS] [Google Scholar]
  10. Bogovalov, S. V., Khangulyan, D. V., Koldoba, A. V., Ustyugova, G. V., & Aharonian, F. A. 2008, MNRAS, 387, 63 [Google Scholar]
  11. Bogovalov, S. V., Khangulyan, D., Koldoba, A., Ustyugova, G. V., & Aharonian, F. 2019, MNRAS, 490, 3601 [Google Scholar]
  12. Bosch-Ramon, V., & Khangulyan, D. 2009, Int. J. Mod. Phys. D, 18, 347 [Google Scholar]
  13. Bosch-Ramon, V., Khangulyan, D., & Aharonian, F. A. 2008, A&A, 482, 397 [Google Scholar]
  14. Bosch-Ramon, V., Barkov, M. V., Khangulyan, D., & Perucho, M. 2012, A&A, 544, A59 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  15. Bosch-Ramon, V., Barkov, M. V., & Perucho, M. 2015, A&A, 577, A89 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  16. Cerutti, B., Malzac, J., Dubus, G., & Henri, G. 2010, A&A, 519, A81 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  17. Chang, Z., Zhang, S., Ji, L., et al. 2016, MNRAS, 463, 495 [Google Scholar]
  18. Corbet, R. H. D., Chomiuk, L., Coe, M. J., et al. 2016, ApJ, 829, 105 [Google Scholar]
  19. Corbet, R. H. D., Chomiuk, L., Coe, M. J., et al. 2019, ApJ, 884, 93 [Google Scholar]
  20. Dubus, G. 2006, A&A, 451, 9 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  21. Dubus, G. 2013, A&ARv, 21, 64 [Google Scholar]
  22. Dubus, G., Lamberts, A., & Fromang, S. 2015, A&A, 581, A27 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  23. Fermi LAT Collaboration (Ackermann, M., et al.) 2012, Science, 335, 189 [Google Scholar]
  24. Galassi, M. 2018, GNU Scientific Library Reference Manual [Google Scholar]
  25. Gould, R. J., & Schréder, G. P. 1967, Phys. Rev., 155, 1404 [Google Scholar]
  26. H.E.S.S. Collaboration (Abramowski, A., et al.) 2015a, A&A, 577, A131 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  27. H.E.S.S. Collaboration (Abramowski, A., et al.) 2015b, MNRAS, 446, 1163 [NASA ADS] [Google Scholar]
  28. H.E.S.S. Collaboration (Abdalla, H., et al.) 2018, A&A, 610, L17 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  29. Hesse, K., & Womersley, R. S. 2012, Adv. Comput. Math., 36, 451 [Google Scholar]
  30. Huber, D., Kissmann, R., Reimer, A., & Reimer, O. 2020, A&A, submitted [arXiv:2012.04975] [Google Scholar]
  31. Hunter, J. D. 2007, Comput. Sci. Eng., 9, 90 [Google Scholar]
  32. Johnson, T. J., Wood, K. S., Kerr, M., et al. 2018, ApJ, 863, 27 [Google Scholar]
  33. Khangulyan, D., Hnatic, S., Aharonian, F., & Bogovalov, S. 2007, MNRAS, 380, 320 [Google Scholar]
  34. Kissmann, R., Kleimann, J., Krebl, B., & Wiengarten, T. 2018, ApJS, 236, 53 [Google Scholar]
  35. Kniffen, D. A., Alberts, W. C. K., Bertsch, D. L., et al. 1997, ApJ, 486, 126 [Google Scholar]
  36. Maraschi, L., & Treves, A. 1981, MNRAS, 194, 1P [Google Scholar]
  37. Martí-Devesa, G., & Reimer, O. 2020, A&A, 637, A23 [EDP Sciences] [Google Scholar]
  38. Mignone, A., & Bodo, G. 2005, MNRAS, 364, 126 [Google Scholar]
  39. Mignone, A., & McKinney, J. C. 2007, MNRAS, 378, 1118 [Google Scholar]
  40. Mirabel, I. F. 2006, Science, 312, 1759 [Google Scholar]
  41. Misner, C. W., Thorne, K. S., & Wheeler, J. A. 1973, Gravitation (San Francisco: W. H. Freeman) [Google Scholar]
  42. Moderski, R., Sikora, M., Coppi, P. S., & Aharonian, F. 2005, MNRAS, 363, 954 [Google Scholar]
  43. Molina, E., & Bosch-Ramon, V. 2020, A&A, 641, A84 [CrossRef] [EDP Sciences] [Google Scholar]
  44. Papadopoulos, P., & Font, J. A. 2000, Phys. Rev. D, 61, 024015 [Google Scholar]
  45. Paredes, J. M., & Bordas, P. 2019, ArXiv e-prints [arXiv:1901.03624] [Google Scholar]
  46. Paredes, J. M., Martí, J., Ribó, M., & Massi, M. 2000, Science, 288, 2340 [Google Scholar]
  47. Pons, J. A., Font, J. A., Ibanez, J. M., Marti, J. M., & Miralles, J. A. 1998, A&A, 339, 638 [NASA ADS] [Google Scholar]
  48. Reitberger, K., Kissmann, R., Reimer, A., Reimer, O., & Dubus, G. 2014, ApJ, 782, 96 [Google Scholar]
  49. Reitberger, K., Kissmann, R., Reimer, A., & Reimer, O. 2017, ApJ, 847, 40 [Google Scholar]
  50. Romero, G. E., Okazaki, A. T., Orellana, M., & Owocki, S. P. 2007, A&A, 474, 15 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  51. Sironi, L., & Spitkovsky, A. 2011, ApJ, 741, 39 [Google Scholar]
  52. Takata, J., Leung, G. C. K., Tam, P. H. T., et al. 2014, ApJ, 790, 18 [Google Scholar]
  53. Vaidya, B., Mignone, A., Bodo, G., Rossi, P., & Massaglia, S. 2018, ApJ, 865, 144 [Google Scholar]
  54. Van Der Walt, S., Colbert, S. C., & Varoquaux, G. 2011, Comput. Sci. Eng., 13, 22 [Google Scholar]
  55. van Leer, B. 1977, J. Comput. Phys., 23, 276 [Google Scholar]
  56. Webb, G. M. 1989, ApJ, 340, 1112 [Google Scholar]
  57. Zabalza, V., Bosch-Ramon, V., Aharonian, F., & Khangulyan, D. 2013, A&A, 551, A17 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  58. Zerroukat, M., Wood, N., & Staniforth, A. 2006, Int. J. Numer. Methods Fluids, 51, 1297 [Google Scholar]

Appendix A: Corotating frame

We considered a reference frame that corotates with the mean angular velocity of the binary Ω in the x − y plane. The corotation velocity is in this case given by the orbital period of the system as Ω = 2π/Porb. The set of new coordinates, indicated by a bar, can be readily expressed as

t ¯ = t $$ \begin{aligned} \bar{t}&= t \end{aligned} $$(A.1)

x ¯ = x cos ( Ω t ) + y sin ( Ω t ) $$ \begin{aligned} \bar{x}&= x \cos \left( \Omega t \right) + { y} \sin \left( \Omega t \right) \end{aligned} $$(A.2)

y ¯ = y cos ( Ω t ) x sin ( Ω t ) $$ \begin{aligned} \bar{{ y}}&= { y} \cos \left( \Omega t \right) - x \sin \left( \Omega t \right) \end{aligned} $$(A.3)

z ¯ = z . $$ \begin{aligned} \bar{z}&= z. \end{aligned} $$(A.4)

Transforming the flat Cartesian Minkowski metric into the corotating system yields

g μ ¯ ν ¯ = 0.4 ( 1 + Ω 2 ( x ¯ 2 + y ¯ 2 ) Ω y ¯ Ω x ¯ 0 Ω y ¯ 1 0 0 Ω x ¯ 0 1 0 0 0 0 1 ) $$ \begin{aligned}&g_{\bar{\mu } \bar{\nu }}= {0.4 \begin{pmatrix} - 1 + \Omega ^2 \left( \bar{x}^2 + \bar{{ y}}^2 \right)&- \Omega \bar{y}&\Omega \bar{x}&0 \\ -\Omega \bar{{ y}}&1&0&0 \\ \Omega \bar{x}&0&1&0 \\ 0&0&0&1 \end{pmatrix}} \end{aligned} $$(A.5)

g μ ¯ ν ¯ = 0.4 ( 1 Ω y ¯ Ω x ¯ 0 Ω y ¯ 1 Ω 2 y ¯ 2 Ω 2 x ¯ y ¯ 0 Ω x ¯ Ω 2 x ¯ y ¯ 1 Ω 2 x ¯ 2 0 0 0 0 1 ) . $$ \begin{aligned}&g^{\bar{\mu } \bar{\nu }} = {0.4 \begin{pmatrix} -1&- \Omega \bar{{ y}}&\Omega \bar{x}&0 \\ - \Omega \bar{{ y}}&1 - \Omega ^2 \bar{{ y}}^2&\Omega ^2 \bar{x} \bar{{ y}}&0 \\ \Omega \bar{x}&\Omega ^2 \bar{x} \bar{{ y}}&1 - \Omega ^2 \bar{x}^2&0 \\ 0&0&0&1 \end{pmatrix}.} \end{aligned} $$(A.6)

Generic metric tensors can be accounted for in the broader framework of general relativistic hydrodynamics. Here, the equations for energy and momentum conservation are given by ∇μTμν = 0 with the energy-momentum tensor Tμν = ρhuμuν + pgμν. Because of the non-vanishing, off-diagonal terms in the metric, the SRHD schemes can no longer be applied without modification.

In a 3+1 decomposition (Misner et al. 1973), the line element is expressed as  ds2 = −(α2 − βiβi) dt2 + 2βi dxi dt + γij dxi dxj, with α ¯ $ \bar{\alpha} $ the lapse, β ¯ i $ \bar{\beta}^i $ the shift, and γ ¯ ij $ \bar{\gamma}_{ij} $ the spatial metric. These gauge functions can be directly obtained from the metric tensor Eqs. (A.5) and (A.6). For the presented corotating system, they are given by

α ¯ = 1 $$ \begin{aligned} \bar{\alpha }&= 1 \end{aligned} $$(A.7)

β ¯ i = β ¯ i = ( Ω y ¯ , Ω x ¯ , 0 ) i $$ \begin{aligned} \bar{\beta }^i&= \bar{\beta }_i = \left( - \Omega \bar{{ y}}, \, \Omega \bar{x}, \, 0 \right)_i \end{aligned} $$(A.8)

γ ¯ ij = 1 . $$ \begin{aligned} \bar{\gamma }_{ij}&= \mathbb{1} . \end{aligned} $$(A.9)

In our approach, we relied on the so-called 3+1 Valencia formulation of general relativistic hydrodynamics (Banyuls et al. 1997), and chose the conserved variables

U = ( D E m j ) = ( ρ W D h W p D h W w i ) , $$ \begin{aligned} \boldsymbol{U}= \begin{pmatrix} D \\ E \\ m_j \end{pmatrix} = \begin{pmatrix} \rho W \\ D h W - p \\ D h W { w}_i \end{pmatrix}, \end{aligned} $$(A.10)

consisting of the rest-mass density D, the momentum density in the j-direction mj, and the total energy density E, measured by a family of Eulerian observers. In their respective frames, the fluid three-velocity is given by wi, which is related to the four-velocity in the rotating system by w i = ( u i ¯ / u t ¯ + β i ¯ ) / α $ \mathit{w}^i = (u^{\bar{i}}/u^{\bar{t}} + \beta^{\bar{i}}) / \alpha $. The corresponding Lorentz factor is given by W = (1−wiwi)−1/2 with wi = γijwj.

The chosen variables closely resemble those in SRHD Eq. (2) up to the usage of covariant momentum densities instead of contravariant ones, which are equivalent and interchangeable in our case because γ ij = 1 $ \gamma_{ij} = {1} $. This allows an effective reuse of the variable inversion scheme developed for the special relativistic case that is already implemented in CRONOS.

The evolution equations take the generic form

t ( γ U ) + i ( γ F i ) = γ S , $$ \begin{aligned} \partial _t (\sqrt{\gamma } \boldsymbol{U}) + \partial _i (\sqrt{\gamma } \boldsymbol{F}^i) = \sqrt{\gamma }\boldsymbol{S} , \end{aligned} $$(A.11)

with γ = det(γij) and the fluxes

F i = ( α w i D β i D α m i β i E α ( m j w i + p δ j i ) β i m j ) . $$ \begin{aligned} \boldsymbol{F}^i = \begin{pmatrix} \alpha { w}^i D - \beta ^i D\\ \alpha m^i - \beta ^i E \\ \alpha (m_j { w}^i + p \delta ^i_j) - \beta ^i m_j \end{pmatrix}. \end{aligned} $$(A.12)

The system of equations again closely resemble those in special relativity Eq. (1) up to the additional fluxes introduced by βi ≠ 0. We treated the equations using the scheme presented by Pons et al. (1998), describing how special relativistic Riemann solvers can be used with general metrics. The required transformations between the Eulerian and the local inertial frames in our case take the especially simple form

M i ̂ i | Σ x ¯ = 1 , M i ̂ i | Σ y ¯ = 1 , M i ̂ i | Σ z ¯ = 1 . $$ \begin{aligned} {M^{\hat{i}}}_i \vert _{ \Sigma _{\bar{x}}} = \mathbb{1} , \quad {M^{\hat{i}}}_i \vert _{ \Sigma _{\bar{{ y}}}} = \mathbb{1} , \quad {M^{\hat{i}}}_i \vert _{ \Sigma _{\bar{z}}} = \mathbb{1} . \end{aligned} $$(A.13)

The source terms in Eq. (A.11) are given by (Banyuls et al. 1997)

S = ( 0 α 2 ( T μ t μ ln α Γ μ λ t T μ λ ) α T μ ν ( μ g ν j Γ ν μ λ g λ j ) ) , $$ \begin{aligned} \boldsymbol{S} = \begin{pmatrix} 0 \\ \alpha ^2 \left( T^{\mu t} \partial _\mu \ln \alpha - \Gamma ^t_{\mu \lambda } T^{\mu \lambda } \right) \\ \alpha T^{\mu \nu } \left( \partial _\mu g_{\nu j} - \Gamma ^\lambda _{\nu \mu } g_{\lambda j} \right) \end{pmatrix}, \end{aligned} $$(A.14)

and reduce to

S = ( 0 , 0 , Ω m y ¯ , Ω m x ¯ , 0 ) $$ \begin{aligned} \boldsymbol{S} = \left( 0, \, 0, \, \Omega \, m_{\bar{{ y}}}, \, -\Omega \, m_{\bar{x}}, \, 0 \right)^\top \end{aligned} $$(A.15)

in our case. This result may seem counter-intuitive at first glance because the terms formally do not correspond to their Newtonian analogue for the centrifugal and Coriolis force in a rotating system. However, we recall that the conserved quantities are measured by the Eulerian observers instead of in the rotating frame.

Finally, our approach is equivalent to others such as Papadopoulos & Font (2000), who chose T0ν as conserved variables and evolved the quantities directly in the rotating frame, which recovers the well-known terms for the fictitious forces. This formulation, however, is less efficient in practice because the involved fluxes are more complex, and the whole metric has to be considered for contractions, for example in the computation of Lorentz factors, instead of just the spatial metric in the 3+1 Valencia formulation, which is unity in our case. Furthermore, the chosen conserved variables formally differ from Eq. (2), prohibiting the reuse of already developed SRHD variable inversion schemes (e.g. Mignone & McKinney 2007).

Ultimately, we are interested in quantities measured in the stationary laboratory frame to compute the radiative output of the system. This amounts to a Lorentz transformation of the corotating velocity field u μ ¯ $ u^{\bar{\mu}} $, which is obtained from the velocities measured by the Eulerian observers to the stationary uμ. For our case, we find after some algebra that the Eulerian velocities directly correspond to those in the stationary system up to a rotation in space. This rotation is accounted for in the computation of relativistic boosting described in Sect. 2.3.

Appendix B: Radiation fields

Depending on the radiation field at hand, the integrals in the computation of inverse-Compton emission or γγ absorption can be simplified. For example, for monochromatic seed photon fields, the energy integration reduces to a trivial substitution. To be able to map these properties over to our implementation, we employed a factorisation of the radiation field. In general, a radiation field can be described as the number of photons n per unit volume, unit energy, and unit solid angle, depending on the location x, the photon energy ϵ, and the direction Ω. For our purposes, however, the spectral shape is direction independent, which allows the following factorisation of the photon density

n ( x , ϵ , Ω ) = d N d V d ϵ d Ω = g n ( x ) · g ϵ ( x , ϵ ) · g Ω ( x , Ω ) , $$ \begin{aligned} n(\boldsymbol{x}, \epsilon , \boldsymbol{\Omega }) = \frac{\,{\mathrm{d} }N}{\,{\mathrm{d} }V \,{\mathrm{d} }\epsilon \,{\mathrm{d} }\Omega } = g_n(\boldsymbol{x}) \cdot g_\epsilon (\boldsymbol{x}, \epsilon ) \cdot g_\Omega (\boldsymbol{x}, \boldsymbol{\Omega }) ,\end{aligned} $$(B.1)

with a factor gn describing the total photon density, a factor gϵ describing the energy dependence, and a factor gΩ describing the directional profile,

g n ( x ) : = d N d V $$ \begin{aligned} g_n(\boldsymbol{x}) := \frac{\,{\mathrm{d} }N}{\,{\mathrm{d} }V} \end{aligned} $$(B.2)

g ϵ ( x , ϵ ) : = ( d N d V ) 1 d N d V d ϵ $$ \begin{aligned} g_\epsilon (\boldsymbol{x}, \epsilon ) := \left( \frac{\,{\mathrm{d} }N}{\,{\mathrm{d} }V} \right)^{-1} \frac{\,{\mathrm{d} }N}{\,{\mathrm{d} }V \,{\mathrm{d} }\epsilon } \end{aligned} $$(B.3)

g Ω ( x , Ω ) : = ( d N d V ) 1 d N d V d Ω . $$ \begin{aligned} g_\Omega (\boldsymbol{x}, \boldsymbol{\Omega }) := \left( \frac{\,{\mathrm{d} }N}{\,{\mathrm{d} }V} \right)^{-1} \frac{\,{\mathrm{d} }N}{\,{\mathrm{d} }V \,{\mathrm{d} }\Omega } . \end{aligned} $$(B.4)

We note that gϵ and gΩ are normalised with respect to ϵ and Ω, respectively.

When we consider spherically expanding photons injected at a location x with a given rate , the photon number density is given by

g n spherical ( x ) = 1 r 2 N ˙ 4 π c , $$ \begin{aligned} g_n^\text{ spherical}(\boldsymbol{x}) = \frac{1}{r^2} \frac{\dot{N}_\star }{4 \pi c} , \end{aligned} $$(B.5)

where r = ‖xx‖.

A mono-directional or beamed radiation field in a given direction Ωbeam is in general described by

g Ω beamed ( x , Ω ) = δ ( Ω Ω beam ) . $$ \begin{aligned} g_\Omega ^\text{ beamed}(\boldsymbol{x},\boldsymbol{\Omega }) = \delta \left( \boldsymbol{\Omega } - \boldsymbol{\Omega }_\text{ beam} \right) . \end{aligned} $$(B.6)

The radiation field of a point-like source can therefore be viewed as a special case of a field beamed in the radial direction Ωbeam = er = r/r. An extended spherical source is approximated as a disc with constant brightness and angular extent limited by the source radius R,

g Ω extended ( x , Ω ) = { ( 2 π ( 1 μ 0 , min ) ) 1 μ 0 > μ 0 , min 0 else , $$ \begin{aligned} g_\Omega ^\text{ extended}(\boldsymbol{x},\boldsymbol{\Omega }) = {\left\{ \begin{array}{ll} \left( 2\pi (1 - \mu _{0,\text{ min}}) \right)^{-1}&\mu _0 > \mu _{0,\text{ min}} \\ 0&\text{ else} \end{array}\right.}, \end{aligned} $$(B.7)

where μ0 is the cosine of the angle enclosed between Ω and er and μ0, min = (1−R2/r2)1/2.

The radiation field of the companion star can be approximated as a blackbody spectrum with temperature T,

g ϵ blackbody ( x , ϵ ) = 1 2 ζ ( 3 ) k b T ( ϵ / k b T ) 2 exp ( ϵ / k b T ) 1 . $$ \begin{aligned} g_\epsilon ^\text{ blackbody}(\boldsymbol{x},\epsilon ) = \frac{1}{2 \zeta (3) k_{\rm b} T}\frac{(\epsilon / k_{\rm b} T)^2}{\exp (\epsilon / k_{\rm b} T) - 1} . \end{aligned} $$(B.8)

This can be further approximated as a monochromatic spectrum with the average photon energy ϵ ¯ = k B T π 4 30 ζ ( 3 ) $ \bar{\epsilon} = k_{\mathrm{B}} T \frac{\pi^4}{30 \, \zeta(3)} $,

g ϵ mono ( x , ϵ ) = δ ( ϵ ϵ ¯ ) . $$ \begin{aligned} g_\epsilon ^\text{ mono}(\boldsymbol{x},\epsilon ) = \delta \left( \epsilon - \bar{\epsilon }\right) . \end{aligned} $$(B.9)

In our simulation, the radiation field of the star was parametrised by its luminosity L and its temperature T. The extent of the source is therefore given by R 2 = L / ( 4 π 3 σ T 4 ) $ R_\star^2 = L_\star / ( \frac{4\pi}{3} \sigma T^4_\star) $ and its photon injection rate by N ˙ = L / ϵ ¯ $ \dot{N}_\star = L_\star / \bar{\epsilon}_\star $.

Appendix C: Comparison to a common shock-identification criterion

In the literature, particle acceleration is thought to occur at strong shocks, which are usually identified by a diverging fluid flow and a jump in pressure (see e.g. Vaidya et al. 2018). As described in Sect. 2.2.4, we employed a less restrictive criterion on the fluid compression alone because a jump in pressure might not yet have developed for a given instance in time.

For the generic binary system considered in Sect. 3, we found both sets of criteria to identify the same main shock features, that is, the bow and Coriolis shock, with reflected shocks at their encounter and secondary shocks. In comparison to our criterion, the usual approach identifies fewer and less extended acceleration sites in the turbulent Coriolis shock downstream region because of the additional pressure constraint. This introduces a slight decrease in the emission at all wavelengths through the reduced particle injection, which could be compensated for by a different set of injection parameters. Because the magnetic field in the Coriolis shock downstream region is lower, the effect becomes more relevant for particles at higher energies, leading to a decrease in the synchrotron emission in the LE gamma-ray band. The temporal behaviour remains unaffected in all bands. For a compression threshold of δsh ∼ −50 c/AU, we found that our criterion identified the same acceleration sites as the classical approach. We treated the threshold as a free parameter of the simulation, which might be constrained for a given system compared with observations.

All Figures

thumbnail Fig. 1.

Resulting fluid structure for a generic binary system in the orbital plane. From top to bottom: fluid mass density, bulk speed, and magnetic field strength in the fluid frame. An extended WCR is formed by interaction of the pulsar (blue) and stellar (orange) wind. The reference frame is corotating with counter-clockwise orbital motion. The location of the most relevant shocks is annotated.

In the text
thumbnail Fig. 2.

Differential particle number density for the energy bin centred at γ = 4.2 × 103 (upper panel) and γ = 1.1 × 107 (lower panel) in analogy to Fig. 1. The lower energetic distribution is mainly populated by Maxwellian electrons, whereas the higher energetic distribution is dominated by power-law electrons. For clarity we show only five orders of magnitude below the highest value. The blue regions correspond to those with lower values.

In the text
thumbnail Fig. 3.

Spectral energy distribution of accelerated electrons integrated over the computational domain for different orbital phases.

In the text
thumbnail Fig. 4.

Spectral energy distribution of the emission predicted by our model for a generic binary with a system inclination of 30°. The results are shown for the sampled orbital phases (grey) and their average (black). The average spectral distribution is further split into the individual radiative processes: synchrotron (green) and inverse Compton attenuated by γγ -absorption (orange). Inferior (dashed red, ϕ = 0) and superior conjunction (dashed blue, ϕ = 0.5) emissions are highlighted.

In the text
thumbnail Fig. 5.

Emission light curves predicted by our model for a generic binary for different energy bands and a system inclination of 30°. Inferior and superior conjunction correspond to ϕ = 0 and ϕ = 0.5, respectively. For better visualisation, we show the data for two full orbits.

In the text

Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.

Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.

Initial download of the metrics may take a while.