Open Access
Issue
A&A
Volume 703, November 2025
Article Number A105
Number of page(s) 14
Section Astronomical instrumentation
DOI https://doi.org/10.1051/0004-6361/202555325
Published online 07 November 2025

© The Authors 2025

Licence Creative CommonsOpen Access article, published by EDP Sciences, under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

This article is published in open access under the Subscribe to Open model. Subscribe to A&A to support open access publication.

1 Introduction

X-ray telescopes are fundamental tools for investigating high-energy astrophysical processes. Their optical modules are typically based on double reflection systems, such as the Wolter-I design (Wolter 1952), where each mirror is composed of a parabolic and a hyperbolic surface. When a bright source is present just outside the field of view, rays may undergo single instead of double reflection (de Chambure et al. 1999b), producing stray light that contaminates the image recorded by the detector. This effect is particularly pronounced for rays reflected by the hyperboloid, as they often form characteristic arc-like patterns on the detector (de Chambure et al. 1999b; Spiga 2015), compared to those reflected on the parabola, which typically do not reach the detector area.

An example of this phenomenon is shown in Fig. 1, which depicts an observation near the Low-Mass X-ray Binary (LMXB) GX5-1 with XMM-Newton. In this work, we refer to ximg and yimg as the pixel coordinates. The angular distance θ between the source and the telescope’s optical axis is a key parameter, since stray light contamination typically arises for sources located at off-axis angles between 20′ and 78′ (de Chambure et al. 1999b). In addition to the source position, the geometric disposition of the mirror shells plays a crucial role in shaping the stray light pattern, as shown in Appendix B.

Previous studies have primarily focused on quantifying the stray light effective area under various conditions (Spiga 2015), based on a limited number of vignetting parameters characteristic of the mirror module design (Spiga 2011). These models are built under the assumption of mirrors with no deformations and with optical axes aligned with each other. Observations frequently reveal deviations from the ideal pattern (Ponti et al. 2015; Freyberg 2006) – which remain a matter of discussion – resulting in the absence of a method that predicts the shape of the arcs.

In this work, we present the SHell misAlignment Detection for straylight Estimation (SHADE) algorithm, designed to reproduce the observed arc geometry by inferring the misalignment and shift parameters of individual mirror shells from observed stray light arcs. The relevance of SHADE lies in its ability to infer the misalignment parameters of the mirrors by deriving them from stray light, playing an important role in preand post-calibration processes by predicting and reproducing the stray light pattern. Although simulations based on ray tracing can reproduce the pattern, they cannot easily perform parameter estimations of misaligned mirrors due to the uncertainty related to the simulated rays and the lack of a criterion used to compare simulations and the observed pattern. A possible path for comparison would be to interpolate the points from both arcs separately, including the inner variability of the positions of the rays through ray tracing. This effect is smoothed by the analytical approach, supporting its application. Also, to avoid poorly interpolated curves, the only way to infer these parameters with ray tracing would be to perform a substantial amount of simulations and choose the most significant arc among the ones generated. This task can be time-consuming; by contrast, an analytical approach does not present this obstacle. Once the tilt parameters are estimated, SHADE enables a more accurate modeling of the stray light contamination. Each shell misalignment is parameterized by the angle formed between the axis of the shell and the optical assembly axis, γ, and its orientation, ξ, on the aperture plane, as shown in Fig. 2. We applied this algorithm to a set of XMM-Newton observations of the bright X-ray source GX5-1 (Bhulla et al. 2019), selected for their suitable data quality, aimpoint stability, and position angle (PA) coverage.

This paper is organized as follows: in Sect. 2, we describe the geometrical properties of stray light patterns with a focus on XMM-Newton observations. We introduce a baseline routine to simulate the arcs using analytical methods. In Sect. 3, we present the modeling of shell misalignments and their implementation within the simulation routine. In Sect. 4, we outline the SHADE pipeline and apply the algorithm to a selected sample of XMM-Newton observations.

thumbnail Fig. 1

Observation 0932201101 performed around the LMXB GX5-1, showing an example of the presence of the stray light arcs for X-ray observations performed by Wolter I telescope with an off-axis source. The axes refer to pixel coordinates.

thumbnail Fig. 2

Representation of a sketch of a tilted optical axis. The tilted shell orientation is specified by the angles γ and ξ, in cylindrical coordinates. The source direction is specified by the angles θ, ι in the same reference frame.

thumbnail Fig. 3

Observations considered in the analysis of the stray light arcs. The quality of these observations depends on the shared aimpoint and relationship between the PA values. Also, the different time span covered helps to explore the time variability of the phenomenon.

Table 1

Coordinates and time of the main XMM-Newton observations.

2 The stray light pattern in XMM-Newton

2.1 Observations considered in this work

The observations considered in this work are shown in Fig. 3 and summarized in Table 1. This sample is particularly suitable for our analysis for two main reasons. First, the observations share the same aimpoint despite spanning a time interval of 13 years, offering an ideal setup to investigate the consistency of the arc geometry over time. Second, the sample exhibits a wide range of PAs, including the observation 0720540501, which is characterized by an orientation nearly opposite to the others. This diversity allows us to study the stray light pattern under different observational configurations. A discussion on the implications of the PA in XMM-Newton observations, depending on the telescope’s reference systems, is provided in Appendix A.

XMM-Newton is equipped with three different X-ray cameras for observations (Schartel et al. 2024). In this work, we focus on data acquired with the EPIC-PN camera. This choice is motivated by the larger effective area of EPIC-PN compared to the EPIC-MOS cameras (Strüder et al. 2001). Furthermore, the EPIC-MOS cameras (M1 and M2) have suffered damage in recent years (Abbey et al. 2003), leading to the loss of functionality in some Couple Charged Devices (CCDs). This degradation further supports the preference for EPIC-PN data, as it allows for a cleaner visualization of the stray light arcs.

In addition to this sample, we refer to observation 0932201101 (Fig. 1) as a representative case to illustrate the geometrical features of the stray light arcs we aimed to reproduce. This observation was also used as a testbed to validate our modeling approach. A close-up inspection of the stray light pattern in Fig. 4 reveals several distinctive characteristics. First, the arcs exhibit bifurcations (or “forks”) where portions of the stray light pattern intersect. Notably, this behavior is not observed for all shells. Second, the radial separation between adjacent arcs is not uniform but varies along the pattern. These irregularities do not happen in a perfectly co-aligned mirror, which we refer to as the perfect optical module, suggesting that the observed pattern may result either from specific geometrical properties of the telescope or from individual differences among the shells that we aim to describe with our code.

thumbnail Fig. 4

Visual representation of the geometrical features of the arcs reproduced in this study, including bifurcations and different spacing among shells.

2.2 Analytical simulation of stray light

Previous studies (Spiga 2015, 2016) reproduced the stray light arcs due to single reflections on the hyperbola of a single shell using the following parametric equations, which assume that the source is off-axis by an angle θ in the direction of the x-axis: x(ϕ)=(R02β0f)cosϕ+θfcos(2ϕ),$\[x(\phi)=\left(R_0-2 \beta_0 f\right) ~\cos~ \phi+\theta f ~\cos~ (2 \phi),\]$(1) y(ϕ)=(R02β0f)sinϕ+θfsin(2ϕ).$\[y(\phi)=\left(R_0-2 \beta_0 f\right) ~\sin~ \phi+\theta f ~\sin~ (2 \phi).\]$(2)

These equations describe the ray intersections with the focal plane, denoted by (x, y), as a function of the polar angle ϕ ∈ [0, 2π], after a single reflection on the hyperbola of a given shell. A rotation by an angle, ι, should be operated on the coordinates (x, y) in order to align the off-axis source in the correct orientation, where ι is the polar angle of the source represented in Fig. 2. In this formulation, f represents the focal length of the telescope, R0 is the radius of the shell at the Intersection Plane (IP), defined as the plane z = 0, with z aligned along the optical axis of the telescope. Defining the parameter α0 as the slope of the parabola with respect to the optical axis, the slope of the hyperbola is given by β0 = 3α0 (Spiga 2015; Stramaccioni et al. 2000). This configuration is described in Fig. 2.

Properly reproducing the stray light pattern with an analytical method requires two clarifications related to the double cone approximation (Spiga et al. 2009). The first regards its interpretation, and the other the concavity of the mirrors. The first clarification can be addressed by considering the cone passing through the two edges as a fairly representative model for single reflections on the hyperbolic segment alone, compared to the typical tangent to the hyperbola at the IP. This choice entails a greater angle via the following correction of the β0 parameter: β0CH=β0DC+δβ1,$\[\beta_0^{C H}=\beta_0^{D C}+\delta \beta_1,\]$(3)

where β0CH$\[\beta_{0}^{C H}\]$ refers to the chord angle, β0DC$\[\beta_{0}^{D C}\]$ is the usual double-cone slope, and δβ/β0DC1%$\[\delta \beta / \beta_{0}^{D C} \sim 1 \%\]$ for the XMM-Newton case. In this approximation, we refer to β0CH$\[\beta_{0}^{C H}\]$ as the β0 used in Eqs. (1) and (2).

The second consideration is that the double cone provides a focal length that exceeds the actual Wolter-I focal length for the same shell geometry. Due to the concavity of the optical surfaces, the incidence angles of the mirrors in a Wolter-I telescope vary along the z-axis, leading to a systematic overestimation of these angles on the hyperbolic segment, such that β0W(z)β0DC$\[\beta_{0}^{W}(z) \geq \beta_{0}^{D C}\]$ (Spiga et al. 2009), where β0W(z)$\[\beta_{0}^{W}(z)\]$ represents the Wolter-I incidence angles. The chord approximation introduces a different discrepancy compared to the double cone, resulting in β0β0W(z)$\[\beta_{0} \geq \beta_{0}^{W}(z)\]$. To account for this discrepancy, a correction factor is applied to the nominal grazing incidence angle β0, with an additional adjustment of δβ2/β0DC1%$\[\delta \beta_{2} / \beta_{0}^{D C} \sim 1 \%\]$ for XMM-Newton (Spiga et al. 2009) to calculate the focal length in the chord approximation f from the focal length of the Wolter configuration fW: f=fWtan(β0DC)tan(β0CH+δβ2).$\[f=f_W \frac{\tan \left(\beta_0^{D C}\right)}{\tan \left(\beta_0^{C H}+\delta \beta_2\right)}.\]$(4)

These corrections ensure consistency between the analytical model and ray-tracing simulations based on the Wolter I model, resulting in a focal length of f = 7350 mm. With the values taken for R0 in the XMM-Newton module, Fig. 5 shows the simulated stray light pattern using Eqs. (1) and (2) for a source at θ = 1° and ι = 3π/2. In the simulation, we considered only the shells whose stray light intersected the detector area. The reasons for the limited number of shells visualized on the detector are discussed in more detail in Appendix B. We highlight that the analytical simulation in Fig. 5 assumes that all mirror shells are perfectly aligned. Under this assumption, the simulated pattern does not reproduce the bifurcations, overlaps, and nonuniform radial spacing observed in Fig. 4. These discrepancies leave room for investigating the influence of misalignments in individual shells, motivating the development of a more flexible approach capable of accounting for these geometric deviations.

thumbnail Fig. 5

Stray light pattern generated with parametric Eqs. (1) and (2) considering a source at θ = 1° and ι = 3π/2. The number of shells generated is limited due to the geometric configuration of the telescope.

3 Tilts of the shells

3.1 Misalignments

Assuming a tilt for the hyperbola implies that the incident angles between the light and the hyperbola for tilted and non-tilted mirrors differ. This geometrical feature can be described by two parameters: the amplitude of the angle between a light ray and the slope angle of the hyperbola, named γ, and a polar angle, ξ, which describes the direction of the tilt on the detector plane, defined with respect to the detector x-axis, as shown in Fig. 2. The orientation of the detector x-axis is set by the PA relative to the North Celestial Pole (NCP) in the equatorial coordinate system and is mentioned in Appendix A. Since the detector reference frame rotates with the PA, we highlight that the angle, ξ, is defined with respect to the position of the detector x-axis when PA=3π/2. In previous studies, (Stockman et al. 2001; Marioni et al. 1999) the maximum misalignment of the shells registered is 30″, due to the precision imposed by a vertical optical bench used to arrange the structure. However, misalignments of the hyperbola up to 1′ have also been observed (Stockman et al. 1999; Glatzel et al. 1994).

In order to extend the simulation to misaligned shells, we derived the equations that represent the stray light pattern of a tilted shell, obtaining additional terms to add to Eqs. (1) and (2): x(ϕ)=x(ϕ)γf[cos(2ϕξ+ι)+cos(ξι)],$\[x^{\prime}(\phi)=x(\phi)-\gamma f[\cos (2 \phi-\xi+\iota)+\cos (\xi-\iota)],\]$(5) y(ϕ)=y(ϕ)γf[sin(2ϕξ+ι)+sin(ξι)].$\[y^{\prime}(\phi)=y(\phi)-\gamma f[\sin (2 \phi-\xi+\iota)+\sin (\xi-\iota)].\]$(6)

The complete derivation of these equations is reported in Appendix C. We note that these equations correctly reduce to Eqs. (1) and (2) when γ = 0. Moreover, the case of a shell misaligned in the off-axis plane corresponds to ξ = 0, whereas the case ξ = ι means that the shell misalignment lies exactly in the off-axis plane. As in the case of Eqs. (1) and (2), a rotation by an angle ι should be operated on the coordinates (x, y) in order to align the source with its actual direction.

Analyzing the behavior of the pattern in response to different orientations of the tilt is a key aspect for extracting useful physical considerations. We performed the simulation of the single arc for shell 16 using Eqs. (5) and (6) with θ = 1° and ι = 3π/2. We considered the number of shells, counting from the one with the smallest R0 (shell 58) to the largest (shell 1). As a first example, we considered four different amplitudes, equally spaced between 0 and 1′, for the misalignment, keeping ξ fixed at 3π/2, and compared these with the zero tilt configuration. Secondly, we fixed the amplitude γ = 1′ and considered four different orientations of the misalignments between 0 and 2π. The result can be observed in Fig. 6, where the presence of the tilt changes the position of the arc in different ways according to ξ and in different magnitude according to γ. A combination of these parameters can reproduce the features anticipated in Fig. 4, as shown in Fig. 7 where we implemented in the previous simulation values for γ and ξ drawn from the uniform distributions in the intervals γ = [0, 1]′ and ξ = [0, 2π].

thumbnail Fig. 6

Illustration of a 1′ misalignment in different directions ξ (left panel), relative to a source located at ι = 3π/2, and the effects of varying the amplitude (right panel) while keeping the direction ξ fixed. We observe that the shell tilt can significantly affect the shape of the arc in the resulting image.

thumbnail Fig. 7

Simulation of the stray light arcs assuming uniformly sampled values for the parameters modeling the tilt in the intervals γ ∈ [0, 1]′ and ξ = ∈ [0, 2π]. This simulation yields a number of intersections between single-reflection traces, as expected from the XMM-Newton observation.

3.2 Shift of the shells

We now investigate the impact of a shift in the optical axis caused by a misplacement of the mirror module during the integration process. Figure 8 illustrates an example of such a shift, which can be described by introducing two additional parameters, (δ, ϵ), representing the distance between the theoretical and the actual optical axis as well as its direction in the aperture plane. Documentation related to the integration process (de Chambure et al. 1997) provides a threshold of δ < 5 μm as the maximum allowable shift.

A shift in the optical axis modifies the source coordinates as θ=θ2+(δf)22θ(δf)cos(ϵı),$\[\theta^{\prime}=\sqrt{\theta^2+\left(\frac{\delta}{f}\right)^2-2 \theta\left(\frac{\delta}{f}\right) ~\cos (\epsilon-\imath)},\]$(7) ι=arctan(θsinι+(δf)sinϵθcosι+(δf)cosϵ),$\[\iota^{\prime}=\arctan \left(\frac{\theta ~\sin~ \iota+\left(\frac{\delta}{f}\right) ~\sin~ \epsilon}{\theta ~\cos~ \iota+\left(\frac{\delta}{f}\right) ~\cos~ \epsilon}\right),\]$(8)

where f indicates the focal length of the telescope. The derivation of these equations is tackled in Appendix C. Assuming the maximum value for δ = 5 μm, this contribution becomes negligible in the case of XMM-Newton, where δ/f ~ 10−7, compared to θ expressed in radians.

thumbnail Fig. 8

Sketch of the optical axis shift. The shift amplitude is labeled δ, whereas the shift orientation on the aperture plane is labeled ϵ.

4 The Shell misAlignment Detection for straylight Estimation

4.1 Time invariance of stray light patterns

The reproducibility of stray light arcs in X-ray observations relies on the assumption of time invariance of the geometric configuration of the mirror module. This hypothesis is supported by the comparison between the different observations shown in Fig. 3, which were recorded at similar orientations of the telescope. We performed a statistical comparison using a chi-squared test applied to various pairs of observations. Each image was divided into bins based on pixel intensity values, and histograms were created to represent the number of pixels in each intensity range. After normalizing the histograms to obtain probabilities, we compared the distributions of pixels from different images using the χ2 function from the SciPy.stats module (Virtanen et al. 2020). This method provides a quantitative assessment of the similarities between images. The test yields a p-value p ≈ 1 (Wasserstein & Lazar 2016) for all pairs of images, supporting the assumption that stray light patterns remain stable over time.

This method assesses global consistency between images, while locality can be tested both visually – by subtracting the pixels of the images after a proper rotation according to their PAs, which results in an almost complete disappearance of the stray light pattern – and in the Fourier space. Since the stray light in XMM-Newton detectors is characterized by arcs covering almost half of the image, we expected this pattern to manifest in the Fourier spectrum with specific frequencies. In this context, frequencies – indicated as ωx and ωy – represent the scale of variability in luminosity of the pixels in the image. Applying the same Fourier transformation, using the scipy fast Fourier transform (FFT) (Virtanen et al. 2021), to the matrix of residuals provides almost no features associated with the stray light observed in the Fourier spectrum of the observations, supporting local invariance. A comparison between the top-left panel and the bottom-right panel in Fig. 9 shows that the features of the stray light pattern follow the same arc shape in the frequency domain, since the axes in this plot also represent the spatial direction of the frequencies in the observation. Figure 9 shows the frequencies of the spectrum, expressed in mm−1, along the two axes, indicating the relevant frequencies for each line of pixels in both (x, y) directions. The amplitude of the mode was considered in decibels. The spectrum was also shifted, placing the lower frequencies in the center for better visualization.

In the end, we used a convolutional neural network (Simonyan & Zisserman 2015) to add another similarity criterion between observations. This criterion is based on the extraction of essential local features from images and assigns a similarity metric on a scale from 0 to 1, where 1 describes identical images. We applied this algorithm to all three pairs of observations – 0008820101, 0720540401, and 0720540601 – obtaining a similarity score of ~ 0.96 for each of them.

Validating the time invariance of stray light patterns further supports the use of multiple observations to strengthen the association process.

thumbnail Fig. 9

Fourier spectrum of the observation 0720540401 (top-left panel) and the spectrum of the matrix resulting from the difference between 0720540401 and 0720540601 after being properly rotated according to their PAs (top-right panel). The top-left panel shows particular features associated with the stray light with weak counterparts in the right panel. These arc-shaped features were reproduced by applying the Fourier transform to a simulated matrix with uniformly distributed tilt parameters (bottom-left panel), producing the plot shown in the bottom-right panel. ωx and ωy represent the frequencies along the two axes.

4.2 Associations of arcs

The Shell misAlignment Detection for straylight Estimation (SHADE) is an algorithm designed to reproduce the stray light arcs observed in X-ray data obtained with Wolter I telescopes, so as to infer the misalignment parameters of the mirror shells. The pipeline begins by manually extracting an arc from an observation and verifying its possible association with non-tilted simulated arcs. We explore the case of observation 0720540501 and visually identify the coordinates of an arc. It is important to note that this process may inadvertently include photons that do not belong to the arc. We use Eqs. (5) and (6) and generate simulated arcs for each XMM-Newton shell to seek a preliminary correspondence with the observed arc. In accordance with the reference frame described in Appendix A, we determine the source coordinates relative to the detector center as θ = 55.71′ and ι = 5.42 rad. At first glance, the correspondence was assigned based on a least squares approach between the simulated arcs and the observed one, yielding a correspondence with shell 16 (blue arc) and the orange arcs represented in Fig. 10. This approach is based on the assumption that, in the absence of information on the tilt, an arc is more likely to correspond to the simulated position computed with zero tilt. However, this approach implicitly assumes that possible shell tilts do not alter the arc identification, raising questions about the robustness of this criterion.

We investigated a configuration involving two neighboring shells to illustrate the potential impact of tilt-induced misalignment on the pattern. We simulated the case of a source with θ = 1° and ι = 3π/2, generating the arcs from shell 16 and shell 17 using Eqs. (5) and (6). In the first case, we assumed γ = 0 for both shells, while in the second case we introduced a tilt with γ = 1′ and ξ = 3π/2 for shell 16. As shown in Fig. 11, the tilt displaces shell 16 toward the center of the detector, causing an inversion in the order of the arcs. This result highlights how particular tilt configurations can lead to shell misidentification, representing a potential obstacle for the arc-fitting strategy. This could be mitigated by fitting all shells at the same time; however, this approach is time consuming, and therefore it will be investigated in future studies.

We tested the scenario of misidentification by repeating the association process N = 1500 times, adopting a uniform distribution of misalignments in the ranges γ ∈ [0, 1′] and ξ ∈ [0, 2π] as a conservative assumption, allowing for the broadest possible range of tilt values. This choice was motivated by the lack of precise a priori knowledge of the exact distribution of misalignments and aimed to avoid underestimating their potential effect on the arc association process. Under this assumption, we find that ~45% of the associations are consistent with the non-tilted case, suggesting that the presence of tilts could play a significant role. However, we note that this estimate is likely a lower limit on the true association rate, as the real distribution of misalignments may favor smaller values.

The initial assumption gains further support with the inclusion of 0720540601 as a second observation in the association process. We investigated the possibility of associating arcs across multiple observations simultaneously by randomly selecting γ and ξ, as previously done, keeping only the configurations where the associations referred to the same shell. Repeating the association test with two observations yields a probability of ~97% for shell 16 (blue arcs in Fig. 10) and the orange ones, remaining the best candidate.

thumbnail Fig. 10

Shell 16 analytically produced (blue arcs) and represented in observations 0720540501 (left) and 0720540601 (right) with no tilts. The association process outputs this shell as a plausible candidate for the two selected arcs (orange arcs).

thumbnail Fig. 11

Arc patterns reproduced for shells 16 and 17 in two different configurations. Left: arcs reproduced under the perfect mirror hypothesis. Right: configuration where shell 16 is misaligned with amplitudes γ = 1′ and ξ = 3π/2. The result of these combinations produces an interchange between the order in which the shells can be visualized on the detector.

4.3 Optimization and case study

The extraction and simulation procedures were integrated into a general function that outputs a metric corresponding to the sum of the mean squared errors (χ2) between the observed arcs and the best candidate shells from the association process: μF=μ1+μ2,$\[\mu_{\mathrm{F}}=\mu_1+\mu_2,\]$(9)

where μ1 and μ2 denote the χ2 computed for the two observations analyzed. The minimization of this metric was performed using an optimization process based on the Tree-Parzen Estimator (TPE; Watanabe 2023), aimed at finding the best-fit for the tilt parameters. Observations are aligned with the reference frame aligned with the NCP, as described in Appendix A. We applied the SHADE algorithm to observations 0720540501 and 0720540601 to reproduce the case of shell 16, respectively with (θ1 = 55.71′, ι1 = 0.84 rad) and (θ2 = 57.78′, ι2 = 3.96 rad) based on the considerations from Appendix A. We excluded (δ, ϵ) from the parametrization due to their low impact. The association process identifies two candidate arcs, as shown in Fig. 10. The optimization was performed using N = 2500 samples, resulting in the parameter distributions shown in Fig. 12. We report in Table 2 the 50% quantiles represented as Q50. Uncertainty estimates were derived from the 16th and 84th percentiles of the parameter distributions, corresponding to the 68% confidence interval (1σ). Although the best-fit values do not necessarily coincide with the distribution peaks, they fall well within the 1σ regions, and thus the reported uncertainties reflect the expected parameter spread. To produce the final analytical curves, we generated samples from the distribution of the best fit values output from the pipeline and generated the simulated arc for shell 16 using Eqs. (5) and (6). The result obtained is shown in Fig. 13. The comparison demonstrates that the optimized parameters improve the similarity between the observed and the simulated arc in both observations for this particular shell.

thumbnail Fig. 12

Corner plot of the final distributions for the tilt parameters and the PAs for the 0720540501 and 0720540601 observations. The confidence interval σ is estimated by considering the 16% and 84% quantiles.

Table 2

Best-fit values for the tilt parameters.

thumbnail Fig. 13

Fit obtained using the TPE algorithm minimizing the sum of the χ2 metrics calculated for the two observations with a simulated arc for shell 16. The combination of the two-parameter fit can reproduce the arc geometry (red arc), compared with the original produced, which was produced with no tilt (blue arc).

4.4 Testing on more observations

We assessed the reliability of the tilt parameters reported in Table 2 by testing their consistency with a third observation. In this section, we consider the observation 0932201101, shown in Fig. 1, as a validation test. This observation was performed around GX5-1 at an angular distance of θ = 57.44′ from the detector origin. The similarity of this off-axis angle with that of the previous observations suggests that the same arc from shell 16 should be detectable. This observation provides a similar PA to 0720540601 but with a different orientation with respect to the source, allowing us to investigate a more general configuration for the algorithm. We extracted the polar coordinates of the source with respect to the optical axis, obtaining θ = 57.51′ and ι = 4.97 rad. Using these coordinates, we generated the simulated arc for shell 16 for all three observations considered, finding a plausible match in 0932201101 (gold arc in the bottom panel in Fig. 14).

We repeated the simulation process mentioned in the previous paragraph to generate shell 16 in all observations, obtaining the result shown in Fig. 14. This result proves that adding this observation increases confidence in the consistency of the arcs, although it cannot guarantee the minimization of all the χ2 values of the individual observations due to the presence of correlations. Notably, observation 0932201101 was performed in 2024 (Ponti et al. 2019), approximately 24 years after the earliest observation in our sample. This result supports the hypothesis of the temporal stability of the stray light pattern and the underlying shell misalignment.

We integrated observation 0932201101 into the SHADE pipeline along with the two previous observations. The optimization outputs the parameter distributions shown in Fig. 15. We followed the previous procedure, reporting the quantiles in Table 2. Including observation 0932201101 provides consistent distributions when comparing Figs. 12 and 15. The best-fit parameters were used to produce tilted arcs that align accordingly with the candidates in the observations.

thumbnail Fig. 14

Representation of analytical shell 16 assuming the tilt parameters reported in Table 2 (red arcs), compared to the same shell produced assuming no tilt (blue arc). The best-fit values improve the similarity of the arc geometry in all three observations.

4.5 Parameters estimation of double Arcs

Testing the algorithm to provide tilt parameter measurements of the double arcs required a change in our initial approach. Instead of considering multiple observations, we applied the algorithm to 0720540601 to estimate the parameters of the double arcs. In contrast to the previous case, we correlated two arcs in the same observation and verified that the algorithm performed the parameter estimation of these arcs simultaneously. This process also hinder the association since we did not search for counterparts in other observations. Due to the lack of data with feature similar to this observation, extending the parameter estimation to multiple observations has been difficult. Figure 16 (left panel) shows the two candidates (orange and gold) analyzed and the corresponding analytical match obtained by the same association process described in the previous section. This process output shell 10 and 11 as the best candidates. Using the same number, N = 2500, of samples to infer the parameters, the results are shown in Fig. 17. The algorithm provides solid distributions for the parameters, with the subscript indicating the shell to which they refer to. Considering the best-fit parameters from these distributions, we reproduced the double arcs constituted by the two candidates in Fig. 16 (right panel). Table 3 sums up the values of the quantiles for these two shells.

thumbnail Fig. 15

Representation of the distribution of the parameters obtained by the correlated fit performed for three observations. The confidence interval σ is estimated by considering the 16% and 84% quantiles.

thumbnail Fig. 16

Observation 0720540601 showing analytical arcs for shell 11 and shell 10 without tilts (left panel) and with best-fit parameters extrapolated from the SHADE pipeline (right panel). The golden and orange arcs represent the candidates chosen for parameter estimation.

thumbnail Fig. 17

Distributions of the tilts for the double arcs represented in Fig. 16 for shells 11 and 10.

Table 3

Best-fit values for the tilt parameters.

5 Final discussion

We applied the SHADE algorithm to reproduce the geometry of stray light arcs in XMM-Newton observations, focusing mostly on shell 16 as a representative case study. The agreement between the simulated and observed arcs is encouraging; however, several aspects require further investigation. The association process between the shells and the arcs represents a potential source of uncertainty, which could be mitigated by combining information from multiple observations. Additionally, the extraction of the arcs, currently based on visual inspection, would benefit from the development of an automated approach. In this context, machine learning techniques, such as neural networks, could offer a robust solution. The assumption of time invariance of the stray light pattern is another cornerstone of this work. The consistency observed between data spanning over two decades supports this hypothesis. Nevertheless, future observations targeting the same aimpoint as those considered in this study could further strengthen this conclusion, providing additional evidence for the stability of shell misalignments over time. The possibility of including the deformation effects of the mirrors could provide more information and better agreement between the observed and the simulated arcs. Future developments of SHADE could also involve a more comprehensive parameterization, accounting for additional systematic effects, such as shifts of the baffles, as explored in Friedrich & Freyberg (2024). This aspect was not included in the present work to maintain a simpler description of the parameterization. However, its contribution could be crucial for further improving the reliability of the tilt measurements and gaining a more complete understanding of the mirror module alignment.

6 Conclusions

In this paper, we presented SHADE (The Shell misAlignment Detection for Straylight Estimation), a novel algorithm designed to reproduce the stray light arcs in Wolter I telescopes by inferring the misalignment parameters of individual mirror shells. This approach enhances the consistency between observed stray light patterns and simulations, enabling better predictions for future observations. We applied SHADE to XMM-Newton data, focusing on shell 16, and obtained the tilt parameters presented in Table 2 by combining three observations. As a proof of concept, we tested the algorithm on double arcs belonging to the same observation, obtaining results reported in Table 3 for shell 10 and 11. These results demonstrate the capability of SHADE to provide quantitative estimates of shell tilts, offering a pathway to refine the modeling of stray light patterns and improve the calibration of future X-ray observations.

Acknowledgements

We thank P. Friedrich for the helpful discussions. We also thank D. Parodi and G. Valsecchi for the precious insights. This work is based on observations obtained with XMM-Newton, an ESA science mission with instruments and contributions directly funded by ESA Member States and NASA. This project acknowledges financial support from the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation program HotMilk (grant agreement No. 865637), support from Bando per il Finanziamento della Ricerca Fondamentale 2022 dell’Istituto Nazionale di Astrofisica (INAF): GO Large program and from the Framework per l’Attrazione e il Rafforzamento delle Eccellenze (FARE) per la ricerca in Italia (R20L5S39T9).

Appendix A XMM features

Appendix A presents technical and physical information about XMM-Newton, focusing on the features that have the greatest impact on the stray light arcs.

Appendix A.1 Mirror modules

XMM-Newton presents three mirror modules constituted by 58 shells formed by a parabola and an hyperbola. The purpose of this configuration is to focus the double reflected light rays which impinge on the shells on a detector at distance F = 7500 mm. This distance represents the focal length of the mirror module (Schartel et al. 2024). The shells can be mathematically modeled by parametric equations (Conconi & Campana 2001). Both parabola and hyperbola have L = 300 mm length. Their inclination forms two angles with the z-axis which is perpendicular to the detector and coincides with the optical axis. The angle between the parabola and the z-axis is named α0 and it differs among shells. This angle depends on the distance, called R0, between the shell and the z-axis calculated at z = 0. The plane z = 0 is the IP. For a whole review of the physical features of the telescope we refer to Jansen et al. (2001) and Schartel et al. (2024). The greater R0 is, the higher is the slope. This configuration allows to reproduce the focusing process we anticipated. The hyperbola forms an angle β0 ~ 3α0. A more detailed description of the geometry of the mirror module is reported in Spiga (2015) and Stramaccioni et al. (2000). Figure A.1 depicts the mirror profiles of the 58 shells involved.

Appendix A.2 Baffles

The baffle represents a structure added to remove stray light from observations. XMM-Newton presents a baffle system constituted by two cylindrical structures, mounted on each of the 58 shells. The cylinders have been separated into 16 slices due to the presence of a spider, which serves as a support structure. The 58 baffles have different heights and are supposed to be perfectly aligned with the mirrors. The effect of such structure is to obscure the mirrors from light rays from off-axis sources at θ > 1.4 degrees (de Chambure et al. 1999b). A more comprehensive description of the baffle structure can be found in de Chambure et al. (1999b), Aschenbach (2002) and Mori & Friedrich (2022). It has been demonstrated that, despite the presence of the baffle, the effective area of stray light for XMM-Newton is, respectively, 1% at 2 keV and 1.4% at 8 keV, in comparison to the area of the double reflections. This indicates that an off-axis source 100 times more luminous than the on-axis target may generate count rates in ghost images that are comparable to the target rate, as shown in de Chambure et al. (1999b). For that reason, the addition of the baffle does not ensure a definitive solution to the stray light problem.

Appendix A.3 The PN camera frame of reference

Setting up the stray light pattern simulation for EPIC-pn requires selecting the appropriate reference frame to accurately reproduce the optics. The goal is to represent the stray light pattern in a reference frame with the origin in the geometrical center of the detector and with the yaxis aligned with the NCP. At first, this purpose implies to account for the presence of the offset between the geometrical center of the detector and the optical axis of the camera (Kirsch 2004), that represents the reference for the optics of the phenomenon. Combining the optical axis location from calibration data with the pixel coordinates of the detector center, we estimate this offset to be approximately 2′. The application of Eqs. (1) and (2) requires the source coordinates in a reference frame centered in the optical axis. This is represented by the TelCoord frame (ESA 2011), the origins of which can be projected into the focal plane considering mirroring effects. The task ecoordconv (ESA 2025) returns the polar coordinates of a source, defined as θTEL, the angular distance from the optical axis, and ιTEL, the polar angle on the detector plane. Figure A.2 shows a representation of the reference frames. Normally the detector is also rotated with respect to the NCP frame by an angle related to the PA, defined as the angle between the NCP and the detector x-axis (CAMCOORD1) (Jansen et al. 2001; Schartel et al. 2024; Pantaleoni et al. 2012), which is supposed to be aligned with the CAMCOORD1 x-axis as showed in Fig. A.2. In this paper we assume that TelCoord is oriented according to the PA defined by the XMM Science Archive, which refers to the optical axis reference frame. This assumption implies an additional angular discrepancy between TelCoord and CAMCOORD1. These rotations implies a correction for the image and the coordinates, depending on an empirical value for the PA, calculated for the detector with the same SAS task ecoordconv, and the values taken from the XMM Science Archive for the Telcoord rotation. The coordinates considered in this work are expressed by the following equations: θ=θTEL$\[\theta=\theta_{\mathrm{TEL}}\]$(A.1) ι=ιTEL+(PAARCHPAEMP)$\[\iota=\iota_{\mathrm{TEL}}+\left(\mathrm{PA}_{\mathrm{ARCH}}-\mathrm{PA}_{\mathrm{EMP}}\right)\]$(A.2)

thumbnail Fig. A.1

Shell profile of the XMM-Newton Observatory. The different slope and distance from the optical axis output the focus of the photons on the detector at a certain focal length.

thumbnail Fig. A.2

Reference frame configuration considered in this work for observation 0720540501, represented in its mirrored form. The task "ecoordconv" provides coordinates (θTEL, ιTEL) in the TelCoord frame, which is misaligned with respect to the NCP frame at an angle related to the PA. This reference frame is also misaligned with respect to the direction of the x-axis of the detector frame CAMCOORD1, represented by the dashed white line, whose center is placed in the gap of the CCDs. Computing the correct angle ι in the TelCoord frame, the angular difference between the PA and the x-axis of the NCP is taken into account. Since our purpose is to represent the optics in the TelCoord frame, we correct the pattern by accounting for the offset between the optical axis and the geometric center of the detector.

where we stress that the polar angle ιTEL is referred to a reference system that rotates with the telescope when the PA changes. We highlight that Fig. A.2 is a mirrored representation of the observation.

The offset between the detector center and the optical axis affects the region of the detector illuminated by stray light, depending on the detector orientation in the focal plane. This orientation is again determined by the PA. To account for the offset, we translate the simulated arcs by the opposite displacement, calculated in pixel coordinates.

Finally, the source coordinates generated by ecoordconv also account for the boresight correction. This correction represents the misalignment between the instrument boresight and the satellite coordinate frame. It is described by a set of Euler angles available in ESA calibration files (ESA 2023). We estimate that the boresight correction introduces a relative uncertainty of approximately 0.02–0.03% on both θ and ι.

The representation of the observations requires a transformation from matrices to coordinates that involve the size of the PN detector as provided by ESA (Strüder et al. 2001; SOC 2024).

Appendix B Considerations on ray tracing

Appendix B.1 Ray tracing

Ray tracing can highlight some useful considerations for the stray light arcs, since a range of features observed in XMM-Newton images can be explained by the geometrical structure of the mirror module and could also be reproduced by Eqs. (1) and (2), for example, incomplete arcs that can be modeled accounting for vignetting coefficients (Spiga 2015). However, this has not been carried out here. The ray tracing routine is based on the generation of rays whose path is tracked to see the effect on the detector. We first model the shells of the telescope as a parabola and a hyperbola following Conconi & Campana (2001) as previously anticipated. Each ray is generated at a random position on the aperture plane of the telescope at a random polar angle ψ. Since the rays are supposed to be generated from an off-axis source at a finite distance, we assume they all have the same direction while the velocity components are dictated by θ, vx=ccosψsinθvy=csinψsinθvz=ccosθ$\[\begin{aligned}& v_x=-c \cdot ~\cos~ \psi ~\sin~ \theta \\& v_y=-c \cdot ~\sin~ \psi ~\sin~ \theta \\& v_z=-c \cdot ~\cos~ \theta\end{aligned}\]$

where c stands for the speed of light and can be set to 1. The negative sign introduced in the equations is necessary to ensure that ray travel from top to bottom, where z is negative. We run the ray tracing routine for N = 105 rays for each shell, assuming a source at distance θ = 1′ and ι = 2π. The result of the simulation can be observed in Fig. B.1. In this plot we show the pattern captured by the detector placed in the center and visualized on the focal plane at z = −f. It is noticeable that the area of the detector does not encompass the whole stray light pattern but just a limited number of arcs. Figure B.1 shows that the latest arcs are not completed. This phenomenon is generated by the regions where the rays are reflected on different shells. We group the interactions with the same shell and obtain Fig. B.2 showing that there is a correspondence between the most narrow arcs (yellows) and the the shells with higher R0 and viceversa. In this figure, it is also evident that the 25 most internal shells do not fully form on the detector, resulting in incomplete arcs. This pattern can be linked to the regions of the shells where rays are reflected, as illustrated in Fig. B.3. To clarify this behavior, we plot the positions of the reflected light rays from shells 33 to 58 and from shells 1 to 33 separately. The results show that, in the first group, the rays predominantly strike the regions of the hyperbola at 90 degrees from the source direction and, to a minor extent, the side opposite to that of the source. Conversely, in the second group, they tend to hit the part of the hyperbola at the same direction from the source. Light rays have been represented in the 3D space occupied by the hyperbola where z = 0 and z = −300 mm represent the physical limits of the shells. The source in this plot (blue dot) is only a representative marker to indicate the direction of the rays, whereas in a realistic scenario, the z-coordinate corresponds to the actual distance of the source. From these considerations it is clear that only the light rays that interact with a certain interval of shells can reach the detector and participate to the pattern seen in the observations for a given pair of θ and ι. In our example in Fig. B.1, this interval is represented by the shells among the 8th and the 23th.

Appendix B.2 The source spectra

The observations considered in this work focus on the low-mass X-ray binary (LMXB) GX5-1. The application of ray tracing routines requires consideration of the energy-dependent interaction between photons and mirrors. The emission from LMXBs is well described by a spectral model consisting of two components: a blackbody with temperature TBB > 2.3 keV and a multi-color blackbody with an inner disk temperature TMB = 1.5 keV, as proposed by Tanaka (1997). The soft component of the spectrum arises from the accretion disk surrounding the compact object (Mitsuda et al. 1985; Muñoz-Darias et al. 2014), with TMB representing the temperature at the innermost region of the disk, assumed to be located at rin ~ 30 km from the compact object (Mitsuda et al. 1985). GX5-1 is located at a distance of approximately 4.7 kpc (Bhulla et al. 2019). The total spectrum is further modified by interstellar absorption, which mainly affects the soft X-ray band, and is parameterized by a hydrogen column density of NH ~ 1022 cm−2 (Mitsuda et al. 1985; Bhulla et al. 2019). Figure B.4 illustrates the resulting spectrum of GX5-1.

Appendix B.3 Reflectivity and baffles

When photons interact with the XMM-Newton mirrors, their probability of being reflected depends on their energy and the incidence angle. The mirrors are coated with a thin layer of gold (de Chambure et al. 1997), which determines this reflectivity, denoted as η(θ, E). Reflectivity plays a crucial role in determining the fraction of off-axis photons contributing to the stray light pattern, as photons from large off-axis angles are reflected with lower efficiency.

thumbnail Fig. B.1

Representation of the stray light pattern produced by both the parabola and the hyperbola with a ray-tracing routine considering N = 105 light rays for each shell. From this image, it is clear that the pattern features some important characteristics. It is easy to distinguish the impact of the reflections on the parabola and the hyperbola. Singly reflected rays by the parabola (red dots) generate a pattern, which does not intersect the area of the detector. Therefore, this pattern is not included in our analysis. Rays reflected by the hyperbola hit the detector, creating an arched pattern.

We evaluated the impact of reflectivity and baffle on the stray light pattern by simulating the following configurations:

  • No reflectivity, no baffle

  • Reflectivity, no baffle

  • Reflectivity and baffle

Our results show that neither reflectivity nor the baffle alter the geometrical pattern of the arcs, but they significantly reduce the flux (see Fig. B.5). The individual contribution of reflectivity and baffle can be observed in Fig. B.6, showing that the mirror module geometry alone rejects 65-85% of stray light photons. Adding reflectivity and baffle increases this rejection to over 95%.

Our baffle implementation is an approximation, inspired by the collimator model described in Mori & Friedrich (2022), with heights uniformly distributed in the [25,160] mm interval (de Chambure et al. 1999b). The addition of the collimator reduces the total stray light flux by a factor of 4.83, corresponding to a 74% reduction compared to the reflectivity-only case. This suppression is consistent with the expected performance of the XMM-Newton baffle system (de Chambure et al. 1999a,b).

thumbnail Fig. B.2

Correspondence between the position of the arc and the shell. Shells with larger R0 are responsible for the arcs along the negative direction, −x, while shells with lower radii produce arcs that do not intersect the detector. The coordinates of this plot refer to the (x,y) focal plane in millimeters.

thumbnail Fig. B.3

Reflection points of single hyperbola photons for 33-58 shells (upper figure) and shells 1 to 33 (lower figure). These figures are crucial for estimating the contribution of the disposition of the shells to the stray light observed in the detector.

thumbnail Fig. B.4

Power spectrum of the LMXB GX5-1. This spectrum (blue line) is the result of the sum of a hard component represented by a black body (dashed black line) and a soft component represented by a multicolor black body (dashed red line). The spectrum also takes into account an absorption coefficient depending on the NH density at D = 4.7 kpc.

thumbnail Fig. B.5

Visual comparison of the three simulations performed with ray tracing. Top - Left: Results of the routine without considering the contributions of reflectivity and the baffle. Top-right: Pattern with the addition of reflectivity. Bottom - center: Contribution of the baffle and reflectivity. It is clear that the geometry of the pattern does not change with the addition of these two contributions but strongly depends on the geometry of the mirror module.

thumbnail Fig. B.6

Representation of the different impacts of the configurations considered on stray light rejection. First, the telescope’s geometrical configuration, defined by the spacing between the shells and the region of reflections, obscures 65% to 85% of the photons depending on the shell. The addition of reflectivity and the baffle increases the rejection power of the system, consistent with instrumental testing.

Appendix C Mathematical derivations

Appendix C.1 Deriving misalignment equations

In this section we derive Eqs. (5) and (6) that describe the straylight pattern of a mirror shell, whose misalignment is specified by the two angles (γ, ξ) as shown in Fig. 2. We begin with a simplified case study involving a point source whose position is defined by the angular coordinates (θ, ι). We initially assume the source to lie at ι = 0 in the (x, y, z) reference frame, while maintaining a generic θ that satisfies the conditions necessary for the generation of stray light arcs. Within this frame, the direction of rays coming from the source is expressed as: k0=[sinθ0cosθ]$\[\boldsymbol{k}_{\mathbf{0}}=\left[\begin{array}{c}-\sin~ \theta \\0 \\-\cos~ \theta\end{array}\right]\]$

We now operate a rotation to bring the optical axis in the (x, z) plane k0=[cosξsinξ0sinξcosξ0001][sinθ0cosθ]=[sinθcosξsinθsinξcosθ].$\[\boldsymbol{k}_{\mathbf{0}}^{\prime}=\left[\begin{array}{ccc}\cos~ \xi & \sin \xi & 0 \\-\sin \xi & \cos~ \xi & 0 \\0 & 0 & 1\end{array}\right]\left[\begin{array}{c}-\sin~ \theta \\0 \\-\cos~ \theta\end{array}\right]=\left[\begin{array}{c}-\sin~ \theta ~\cos~ \xi \\\sin~ \theta ~\sin~ \xi \\-\cos~ \theta\end{array}\right].\]$

A rotation of −γ around the y–axis orients the shell along the z–axis k0=[cosγ0sinγ010sinγ0cosγ][sinθcosξsinθsinξcosθ]==[sinθcosξcosγ+sinγcosθsinθsinξsinθcosξsinγcosγcosθ].$\[\begin{aligned}\boldsymbol{k}_{\mathbf{0}}^{\prime \prime} & =\left[\begin{array}{ccc}\cos~ \gamma & 0 & -\sin~ \gamma \\0 & 1 & 0 \\\sin~ \gamma & 0 & \cos~ \gamma\end{array}\right]\left[\begin{array}{c}-\sin~ \theta ~\cos~ \xi \\\sin~ \theta ~\sin~ \xi \\-\cos~ \theta\end{array}\right]= \\& =\left[\begin{array}{c}-\sin~ \theta ~\cos~ \xi ~\cos~ \gamma+\sin~ \gamma ~\cos~ \theta \\\sin~ \theta ~\sin~ \xi \\-\sin~ \theta ~\cos~ \xi ~\sin~ \gamma-\cos~ \gamma ~\cos~ \theta\end{array}\right].\end{aligned}\]$

This equation can be simplified in the small-angle approximation for γ and θ to be small k0=[θcosξ+γθsinξ1].$\[\boldsymbol{k}_{\mathbf{0}}^{\prime \prime}=\left[\begin{array}{c}-\theta ~\cos~ \xi+\gamma \\\theta ~\sin~ \xi \\-1\end{array}\right].\]$

In this reference frame the surface of the mirror is a cone with the axis parallel to the zaxis but rotated by ξ r1=[r1cos(ϕξ)r1sin(ϕξ)(r1R0)/tanβ0]$\[\boldsymbol{r}_{\mathbf{1}}^{\prime \prime}=\left[\begin{array}{c}r_1 ~\cos (\phi-\xi) \\r_1 ~\sin (\phi-\xi) \\\left(r_1-R_0\right) / ~\tan \beta_0\end{array}\right]\]$

with r < R0. In conical approximation, the normal, unit vector to the hyperboloid is n=[cosβ0cos(ϕξ)cosβ0sin(ϕξ)sinβ0][cos(ϕξ)sin(ϕξ)β0]$\[\boldsymbol{n}^{\prime \prime}=\left[\begin{array}{c}-\cos~ \beta_0 ~\cos (\phi-\xi) \\-\cos~ \beta_0 ~\sin (\phi-\xi) \\\sin~ \beta_0\end{array}\right] \simeq\left[\begin{array}{c}-\cos (\phi-\xi) \\-\sin (\phi-\xi) \\\beta_0\end{array}\right]\]$

and the direction of the reflected ray becomes (Spiga et al. 2009) k1=k02(k0n)n==[θcos(2ϕξ)γcos(2ϕ2ξ)2β0cos(ϕξ)θsin(2ϕξ)γsin(2ϕ2ξ)2β0sin(ϕξ)1].$\[\begin{aligned}\boldsymbol{k}_{\mathbf{1}}^{\prime \prime} & =\boldsymbol{k}_{\mathbf{0}}^{\prime \prime}-2\left(\boldsymbol{k}_{\mathbf{0}}^{\prime \prime} \cdot \boldsymbol{n}^{\prime \prime}\right) \boldsymbol{n}^{\prime \prime}= \\& =\left[\begin{array}{c}\theta ~\cos (2 \phi-\xi)-\gamma ~\cos (2 \phi-2 \xi)-2 \beta_0 ~\cos (\phi-\xi) \\\theta ~\sin (2 \phi-\xi)-\gamma ~\sin (2 \phi-2 \xi)-2 \beta_0 ~\sin (\phi-\xi) \\-1\end{array}\right].\end{aligned}\]$

We can now return to the reference from of the misaligned shell, by operating another rotation by a γ angle k1=[cosγ0sinγ010sinγ0cosγ][θcos(2ϕξ)γcos(2ϕ2ξ)2β0cos(ϕξ)θsin(2ϕξ)γsin(2ϕ2ξ)2β0sin(ϕξ)1]=[θcos(2ϕξ)γ[cos(2ϕ2ξ)+1]2β0cos(ϕξ)θsin(2ϕξ)γsin(2ϕ2ξ)2β0sin(ϕξ)1]$\[\begin{aligned}& \boldsymbol{k}_{\mathbf{1}}^{\prime}=\left[\begin{array}{ccc}\cos~ \gamma & 0 & \sin~ \gamma \\0 & 1 & 0 \\-\sin~ \gamma & 0 & \cos~ \gamma\end{array}\right] \\& {\left[\begin{array}{c}\theta ~\cos (2 \phi-\xi)-\gamma ~\cos (2 \phi-2 \xi)-2 \beta_0 ~\cos (\phi-\xi) \\\theta ~\sin (2 \phi-\xi)-\gamma ~\sin (2 \phi-2 \xi)-2 \beta_0 ~\sin (\phi-\xi) \\-1\end{array}\right]=} \\&\qquad\quad {\left[\begin{array}{c}\theta ~\cos (2 \phi-\xi)-\gamma[\cos (2 \phi-2 \xi)+1]-2 \beta_0 ~\cos (\phi-\xi) \\\theta ~\sin (2 \phi-\xi)-\gamma ~\sin (2 \phi-2 \xi)-2 \beta_0 ~\sin (\phi-\xi) \\-1\end{array}\right]}\end{aligned}\]$

and another rotation to re-align the x-axis to its original orientation: k1=[cosξsinξ0sinξcosξ0001][θcos(2ϕξ)γ[cos(2ϕ2ξ)+1]2β0cos(ϕξ)θsin(2ϕξ)γsin(2ϕ2ξ)2β0sin(ϕξ)1]=[θcos2ϕγ[cos(2ϕξ)+cosξ]2β0cosϕθsinϕγ[sin(2ϕξ)+sinξ]2β0sinϕ1].$\[\begin{aligned}& \boldsymbol{k}_{\mathbf{1}}=\left[\begin{array}{ccc}\cos~ \xi & -\sin~ \xi & 0 \\\sin~ \xi & \cos~ \xi & 0 \\0 & 0 & 1\end{array}\right] \\& {\left[\begin{array}{c}\theta ~\cos (2 \phi-\xi)-\gamma[\cos (2 \phi-2 \xi)+1]-2 \beta_0 ~\cos (\phi-\xi) \\\theta ~\sin (2 \phi-\xi)-\gamma ~\sin (2 \phi-2 \xi)-2 \beta_0 ~\sin (\phi-\xi) \\-1\end{array}\right]=} \\&\qquad\qquad\qquad {\left[\begin{array}{c}\theta ~\cos~ 2 \phi-\gamma[\cos (2 \phi-\xi)+\cos \xi]-2 \beta_0 ~\cos~ \phi \\\theta \sin \phi-\gamma[\sin (2 \phi-\xi)+\sin \xi]-2 \beta_0 \sin \phi \\-1\end{array}\right].}\end{aligned}\]$

The reflected rays intersect the focal plane at the coordinates z = −f, i.e. at the point: r=r1+fk1$\[\boldsymbol{r}=\boldsymbol{r_1}+f \boldsymbol{k_1}\]$

obtaining the vector [xyz]=[θfcos2ϕγf[cos(2ϕξ)+cosξ]+(R02β0f)cosϕθfsin2ϕγf[sin(2ϕξ)+sinξ]+(R02β0f)sinϕf]$\[\left[\begin{array}{l}x \\y \\z\end{array}\right]=\left[\begin{array}{c}\theta f ~\cos~ 2 \phi-\gamma f[\cos~ (2 \phi-\xi)+\cos~ \xi]+\left(R_0-2 \beta_0 f\right) ~\cos~ \phi \\\theta f ~\sin~ 2 \phi-\gamma f[\sin~ (2 \phi-\xi)+\sin~ \xi]+\left(R_0-2 \beta_0 f\right) ~\sin~ \phi \\-f\end{array}\right]\]$

and so we obtain the parametric equations x(ϕ)=(R02β0f)cosϕ+θfcos2ϕγf[cos(2ϕξ)+cosξ]y(ϕ)=(R02β0f)sinϕ+θfsin2ϕγf[sin(2ϕξ)+sinξ].$\[\begin{aligned}x(\phi) & =\left(R_0-2 \beta_0 f\right) ~\cos~ \phi+\theta f ~\cos~ 2 \phi-\gamma f[\cos~ (2 \phi-\xi)+\cos~ \xi] \\y(\phi) & =\left(R_0-2 \beta_0 f\right) ~\sin~ \phi+\theta f ~\sin~ 2 \phi-\gamma f[\sin~ (2 \phi-\xi)+\sin~ \xi].\end{aligned}\]$

These equations can be generalized with ξξι including the case where ι ≠ 0, operating another rotation of the reference frame by an angle ι around the z-axis, for aligning the source to its correct direction.

Appendix C.2 Deriving shift equations

We derive Eqs. (7) and (8) by assuming a random shift of the optical axis with amplitude δ in the ϵ orientation on the aperture plane. The coordinates of the source with respect to the new optical axis can be expressed with the following equations x=x+dxy=y+dy$\[\begin{aligned}x^{\prime} & =x+d x \\y^{\prime} & =y+d y\end{aligned}\]$

where dx=(δf)cosϵdy=(δf)sinϵ.$\[\begin{aligned}& d x=\left(\frac{\delta}{f}\right) ~\cos~ \epsilon \\& d y=\left(\frac{\delta}{f}\right) ~\sin~ \epsilon.\end{aligned}\]$

We write (x, y) with respect to the polar coordinates x=sinθcosιy=sinθsinι$\[\begin{aligned}& x=\sin~ \theta ~\cos~ \iota \\& y=\sin~ \theta ~\sin~ \iota\end{aligned}\]$

and substitute in the previous equations. x=sinθcosι+(δf)cosϵy=sinθsinι+(δf)sinϵ.$\[\begin{aligned}& x^{\prime}=\sin~ \theta ~\cos~ \iota+\left(\frac{\delta}{f}\right) ~\cos~ \epsilon \\& y^{\prime}=\sin~ \theta ~\sin~ \iota+\left(\frac{\delta}{f}\right) ~\sin~ \epsilon.\end{aligned}\]$

Equations (7) and (8) can be obtained by transforming these coordinates in polar coordinates θ=x2+y2ι=arctan(yx)$\[\begin{aligned}\theta^{\prime} & =\sqrt{x^{\prime 2}+y^{\prime 2}} \\\iota^{\prime} & =~\arctan~ \left(\frac{y^{\prime}}{x^{\prime}}\right)\end{aligned}\]$

References

  1. Abbey, T., Carpenter, J., Read, A., et al. 2003, https://www.cosmos.esa.int/documents/332006/1157523/175772_afa_micrometeoroids.pdf [Google Scholar]
  2. Aschenbach, B. 2002, in X-Ray Optics for Astronomy: Telescopes, Multilayers, Spectrometers, and Missions, 4496, SPIE, 8 [Google Scholar]
  3. Bhulla, Y., Misra, R., Yadav, J., & Jaaffrey, S. 2019, RAA, 19, 114 [Google Scholar]
  4. Conconi, P., & Campana, S. 2001, A&A, 372, 1088 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  5. de Chambure, D., Lainé, R., vanKatwijk, K., vanCasteren, J., & Glaude, P. 1997, ESA Bull., 89, 68 [Google Scholar]
  6. de Chambure, D., Lainé, R., Van Katwijk, K., & Kletzkine, P. 1999a, ESA Bull., 100, 30 [Google Scholar]
  7. de Chambure, D., Laine, R., van Katwijk, K., et al. 1999b, in Design and Engineering of Optical Systems II, 3737, SPIE, 396 [Google Scholar]
  8. ESA 2011, Spatial coordinate systems, https://xmm-tools.cosmos.esa.int/external/xmm_calibration/calib/documentation/CALHB/node7.html [Google Scholar]
  9. ESA. 2023, epicbscalgen, https://xmm-tools.cosmos.esa.int/external/sas/current/doc/epicbscalgen.pdf [Google Scholar]
  10. ESA. 2025, https://xmm-tools.cosmos.esa.int/external/sas/current/doc/ecoordconv.pdf [Google Scholar]
  11. Freyberg, M. 2006, XMM-Newton XRT+EPIC straylight: overview, https://www.cosmos.esa.int/documents/332006/1301262/mjf.pdf [Google Scholar]
  12. Friedrich, P., & Freyberg, M. 2024, Investigations of the XMM-Newton X-ray baffle alignment, https://axro.cz/wp-content/uploads/conference_uploads/2024/contributions/posters/peter_friedrich_investigations_of_the_xmm-newt_2024.pdf [Google Scholar]
  13. Glatzel, H., Schmidt, M., Egle, W. J., et al. 1994, in Space Optics 1994: Space Instrumentation and Spacecraft Optics, 2210, SPIE, 360 [Google Scholar]
  14. Jansen, F., Lumb, D., Altieri, B., et al. 2001, A&A, 365, L1 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  15. Kirsch, M. 2004, Improved Vignetting Corretion by refining the XMM optial axis., https://xmmweb.esac.esa.int/docs/documents/CAL-SRN-0156-1-3.pdf [Google Scholar]
  16. Marioni, F., Radaelli, P. G., Raggio, M. E., de Chambure, D., & Laine, R. 1999, in Optical Fabrication and Testing, 3739, SPIE, 232 [Google Scholar]
  17. Mitsuda, K., Inoue, H., Koyama, K., et al. 1985, PASJ, 36, 741 [Google Scholar]
  18. Mori, H., & Friedrich, P. 2022, in Handbook of X-ray and Gamma-ray Astrophysics (Springer), 1 [Google Scholar]
  19. Muñoz-Darias, T., Fender, R., Motta, S., & Belloni, T. 2014, MNRAS, 443, 3270 [CrossRef] [Google Scholar]
  20. Pantaleoni, M., Kirsch, M., Martin, J., McDonald, A., & Tuttlebee, M. 2012, in SpaceOps 2010 Conference Delivering on the Dream Hosted by NASA Marshall Space Flight Center and Organized by AIAA, 1980 [Google Scholar]
  21. Ponti, G., Morris, M., Terrier, R., et al. 2015, MNRAS, 453, 172 [NASA ADS] [CrossRef] [Google Scholar]
  22. Ponti, G., Hofmann, F., Churazov, E., et al. 2019, Nature, 567, 347 [Google Scholar]
  23. Schartel, N., González-Riestra, R., Kretschmar, P., et al. 2024, in Handbook of X-ray and Gamma-ray Astrophysics (Springer), 1501 [Google Scholar]
  24. Simonyan, K., & Zisserman, A. 2015, arXiv e-prints [arXiv:1409.1556] [Google Scholar]
  25. SOC, E. X.-N. 2024, “XMM-Newton Users Handbook”, issue 2.22 [Google Scholar]
  26. Spiga, D. 2011, A&A, 529, A18 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  27. Spiga, D. 2015, in Optics for EUV, X-Ray, and Gamma-Ray Astronomy VII, 9603, SPIE, 107 [Google Scholar]
  28. Spiga, D. 2016, in Space Telescopes and Instrumentation 2016: Ultraviolet to Gamma Ray, 9905, SPIE, 1951 [Google Scholar]
  29. Spiga, D., Cotroneo, V., Basso, S., & Conconi, P. 2009, A&A, 505, 373 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  30. Stockman, Y., Barzin, P., Hansen, H., et al. 1999, in X-Ray Optics, Instruments, and Missions II, 3766, SPIE, 51 [Google Scholar]
  31. Stockman, Y., Barzin, P.,Domken, I., et al. 2001, in Fourth International Symposium Environmental Testing for Space Programmes, 467, 11 [Google Scholar]
  32. Stramaccioni, D., Faust, T., & Hinger, J. 2000, SAE Trans., 499 [Google Scholar]
  33. Strüder, L., Briel, U., Dennerl, K., et al. 2001, A&A, 365, L18 [Google Scholar]
  34. Tanaka, Y. 1997, in Accretion Disks—New Aspects: Proceedings of the EARA Workshop Held in Garching, Germany, 21–23 October 1996 (Springer), 1 [Google Scholar]
  35. Virtanen, P., Gommers, R., Burovski, E., et al. 2021, https://doi.org/10.5281/zenodo.4406806 [Google Scholar]
  36. Virtanen, P., Gommers, R., Oliphant, T. E., et al. 2020, Nat. Methods, 17, 261 [Google Scholar]
  37. Wasserstein, R. L., & Lazar, N. A. 2016, The American Statistician, 70, 129 [Google Scholar]
  38. Watanabe, S. 2023, arXiv e-prints [arXiv:2304.11127] [Google Scholar]
  39. Wolter, H. 1952, Ann. Phys., 445, 94 [Google Scholar]

All Tables

Table 1

Coordinates and time of the main XMM-Newton observations.

Table 2

Best-fit values for the tilt parameters.

Table 3

Best-fit values for the tilt parameters.

All Figures

thumbnail Fig. 1

Observation 0932201101 performed around the LMXB GX5-1, showing an example of the presence of the stray light arcs for X-ray observations performed by Wolter I telescope with an off-axis source. The axes refer to pixel coordinates.

In the text
thumbnail Fig. 2

Representation of a sketch of a tilted optical axis. The tilted shell orientation is specified by the angles γ and ξ, in cylindrical coordinates. The source direction is specified by the angles θ, ι in the same reference frame.

In the text
thumbnail Fig. 3

Observations considered in the analysis of the stray light arcs. The quality of these observations depends on the shared aimpoint and relationship between the PA values. Also, the different time span covered helps to explore the time variability of the phenomenon.

In the text
thumbnail Fig. 4

Visual representation of the geometrical features of the arcs reproduced in this study, including bifurcations and different spacing among shells.

In the text
thumbnail Fig. 5

Stray light pattern generated with parametric Eqs. (1) and (2) considering a source at θ = 1° and ι = 3π/2. The number of shells generated is limited due to the geometric configuration of the telescope.

In the text
thumbnail Fig. 6

Illustration of a 1′ misalignment in different directions ξ (left panel), relative to a source located at ι = 3π/2, and the effects of varying the amplitude (right panel) while keeping the direction ξ fixed. We observe that the shell tilt can significantly affect the shape of the arc in the resulting image.

In the text
thumbnail Fig. 7

Simulation of the stray light arcs assuming uniformly sampled values for the parameters modeling the tilt in the intervals γ ∈ [0, 1]′ and ξ = ∈ [0, 2π]. This simulation yields a number of intersections between single-reflection traces, as expected from the XMM-Newton observation.

In the text
thumbnail Fig. 8

Sketch of the optical axis shift. The shift amplitude is labeled δ, whereas the shift orientation on the aperture plane is labeled ϵ.

In the text
thumbnail Fig. 9

Fourier spectrum of the observation 0720540401 (top-left panel) and the spectrum of the matrix resulting from the difference between 0720540401 and 0720540601 after being properly rotated according to their PAs (top-right panel). The top-left panel shows particular features associated with the stray light with weak counterparts in the right panel. These arc-shaped features were reproduced by applying the Fourier transform to a simulated matrix with uniformly distributed tilt parameters (bottom-left panel), producing the plot shown in the bottom-right panel. ωx and ωy represent the frequencies along the two axes.

In the text
thumbnail Fig. 10

Shell 16 analytically produced (blue arcs) and represented in observations 0720540501 (left) and 0720540601 (right) with no tilts. The association process outputs this shell as a plausible candidate for the two selected arcs (orange arcs).

In the text
thumbnail Fig. 11

Arc patterns reproduced for shells 16 and 17 in two different configurations. Left: arcs reproduced under the perfect mirror hypothesis. Right: configuration where shell 16 is misaligned with amplitudes γ = 1′ and ξ = 3π/2. The result of these combinations produces an interchange between the order in which the shells can be visualized on the detector.

In the text
thumbnail Fig. 12

Corner plot of the final distributions for the tilt parameters and the PAs for the 0720540501 and 0720540601 observations. The confidence interval σ is estimated by considering the 16% and 84% quantiles.

In the text
thumbnail Fig. 13

Fit obtained using the TPE algorithm minimizing the sum of the χ2 metrics calculated for the two observations with a simulated arc for shell 16. The combination of the two-parameter fit can reproduce the arc geometry (red arc), compared with the original produced, which was produced with no tilt (blue arc).

In the text
thumbnail Fig. 14

Representation of analytical shell 16 assuming the tilt parameters reported in Table 2 (red arcs), compared to the same shell produced assuming no tilt (blue arc). The best-fit values improve the similarity of the arc geometry in all three observations.

In the text
thumbnail Fig. 15

Representation of the distribution of the parameters obtained by the correlated fit performed for three observations. The confidence interval σ is estimated by considering the 16% and 84% quantiles.

In the text
thumbnail Fig. 16

Observation 0720540601 showing analytical arcs for shell 11 and shell 10 without tilts (left panel) and with best-fit parameters extrapolated from the SHADE pipeline (right panel). The golden and orange arcs represent the candidates chosen for parameter estimation.

In the text
thumbnail Fig. 17

Distributions of the tilts for the double arcs represented in Fig. 16 for shells 11 and 10.

In the text
thumbnail Fig. A.1

Shell profile of the XMM-Newton Observatory. The different slope and distance from the optical axis output the focus of the photons on the detector at a certain focal length.

In the text
thumbnail Fig. A.2

Reference frame configuration considered in this work for observation 0720540501, represented in its mirrored form. The task "ecoordconv" provides coordinates (θTEL, ιTEL) in the TelCoord frame, which is misaligned with respect to the NCP frame at an angle related to the PA. This reference frame is also misaligned with respect to the direction of the x-axis of the detector frame CAMCOORD1, represented by the dashed white line, whose center is placed in the gap of the CCDs. Computing the correct angle ι in the TelCoord frame, the angular difference between the PA and the x-axis of the NCP is taken into account. Since our purpose is to represent the optics in the TelCoord frame, we correct the pattern by accounting for the offset between the optical axis and the geometric center of the detector.

In the text
thumbnail Fig. B.1

Representation of the stray light pattern produced by both the parabola and the hyperbola with a ray-tracing routine considering N = 105 light rays for each shell. From this image, it is clear that the pattern features some important characteristics. It is easy to distinguish the impact of the reflections on the parabola and the hyperbola. Singly reflected rays by the parabola (red dots) generate a pattern, which does not intersect the area of the detector. Therefore, this pattern is not included in our analysis. Rays reflected by the hyperbola hit the detector, creating an arched pattern.

In the text
thumbnail Fig. B.2

Correspondence between the position of the arc and the shell. Shells with larger R0 are responsible for the arcs along the negative direction, −x, while shells with lower radii produce arcs that do not intersect the detector. The coordinates of this plot refer to the (x,y) focal plane in millimeters.

In the text
thumbnail Fig. B.3

Reflection points of single hyperbola photons for 33-58 shells (upper figure) and shells 1 to 33 (lower figure). These figures are crucial for estimating the contribution of the disposition of the shells to the stray light observed in the detector.

In the text
thumbnail Fig. B.4

Power spectrum of the LMXB GX5-1. This spectrum (blue line) is the result of the sum of a hard component represented by a black body (dashed black line) and a soft component represented by a multicolor black body (dashed red line). The spectrum also takes into account an absorption coefficient depending on the NH density at D = 4.7 kpc.

In the text
thumbnail Fig. B.5

Visual comparison of the three simulations performed with ray tracing. Top - Left: Results of the routine without considering the contributions of reflectivity and the baffle. Top-right: Pattern with the addition of reflectivity. Bottom - center: Contribution of the baffle and reflectivity. It is clear that the geometry of the pattern does not change with the addition of these two contributions but strongly depends on the geometry of the mirror module.

In the text
thumbnail Fig. B.6

Representation of the different impacts of the configurations considered on stray light rejection. First, the telescope’s geometrical configuration, defined by the spacing between the shells and the region of reflections, obscures 65% to 85% of the photons depending on the shell. The addition of reflectivity and the baffle increases the rejection power of the system, consistent with instrumental testing.

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.