Issue 
A&A
Volume 610, February 2018



Article Number  A61  
Number of page(s)  12  
Section  Stellar structure and evolution  
DOI  https://doi.org/10.1051/00046361/201731800  
Published online  28 February 2018 
Search for quasiperiodic signals in magnetar giant flares
Bayesian inspection of SGR 180620 and SGR 1900+14^{★}
Max Planck Institute for Astrophysics,
KarlSchwarzschildStr. 1,
85741
Garching, German
email: dpumpe@mpagarching.mpg.de
Received:
18
August
2017
Accepted:
17
November
2017
Quasiperiodic oscillations (QPOs) discovered in the decaying tails of giant flares of magnetars are believed to be torsional oscillations of neutron stars. These QPOs have a high potential to constrain properties of highdensity matter. In search for quasiperiodic signals, we study the light curves of the giant flares of SGR 180620 and SGR 1900+14, with a nonparametric Bayesian signal inference method called D^{3}PO. The D^{3}PO algorithm models the raw photon counts as a continuous flux and takes the Poissonian shot noise as well as all instrument effects into account. It reconstructs the logarithmic flux and its power spectrum from the data. Using this fully noiseaware method, we do not confirm previously reported frequency lines at ν ≳ 17 Hz because they fall into the noisedominated regime. However, we find two new potential candidates for oscillations at 9.2 Hz (SGR 180620) and 7.7 Hz (SGR 1900+14). If these are real and the fundamental magnetoelastic oscillations of the magnetars, current theoretical models would favour relatively weak magnetic fields B̅ ~ 6× 10^{13}–3 × 10^{14} G (SGR 180620) and a relatively low shear velocity inside the crust compared to previous findings.
Key words: Xrays: bursts / stars: magnetars / stars: oscillations / stars: neutron / methods: statistical
Data are only available at the CDS via anonymous ftp to cdsarc.ustrasbg.fr (130.79.128.5) or via http://cdsarc.ustrasbg.fr/vizbin/qcat?J/A+A/610/A61
© ESO 2018
Open Access article, published by EDP Sciences, under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0;), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
1 Introduction
The discovery of quasiperiodic oscillations (QPOs) in the giant flare of the magnetar SGR 180620 by Israel et al. (2005) may have been the first detection of neutron star oscillations and triggered a wealth of theoretical work explaining the reported frequencies. The giant flare was likely caused by a largescale reconnection or an interchange instability of the magnetic field (Thompson & Duncan 1995). Large amounts of energy are released as an expanding e^{±}pair plasma, observable as the initial spike of the giant flare. Parts of this plasma are trapped by the ultrastrong magnetic field and form a socalled trapped fireball (Thompson & Duncan 1995), which then slowly evaporates on a timescale of up to a few 100 s. The QPOs were detected in this decaying tail of the giant flare. Other groups have not only confirmed this detection, they even found additional oscillation frequencies in different magnetars: 18, 26, 29, 92, 150 , 625, and 1840 Hz in the giant flare of SGR 180620, and 28, 53, 84, and 155 Hz in the giant flare of SGR 1900+14 (e.g. Strohmayer & Watts 2005; 2006; Watts & Strohmayer 2006; Huppenkothen et al. 2014c). With different methods, more oscillation frequencies were found in the giant flare of SGR 180620 by Hambaryan et al. (2011) 17, 21, 36, 59, and 116 Hz. The number of giant flares at the time of writing is limited to three events. The more frequent but less energetic bursts of several magnetars have therefore also been investigated for frequencies, and some candidates were found: 57 Hz in SGR 180620 (Huppenkothen et al. 2014b), and at 93, 127, and 260 Hz in SGR J1550–5418 (Huppenkothen et al. 2014a).
It was soon realized that these frequencies are probably related to oscillations of the neutron star, and several groups tried to identify them as elastic oscillations of the crust (Duncan 1998; Messios et al. 2001; Strohmayer & Watts 2005; Piro 2005; Sotani et al. 2007; 2013, 2016; Samuelsson & Andersson 2007, 2009; Steiner & Watts 2009; Deibel et al. 2014), Alfvén oscillations (CerdáDurán et al. 2009; Sotani et al. 2008; Colaiuda et al. 2009), or coupled magnetoelastic oscillations (Levin 2006; 2007; Glampedakis et al. 2006; Gabler et al. 2011; 2012; Colaiuda & Kokkotas 2011; van Hoven & Levin 2011, 2012). The theoretical models based on the observed frequencies are very elaborate and may be able to constrain properties of highdensity matter as found in the interior of neutron stars. Some of the models, for instance, require a superfluid component in the core of the star (van Hoven & Levin 2011, 2012; Glampedakis et al. 2011; Passamonti & Lander 2013, 2014; Gabler et al. 2013; 2016, and in prep.). Different models depend sensitively on the identification of the fundamental oscillation frequency, and may not explain all of the observed frequencies. Even when the fundamental frequency is identified, the interpretation and parameter estimation is not yet straightforward because of degeneracies in the parameter space. However, keeping other stellar parameters fixed, some general trends of the fundamental oscillation frequency can be summarized as follows (see Gabler et al. 2016, and in prep. for a detailed discussion): i) The frequency scales linearly with the magnetic field strength. ii) It decreases with increasing compactness (Sotani et al. 2008). The compactness is related to the hardness of the equation of state (EOS): Material with a stiff equation of state is harder to compress, leading to larger radii and hence lower compactnesses. iii) It can only reach the surface for significantly strong magnetic fields , whose thresholds depend on the square root of the shear velocity (Gabler et al., in prep.).
It is of great importance to understand which of the frequencies are in the signal. In previous attempts at identifying possible frequencies in the light curve, the statistical noise of the detectors was not modelled consistently. To improve on this, we employ a Bayesian method that properly takes the photon shot noise as the largest contributor into account.
In this work, we reanalyse the data for the two giant flares of SGR180620 and SGR1900+14, which were obtained with the proportional counter array (PCA) of the Rossi XrayTiming Explorer (RXTE). The data are available online at the High Energy Astrophysics Science Archive Research Center (HEASARC). In Sect. 2 we briefly discuss our numerical approach to estimating the influence of the noise and to reconstructing the likely signal with a reduced contribution from the noise. The next section is devoted to the reconstruction and investigation of the light curves of the two giant flares of SGR 180620 and SGR 1900+14, which are then discussed in Sect. 4. We conclude our analysis in Sect. 5.
2 Inference of photon observations
Our goal is to reconstruct the light curve and possible frequencies of QPOs in giant Xray flares for the neutron stars SGR 180620 and SGR 1900+14 using the data taken by RXTE. Owing to experimental constraints such as limited data storage, finite time resolution of each photon count, finite detector size, and sensitivity, RXTE cannot record all physical relevant and available information of a continuous photon flux. Most importantly, the recorded photon counts contain significant photon shot noise. Hence, we have to use probabilisitic data analysis methods to obtain an estimate of the timedependent, continuous photon flux ϕ(t), including its uncertainties. Since the flux varies on a logarithmic scale, we reconstructed the logarithm of the flux s(t) = log(ϕ(t)/ϕ_{0} and its temporal power spectrum directly from the data.
In this context, it is natural to build the inference upon the Bayes theorem, allowing us to investigate the a posteriori probability distribution P(ϕd), stating how likely a given photon flux field ϕ is given the data set d . For the two data sets of SGR 180620 and SGR 1900+14, we assumed the data d to be the result of a Poisson process whose expectation value λ is given by the photon flux ϕ(t) of the photon burst convolved with the response operator R , (1)
The response operator encodes all instrument specifications and states how ϕ imprints itself on λ. Here, we only considered the readout deadtime periods of the instrument and neglected all other instrument responses. In Eq. (1) the constant ϕ_{0} absorbs numerical constants and the physical units of the time dependent log flux signal field s(t) = s. As the signal describes the logarithmic flux, we naturally ensured the positive definiteness of the photon flux. Since we analysed QPOs, it is expected that ϕ exhibits unknown but spatial correlations. Hence, we did not enforce any concrete spatial correlations. We only assumed ϕ to follow a multivariate lognormal statistic, with an a priori unknown covariance. Assuming stationary statistics, the underlying covariance is fully determined by a power spectrum P_{s}(v), described by P_{s}(v)= P_{0}e^{τ(v)}, to ensure positivity of the power spectrum. We inferred this power spectrum as well as ϕ from the data themselves by setting up a hierarchical prior model (Selig et al. 2015; Junklewitz et al. 2016; Pumpe et al. 2016; Enßlin & Frommert 2011; Enßlin & Knollmüller 2016). Hence the posterior of our Bayesian inference is given by (2) where P(dϕ,τ) is the likelihood describing how a potential photon flux ϕ including a certain covariance structure described by τ imprints itself in a potential data set. In addition to strong spectral peaks in the power spectrum induced by the almost discrete frequencies of QPOs, we enforce some kind of spectral smoothness on the logarithmic scale, favouring powerlaw spectra. This behaviour is enforced and tuned by the prior term P(τσ_{sm}) and its parameter σ_{sm } (Oppermann et al. 2013). If σ_{sm} → 0, infinite spectral smoothness is enforced, while σ_{sm } →∞ does not enforce any spectral smoothness. As we wish to be sensitive to spectral lines in the power spectrum, the influence of σ_{sm } on the inference is discussed in greater detail in Appendix A.
For the detailed mathematical rigorous derivation and discussion of the used D^{3}PO algorithm, we refer to Selig & Enßlin (2015) and Enßlin & Knollmüller (2016). The D^{3 } PO algorithm was successfully applied on the FermiLAT data (Selig et al. 2015). In order to handle high power spectrum resolutions as is needed to infer spectral lines in the power spectrum, we reimplemented the algorithm in NIFTy 3 (Steininger et al. 2017). The capabilities of the algorithm to analyse QPOs are demonstrated in the Appendix A to C.
3 Results
3.1 SGR 180620
We reanalysed the archival RXTE data of the giant flare of SGR 180620, which occurred on 2004 December 27. Owing to the high photon flux, the instrument telemetry was saturated, causing several data gaps in the first seconds of the flare. We therefore neglected the very beginning of the flare in the current analysis and started our investigation roughly 4.5 s after the initial rise, immediately after the third deadtime interval. However, we accounted for the only remaining operational down time of the instrument in our data between 7.3865 s ≤t ≤ 7.9975 s. For the analysis, we binned the data into pixels with a volume of 1∕800 s. To overcome the periodic boundary conditions introduced by the fastFourier transformation, which we used to switch between signal space and its harmonic space, we performed the signal inference on a regular grid with 2^{19 } pixel, each also with a volume of 1∕800 s, by adding sufficient buffer time.
In Fig. 1 we plot the inferred ϕ for the entire duration of the giant flare and for a selected period of time for a smoothness parameter σ_{sm } = 5 × 10^{5}. Our algorithm is able to significantly reduce the scatter of the light curve that is caused by the photon shot noise. Thus the reconstructed light curves can now be further analysed for potential periodic signals.
Figure 2 shows the reconstructed profiles of one pulse rotation period. There, the mean pulse profile is given as a thick black line, and all individual pulses are plotted in different colours. Dark blue are the first pulses that have a significantly lower second maxima around 5.5 s than the mean pulse. The major maximum (time ~ 3 s) is very close to the mean maximum. At intermediate times (green lines), both maxima of the pulse take their maximum values, roughly 40% and 130% more than at the beginning for the first and second maximum, respectively.At late times (red lines) the main peak declines by 40%, while the second maximum almost stays constant and has an amplitude similar to the main peak. This behaviour indicates a complex evolution of the fireball, or of the fireballs, if there are more than one.
The power spectrum of the entire flare is plotted in Fig. 3. The rotation period of the magnetar is recovered with the frequency of the first main peak ν_{0 } = 0.1323 Hz, which is very close to ν_{0} = 0.13249 Hz, as given in Olausen & Kaspi (2014). We are able to find up to the 31st overtone of this frequency at ν = 4.245 Hz. In Fig. 3b we show the reconstructed power spectrum P_{rec} from Fig. 3a in black together with the power spectrum obtained from the reconstructed light curve (Fig. 1a) P_{s(t)}(v) in red. At low frequencies, that is, ν ≲ 3 Hz, the two spectra are in good agreement, as the reconstruction is well constrained by the data on large scales. Between 3 Hz ≲ ν ≲ 20 Hz, the inference algorithm enters the regime of a lower signaltonoise ratio (S/N), which in principle leads to noisier P_{rec } . However, this natural behaviour is counteracted by the smoothnessenforcing prior. At higher ν ≳ 20 Hz, the shapes of both spectra start to deviate significantly. The reason for this is that in the noisedominated frequency regime, D^{3 } PO filters out the photon shot noise. From a naive perspective, smallscale features in the signal therefore need to be significantly strong in order to be detectable after a pure photon shot noise filtering operation on the data set. However, D^{3 } PO accounts for the power loss of this filtering when it reconstructs the power spectrum from the data themselves. Thus, Fig. 3b indicates that above 20 Hzthe data are noise dominated, and spectral features there have to be very strong to be recognisable. To test the dependence of our method on the chosen smoothness prior σ_{sm} as discussed also in Appendix A, we additionally calculated the reconstructed light curve and its corresponding power spectrum for σ_{sm} = 10^{5}. The latter is given in Fig. 3c. Obviously, a smaller σ_{sm} leads to a smoothing of the spectrum and the algorithm suppresses the detection of periodic signals at higher frequencies. We found σ_{sm} = 5 × 10^{5} to be the optimal value to still observe power in the Fourier transform at higher frequencies. For higher values of σ_{sm}, we qualitatively obtain similar but more noisy results for the reconstructed light curve and the corresponding power spectra.
In addition to the obvious peaks that are related to the rotation period and the corresponding overtones, there are still other features in the reconstructed power spectrum of Fig. 3a that seem to have higher powers than the noise. To estimate the significance of these spectral peaks, we calculated a residual χ between the inferred logspectrum τ and its local median τ̄ weighted with the local variance σ, (3)
The local median and local variance were calculated over a window of 401 pixels, corresponding to a frequency window of approximately 1 Hz. In the top panel of Fig. 5 we plot the histogram of χ_{0}, where the index 0 refers to the fundamental frequency, that is, χ at the respective frequency. The resulting distribution deviates significantly from a Gaussian, as there is a significant excess for large χ_{0}. These counts can easily be identified with the highest spectral peaks in Fig. 3a as integer multiples of the neutron star rotation frequency of ν_{0} = 0.1323 Hz. The fat tails of the distribution make it hard to identify whether a peak sticks out of the tail, in particular for χ_{0 } ≳ 10. For χ_{0 } ≳ 15 all peaks can be identified and are related to the neutron star rotation period, except for one at ν ~ 9.187 Hz. In Table 1 we show all frequencies that have χ_{0 } > 11 to have a selection of possible oscillation candidates. If there are two or more neighbouring frequencies with χ_{0 } > 11, we list the highest value.
All other candidates in Table 1 have significantly lower χ than the oscillation at 9.187 Hz and are consistent with being in the tail of the distribution that is shown in the top panel of Fig. 5. This indicates that these are artefacts of the Poisson noise.
We also checked the χ_{0} values of previously reported frequencies. None of them reach more than χ_{0} ≳ 5. We therefore extended our search in a ± 5% interval around the frequencies in Table 2. The only frequency higher than χ_{0 } = 11 is at ν = 16.27 Hz. Thus all reported lines are consistent with noise. However, we already see an interesting pattern emerging: In Table 2 we locally (within the ± 5% interval) find the highest powers at 18.265 and 36.412 Hz. These are almost twice and four times the only significant frequency at ν= 9.187 Hz that our method detects beyond the rotational frequency and its first 31 harmonics. In Fig. 4 we plot the reconstructed power spectrum around the ν = 9.187 Hz candidate oscillation (black line) and its first overtone (red line). The amplitude at ν = 9.187 Hz is significantly larger (factor 2) than other amplitudes in the shown frequency range, while the amplitude at ν = 18.265 Hz is comparable with other spectral peaks. As discrete frequencies in a power spectrum are likely to show spectral peaks at integer multiplies of a ground frequency, we also display the twodimensional histogram of the calculated weighted residual χ_{0 } at some ground frequency on the xaxis and its first harmonics χ_{1} on the yaxis in the bottom panel of Fig. 5. We marked all counts with χ_{1} ≥ 5 and χ_{0} ≥ 10 with their corresponding frequency in Hz. We find about ten frequencies that satisfy this criterium. Obviously, all but the frequencies around ν ~ 9.186 Hz are integer multiples of the rotation frequency ν_{0 } .
This further increases our confidence that ν ~ 9.186 Hz is a candidate for an additional periodic signal in the data. We do not find any significant features for frequencies higher than the corresponding overtones that the algorithm recovered at ν ~ 18.265 Hz and ν ~ 36.412 Hz.
Fig. 1 Reconstructed light curve of the giant flare of SGR 18062 using a smoothnessenforcing prior, with σ_{sm } = 5 × 10^{5}. The grey narrow rectangle indicates the operational down time of the instrument. For better visibility, we plot the light curve between ≈164 s and ≈174 s in Figure 1b. In addition to the raw photon counts (black dots), the black line indicates the reconstruction of the expected photon counts, i.e. λ as well as its oneσ confidence interval. Owing to the high resolution of the photon flux, only every fourth point of the regular grid is plotted. In both plots each pixel has a duration of 1∕800 s. 
Fig. 2 Pulse profiles of different rotation periods overplotted as given in Fig. 1a. The temporal evolution of the pulse profile is visible from blue to green to red. The mean pulse is shown as a thick black line. All pulses are shifted such that their logmeans are zero. 
Fig. 3 Reconstructed power spectra of the giant flare of SGR 180620: For Figure 3a and Figure 3c we used smoothnessenforcing priors with σ_{sm } = 5 × 10^{5} and σ_{sm} = 10^{5}, respectively. The uncertainty intervals are given as grey shaded areas. In Figure 3b we show the reconstructed power spectrum again from the data themselves as in Figure 3a, along with the power spectrum of the logarithmic reconstructed light curve of Fig. 1a. Because of the high resolution of the reconstructed power spectra, only every fourth point of the regular grid is plotted. Each pixel has a volume of 1∕655 Hz. 
All frequencies above 3.5 Hz with χ_{0 } > 11 and their multiplicity n of the rotation period ν_{0} = 0.13249 Hz for SGR 180620.
Maximum χ_{0} at ν_{max } in a 5% interval around previously observed oscillation frequencies ν for SGR 180620.
Fig. 4 Zoomedin view of the reconstructed power spectra of giant flare SGR 180620 around ν ~ 9.186 Hz in black and its first overtone around ν ~ 18.265 Hz in red. The spectra correspond to σ_{sm } = 5 × 10^{5} as in Fig. 3a. 
Fig. 5 Top panel: histogram of the residuals between the logarithmic power spectrum of Fig. 3a and its local median, weighted with its local variance σ. Bottom panel: twodimensional histogram of the same quantity at some frequency at the xaxis and its first harmonic at the yaxis. In addition, we indicate for all counts with χ_{1 } ≥ 5 and χ_{0 } ≥ 10 the corresponding frequency in Hertz and its multiple of the neutron star frequency, ν_{0 } = 0.1323 Hz. To generate the histograms, we used the power spectrum shown in Fig. 3a, i.e. σ = 5 × 10^{5}. 
3.2 SGR 1900+14
Analogouslyto SGR 180620, we also reanalysed the archival RXTE data of the giant flare of SGR 1900+14 that occurred on 1998 August 27. The resolution of the signal field is again 1∕800 s, but here we only used2^{18} pixels, as the giant flare did not last as long as that of SGR 180620. The operational down times^{2}of RXTE during the observation were taken into account for the inference.
As for SGR180620, we were able to recover the frequency corresponding to the rotation as ν_{0 } = 0.1938 Hz, which is consistent with the reported ν_{0 } = 0.1923 Hz (Olausen & Kaspi 2014). For SGR 1900+14, the corresponding spectrum with the same smoothness prior σ_{sm } = 5 × 10^{5} is more noisy because of the various operational down times of the instrument, which are marked grey in Fig. 6. In Fig. 6b, we show a snapshot of the entire reconstructed light curve for a more detailed view. Even though no data were recorded between 88.245 s ≤ t ≤ 95.1375 s, the algorithm was able to infer a light curve by extrapolating from the dataconstrained regions. This extrapolation is mainly driven by periodic features appearing in the data. As a further natural consequence, the oneσ confidence interval increases drastically during down times. In total, these multiple operational down times of the instrument lead to fewer observed photons and in consequence to a weaker constrained reconstruction of the light curve as well as its power spectrum. Since a smoothnessenforcing prior σ_{sm } = 5 × 10^{5} does not sufficiently denoise the light curve, we used a slightly stronger prior, σ_{sm} = 10^{5} (Fig. 6d), for our further analysis.
With the same detection threshold as before, χ_{0 } > 11, we find twocandidate frequencies at 7.693 and 11.768 Hz, see Table 3.
In Table 4 we give the maximum χ_{0 } around previously observed frequencies. As for SGR 180620, we cannot confirm any of the previously detected frequencies, the highest significance we see is χ_{0 } > 5.4 for 28.0 Hz. We further investigated our combined criterium, but now reduced to the giant flare of SGR 1900+14 compared to the flare of SGR 180620. Figure 9 shows only one additional frequency at ν = 7.695 Hz, which strengthens our confidence in the previous finding in Table 3 at ν = 7.693 Hz. In Fig. 7 we overplot the reconstructed power spectra around ν = 7.693 Hz (black line) and its first overtone (red line). These two peaks are the largest in the given frequency range.
We plot the time evolution of the different pulses of SGR 1900+14 in Fig. 8. As before, blue indicates the beginning of the flare, green the middle, and red the end. Here, the data are of inferior quality compared to the SGR 180620 and the parts of the curves without significant short timevariability are purely reconstructed by our algorithm. For SGR 1900+14 we observed four maxima, which also evolved differently compared to each other. For example, the weakest maximum (time ~ 1 s) declines almost monotonically with time, while the others remain rather constant with far less variability in time.
In orderto facilitate secondary studies based on our reconstructions and spectra, we provide these data online at the CDS.At www.mpagarching.mpg.de/ift/data/QPO we also provides interactive plots of Figs. 6, 1, and 3 for more detailed views.
All frequencies with χ_{0 } > 11 and their multiplicity n of the rotation period ν_{0} = 0.1938 [Hz] for SGR 1900+14.
Maximum χ_{0} at ν_{max } in a 5% interval around previously observed oscillation frequencies ν for SGR 1900+14.
Fig. 6 Figure 6a shows the reconstructed light curve ϕ for SGR 1900+14. The grey rectangles indicate the operational down times of the instrument. Figure 6b: snapshot of the entire reconstruction between ≈80 s and ≈91 s. For t ≳ 88 the instrument had an operational down time, leading to zero counts in this time interval. Figure 6c and Figure 6d: reconstructed power spectra as well as their uncertainties, using a smoothnessenforcing prior with σ_{sm} = 5 × 10^{5} and σ_{sm} = 10^{5}, respectively. The plots have the same volumes and sampling rate as in Fig. 1. 
Fig. 7 Zoomedin view of the reconstructed power spectra of the giant flare SGR 1900+14 around ν ~ 7.693 Hz in black and its first overtone around ν ~ 15.386 Hz in red. The plot corresponds to σ_{sm } = 1 × 10^{5} as in Fig. 6d. 
Fig. 8 Pulse profiles of different rotation periods overplotted for SGR 1900+14. The temporal evolution of the pulse profile is visible from blue to green to red. Smooth curves without significant short timevariability are reconstructed during instrument deadtimes. 
Fig. 9 Same as in Fig. 5 for the SGR 1900+14 event, with σ = 10^{5 } . We indicate for all counts with χ_{0 } ≥ 5 and χ_{1 } ≥ 5 the corresponding frequency in Hertz and its multiple of the neutron star frequency ν_{0 } = 0.1938 Hz. 
4 Discussion
We recovered the rotation period of the two magnetars ν^{1806} = 0.1323 Hz and ν^{1900} = 0.1938 Hz, and up to the 31th overtone for SGR 180620 (χ_{0} > 11) and to the 18th for SGR 1900+14 (χ_{0} > 7.5). In addition, we only found potential periodic signals at 9.2 Hz (SGR180620) and 7.7 Hz (SGR1900+14), which are significant in χ_{0 } and in the combination of χ_{0} and χ_{1} according to our respective criterium. For SGR 1900+14 and with the single criterium on χ_{0 } , we found another candidate frequency at ν = 11.8 Hz, with a similar χ_{0} as the signal at 7.7 Hz, but without detected overtones. Therefore we only consider ν = 7.7 Hz as a potential signal. The most robust feature is at 9.2 Hz for SGR 180620, it has the highest χ_{0 } , and we detect some of its overtones as local maxima in χ_{0 } at 18.3 and 36.4 Hz, respectively. The two latter frequencies are similar to previously reported frequencies at 17.9 (Watts & Strohmayer 2006) and 36.8 Hz (Hambaryan et al. 2011).
Although the reimplemented Bayesian inference algorithm D^{3 } PO proved (see Appendix A–C) its basic ability to reconstruct QPO in photon bursts in many tests, even in the low S/N regime, we cannot confirm the previously reported frequencies at 17, 21, 26, 29, 59, 92.5, 116, and 150 Hz for SGR 180620 and 28, 53, 84, and 155 Hz for SGR 1900+14. In particular, we show in Appendix C that our algorithm is able to recover sufficiently strong quasiperiodic signals around 90 Hz with a width of ~0.6 Hz.
Our analysis and therefore all reconstructed power spectra and reconstructed photon fluxes depend on the particular chosen smoothnessenforcing prior σ_{sm}. Selecting a smaller σ_{sm} allows the algorithm to denoise the power spectrum even at low S/N. However, at high frequencies, the small σ_{sm} leads to a lower sensitivity for spectral lines. Therefore, a tradeoff needs to be found for σ_{sm} between better denoising (small σ_{sm}) and better sensitivity (large σ_{sm}). Owing to the sharply deteriorating S/N for frequency ranges around 625 Hz and 1840 Hz, which would require a very small σ_{sm}, we are currently not able to investigate these frequencies for QPOs.
We assume that our findings hold and determine the effect that the results have on the interpretation of the theoretical model of magnetar oscillations. First of all, the new candidate frequencies at 9.2 and 7.7 Hz for SGR180620 and SGR1900+14, respectively, are much lower than the frequencies reported so far. Here, our method has a clear advantage over previous studies, as we can analyse the entire data set at once, meaning that no parts of the data set are left out. In principle, this leads to a more robust reconstruction and also counteracts statistical artefacts that may be introduced by a windowed analysis. Our method is fully noiseaware and has in principle no problems with observational dead times. If these two frequencies are related to neutron star oscillations, the parameters of current models change significantly. When we assume that the oscillations are pure crustal shear modes, the identification of the low frequency with the n = 0, l = 2 mode would favour models with rather low shear speeds and therefore EoS with a fast increase of symmetry energy (Steiner & Watts 2009). However, pure shear models are not very likely because of the strong interaction with the magnetic field in the interior of the star (Levin 2006; 2007; Gabler et al. 2011; 2012). If the magnetic field is not neglected, coupled magnetoelastic oscillations need to be considered. In this case, the much lower fundamental oscillation frequency indicates a magnetic field of the order of B̅ ~ 6× 10^{13}–3 × 10^{14} G, lower by a factor of ~3 than our estimates in Gabler et al. (2013). With such weak magnetic fields, the oscillations would also remain confined to the core for models with very strong shear modulus, and there would be no chance to observe the oscillations exterior to the star. Therefore, similarly to the case of pure crustalshear oscillations, the low frequencies of 9.2 or 7.7 Hz favour EoSs that give a small shear modulus. However, the estimation of the magnetic field strength has some serious problems : i) The spindown estimate is only accurate to a factor of a few. ii) The particular magnetic field configuration inside a magnetar is unknown, meaning that even for dipolarlike fields in the exterior, there are different possible realization in the interior. iii) In addition to the degeneracies of the dipolar magnetic field strength and the magnetic field configuration, which lead to comparable frequencies, the compactness of the neutron star and the superfluid properties of the core matter also influence the frequencies significantly (Galber et al., in prep.). In order to advance and to lift some of these degeneracies, we need more observationsof QPOs, and if possible, observations for different sources.
In respect of the potential of improving our method by modelling the spectra as an independent combination of a continuum and lines, we postpone a more thorough discussion of these consequences to future work. We also plan to improve our algorithm by taking the deadtime after each photon detection into account and include further instrument responses. However, we expect these improvements to increase ourdetection limits only by about a few per cent.
We have furthermore shown the capability of our code D^{3 } PO to denoise and recover the shape of the light curve. This may have interesting applications in the field of modelling the pulses of Xray bursters.
5 Conclusion
We have applied a new Bayesian method, D^{3 } PO to analyse timeseries data of the giant flares of SGR 180620 and SGR 1900+14. Thereby, we ensured that the photon shot noise, operational down times of the instrument, and the a priori unknown power spectrum of the photon flux were taken into account. In order to denoise and reconstruct the logarithmic photon flux and its power spectrum simultaneously from the data, we had to assume some kind of spectral smoothness on the power spectrum to counteract data variance. Our analysis cannot confirm previous findings of QPOs in the giant flare data, but we found new candidates for periodic signals at 9.2 Hz for SGR 180620 and 7.7 Hz for SGR1900+14. If these are real and related to the lowest frequency oscillation of the magnetar, our results favour highcompactness, weaker magnetic fields than were assumed before, and low shear moduli. The necessary application of a smoothnessenforcing prior results in a reduced sensitivity to the spectral line in the power spectrum. Hence, we propose for future work to decompose the power spectrum into two components, one smooth background spectrum, and one consisting of spectral lines. In this way, the previously reportedlines may be confirmed or refuted with higher confidence, or additional and as yet unknown frequencies in QPOs might be discovered.
Acknowledgements
We would like to thank Martin Reinecke forhis computational and numerical support, and Ewald Müller and the anonymous referee for their fruitful discussions and comments. Furthermore, we would like to acknowledge Anna Watts, Phil Uttley, and Daniela Huppenkothen for a controversial debate. Work supported by the ERC Advanced Grant no. 341157COCO2CASA. This research hasmade use of data and/or software provided by the High Energy Astrophysics Science Archive Research Center (HEASARC), which is a service of the Astrophysics Science Division at NASA/GSFC and the High Energy Astrophysics Division of the Smithsonian Astrophysical Observatory.
Appendix A Influence of the smoothness enforcing parameter σ
To demonstrate the performance of the Bayesian inference algorithm, we challenged the new implementation of the algorithm with mock data. To do so, we drew Poisson samples from λ = Re^{s}. For simplicity, we assumed R to be the identity operator. The signal field s was drawn from a Gaussian random field s↩"G" (s, S), with (A.1) with ν_{0} = 1 absorbing the physical units. To test whether the algorithm can reconstruct discrete frequencies as well, we further injected four δpeaks into s_{v′′} at randomly chosen positions. The peak heights decrease at higher frequencies to be as realistic as possible. For the test we used a onedimensional regular grid with with 2^{16} pixels, each with a volume of 1∕1000 s.
In Fig. A.1 we tested the principle capabilities of the algorithm under the abovementioned setting while varying the strength of the smoothness enforcing parameter σ_{sm}. In the scenario of σ_{sm} = 10^{4}, shown in Figs. A.1 and A.1, the algorithm was able to recover the signal as well as the power spectrum well within the oneσ confidence interval. However, the two highest injected frequencies could not be recovered, as their injected strength and therefore their effect on the data was too weak to be distinguished from the Poisson shot noise.
Fig. A.1 Reconstruction, i.e. map and power spectra from mock data, created according to Appendix A. For clarity, Figure A.1a only shows a snapshot of the events between 32.8 s ≲ t ≲ 33 s. In addition to the raw photon counts, the black line shows the original signal s , as well as the reconstruction in red, including its uncertainty. Figure A.1b shows the reconstructed power spectra as well as its uncertainty, as in Fig. A.1a, using a smoothnessenforcing prior with σ_{sm } = 10^{4}. Fig. A.1c, shows a reconstructed power spectrum with a weaker smoothnessenforcing prior with σ_{sm} = 10^{5}. 
In comparison to Figs. A.1b, A.1c show the reconstructed power spectrum using a significantly weaker smoothness enforcing σ_{sm} = 10^{5}. As a first obvious consequence, the local variance of the spectrum increases by multiple orders of magnitude. However, the same two frequencies as with the stronger σ_{sm } were clearly recovered. As a further consequence of the smaller σ_{sm } , the power spectrum does not fully recover the shape of s_{v′′} as it picks up more noise features from the recovered map and data. For a detailed discussion and mathematical derivation of this smoothnessenforcing parameter, we refer to Oppermann et al. (2013).
Appendix B Recovery of spectral lines at high frequencies
Now we estimate how strong periodic oscillations must be in order to be detectable in the reconstructed power spectrum. To be as close as possible to a realistic scenario, we manipulated the reconstructed photon flux of event SGR 180620. We added a periodic signal with discrete frequencies at 18.0, 26.0, 30.0, and 90.0 Hz to the reconstructed ϕ shown in Fig. 1a. The relative strength of this additional photon flux was varied, between 10^{2 } and 10^{5 } times stronger than the local power of the injected frequencies. From these manipulated fluxes, we again drew Poisson samples and let the algorithm recover the power spectrum and the flux.
Figure B.1 shows the reconstructed power spectra. In the setting of the top panel, we were only able to recover the injected frequency at 18 Hz, the other three could not be inferred as their strength of 10^{2 } compared tothe local power was too weak to be identified as part of the signaland not the Poisson shot noise. However, as the oneσ confidence interval of the reconstructed spectrum at 18 Hz ≲ ν ≲ 40 Hz increases, the algorithm is just at the S/N threshold at which it is able to reconstruct discrete frequencies. If the injected strength of the frequencies, that is, the amplitude of the injected signal, becomes larger, as in Fig B.1, the algorithm can infer all frequencies.
Fig. B.1 Reconstructed power spectrum, according to the test scenario described in Appendix B. The strengths of the injected frequencies are 10^{2 } (top) and 10^{5} (bottom) times stronger than the local power at these frequencies. The displayed uncertainties indicate the oneσ confidence interval. 
Hence, we may conclude that if the data show periodic signals at high frequencies with sufficient strength, they can be reconstructed by the algorithm. The strength of the periodic signal must therefore be at least 10^{2 } times stronger than the local power of the signal in order to give a significant imprint on the reconstructed power spectrum.
Appendix C Recovery of quasiperiodic oscillations
Here, we estimate how strong QPOs have to be for our algorithm to still find a significant signal in the reconstructed power spectrum. Similar to Appendix B, we used the reconstructed photon flux, Fig. 1a of event SGR 180620, and added a quasiperiodic signal at around 20 Hz and 90 Hz. We assumed that the power spectrum of a QPO has an approximately Gaussian shape with variance σ ≈0.6. From this manipulated flux, we drew Poisson samples and let the algorithm recover the power spectrum and the flux. Figure C.1 shows the power spectrum of the Poissonian photon counts for a pure QPOlike injected signal, smoothed with a Gaussian convolution kernel whose variance is the same as that of the injected QPO. The reconstructed power spectrum is shown in Fig. C.2. The S/N around 20 Hz is much higher than the S/N around 90 Hz. Therefore, the QPO at 20 Hz has a significantly larger amplitude in the reconstructed power spectrum than that around 90 Hz. The strength of the injected QPO at 90 Hz is just at the threshold to give a significant signal in the reconstructed power spectrum. Thus, we may conclude that at this frequency, a QPO has to have a Leahy power of the order of 3 in order be detectable by D^{3}PO.
Fig. C.1 Smoothed Leahy power of the injected pure QPOlike signal. The two QPOs at 20 Hz and 90 Hz were reconstructed by D^{3 } PO, Fig. C.2. 
Fig. C.2 Reconstructed power spectrum according to the QPO injection test described in Appendix C. The displayed uncertainties indicate the oneσ confidence interval. 
References
 CerdáDurán, P., Stergioulas, N., & Font, J. A. 2009, MNRAS, 397, 1607 [NASA ADS] [CrossRef] [Google Scholar]
 Colaiuda, A., & Kokkotas, K. D. 2011, MNRAS, 414, 3014 [NASA ADS] [CrossRef] [Google Scholar]
 Colaiuda, A., Beyer, H., & Kokkotas, K. D. 2009, MNRAS, 396, 1441 [NASA ADS] [CrossRef] [Google Scholar]
 Deibel, A. T., Steiner, A. W., & Brown, E. F. 2014, Phys. Rev. C, 90, 025802 [NASA ADS] [CrossRef] [Google Scholar]
 Duncan, R. C. 1998, ApJ, 498, L45 [NASA ADS] [CrossRef] [Google Scholar]
 Enßlin, T. A., & Frommert, M. 2011, Phys. Rev. D, 83, 105014 [NASA ADS] [CrossRef] [Google Scholar]
 Enßlin, T. A., & Knollmüller, J. 2016, ArXiv eprints [arXiv:1612.08406] [Google Scholar]
 Gabler, M., Cerdá Durán, P., Font, J. A., Müller, E., & Stergioulas, N. 2011, MNRAS, 410, L37 [NASA ADS] [Google Scholar]
 Gabler, M., CerdáDurán, P., Stergioulas, N., Font, J. A., & Müller, E. 2012, MNRAS, 421, 2054 [NASA ADS] [CrossRef] [Google Scholar]
 Gabler, M., CerdáDurán, P., Stergioulas, N., Font, J. A., & Müller, E. 2013, Phys. Rev. Lett., 111, 211102 [NASA ADS] [CrossRef] [Google Scholar]
 Gabler, M., CerdáDurán, P., Stergioulas, N., Font, J. A., & Müller, E. 2016, MNRAS, 460, 4242 [NASA ADS] [CrossRef] [Google Scholar]
 Glampedakis, K., Samuelsson, L., & Andersson, N. 2006, MNRAS, 371, L74 [NASA ADS] [CrossRef] [Google Scholar]
 Glampedakis, K., Andersson, N., & Samuelsson, L. 2011, MNRAS, 410, 805 [NASA ADS] [CrossRef] [Google Scholar]
 Hambaryan, V., Neuhäuser, R., & Kokkotas, K. D. 2011, A&A, 528, A45 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Huppenkothen, D., D’Angelo, C., Watts, A. L. et al. 2014a, ApJ, 787, 128 [NASA ADS] [CrossRef] [Google Scholar]
 Huppenkothen, D., Heil, L. M., Watts, A. L., & Göğüş, E. 2014b, ApJ, 795, 114 [NASA ADS] [CrossRef] [Google Scholar]
 Huppenkothen, D., Watts, A. L., & Levin, Y. 2014c, ApJ, 793, 129 [NASA ADS] [CrossRef] [Google Scholar]
 Israel, G. L., Belloni, T., Stella, L., et al. 2005, ApJ, 628, L53 [NASA ADS] [CrossRef] [Google Scholar]
 Junklewitz, H., Bell, M. R., Selig, M., & Enßlin, T. A. 2016, A&A, 586, A76 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Levin, Y. 2006, MNRAS, 368, L35 [NASA ADS] [CrossRef] [Google Scholar]
 Levin, Y. 2007, MNRAS, 377, 159 [NASA ADS] [CrossRef] [Google Scholar]
 Messios, N., Papadopoulos, D. B., & Stergioulas, N. 2001, MNRAS, 328, 1161 [NASA ADS] [CrossRef] [Google Scholar]
 Olausen, S. A., & Kaspi, V. M. 2014, ApJS, 212, 6 [NASA ADS] [CrossRef] [Google Scholar]
 Oppermann, N., Selig, M., Bell, M. R., & Enßlin, T. A. 2013, Phys. Rev. E, 87, 032136 [NASA ADS] [CrossRef] [Google Scholar]
 Passamonti, A., & Lander, S. K. 2013, MNRAS, 429, 767 [NASA ADS] [CrossRef] [Google Scholar]
 Passamonti, A., & Lander, S. K. 2014, MNRAS, 438, 156 [NASA ADS] [CrossRef] [Google Scholar]
 Piro, A. L. 2005, ApJ, 634, L153 [NASA ADS] [CrossRef] [Google Scholar]
 Pumpe, D., Greiner, M., Müller, E., & Enßlin, T. A. 2016, Phys. Rev. E, 94, 012132 [NASA ADS] [CrossRef] [Google Scholar]
 Samuelsson, L., & Andersson, N. 2007, MNRAS, 374, 256 [NASA ADS] [CrossRef] [Google Scholar]
 Samuelsson, L., & Andersson, N. 2009, Class. Quant. Grav., 26, 155016 [NASA ADS] [CrossRef] [Google Scholar]
 Selig, M., & Enßlin, T. 2015, A&A, 574, A74 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Selig, M., Vacca, V., Oppermann, N., & Enßlin, T. A. 2015, A&A, 581, A126 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Sotani, H., Kokkotas, K. D., & Stergioulas, N. 2007, MNRAS, 375, 261 [NASA ADS] [CrossRef] [Google Scholar]
 Sotani, H., Kokkotas, K. D., & Stergioulas, N. 2008, MNRAS, 385, L5 [NASA ADS] [CrossRef] [Google Scholar]
 Sotani, H., Nakazato, K., Iida, K., & Oyamatsu, K. 2013, MNRAS, 428, L21 [NASA ADS] [CrossRef] [Google Scholar]
 Sotani, H., Iida, K., & Oyamatsu, K. 2016, New A, 43, 80 [NASA ADS] [CrossRef] [Google Scholar]
 Steiner, A. W., & Watts, A. L. 2009, Phys. Rev. Lett., 103, 181101 [NASA ADS] [CrossRef] [PubMed] [Google Scholar]
 Steininger, T., Dixit, J., Frank, P., et al. 2017, ArXiv eprints [arXiv:1708.01073] [Google Scholar]
 Strohmayer, T. E., & Watts, A. L. 2005, ApJ, 632, L111 [NASA ADS] [CrossRef] [Google Scholar]
 Strohmayer, T. E., & Watts, A. L. 2006, ApJ, 653, 593 [NASA ADS] [CrossRef] [Google Scholar]
 Thompson, C., & Duncan, R. C. 1995, MNRAS, 275, 255 [NASA ADS] [CrossRef] [Google Scholar]
 van Hoven, M. & Levin, Y. 2011, MNRAS, 410, 1036 [NASA ADS] [CrossRef] [Google Scholar]
 van Hoven, M., & Levin, Y. 2012, MNRAS, 420, 3035 [NASA ADS] [CrossRef] [Google Scholar]
 Watts, A. L., & Strohmayer, T. E. 2006, ApJ, 637, L117 [NASA ADS] [CrossRef] [Google Scholar]
All Tables
All frequencies above 3.5 Hz with χ_{0 } > 11 and their multiplicity n of the rotation period ν_{0} = 0.13249 Hz for SGR 180620.
Maximum χ_{0} at ν_{max } in a 5% interval around previously observed oscillation frequencies ν for SGR 180620.
All frequencies with χ_{0 } > 11 and their multiplicity n of the rotation period ν_{0} = 0.1938 [Hz] for SGR 1900+14.
Maximum χ_{0} at ν_{max } in a 5% interval around previously observed oscillation frequencies ν for SGR 1900+14.
All Figures
Fig. 1 Reconstructed light curve of the giant flare of SGR 18062 using a smoothnessenforcing prior, with σ_{sm } = 5 × 10^{5}. The grey narrow rectangle indicates the operational down time of the instrument. For better visibility, we plot the light curve between ≈164 s and ≈174 s in Figure 1b. In addition to the raw photon counts (black dots), the black line indicates the reconstruction of the expected photon counts, i.e. λ as well as its oneσ confidence interval. Owing to the high resolution of the photon flux, only every fourth point of the regular grid is plotted. In both plots each pixel has a duration of 1∕800 s. 

In the text 
Fig. 2 Pulse profiles of different rotation periods overplotted as given in Fig. 1a. The temporal evolution of the pulse profile is visible from blue to green to red. The mean pulse is shown as a thick black line. All pulses are shifted such that their logmeans are zero. 

In the text 
Fig. 3 Reconstructed power spectra of the giant flare of SGR 180620: For Figure 3a and Figure 3c we used smoothnessenforcing priors with σ_{sm } = 5 × 10^{5} and σ_{sm} = 10^{5}, respectively. The uncertainty intervals are given as grey shaded areas. In Figure 3b we show the reconstructed power spectrum again from the data themselves as in Figure 3a, along with the power spectrum of the logarithmic reconstructed light curve of Fig. 1a. Because of the high resolution of the reconstructed power spectra, only every fourth point of the regular grid is plotted. Each pixel has a volume of 1∕655 Hz. 

In the text 
Fig. 4 Zoomedin view of the reconstructed power spectra of giant flare SGR 180620 around ν ~ 9.186 Hz in black and its first overtone around ν ~ 18.265 Hz in red. The spectra correspond to σ_{sm } = 5 × 10^{5} as in Fig. 3a. 

In the text 
Fig. 5 Top panel: histogram of the residuals between the logarithmic power spectrum of Fig. 3a and its local median, weighted with its local variance σ. Bottom panel: twodimensional histogram of the same quantity at some frequency at the xaxis and its first harmonic at the yaxis. In addition, we indicate for all counts with χ_{1 } ≥ 5 and χ_{0 } ≥ 10 the corresponding frequency in Hertz and its multiple of the neutron star frequency, ν_{0 } = 0.1323 Hz. To generate the histograms, we used the power spectrum shown in Fig. 3a, i.e. σ = 5 × 10^{5}. 

In the text 
Fig. 6 Figure 6a shows the reconstructed light curve ϕ for SGR 1900+14. The grey rectangles indicate the operational down times of the instrument. Figure 6b: snapshot of the entire reconstruction between ≈80 s and ≈91 s. For t ≳ 88 the instrument had an operational down time, leading to zero counts in this time interval. Figure 6c and Figure 6d: reconstructed power spectra as well as their uncertainties, using a smoothnessenforcing prior with σ_{sm} = 5 × 10^{5} and σ_{sm} = 10^{5}, respectively. The plots have the same volumes and sampling rate as in Fig. 1. 

In the text 
Fig. 7 Zoomedin view of the reconstructed power spectra of the giant flare SGR 1900+14 around ν ~ 7.693 Hz in black and its first overtone around ν ~ 15.386 Hz in red. The plot corresponds to σ_{sm } = 1 × 10^{5} as in Fig. 6d. 

In the text 
Fig. 8 Pulse profiles of different rotation periods overplotted for SGR 1900+14. The temporal evolution of the pulse profile is visible from blue to green to red. Smooth curves without significant short timevariability are reconstructed during instrument deadtimes. 

In the text 
Fig. 9 Same as in Fig. 5 for the SGR 1900+14 event, with σ = 10^{5 } . We indicate for all counts with χ_{0 } ≥ 5 and χ_{1 } ≥ 5 the corresponding frequency in Hertz and its multiple of the neutron star frequency ν_{0 } = 0.1938 Hz. 

In the text 
Fig. A.1 Reconstruction, i.e. map and power spectra from mock data, created according to Appendix A. For clarity, Figure A.1a only shows a snapshot of the events between 32.8 s ≲ t ≲ 33 s. In addition to the raw photon counts, the black line shows the original signal s , as well as the reconstruction in red, including its uncertainty. Figure A.1b shows the reconstructed power spectra as well as its uncertainty, as in Fig. A.1a, using a smoothnessenforcing prior with σ_{sm } = 10^{4}. Fig. A.1c, shows a reconstructed power spectrum with a weaker smoothnessenforcing prior with σ_{sm} = 10^{5}. 

In the text 
Fig. B.1 Reconstructed power spectrum, according to the test scenario described in Appendix B. The strengths of the injected frequencies are 10^{2 } (top) and 10^{5} (bottom) times stronger than the local power at these frequencies. The displayed uncertainties indicate the oneσ confidence interval. 

In the text 
Fig. C.1 Smoothed Leahy power of the injected pure QPOlike signal. The two QPOs at 20 Hz and 90 Hz were reconstructed by D^{3 } PO, Fig. C.2. 

In the text 
Fig. C.2 Reconstructed power spectrum according to the QPO injection test described in Appendix C. The displayed uncertainties indicate the oneσ confidence interval. 

In the text 
Current usage metrics show cumulative count of Article Views (fulltext 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 4896 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.