---
abstract: 'Rapid flares from blazars in very high energy (VHE) $\gamma$-rays challenge the common understanding of jets of active galactic nuclei (AGNs). The same population of ultra-relativistic electrons is often thought to be responsible for both X-ray and VHE emission. We thus systematically searched for X-ray flares at sub-hour timescales of TeV blazars in the entire *Rossi X-ray Timing Explorer* archival database. We found rapid flares from <span>PKS 2005$-$489</span> and 5, and a candidate rapid flare from <span>1ES 1101$-$232</span>. In particular, the characteristic rise timescale of <span>PKS 2005$-$489</span> is less than half a minute, which, to our knowledge, is the shortest among known AGN flares at any wavelengths. The timescales of these rapid flares indicate that the size of the central supermassive black hole is not a hard lower limit on the physical size of the emission region of the flare. <span>PKS 2005$-$489</span> shows possible hard lags in its flare, which could be attributed to particle acceleration (injection); its flaring component has the hardest spectrum when it first appears. For all flares, the flaring components show similar hard spectra with $\Gamma=1.7-1.9$, and we estimate the magnetic field strength $B\sim$ 0.1–1.0 G by assuming synchrotron cooling. These flares could be caused by inhomogeneity of the jets. Models that can only produce rapid $\gamma$-ray flares but little synchrotron activity are less favorable.'
author:
- 'S. F. Zhu, Y. Q. Xue, W. N. Brandt, W. Cui, and Y. J. Wang'
bibliography:
- 'ms.bib'
title: 'Extremely Rapid X-ray flares of TeV Blazars in the <span>*RXTE*</span> Era'
---

Introduction
============

Blazars, including BL Lac objects and flat-spectrum radio quasars (FSRQs), are a special class of radio-loud active galactic nuclei (AGNs) that have one of their relativistic jets pointing very close to our line of sight [e.g., @Urry1995]. FSRQs have luminous broad emission lines that are weak or absent in BL Lac objects. Due to Doppler boosting, the emission of a blazar is usually dominated by the jet whose spectral energy distribution (SED) shows two broad humps that smoothly extend from radio to $\gamma$-rays. The low-energy hump can extend from radio to soft X-rays. According to the frequency of the first hump, BL Lac objects are further divided into low-frequency peaked BL Lac objects (LBLs; $\nu_{\rm peak}<10^{14}$ Hz), intermediate-frequency peaked BL Lac objects (IBLs; $10^{14}<\nu_{\rm peak}<10^{15}$ Hz) and high-frequency peaked BL Lac objects (HBLs; $\nu_{\rm peak}>10^{15}$ Hz) [e.g., @Padovani1995; @Abdo2010a]. The high-energy hump extends from hard X-rays to $\gamma$-rays, even sometimes the very high energy (VHE) TeV band. Such VHE blazars, typically HBLs, are called TeV blazars.

The low-energy hump is attributed to the synchrotron emission of highly relativistic electrons gyrating in a magnetic field in the jet. The origin of the high-energy hump, however, is still debated. A popular explanation is inverse-Compton emission from the same population of relativistic electrons that produce the synchrotron emission. The seed photons of the inverse-Compton scattering process could be local synchrotron photons (usually for BL Lacs) in the jet and/or external photons from the central engine (usually for FSRQs) or the cosmic microwave background. These models are thus called leptonic models. The hadronic models, on the other hand, attribute $\gamma$-ray emission to synchrotron emission of protons [@Mucke2001; @Mucke2003; @Fraija2015a] or proton-induced cascades [@Mannheim1998].

The observed photon flux of blazars varies significantly across the electromagnetic spectrum on timescales from minutes to years [e.g., @Wagner1995; @Ulrich1997]. The origin of the variability is not well understood. Generally, the variability is noise-like [e.g., @Kataoka2001; @Chatterjee2012], similar to the variability of radio-quiet AGNs [e.g., @Markowitz2003]. However, blazars are also known to have bursts that show flare-like structures [e.g. @Marscher2010], which may have recognizable patterns [@Sasada2017]. The outbursts can be explained by internal shocks of the jets when a new relativistic blob of plasma catches up with an old blob and accelerates particles to ultra-relativistic energies [e.g., @Spada2001]. Based on several similarities between the jet emission and corona-disk emission, the ultimate origin of the variability may still be accretion-rate fluctuations of the disk [@McHardy2008].

The shortest variability timescale is a crucial parameter because it serves as an independent constraint on the physical scale of the emission region [@Tavecchio1998], which cannot be easily provided by other observational measurements. Blazars are usually most variable at frequencies just above the two SED humps [e.g., @Ulrich1997; @Madejski2016], which usually fall in the hard X-ray and TeV bands in the case of TeV blazars [e.g., @Aleksic2015a; @Balokovic2016; @Bartoli2016]. In particular, an increasing number of TeV blazars show $\gamma$-ray flaring activity on timescales from several to a few tens of minutes that are detected by ground-based Cherenkov telescopes, including both BL Lac objects [e.g., @Gaidos1996; @Aharonian2007; @Albert2007; @Arlen2013] and FSRQs [@Aleksic2011]. The minute-scale variability in the TeV band [e.g. @Aharonian2007] has strong implications for our understanding of AGN jets [@Begelman2008]. X-ray and TeV emission may be directly related to the same high-energy tail of the relativistic electron population. Indeed, the lightcurves of HBL-type TeV blazars in the X-ray and TeV bands are usually correlated [e.g., @Aleksic2015b; @Furniss2015]. Attempts to search for extremely rapid X-ray variability have been made [e.g., @Cui2004; @Xue2005; @Pryal2015; @Paliya2015]. The same source can have minute-scale variability in both the X-ray band and TeV band [e.g., Mrk501, @Xue2005; @Albert2007]. However, "orphan" TeV flares that have no X-ray counterparts are occasionally reported [e.g., @Krawczynski2004; @Blazejowski2005; @Acciari2009; @Fraija2015b].

Rapid TeV variability has germinated various models to explain the small timescales. Most models involve some very compact regions moving in the rest frame of the jet. These compact regions could be "jets in a jet" that are either produced by magnetic reconnection processes in a Poynting flux-dominated jet [@Giannios2009] or relativistic turbulence in the jet [@Narayan2012]. The minijets-in-a-jet model can consistently produce the statistical properties of blazar flux [@Biteau2012]. There are also models involving a red giant star being stripped of its envelope by the jet [@Barkov2012] and models involving beams of magneto-centrifugally accelerated electrons occasionally pointing toward us [@Ghisellini2009].

Several well-studied TeV blazars show rich spectral behavior in X-rays, which may represent the general behavior of the synchrotron peak of all AGN jets. The X-ray spectra are usually curved [@Massaro2004] and can only locally be fitted by a power-law. The spectral variation with flux can be complex [@Zhang2002; @Cui2004]. Generally, the spectrum hardens when the flux increases [e.g., @Gliozzi2006; @Xue2006; @Tramacere2009], but photon indexes can saturate at higher fluxes [@Xue2005; @Giebels2007]. The synchrotron peak usually moves to higher frequencies with increasing flux during outbursts [e.g. @Pian1998], but no correlation between the break energy and the flux exists when a broken power law is adopted to fit the X-ray spectra [@Xue2005; @Giebels2007; @Garson2010]. A cooling break in the spectrum of emitting particles cannot explain these features [@Wierzcholska2016b], and some special particle acceleration processes may be involved [@Madejski2016]. There are also energy-dependent lags between the variations of different energy bands. In some flares, soft bands lag behind hard bands [e.g., @Zhang2002], while lags in the opposite direction can also happen [e.g., @Ravasio2004; @Sato2008]. Hysteresis in the HR (hardness ratio)–flux diagram is often used as a diagnostic of lags. Clockwise loops [e.g., @Acciari2009; @Kapanadze2016] in the HR–flux plane are a sign of soft lags while counterclockwise loops [e.g. @Tramacere2009] are a sign of hard lags. The same source can exhibit both clockwise and counterclockwise loops; the observed patterns are further complicated by the superposition of flares at different timescales [@Cui2004]. The above knowledge of TeV blazars in the X-ray regime comes from studies focusing on timescales of hours to weeks. We will extend this kind of analysis to much smaller timescales in this paper.

The main goal of this paper is to search for X-ray flares at sub-hour timescales from TeV blazars in the entire *Rossi X-ray Timing Explorer* (<span>*RXTE*</span>) archival database. We use data from the narrow-field pointing instrument Proportional Counter Array (PCA) onboard <span>*RXTE*</span>, covering a nominal energy range of 2–60 keV. The <span>*RXTE*</span> satellite was launched in December 1995 and ceased science operation in January 2012. During its lifetime, it accumulated more than $\sim16$ Ms of exposure time on TeV blazars in hard X-rays, surpassing any other X-ray observatory. We describe data reduction and the searching results in Section \[sec:reduction\]. Most of our following analysis is based on an assumption that the observed photons are from a flaring component and an underlying constant/slowly-varying component, possibly from two separated sites. We describe lightcurve-model fitting and spectral-model fitting in Section \[sec:lc\] and Section \[sec:spec\], respectively. We discuss the implications of our findings in Section \[sec:discussion\] and summarize them in Section \[sec:summary\]. In the following, we use the $\Lambda$CDM model, with $H_0=67.7$ km/s/Mpc and $\Omega_{\rm m}=0.307$ [@Planck2016].

Data reduction and searching for fast flares {#sec:reduction}
============================================

  ---------------- -------- ------ -------------- -----------
        Name         $z$     Type    Number of     Exposure
                                    Observations   Time (ks)
       3C 279       0.5362   FSRQ       1988         3198
    BL Lacertae     0.059    IBL        1387         2522
      Mrk 421       0.031    HBL        1190         2515
   PKS 1510$-$089   0.361    FSRQ       1334         2254
   PKS 2155$-$304   0.116    HBL        501          1107
      Mrk 501       0.034    HBL        499           886
    S5 0716+714      0.31    IBL        233           733
     H 1426+428     0.129    HBL        164           527
   PKS 2005$-$489   0.071    HBL        158           483
       3C 66A        0.41    IBL         99           373
    PKS 1424+240             HBL         64           347
    1ES 0229+200     0.14    HBL        205           295
    1ES 1959+650    0.048    HBL        147           272
   1ES 1101$-$232   0.186    HBL         99           211
    1ES 2344+514    0.044    HBL         53           134
  ---------------- -------- ------ -------------- -----------

  : TeV blazars with $>50$ <span>*RXTE/PCA*</span> observations

<span>Note.</span> — We list above all the TeV blazars with $>50$ PCA observations that add up to $>130$ ks exposure time. The remaining unlisted TeV blazars have $<50$ PCA observations, which are PG 1553+113, 1ES 1218+304, MAGIC J2001+435, 1ES 0806+524, 1ES 0647+250, RGB J0152+017, 1ES 0414+009, W Comae, 1ES 1727+502, Mrk 180, PKS 0447$-$439, RGB J0710+591, PKS 0548$-$322, AP Librae, 1ES 1741+196, and H 2356$-$309. See http://tevcat.uchicago.edu/ for the full list of known TeV blazars and their redshifts and classifications.

\[tab:srcList\]

![Rapid X-ray flares of TeV blazars in bins of 16s. The red dashed curves are the weighted least square models (Eq. \[eqn:flare\_profile\]). The vertical dashed lines are used to separate the flaring phase from the quiescent phase in the light curve if possible. The event of <span>Mrk 501</span> was first reported by @Xue2005, which we reanalyzed more quantitatively in this paper. The count rates for the $y$-axes are normalized to one PCU. The corresponding ObsIDs of the three events from top to bottom are 20342-03-01-01, 95377-01-91-00, and 30249-01-01-02. On top of each panel, the date (Modified Julian Date) when the flaring observation started (i.e., set as $t=0$ s) is annotated.<span data-label="fig:micro_flares"></span>](micro_flares){width="45.00000%"}

We retrieved all the archival <span>*RXTE/PCA*</span> observations[^1] of TeV blazars (see Table \[tab:srcList\]). The total number of observations is $\sim8400$, and the total exposure time is $\sim16$ Ms. We used the Standard 2 mode data, which have a time resolution of 16 s. The data were reduced following the standard procedure.[^2] We created filter files and good time intervals (GTIs) for each observation according to the suggested screening criteria[^3] for faint sources. Background data were then simulated using the appropriate model.[^4] We applied the GTIs to both observational data and simulated background and extracted lightcurves in initial 16s bins from channels that correspond to $\sim$2–20 keV. The lightcurves of net count rates were calculated using `lcmath` in the HEASoft (v6.19) package. Since only PCU2 among the five proportional counter units (PCUs) of PCA is almost always in operation, we extracted lightcurves from PCU2 for flaring event selection. We visually inspected every lightcurve to select events in individual observations that contain a complete or nearly complete sub-hour flaring profile. Specifically, we require the flare to have apparent rise and fall; we also require the existence of a plateau either before the rise and/or after the fall to assess the completeness of the flare and the level of the background component.[^5] Note that <span>*RXTE*</span> is in low Earth orbit, and thus an uninterrupted lightcurve is usually less than $\sim50$ minutes due to the Earth's occultation or passage through the South Atlantic Anomaly, etc., which limits the timescales of the events investigated. After identifying fast flaring events, we extracted lightcurves and spectra from all the PCUs available during that observation to achieve higher signal-to-noise ratio (S/N) for further analysis.

From the complete <span>*RXTE/PCA*</span> database, two new fast flaring events were found. They belong to <span>PKS 2005$-$489</span>and 5. The lightcurves of these two events are shown in Fig. \[fig:micro\_flares\]. We also plot an event of <span>Mrk 501</span> [reported in @Xue2005]. A fast-flaring candidate event of <span>1ES 1101$-$232</span>is reported in Appendix \[sec:fes\], which has relatively low credibility because of limited S/N. These flaring observations generally lack simultaneous observations in other wavebands.

We checked for potential contamination by soft electron flares that were not screened out by the criteria "ELECTRON2.LE.0.1" in data cleaning. The contemporaneous Electron2s of each event were well below 0.1 and did not show any apparent electron flaring activity that may be responsible for the X-ray flares. The longitudes and latitudes of the satellite at the onsets of the X-ray flares did not cluster in the anomalous high background region [cf. Fig. 7 of @Xue2005]. Further support for the genuineness of the flaring events comes from their lightcurve and spectral features explored below. They behave like well-known X-ray flares of TeV blazars, only at much smaller timescales. In conclusion, we did not find any sign of contamination of soft electrons or any other known sources for all the flaring events. However, the possibility of an unrelated X-ray transient in the field of view still cannot be ruled out entirely since the PCA lacks the capacity of imaging.

Lightcurve fitting {#sec:lc}
==================

\[!t\]

<span>ccccccccccc</span> Band & Energy & $F_\textrm{c}$ & $F_0$ & $t_0$ & $\tau_\textrm{r}$ & $\tau_\textrm{d}$ & $t_\textrm{p}$ & $F_\textrm{p}/F_\textrm{c}$ & $\xi$ & $\chi_{\nu}^2 / dof$\
& (keV)& (c/s)& (c/s)& (s)& (s)&(s)&(s)& &\
\
Soft & 1.94–5.47& $2.08_{-0.02}^{+0.02}$& $3.81_{-0.26}^{+0.28}$& $303_{-6}^{+8}$& $23_{-4}^{+5}$& $160_{-15}^{+16}$& $343_{-7}^{+8}$& 2.3 & 0.75 & 0.957/166\
Medium& 5.47–10.11& $0.98_{-0.02}^{+0.02}$& $3.45_{-0.24}^{+0.26}$& $318_{-7}^{+10}$& $29_{-4}^{+8}$& $141_{-15}^{+14}$& $356_{-6}^{+9}$& 3.2 & 0.66 & 1.05/166\
Hard & 10.11–20.30& $0.33_{-0.02}^{+0.02}$& $2.43_{-0.34}^{+0.35}$& $324_{-14}^{+33}$& $29_{-8}^{+18}$& $105_{-30}^{+25}$& $353_{-12}^{+19}$& 5.3 & 0.56 & 0.895/166\
Full & 1.94–20.30& $3.4_{-0.04}^{+0.04}$& $9.49_{-0.48}^{+0.47}$& $311_{-5}^{+6}$& $25_{-3}^{+4}$& $143_{-10}^{+11}$& $348_{-5}^{+6}$& 2.8 & 0.70 & 1.18/166\
\
Soft & 2.06–5.31 & $0.19_{-0.08}^{+0.05}$&$2.04_{-0.32}^{+0.28}$&$1344_{-100}^{+111}$& $222_{-43}^{+78}$&$825_{-171}^{+326}$&$1573_{-52}^{+66}$& 7.5 & 0.58 & 1.48/23\
Hard & 5.31–10.11 & $0.00_{-0.08}^{+0.04}$&$1.67_{-0.37}^{+0.21}$&$1216_{-108}^{+64}$&$161_{-39}^{+65}$&$1588_{-285}^{+1903}$&$1551_{-54}^{+107}$&$>17$ & 0.82 &1.62/23\
Full & 2.06–10.11 & $0.17_{-0.09}^{+0.08}$& $3.95_{-0.45}^{+0.38}$& $1258_{-55}^{+57}$& $178_{-29}^{+40}$& $1158_{-179}^{+320}$& $1547_{-39}^{+48}$& 17 & 0.73 & 1.15/159\
\
Soft & 1.94–5.82 & $5.60_{-0.04}^{+0.03}$ & $3.32_{-0.88}^{+0.02}$ & $1918_{-59}^{+32}$ & $99_{-34}^{+27}$& $110_{-41}^{+75}$ & $1924_{-26}^{+14}$ & 1.30 & 0.05 & 0.99/151\
Hard & 5.82–20.30 & $5.35_{-0.04}^{+0.05}$ &$3.29_{-0.58}^{+0.38}$ &$2001_{-80}^{+8}$ &$147_{-54}^{+18}$ &$33_{-6}^{+65}$ &$1961_{-40}^{+8}$ & 1.38 & $-0.64$ & 1.09/151\
Full & 1.94–20.30& $10.96_{-0.06}^{+0.06}$& $6.9_{-1.1}^{+0.2}$& $1961_{-47}^{+18}$& $119_{-29}^{+21}$& $67_{-19}^{+41}$& $1936_{-18}^{+9}$ & 1.33 & $-0.28$ & 1.23/151\
\
Soft & - & - & $1.78_{-0.58}^{+0.25}$ & $2206_{-23}^{+90}$ & $40_{-10}^{+135}$ & $160_{-65}^{+71}$ & - & - & 0.60 & -\
Hard & - & - & $1.73_{-0.34}^{+0.35}$&$2135_{-16}^{+84}$&$30_{-11}^{+79}$&$302_{-115}^{+225}$& - & - & 0.82 & -\
Full & - & - & $3.7_{-0.9}^{+0.6}$& $2177_{-18}^{+54}$& $43_{-13}^{+55}$& $213_{-63}^{+83}$& - & - & 0.67 & -\

\[tab:fit\_result\]

Lightcurves in additional energy bands (see the second column of Table \[tab:fit\_result\] and Figs. \[fig:fit\_pks\],\[fig:fit\_s5\],\[fig:fit\_mrk\]) are extracted according to the energy-channel conversion table.[^6] Thanks to the high data quality, variability at timescales down to the time resolution (16s) of the lightcurves (see Fig. \[fig:fit\_pks\]) is seen. Because of the variety of data quality and gain epochs [@Jahoda2006], we do not have uniform definitions for different bands for all three sources. We have four different bands for <span>PKS 2005$-$489</span>, while we have three bands for <span>Mrk 501</span> and 5; the full band of <span>PKS 2005$-$489</span> and <span>Mrk 501</span> is 1.94–20.30 keV, while the full band of 5 is 2.06–10.11 keV.

Method of Fitting
-----------------

![Top three panels: The rapid X-ray flare of <span>PKS 2005$-$489</span> in three energy bands in bins of 16s. The red solid curves are weighted least square models; the vertical blue dashed lines indicate $t_\textrm{p}$, whose $1\sigma$ uncertainties are shown as the shaded blue regions. Bottom two panels: Hardness ratios (hard band to soft band and medium band to soft band); the red solid curves are hardness ratios calculated from the weighted least square models above. The data points are in bins of 32s.<span data-label="fig:fit_pks"></span>](fit_pks_2005-489){width="48.00000%"}

![Soft- and hard-band lightcurve fitting of 5. The lightcurves are in bins of 96s. The vertical dashed lines indicate $t_\textrm{p}$, whose $1\sigma$ uncertainties are shown as the shaded blue regions.<span data-label="fig:fit_s5"></span>](fit_s5_0716+714){width="45.00000%"}

![Soft- and hard-band lightcurve fitting of <span>Mrk 501</span>. The lightcurves are in bins of 16s. The vertical dashed lines indicate the peak of the main flare $t_\textrm{p}$, whose $1\sigma$ uncertainties are shown as the blue shaded regions.<span data-label="fig:fit_mrk"></span>](fit_mrk501_Xue2005){width="45.00000%"}

We fitted the lightcurves with a constant flux plus an exponentially rising and decaying flare following @Abdo2010b[^7]: $$\label{eqn:flare_profile}
    F(t) = F_\textrm{c} + F_0\left(e^{\frac{t_0-t}{\tau_\textrm{r}}}+e^{\frac{t-t_0}{\tau_\textrm{d}}}\right)^{-1},$$ where $F_\textrm{c}$ represents the constant flux level underlying the flare, and $\tau_\textrm{r}$ and $\tau_\textrm{d}$ are the characteristic rising and decaying timescales[^8] of the flare. $t_0$ indicates the transition from rising to falling, and the count rate actually peaks at $$\label{eqn:tp}
    t_\textrm{p}=t_0+ \frac{\tau_\textrm{r}\tau_\textrm{d}}{\tau_\textrm{r} + \tau_\textrm{d}}\ln\left(\frac{\tau_\textrm{d}}{\tau_\textrm{r}}\right),$$ which equals $t_0$ only when the flare is symmetrical ($\tau_\textrm{r}=\tau_\textrm{d}$). Therefore we define the amplitude of the flare as $F_\textrm{p}/F_\textrm{c}$, i.e., the count rate at $t_\textrm{p}$ ($F_{\rm p}$) over the constant level, instead of $F_0/F_\textrm{c}$. The symmetry of a flare is described by $$\label{eqn:xi}
\xi=\frac{\tau_\textrm{d}-\tau_\textrm{r}}{\tau_\textrm{d}+\tau_\textrm{r}},$$ whose value is in the range of \[$-$1, 1\]. $\xi=-1$ ($=1$) represents completely right (left) asymmetric profiles with a zero falling (rising) timescale; $\xi=0$ indicates a symmetric flare.

The uncertainties of $t_\textrm{p}$ and $F_\textrm{p}$ have to be propagated from the errors of other parameters. We adopted an MCMC (Markov Chain Monte Carlo) algorithm to fit the lightcurves, which returns reliable probability intervals of timescales and amplitudes by sampling from their posterior distributions. We first performed weighted least squares fitting using a numerical minimizer to obtain the best estimates of $F_\textrm{c}$, $F_0$, $t_0$, $\tau_\textrm{r}$, and $\tau_\textrm{d}$. Starting from these initial values, we took 1000 random walk steps in parameter space. The samples of $t_\textrm{p}$ and $F_\textrm{p}$ were calculated according to Eq. \[eqn:tp\] and Eq. \[eqn:flare\_profile\]. Note that we added a second flaring component to the model in the fitting of <span>Mrk 501</span> (see the bottom panel of Fig. \[fig:micro\_flares\]).

Correcting Lightcurve Error Bars {#sec:corr_e}
--------------------------------

The initial fits have reduced Chi-square values ($\chi_{\nu}^{2}=\chi^2/dof$) in the range of 0.48–0.80, which indicates that the assigned error bars are larger than true statistical fluctuations. Indeed, the standard <span>*RXTE*</span>/PCA data reduction pipeline overestimates the lightcurve errors [@Nandra2000]. The error estimation of the net lightcurves is propagated from the error estimation of the observed lightcurves and the simulated background lightcurves, of which the latter is too smooth to be described by the assumed Poisson statistics. We decided to correct the error estimation using $\sigma^2_{\rm net}=\sigma^2_{\rm obs}+k^2\sigma^2_{\rm bkg}$, where $0\le k^2 <1$. The correction factor $k^2$ can be determined by forcing the excess variance[^9] of the quiescent parts in the top and bottom panels of Fig. \[fig:micro\_flares\] to be zero. The resulting correction factors of different segments at different energy bands span from $-0.13$ to 0.71. We decided to fix $k^2=0$ as in @Nandra2000. We have ignored errors on the background in the lightcurve analysis below, unless otherwise stated. The fitting results after correcting the error bars are tabulated in Table \[tab:fit\_result\]. Note that we still report the least square results in Table \[tab:fit\_result\] as the estimation of each parameter, but the $1\sigma$ intervals are derived from MCMC fitting. The reduced Chi-square values of most fits are around 1.

Lightcurve Fitting Results
--------------------------

Every lightcurve shows some flare-like structure above a constant "background" flux level, which actually varies on longer timescales. From the flux levels of the constant components, the events occur when the sources are in relatively high states, but they do not always coincide with the periods with the highest flux levels. For example, the <span>*RXTE*</span>/PCA count rates of <span>PKS 2005$-$489</span> can be 10 times the constant flux level here as found about one and a half years later [@Perlman1999].

The variation amplitude is higher in harder bands, which suggests that the flaring component has a harder spectrum than the corresponding constant component. The mixed spectra become harder when the flux rises and the flaring component becomes more prominent. We discuss the spectral variability of <span>PKS 2005$-$489</span> in detail in Section \[sec:pks\_spec\_v\]. We also fit the spectra of <span>PKS 2005$-$489</span>, 5, and <span>Mrk 501</span> and confirm that the flaring components have harder spectra in Section \[sec:spec\].

There is a trend of rising timescales being shorter and decaying timescales being longer at softer energies. This trend is obvious in <span>PKS 2005$-$489</span> and the first flare substructure of <span>Mrk 501</span> (see Table \[tab:fit\_result\]; see also Mrk 421 in Appendix \[sec:mrk421\]). This suggests that the variability is caused by electron acceleration and cooling [e.g., @Fraija2017]. As a consequence, the flares are more right asymmetric in harder bands (i.e., smaller $\xi$ values). 5 and the second flare substructure of <span>Mrk 501</span> do not follow the patterns, although the error bars prevent any solid conclusions. The difference of timescales between energy bands is not obvious for 5, mainly because the decay of the flare was not completely sampled and $\tau_\textrm{d}$ cannot be constrained well. Moreover, only one PCU was operating during the observation, so the S/N is low. The vertical lines in Fig. \[fig:fit\_pks\] and Fig. \[fig:fit\_mrk\] suggest hard lags in the variability of <span>PKS 2005$-$489</span> and <span>Mrk 501</span>, which means that the variation of hard photons lags that of soft photons. The suggested lag of <span>PKS 2005$-$489</span> is not confirmed by cross-correlation function (CCF), presumably due to the limited time-resolution (see discussion in Section \[sec:pks\_spec\_v\]). Again, the soft-band and hard-band peaks of 5 do not show an obvious difference, putatively due to the larger error bars (see Fig. \[fig:fit\_s5\]).

Spectral variability of <span>PKS 2005$-$489</span> {#sec:pks_spec_v}
---------------------------------------------------

\[!t\] ![image](evolution_pks_2005-489){width="95.00000%"}

The flare of <span>PKS 2005$-$489</span> has the shortest rising timescales and its data are of the highest quality, so we investigated its spectral variability in detail. We plot the hardness ratios[^10] (HRs) in the bottom two panels of Fig. \[fig:fit\_pks\], which show hardening that corresponds to the flare. We also plot a HR–flux diagram of this event in panel (a) of Fig. \[fig:hr-flux\_pks\], which shows a "harder when brighter" trend and hysteresis. The loop begins with clockwise motion, and then follows a counterclockwise direction. Below, we argue that the clockwise trend at the beginning is due to the superposition of two spectral components.

The apparent two-component nature of the lightcurves suggests that the spectral variability is partially caused by a change of the relative fraction of the two components. In other words, if the flaring component has different hardness ratio from that of the constant component, then even if neither of the spectra changes over time, the observed overall hardness ratio will still change due to the flux variation of the flaring component [see @Sun2014; @Ramolla2015]. However, the hysteresis loop in panel (a) suggests the spectrum of the flaring component is intrinsically variable; otherwise the track in the HR–flux plane while the flux is rising will be identical to the track while the flux is declining, instead of forming a loop. To discriminate the effects caused by the mixing of different components and the flare's intrinsic spectral variability, we further subtract the constant component $F_\textrm{c}$ from the lightcurve of each band, where $F_\textrm{c}$ is from Table \[tab:fit\_result\]. We calculated the hardness ratios from the resulting flare-only lightcurves in panels (c)(d)(e) and HR–flux diagram in panel (b). The plots suggest that the flare emerges with a hard spectrum, softens gradually as the flux rises, then hardens near the highest flux, and finally softens as the flare fades away. Only a counterclockwise loop is apparent in the HR–flux plane for the flare-only lightcurve. Based on the evidence above, we know that the clockwise loop in panel (a) could be caused by the sudden emergence of a hard flaring component and the spectral variability soon follows the spectral variability of this flaring component due to its increasing dominance. The flaring component itself has complex spectral variability and the counterclockwise loop in panel (b) suggests the existence of a hard time lag, albeit being subject to large uncertainties. Note that the overall oblique "8" shape before subtracting the constant component in panel (a) is reminiscent of a flare of Mrk 421 which lasted $\sim60$ ks and was reported by @Garson2010 using <span>*Suzaku*</span> data. We reanalyzed the <span>*Suzaku*</span> data of Mrk 421 and performed the same spectral variability analysis as for <span>PKS 2005$-$489</span> above in Appendix \[sec:mrk421\]. We reproduced the same results as for <span>PKS 2005$-$489</span> in the flare of Mrk 421 and thereby strengthened our conclusions. The similar behavior of spectral variability, seen both in the extremely rapid flare of PKS 2005-489 and in the long-duration flare of Mrk 421, is reminiscent of the scale invariant nature of X-ray flares from TeV blazars [@Cui2004; @Xue2005].

We also calculated the CCF [@Edelson1988; @Welsh1999] of the soft band and hard band flare-only lightcurves, but did not find an obvious time lag. Any time lag in this fast flaring event of <span>PKS 2005$-$489</span> could be intrinsically small compared with the time resolution of the observation (16s). The bandpass of our data is narrow, spanning about one order of magnitude, so any energy-dependent lags may not be significant. The size of lags may also be positively correlated to the duration of the flares [@Zhang2002], which means that flares of shorter duration have smaller lags. Note that in Table \[tab:fit\_result\] the differences of $t_0$, $t_\textrm{p}$, and $\tau_\textrm{r}$ between different bands are small compared with relatively large error bars.

Spectral Fitting {#sec:spec}
================

\[!t\] ![image](spectrum){width="95.00000%"}

\[!t\]

             Source              $\Gamma_{1}$    $\Gamma_{2}$    $F_{\textrm{quiescent}}$   $F_\textrm{flare}$   $F_{\textrm{flare only}}$   $\chi^2_{\nu}/dof$     $L_\textrm{X}$              $E$
  ----------------------------- --------------- --------------- -------------------------- -------------------- --------------------------- -------------------- --------------------- ---------------------
   <span>PKS 2005$-$489</span>   $2.73\pm0.05$   $1.71\pm0.18$             29.5                    42.4                    12.9                  0.88 / 38        $3.86\times10^{44}$   $2.08\times10^{47}$
      <span>Mrk 501</span>       $2.01\pm0.02$   $1.86\pm0.20$            115.7                   130.0                    14.3                  0.76 / 38        $3.23\times10^{44}$   $5.13\times10^{46}$
                5                $2.48\pm0.27$   $1.89\pm0.15$          5.7 (pre)                  12.3                    12.2                  0.32 / 16        $1.90\times10^{45}$   $1.06\times10^{49}$
                                                                        3.8 (post)                                                                                $1.25\times10^{45}$  

\[tab:spec\_fit\]

Motivated by the two-component model in lightcurve fitting, we carried out spectral fitting in a similar way. By dividing the observation into flaring and quiescent phases according to the lightcurves, we separately extracted and jointly fitted the spectra of the two phases. The spectra were extracted from the top layers of the operating PCUs. The spectra and models are shown in Fig. \[fig:spectrum\] in the $EF_E$ representation and the photon indexes are tabulated in Table \[tab:spec\_fit\]. We used channels that correspond to 3–20 keV for <span>PKS 2005$-$489</span> and <span>Mrk 501</span> and 3–10 keV for 5, respectively. In addition to Galactic absorption, we used a power law and sum of two power laws in <span>XSPEC (v12.9.0)</span> to fit the spectra of the quiescent and flaring phases, respectively. We tied the power law in the quiescent phase to one of two power laws in the flaring phase, for both normalization and photon index (see the legends of Fig. \[fig:spectrum\]). We also calculated the X-ray luminosity of the constant component and the total energy of the flaring component in the X-ray band (namely average flare luminosity times the length of the defined flare phase) in Table \[tab:spec\_fit\]. Note that the spectra should suffer from overestimation of error bars due to the same reason discussed in Section \[sec:corr\_e\], but we are not able to correct the error estimation of the spectra as we did in the lightcurve fitting. One consequence of the overestimation of error bars is that the parameters in the spectral fitting have large confidence intervals. Another consequence is that we might be able to fit the spectra with many models. For example, we can fit the spectra of the flaring phase, quiescent phase, and whole observation with simple power laws, and the Chi-square statistics can still be acceptable. We think that describing the spectra as a combination of different power laws is more physically appropriate and is consistent with the lightcurve fitting.

Note that due to the limited length of the observation, we have neither a complete flaring nor a quiescent phase of 5. Therefore we extracted the spectra of the two observations just before and after the flare, which are referred to as pre-flare and post-flare, respectively. The gaps between the observations are 3–4 days. The three observations are plotted in the bottom-right panel of Fig. \[fig:spectrum\], where we fitted each of the pre-flare and post-flare lightcurves with a constant flux. The spectra are jointly fitted with a tied "constant" component photon index, but the normalizations of the "constant" component are free parameters in this case. In other words, the constant component varies on timescales of a few days. If we leave the normalization of the constant component underlying the flare (factor "A" in the legend of top-right panel) free, the value of "A" in the fitting results is negligible but its error bars are large. Additionally, we are not able to constrain the photon index of the flaring component ($\Gamma_2$) very well in this case. Thus we fixed $\textrm{A}=0.6\textrm{D}$, according to the lightcurve fitting results in the bottom-right panel of Fig. \[fig:spectrum\]. The choice of 0.6 or another reasonable value does not affect the result of $\Gamma_2<\Gamma_1$.

The above fitting shows that for all three flares, the flaring components have harder photon indexes than the corresponding constant components (see Table \[tab:spec\_fit\]). The difference is not as apparent for <span>Mrk 501</span> because of the relatively small variation amplitude (i.e., relatively weak flaring component). The photon index of the constant component ranges from 2.0 to 2.7, indicating that we are observing different declining parts of the synchrotron hump for different sources. The photon indexes of the flaring components, on the other hand, lie in a narrower range around 1.8. Every estimated average flux (averaged over the length of the flare phase we defined) of the events is $\sim10^{-11}$ ergs cm$^{-2}$ s$^{-1}$ (see Table \[tab:spec\_fit\]). Using the "efficiency limit" of compact sources [e.g., @Fabian1979; @Brandt1999], $\Delta L/\Delta t\lesssim2\times10^{41}\eta_{0.1}$ erg s$^{-1}$, the matter to energy conversion efficiency $\eta$ is greater than 1 for <span>PKS 2005$-$489</span> and 5, suggesting the existence of significant boosting of the emission [e.g., @Remillard1991]. Due to the small flare amplitude, the efficiency of <span>Mrk 501</span> does not exceed 1.

discussion {#sec:discussion}
==========

The Flaring and Constant Components
-----------------------------------

We interpret all the lightcurves that we analyzed in detail (including Mrk 421 in Appendix \[sec:mrk421\]) as a superposition of a constant component and a flaring component [e.g., @Fraija2017]. The two-component model depicts a simpler scenario than a single component undergoing an outburst. For the case of a single emitting region, the variation in the HR–flux plane is more complex. Furthermore, there must have been a sudden enhancement of some key physical quantity and this quantity has to fall back later to its value preceding the burst.

X-ray Radiation Process of S5 0716+714
--------------------------------------

S5 0716+714 is an IBL [@Ackermann2011] with a synchrotron hump peaking at optical wavelengths [@Anderhub2009]. It has frequent intra-day variability and hysteresis loops in the color–magnitude plane in the optical band [e.g., @Man2016]. @Pryal2015 reported two rapid flares of S5 0716+714 in the X-ray band with low significance. The X-ray emission covered by the <span>*RXTE*</span>bandpass could be a mixture of both synchrotron and inverse-Compton emission [@Wierzcholska2016a]. As such, S5 0716+714 will not necessarily behave the same way as HBLs in X-rays. Depending on the state (low or high) of the source when the observation was made, the dominant X-ray radiation process may change accordingly. The spectrum may steepen when 5 brightens since the synchrotron emission in the soft X-rays becomes increasingly important [@Giommi1999]. However, the synchrotron component itself hardens due to the shifting of the synchrotron peak [@Ferrero2006; @Zhang2010]. The steep photon index and the high flux levels (3–10 keV) of pre-flare and post-flare observations are consistent with synchrotron emission. The flaring component has a slightly inverted spectrum, but the even higher flux level and short timescales still support an origin as synchrotron emission. Therefore the flare we observed from S5 0716+714 does not seem to have a different radiation process from HBLs.

Constraints on the Emission Region {#sec:constraints}
----------------------------------

![Variability timescale versus supermassive black hole mass. We use the rising timescales in the galaxy's frame, $\tau_{\rm r}/(1+z)$, as the values on the $y$-axis. For convenience, we annotate on the right $y$-axis the corresponding sizes, $\tau_{\rm r}c/(1+z)$, in units of cm and gravitational radius for $M_{\rm BH}=10^8M_\odot$. We also calculate light-crossing times for Kerr black holes, $t_\textrm{lc}=2 {\rm G} M_{\rm BH}/c^3 = 2\times10^3 \big(M_{\rm BH}/10^8M_\odot\big) {\rm s}$. The lines represent light-crossing times after considering the relativistic Doppler effect, $t_{\rm lc}/\delta$. References of $M_{\rm BH}$: (1) @Wagner2008, (2) @Woo2002, (3) @Wu2009, (4) @Ghisellini2010, (5) @Falomo2002, (6) @Barth2003.<span data-label="fig:mass_time"></span>](mass_time){width="48.00000%"}

The upper limit on the physical scale of the flaring region can be given by: $$R \approx \frac{ct_{\rm flare}\delta}{(1+z)} \approx 10^{14}\left(\frac{\delta}{30}\right)\left(\frac{t_{\rm flare}}{100\;{\rm s}}\right) {\rm cm},$$ where $\delta$ is the Doppler boosting factor, and $t_{\rm flare}$ is the observed variability timescale. Since the flares are asymmetric, the size of the emitting region is reflected by the rising timescale $\tau_\textrm{r}$ [@Zhang2002]. Searching the literature, we find black-hole mass estimates for three out of the four sources (except <span>1ES 1101$-$232</span>). We plot the rising timescale in the galaxy's frame against black-hole mass in Fig. \[fig:mass\_time\]. Note that the typical Doppler factor of BL Lac objects is 10–20 (20–30 for FSRQs) [e.g. @Hovatta2009]. The size of the black hole is often thought to be a natural lower limit on the physical scale of the emission region. We also plot this lower limit as a function of black-hole mass assuming different Doppler factors. The variability timescales should lie above the lines, if the size of the black hole is a hard lower limit. The rising timescale of <span>PKS 2005$-$489</span> is, as far as we know, shorter than any variability timescale of AGNs at any wavelength ever reported [e.g., @Remillard1991; @Yaqoob1997; @Gallo2004; @Xue2005; @Aharonian2007; @Albert2007; @Aleksic2014; @Kara2016]. Fig. \[fig:mass\_time\] shows that the Doppler factor of <span>PKS 2005$-$489</span> has to be larger than several hundred, which appears unrealistic, in order to support the idea that the black hole sets a lower limit on the physical size of the flaring region. So far, there is no correlation found between the observed minimum variability timescale and the black-hole mass [@Wagner2008; @Vovk2015]. The events of <span>PKS 2005$-$489</span> and Mrk 421 (Appendix \[sec:mrk421\]) display remarkably similar spectral evolution, supporting the same process driving the spectral variability. However the timescales of the two events are different by two orders of magnitude, reflecting an intrinsic difference between the two jets. Noticeably, the famous Mrk 421 has many more X-ray observations than <span>PKS 2005$-$489</span>; however, the variability timescale of Mrk 421 has never been found to be as short as the <span>PKS 2005$-$489</span> event [@Cui2004; @Pryal2015; @Paliya2015]. A lower limit on the variability timescale probably does exist, and probably is not set by the central supermassive black hole.

The synchrotron cooling time of emitting electrons is given by $t_{\rm cool}\approx6\pi m_{e}c/\sigma_{\rm T} \gamma B^2$ [@Rybicki1979]. The observed photon energy at the synchrotron peak is given by $E_{\rm p}=\delta h \nu \equiv (3eh/4\pi m_e c)\delta \gamma^2 B$ [@Rybicki1979]. Combining the above two equations, we have $$t_{\rm cool} = 3.04\times10^3B^{-3/2}\delta^{-1/2}E_{\rm p}^{-1/2}\;{\rm s},$$ where $E_{\rm p}$ is in units of observed keV [@Zhang2002]. If we take <span>PKS 2005$-$489</span> as an example, and adopt $t_{\rm cool}=\tau_{\rm d}\sim143$ s, $E_{\rm p}=10$ keV and $\delta=30$, we can have $B\approx1.2$ G. The estimated magnetic field of <span>Mrk 501</span> is similar to that of <span>PKS 2005$-$489</span>, but the magnetic field of 5 is 4 times weaker. Radio-loud AGNs are potential accelerators of cosmic rays. We estimated the maximum energy of protons, if they can be accelerated in the same region as the electrons, as $E_{\max}=eBR\sim$(2–9)$\times10^{16}$ eV.

The Rarity of Extremely Rapid Flares of Blazars
-----------------------------------------------

It is surprising to find such rapid variability of <span>PKS 2005$-$489</span>, because it was not found to be variable on timescales less than a day [@Perlman1999; @Rector2003; @hess2010; @hess2011]. Out of the $\sim$160 PCA pointings on <span>PKS 2005$-$489</span>, only two have positive excess variance[^11], including the one shown in Fig. \[fig:micro\_flares\](a).

Indeed, although the list of blazars that show extremely rapid flares is growing, these events are rare [e.g., @Feigelson1986] and usually unexpected. The rate of occurrence of sub-hour flares is about once per 4 Ms in the <span>*RXTE*</span>/PCA database. Most of the sources have only one such event reported, either in $\gamma$-ray or X-ray (e.g., @Gaidos1996 [@Aharonian2007]; and this paper). These rapid flares do not seem to be the extremely short cases from a continuous distribution of the timescale of flares [e.g., @Li2017; @Sasada2017]. It remains unknown whether such events exist in all wavebands, so we do not know the total energy output of the flares. The biggest challenge is to coordinate multiple instruments to target the same source simultaneously and hope rare unpredictable flaring events happen.

Particle Acceleration
---------------------

Assuming the fast-cooling regime, the photon index of the flaring component ($\Gamma=$1.7–1.9) indicates that the accelerated electrons have an effective energy spectral index ($p=2\Gamma-2$) in the range of 1.4–1.8, which can be achieved by relativistic magnetic reconnection [e.g., @Guo2014]. Indeed, the SED of <span>PKS 2005$-$489</span> shows very low Compton dominance [@hess2010; @hess2011], which indicates high magnetization. The results of SED modeling [e.g., @Anderhub2009; @Abdo2011a; @hess2011; @Aleksic2015a], which usually assume one single homogeneous emitting region, have low-strength magnetic fields ($B\sim$ 0.01–0.1 G) compared with the estimation of Section \[sec:constraints\] and below equipartition. This may require that either the jet is structured [@Ghisellini2005] or only the regions that are responsible for the fast flares we observed have high magnetization.

The direction of the loops in the HR–flux plane is thought to be determined by the competition between the acceleration/ejection timescale, cooling timescale, and escape timescale [@Kirk1998]. In practice, it is actually determined by which part of the synchrotron spectrum we are observing. The distinctive pattern in the spectral variation of the flares of <span>PKS 2005$-$489</span> and Mrk 421 is not predicted by time-dependent homogeneous one-zone models [e.g., @Kirk1998; @Chiaberge1999]. The spectral variability pattern in Figs. \[fig:hr-flux\_pks\] and \[fig:mrk421hr\] could possibly be produced by time-dependent inhomogeneous blazar models [e.g., @Bottcher2010].

Summary {#sec:summary}
=======

We searched the entire <span>*RXTE*</span> archival database for rapid flares of TeV blazars that last less than one hour. We investigated the temporal and spectral properties of the fast flares discovered under a two-component assumption. Our analysis also includes an X-ray flare of Mrk 421 using <span>*Suzaku*</span> data that has similar spectral variability to that of <span>PKS 2005$-$489</span> in Appendix \[sec:mrk421\]. Our main findings are as follows:

1\. We discovered two new fast X-ray flares from <span>PKS 2005$-$489</span> and 5 and a candidate flare from <span>1ES 1101$-$232</span>. The event of PKS 2005$-$489 shows, as far as we know, the most rapid variation of AGNs that has been observed at any wavelength. The extremely small timescale ($\tau_{\rm r}<30$ s) defies the size that corresponds to the light-crossing time of the supermassive black hole as a lower limit on the size of the flaring region.

2\. The flares are usually superimposed on a constant/slowly-varying component. The flaring component generally has a harder X-ray spectrum ($\Gamma=$ 1.7–1.9) than the constant component ($\Gamma=$ 2.0–2.7).

3\. The higher data quality of the X-ray observations can provide more detail than $\gamma$-ray observations. The flare-only component shows a counterclockwise pattern in the HR–flux diagram, providing a sign of likely hard lags. This component also has the hardest spectrum right at its appearance.\
\
<span>*RXTE*</span> ceased science operation in January 2012, but X-ray observatories like <span>*Chandra*</span>, <span>*XMM-Newton*</span>, <span>*Swift*</span>, and <span>*NuSTAR*</span> are still accumulating exposures on TeV blazars. For example, <span>*XMM-Newton*</span> has 9 Ms of exposure on TeV balazars as of July 2017. A natural follow-up work is to search for additional rapid X-ray flares from TeV blazars in these archival databases. With the increased sample, we may study more details of the spectral variability of the flares, thus shedding light on their origin and particle acceleration processes. We can also study the correlations between flares and the properties of the jets and central engine, as well as the reason for the small flaring timescales.

We thank the anonymous referee for his/her helpful comments that improved the paper. S.F.Z., Y.Q.X., and Y.J.W. acknowledge support from the 973 Program (2015CB857004), NSFC-11473026, NSFC-11421303, the CAS Frontier Science Key Research Program (QYZDJ-SSW-SLH006), and the Fundamental Research Funds for the Central Universities. S.F.Z. and W.N.B. acknowledge support from Chandra X-ray Center grant G04-15093X.

A. A candidate Fast flare of <span>1ES 1101$-$232</span> {#sec:fes}
========================================================

![The candidate rapid X-ray flare of <span>1ES 1101$-$232</span>. The ObsID is 95387-02-07-00, and only PCU2 was in operation during the observation. The grey points and blue squares are the data of 16 s bins and 96 s bins, respectively. The red dashed curve is the least square model fitting to the 96 s-bin light curve.<span data-label="fig:1es_can"></span>](1es1101-232){width="45.00000%"}

We found one fast X-ray flaring event of <span>1ES 1101$-$232</span>, which is an HBL at a relatively high redshift ($z=0.186$) compared with other HBLs. The full-band (2–20 keV) lightcurve in 16 s bins (Fig. \[fig:1es\_can\]) shows elevated flux in the second half of the observation. When shown in 96 s bins, the lightcurve clearly manifests an almost complete flare profile, and can be fitted using the model of Eq. \[eqn:flare\_profile\]. The amplitude ($F_{\rm p}/F_{\rm c}=1.93$) of this flare is modest, and the rising timescale ($\tau_{\rm r}=60$s) is almost as fast as <span>PKS 2005$-$489</span>. We only reported it as a candidate because the flux preceding the flare seems to be in continuous declining. The noisy data prevent us from performing data analysis in the same fashion as other sources (sub-band lightcurve fitting, joint spectral fitting, etc.).

B. Spectral variability of Mrk 421 {#sec:mrk421}
==================================

![An X-ray flare of Mrk 421 reported in @Garson2010. Top panel: The dots and squares are soft-band and hard-band lightcurves respectively [cf. Fig. 6 of @Garson2010], where the hard band has been multiplied by a factor of 3. The dashed lines are the constant components in two bands. In the bottom panel, the squares are the hardness ratios of the flare-only component. The smooth curves are model lightcurves (top panel) or model predicted hardness ratios (bottom panel).<span data-label="fig:mrk421lc"></span>](suzakuModelFitting){width="40.00000%"}

![Left: HR–flux diagram before the subtraction of the constant component [cf. Fig. 6 of @Garson2010]. The arrows indicate the direction of variation. Right: HR–flux diagram after the subtraction of constant component. Smooth curves are calculated from the model. The effective photon index $\Gamma$ on the y-axis of right hand side is obtained using the response files of XIS, Galactic absorbed power-law model and a range of assumed photon indices.<span data-label="fig:mrk421hr"></span>](suzakuHr-Flux){width="48.00000%"}

The flare-only component of <span>PKS 2005$-$489</span> shows an interesting spectral variability pattern, but the noisy data prevent us from making strong conclusions. The oblique "8" pattern in Fig. \[fig:hr-flux\_pks\](a) is reminiscent of a flare of Mrk 421, which allows us to confirm our finding in another source using data from a different satellite.

We downloaded <span>*Suzaku*</span> data (ObsID 703043010) of Mrk 421 [@Garson2010]. We only used data from the X-ray Imaging Spectrometer (XIS) onboard <span>*Suzaku*</span>. The data were reprocessed and screened using <span>Aepipeline</span> included in the <span>*Suzaku*</span> <span>FTOOLS</span>. In addition to the standard screening criteria, we also required the cutoff rigidity to be larger than 6 $\textrm{GV}/c$ following @Garson2010. We extracted lightcurves separately from the cleaned event files of XIS0 and XIS3 using <span>xselect</span> in initial 16 s bins. The source region has an inner radius of 35 pixels and outer radius of 408 pixels, while the background region is an annulus with an inner radius of 432 pixels and outer radius of 464 pixels. The lightcurves were extracted in two energy bands: 0.5–2 keV and 2–10 keV, which are referred to as the soft band and hard band, respectively. Lightcurves of the same energy band but different detectors (XIS0 and XIS3) were then merged. We rebinned the lightcurves in a size of 5760 s in accordance with the orbital period of <span>*Suzaku*</span>. Finally, the background lightcurves were subtracted to obtain the estimation of net count rates from the source.

We clipped the lightcurves and kept only the segment of <span>*Flare 2*</span> that is defined in @Garson2010. We fitted the soft- and hard-band flares using a model that is analogous to Eq. \[eqn:flare\_profile\]. Only the constant component underlying the flare was replaced by a slowly-varying component using a linear function $F_{\rm c} = m + Slope\times t$. This component is in long-term decline in both bands. The fitted models were shown in the top panel of Fig. \[fig:mrk421lc\]. The error bars of the lightcurves are exceedingly small, which renders the fitting statistically unacceptable and suggests ultimate incorrectness of the model due to the existence of sub-structures. However, variation of the smooth model curves in the figure match reasonably well with observational data.

The timescales are $\tau_{\rm r}=9630$ s and $\tau_{\rm d}=9261$ s in the soft band and $\tau_{\rm r}=14756$ s and $\tau_{\rm d}=6796$ s in the hard band, which is consistent with the pattern that hard band rises slowly and decays fast. The fitted long-term declining background was subtracted from the observed lightcurve of each band to leave out the flare-only component. We plotted hardness ratio variation with time and flux in the bottom panel of Fig. \[fig:mrk421lc\] and the right panel of Fig. \[fig:mrk421hr\]. Fig. \[fig:mrk421hr\] shows the same patterns as panels (a)(b) of Fig. \[fig:hr-flux\_pks\]. The effective photon indices ($\Gamma_\textrm{Eff}\sim 1.84$) are also close to the photon indices of the flaring components that are listed in Table \[tab:spec\_fit\].

[^1]: The data were downloaded from http://heasarc.gsfc.nasa.gov/cgi-bin/W3Browse/w3browse.pl.

[^2]: See http://heasarc.gsfc.nasa.gov/docs/xte/recipes/cook\_book.html.

[^3]: See "Creating Filter Files and GTI Files for Use with Faint Models" at http://heasarc.gsfc.nasa.gov/docs/xte/pca\_news.html.

[^4]: We adopted the faint background model file pca\_bkgd\_cmfaintl7\_eMv20051128.mdl.

[^5]: We do not adopt quantitative criteria to select the events, automatically, because quantitative criteria are inescapable of subjective tweak and visual inspection is almost always necessary.

[^6]: See the table at http://heasarc.gsfc.nasa.gov/docs/xte/e-c\_table.html.

[^7]: In addition to the frequently-used Eq. \[eqn:flare\_profile\], some similar analytical expressions have been used to describe the flare profiles of blazars; see @Albert2007 [@Giebels2007; @Chatterjee2012].

[^8]: The doubling and halving timescales are $\tau_{\rm r}\times\ln2$ and $\tau_{\rm d}\times\ln2$.

[^9]: Excess variance is the variance after subtracting the mean square error [e.g., @Nandra1997; @Vaughan2003].

[^10]: We define hardness ratio as the count rate of hard band over that of soft band, ${\rm\frac{H}{S}}$. The errors are calculated as $\sigma_{\rm HR}={\rm \frac{H}{S}}\sqrt{\big(\frac{\sigma_{\rm H}}{{\rm H}}\big)^2+\big(\frac{\sigma_{\rm S}}{\rm S}\big)^2}$.

[^11]: We do not correct the error bars of the light curves here, but the light curves are consistent with being flat under visual inspection.

{'source': 'arXiv_out/1712'}