1 Introduction

Blazars are active galactic nuclei (AGN) that host relativistic jets pointing very close to our line of sight [1]. They are classified in BL Lac objects, which are a sub-set of Flat Spectrum Radio Quasars (FSRQ) [2,3,4]. Another subset that might be added to these sources is that with observed neutrinos [5, 6]. Due to the orientation of one of the two jets towards our line of sight, the emission is highly beamed and Doppler boosted, making them bright and variable in all wavebands from radio to \(\gamma \)-rays [7, 8]. These objects show extreme variations in different bands across the electromagnetic spectrum during the quiescent and flaring states, although flaring episodes are still under debate.

Blazars’ spectral energy distribution (SED) shows two maxima or peak values in two distinct frequency positions [9,10,11]. The first peak is generally well-fitted, assuming synchrotron emission, and is used further to divide blazars into low, intermediate, and high-peaked synchrotron sources (LSP, ISP, and HSP, respectively). LSP objects are those with the first peak found at frequencies log \(\nu _{{\textrm{peak}}}<\) 14, for the ISP sources, the first peak is observed in the range 14 < log \(\nu _{{\textrm{peak}}}<\) 15 and finally, the HSP ones show their first synchrotron peak at log \(\nu _{{\textrm{peak}}}>\,\)15. Applying these criteria, the first peak of the broadband SED in the FSRQ objects is observed at the infrared bands; therefore, they are classified as LSP blazars. For the BL Lac class, the first peak is observed at frequencies that go from the infrared to the hard X-ray bands; i.e., they can be classified as LSP, ISP, or HSP sources [12].

Moreover, BL Lacs that are characterized by having a synchrotron peak located at log \(\nu _{{\textrm{peak}}}>\,\)17, are commonly named extreme synchrotron peaked (EHSP). In addition, there is a new class of BL Lacs having its high-energy bump located at energy \(E_{\textrm{peak}}>\,\)1 TeV; they refer as extreme-TeV BL Lacs or hard-TeV BL Lacs (TBL) [13, 14]. There is evidence that such extreme behaviors are temporal states and that these conditions are not necessarily simultaneous. For example, Markarian 501, 1ES 1727+502, and 1ES 1741+196 have exhibited these behaviors [15,16,17,18].

With a low redshift, Markarian 501 (Mrk 501) is one of the closest BL Lac-type blazars to the earth [19]. Due to its distance and low attenuation of gamma rays with cosmic background radiation, Mrk 501 is a crucial astrophysical object to study the high-energy emission process in blazars. Mrk 501 is a very active blazar experiencing many flaring activities since its discovery (see, e.g.; [15, 20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37]).

For instance, in May 2009, on the 1st and 22nd, it presented two flare episodes. These flares were studied by [36], who emphasized the difficulty of modeling the 22nd of May flare with a one-zone synchrotron self-Compton (SSC) scenario and suggested a better description invoking two independent zones under the SSC model. They also concluded that the very-high-energy (VHE; \(\ge 100\,{{\textrm{GeV}}}\)) gamma-rays could come from a variable component that could contribute to the produced emission by the SSC emitting zone, which must be responsible for the dominant X-ray emission. A similar model was proposed by [38], who pointed out that these two flaring stages could be explained by invoking the interaction of two emission zones (a gamma-ray and a radio-emitting zone).

In this work, we describe these flares using the recent two-zone lepto-hadronic model proposed by Aguilar-Ruiz et al. [39] (hereafter AR2022) introduced to explain the broadband emission of hard TeV BL Lacs. In the AR2022 model, the maxima of the SED’s bumps are produced in different dissipation regions. The low-energy bump is governed by the synchrotron emission of accelerated electrons confined in the outer blob region; meanwhile, the high-energy bump is produced by the decay of neutral pions resulting from the photopion process. We explore the possibility that the AR2022 model could explain the flaring activities exhibited in Mrk 501. The structure of this manuscript is organized as follows. Section 2 introduces the theoretical model that describes the VHE gamma rays. In Sect. 3, we consider the multi-wavelength observations of Mrk 501 around the flare activity in 2009, and finally, we discuss and summarize in Sect. 4.

2 Theoretical model

The model proposed by AR2022 to describe the entire spectral energy distribution of six TBL during their quiescent state involves two-emission zones. The authors required two dissipation regions named inner and outer blob to relax the parameter demanded by the one-zone SSC model. Meanwhile, the outer blob lies far from the central engine; the inner blob is near the jet’s base. Additionally, the author used the possible formation of a pair plasma that emerges and is launched above the accretion disc. This plasma pair generates a narrow shape spectrum with characteristic energy centered \(\varepsilon _{{\textrm{pl}}} = 511 \, {{\textrm{keV}}}\). While this annihilation line has not been observed in blazars, it has recently been claimed that it was observed during a significant flare in the microquasar V404 Cygni (see, [40]). Observation of this emission may not be exclusive to microquasars; if there exists a universal relation for accreting black holes at all scale masses, as many authors have suggested (e.g., see [41,42,43]), this line could also be expected during the flaring activities in blazars. Both relativistic electrons and protons in the inner blob scatter off photons produced by the pair plasma. While protons interact via photohadronic processes (i.e., photopion and photopair), electrons do via the Compton scattering mechanism. The photopion process produces neutral pion, which decays into gamma-rays with energies around \(\sim 1 {\mathrm{\, TeV}}\). Meanwhile, both primary and secondary electrons cool down via synchrotron radiation with a signature at radio-to-optical and MeV bands, respectively; electrons in the inner blob could also have a signature at MeV produced by external Compton scattering. The fluxes produced in the MeV band are not dominant because these contributions are strongly attenuated below the GeV band by the pair-plasma radiation (see figure 2(b) in AR2022). Furthermore, the rest of the emission is described by a SSC model in the outer blob produced by relativistic electrons; proton emission is irrelevant in this blob.

Fig. 1
figure 1

The quiescent state is modelled using a two-zone leptohadronic model. We show the outer blob emission via SSC and the inner blob emission via SSC, proton-synchrotron, photopair and photopion processes. The data for the quiescent state is shown in grey points while the solid black line shows the total flux obtained by our model

Fig. 2
figure 2

The result of two flaring activities using our model. The SSC flux in the outer blob is shown with orange dashed lines The quiescent state is shown in grey points, while red points represent the flaring states. a The first flare on 2009 May 1 (MJD 54952). b The same as the a, but applied to the second flare on May 24, 2009 (MJD 54973)

It is essential to mention that the main results of AR2022 for TBLs are (i) the model avoids the Klein–Nishina flux suppression in the outer blob against the one-zone SSC model present due to the very high electron’s Lorentz factor, (ii) the equipartition value is close to the unity \(U_B/U_e \gtrsim 0.1\) in the outer blob against the very low value demanded by the one-zone SSC model \(U_B/U_e \ll 1\), and (iii) the minimum electron Lorentz factor is around \(\sim 50\) in contrast to the extreme value \(\gtrsim 10^3\) required by the one-zone SSC model.

We use the same reference frames as AR2022 for the observed, the pair plasma, and the blob (inner or outer) frame. We employ Latin Capital Letters with the superscript “ob” for observed quantities, while the AGN frame will be without the superscript. Lowercase letters with unprimed, prime, or two-prime are used in Greek for the plasma, inner, and outer blobs. For instance, the observed energy is \(E^{{\textrm{ob}}}\), and the energy measured in the comoving frame of the AGN, the pair-plasma, the inner blob, and the outer blob are E, \(\varepsilon \), \(\varepsilon ^\prime \), \(\varepsilon ^{\prime \prime }\), respectively. Furthermore, we consider an on-axis case for relativistic blobs with a viewing angle of \(\theta _{{\textrm{obs}}} \lesssim 1/\Gamma \) and the Doppler factor defined by \(\mathcal {D} = \left[ \Gamma (1-\beta \cos {\theta _{\textrm{obs}}})\right] ^{-1} \), with \(\Gamma \) the Lorentz factor in the blob. In the following, we describe the AR2022 model applied to the quiescent state and during the flaring state in more detail.

2.1 Quiescent state

We use the AR2022 model to explain the broadband emission in both the quiescent and the flaring states of Mrk 501 in May 2009. Meanwhile, the quiescent state is well explained using similar assumptions as did in AR2022; the flaring activities must be interpreted into a more complex scenario which will be discussed below in the Sect. 2.2.

We summarize the main features of the AR2022 model taken into account in this work:

  1. 1.

    The outer blob: (i) The electron population is the dominant component compared with the proton one, \(n_e \gg n_p\); then, only leptonic processes are considered, (ii) the blob moves with relativistic speed such that its Lorentz and Doppler boost factors are \(\Gamma _o = 5\) and \(\mathcal {D}_o \simeq 10\), respectively. (iii) Finally, the blob’s size is constrained using the variability timescales \(R''_o \simeq \mathcal {D}_o t_{{\textrm{var}}} c\) assuming \(t_{{\textrm{var}}} \sim {{\mathrm{one\,day}}}\) and \(\mathcal {D}_o\sim 10\), and the blob’s location from the super massive black hole (SMBH) is \(r_o = \Gamma _o R''_o \sim 10^{17} \, {{\textrm{cm}}}\), which represents about \(\sim 10^3 R_g\) with \(R_g= GM_\bullet /c^2 \sim 10^{14} \, {{\textrm{cm}}}\) the Schwarzschild radius for a SMBH mass of \(M_{\bullet } = 10^{9} M_{\odot }\). Note that this distance is very similar to the suggested acceleration and collimation zone (e.g [44, 45]), therefore, \(\Gamma _o\) could have a value close to the terminal Lorentz factor of the jet. Additionally, It is worth noting that [46] has argued that such radio galaxies pointed at us typically have a highly spinning BH, allowing to use Blandford and Znajek’s work [47].

  2. 2.

    The inner blob: (i) It is assumed to have one electron per proton, \(n_e=n_p\) and the same spectral index for electrons and protons \(\alpha _e = \alpha _p\).With these conditions, the electron and proton luminosities are given by \(L_e \simeq L_p\) [48]. (ii) The location must be closer to the central engine than the outer blob in order to be influenced by the radiation field of the pair-plasma, around dozens of \(R_g\), and (iii) the blob’s Lorentz factor determines the peak of VHE band emission, which is favorable to mildly relativistic speed. Generally, in our scenario, the Lorentz factor in the inner region is less or equal to the outer one (\(\Gamma _i \lesssim \Gamma _o\)), which is feasible if two regions are inside the acceleration and collimation zone.

  3. 3.

    The pair plasma: (i) It moves with a mildly relativistic velocity at the photosphere \(\beta _{{\textrm{pl}}} = 0.5\) (\(\Gamma _{{\textrm{pl}}}= 1.15\)), (ii) we take the lower disc’s luminosity above \(511 \, {\textrm{keV}}\) to guarantee the formation of the outflow, \(L_{\textrm{keV}}\approx 3 \times 10^{-3} \, L_{\textrm{E}}\), where \(L_E \approx 1.26 \times 10^{47} \, {{\textrm{erg}}\, s^{-1}}\) is the Eddington’s luminosity corresponding to the SMBH’s mass \(M_{\bullet } = 10^9 \, M_{\odot }\) such that harbours Mrk 501 [49].

  4. 4.

    The outer blob is far away from the pair plasma. Therefore, its radiation field is irrelevant for outer blob’s processes.

  5. 5.

    The magnetic field is estimated, assuming the magnetic energy is conserved along with the jet. Therefore, the value in the inner and in the outer blob could be related as

    $$\begin{aligned} B_i = (r_o/r_i) \, B_o. \end{aligned}$$
    (1)
  6. 6.

    The electron(proton) energy break of each distribution could be estimated equaling the synchrotron and the adiabatic loss timescales. Therefore, it reads as

    $$\begin{aligned} \gamma _{e(p), {{\textrm{br}}}} = \frac{3 \pi m_{e(p)}^3 c^2}{\sigma _T m_e^2 B^2 R}. \end{aligned}$$
    (2)

    The maximum energy is estimated from the competition between the acceleration and loss processes. When the adiabatic losses are dominant we have

    $$\begin{aligned} \gamma _{e(p), {{\textrm{max}}}} = \alpha _{acc} \frac{eB R}{m_{e,p} c^2}, \end{aligned}$$
    (3)

    where \(\alpha _{{\textrm{acc}}}\) is the acceleration efficiency, in this work we take a value of \(\sim 0.1\) [50].

  7. 6.

    AR2022 considered the pair-plasma’s photons are redshifted when they are observed in the inner blob. Therefore, the energy and energy density measured in the inner blob are

    $$\begin{aligned} \varepsilon '_{{\textrm{pl}}} \simeq \varepsilon _{{\textrm{pl}}}/(2\Gamma _{\textrm{rel}}), \quad {{\textrm{and}}} \quad u^{\prime }_{{\textrm{pl}}} \simeq u_{\textrm{pl}}/(2\Gamma _{{\textrm{rel}}})^2, \end{aligned}$$
    (4)

    respectively. where \(\Gamma _{\textrm{rel}}\) is the relative Lorentz factor between the pair plasma and the inner blob, which can be expressed as

    $$\begin{aligned} \Gamma _{\textrm{rel}} = \Gamma _{\textrm{i}} \Gamma _{{\textrm{pl}}} \left( 1 - \beta _{\textrm{i}} \beta _{{\textrm{pl}}} \right) . \end{aligned}$$
    (5)

    The terms \(\beta _i\) and \(\Gamma _i\) are inner blob’s velocity and its respective Lorentz factor, respectively. For practice, the Doppler boost and Lorentz factors are related as \(\mathcal {D}_i=2\Gamma _i\).

  8. 7.

    The gamma-ray peak from neutral pion decay product is estimated by relativistic kinematics. Then, it can be written as

    $$\begin{aligned} E_\gamma ^{\textrm{ob}} \simeq 1.6 \times 10^{16} \, {\textrm{eV}}^2 \, \mathcal {D}_i \, \varepsilon _{{\textrm{pl}}}'^{-1} \end{aligned}$$
    (6)
  9. 8.

    Here, in contrast with AR2022, the broadline (BLR) and dusty torus (DT) regions are not considered. It is worth noting that although many authors have suggested different BLR luminosities for Mrk 501, e.g., \(L_{\textrm{BLR}}\approx 1.6 \times 10^{42} \hbox { erg } s^{-1}\) [51] or \(L_{\textrm{BLR}}\approx 5.2 \times 10^{40} \,\hbox { erg }\, s^{-1}\) [52], all of them are lower than those ones assumed by AR2022 for the TBLs considered therein, i.e, \(L_{\textrm{BLR}} \approx 2\times 10^{\textrm{43}} (2\times 10^{\textrm{42}}) \,\hbox { erg }\, s^{-1} \, \) for \(M_{\bullet }=10^9 (10^8) M_{\odot } \).

  10. 9.

    The host galaxy produces the optical-UV bump emission, which is not included in our model.

  11. 10.

    The model proposed in AR2022 does not explore the emission of secondary electrons in detail because when pair-plasma photons are redshifted into the inner blob frame, the emission of secondary pairs peaks near the MeV band. At that energy, the identical pair-plasma photons strongly attenuate the flux. Nevertheless, as we discussed before, the observed flux must be partially absorbed below MeV energies. In the following, we discuss the emission of secondary pairs.

2.1.1 Secondary pairs

The flux of synchrotron secondary pairs could be observed, especially during an intense flaring state where the VHE gamma-ray flux increases. In an environment such as the inner blob, where electrons are efficiently cooled down via the synchrotron mechanism, the produced fluxes via photopion and photopair could be related to proton luminosity as \(L_{\gamma ,p\pi } \approx (1/8) f_{p\pi } L_p\) and \(L_{\gamma , pe} \approx f_{pe} L_{p}\), respectively (see [53, 54]). It is worth noting that a flux ratio of both processes become \(\frac{L_{{\gamma ,\textrm{p}\pi }}}{L_{ \gamma ,\textrm{pe}}}\sim \frac{\sigma _{\textrm{p}\pi }^{\textrm{pk}}}{8/\sigma _\textrm{pe}^{\textrm{pk}}} \sim 10^2\), where \(\sigma _{\textrm{p}\pi }^{pk}\) and \(\sigma _{\textrm{pe}}^{\textrm{pk}}\) are the cross-sections of photopion and photopair processes, respectively. Therefore in our model, we consider only the emission of photopion pairs. An estimation of the energy peak of photopion pairs could be done considering that the average energy transferred from the proton to the electron is \(\varepsilon _e/\varepsilon _p \approx 0.05\). From kinematics, the minimum electron’s Lorentz factor is hence estimated by the photopion proton threshold

$$\begin{aligned} {\gamma '}_{e,p\pi }^{{{\textrm{th}}}} \gtrsim 1.6 \times 10^{10} \, \left( \frac{\varepsilon _{{{\textrm{pl}}}}'}{{\textrm{eV}}} \right) ^{-1}. \end{aligned}$$
(7)

Considering typical magnetic field in the inner blob we obtain the peak of synchrotron emission

$$\begin{aligned} E_{{\textrm{syn,p}}\pi } \gtrsim 15 \, {{{\mathrm{keV \, MeV}}}^2} \, \varepsilon _{{{\textrm{pl}}}}'^{-2} \, \left( \frac{B_i'}{100 {\textrm{G}}}\right) \, \left( \frac{\mathcal {D}_i}{5}\right) . \end{aligned}$$
(8)

It is essential to mention that in the photopion scenario, the gamma-ray and secondary-pair fluxes are related as \(L_{\textrm{syn}} \approx (1/4) L_{\gamma }\) [55]. For instance, the VHE emission in TBLs is \(L_{\gamma }^{{\textrm{VHE}}} \sim 10^{45} \, {{\textrm{erg}}} \, s^{-1}\), so that this would imply a synchrotron luminosity of \(L_{{\textrm{syn}}}^{p\pi } \sim 2.5 \times 10^{44} \, {{\textrm{erg}}} \, s^{-1}\).

2.2 Flaring states

We require a more complex description to interpret flaring activities. A flaring state is defined as the luminosity in one or more electromagnetic spectral bands increasing during a short period. The photon luminosities usually depend on timescales of radiative processes, the bulk Lorentz factor of the jet, the electron (proton) luminosities, etc. For instance, the observed luminosity resulting from neutral pion decay produced in the photopion process is

$$\begin{aligned} L_{\gamma , p\pi }^{{\textrm{ob}}} \propto {t'}_{p\pi }^{-1} \, {L'}_{p} \, \Gamma _i^4, \end{aligned}$$
(9)

where \({t'}_{p\pi }\) is the photopion loss timescale and \(L_p'\) is the proton luminosity in the comoving frame. Similarly, the synchrotron luminosity from secondary pairs produced from photopion and photopair process is

$$\begin{aligned} L_{\gamma ,pe (p\pi )}^{{\textrm{ob}}} \propto {t'}_{e, {\textrm{syn}}}^{-1} {t'}_{pe (p\pi )}^{-1} \, L'_{p} \, \Gamma _i^4, \end{aligned}$$
(10)

where \({t'}_{e, {\textrm{syn}}}\) and \({t'}_{pe}\) are the synchrotron loss timescale for electrons and the photopair loss timescale, respectively. The proton synchrotron must be considered when the magnetic field is strong enough, as expected in the inner blob. In this case, the luminosity becomes

$$\begin{aligned} L_{p,\textrm{syn}}^{{\textrm{ob}}} \propto {t'}_{p, {\textrm{syn}}}^{-1} \, L'_{p} \, \Gamma _i^4, \end{aligned}$$
(11)

where \({t'}_{p,\textrm{syn}}\) is the proton synchrotron loss timescale. Primary electrons cool down mainly by synchrotron and Compton scattering mechanisms which are given by

$$\begin{aligned} L_{e,\textrm{syn}}^{{\textrm{ob}}} \propto {t'}_{e, {\textrm{syn}}}^{-1} \, L'_{e} \, \Gamma _i^4, \end{aligned}$$
(12)

and

$$\begin{aligned} L_{e,\textrm{IC}}^{{\textrm{ob}}} \propto {t'}_{e,{\textrm{C}}}^{-1} \, L'_{e} \, \Gamma _i^4, \end{aligned}$$
(13)

respectively, \({t'}_{e,{\textrm{C}}}\) is Compton loss timescale for electrons.

Note that all observed luminosities depend directly on three quantities: (i) the losses timescales, (ii) the electron/proton luminosity, and (iii) the blob’s Lorentz factor. Therefore, the increase of one of them guarantees an increase in the observed luminosity, which could be associated with a flaring state.

2.2.1 Enhance of the processes efficiency

The evolution of the cooling timescale gives us information about the efficiency of the process. In our model, the cooling timescales \(t_{p\pi }^{-1}\), \(t_{pe}^{-1}\) and \(t_{e,{\textrm{EC}}}^{-1}\) are directly proportional to the external seed photons, meanwhile timescale \(t_{e(p), \textrm{syn}}^{-1}\) is proportional to the strength of the magnetic field.

In our model, the external seed photons are provided by the pair plasma, and therefore, the energy density is

$$\begin{aligned} u_{{{\textrm{pl}}}}' \simeq \frac{L_{{\textrm{keV}}} }{\Omega _{{{\textrm{pl}}}} R_{{\textrm{ph}}}^2 \beta _{{{\textrm{pl}}}} c\, 4 \, \Gamma _{{\textrm{rel}}}^2}, \end{aligned}$$
(14)

where \(\Omega _{{\textrm{pl}}}\sim 0.2 \pi \) is the solid angle covered by the pair plasma, and \(R_{\textrm{ph}}\sim R_g\) is the radius at photosphere. Following the treatment derived in [56] and using equation (14), the photopion timescale in delta-approximation is written as

$$\begin{aligned} {t'}_{p\pi }^{-1} (\gamma '_p)&= \frac{ L_{{\textrm{keV}}}}{2 \Gamma _\textrm{rel} \Omega _{{\textrm{pl}}} R_{\textrm{ph}}^2 \beta _{\textrm{pl }} \varepsilon _\textrm{pl} } \int _0^1 dx \, x \, \Phi _{\textrm{all}} \left( \frac{4\gamma _p' \varepsilon _{{\textrm{pl}}}'}{m_p c^2}, x \right) . \end{aligned}$$
(15)

On the other hand, following [57] the photopair timescale can be written as

$$\begin{aligned} {t'}_{\textrm{BH}}^{-1}(\gamma _p') = \frac{3 \sigma _{\textrm{T}} \alpha _f m_e^3 c^4}{32 \pi m_p } \frac{ L_{\textrm{keV}}}{\Gamma _\textrm{rel}\Omega _{{\textrm{pl}}} R_{\textrm{ph}}^2 \beta _{\textrm{pl }} \varepsilon _\textrm{pl}^3 } \frac{1}{\gamma _p'^3} \varphi \left( \frac{2 \gamma _p' \varepsilon _{{\textrm{pl}}}'}{m_e c^2} \right) ,\nonumber \\ \end{aligned}$$
(16)

where \(\varphi \) is a parametrized function. Similarly, the Compton scattering loss timescale in delta-approximation is

$$\begin{aligned} {t'}_{\textrm{IC}}^{-1} (\gamma _e') \simeq \frac{3 \sigma _{\textrm{T}} }{8 m_e c} \frac{ L_{\textrm{keV}}}{\Gamma _{\textrm{rel}}\Omega _{{\textrm{pl}}} R_{\textrm{ph}}^2 \beta _{\textrm{pl }} \varepsilon _{{\textrm{pl}}}^2 } \frac{1}{\gamma _e'^3}\int dE_1 E_1 F_c(q,\Gamma _e),\nonumber \\ \end{aligned}$$
(17)

where q and \(\Gamma _e\) are given by [58].

We notice from the above equations that when \(L_{\textrm{keV}}\) increases, the efficiency of photopion, photopair, and EC processes enhance but do not change any spectral signatures, which can also be observed when flux increases.

Belodoborov [59] proposed the formation of a pair plasma, which could emerge above the accretion disc if the luminosity \(L_{\textrm{keV}}\) increases enough to produce a thick optical environment to create annihilate pairs. These processes produce an \(e^\pm \) outflow that moves with a mildly relativistic velocity of \(\beta _{{\textrm{pl}}} \approx 0.3 - 0.7\). For BL Lacs and during a quiescent state, the accretion disc luminosity cannot be higher than \(L_d \approx 5 \times 10^{-3} L_{E}\) [60]. This luminosity condition may not be hold during flaring states.

Moreover, we note that efficiencies are also a function of \(\Gamma _{\textrm{rel}}\), but as Eq. (5) shows, could be assumed only dependent of \(\Gamma _i\) because \(\beta _{{\textrm{pl}}}\) cannot take a wide range of values. The case where \(\Gamma _i\) increase is discussed in a next subsection.

2.2.2 Variation in the particle distribution

We assume that accelerated protons reach a steady state during flaring events, and also, the proton distribution is isotropic and homogeneous.Footnote 1 Then, proton distribution follows a single power-law (PL) function given by

$$\begin{aligned} {N_p'}({\varepsilon _p'}) = {K_p'} {\varepsilon '_p}^{-\alpha _{p}} \, \qquad \varepsilon '_{p, {\textrm{min}}} \le \varepsilon _p' \le \varepsilon '_{p, \textrm{max}}, \end{aligned}$$
(18)

where the term \(K_p'\) is the normalization constant, \(\alpha _p\) is the proton spectral index and \({\varepsilon }'_{p, \textrm{min}}\) and \({\varepsilon }'_{p, {\textrm{max}}}\) are the minimum and maximum energy, respectively. Similarly, the electron distribution is described by a broken PL as

$$\begin{aligned} N_e'(\gamma _e') = K_e' \begin{array}{ll} {\gamma '_e}^{-\alpha _{e,1}}, &{}\quad {\gamma '_{e, {\textrm{min}}}} \le {\gamma '_e} \le {\gamma '_{e, {\textrm{br}}}}\\ {\gamma '_{e, {\textrm{br}}}}^{\alpha _{e,2}-\alpha _{e,1}} {\gamma '_e}^{-\alpha _{e,2}}, &{}\quad {\gamma '_{e, {\textrm{br}}}} \le {\gamma '_e} \le {\gamma '_{e, {\textrm{max}}}} \end{array} \end{aligned}$$
(19)

where \({\gamma '}_{e, {\textrm{min}}}\), \({\gamma '}_{e, {\textrm{br}}}\), \({\gamma '}_{e, {\textrm{max}}}\) are the minimum, break and maximum Lorentz factors of ultrarelativisc electrons, respectively.

Variations in the electron/proton distribution are suggested to originate in flaring states. For instance, [62] modeled different states of Mrk 501, assuming they are a consequence of variations of the electron distribution inside the emission’s zone. They pointed out that an intense and softer distribution produces a quiescent state, while a distribution with a harder spectral shape gives rise to a flaring state. Furthermore, increased injection of particles inside the emission zone could also trigger flare episodes (e.g., see [63]).

We consider two approaches for which the particle distribution could vary in a flaring episode: (i) when the electron/proton distribution gets hardened, but the total particle number is conserved, \(N_{e,p}^{\textrm{flare}} = N_{e,p}^{\textrm{quiescent}}\), i.e., there is no injection of new particles but an acceleration process, we refer it as re-acceleration case, (ii) when the distribution gets hardened or remains equal, but the total particle number increases \(N_{e,p}^{\textrm{flare}} > N_{e,p}^{\textrm{quiescent}}\), we refer it as injection case. It is worth mentioning that the mechanism of how the particle distribution could get hardened or injected is unclear, and it is out of the scope of this work. Here, we use distinct parameters for describing different states.

Particle re-acceleration. Assuming particle number is conserved, the normalization constant varies concerning the previous state, only as a function of spectral indexes, by a factor of \(K_{e,p}^{\textrm{flare}} \simeq (\alpha _{e,p}^{\textrm{flare}}-1)/(\alpha _{e,p}^{\textrm{quiescent}}-1) K_{e,p}^{\textrm{quiescent}}\). We note that the maximum and break energies do not have relevance. Therefore, the electron/proton luminosity during the flare becomes

$$\begin{aligned} L_{e,p}^{\textrm{flare}} \simeq 4\pi R^2 \, c \, \Gamma ^4 u_{e,p} > L_{e,p}^{\textrm{quiescent}}. \end{aligned}$$
(20)

The previous inequality (Eq. (20)) is valid when \(\alpha _{e,p}^{\textrm{flare}} < \alpha _{e,p}^{\textrm{quiescent}}\), and also when \(\varepsilon _{p, {\textrm{max}}}\) and \(\gamma _{e, {\textrm{br}}}\) do not decrease during the flaring activity.

New particle injection. New electrons and protons could be injected with a different intensity and spectral shape than the existing ones when the blobs are quiescent. The difference with the re-acceleration case is that this does not conserve the total particle number. This implies that the luminosity during a flaring state is larger than in a quiescent state, \(L_{\textrm{e,p}}^{\textrm{new}} > L_{\textrm{e,p}}^{\textrm{old}}\), as observed. In the AR2022 model, particles could be injected inside one blob at once or inside both blobs simultaneously. Moreover, we assume particle distributions reach a steady state during the flare duration.

Another important assumption is that the neutrality condition between injected protons and electrons inside the inner blob is satisfied [64, 65]. It is worth noting that this condition is not needed for the outer blob. Finally, particle distribution changes (e.g., a spectral index) must reflect variations in the SED, as observed in a flaring activity.

2.2.3 Acceleration of the emission zone

As a blob accelerates, the kinetic luminosity increases (\(L_{\textrm{k}} = 4\pi R^2 \, c \, \Gamma _b^4 \, u_{\textrm{k}}\) with k=e, p, rad and B) if no other parameter changes. Another consequence is the shifting of observed energy peaks to higher values (\(E^{\textrm{ob}} = \mathcal {D} \varepsilon \)). Moreover, using Eqs. (6) and (5) the threshold gamma-ray energy must be greater than

$$\begin{aligned} E_\gamma ^{\textrm{ob}} \gtrsim 64 \, {{\textrm{GeV}}} \, \mathcal {D}_i \, \Gamma _{\textrm{i}} \Gamma _{{\textrm{pl}}} \left( 1 - \beta _{\textrm{i}} \beta _\textrm{pl} \right) \approx 90 \, {{\textrm{GeV}}} \, \Gamma _i^2, \end{aligned}$$
(21)

where we have used \(\beta _{{\textrm{pl}}}=0.3\, (\Gamma _{{\textrm{pl}}}=1.05)\) and \(\mathcal {D}_i \simeq 2\Gamma _i\), for \(\beta _i\approx 1\). Therefore, the observed spectrum shifts to higher energies as \(\Gamma _i\) increase. An important implication is that the increase of the \(\Gamma _i\)-value must produce an increase of the photopion, photopair and EC timescales, although the efficiencies decrease (see Eqs. 15, 16 and 17).

Therefore, a flare activity under the AR2022 scenario could be interpreted by: (i) an increase on the pair-plasma luminosity, (ii) an increase of proton/electron luminosity due to an injection or a hardening of its distribution, and (iii) an acceleration of the blob.

3 Markarian 501: flaring events in 2009 May

We apply our model to Mrk 501 in May 2009 for a quiescent state and two flares presented on May first and 22nd, respectively. First, we model the quiescent state, and after, we interpret the flares activities evoking the model described in Sect. 2.

3.1 The quiescent state

We consider the multifrequency campaign performed from march 15, 2009, to August 1 (4.5 months), excluding the flaring activity on May 22 (For details, see ref. [31]). During this campaign, Mrk 501 exhibited low activity at all wavebands. We evoke the same treatment shown in [39] to model the low activity exhibited in Mrk 501. As follows, we estimate the parameter values required by our model.

3.1.1 The outer blob

We assume that the outer blob moves relativistically with a Lorentz factor of \(\Gamma _{\textrm{o}} = 5\) where for a jet observation in face-on point viewed, the Doppler factor is \(\mathcal {D}_{\textrm{o}} \simeq 10\). The region size could be restricted using the observed variability timescale, \(R\simeq \mathcal {D} t_{{\textrm{var}}} c\). Multifrequency observations indicate that the variability timescales vary between 5 and 10 days [31], except at VHEs, in which the authors reported values of one day or even shorter. [66] found similar results when performing an X-ray analysis of the previous epochs of Mrk 501 and another TeV Blazars. Here, we constrain the size of the outer region using a variability timescale of days, which corresponds to the size in the blob frame of

$$\begin{aligned} R''_{\textrm{o}} \lesssim 2.6 \times 10^{16} \, {{{\textrm{cm}}}} \, \left( \frac{t_{{\textrm{var}}}}{1 \, {\textrm{day}}} \right) \left( \frac{\mathcal {D}_{\textrm{o}}}{10}\right) . \end{aligned}$$
(22)

The magnetic field could be estimated using the synchrotron bump’s observed peak, around 1 keV. Considering the synchrotron spectral break \(E_{\textrm{syn, br}}= eB\gamma _{e, {\textrm{br}}}^2 \mathcal {D}/(m_e c)\) and Eq. (2), the strength of the magnetic field is

$$\begin{aligned} B_{\textrm{o}}'' \sim 0.09 {\, \mathrm G} \left( \frac{E_{\textrm{syn}}^\textrm{ob}}{1 \, {\textrm{keV}}} \right) ^{-1/3} \left( \frac{\mathcal {D}_\textrm{o}}{10} \right) ^{1/3} \left( \frac{R_{\textrm{o}}''}{1 \times 10^{16}\, {{\textrm{cm}}}} \right) ^{-2/3}.\nonumber \\ \end{aligned}$$
(23)

The parameters that described the electron distribution can be constrained using the blob’s parameters previously estimated. The break Lorentz factor can be approximated using Eq. (2), and then written as

$$\begin{aligned} \gamma ''_{e, {\textrm{br}}} \sim 8 \times 10^{4} \, \left( \frac{B''_o}{0.1 \, {\textrm{G}}} \right) ^{-2} \left( \frac{R_o''}{1 \times 10^{16} \,\textrm{cm}} \right) ^{-1}. \end{aligned}$$
(24)

The minimum (\(\gamma ''_{e, {\textrm{min}}}\)) and maximum (\(\gamma ''_{e, {\textrm{max}}}\)) Lorentz factors as well as the spectral indexes are determined by fitting the broadband SEDs. The electron normalization constant is determined by the ratio of Compton to synchrotron luminosities, which for Mrk 501 a feasible value is \(L_{\textrm{ic}}/L_{\textrm{syn}} \sim 1\), and considering a spectral index of \(\alpha _{e,1} = 2.3\), which agrees with observations. Therefore, the electron normalization constant becomes

$$\begin{aligned} K_e'' \sim 3 \times 10^4 \, {{{\textrm{cm}}}^{-3}} \, \left( \frac{R''_o}{1 \times 10^{16} \, {{\textrm{cm}}}} \right) ^{-1} \, \left( \frac{\gamma ''_{e, \mathrm b}}{2 \times 10^{5}} \right) ^ {-0.7}. \end{aligned}$$
(25)

The complete set of parameters that describes the outer blob is listed in Table 1, while the result of SSC flux is plotted in Fig. 1. We note that only considering the SSC model in the outer blob the VHE observations is explained by demanding a very low equipartition value. Then, the AR2022 model offers a solution to this issue, invoking the existence of another blob located near the jet’s base. In this blob, protons interact via the photopion process with the radiation field produced by a pair plasma that emerges above the accretion disc.

Table 1 Parameters used to model the states of Mrk 501 on 2009 may with the outer blob

3.1.2 The inner blob

The inner blob description is more complex than the outer blob because it involves electrons and protons. In this work, the inner blob is assumed electrically neutral. We estimate the parameters that describe the inner blob as we did for the outer blob. We assume the size of this blob is of the order of \(R_g\). Here, we adopt \(R=1 \times 10^{14}\, {{\textrm{cm}}}\) similar to [67]. As shown in AR2022, the main emission of this blob corresponds to the highest gamma-rays, which could reach energies of a few TeVs. This flux results from neutral pion decay into two gamma-rays, in which spectrum peaks around \(\sim \) 1 TeV.

Table 2 Parameters used to model the flaring states in May 2009 in Mrk 501 with the inner blob

We consider the photons produced in the pair plasma, which reach the inner blob. As shown in Sect. 2.2.3, in this case, the resulting energy peak of gamma rays is independent of \(\Gamma _i\) or any other parameter. Therefore, we cannot constrain any parameter, so we take them as free parameters.

Concerning the strength of the magnetic field, we estimate its value using Eq. (1). It can be written as

$$\begin{aligned} B_i' \sim 100 \, {\textrm{G}} \left( \frac{B_o}{0.1 \, {\textrm{G}}} \right) \left( \frac{r_o}{10^{17} \hbox { cm}} \right) ^{-1} \left( \frac{r_i}{10^{14} \hbox { cm}} \right) . \end{aligned}$$
(26)

As follows, we estimate the parameters that describe proton and electron distributions.

(a) Proton distribution. We consider the minimum proton energy as \(\varepsilon _{p, {\textrm{min}}}'= m_p c^2\simeq 1 \, {\textrm{GeV}}\), and the maximum energy (Eq. 3) as

$$\begin{aligned} \varepsilon _{p, {\textrm{max}}}' \sim 280 \, {\mathrm{PeV \, }} \left( \frac{\alpha _{acc}}{0.1} \right) \, \left( \frac{B}{100 \, \mathrm G}\right) \left( \frac{R'_i}{10^{14} \, {{\textrm{cm}}}}\right) . \end{aligned}$$
(27)

Therefore, the maximum energy of proton-synchrotron photons is given by

$$\begin{aligned} E_{p, {\textrm{syn}}}^{\textrm{ob}} \sim 1.3 \, {{\textrm{GeV}}} \, \left( \frac{\mathcal {D}_i}{3}\right) \left( \frac{B'_i}{100 \, \mathrm G}\right) \left( \frac{\varepsilon '_{p, {\textrm{max}}}}{300 \, \mathrm PeV}\right) ^2. \end{aligned}$$
(28)

The observed luminosity at the peak produced by proton synchrotron with \(\alpha _p=2\) could be estimated by taking the maximum proton energy as

$$\begin{aligned}{} & {} L_{p, {\textrm{syn}}}^{\textrm{ob,pk}} \sim 3 \times 10^{43} \, \mathrm{erg \, s^{-1}} \left( \frac{\mathcal {D}_i}{3} \right) ^4 \left( \frac{B'_i}{100 \, \mathrm G} \right) ^2\nonumber \\{} & {} \quad \times \left( \frac{K'_p}{1 \times 10^{7} \hbox { GeV}^{-1} \, \textrm{cm}^{-3}} \right) \left( \frac{\varepsilon '_{p, {\textrm{max}}}}{300 \, {\textrm{PeV}}} \right) . \end{aligned}$$
(29)

This flux must be attenuated by the photons of the pair-plasma, as pointed out by [39] for TBLs. Moreover, it is worth noting that if we take the lowest value allowed by our model to works, i.e., \(\varepsilon '_{p,\mathrm max} \sim 100 \, {\textrm{TeV}}\), the observed luminosity would be \(L_{p, {\textrm{syn}}}^{\textrm{ob,pk}} \sim 1 \times 10^{40} \, {\mathrm{erg \, s^{-1}}}\).

Therefore, proton-synchrotron contribution may not be taken into consideration at these protons’ energies (\(\lesssim 100 \, {\textrm{PeV}}\)).

However, only when \(\varepsilon '_{p,\mathrm max}\) reaches higher values, for instance, \(\sim 5 \, {\textrm{EeV}}\), the synchrotron peak shifts to \(E_{p, {\textrm{syn}}}^{\textrm{ob}} \sim 325 \,\textrm{GeV}\) and the pair-plasma radiation field does not completely suppress the flux at those energies; therefore a significant fraction of proton synchrotron emission must be observed for \(\varepsilon '_{p,\mathrm max} \gtrsim 5 \, {\textrm{EeV}}\).

(b) Electron distribution. We consider the minimum and maximum electron Lorentz factors as \(\gamma _{e, {\textrm{min}}}=1\) and \(\gamma _{e,\mathrm max}=10^5\) [67], respectively. Note that, against protons, the break Lorentz factor of electrons is located at lower values because electrons cool down quickly due to a strong magnetic field. Therefore, the break Lorentz factor is

$$\begin{aligned} \gamma '_{e, {\textrm{br}}} \approx 7.5 \, \left( \frac{B'_i}{100 \, \textrm{G}} \right) ^{-2} \left( \frac{R_i'}{10^{14} \,\,{\textrm{cm}}} \right) ^{-1}, \end{aligned}$$
(30)

which produces a synchrotron spectral break at radio frequencies

$$\begin{aligned} \nu _{e, {\textrm{syn, pk}}}^{\textrm{ob}} \approx 6.8 \, {\textrm{GHz}} \, \left( \frac{\mathcal {D}_i}{3} \right) \left( \frac{B_i'}{100 \, \mathrm G} \right) ^{-3} \left( \frac{R_i'}{10^{14} \, \textrm{cm}} \right) ^{-2}.\nonumber \\ \end{aligned}$$
(31)

We should that at those frequencies, the strength of the magnetic field could be constraint using the observed flux, which corresponds to

$$\begin{aligned} B'_i\lesssim & {} 125 {\, \mathrm G} \, \bigg (\frac{\mathcal {D}_i}{3}\bigg )^{-7/3} \bigg (\frac{\nu _\textrm{syn}^{\textrm{ob}}}{7 \, {\textrm{GHz}}}\bigg )^{-1/3} \bigg (\frac{\nu L_{\nu , \mathrm syn }^{\textrm{ob}}}{10^{41} \, {\textrm{erg}} \, s^{-1}}\bigg )^{2/3} \nonumber \\{} & {} \times \bigg (\frac{K_e'}{10^{7}\mathrm \, \textrm{cm}^{-3} }\bigg )^{-2/3}. \end{aligned}$$
(32)

Our results show that the main contribution from the inner blob is at radio wavelength and VHEs via synchrotron emission by primary electrons and photohadronic processes.

(c) Photopion pairs We estimate the synchrotron emission using Eqs. (4) and (8). In this case, the synchrotron energy would be above

$$\begin{aligned} E_{\mathrm{syn,p\pi }} \gtrsim 36 \, {\textrm{keV}} \, \Gamma _{\textrm{rel}}^{2} \, \left( \frac{B_i'}{100 \textrm{G}}\right) \, \left( \frac{\mathcal {D}_i}{3}\right) . \end{aligned}$$
(33)

The full parameters used for describing the quiescent state are listed in Tables 1 and 2 for the outer and inner blob, respectively. The resulting spectrum is shown in Fig. 1.

3.2 Flaring activity

Mrk 501 exhibited two flares in May 2009. The first flare started on 2009 May 1 (MJD 54952) and was detected by Whipple 10 m telescope for 2.3 h above \(>300\, {\textrm{GeV}}\). During the first 0.5 h (i.e, at MJD 54952.37) the flare reached its maximum flux \(\sim 4.5 {\mathrm{C.U.}}\). After that, VERITAS started the observation at MJD 54952.41 (1.4 h after the peak), and the flux was decreased to 1.5 C.U. There was no significant increase in X-ray flux which was pointed out as a tentative VHE orphan flare [36]. However, a hardening spectrum was reported by Swift/XRT. They also pointed out that the hardening must have been due to a shift of the synchrotron bump towards higher energies. Furthermore, an interesting feature is the optical polarization degree increases during this flare.

The MAGIC telescope observed the second flare; on May 22 (MJD 54973), it was observed and reported a flux increased by 3 times the low flux level.

On May 24 (MJD 54975), observations during \(\sim 3 \hbox { h}\) measured a decreased flux to \(\sim \) 0.5 C.U. Concerning the X-ray band, this flare shows an increase in a factor of \(\sim 2\) in the band of 2–10 keV respect to the average value. Against the first flare, the spectrum did not present a hardening or another change in the X-ray spectral shape.

We consider the same values of variability timescales for two flares as suggested in [36]. They approximated as \(t_{{\textrm{var}}}^1 \sim 0.5 \hbox { h} \) and \(t_{{\textrm{var}}}^2 \sim \hbox { few days }\) for the first and second flares, respectively. The result reported by [36] showed that the spectral indexes of the VHE spectrum during both flares were harder than the ones observed during the quiescent state. In our model, that emission is produced in the inner blob, and we cannot only assume that \(L_{\textrm{keV}}\) or \(\Gamma _i\) take higher values because, as we discussed in Sect. 2.2, these only increase the flux without changing the spectral shape. Therefore, we need to assume that \(L_{\textrm{keV}}\) or \(\Gamma _i\) increase, and simultaneously the spectrum becomes harder due to a reacceleration process. Here, we do not consider the case when \(L_{\textrm{keV}}\) increases because the process is more related to the properties of the accretion disc instead of the blob, and we are only interested in explaining the flares using the changes in the properties of the blobs.

We consider two scenarios to produce the VHE flares by the inner blob, which will be used to model the two flares of Mrk 501 in May 2009.

  • a. MODEL A. The inner blob accelerates, increasing its Lorentz factor, \(\Gamma _i\). In contrast, simultaneously, the electron/proton distribution in the blob becomes harder, conserving the particle number \(N_{\textrm{flare}}=N_{\textrm{quiescent}}\).

  • b. MODEL B. A new electron/proton distribution is injected in the inner blob, which increase the particle number \(N_{\textrm{flare}}>N_{\textrm{quiescent}}\).

In both models, as we did for a quiescent state, we assume that electrons are injected in the inner blob with \(\gamma _{e, {\textrm{min}}}' = 1\) and protons with \(\varepsilon '_{p, {\textrm{min}}}= 1\, \hbox {GeV}\). The values of the magnetic field determine the value of \(\gamma _{e,\mathrm br}'\) and \(\varepsilon _{p, {\textrm{max}}}'\) given by Eqs. (2) and (3), respectively. Furthermore, electrons and protons are injected with the same spectral indexes. Moreover, for electrons, we assume \(\alpha _{e,2}= \alpha _{e,1}+1\).

Finally, the outer blob could also suffer some changes triggering observable signatures in the X-ray band as presented during both flares. Because two flares present different X-ray behavior, we apply different assumptions for each flare’s outer blob. The choice will be explained in the following.

3.2.1 First flare (MJD 54952)

The first flare is tentatively identified as an orphan flare. Since the variability timescales are of the order an hour, using the causality argument \(R'_1 \lesssim 5 \times 10^{13} \, {{{\textrm{cm}}}} \, \mathcal {D}_i \, (t_{{\textrm{var}}}/0.5 \hbox { hr})\), the emission zone must be a very compact one. Therefore, we adopt the inner blob’s size \(R'_1 = 1 \times 10^{14} \, {{{\textrm{cm}}}}\) based on variability observations here. We assume VHE gamma-ray flares are produced in the inner blob. Therefore, we apply MODEL A and MODEL B using the parameters of Table 2, and the resulting spectrum is plotted in Fig. 2.

Furthermore, this flare presents a hardening in the X-ray spectrum, which could be attributed to a shift of the synchrotron peak produced by the outer blob. This shift could be produced by an increase of \(\gamma _{e, \textrm{br}}''\) in the outer blob resulting as a consequence of the decrease in the magnetic field (see Eq. 24). On the other hand, we note that in Fig. 1, for quiescent state, the synchrotron emission of photopion secondary pairs peaks around \(\nu _{\textrm{syn, p}\pi }\sim 10^{19} \, {\textrm{Hz}}\). This contribution increases proportional to VHE gamma-rays flux, as we mentioned in Sect. 2.1. In this work, during the first flare, we assume the emission of photopion pairs causes the hardening of the X-ray spectrum.

The result is plotted in Fig. 2 and the corresponding parameters are listed in Table 1. Our result shows a good description of the flare; models A and B offer similar descriptions, and the main differences correspond to the parameters used.

3.2.2 Second flare (MJD 54973)

The second flare differs from the first flare, mainly due to the variability timescale; the second flare is longer than the first one. This would indicate that the emitting region of the second flare could be greater than the first one; which using the causality argument constraint the emitting region size by \(R_2'\lesssim 5 \times 10^{15} \, {{{\textrm{cm}}}} \, \mathcal {D}_i \, (t_{{\textrm{var}}}/2 \, {\textrm{day}})\). Nevertheless, another option is that the process that triggers the second flare takes more time than the first flare. Assuming this alternative, we assume the size of the emitting regions is similar, then \(R_2' \approx 1 \times 10^{14} \, {{\textrm{cm}}}\). The result is shown in Fig. 2b. Our result shows that MODEL A and B cannot successfully explain the the X-ray and the VHE gamma-ray flux spectrum. This could suggest that the X-ray flux comes from another region different from the inner blob. Therefore, we consider a third scenario named “MODEL C”.

  • c. MODEL C. The increase in X-ray flux is the product of the outer blob’s acceleration, and the VHE gamma-ray flux results from particle injection into the inner blob.

The result of this case is plotted in Fig. 2b. MODEL C offers a better solution than MODEL A and MODEL B for the second flare but with the cost of accelerating protons at EeV energies. (see Table 2).

4 Discussion and conclusion

This work presents a two-zone model to explain the quiescent and two flare activities during May 2009 in Mrk 501. We showed that the quiescent state could be well described by the recent model proposed by AR2022 with similar parameter values as it found for the six best-known hard-TeV BL Lacs. In contrast with AR202, we consider the emission of secondary pairs produced via the photopion process. This emission peaks in the hard X-ray band and could produce an observable signature during intense VHE gamma-ray flares. Our result indicates that the model offers an excellent solution to explain the SED of Mrk501 during a quiescent state.

Furthermore, we implemented the AR2022 model to explain the flare activities presented on Mrk 501. We considered the episodes presented in 2009, May 1st and 22nd. We discussed many possibilities that could cause a flaring episode which could be triggered mainly by three possibilities: (i) an increase of the pair-plasma luminosity, (ii) changes in the electron/proton distribution in order to produce a large \(L_{e,p}\), and (iii) the acceleration of the emission zone. The first possibility is that only the efficiency is enhanced and does not change the resulting spectral shape. Meanwhile, the second and third ones produce changes in the shape of the resulting spectrum, producing a hardening of the spectral index or shifting the peak energy, respectively. We estimate that the kinetic luminosity is to be \( L_{\textrm{k}}\simeq (1.6{-}42) \times 10^{45} \, {\textrm{erg}} \, s^{-1}\). We note that the kinetic luminosity as expected is well above that lower limit of radio galaxies (Fanaroff–Riley I) [68]. Although the two flares presented some significant differences, they could be successfully fitted with our model. The VHE emission of both flares, first and second, are well explained by the same mechanism. VHE gamma-rays are produced by interacting photons of the pair plasma and protons inside the inner blob. Therefore, we assumed an increase in proton luminosity that triggers the flare. The flare produced in the inner blob presents another unique signature in the keV band, which could be tested with observations. We applied two scenarios (MODEL A and B) that produced a similar fit. The first assumes that an acceleration of the inner blob and a re-acceleration of electrons and protons triggers VHE gamma-rays. Meanwhile, the second model assumes electrons and protons are injected with new distribution in the inner blob. Both cases required similar proton/electron luminosity and magnetic field, but a small value of equipartition parameter for the second model. A third scenario (MODEL C) was applied for the second flare, which offers the best fit instead of MODEL A and B. This case involves activities in the outer blob and the acceleration of protons in the inner blob in the EeV regime. While the first flare is well-fitted by MODEL A, the second one is favored by MODEL C.

Both flares also showed hints of X-ray activities, where the emission of only either the outer or inner blob cannot wholly explain the observed spectrum. In the first flare, only a hardening in its X-ray spectrum occurs. The emission of photopion pairs interprets this hardening, and there is no need to invoke activity in the outer blob. On the other hand, the second flare increased the X-ray flux without changing the spectrum. Against first flares, this flux cannot be interpreted by secondary pairs. Therefore, we interpreted this as the acceleration of the outer blob, and the results preserve the quiescent state’s equipartition value, \(U_B/U_e \approx 0.13\).

A significant result for our model is that the equipartition parameter decreased in the inner blob during both flares. This could suggest that flares are triggered by a transfer of magnetic energy to the kinetic energy of particles. Our model explained two VHE flares episodes, assuming a harder electron/proton distribution inside the inner blob. In addition, our result did not show a significant difference between the injection of a new harder electron/proton distribution or the reacceleration of the same population.

An exciting feature observed during the first flare is the increase in the optical polarization degree, which our model cannot explain. Possibly, the synchrotron emission of primary electrons in the inner blob shifts to the optical band, which contributes to the flux adding up more polarized photons. That polarization flare was not observed during the second flare, suggesting that the nature of both flares was distinct.

It is essential to mention that, in our model, the produced neutrino flux peaks around \(\gtrsim \) 1 TeV [69]. However, our predicted spectral shape differs from the IceCube Collaboration’s, especially for the blazar TXS 0506 +056, which spectrum is well described by an unbroken power-law with a spectral index of \(\approx 2.2\) and does not necessary peaking at TeV energies [5, 70]. Our scenario agrees better with the case of NGC 1068, where the spectrum is a softer one \(\approx 3.2\), and the most contribution comes from the energy range of 1.5–15 TeV, and out of that range data cannot strongly constraint the properties of the inferred flux [70, 71]. Nevertheless, another option might be one where the total spectrum is composed of two neutrino components, one at TeV energies and another at higher energies.

Furthermore, multiwavelength observations with simultaneous neutrino observations during future intense flaring activities in blazars may provide additional constraints to our model. Recently, [72, 73] pointed out that high-energy neutrinos are produced when the gamma-ray fluxes are suppressed due to increased seed photons, which enhance photopion efficiency and pair creation process. In our scenario, seed photons are the 511 keV annihilation line, which strongly attenuates the gamma-ray flux from MeV to GeV energies.

Our model produced an essential signature near 1 MeV, which could be tested with the observation by future telescopes such as AMEGO or eASTROGAM during flare episodes in BL Lacs. Further, multiwavelength campaigns that can be observed simultaneously during flare episodes are the key to testing the model.