1 Introduction

The relationship between thermal and non-thermal processes responsible for the flare-plasma heating and particle acceleration is rather debatable. In this connection, observations in the sub-THz frequency range of \(10^{2}\) – \(10^{3}\) GHz (0.3 – 3.0 mm) can be very useful since they allow us to extract important information about thermal and high-energy electrons (Raulin et al., 1999; Lüthi, Magun, and Miller, 2004; Giménez de Castro et al., 2009; Fleishman and Kontar, 2010; Trottet et al., 2011; Krucker et al., 2013) but the origin of sub-THz emission is still unclear (Fleishman and Kontar, 2010; Krucker et al., 2013; Zaitsev, Stepanov, and Melnikov, 2013). In particular, spectral flux that increases with frequency (positive spectral slope) between 200 and 400 GHz has recently been recorded during the impulsive and gradual phases of some solar flares (Trottet et al., 2002; Lüthi, Magun, and Miller, 2004; Kaufmann et al., 2004, 2009; Silva et al., 2007; Fernandes et al., 2017). This contradicts the hypothesis of the gyrosynchrotron origin of sub-THz emission from a quasi-homogeneous source generated by the relativistic tail of non-thermal accelerated electrons (Trottet et al., 2002; Raulin et al., 2004; Lüthi, Magun, and Miller, 2004; Giménez de Castro et al., 2009) and, hence, it needs further investigation.

The sub-THz emission at frequencies \(\nu = 200\) – 400 GHz is currently attributed to the gyrosynchrotron emission of compact sources (Kaufmann et al., 1986; Kaufmann and Raulin, 2006; Silva et al., 2007; Trottet et al., 2008), Cherenkov emission (Fleishman and Kontar, 2010), thermal bremsstrahlung emission (Lüthi, Magun, and Miller, 2004; Trottet et al., 2008, 2011; Tsap et al., 2016), and plasma emission mechanism (Sakai and Nagasugi, 2007; Zaitsev, Stepanov, and Melnikov, 2013). However, the models listed above have different disadvantages (Zaitsev, Stepanov, and Melnikov, 2013; Krucker et al., 2013). In particular, the thermal mechanism implies large areas of emission sources (Lüthi, Magun, and Miller, 2004; Silva et al., 2007; Trottet et al., 2008, 2011; Tsap et al., 2016) while the gyrosynchrotron one requires a strong magnetic field \([B]\) that exceeds a few thousand gauss (Silva et al., 2007).

According to observations with the patrol telescopes at the Solar Radio Observatory of the University of Bern at 19 and 35 GHz of 115 events (1984 – 1992) with spectral flux \({>}\, 100\) s.f.u., about 50% of the bursts had a flat spectrum while 25% were characterized by a positive spectral slope (Correia, Kaufmann, and Magun, 1994). These and other results (Akabane et al., 1973; Chertok et al., 1995) suggest that the positive spectral slope observed in the frequency range of 30 – 100 GHz does not require special emission mechanisms. Consequently, solar-flare observations with the Bauman Moscow State Technical University millimeter radio telescope RT-7.5 at 93 and 140 GHz can be very helpful.

It is well established that non-thermal gyrosynchrotron emission at radio wavelengths and bremsstrahlung hard X-rays from solar flares show very similar temporal behaviors (White et al., 2011). This suggests there to be a common origin and evolution of accelerated electrons responsible for these two emissions. Since the bremsstrahlung-emission mechanism suggests fewer free parameters than the gyrosynchrotron one, X-ray observations allow us to get more reliable information as regards energetic electrons.

The aim of this work is to consider peculiarities of millimeter emission from the 5 July 2012 solar flare based on extreme ultraviolet (EUV) and X-ray observations. Section 2 presents the instruments and observations. Section 3 is devoted to the interpretation of the X-ray and millimeter emissions. The conclusions and discussions are given in Section 4.

2 Observations and Data Analysis

Millimeter observations were carried out with the radio telescope RT-7.5 (Rozanov, 1981; Smirnova et al., 2013). This single-dish antenna with a diameter of 7.75 m is used for simultaneous observations at two frequencies; 93 GHz (3.2 mm) and 140 GHz (2.2 mm). The half-power beam widths of the antenna are 1.5 and \(2.5^{\prime}\) at 140 and 93 GHz, respectively. Two super-heterodyne receivers are included in the quasi-optical scheme, i.e. beams are overlapped to observe one chosen area on the solar disk with an accuracy of about 1%. The one-second time constant provides a receiver sensitivity of about 0.3 K. Peculiarities of the antenna calibration and observational methods were described in detail by Tsap et al. (2016). Note that the sky was clear during the flare observations on 5 July 2012. The atmospheric opacities for 93 GHz and 140 GHz at that time were equal to 0.22 and 0.54 Np, respectively. The corresponding uncertainties in the determination of the flare maximum flux densities were about 10 and 15%.

Microwave (centimeter) measurements were performed with the Radio Solar Telescope Network (RSTN, San Vito) at 4.9, 8.8, and 15.4 GHz with temporal resolution of about one second (Guidice et al., 1981). Additionally we used EUV and X-ray data obtained with the Solar Dynamics Observatory (SDO: Lemen et al., 2012), Reuven Ramaty High-Energy Solar Spectroscopic Imager (RHESSI: Lin et al., 2002), and Geostationary Operational Environmental Satellite (GOES: White, Thomas, and Schwartz, 2005).

NOAA 1515 appeared at the south-eastern solar limb on 27 June 2012. The sunspot group was quite complex (\(\beta \gamma \delta \) magnetic configuration) and had interesting dynamics. The images obtained with the Helioseismic and Magnetic Imager onboard SDO (SDO/HMI: Schou et al., 2012, sdo.gsfc.nasa.gov ) on 1 and 2 July showed the splitting of the main spot for less than 24 hours. Over the next two days, the split-off sunspot moved towards and into the middle portion of the sunspot group. This resulted in five highly energetic (M5 or stronger) flares during its transit. In particular, NOAA 1515 produced nine M-flares on 5 July 2012. The most powerful flare M6.1 (S22E68) peaked in GOES X-rays at 11:44 UT. This event had no pronounced impulsive phase (Figure 1) and was accompanied by a coronal mass ejection. Radio and hard X-ray time profiles near the emission peak consisted of similar 10 – 20-second pulsations. The most interesting feature is related to the unusual positive spectral slope of the millimeter emission between 93 and 140 GHz (Figure 2). Note that the second peak (11:46:49 UT) of the soft X-ray light curve (0.5 – 4 Å) coincides with the second temperature peak (Figure 3). Using the SDO/HMI data, the strength of the magnetic field in the region of energy release was estimated: \(B \lesssim 2~\mbox{kG}\).

Figure 1
figure 1

Time profiles of X-ray, microwave, and millimeter emission fluxes from the 5 July 2012 solar flare obtained with GOES (a) and RHESSI (b) spacecraft as well as RSTN (c, San Vito), and RT-7.5 (d) radio telescopes. The vertical solid line corresponds to the peak of millimeter emission (11:44:24 UT).

Figure 2
figure 2

Radio flux density spectrum of the 5 July 2012 solar flare averaged over the time interval (11:44:16 – 11:44:28 UT) at frequencies 4.9, 8.8, and 15.4 GHz (RSTN, San Vito) as well as 93 and 140 GHz (RT-7.5, Bauman Moscow State Technical University).

Figure 3
figure 3

Upper panel: temperature and emission measure time profiles of the 5 July 2012 solar flare obtained from GOES observations (0.5 – 4 Å, 1 – 8 Å). The vertical dash–dotted lines indicate two peaks of 0.5 – 4 Å light curve at 11:44:13 UT and 11:46:49 UT. Bottom panel: soft X-ray light curves obtained with GOES and RHESSI (3 – 6 keV, 6 – 12 keV) observations.

3 X-Ray Analysis and Millimeter Emission Mechanisms

Let us consider some possible non-thermal and thermal mechanisms of millimeter emission based on EUV and X-ray data obtained with the RHESSI and SDO spacecraft.

3.1 Non-Thermal Component

To estimate the coronal plasma parameters from the RHESSI X-ray observations, we used an object-oriented program known as the Object Spectral Executive (OSPEX: Schwartz et al., 2002). The X-ray background-subtracted spectrum for the time interval 11:44:16 – 11:44:28 UT was fitted with the isothermal model (f_vth.pro) and collisional thick-target model (f_thick2.pro) for energies 7 – 155 keV (Figure 4). The obtained parameters of the fit are: emission measure \(\mathrm{EM}= 1.17 \times 10^{49}~\mbox{cm}^{-3}\), plasma temperature \(T = 24.25\) MK, low-energy cutoff in the spectrum of accelerated electrons \(E_{\mathrm{l}} = 21.88\) keV, total integrated electron flux \(F_{\mathrm{e}} = 2.22 \times 10^{35}~\mbox{s}^{-1}\), and spectral index of the electron density \(\delta_{ \mathrm{l}} = 4.75\). It is worthy of note that the f_thick2.pro model gives the spectral index of electron flux \(\delta_{\mathrm{b}} = \delta_{\mathrm{l}} - 0.5\) (G. Holman, personal communication, 2017). According to the RHESSI-PIXON 25 – 50 keV image (Hurford et al., 2002), the 50% contours of two hard X-ray sources correspond to the area \(S_{\mathrm{X}} = 2.5\times 10^{17}~\mbox{cm}^{2}\) (Figure 5).

Figure 4
figure 4

Upper panel: RHESSI background-subtracted photon flux spectrum (black line) with background (gray histogram) and fitted model (black histogram), which consists of isothermal (dotted histogram) and collisional thick-target (dashed histogram) models. Bottom panel: the ratio of the difference between observed and fitted data to the corresponding errors for RHESSI measurements. For both panels the vertical dash–dotted lines indicate the fitted energy range (7 – 155 keV).

Figure 5
figure 5

The hard X-ray image from 25 to 50 keV of the 5 July 2012 solar event. The contours (thin-white-solid curves) correspond to 50% of the peak emission. Magnetic polarity inversion lines derived from the SDO/HMI magnetogram are shown by the thick white solid curves. The PIXON algorithm was used for the reconstruction of images.

The observed similarity of hard X-ray and radio time profiles (Figure 1) shows evidence in favor of the common population of low-energy (\({\lesssim}\, 300\) keV) and high-energy (\({\gtrsim}\, 300\) keV) electrons responsible for emission (White et al., 2011). This assumption agrees well with a lack of correlation of these profiles with the second temperature peak (Figure 3).

Spectral indices of low- and high-energy electrons can be different in the flare-energy-release region (Kundu et al., 1994; Ramaty et al., 1994; Hildebrandt et al., 1998; Trottet et al., 1998; Giménez de Castro et al., 2009). Let us try to find the relation between corresponding number densities suggesting a broken-power-law spectrum.

The integral flux of low-energy electrons responsible for hard X-ray emission can be represented as follows:

$$ F_{\mathrm{e}} = S_{\mathrm{X}} \int_{E_{\mathrm{l}}}^{E_{\mathrm{b}}} {v} n_{\mathrm{l}}(E) \,{ \mathrm{d}}E, $$
(1)

where \(E_{\mathrm{b}}\) is the break energy in the spectrum.

In turn, assuming the spectral density

$$ n_{\mathrm{l}}(E) = n_{{\mathrm{0l}}} E^{-\delta_{\mathrm{l}}}, $$
(2)

where \(n_{{\mathrm{0l}}}\) is the normalized coefficient, the number density of accelerated electrons can be estimated as

$$ n_{\mathrm{l}} = \int_{E_{\mathrm{l}}}^{E_{\mathrm{b}}} n(E)\,{\mathrm{d}}E = \frac{n_{0{\mathrm{l}}}}{\delta_{\mathrm{l}} -1} \bigl(E _{\mathrm{l}}^{1-\delta_{\mathrm{l}}} - E_{\mathrm{b}}^{1- \delta_{\mathrm{l}}}\bigr). $$
(3)

For the non-relativistic particles we can adopt

$$ {v} = \sqrt{\frac{2E}{\alpha m}}, $$
(4)

where the coefficient \(\alpha =1\,\mbox{--}\,3\) characterizes the degree of electron anisotropy. Thus, Equations 1 – 4 at \((E_{b}/E_{l})^{\delta_{\mathrm{l}}-1} \gg 1\) give

$$ F_{\mathrm{e}} = S_{\mathrm{X}} \sqrt{\frac{2}{\alpha m}} n_{ \mathrm{0l}} \frac{E_{\mathrm{l}}^{-\delta_{\mathrm{l}} + 3/2}}{ \delta_{\mathrm{l}} -3/2} = \frac{\delta_{\mathrm{l}} -1}{ \delta_{\mathrm{l}} - 3/2} n_{\mathrm{l}} v_{\mathrm{l}} S_{ \mathrm{X}}, $$

i.e. the number density of low-energy electrons is

$$ n_{\mathrm{l}} = \frac{\delta_{\mathrm{l}} - 3/2}{\delta_{\mathrm{l}} -1}\frac{F_{\mathrm{e}}}{v_{\mathrm{l}} S_{\mathrm{X}}}, $$
(5)

where \(v_{\mathrm{l}} = \sqrt{2E_{\mathrm{l}}/(\alpha m)}\).

Supposing that the spectral density of high-energy electrons with \(E \geqslant E_{\mathrm{b}}\) is

$$ n_{\mathrm{h}}(E) = n_{\mathrm{0h}} E^{-\delta_{\mathrm{h}}}, $$

where \(n_{\mathrm{0h}}\) is the normalized coefficient, excluding the jump at the point \(E_{\mathrm{b}}\), \(n_{\mathrm{l}}(E_{\mathrm{b}})=n _{\mathrm{h}}(E_{\mathrm{b}})\), the relationship between the number densities of electrons takes the form (Tsap et al., 2016)

$$ n_{\mathrm{h}} =\frac{\delta_{\mathrm{l}} -1}{\delta_{\mathrm{h}} - 1} \biggl( \frac{E_{\mathrm{l}}}{E_{\mathrm{b}}} \biggr) ^{\delta_{ \mathrm{l}} -1}n_{\mathrm{l}}. $$
(6)

Thus, the number density of high-energy electrons \(n_{\mathrm{h}}\) depends on the ratio \(E_{\mathrm{l}}/E_{\mathrm{b}}\) and the spectral index \(\delta_{\mathrm{l}}\) while the dependence on \(\delta_{\mathrm{h}}\) is quite weak.

From Equations 5 and 6 we find

$$ n_{\mathrm{h}} \approx \frac{F_{\mathrm{e}}}{ \sqrt{2E_{\mathrm{l}}/( \alpha m)}S_{\mathrm{X}}}\frac{\delta_{\mathrm{l}} -1}{\delta_{ \mathrm{h}} - 1} \biggl( \frac{E_{\mathrm{l}}}{E_{\mathrm{b}}} \biggr) ^{\delta_{\mathrm{l}} -1}. $$
(7)

Using the results of the X-ray spectral fitting, adopting \(\alpha =3\) (isotropic distribution), Equation 7 can be reduced to the following formula:

$$ n_{\mathrm{h}} \approx 10^{6} \frac{\delta_{\mathrm{l}} -1}{ \delta_{\mathrm{h}} - 1} \biggl( \frac{E_{\mathrm{b}}}{100~\text{keV}} \biggr) ^{1 - \delta_{\mathrm{l}}}~\bigl[\text{cm}^{-3} \bigr]. $$
(8)

Equation 8 suggests that we can estimate the number density of high-energy electrons \([n_{h}]\) for the given values of the break energy \([E_{\mathrm{b}}]\).

In terms of peculiarities of temporal profiles we can suppose that the observed millimeter emission is determined by the non-thermal gyrosynchrotron mechanism. However, as we have mentioned above, the magnetic field should be rather strong (\(B \gtrsim 1\) kG) in this case, i.e. the generation of millimeter emission should occur in the transition region and/or in the chromosphere, where the magnetic field can achieve kilogauss values (Akhmedov et al., 1982). The positive spectral slope may be caused by the absorption of low-frequency radio emission in the surrounding quite cold and dense plasma (see also Ramaty and Petrosian, 1972). Indeed, the coefficient of the free–free absorption is \(\eta_{\nu }\propto n_{\mathrm{e}}^{2}/(\nu ^{2}T^{3/2})\), where \(n_{\mathrm{e}}\) is the number density of thermal electrons (Zheleznyakov, 1970); therefore the centimeter radio emission can be suppressed at the flare-loop footpoints.

It should be stressed that millimeter gyrosynchrotron emission is determined by high-energy electrons with \(E \gtrsim 1\) MeV (White and Kundu, 1992). As a result, the peculiarities of this emission do not strongly depend on the values of the break energy \([E_{\mathrm{b}}]\), which can be varied in the range 100 – 500 keV. For the break energy \(E_{b} = 300\) keV (Hildebrandt et al., 1998) and the spectral index \(\delta_{\mathrm{l}} = 4.75\). Equation 8 gives the number density of high-energy electrons \(n_{\mathrm{h}} \approx 10^{5}/( \delta_{\mathrm{h}} - 1)~\mbox{cm}^{-3}\). Then, using the corrected version (A. Kuznetsov, personal communication, 2017) of fast GS code ( sites.google.com/site/fgscodes/transfer ) proposed by Fleishman and Kuznetsov (2010) and assuming that the source area \(S_{\mathrm{GS}} = S_{\mathrm{X}} = 2.5 \times 10^{17}~\mbox{cm}^{2}\), we can calculate the spectrum for different combinations of geometrical depth \(l = 4 \times 10^{6} \) – \(10^{8}\) cm, magnetic field \(B = 50\) – 1500 G, spectral index \(\delta_{\mathrm{h}} = 2\) – 7, number density \(n_{\mathrm{e}} = 10^{10} \) – \(10^{12}~\mbox{cm}^{-3}\), temperature \(T = 0.6 \times 10^{4}\) – \(3 \times 10^{5}\) K of background plasma, and angle between the magnetic field and line-of-sight \(\theta = 0\) – \(90^{\circ }\). As a result, we found that a quite good agreement between the observed and model millimeter spectrum can be achieved at \(\delta_{\mathrm{h}} = 2 - 2.6\), \(l = 2.8 \times 10^{7}\) – \(10^{8}\) cm. The number density \([n_{e}]\) changes from \(5.5 \times 10^{10}\) to \(10^{12}~\mbox{cm}^{-3}\) if the plasma temperature increases from \(10^{4}\) to \(3 \times 10^{5}\) K. The magnetic field \([B]\) and viewing angle \([\theta ]\) can take values 450 – 1500 G and 25 – \(90^{\circ }\), respectively, depending on the spectral index \([\delta_{\mathrm{h}}]\) and the geometrical depth \([l]\).

Figure 6 shows the example of numerical calculations for the source area in the chromosphere \(S_{\mathrm{GS}} = 2.5\times 10^{17}~\mbox{cm}^{2}\), spectral index of non-thermal electrons \(\delta_{\mathrm{h}} =2.1\), geometrical depth \(l = 4.6 \times 10^{7}\) cm, magnetic field \(B=1380\) kG, plasma temperature \(T = 0.1\) MK, number density of thermal electrons \(n_{\mathrm{e}} = 3.8 \times 10^{11}~\mbox{cm}^{-3}\), and line-of-sight \(\theta = 70^{\circ }\). The parameters adopted agree well with X-ray observations and correspond to a height of 1000 – 1500 km, where \(n_{\mathrm{e}} = 10^{11} \) – \(10^{12}~\mbox{cm}^{-3}\) and the degree of plasma ionization changes from 0.1 to 1 (Machado et al., 1980; Qu and Xu, 2002). Note that we did not take into account the contribution of neutral atoms to the bremsstrahlung absorption \([\eta_{\nu }]\) since it is negligible (Zheleznyakov, 1970).

Figure 6
figure 6

The numerical simulation of millimeter emission spectrum from the 5 July 2012 event in the chromosphere. Gyrosynchrotron emission of non-thermal electrons without chromospheric absorption (top panel) and free–free emission (middle panel). Bottom panel: observational data (circles) with error bars at 93 and 140 GHz and modelled total flux spectrum (solid line) of the chromospheric source. Parameters are described in the main text.

It should be stressed that Zaitsev, Stepanov, and Melnikov (2013) proposed that the plasma mechanism can be responsible for the sub-THz emission in the solar chromosphere. Let us consider this possibility for our event in more detail.

The condition of Langmuir-wave excitation by an electron beam can be represented as (Zaitsev, Stepanov, and Melnikov, 2013)

$$ \frac{n_{\mathrm{h}}}{n_{\mathrm{e}}} \omega_{\mathrm{p}} > \nu_{\mathrm{eff}} \approx \frac{60n_{\mathrm{e}}}{T^{3/2}}~\bigl[\mbox{s}^{-1}\bigr], $$

where \(\omega_{\mathrm{p}}\) is the plasma frequency and \(\nu_{\mathrm{eff}}\) is the effective frequency of collisions between electrons. If the observed emission is generated on the second harmonic of plasma frequency \(\nu_{\mathrm{p}} \approx 8.97 \times 10^{3} \sqrt{n _{\mathrm{e}}}~\mbox{s}^{-1}\), taking \(\nu = 2\nu_{\mathrm{p}} \approx 1.4 \times 10^{11}~\mbox{s}^{-1}\) (140 GHz), we obtain \(n_{\mathrm{e}} \approx 6.4 \times 10^{13}~\mbox{cm}^{-3}\). Hence, the number density of accelerated electrons with \(E >100\) keV at the temperature \(T = 2 \times 10^{6}\) K (Zaitsev, Stepanov, and Melnikov, 2013) is

$$ n_{\mathrm{E}} > \frac{n_{\mathrm{e}}\nu_{\mathrm{eff}}}{\pi \nu } \approx 20 \frac{n_{\mathrm{e}}^{2}}{\nu T^{3/2}} \approx 2 \times 10^{8}~\mbox{cm}^{-3}. $$

This value is two orders of magnitude greater than the number density obtained from the X-ray spectral fitting of the 5 July 2012 solar flare.

In turn, taking into account that atoms and molecules make a positive contribution to the dielectric permittivity of the medium in the partially ionized chromosphere, Fleishman and Kontar (2010) proposed another non-thermal mechanism. They assumed that Cherenkov emission generated by relativistic electrons in the chromosphere can be responsible for sub-THz emission. However, the permittivity for the chromospheric plasma is not known, whereas the extrapolation based on the Earth’s atmosphere seems to be not quite reliable (Krucker et al., 2013).

3.2 Thermal Component

3.2.1 Millimeter Bremsstrahlung Emission from the Corona

To estimate the contribution of the thermal coronal plasma to the flare millimeter free–free emission we used EUV observations obtained with the Atmospheric Imaging Assembly (SDO/AIA), which is sensitive with respect to plasma temperatures \(T=0.5\) – 20 MK (Lemen et al., 2012).

The brightness temperature in the case of the optically thin source can be written as (Alissandrakis et al., 2013; Tsap et al., 2016)

$$ T_{\mathrm{b}}(\nu ) = \frac{1}{\nu^{2}} \int_{T_{\min}}^{T _{\max}}\frac{K\phi (T)}{\sqrt{T}} \mathrm{e}^{-\tau_{\nu }}\,{ \mathrm{d}}T, $$
(9)

where the differential emission measure and the optical thickness \([\tau_{\nu }]\) are

$$ \phi (T)= n_{\mathrm{e}}^{2} \frac{{\mathrm{d}}l}{{\mathrm{d}}T},\quad \quad \tau_{\nu }= \int_{T_{\min}}^{T_{\max}} \frac{K \phi (T)}{T^{3/2}\nu^{2}} \,{\mathrm{d}}T, $$

where \(T_{\min}\) and \(T_{\max}\) correspond to the temperature range of coronal plasma and the coefficient

$$ K = 9.78\times 10^{-3}\times \left \{ \textstyle\begin{array}{l@{\quad }l} 18.2+\ln T^{3/2}- \ln \nu ,&T < 2\times 10^{5}~K \\ 24.5 + \ln T - \ln \nu ,&T > 2\times 10^{5}~K \end{array}\displaystyle \right .~[\mbox{cgs}\,\mbox{units}]. $$

Thus, taking into account the Rayleigh–Jeans law, we can estimate the spectral flux density as

$$ F_{\nu } = \frac{2k_{\mathrm{B}} \nu^{2}}{{\mathrm{c}}^{2}}T_{ \mathrm{b}}(\nu ) \frac{S}{R^{2}}, $$
(10)

where \(k_{\mathrm{B}}\) is the Boltzmann constant, \(S\) is the projected area of a source and \(R\), is the Sun–Earth distance.

In order to estimate \(F_{\nu }\), the unsaturated SDO/AIA data were calibrated using the program aia_prep.pro and normalized to the exposure time for six EUV wavebands (94 Å, 131 Å, 171 Å, 193 Å, 211 Å, 335 Å). Then the differential emission measure \([\phi (T)]\) for the time interval 11:43:15 – 11:43:27 UT was calculated from the area of a coronal source \(S_{\mathrm{c}} \approx 4\times 10^{18}~\mbox{cm}^{2}\) (Figure 7) corresponding to the 50% RHESSI contour (CLEAN algorithm, Hurford et al., 2002) in the energy range of 7 – 10 keV based on the Tikhonov regularization technique (Tikhonov and Arsenin, 1979; Kontar et al., 2004, 2005; Hannah and Kontar, 2012; Motorina et al., 2012, 2016). The results of numerical calculations of \(\phi (T)\), averaged over the source area (Figure 8), show evidence that the coronal part of the flare-energy-release region contains a large amount of plasma with \(T = 0.5\,\mbox{--}\,3~\mbox{MK}\). In spite of this circumstance and a sufficiently large value of \(S_{\mathrm{c}}\), we concluded from Equations 9 and 10 that the contribution of thermal SDO plasma to the observed millimeter emission at 93 and 140 GHz should be negligibly small, since the spectral flux density proved to be about 3 s.f.u.

Figure 7
figure 7

The AIA 131Å map overlaid with RHESSI 7 – 10 keV contours (11:43:00 – 11:43:20 UT) at 40, 50, and 70% of the peak intensity during the 5 July 2012 solar event. The CLEAN algorithm was used for the reconstruction of images.

Figure 8
figure 8

The regularized differential emission measure \([\phi (T)]\) obtained from SDO/AIA data for the 5 July 2012 solar flare. The vertical and horizontal lines correspond to \(\Delta \phi (T)\) and \(\Delta \log _{10} T\), respectively.

3.2.2 Millimeter Bremsstrahlung Emission from the Transition Region

The similar behavior of millimeter and non-thermal time profiles suggests that the corresponding source areas of millimeter and hard X-ray emissions should be comparable in the transition region/chromosphere. Indeed, accelerated electrons and thermal fluxes caused by their thermalization should be propagated along the magnetic-field lines. Thus, we can assume that the area of thermal millimeter emission in the transition region/chromosphere \(S_{ \mathrm{t}} \approx S_{\mathrm{X}}\).

As we have shown previously (Tsap et al., 2016) millimeter emission may well be determined in greater measure by cool (\(T \approx 0.1\) MK) plasma of the transition region because of the relatively low temperature (\(T \approx 0.01\) MK) of the chromosphere and the small optical thickness of the coronal plasma. Therefore we will not take into account contributions to the thermal millimeter emission of these regions.

To estimate the contribution of the transition-region plasma to millimeter emission we use the well-known formula for the brightness temperature of the homogeneous plasma source (e.g. Tsap et al., 2016)

$$ T_{\mathrm{b}}(\nu ) = T\bigl[1-\exp (-\tau_{\nu })\bigr], $$
(11)

where the optical depth is

$$ \tau_{\nu }= \eta_{\nu }l = \frac{K n_{\mathrm{e}}^{2}}{T^{3/2}\nu ^{2}} l. $$

As a result, from Equation 10 for the total spectral flux we obtain

$$ F_{\nu } = \frac{2k_{\mathrm{B}} \nu^{2}}{{\mathrm{c}}^{2}R^{2}}T\bigl[1- \exp (- \tau_{\nu })\bigr] S_{\mathrm{t}}. $$
(12)

The available data do not provide enough constraints to determine a unique set of parameters. As an illustration, this can be achieved for the following main parameters of the optically thick source that lead to the observed spectrum presented in Figure 9: area \(S_{\mathrm{t}} = 2.7\times 10^{18}~\mbox{cm}^{2}\), geometrical depth \(l= 3.2 \times 10^{7}\) cm, plasma temperature \(T = 0.1\) MK, and number density of thermal electrons \(n_{\mathrm{e}} = 4.5 \times 10^{11}~\mbox{cm}^{-3}\).

Figure 9
figure 9

Results of numerical simulations of free–free emission from the 5 July 2012 solar flare (11:44:24 UT) obtained from Equation 12.

The most interesting feature of the proposed model of the millimeter emission is the large \(S_{\mathrm{t}}\) of the optically thick cool source. The large-scale (\({\approx}\, 60''\)) thermal source with the temperature \(T \approx 0.1\) MK and the number density of thermal electrons \(n_{\mathrm{e}} \gg 2 \times 11^{10}~\mbox{cm}^{-3}\) was previously proposed by Trottet et al. (2008) to explain a gradual, long-lasting (\({>}\,30~\mbox{minutes}\)) component of sub-THz emission from the energetic solar flare of 28 October 2003. However, in our case the source area \(S_{\mathrm{t}} \gg S_{\mathrm{X}}\), therefore the millimeter and hard X-ray time profiles of emission could hardly be similar, which contradicts observations. It is easy to show that for other reasonable values of \(l\), \(T\), and \(n_{\mathrm{e}}\) the problem of large source areas \([S_{\mathrm{t}}]\) remains.

4 Discussion and Conclusions

In this article we show that the positive spectral slope between 93 and 140 GHz revealed with the radio telescope RT-7.5 for the 5 July 2012 solar flare can be determined by gyrosynchrotron emission in the chromosphere. The analysis is based on the suggestion about the common population of low-energy and high-energy electrons, X-ray observations, and the collisional thick-target model. It seems to us that the results show evidence that the effective electron acceleration or re-acceleration (Brown et al., 2009) can occur not only in the corona but also in the chromospheric part of flare loops (Tsap and Kopylova, 2017). Note that centimeter as distinguished from millimeter emission is generated in the corona because of the strong absorption in the chromosphere by dense and cold thermal plasma. The spectral index of high-energy electrons should be harder than the spectral index of low-energy ones, which agrees with the well-established case of a broken-power-law electron distribution.

The formation of the positive millimeter spectral slope through the Razin effect connected with the suppression of low-frequency gyrosynchrotron emission by thermal plasma is unlikely, since the number density of electrons would exceed \(10^{12}~\mbox{cm}^{-3}\) in this case. In turn, the self-absorption can be significant in the millimeter-wave range at magnetic fields \(B > 3\) kG, which are not observed with the SDO/HMI magnetograms. The screening effect caused by the filament is hardly possible also because of the strong microwave emission absorption.

Electron acceleration in the chromosphere can occur due to the flute-type instability where the most favorable conditions are created because of the curvature of magnetic-field lines (Zaitsev, Urpo, and Stepanov, 2000; Zaitsev and Stepanov, 2015). Magnetic reconnection may also play an important role (Tsap, 1998; Brown et al., 2009). Note that electron acceleration in the chromosphere by sub-Dreicer electric fields can be quite effective (Tsap and Kopylova, 2017) and allows us to solve some problems associated with the small effectiveness of hard X-ray generation in the collisional thick-target model (Brown et al., 2009).

As was previously shown by Tsap et al. (2016), thermal plasma of the transition region with \(T \approx 0.1\) MK might be responsible for millimeter emission between 93 and 140 GHz from the 4 July 2012 event (M5.3), which occurred in the same active region. However, hard X-ray emission was quite weak and the spectral flux at 140 GHz does not exceed 40 s.f.u. The 5 July 2012 solar flare appeared to be more powerful and hard X-ray emission increased a few times. This implies the non-thermal nature of millimeter emission, which agrees well with some results of observations and model calculations. Thus, mechanisms that determine millimeter emission can be different for different flare events.

In conclusion it is worth noting that detailed calculations of radio emission in magnetic loops have not been considered in this article (Morgachev et al., 2017). One of the reasons is associated with a lack of reliable models of the flare solar transition/chromospheric region. Therefore, some parameters adopted by us are quite arbitrary (Graham, Fletcher, and Labrosse, 2015). In this context, simultaneous observations of flare events with the Interface Region Imaging Spectrograph and Atacama Large Millimeter Array may prove to be very useful.