1 Introduction

Relativistic jets pointed toward the line of sight of the observer is a defining property of blazars (Urry & Padovani 1995), a class of radio loud active galactic nuclei (AGN). Due to relativistic beaming the apparent luminosity of the jet is amplified by a factor of 10–10\(^4\) in the observer’s frame. Consequently, emission from the other parts of the AGN such as the accretion disk, broad line region, and dusty torus are overwhelmed by that from the jet. Blazars are often bright over a large range of wavelengths from radio to GeV or even TeV \(\gamma \)-rays. The spectral energy distribution (SED) of blazars are characteized by two broad peaks: one at the IR-X-ray wavelength range due to synchrotron radiation by relativistic electrons present in the jet (Bregman 1981; Urry & Mushotzky 1982; Impey & Neugenbauer 1988; Marscher 1998) and the other in the GeV range sometimes extending to TeV energies. In the so called “leptonic scenario,” the high energy peak may be due to inverse-Compton (IC) scattering of “seed” photons from the broad line region, dusty torus or the jet itself (Maraschi et al. 1992; Chiang & Böttcher 2002; Arbeiter et al. 2005; Sikora et al. 1994; Coppi & Aharonian 1999; Błażejowski 2000; Dermer et al. 2009; Böttcher & Dermer 2010; Romero 2012) by the same relativistic electrons that are generating the synchrotron radiation for the lower energy peak. Alternatively, in the so called “hadronic model,” X-rays and \(\gamma \)-rays may be produced due to synchrotron radiation by relativistic protons, which are accelerated along with the electrons in the jet, proton-induced particle cascades, or interactions of these high-energy protons with external radiation fields (Mücke & Protheroe 2001; Mücke et al. 2003; Böttcher 2013). Based on the location of the synchrotron peak (\(\nu _\mathrm{synch}\)) in the broad band SED, blazars are divided into three categories: low, intermediate and high synchrotron peaked: LSP (\(\nu _\mathrm{synch} < 10^{14}\) Hz), ISP (\(10^{14}< \nu _\mathrm{synch} < 10^{15}\) Hz), and HSP (\(\nu _\mathrm{synch} > 10^{15}\) Hz), respectively (e.g., Abdo 2010b; Böttcher 2019).

Blazars are characterized by fast and high amplitude variability in emission, which is due to the injection of energy and fluctuations in the density, magnetic field and other physical properties of the jet originally caused by instabilities in the accretion disk (e.g., Malzac 2014). Due to the beaming effect the timescale of variability becomes faster in the obsever’s frame by a factor \(\sim \)10. In the leptonic model, the emission at wavelengths near the two peaks in the SED are caused by the highest energy part of the electron spectrum. Therefore, variability at those wavelengths are expected to be the most pronounced, e.g., by an order of magnitude or more over months to years timescales (e.g., Majumder et al. 2019). Blazar variability is red noise in nature, i.e., amplitude of variability is smaller at shorter timescales (e.g., Chatterjee 2012). But near the SED peak wavelengths, emission may vary by a factor of a few even at sub-day timescales.

Blazar variability at X-ray and other wave bands at longer timescales have been studied extensively (e.g., Chatterjee 2008, 2012; Abdo 2010a; Rajput et al. 2020) but that at sub-day timescales has been less common. It is mainly because even the brighter blazars are not detected with high signal to noise at short exposures. Long and quasi-continuous observations with X-ray telescopes are needed to obtain comprehensive information about their short-term fluctuations. The blazar Mrk 421, one of the brightest blazars in the X-ray sky, is an ideal source for such study. It is an HSP blazar with the low energy peak of the SED at the X-ray band (e.g., Abdo 2011; Banerjee 2019). Hence, the X-ray variability is expected to be very pronounced. However, averaged over the last 10 years its brightness is 10 cts/s in Swift-XRT.Footnote 1 Hence, to probe its short-timescale properties at minutes to days timescale long stares are necessary which are not possible with Swift as it has other priorities.

In this paper, we study the minutes to days timescale X-ray variability of Mrk 421 using a quasi-continuous observation by AstroSat (Agrawal 2006; Singh et al. 2014). We compare the same with simultaneous observations at GeV, optical, and near infrared (NIR) wave bands. We analyze the data to test if the multi-wavelength variability properties are consistent with the expectation of the standard model of blazar emission as described above. In particular, we check if the amplitude and timescale of variability are consistent with the leptonic model in which the NIR, optical, and X-ray emission in an HSP blazar such as Mrk 421 are generated by increasingly higher energy part of the electron distribution and the GeV emission is produced by lower energy electrons via IC processes. In Secttions 2, 3 and 4, we describe the data reduction, present the results of the variability analysis, and discuss the implications of the results, respectively.

2 Data

2.1 X-ray and \(\gamma \)-ray data

Mrk 421 was observed with AstroSat (Obs Id: A05_204T01_9000002856, PI: Ritaban Chatterjee) on April 23–28, 2019. We received the data for individual orbits of the satellite (Level-1 data) from the Indian Space Science Data Center (ISSDC). We first processed the Level-1 Soft X-ray Telescope (SXT; Singh et al. 2016, 2017) data with the sxtpipeline task, which is a part of the SXT software (AS1SXTLevel2, version 1.4b) available at the SXT POC Website.Footnote 2 Level-2 cleaned event files for the individual orbits were extracted using pipeline calibration of the source events. The extraction process includes filtering out any contamination by the charged particles due to excursions of the satellite through the South Atlantic Anomaly region and occultation by the Earth. To select only X-rays and avoid counting charged particles, we selected only the events with grade 0–12, i.e., single-quadruple events. Next, we merged the cleaned event files of all the orbits into a single event file using a Julia based software tool developed by G. C. Dewangan in order to avoid any time-overlapping events in consecutive orbits. A circle of radius 15 arcmin was used to extract the source light curve in the energy interval 0.7–8 keV.

Figure 1
figure 1

Variation of the 0.1–300 GeV \(\gamma \)-ray flux from Fermi-LAT in daily bins, hard (4–20 keV) and soft (0.7–8 keV) X-ray flux from AstroSat LAXPC and SXT, respectively, H-band flux density from Mount Abu Infrared Observatory NICS instrument, and R-band flux density and optical polarization properties from the St. Petersburg University 40-cm LX-200 telescope and the Crimean Observatory 70-cm AZT-8 telescope of Mrk 421 from April 16–May 06, 2019. The SXT data have been scaled and shifted for clarity. The unscaled light curve is shown in the next figure.

The Large Area X-ray Proportional Counter (LAXPC) instrument onboard AstroSat has three coaligned proportional counters, LAXPC10, LAXPC20 and LAXPC30 (Yadav et al. 2017; Antia 2017). We did not use the LAXPC30 data due to a gain instability issue caused by gas leakage. LAXPC data were collected in the event analysis (EA) mode. During the observation, the LAXPC10 was operating at a lower gain. Hence, we have used data only from LAXPC20 for our analysis. The light curves and spectra were generated using the LaxpcSoft software package 5. The background was estimated from blank sky observations, where there are no known X-ray sources. We extracted light curves using data from the top layer for the energy interval 4–20 keV.

Table 1 Variability timescale and excess variance at different wave bands.

At the GeV energies, we use data from the Large Area Telescope on board Fermi Gamma-Ray Space Telescope (Abdollahi 2020). Fermi has a large field-of-view (\(\sim \)2.4 Sr) and monitors the whole sky every three hours. We use the light curve at 0.1–300 GeV obtained from the Fermi Science Support Center (FSSC).Footnote 3

2.2 Optical and near infrared data

The optical flux and polarimetric data were obtained using the St. Petersburg University 40-cm LX-200 telescope and the Crimean observatory 70-cm AZT-8 telescope. For the details of data analyses and processing, see Larionov (2008).

Near-infrared observations of Mrk 421 in H-band, simultaneous with the AstroSat observations of the source, were carried out with PRL’s 1.2-m telescope at Mount Abu Infrared Observatory (MIRO), India. The photometric observations were performed on the nights of 25, 26 and 27 April 2019 in imaging mode using Near-Infrared Camera and Spectrograph (NICS) instrument. At Mt. Abu, the NICS provides \(\sim \)1 arcsec seeing over \(8 \times 8\) arcmin\(^2\) with \(1024 \times 1024\) pixels array configuration. A set of five frames of \(\sim \)50 s were taken in H-band (1.635–1.780 \(\upmu \)m, central wavelength at 1.49 \(\mu \)m), dithered at five different positions. The data were reduced using IRAF software package as described in Naik et al. (2010). In this procedure, the sky-frame was generated for a particular filter by median combining all the raw and dithered images. After subtracting skyframes from the raw images, clean images were obtained and then corrected for effects like cosmic rays. Aperature photometry was performed using the PHOT task in IRAF. We selected SAO 015832 and SAO 062433 as standard stars.

3 Results

The multi-wavelength light curves of Mrk 421 during 2019 April 16–May 06 are shown in Fig. 1. It is evident that the variability in that time interval is most pronounced in the X-ray energies. We compute a variability timescale during both increase and decrease of flux using the following formula (Saito et al. 2013; Roy et al. 2019):

$$\begin{aligned} \tau _{d} = \Delta t \frac{\mathrm{ln}\,2}{\mathrm{ln}(f_2/f_1)}, \end{aligned}$$
(1)

where \(f_1\) and \(f_2\) are the flux values at time \(t_1\) and \(t_2\), and \(\Delta t\) is the difference between \(t_1\) and \(t_2\). We compute \(\tau _{d}\) for all pairs of data points in the light curves and search for the shortest value in each. The shortest timescale of variability that we find at each band along with the corresponding value of \(\Delta t\) are given in Table 1. Value of \(\tau _{d}\) during increase of flux for H-band could not be obtained because the length and sampling of the light curve are not enough for that calculation. In addition, Table 1 exhibits the normalized excess variance (Vaughan 2003) at all the above wave bands. In the GeV band, the variance is dominated by the uncertainties in the data. Therefore, the excess variance is negligible and is not shown on the table. Instead of \(\tau _{d}\), the exponential growth or decay timescale given by \(\tau _d/\mathrm{ln}\,2\) may also be used as a characteristic timescale of variability. That will change the result by a constant factor and in most of the cases the value will be consistent with \(\tau _d\) within the uncertainties.

The value of \(\tau _d\) is the shortest at the hard X-ray band, slightly higher at the soft X-ray band and much longer at the optical, NIR as well as GeV bands. This is consistent with the assumption that the X-rays are produced by the highest energy tail of the electron distribution via synchrotron process. A consequence of that assumption is that the variability at the GeV band, being produced by lower energy electrons via IC processes, will be less pronounced, which is also evident.

We have found the minimum variability timescale to be 1.1 ks. Assuming the variability is dominated by radiation cooling due to synchrotron only,

$$\begin{aligned} t_\mathrm{cool} \simeq 7.7 \times 10^8 (1 + z) \delta ^{-1} B^{-2} \gamma _\mathrm{eff}^{-1} s, \end{aligned}$$
(2)

where z, \(\delta \), B and \(\gamma _\mathrm{eff}\) are the redshift of the source, Doppler factor of the jet, magnetic field in the emission region, and effective Lorentz factor of the emitting electrons, respectively (e.g., Zhang 2019; Rybicki & Lightman 1979).

The characteristic frequency of the electron distribution responsible for the emission at the synchrotron peak of the SED is given by Rybicki and Lightman (1979)

$$\begin{aligned} \nu _\mathrm{ch} = 4.2 \times 10^6 \frac{\delta }{1+z}\gamma _\mathrm{eff}^2 B\;{\text{Hz}}. \end{aligned}$$
(3)

Using z = 0.031, \(\delta = 20\), and \(\nu _\mathrm{ch} = 10^{18}\) Hz in the equations (2) and (3), we find \(B=0.5\) Gauss and \(\gamma _\mathrm{eff} = 1.6 \times 10^5\). These values are consistent within a factor of a few with those obtained from modeling the broad-band SED of Mrk 421 in the standard leptonic scenario (Abdo 2011; Banerjee 2019). The value of \(\delta \) and \(\nu _\mathrm{ch}\) tend to vary from one epoch to another, which may cause appropriate changes in the above estimates of B and \(\gamma _\mathrm{eff}\) by a factor of a few.

Alternatively, instead of assuming the value of \(\delta \) and \(\nu _\mathrm{ch}\), we eliminate \(\gamma _\mathrm{eff}\) from equations (2) and (3) and find

$$\begin{aligned} B^3 \delta \simeq 2.5 (1+z) (\nu _\mathrm{ch}/10^{18})^{-1} \tau _d^{-2}, \end{aligned}$$
(4)

where \(\nu _\mathrm{ch}\) is in Hz and \(\tau _d\) is in ks. Hence, using the value of any one of the variables \(\delta \), B, and \(\nu _\mathrm{ch}\) the other two may be constrained.

From equations (2) and (3), it can be estimated that the ratio of the effective Lorentz factors of electrons contributing to the emission at frequencies \(\nu _i\) and \(\nu _j\) is proportional to \((\nu _i/\nu _j)^{0.5}\). Therefore, the ratio of synchrotron cooling timescales for emission at frequencies \(\nu _i\) and \(\nu _j\) are proportional to \((\nu _i/\nu _j)^{-0.5}\), which implies that the ratios of cooling timescales at soft X-rays, optical, and NIR to that in hard X-rays are \(\sim \)3, \(\sim \)70, and \(\sim \)110, respectively. The value of \(\tau _d\) from Table 1 are consistent with the above within the uncertainties.

Let us suppose that the GeV emission in Mrk 421 is produced by the inverse-Compton scattering of the synchrotron photons generated in the jet itself by the same relativistic electrons (the so-called “synchrotron self-Compton or SSC process”). We assume that the up-scattered photons have a mean energy of 1 GeV and most of the seed photons are from the synchrotron peak energy for Mrk 421, which is \(\sim \)1 keV. Then using the simplified formula

$$\begin{aligned} \nu _f = \gamma _\mathrm{IC}^2\nu _i, \end{aligned}$$
(5)

where \(\nu _i\) and \(\nu _f\) are the frequency of photons before and after the IC up-scattering and \(\gamma _\mathrm{IC}\) is the effective Lorentz factor of the energetic electrons, we can estimate that the electrons responsible for the GeV emission have Lorentz factor \(\sim \)10\(^3\). Hence, GeV emission variability timescale will be similar to that at the optical-NIR wavelengths, which is consistent with our findings.

Alternatively, the energy of electrons responsible for the GeV emission may be obtained using the inverse-Compton cooling timescale given by (e.g., Chiaberge 1999)

$$\begin{aligned} t_\mathrm{cool}^\mathrm{IC} \simeq 3.0 \times 10^7 U_\mathrm{rad}^{-1} \gamma _\mathrm{IC}^{-1}\, \mathrm{s}, \end{aligned}$$
(6)

where \(U_\mathrm{rad}\) is the radiation energy density. Using \(t_\mathrm{cool}^\mathrm{IC} = 100\) ks and \(U_\mathrm{rad} = 10^{-2}\) erg cm\(^{-3}\), we obtain \(\gamma _\mathrm{IC} = 3 \times 10^4\). Here, we estimate \(U_\mathrm{rad}\) to be approximately equal to the magnetic energy density. The obtained value of \(\gamma _\mathrm{IC}\) is uncertain due to the uncertainties in \(U_\mathrm{rad}\) and \(t_\mathrm{cool}\).

Figure 2
figure 2

The cyan open circles with error bars denote the SXT light curve of Mrk 421 during April 23–28, 2019. The red solid line corresponds to the R-band light curve during the same interval. The black dashed line indicates the R-band variability artificially generated based on the SXT light curve and assuming synchrotron origin of the emission at both wave bands. The properties of the actual and artificial optical light curves are consistent with each other.

The above estimates indicate that the optical variability should be similar but slower than the X-ray variability by a factor of \(\sim \)70 if both are produced by synchrotron radiation by different parts of the electron energy spectrum. To test this we scale the X-ray light curve appropriately to generate an artificial optical light curve, which is correlated with the X-ray variability but is slower by the above factor. We include some additional random fluctuations generated from the uncertainty of the SXT data. Figure 2 shows the artificial and the actual R-band light curves along with the SXT light curve and it is evident that the nature of the the real and artificial optical light curve segments are consistent with each other.

4 Discussion

It can be seen from Table 1 that in the above observations, the variability timescale is shortest at the hard X-ray band and increasingly longer at soft X-ray, optical and NIR bands as well as in the GeV band. This is consistent with the model in which the X-ray to NIR (and longer wavelength) emission in Mrk 421 is generated by synchrotron radiation by the relativistic electrons in the jet. We find that the GeV emission may be produced via SSC process by electrons having energy lower than those producing the X-rays. Hence, the slower variability timescale of GeV emission is also justified. However, the energy density of the seed photons which are up-scattered to produce the GeV emission is not well-constrained in this case. Therefore, the estimate of the electron energy contains the corresponding uncertainty. The obtained value of the magnetic field is consistent with those obtained from studies involving fitting the SED with physical models (e.g., Abdo 2011).

The amplitude of variability, as indicated by the normalized excess variance, is also larger at the X-ray than the other wave bands. If the variability is caused by injection of energy or fluctuation in the magnetic field the amplitude of variability may not be different at the above wave bands. However, if the variability is faster in the X-ray band, it is obvious that in a given interval the observed amplitude will be larger. We note that while the amplitude of variability we find here is similar to that found by Zhang (2019) for Mrk 421 from Suzaku data the shortest variability timescale obtained here is an order of magnitude smaller than that found by Zhang (2019). This may be due to the difference in sampling among the X-ray light curves or due to a different brightness state of Mrk 421.

It can be seen from Table 1 that \(\tau _d\) during increase and decrease at all wavebands are not systematically different. In blazar variability it is usually assumed that the timescale of acceleration of electrons to the highest energies (e.g., \(\gamma _\mathrm{eff}=10^5\) in this case) is faster than the cooling timescale such that the acceleration may be considered instantaneous. However, that will indicate \(\tau _d\) during increase will be systematically shorter than that during decrease, which is not the case here. This implies that the acceleration timescale may not be negligible compared to the cooling timescales and may be constrained using short-timescale variability as analyzed here.

We note that the variability of the polarization fraction and electric vector polarization angle (EVPA) is more pronounced than that of the optical flux. This may be due the effect of turbulence (Marscher 2014; Liodakis 2020). More data are needed to draw detailed inference about the polarization variability.

Blazars vary at a large range of timescales often including minutes to years. The above quantitative results, obtained from the shortest end of the large range of timescales at which blazars vary, are consistent with the standard leptonic scenario, in which the lower energy peak of the spectral energy distribution of Mrk 421 is due to synchrotron radiation by the relativistic electrons in the jet and is located at the X-ray frequencies. Similar observation of a sample of blazars by AstroSat along with a more dedicated simultaneous multi-wavelength coverage will provide more specific constraints on the physical properties of the blazar class.