1 Introduction

M87 is a giant radio galaxy in the Virgo cluster at a luminosity distance of \(16.7 \pm 0.2\) Mpc [1] and a redshift of \(z=0.00436\). The mass of the central supermassive black hole (SMBH) is estimated to be \(M_\mathrm{BH} = (3\)\(6)\times 10^{9} M_{\odot }\) [2]. Based on its radio morphology it is classified as FR-I galaxy [3]. The radio images and modeling of its interaction with the surrounding environment suggests that the jet is misaligned with respect to the line of sight [3, 4]. The substructures in the plasma jet originated from the center of M87 is resolved at different wavelengths (radio [5], optical [3] and X-ray [6]). Due to the harbouring of SMBH in the center and the presence of the jet, M87 was considered as a potential candidate for TeV-emission. The evidence for very high energy (VHE) \(\gamma \)-rays (\(E_{\gamma }>100\) GeV) emission from M87 was reported by the HEGRA Collaboration in 2003 [7] and was later confirmed by H.E.S.S., VERITAS [8, 9] and MAGIC. The AGN M87 is normally a weak VHE source, but it shows strong variability at VHE with time scale of the order of days, which indicates a compact emission region \(< 5\times 10^{15}{\fancyscript{D}}\) cm (where \({\fancyscript{D}}\) is the Doppler factor of the emitting plasma), corresponding to only a few Schwarzschild radii (\(R_\mathrm{s}=\mathrm{2GM}_\mathrm{BH}/c^{2} \simeq 10^{15}\,\mathrm{cm}\)).

So far, there are three episodes of enhanced VHE \(\gamma \)-ray emission observed from the AGN M87 in the years 2005 [10, 11], 2008 [8] and 2010 [8, 12]. The latest one of April 2010, is the strongest TeV \(\gamma \)-ray flare ever detected from the AGN M87 with a peak flux of \((2.7 \pm 0.68)\times 10^{-11}\,\mathrm{erg}\,\mathrm{cm^{-2}\,\mathrm{s}^{-1}}\) for \(E_{\gamma } > 350\) GeV [8, 9, 13]. The detected single isolated flare is well described by two sided exponential functions with significantly different flux rise and decay times [8]. The rising (5–8 of April), the peak (9–10 of April), and the falling (11–15 of April) parts of the flux during the flare are consistent with power-law behavior. This flare was detected simultaneously by VERITAS, MAGIC, and H.E.S.S. [9, 12], and triggered further multi-wavelength observations in the radio, optical, and X-ray ranges. This was also observed by Fermi-LAT at MeV–GeV energies but it could not observe day-scale variability [13].

Different theoretical models have been proposed to explain the flaring in M87. Wagner et al. [14] have complied the multi-wavelength data sets spanning almost all the energy range and presented a spectral energy distribution (SED) of M87 along with leptonic and hadronic models predictions. The hadronic synchrotron-proton blazar model [15] suggests the emission of synchrotron photons from protons, charged pions and muons in the jet magnetic field. However, the SED produced using the archival data before 2004 shows a steep drop-off at TeV energies and to explain above TeV energy a strong Doppler boosting is needed which is not the case in M87. So this model is not compatible with any of the VHE spectral measurements after 2004. The leptonic decelerating inner jet model by Georganopoulos et al. [16] does not describe the hard TeV spectra well as it has a strong cut-off. The multi-blob synchrotron self Compton (SSC) model by Lenain et al. [7] needs a low magnetic field in the VHE emitting region, which is unlikely because this region is of the order of the Schwarzschild radius and is expected to have a strong field. Thus the so called one-zone homogeneous leptonic models of Georganopoulos et al. [16] and Lenain et al. [7] are very unlikely to reproduce the observed VHE spectrum. The lepto-hadronic model [17] fits to the low energy \(\gamma \)-ray spectrum by Fermi/LAT and HESS low state but not the flaring state. However, this model has been extended by Reynoso et al. [18] to study the production of very high energy \(\gamma \)-rays in blazars by introducing a two-components jet. The spine-sheath model by Tavecchio and Ghiselline [19] has difficulties to achieve a harder spectrum in the VHE range due to strong absorption of the TeV photons from interactions with the optical-infra red (IR) photons from the spine. In the jet-in-jet model of Giannios et al. [20] minijets are formed within the jet due to flow instabilities and these minijets move relativistically with respect to the main jet flow. The interaction of the daughter jets with the main jet are responsible for the production of VHE gamma rays. While the minijets are aligned with our line of sight, the VHE gamma rays are beamed with a large Doppler factor. This scenario can explain the 2010 flare but does not provide a quantitative prediction of the light curve of the flare. Similarly, the magnetosphere model [2123] can explain the hard TeV spectrum but in this case also there is no detailed quantitative predication for the VHE light curve. The work by Cui et al. [24] explains the VHE gamma ray flare in an external inverse Compton model with a very wide jet. In another picture, the dense and cold cloud called broad line region (BLR) located in a small region surrounding the central black hole may interact with the hadronic component of the AGN jet and produce \(\gamma \)-rays as well as neutrinos [25]. Barkov et al. [26] have proposed a scenario where a red giant star with a loosely bound envelope of mass \({\sim }10^{29}\) g interacts with the base of the M87 jet. The VHE emission is produced near the SMBH due to the interaction of the cosmic ray protons emerging from the jet with the disrupted dense cloud of the red giant through proton–proton interaction. This model reproduced well the light curve and the energy spectrum of the April 2010 flare. An alternative mechanism is proposed to explain the TeV flaring of the blazar 1ES 1959+650 [27] and the multi-TeV emission from Centaurus A [28]. In this mechanism, it is assumed that the flaring occurs within a compact and confined region which lies inside a blob of radius \(R'_\mathrm{b}\). In this region the photon density is very high compared to the rest of the jet. The Fermi-accelerated high energy protons collide with the high density target photons to produce \(\Delta \)-resonance. These high density photons have the same energies as the low energy tail of the SSC photons (1ES 1959+650) or the SSC peak photons (Centaurus A). The \(\Delta \)-resonance subsequently decays to high energy photons and neutrinos. Here we further assume that the ratio of photon densities at different energies in the flaring and non-flaring states are the same. This scenario neither needs any intervening foreign object nor any special jet cloud geometry [29] to produce the high energy photons.

The plan of the paper is as follows: In Sect. 2 we review in detail the flaring model and the kinematical condition for the production of \(\Delta \)-resonance. The results are discussed in Sect. 3 and we briefly conclude in Sect. 4.

2 The flaring model

In a recent paper Sahu et al. [27] have explained the orphan TeV flare of 4th June, 2002, from the blazar 1ES1959+650 through hadronic model. In this work the standard interpretation of the leptonic model is used to explain both, low and high energy peaks, by synchrotron and SSC photons, respectively, as in the case of any other AGNs and blazars. Thereafter, it is proposed that the low energy tail of the SSC photons in the blazar jet serves as the target for the Fermi-accelerated high energy protons of energy \({\le }100\) TeV, within the jet to produce TeV photons through the decay of neutral pions from the \(\Delta \)-resonance. This model explains very nicely the observed TeV flux from the orphan flare. Also it is interesting to note that this scenario is self sufficient and does not need any external medium for the production of gamma rays. As discussed, the flaring occurs within a compact and confined volume of radius \(R'_\mathrm{f}\) inside the blob of radius \(R'_\mathrm{b}\) (\(R'_\mathrm{f} < R'_\mathrm{b}\)) which is shown in Figure 1 of Ref. [27]. Both the internal and the external jets are moving with the same bulk Lorentz factor \(\Gamma \) and the Doppler factor \({\fancyscript{D}}\). In normal situation within the jet, we consider the injected spectrum of the Fermi-accelerated charged particles having a power-law spectrum \(\mathrm{d}N/\mathrm{d}E\propto E^{-\alpha }\) with the power index \(\alpha \ge 2\). But in the flaring region we assume that the Fermi-accelerated charged particles follow a power-law spectrum with an exponential cut-off [27, 30] and is given as

$$\begin{aligned} \frac{\mathrm{d}N_\mathrm{p}}{\mathrm{d}E_\mathrm{p}}\propto E_p^{-\alpha } \mathrm{e}^{-E_\mathrm{p}/E_{\mathrm{p},\mathrm{c}}}, \end{aligned}$$
(1)

where the high energy proton has the cut-off energy \(E_{\mathrm{p,c}}\) and again the spectral index has the restriction \(\alpha > 2\). Also probably due to the copious annihilation of electron positron pairs, splitting of photons in the magnetic field and enhance IC photons around the base of the jet [20, 31], the comoving photon density \(n'_{\gamma , \mathrm{f}}\) (flaring) in the flaring region is much higher than the rest of the blob \(n'_{\gamma }\) (non-flaring) i.e. \({n'_{\gamma , \mathrm{f}}(\epsilon _\gamma )}\gg {n'_{\gamma }(\epsilon _\gamma )}\). Here we assume that the ratio of photon densities at two different background energies \(\epsilon _{\gamma _1} \) and \(\epsilon _{\gamma _2}\) in flaring and non-flaring states remains the same, that is,

$$\begin{aligned} \frac{n'_{\gamma , \mathrm{f}}(\varepsilon _{\gamma _1})}{n'_{\gamma , \mathrm{f}}(\varepsilon _{\gamma _2})}=\frac{n'_\gamma (\varepsilon _{\gamma _1})}{n'_\gamma (\varepsilon _{\gamma _2})}. \end{aligned}$$
(2)

In general, in the leptonic one-zone synchrotron and SSC jet model the emitting region is a blob with comoving radius \(R'_\mathrm{b}\) moving with a velocity \(\beta _\mathrm{c}\) corresponding to a bulk Lorentz factor \(\Gamma \) and seen at an angle \(\theta _\mathrm{ob}\) by an observer which results with a Doppler factor \({\fancyscript{D}}=[\Gamma (1-\beta _\mathrm{c} \cos \theta _\mathrm{ob})]^{-1}\). The emitting region is filled with an isotropic electron population and a randomly oriented magnetic field \(B'\). The electrons have a power-law spectrum. The energy spectrum of the Fermi-accelerated protons in the blazar jet is also assumed to be of power-law. Due to high radiative losses, electron acceleration is limited, however, protons and heavy nuclei can reach UHE through the same acceleration mechanism.

Here, we assume that, due to photohadronic interaction in the jet, the pions are produced through the intermediate \(\Delta \)-resonance given by

$$\begin{aligned} p+\gamma \rightarrow \Delta ^{+}\rightarrow \left\{ \begin{array}{l l} p\,\pi ^0, &{} \quad \text{ fraction } \text{2/3 }\\ n\,\pi ^{+} , &{} \quad \text{ fraction } \text{1/3 },\\ \end{array} \right. \end{aligned}$$
(3)

which has a cross section \(\sigma _{\Delta }\sim 5 \times 10^{-28}\, \mathrm{cm}^2\). Subsequently, the neutral and charged pions will decay through \(\pi ^0\rightarrow \gamma \gamma \) and \(\pi ^{+}\rightarrow e^{+}{\nu }_e\nu _{\mu }{\bar{\nu }}_{\mu }\), respectively. The produced neutrinos and photons are in the GeV–TeV range energy. For the production of the \(\Delta \)-resonance, the kinematical condition is

$$\begin{aligned} E'_p \varepsilon '_\gamma = \frac{(m^2_{\Delta }-m^2_\mathrm{p})}{2 (1-\beta _\mathrm{p} \cos \theta )}, \end{aligned}$$
(4)

where \(E'_\mathrm{p}\) and \(\varepsilon '_\gamma \) are, respectively, the proton and the background photon energies in the comoving frame of the jet. We define the quantities with a prime in the comoving frame and without prime in the observer frame. For high energy protons we assume \(\beta _\mathrm{p}\simeq 1\). Since in the comoving frame the protons collide with the SSC photons from all directions, in our calculation we consider an average value \((1-\cos \theta ) \sim 1\) (\(\theta \) in the range of 0 and \(\pi \)). Going from comoving frame to observer frame, the proton and photons energies can be written as,

$$\begin{aligned} E_\mathrm{p}=\frac{\Gamma E'_\mathrm{p}}{(1+z)}, \end{aligned}$$
(5)
$$\begin{aligned} \varepsilon _\gamma = \frac{{\fancyscript{D}} \varepsilon '_\gamma }{(1+z)}, \end{aligned}$$
(6)

respectively, and the kinematical condition given in Eq. (4) can be written in the observer frame as

$$\begin{aligned} E_\mathrm{p} \varepsilon _\gamma \simeq 0.32~ \frac{\Gamma {\fancyscript{D}}}{(1+z)^2} ~\mathrm{GeV}^2. \end{aligned}$$
(7)

In the jet comoving frame, each pion carries \({\sim }0.2\) of the proton energy while 50 % of the \(\pi ^0\) energy will be given to each \(\gamma \). So the relationship between high energy \(\gamma \)-ray and the \(E_\mathrm{p}\) is \(E_{\gamma } \simeq {\fancyscript{D}} E_\mathrm{p}/10\). From these relations we can express the \(\Delta \)-resonance kinematical condition in terms of photon energies (target photon energy \(\varepsilon _{\gamma }\) and the observed photon energy \(E_{\gamma }\)) as

$$\begin{aligned} E_\gamma \varepsilon _\gamma \simeq 0.032~\frac{ {\fancyscript{D}}^2}{(1+z)^2} ~\mathrm{GeV}^2. \end{aligned}$$
(8)

The optical depth to produce the \(\Delta \)-resonance is given as

$$\begin{aligned} \tau _{\mathrm{p}\gamma }=n'_{\gamma , \mathrm{f}}\sigma _{\Delta } R'_\mathrm{f}. \end{aligned}$$
(9)

The comoving photon number density within the confined volume can be given in terms of the luminosity \(L_{\gamma }\) as

$$\begin{aligned} n'_{\gamma , \mathrm{f}} = \eta \frac{L_\gamma }{{\fancyscript{D}}^{2+\kappa }} \frac{(1+z)}{4\pi {R'}^2_\mathrm{f} \,\varepsilon _\gamma }, \end{aligned}$$
(10)

with \(\kappa \sim (0\)\(1)\) (depending on whether the jet is continuous or discrete) and \(\eta \sim 1\). Here in this work we consider \(\kappa =0\). For \(\kappa =1\), the photon density will be reduced by a of factor \({\fancyscript{D}}^{-1}\) in the discrete jet as compared to continuous one. The relationship between observed \(\gamma \)-ray flux \(F_{\gamma }\), high energy proton flux, and the background SSC photon density in the flaring region is given as [27]

$$\begin{aligned} F_{\gamma }(E_{\gamma })&\equiv E^2_{\gamma } \frac{\mathrm{d}N(E_\gamma )}{\mathrm{d}E_\gamma } \nonumber \\&\propto E^2_\mathrm{p} \frac{\mathrm{d}N(E_\mathrm{p})}{\mathrm{d}E_\mathrm{p}} n'_{\gamma , \mathrm{f}}(\varepsilon _\gamma ). \end{aligned}$$
(11)

Then the observed high energy \(\gamma \)-ray flux at two different energies will scale as

$$\begin{aligned} \frac{F_\gamma (E_{\gamma _1})}{F_\gamma (E_{\gamma _2})}&= \frac{n'_{\gamma , \mathrm{f}}(\varepsilon _{\gamma _1})}{n'_{\gamma , \mathrm{f}}(\varepsilon _{\gamma _2})} \left( \frac{E_{\gamma _1}}{E_{\gamma _2}}\right) ^{-\alpha +2} \mathrm{e}^{-(E_{\gamma _1}-E_{\gamma _2})/E_\mathrm{c}}\nonumber \\&\equiv \frac{n'_\gamma (\varepsilon _{\gamma _1})}{n'_\gamma (\varepsilon _{\gamma _2})} \left( \frac{E_{\gamma _1}}{E_{\gamma _2}}\right) ^{-\alpha +2} \mathrm{e}^{-(E_{\gamma _1}-E_{\gamma _2})/E_\mathrm{c}}, \end{aligned}$$
(12)

where \(E_{\gamma _{1,2}}\) are two different \(\gamma \)-ray energies and correspondingly the proton energies are \(E_{\mathrm{p}_{1,2}}\). In Eq. (12) we have used the relations in Eq. (2) and

$$\begin{aligned} \frac{E_{\mathrm{p}_1}}{E_{\mathrm{p}_2}}=\frac{E_{\gamma _1}}{E_{\gamma _2}}. \end{aligned}$$
(13)

For a self consistent treatment, in principle we should use the photon density \(n'_{\gamma ,f}\) in the hidden internal jet, rather than using the photon density \(n'_{\gamma }\) in the external jet. Unfortunately the only qualitative knowledge we have as regards the hidden internal jet is that the photon density, the energy density in photon, and the magnetic field are higher than the outer jet so that \(p\gamma \) interaction process will take place to produce multi-TeV \(\gamma \)-rays and neutrinos. For this reason we assume the scaling behavior of the photon densities in different background energies as shown in Eq. (2). This approximation has been used to interpret the orphan flaring of 1ES 1959+650 which explains very well the observation [27]. By taking into account an observed flux at a given energy, we can calculate the fluxes at other energies by using Eq. (12). A better approach is to solve self consistently the coupled transport equations for leptons and photons along the jet by taking into account their respective cooling mechanisms as well as the injection spectrum of the primary particles [18]. To avoid this complication we assume the scaling behavior of photon number densities in different regions as discussed above and then use the one-zone leptonic model fit to the SED of M87 for the calculation of the flaring events. By doing so we could simplify the problem to a great extent.

The optical depth \(\tau _{\mathrm{p}\gamma }\) implies that out of \(\tau ^{-1}_{\mathrm{p}\gamma }\) many protons, one will interact with the SSC background photons to produce \(\Delta \)-resonance. In this case the fluxes of the TeV photons and the Fermi-accelerated high energy protons \(F_\mathrm{p}\), are related through

$$\begin{aligned} F_\mathrm{p}(E_\mathrm{p})=7.5 \times \frac{ F_{\gamma }(E_{\gamma })}{\tau _{\mathrm{p}\gamma }(E_\mathrm{p})}. \end{aligned}$$
(14)

Like photons, the proton fluxes at different energies \(E_{\mathrm{p}_1}\) and \(E_{\mathrm{p}_2}\), scale as

$$\begin{aligned} \frac{F_\mathrm{p}(E_{\mathrm{p}_1})}{F_\mathrm{p}(E_{\mathrm{p}_2})}=\left( \frac{E_{\mathrm{p}_1}}{E_{\mathrm{p}_2}} \right) ^{-\alpha +2} \mathrm{e}^{-(E_{\mathrm{p}_1}-E_{\mathrm{p}_2})/E_\mathrm{p,c}}. \end{aligned}$$
(15)

By using the above relation we can calculate the proton fluxes at different energies.

The Fermi-accelerated protons could also interact inelastically with the non-relativistic protons present in the jet and produce \(\gamma \)-rays and neutrinos. But the efficiency of the \(pp\) process depends on the density of the background protons. In this process, to extract efficiently energy from the accelerated protons, the mean energy loss time scale in the comoving frame \(t'_{pp}=(K_\mathrm{p} \sigma _{pp} n'_\mathrm{p})^{-1}\) has to be shorter than the dynamical time scale \(t'_\mathrm{dyn}=R'_\mathrm{f}/c\). This imposes a lower bound on the cold proton density \(n'_\mathrm{p} \gg (\sigma _{pp} K_\mathrm{p} t'_\mathrm{dyn})^{-1}\). For \(R'_\mathrm{f}\sim 5 \times 10^{15}\) cm, we obtain \(n'_\mathrm{p}\gg 10^{10}\, cm^{-3}\). On top of this, the mass loaded jet also needs greater kinetic energy in the blob. Thus, from the energetic arguments, it is shown that high proton densities are unlikely in the \(\gamma \)-ray emission region of the blazars [32, 33], so the \(pp\) process can be neglected.

3 Results

With the homogeneous leptonic one-zone synchrotron and SSC jet model [34] the SED is fitted assuming the viewing angle \(10^{\circ }\) and bulk Lorentz factor \(\Gamma =2.3\). This corresponds to a Doppler factor \({\fancyscript{D}}=3.9\), which is shown in Figure 4 of Ref. [10]. Based on the multi-band correlations detected in 2005 and 2008 flaring events of M87, the core and the HST-1 are favored as the emitting regions. But during the VHE flare of 2008 and 2010, Chandra detected an enhanced X-ray flux from the core region which are the two highest measurements since the start of its observation in 2002. During this time HST-1 remained in a low state [6]. During the 2005 VHE flaring episode no enhanced X-ray emission from the core was detected. On the other hand, at that time, HST-1 was more than 30 times brighter than the core region in X-rays leading to uncertainty in the flux estimation of the core [35]. The coincidence in X-ray and VHE emission as well as the observed timescales of short variability (\(\sim \) day) at VHE/X-ray suggests that the size of the emitting region is compact and leads one to believe that the 2010 VHE flare probably originates in the innermost region of the jet. Hence, here we assume that the flaring occurs within the confined volume of radius \(R_\mathrm{s} < R'_\mathrm{f} < R'_\mathrm{b}\), which is in the core region. To fit the multi-wavelength SED of M87, the blob radius is taken to be \(R'_{\mathrm{b}}=1.4 \times 10^{16}\) cm and the magnetic field is \(B'=55\) mG [10]. The above blob radius is consistent with the few days timescale variability in TeV energy. Due to our ignorance about the flaring region we assume the scaling behavior shown in Eq. (2) and our results depend on blob radius \(R'_{\mathrm{b}}\) but not on the flaring radius \(R'_\mathrm{f} \). Although we do not know exactly how the magnetic field behaves as a function of distance \(r\) in the jet, a radial dependence of the form \(B'(r)=B'_0 (r_0/r)^n\) can be assumed, where \(n=1\) or 2 [17] and \(r_0\) is few times the Schwarzschild radius. It is reasonable to take \(B'_0\sim 6\) G so that the magnetic field in the inner jet is \({\sim }0.5\) G, which is stronger than the outer region. In this work we use the SED and parameters of the one-zone synchrotron model given in Ref. [10]. In Table 1 we have summarized these parameters.

Table 1 These parameters (up to \(B'\)) are taken from the one-zone synchrotron model of Ref. [10] which are used to fit the SED of M87. The last three parameters are obtained from the best fit to the observed flare data in our model

During the flaring in April 2010, the high energy \(\gamma \)-ray flux was observed in the energy range \(0.3~\mathrm{TeV } \le E_{\gamma } \le 5\) TeV. Also the flaring spectra had distinct rise time and fall time. The rising, the peak, and the falling of the flux are fitted with power-law with different flux normalization and the spectral index \(\alpha \) [8]. In the hadronic model, the above \(E_{\gamma }\) range corresponds to the proton energy in the range \(1.9~\mathrm{TeV} \le E_{\mathrm{p}} \le 30~ \mathrm{TeV}\). Protons in this energy range will collide with the background photons in the energy range \(1.5~\mathrm{MeV} (3.7 \times 10^{20}\, \mathrm{Hz} )\ge \varepsilon _{\gamma } \ge 0.1\, \mathrm{MeV} (2.3 \times 10^{19}\, \mathrm{Hz})\) to produce the \(\Delta \)-resonance and the subsequent decay of it will produce both \(\gamma \)-rays and neutrinos through neutral and charged pion decay, respectively. We can observe that the above energies \(\varepsilon _{\gamma }\)s lie in the rising part of the SSC photons, shown as a shaded region in Fig. 1. The number densities of these photons are also calculated to lie in the range \(72\,\mathrm{cm^{-3}} \le n'_{\gamma }\le \, 516 \,\mathrm{cm^{-3}}\).

Fig. 1
figure 1

The SED of M87 is shown in all the energy band. The peak flux of the flare of April 2010 is only shown here. The hadronic model fit to the 2010 data is shown as continuous line to the extreme right. The shaded region is the energy range of SSC photons where the Fermi-accelerated protons are collided to produce the \(\Delta \)-resonance

As discussed in Ref. [27], for the calculation of the TeV flux, first we take into account one of the observed flaring fluxes with its corresponding energy for normalization e.g. \(F_{\gamma }(E_{\gamma _2} =3.18\,\mathrm{TeV})\simeq 3.8\times 10^{-12}\,\mathrm{TeV}\,\mathrm{cm}^{-2}\,\mathrm{s}^{-1}\) and \(n'_{\gamma }(\varepsilon _{\gamma _2}=0.15 \mathrm{MeV})\simeq 387\, \mathrm{cm^{-3}}\). Using it, we calculate the flux for other energies with the help of Eq. (12). We have done this for different observed fluxes for a better fit. The spectral index \(\alpha \) and the cut-off energy \(E_\mathrm{c}\) are the free parameters in the model and the best fit is obtained for \(\alpha =2.83\) and \(E_\mathrm{c}\simeq 12\) TeV. The \(\gamma \)-ray cut-off energy of \(\sim \)12 TeV corresponds to \(E_\mathrm{p,c}\simeq 71\) TeV and above the cut-off energy the flux decreases rapidly which is clearly shown in Fig. 1. With the same \(\alpha =2.83\) and \(E_\mathrm{c}\simeq 12\) TeV but different normalized fluxes we fitted the rising, the peak, and the falling fluxes which are shown in Fig. 2. The rising flux is fitted with two different normalization to have a better picture of it. In Fig. 3, the fitting of the peak flux in our model is compared with the jet cloud interaction hadronic model [26]. It shows that in the high energy limit (above \({\sim }5\) TeV), the flux in our model falls faster than the jet cloud interaction scenario while in the low energy limit (below \({\sim }1\) TeV) it is the opposite. It is interesting to note that the spectral indices \(\alpha \) fitted to the TeV flaring SEDs of M87 and the blazar 1ES 1959+650 have the same value, 2.83, which probably hints to a common mechanism of particle acceleration during the flaring [27].

Fig. 2
figure 2

The rising, the peak, and the falling parts of the TeV flare are fitted with the power-law exponential SED. For all these we use the same spectral index \(\alpha =2.83\) and \(E_\mathrm{c}\simeq 12\) TeV. The rising part is fitted with two different normalized flux

Fig. 3
figure 3

The dashed-dotted and dashed lines are the SED calculated in the jet cloud interaction hadronic model of Ref. [26] for two different injection spectra and fitted to the peak SED of the flare. The continuous curve is the hadronic model fit

We have plotted the ratio \(n'_{\gamma }(\varepsilon _{\gamma _1})/n'_{\gamma }(\varepsilon _{\gamma _2})\) of Eq. (12 ) for a given value \(n'_{\gamma }(\varepsilon _{\gamma _2}=3.7\times 10^{19}\, \mathrm{Hz})\simeq 386\,\mathrm{cm^{-3}}\) in Fig. 4 as a function of SSC photon energy. It shows that the density ratio is almost a linear function of energy. We have specifically chosen the energy range in the vicinity of the shaded region of Fig. 1, which is responsible for the TeV spectra. The standard power-law fitting with an exponential cut-off to the SED [30] is expressed as

$$\begin{aligned} F=F_0 \left( \frac{E}{\mathrm {TeV}}\right) ^{-\alpha +2} \mathrm{e}^{-E/E_\mathrm{c}}, \end{aligned}$$
(16)

where \(F_0\) is a constant. But here \(F_0\) is replaced by energy dependent photon density of the background and due to this energy dependent coefficient, fitting to SED in this model is different from the standard one.

Fig. 4
figure 4

The ratio of photon densities \(n'_{\gamma }(\varepsilon _{\gamma _1})/n'_{\gamma }(\varepsilon _{\gamma _2})\) for a given value \(n'_{\gamma }(\varepsilon _{\gamma _2}=3.7 \times 10^{19}\, \mathrm{Hz})\) is plotted as a function of SSC photon energy. The points are the density ratios for observed data points. The curve is fitted with a straight line

During the flaring period, not only protons but also electrons are Fermi accelerated in the inner jet with the same energy as the protons. The \(e^{+}\) produced during the \(\pi ^{+}\) decay has energy in the range \(0.095\,\mathrm{TeV} \le E_{\gamma } \le 1.5 \, \mathrm{TeV}\). These electrons and positrons will produce synchrotron radiation in the jet magnetic field. While the Fermi-accelerated electrons will emit synchrotron photons in the frequency band \(2.5\times 10^{18}\, \mathrm{Hz} \le \varepsilon _{\gamma } \le 6.3\times 10^{20}\, \mathrm{Hz} \), the positrons will radiate in the frequency band \(6.3\times 10^{15}\, \mathrm{Hz} \le \varepsilon _{\gamma } \le 1.6\times 10^{18}\, \mathrm{Hz} \). So the flaring in the TeV energy should be accompanied by a simultaneous enhanced synchrotron emission in the frequency band \(6.3\times 10^{15}\, \mathrm{Hz} \le \varepsilon _{\gamma } \le 6.3\times 10^{20}\, \mathrm{Hz} \). In principle, the interaction of TeV \(\gamma \)-rays with the extragalactic background photons can produce electron–positron pairs and reduce the multi-TeV flux from M87. But for the energy range \(0.3\, TeV \le E_{\gamma } \le 5\, TeV\), the optical depth for the pair production process is almost constant, and the spectral shape remains nearly unchanged.

4 Conclusions

The strongest TeV flaring of the radio galaxy M87 in April 2010 is explained by assuming it to be due to the photohadronic interaction of the Fermi-accelerated protons of energy \({\le }30\) TeV with the SSC photons in the energy range \(\sim \) (0.1–1.5) MeV. In this scenario the proton spectrum is a power-law with an exponential cut-off. For the fitting of the rising, the peak, and the falling parts of the TeV flare we use the same spectral index \(\alpha =2.83\) and the \(\gamma \)-ray cut-off energy \(E_\mathrm{c}\simeq 12\) TeV but different normalization. Our results fit very well to these distinct phases of the flare.