<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Theory, observations, and simulations of kinetic entropy in a magnetotail electron diffusion region</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>02/01/2022</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10382453</idno>
					<idno type="doi">10.1063/5.0073248</idno>
					<title level='j'>Physics of Plasmas</title>
<idno>1070-664X</idno>
<biblScope unit="volume">29</biblScope>
<biblScope unit="issue">2</biblScope>					

					<author>M. R. Argall</author><author>M. H. Barbhuiya</author><author>P. A. Cassak</author><author>S. Wang</author><author>J. Shuster</author><author>H. Liang</author><author>D. J. Gershman</author><author>R. B. Torbert</author><author>J. L. Burch</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Kinetic Entropy in an EDRWe examine velocity-space kinetic entropy, a spatially local measure of entropy for systems out of thermal equilibrium, during an encounter of an electron di↵usion region (EDR) at a magnetic reconnection site in Earth's magnetotail by the Magnetospheric Multiscale (MMS) mission. We start by generalizing the theory of kinetic entropy to the case of non-uniform velocity space grids and transforming the equations into spherical energy coordinates useful to experimental plasma detectors. The theory is then applied to MMS data and compared to particle-in-cell simulations of reconnection. We demonstrate that the entropy based non-Maxwellianity measure from the MMS data is of su ciently high precision to reliably identify non-Maxwellian distributions, and therefore the measurements when kinetic e↵ects are most significant.By comparing two di↵erent non-Maxwellian measures, we show that total entropy density su↵ers from "information loss" because it lacks a dependence on the velocity space grid, and so has lost information about how well a distribution function is resolved. Local velocity-space kinetic entropy density recovers this information. We quantify information loss and argue that the considerations needed to minimize it are crucial for instruments designed to measure distribution functions in-situ.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head>I. INTRODUCTION</head><p>Energy at large scales gets dissipated at small scales in essentially all plasmas, and how this conversion and dissipation occurs often impacts the plasma dynamics at the large scales <ref type="bibr">1</ref> . For example, the evolution of collisionless shocks 2 , plasma turbulence <ref type="bibr">3</ref> , and magnetic reconnection <ref type="bibr">4</ref> all influence -and are influenced by -small scale energy conversion and dissipation processes. Magnetic reconnection, where a change in magnetic field topology facilitates a rapid release of magnetic energy <ref type="bibr">5</ref> , plays a central role in the spoiling of confinement in tokamaks, the release of energy in solar flares, and the energy cycle within Earth's magnetosphere. In the magnetosphere, reconnection leads to the release of 10 15 J of energy over just a few minutes <ref type="bibr">6</ref> -enough to supply New York City for an entire year 7 . Even though energy conversion occurs at global scales, dissipation at electron scales contributes greatly <ref type="bibr">8</ref> .</p><p>Several scalar, reference-frame-invariant parameters were proposed as a means of locating reconnection sites <ref type="bibr">[9]</ref><ref type="bibr">[10]</ref><ref type="bibr">[11]</ref><ref type="bibr">[12]</ref><ref type="bibr">[13]</ref><ref type="bibr">[14]</ref><ref type="bibr">[15]</ref> to identify and understand the dissipation processes. However, electron scales remained inaccessible to observations until the launch of the Magnetospheric Multiscale (MMS) mission <ref type="bibr">16</ref> , which now allows us to investigate kinetic processes that lead to dissipation and test aspects of kinetic theory, including kinetic entropy.</p><p>The importance of entropy is captured by the Second Law of Thermodynamics -in a closed, isolated system in which energy is conserved, entropy never decreases. From a thermodynamic perspective, high entropy is synonymous with a lack of energy that can be converted into mechanical work. From a kinetic theory perspective, entropy describes the disorder inherent to the system. The more ordered a system, the lower its entropy and the more e&#8629;ective the stored energy is able to perform mechanical work. As an example, in the electron di&#8629;usion region (EDR) of magnetic reconnection, electromagnetic fields do work on charged particles. This alters their particle distribution functions, often making them more ordered than Maxwellian distributions. non-Maxwellian distributions can be used to identify locations of electromagnetic energy dissipation <ref type="bibr">[17]</ref><ref type="bibr">[18]</ref><ref type="bibr">[19]</ref><ref type="bibr">[20]</ref><ref type="bibr">[21]</ref> and may indicate that further dissipation of kinetic energy to thermal energy may occur. Entropy and non-Maxwellianity, therefore, should be able to identify locations like the EDR where key kinetic-scale energy conversion processes take place <ref type="bibr">22</ref> .</p><p>By comparing the current state of a system to its equilibrium, Maxwellianized state, non-Maxwellianity measures were developed. One contains the quadratic di&#8629;erence in distribu-tion functions <ref type="bibr">14,</ref><ref type="bibr">15</ref> while others contain the di&#8629;erence in entropies <ref type="bibr">23,</ref><ref type="bibr">24</ref> . These were used to study dissipation in solar wind turbulence <ref type="bibr">14,</ref><ref type="bibr">15</ref> ; Earth's bow shock <ref type="bibr">25</ref> , dayside regions <ref type="bibr">26</ref> ; magnetotail plasma sheet <ref type="bibr">23</ref> ; collisional magnetic reconnection <ref type="bibr">27</ref> , and numerical simulations of collisionless magnetic reconnection <ref type="bibr">24</ref> . It was shown that the form involving the di&#8629;erence in entropies, or the Kaufmann and Paterson non-Maxwellianity <ref type="bibr">23</ref> , can increase without bound the worse the velocity-space bins over-or under-resolve the distribution function <ref type="bibr">24</ref> . An inadequate velocity-space bin size in simulations can lead to unphysical results for dissipation <ref type="bibr">22</ref> even though the simulations are able to reproduce macroscopic properties of reconnection.</p><p>In perfectly collisionless systems, there is no dissipation -ideal kinetic physics is reversible. This was demonstrated in gyrokinetic simulations of magnetic reconnection in which the plasma has a reduced number of degrees of freedom <ref type="bibr">28</ref> ; however, reconnection becomes less reversible in fully kinetic simulations with decreasing guide field (increasing degrees of freedom) <ref type="bibr">29</ref> . Irreversibility and non-conservation of entropy in simulations is tied to phase mixing <ref type="bibr">30</ref> and numerical noise <ref type="bibr">31</ref> . Numerical noise, however, is not present in real systems, yet observations of reconnection at the magnetopause revealed an unmeasured "residual" dissipation potentially linked to wave activity <ref type="bibr">32</ref> , which can lead to irreversible anomalous dissipation due to Landau damping <ref type="bibr">33</ref> .</p><p>Without collisions, the distribution function in kinetic plasmas can take on highly non-Maxwellian shapes. Elongated and striated distributions can be present near reconnection X-lines <ref type="bibr">10,</ref><ref type="bibr">34</ref> , while other shapes map to di&#8629;erent regions and processes of reconnection <ref type="bibr">17,</ref><ref type="bibr">[35]</ref><ref type="bibr">[36]</ref><ref type="bibr">[37]</ref><ref type="bibr">[38]</ref> , and are tied to energy dissipation <ref type="bibr">39,</ref><ref type="bibr">40</ref> via scalar energy conversion parameters <ref type="bibr">11,</ref><ref type="bibr">41</ref> . As mentioned, though, only entropy uniquely identifies irreversible dissipation. As the distributions become more structured, the number of arrangements that lead to the same distribution decreases, resulting in an increased non-Maxwellianity and decreased entropy <ref type="bibr">31</ref> . non-Maxwellianity, structured distributions, and the processes that lead to dissipation, then, are all intricately related.</p><p>In this paper, we study the local velocity-space kinetic entropy in a magnetotail EDR during magnetic reconnection using electron-scale measurements from MMS. To do so, we derive a generalized kinetic entropy for arbitrary velocity-space grids, in particular the logarithmic spherical energy grid used by experimental plasma instruments. We show that kinetic entropy density and entropy-based non-Maxwellianity measures are in good agreement with a dedicated 2.5D particle-in-cell (PIC) simulation and that the non-Maxwellianity measure is capable of identifying non-Maxwellian distributions in the MMS data. We further show that the entropy-based non-Maxwellianity calculated using kinetic entropy density is not positive definite as it should be, and that this is caused by the inappropriate velocity-space grid scale resolution. The velocity-space kinetic entropy captures the role of the velocityspace grid and gives physically meaningful results. We describe their di&#8629;erence in terms of a new concept, "information loss", which is used to quantify the extent to which the velocity-space grid over-or under-resolves the distribution function in velocity-space. We show that information loss is important for MMS observations. There are a number of important consequences of the present study. First, the good agreement of kinetic entropy densities in MMS observations (in an open naturally occurring system) and PIC simulations (in a closed system) shows that closed simulations can be useful to help interpret observations in naturally occurring open systems. Second, we argue that knowledge of information loss is an important consideration for future satellite instrument development. Third, we argue that information loss is likely important in other attempts to measure non-Maxwellianity using observational data, potentially jeopardizing the accuracy of the measurement. This implies that a source of apparent irreversibility in observations is the amount of information lost by not properly resolving the distribution function.</p><p>The paper is organized as follows: Section II reviews the theoretical development of kinetic entropy, then generalizes the theory to non-uniform velocity space grids and transforms the equations to spherical energy space to be applied to satellite observations. Section III describes the in-situ data used in the study ( &#167;III A), gives an overview of the reconnection event being analyzed ( &#167;III B), and describes the PIC simulations carried out ( &#167;III C). Section IV describes our results; beginning with a Maxwellian look-up table used to minimize errors between the observed distribution and its associated Maxwellianized version needed to calculate non-Maxewllianity ( &#167;IV A); followed by a comparison between observations and PIC simulations ( &#167;IV B); and ending with a look at kinetic entropy, non-Maxwellianity, and their connection to distribution functions that represent di&#8629;erent dissipation processes ( &#167;IV C). Section V demonstrates how course-graining velocity-space can lead to a loss of information regarding dissipation. Finally, Section VI discusses our results and Section VII presents a summary of our conclusions.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>II. KINETIC ENTROPY: THEORY</head><p>In this section, we review the theory of velocity-space kinetic entropy and non-Maxwellianity, following closely the steps outlined in Appendix A of Liang et al. <ref type="bibr">22</ref> , then generalize the theory to satellite applications that use non-uniform velocity space bins and require a transformation to logarithmic, spherical energy coordinates. More complete derivations of the kinetic entropy parameters, along with other quantities used or discussed throughout the paper, can be found in the supplementary material.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. Review of Kinetic Entropy with a Uniform Velocity Space Grid</head><p>Kinetic entropy S as defined by Boltzmann 42 is written as</p><p>where</p><p>is the total number of microstates that correspond to a given macrostate, N tot is the total number of particles in the system, N j,k is the number of particles in the j, k'th cell of phase space, and the product over j and k is over all position-and velocity-space cells, respectively. We suppress writing a possible time t dependence here and throughout for simplicity. We call this form "combinatorial entropy" because of how the microstates are counted.</p><p>By breaking up phase space into discrete bins and applying Stirling's approximation, combinatorial entropy can be written in terms of the particle distribution function</p><p>where the small phase space cells have uniform dimensions of size 3 r and 3 v. In writing this expression, the phase space volume has been written as infinitesimals d 3 rd 3 v in the integral in the second term but remains 3 r 3 v in the first term. This implies that Eq. 2 is only semi-continuous and that the finite grid size of any practical simulation or measurement device factors into the total entropy <ref type="bibr">22,</ref><ref type="bibr">24</ref> .</p><p>By considering the permutation of particles in position-and velocity-space separately, the total combinatorial entropy can be decomposed into position-space combinatorial entropy S r and velocity-space combinatorial entropy S V , each of which has a semi-continuous representation similar to Eq. 2 <ref type="bibr">22,</ref><ref type="bibr">43</ref> . It is illustrative to note that the same semi-continuous forms of position-and velocity-space entropy can be derived directly from Eq. 2. After adding and subtracting R d 3 rn(r) ln [n(r)] and some simplification, Eq. 2 becomes</p><p>where</p><p>The second term in Eq. 6 is often referred to as the total kinetic entropy density s(r),</p><p>where we begin to suppress the r dependence except where it is important to retain. This is the density of S because its position space integral gives the total kinetic entropy S in Eq. 2 (up to a constant).</p><p>For a drifting Maxwellian distribution of the form</p><p>where m is the mass of the particles, n is the number density, u is the bulk flow velocity, and T is the temperature, Eq. 7 is exactly solvable, and gives the kinetic entropy density s M of a Maxwellian distribution:</p><p>Substituting this into Eq. 6 gives</p><p>the velocity-space entropy density of a Maxwellian distribution.</p><p>Because the Maxwellian distribution describes a plasma in local thermodynamic equilibrium, and because that equilibrium state has the highest entropy of all distributions with the same energy and number of particles <ref type="bibr">42</ref> , the di&#8629;erence in kinetic entropy density between an observed distribution and its associated Maxwellian, or the non-Maxwellianity of the</p><p>is a measure of the departure from Maxwellianity of a local distribution function and gives a measure for the possibility for dissipation to occur. Eq. 11 was defined by Kaufmann and</p><p>Paterson <ref type="bibr">23</ref> and is normalized by</p><p>, where c v is the specific heat per particle at constant volume for an ideal gas, to make MKP dimensionless.</p><p>One disadvantage of MKP is that it is not bounded, making its interpretation di cult <ref type="bibr">24</ref> .</p><p>To remedy this, a new non-Maxwelllianity measure formed from the velocity-space entropy density (Eq. 6) was introduced <ref type="bibr">24</ref> M = s</p><p>Provided the velocity space grid is chosen appropriately, as discussed in Liang et al. <ref type="bibr">24</ref> , this measure is not only dimensionless, positive definite, and vanishes when the distribution is a Maxwellian (similar to MKP ), but is also bounded. It can be written in terms of total entropy density s (Eq. 7) M = s M s s M + k B n ln (n/ 3 v) but we will evaluate it in terms of MKP (Eq. 11) <ref type="bibr">24</ref> </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>M = MKP</head><p>1 + ln</p><p>because this allows us to isolate the e&#8629;ects that discretizing phase space has on our ability to measure entropy and non-Maxwellianity. We will explore these e&#8629;ects further in &#167;V and &#167;VI.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Generalization to non-Uniform Velocity Space Grids</head><p>We now consider the velocity-space kinetic entropy and non-Maxwellianity in the context of observations by the MMS mission. The derivations in the previous subsection were performed assuming uniformly sized velocity-space bins. In practice, however, the instruments that measure the particle distribution functions, such as the Fast Plasma Investigation <ref type="bibr">44</ref> (FPI) on MMS, have logarithmically-spaced energy bins, meaning 3 v is not a constant and cannot be pulled out of the summation that leads to the first term in Eqs. 2 and 6. We now follow the same procedure as for Equations 1-6, deriving the combinatorial form of S r and S V but with the velocity-space bin size represented by v k to indicate it is di&#8629;erent for every velocity-space cell. Focusing on the velocity-space entropy, we obtain</p><p>. Now we split the 3 r 3 v k pairs, bringing the constant 3 r outside of the summations, let S V = P j s V 3 r, and take the limit of small velocity-space bin sizes to get</p><p>where we write an explicit dependence of d 3 v on v, and s is the entropy density from Eq. 7 with d 3 v replaced by d 3 v(v). This is the generalization of Eq. 6 for the case of non-uniform velocity bins. From here onward, when we are developing the theory, the velocity-space element will be referred to as d 3 v(v), but for discussions of the theory, which applies to satellite instrumentation, we will refer to it as 3 v k . If 3 v k were constant, it could be pulled out of the integral and the resulting n ln( 3 v) combines with the second term to recover Eq. 6.</p><p>To calculate M , we replace 3 v with 3 v k in Eq. 10, take the limit of small bin size, substitute the result and Eq. 15 into Eq. 12, then simplify to get</p><p>Substituting Eq. 9 into the denominator and factoring out 3 2 k B n gives</p><p>Note that the densities of f (v) and f M (v) are equal by definition. This means that if 3 v k were constant, the final term in the numerator of Eq. 17 would vanish and the third term in the denominator would reduce to ln( 3 v) 2/3 , which recovers Eqs. 11 and 12.</p><p>The prior expressions are valid regardless of the velocity space grid sizes. Here, we derive expressions for spherical energy space coordinates that particle detectors use. For the case of MMS-FPI, an additional step is needed; the particle energy E is normalized via</p><p>where E 0 is a constant used to bound the energy integration limits of the distribution function between 0 and 1 (more on this in &#167;III A). To perform the coordinate transformations, we assume a non-relativistic system and follow the notation of Moseev and Salewski <ref type="bibr">45</ref> . First, we establish the relationship between v, E, and U :</p><p>Next, we find the Jacobians of the transformations as J vx,vy,vz! ,&#10003;,v = det @(vx,vy,vz) @( ,&#10003;,v)</p><p>J vx,vy,vz! ,&#10003;,E = det @(vx,vy,vz) @( ,&#10003;,E)</p><p>J vx,vy,vz! ,&#10003;,U = det @(vx,vy,vz) @( ,&#10003;,U )</p><p>where d&#8998; = sin &#10003;d&#10003;d is an element of solid angle in velocity space, and and &#10003; are the azimuth and polar angles, respectively.</p><p>These relationships can then be used to transform the kinetic entropy equations into spherical, normalized energy coordinates. Starting with the Maxwellian distribution (Eq. 8):</p><p>where f M has been written such that n = R f M dU d&#8998;. Next, we do the same for Equations 7, 15, 16, and 17 to get:</p><p>We made the substitutions</p><p>in Eq. 25 to save space and we continue to suppress the dependence of the distribution function on r. An additional note is that if the roles of v and r were switched, one could arrive at a position-space entropy density that is local in velocity space and its equivalent expression for non-Maxwellianity.</p><p>We do not pursue this line of thought on practical grounds.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>III. DATA</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. MMS</head><p>Kinetic entropy and non-Maxwellianity are explored using data from the Dual Electron Spectrometer (DES) from the Fast Plasma Investigation (FPI) <ref type="bibr">44</ref> on the MMS mission <ref type="bibr">16</ref> . DES measures the full 3D electron distribution function every 30 ms in burst mode. We integrate the distribution using the new theory of &#167;II B to calculate kinetic entropy parameters. For consistency in results (e.g., calculations of s M using Eq. 9 vs. Eq. 7 with Eq. 8), we perform our own numerical integration of the distribution function for both the kinetic entropy parameters and the plasma moments using the method prescribed by the FPI team. This involves 1) removing photoelectrons generated by sunlight entering the instrument aperture, 2) correcting for the spacecraft potential that acts as a barrier to cold particles and changes the energy of incoming plasma, and 3) preconditioning the distribution, which entails normalizing the energy range according to Equation 18 and extrapolating the , &#10003;, and U integration limits so that is cyclic, &#10003; ranges from [0, &#8673;], and U ranges from [0, 1].</p><p>The value of E 0 , conditions for energy extrapolation, and energy integration limits are provided in the metadata of the o cial DES moments files available through the MMS Science Data Center 46 . Finally, trapezoidal integration is performed in spherical, normalized energy coordinates.</p><p>In addition to DES data, we also make use of the FIELDS instrument suite <ref type="bibr">47</ref> , which contains the Fluxgate Magnetometer (FGM) <ref type="bibr">48</ref> and the Electric Field Double Probes (EDP) <ref type="bibr">49,</ref><ref type="bibr">50</ref> instruments that measure the magnetic and electric fields, respectively. Vector data is displayed in the LMN boundary normal coordinate system obtained via a minimum variance analysis of the electron bulk velocity (MVA-V e ) within the EDR <ref type="bibr">51,</ref><ref type="bibr">52</ref> . In this system, &#234;L points along the Earthward exhaust, &#234;N points North toward the inflow region, and &#234;M = &#234;N &#8677; &#234;L points along the reconnecting current. This coordinate system results in a reliable reconnection rate <ref type="bibr">52</ref> .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Event Overview</head><p>Measurements from July 11, 2017, around 22:34:00 Universal Time (UT), are shown in Figure <ref type="figure">1</ref>. The MMS satellites <ref type="bibr">16</ref> were embedded in the central magnetotail plasma sheet, as indicated by the hot, dense ion and electron populations in Figure <ref type="figure">1b</ref>,<ref type="figure">c</ref>,<ref type="figure">d</ref>. As MMS3 traversed the plasma sheet from the Southern to the Northern hemisphere, it observed a rotation of the reconnecting magnetic field B L (Fig. <ref type="figure">1a</ref>), a reversal of an ion jet V i,L (Fig. <ref type="figure">1e</ref>), and a reversal of an electron jet V e,L (Fig. <ref type="figure">1f</ref>), indicating that MMS crossed from the earthward to the tailward exhausts of a reconnection site. Hall electric fields E N (Fig. <ref type="figure">1g</ref>) signal the separation of charge within the ion di&#8629;usion region. The strong out-ofplane electron flow V e,M co-incident with the electron jet reversal was found to be caused by accelerated, meandering electrons accelerated by the reconnection electric field E M in the EDR. The EDR is further identified by the departure of the perpendicular electron bulk flow from the ExB drift velocity, indicating a violation of the frozen-in condition <ref type="bibr">39</ref> . Farther into the tailward exhaust, MMS encountered electron-scale vortices 53 within ion-scale flux ropes <ref type="bibr">53,</ref><ref type="bibr">54</ref> (not shown) associated with a turbulent exhaust structure. magnitude, (b) ion and (c) electron energy spectrograms, (d) electron number density, (e) ion and (f) electron bulk velocity, and (g) electric field components. Data is shown in the LMN-coordinate system of Nakamura et al. 55</p><p>The EDR for this event has been studied extensively. Some of the primary conclusions from previous studies were that this symmetric magnetotail reconnection event with weak guide field is characterized by a 2D, laminar process <ref type="bibr">39,</ref><ref type="bibr">51</ref> , the normalized reconnection rate was 0.1-0.22 <ref type="bibr">39,</ref><ref type="bibr">52,</ref><ref type="bibr">55,</ref><ref type="bibr">56</ref> , the structure of the X-line is supported by electron nongyrotropy <ref type="bibr">51,</ref><ref type="bibr">56,</ref><ref type="bibr">57</ref> , and electrons are accelerated to super-Alfv&#233;nic velocities after spending at least three gyroperiods in the current sheet <ref type="bibr">39</ref> . In addition, Torbert et al. <ref type="bibr">39</ref> describes a &#8677;2 calibration factor that has been applied to the ion velocities in Figure <ref type="figure">1e</ref>. For more detailed analysis of this event, readers are referred to the cited papers.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C. Simulation</head><p>The observed reconnection event was nearly symmetric and reasonably laminar, and previous studies employing 2.5D PIC simulations have shown good agreement with the observations <ref type="bibr">39,</ref><ref type="bibr">51,</ref><ref type="bibr">55,</ref><ref type="bibr">57</ref> . We therefore also employ 2.5D PIC simulations to compare with the observations. We use the massively parallel PIC code P3D <ref type="bibr">58</ref> , where particles are stepped forward in time using the relativistic Boris particle stepper <ref type="bibr">59</ref> and electromagnetic fields are stepped forward using the trapezoidal leapfrog method 60 ; the fields can have a smaller timestep than that of the particles. P3D employs the multigrid approach to clean the electric field, E, to enforce r &#8226; E = &#8674;/&#9999; 0 , where &#8674; is the net charge density, every 10 particle timesteps. We employ periodic boundary conditions in both directions with a large enough computational domain that the boundaries are not expected to play much of a role in The initial setup of the simulation has two Harris current sheets (CS) and a uniform background (BG) plasma population for which the density n BG and temperature T s,BG for species s (either e for electrons or i for ions) can be chosen independently from the Harris sheet parameters. The initial magnetic field profile is</p><p>, where B 0 is the asymptotic reconnecting magnetic field far upstream, w 0 is the half-thickness of the current sheet and l N is the width of the computational domain in the &#234;N direction. Initially, the electrons and ions in the Harris sheets have the</p><p>where</p><p>)] and T s,CS are the temperatures of the current sheet population for each species.</p><p>For the plasma parameters in the simulations, we employ the same values used by Nakamura et al. <ref type="bibr">55</ref> The upstream (lobe) magnetic field is B 0 = 12 nT and the density at the center of the initial CS is n 0 = 0.0896 cm <ref type="bibr">3</ref>  The speed of light c is 1.75&#8677;10 4 km/s which is smaller than that of Nakamura et al. <ref type="bibr">55</ref> but is su ciently larger than other speeds of our system. The initial current sheet half-thickness</p><p>, where d i0 = c/! pi0 = 760 km is the ion inertial length based on n 0 ,</p><p>is the ion plasma frequency, and e is the proton charge, which is the same as in Nakamura et al. <ref type="bibr">55</ref> . The electron to ion mass ratio is m e /m i = 0.01 which is larger than in Nakamura et al. <ref type="bibr">55</ref> and is a factor of 18.36 larger than the realistic value. This means the electron-to-ion inertial length ratio in the simulations is a factor of 4.28 larger than the realistic length ratio. This di&#8629;erence will be noted while drawing comparisons between observation and simulation results, but we do not expect that electron scale properties of the reconnection region are altered when properly normalized to a realistic value.</p><p>The length of the computational domain is l L = 2.66 &#8677; 10 4 km = 35 d i0 and its width is l N = 1.33 &#8677; 10 4 km = 17.5 d i0 . The system size is smaller than that of Nakamura et al. <ref type="bibr">55</ref> but since the focus of our study is a trajectory which passes very close to the electron di&#8629;usion region, a smaller system size is su cient; our system size is not large enough for ions to fully couple to the reconnected field downstream of the X-point, but this is not expected to a&#8629;ect dynamics at the electron scale that are the focus of this study. The grid-length in both directions = 6.5 km = 0.008545 d i0 , which is chosen to be smaller than the smallest length scale of the system (the electron Debye length). The time-step t = 0.652 ms = 0.00075 &#8998; 1 ci0 is chosen to be smaller than the smallest time scale of the system (the electron plasma frequency), where &#8998; ci0 is the ion cyclotron frequency based on B 0 . The time step for electromagnetic fields is half of that for the particles. There are 4096 &#8677; 2048 grid cells which are initialized with 100 weighted particles per grid (PPG). To initiate reconnection, an X point/O point pair are seeded in both current sheets using a weak magnetic field perturbation of the form B L = 0.08B 0 sin (2&#8673;L/l L ) sin (4&#8673;N/l N ) and</p><p>Kinetic entropy is calculated in the simulations employing the implementation from Liang et al. <ref type="bibr">22</ref> with one noteworthy di&#8629;erence. The velocity-space grid scale v i for ions and v e for electrons was imposed to be equal to each other in previous works <ref type="bibr">22,</ref><ref type="bibr">24</ref> . In the present study, we allow v i and v e to be chosen independently. Moreover, this study employs two populations in the initial Harris sheet profile, compared to a single drifting Maxwellian distribution in previous works. Therefore, we optimize the velocity-space grid scale analogously to the previous works, but specifically check the agreement between kinetic entropy density calculated by the simulation and the theoretical value in both the background plasma and the current sheet center simultaneously. We calculate the kinetic entropy density for each species in the simulations with varying velocity-space grids in order to find the optimal velocity-space grid scale at t = 0. This is an important step because if the velocity space grid is too small, the distribution is over-resolved, meaning there is not a statistically significant number of particles per grid cell. Meanwhile, if the grid size is too large, the distribution is under-resolved and important structures are lost. (See &#167;V for a detailed explanation.) The kinetic entropy density for either species is given by Eq. 7 with f = f CS + f BG , consisting of both the current sheet and background populations at t = 0. Since these integrals cannot be done analytically, we carry out these integrals numerically. After we choose a (Cartesian) velocity-space grid scale for electrons, we numerically compute the entropy and compare it to the theoretical value. This results in agreement to within &#177;1% in the upstream region and &#177;2% at the center of the current sheet. The optimal velocity-space grid scale for each species is 60 65% of the smaller of the background and current sheet thermal speeds. For electrons, each velocity-space direction is binned from ( 1.67, 1.67) &#8677; 10 4 km/s =(-18.71, 18.71) V Ai0 with 22 bins of size v e = 1.48 &#8677; 10 3 km/s=1.7005 V Ai0 . For ions, the binning range is ( 7.34, 7.34) &#8677; 10 3 km/s=(-8.38, 8.38) V Ai0 with 54 bins with bin-size</p><p>Previous simulation studies <ref type="bibr">22,</ref><ref type="bibr">24</ref> employed a look-up table similar to the one discussed in &#167;IV A to calculate the Maxwellianized entropy s M . A look-up table for the simulation is advantageous because the simulated plasma has PIC noise while the analytical expression does not. Using raw density and temperature values with an analytical expression for the Maxwellianized entropy leads to disagreement with the theoretical value. The look-up table allows comparable amounts of error in the simulated and theoretical values, which improves the agreement with theory.</p><p>For the present study, we find that unlike in Liang et al. <ref type="bibr">24</ref> , the results for s M when using a look-up table are significantly di&#8629;erent than when not using one. The reason for the dis-agreement is mixing between macroparticles of di&#8629;erent numerical weight; previous studies employed a look-up table that assumed the weights were the same for all macroparticles. As macroparticles of di&#8629;erent weight mix, the look-up table becomes less accurate. This could be addressed by including a third axis of the look-up table to incorporate particle weight, but that is not undertaken for the present study. We therefore directly calculate s M to get simulated values of the non-Maxwellianity parameters.</p><p>The simulation results we present are carried out with no initial out of plane (guide) magnetic field B g . It is important to put this choice in the context of previous numerical simulations of the observed event that employed a weak initial guide field <ref type="bibr">55,</ref><ref type="bibr">57</ref> . We perform and compare results from test simulations with and without a weak initial guide field of B g = 0.36 nT = 0.03B 0 . Figure <ref type="figure">2</ref> shows 2D plots of the out-of-plane magnetic field component B M , where the X-line is located at (0, 0) and the separatrices are the black curves. In the presence of the weak guide field (Fig. <ref type="figure">2a</ref>), we find that B M has a value of about 0.6 nT = 0.05 B 0 in the vicinity of the EDR. This is not seen in MMS3 data (see Figure <ref type="figure">4e</ref>; B M does not become appreciably negative in the shaded region). In our simulations without an initial guide field (Fig. <ref type="figure">2b</ref>) we find that B M is again negative in the vicinity of the X-line along the virtual spacecraft trajectory marked by the thick black curve, but has a smaller value of 0.24 nT = 0.02B 0 , closer to the MMS3 observations. We find no comparable virtual trajectory in the simulation with an initial guide field that reproduces the signature of B M observed by MMS3, so we use the B g = 0 simulation for this study. Egedal et al. <ref type="bibr">57</ref> also used a guide field weaker than that of Nakamura et al. <ref type="bibr">55</ref> for similar reasons.</p><p>Finally, we note that the virtual spacecraft trajectory is selected from a set of possible trajectories, chosen by eye (as opposed to using more systematic approaches to determine the trajectory <ref type="bibr">51,</ref><ref type="bibr">57,</ref><ref type="bibr">61</ref> ). The selected trajectory is one which produces qualitatively similar trends of magnetic field and electron flow speeds when compared with MMS3 observations. We do not anticipate significantly di&#8629;erent values by employing more systematic approaches.</p><p>In what follows, all plots are made from the lower current sheet at the simulation time of 23.4 s = 27 &#8998; 1 ci0 , when the system has achieved a steady-state reconnection rate (not shown). </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>IV. RESULTS</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. Maxwellian Look-up Table</head><p>In order to compute the non-Maxwellianity of a measured distribution f (v), it must be compared to its associated Maxwellian -a Maxwellianized distribution f M (v) of the form Eq. 8 with the same density and temperature as the measured distribution f (v). (The bulk velocity need not be calculated because it does not factor into Eqs. 6 or 7.) For a continuous, analytical function, the density and temperature of f M (v) are defined to be equal to those of f (v). However, the distribution function f ( , &#10003;, E) measured by particle instruments is discrete, not continuous, and is in spherical energy coordinates, not Cartesian velocity coordinates. These di&#8629;erences introduce numerical errors into calculations involving the distribution function. Namely, the computed value of the Maxwellian kinetic entropy density, s M , can be less than the kinetic entropy density calculated directly from MMS data, s. Given that s M is the maximum entropy density for a fixed number of particles and total energy, s M &lt; s is unphysical.. To create a Maxwellianized distribution, we write f M (Eq. 8) in spherical velocity coordinates. We then calculate f M ( , &#10003;, v) at the same azimuth, polar, and velocity bin centers as FPI and transform it to f M ( , &#10003;, U ) using the steps outlined in &#167;III A. In this way, the Maxwellian distribution is treated the same as the measured distribution. The result is Equation <ref type="formula">22</ref>.</p><p>Numerical errors between the measured distribution and its associated Maxwellian prompted us to create a Maxwellian look-up table for the MMS observations. We start by determining the range of observed densities and temperatures for the event. Then, we create our look-up table coordinates n lut and T lut on a 2D grid in density-and temperaturespace that spans the observed ranges. For each value of n lut and T lut in the look-up table, we use a Monte Carlo approach to generate a Maxwellian distribution governed by Eq. 22 with u = 0, giving f M ( , &#10003;, U ) at each n lut , T lut . This constitutes the Maxwellian look-up table. We note, however, that for any f M ( , &#10003;, U ) in the look-up table, its numerically integrated density n M and temperature T M are not necessarily equal to the n lut and T lut used to produce it due to the coordinate transformations, discretization, and extrapolation that f M underwent. T lut during the EDR encounter on 2017-07-11 <ref type="bibr">39</ref> ( &#167;III B, Fig. <ref type="figure">1</ref>). Errors in both density and temperature are independent of density. Absolute errors in density are greater than 6.4% for low temperatures and decrease monotonically and non-linearly to 1.9% with increasing temperature. Similarly, absolute errors in temperature reach a maximum of 2.9% at 400 eV then decrease non-linearly to 1.1% at the upper limit of the temperature range. The negative (positive) sign on the relative errors for density (temperature) indicates that the Maxwellianized distribution consistently has a higher density and lower temperature than the look-up density and temperature.</p><p>Adjustments in the look-up table method reduce the errors between the observed and associated Maxwellian parameters. During the EDR encounter, the observed density and temperature are used to look up the associated errors from Figures <ref type="figure">3a</ref>,<ref type="figure">b</ref>, which are then plotted as a function of time in Figures <ref type="figure">3c</ref>,<ref type="figure">d</ref>  The e&#8629;ect of these adjustments on measures of kinetic entropy are shown in Figures <ref type="figure">3e</ref>,<ref type="figure">f</ref>.</p><p>Because the Maxwellian distribution has the highest entropy of any distribution with the same total number of particles and internal energy, it should be true that s/s &#63743; 0 and transformations and how it is used to correct for those errors. (a) Density and (b) temperature look-up tables relating the observed density and temperature to those of the equivalent Maxwellian distribution. The error as a function of time during the period of interest for (c) density, (d)</p><p>temperature, (e) entropy density, and (f) velocity space entropy density without (blue) and with (orange) using the look-up table. Look-up table results are validated by calculating the total entropy analytically using Eq. 9 (the green curve in panel e).</p><p>s V /s V &#63743; 0. This is the case for s/s but not for s V /s V . After adjusting the lookup table method (orange curves), s V /s V &#63743; 0 at all times, but s/s &gt; 0 at times near 22:34:03. Both s and s V were calculated by integrating f ( , &#10003;, U ) and f M ( , &#10003;, U ) using Eqs. 23 and 24. We also compute s M via Eq. 9 using n and T from the o cial FPI moments and compare it to the observed s. This is the green curve in Figure <ref type="figure">3e</ref>; it matches with our adjusted values of s/s, which serves as validation of our methodology. The reason s gives unphysical values is because, unlike s V , s does not contain information about the velocity space grid scale. This is just one of several reasons 24 that s V is a better choice for studying kinetic entropy; we will discuss this further in &#167;V.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Comparison between Observations and the PIC Simulation</head><p>Figure <ref type="figure">4</ref> shows a comparison between observations (left) and the PIC simulation (right) in the same format as Figure <ref type="figure">7</ref> of Nakamura et al. <ref type="bibr">55</ref> MMS3 passed closest to the reconnection Xline and its data is plotted during the 5 second interval starting at 22:34:00 UT because this is the time interval surrounding the EDR most commonly shown in previous studies <ref type="bibr">39,</ref><ref type="bibr">51,</ref><ref type="bibr">52,</ref><ref type="bibr">55,</ref><ref type="bibr">56</ref> .</p><p>In this study, we focus on the electron entropy in and immediately surrounding the EDR in the subinterval from 1.95 s to 3.315 s, which is highlighted by the gold box in the MMS panels. Since the structure velocity is V L = 170 km/s and the electron inertial length is <ref type="bibr">39</ref> , the spacecraft traversed a distance of 7.7 d e during this time.</p><p>The corresponding path of the virtual spacecraft trajectory through the simulation is 5.3 d i0 = 30.64 d e long, where (no) subscript 0 indicates that the (current sheet density, n 0 ) upstream density was used. This would correspond to a path length of 7.1 d e in a simulation with a realistic mass ratio (with m e 18.36 times lighter), which is nearly the same as the path length in the observations. The data is taken at a single time after the simulation has reached a steady state. We include simulation results both in normalized units (left vertical axis) and physical units (right vertical axis), the latter of which allows for a quantitative comparison with the MMS data.</p><p>Quantitatively, the density (Fig. <ref type="figure">4a</ref>,<ref type="figure">b</ref>); electron temperature anisotropy A = T e,k /T e,? 1,</p><p>where T e,k and T e,? are the electron temperatures parallel and perpendicular to the magnetic field (Fig. <ref type="figure">4c</ref>,<ref type="figure">d</ref>); and magnetic field (Fig. <ref type="figure">4e</ref>,<ref type="figure">f</ref>) are similar between observations and the simulation. The electron bulk flow (Figure <ref type="figure">4g</ref>,h) has similar structure but is smaller in the simulation by about a factor of 4; this is because the simulated electron mass is 18.36 times larger than the realistic value, so the electron Alfv&#233;n speed is 4.28 times smaller. The electric field components in the simulation reference frame E and in the electron rest frame E 0 (Fig. <ref type="figure">4i</ref>-n) all have similar profiles to the observations, but the L and N components are about 2 times smaller in amplitude in the simulations than in the observations. Similarly, the rate of energy conversion between the electric field and the electrons (Fig. <ref type="figure">4o</ref>,<ref type="figure">p</ref>) is a factor of about 4 lower in the simulations. We note that there is good agreement in the normalized simulation values and those presented in Nakamura et al. <ref type="bibr">55</ref> (see their Figure <ref type="figure">7</ref>), so the quantitative di&#8629;erences with the observations seen here are consistent with previous studies. The overall agreement between the simulation and observations gives us confidence in our comparison and interpretations of entropy that follow ( &#167;IV C).</p><p>Some di&#8629;erences in density visible in Figure <ref type="figure">4a</ref>,b can be attributed to the trajectory of the virtual spacecraft through the simulation EDR. Along the trajectory, the density profiles both increase, but the simulation profile exhibits a local minimum not present in the observations. The density profile along a vertical cut through the EDR has a double peak with the peaks appearing just upstream of the X-line at the turning points of the meandering motion <ref type="bibr">62</ref> . If our virtual trajectory began closer to, but still below, the central current sheet and sloped gently downward, the density profile would gradually increase as in the observations. However, the qualitative agreement between the fields and flows just described would su&#8629;er. We choose to keep this trajectory because of the importance of B and V e to reconnection. We will revisit this issue when comparing entropy in the next section.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C. Kinetic Entropy: Application</head><p>We now compare observations and simulation results of kinetic entropy parameters along the satellite trajectory to a) determine if local kinetic entropy measurements in a large, open system can be interpreted in a similar manner to those of a closed system and b) draw a link between kinetic entropy and the dissipation processes of reconnection. Figure <ref type="figure">5</ref> again shows the virtual satellite trajectory through the simulation domain during the gold highlighted interval, as well as a 2D snapshot of M from Eq. 12. We then plot total and velocity-space entropy densities s and s V along with their associated Maxwellianized values s M and s M,V , (a) EDR encounter. MMS observations are shown over an extended region to provide context and comparison to previous results (see text). The gold rectangle highlights the EDR and region of overlap with simulation. Comparisons are made between (a,b) electron density, (c,d) electron temperature anisotropy, (e,f) magnetic field, (g,h) electron bulk velocity, (i-n) electric field in the spacecraft and electron rest frame, (o,p) total and M-component of the rate of energy conversion between the electric field and the electrons. Simulation data is shown in real units (right-axis) on the same scale as MMS observations with the exception of panel (p), which is much smaller in magnitude. Overall, observations and simulations are in qualitative agreement.</p><p>and the non-Maxwellianity measures M and MKP from both MMS (left) and the simulation (right) in the same format as Figure <ref type="figure">4</ref>. We note that s and s M do not have real units on the right-axis because the units are not physical <ref type="bibr">22</ref> . From 22:34:00-1.95 (the left-edge of the gold box), MMS3 made a brief excursion into the inflow region <ref type="bibr">39</ref> where entropy reaches a maximum during the separatrix crossing and a minimum at the furthest excursion. During the same interval, the non-Maxwellianity peaks in the inflow region, a characteristic that has been noted in previous simulations of reconnection <ref type="bibr">31</ref> . That non-Maxwellianity peaks outside of the regions where energy is being dissipated will be discussed below in the context of the electron distribution functions.</p><p>As MMS3 enters into the EDR (the gold box), passes southward of the X-line, and exits into the tailward exhaust, entropy density gradually increases in the observations; however, in the simulation, entropy density has a U-shaped profile with a minimum below the EDR.</p><p>As expected from Eq. 9, these traces have the same overall structure as the density profiles in Figure <ref type="figure">4a</ref>,i.</p><p>The non-Maxwellianity measure MKP (Eq. 11, Fig. <ref type="figure">5d</ref>,<ref type="figure">g</ref>) is computed using both s (Eq. 7, blue) and s V (Eq. 15, green). The reason MKP,s,e is negative will be explained in &#167;V. In contrast, the electron Kaufmann and Paterson non-Maxwellianity MKP,s V ,e using the velocity space entropy density s V is always positive, consistent with theoretical constraints.</p><p>The other non-Maxwellianity measure M (Fig. <ref type="figure">4d</ref>,g, orange) is computed using the appropriate version of Eq. 12 for MMS and the simulation. It is smaller in magnitude than MKP because its normalization term s V ensures that M is bounded to the range [0,1] for a properly defined velocity space grid <ref type="bibr">24</ref> . When comparing observations to simulations, both M and MKP have similar shapes within the EDR despite the fact that s and s V are di&#8629;erent. In addition, both values of M are more similar in magnitude than the values of MKP .</p><p>This implies that the local measure of kinetic entropy density s V as measured in the closed simulation can be interpreted in the same manner as it is in the large, open magnetotail system by MMS.</p><p>Now we relate kinetic entropy measurements to various kinetic processes that occur dur- virtual satellite trajectory through the EDR, representative magnetic field lines, and the location of the EDR distribution in panel o, marked by an "x". (b,f) Total and (c,g) velocity space kinetic entropy density for the measured (orange) and Maxwellianized (blue) distributions. (d,h) Kaufmann and Paterson non-Maxwellianity MKP using total (blue) and velocity space (green) entropy density. (e,i) Velocity space non-Maxwellianity M (orange). For (b)-(i), MMS data is in the left column and simulation data is in the right column. (j,m) Upstream, (k,n) inflow, and (l,o) EDR electron distribution functions from MMS3 (j-l) and the PIC simulation (m-o).</p><p>ing reconnection by examining the electron distribution functions in the MMS data (Fig. <ref type="figure">5j-l</ref>) and the PIC simulation (Fig. <ref type="figure">5m-o</ref>) at the times and locations indicated by vertical dashed lines in Figures 5b-i and by the "x" in the EDR of Figure <ref type="figure">5a</ref>. The simulated distributions are on a di&#8629;erent scale; as noted, multiplying the axes by p m i /m e &#8673;4.3 will give the proper ranges for a real mass ratio simulation. The two simulated distributions corresponding to the MMS observations outside the EDR were taken from representative upstream locations in the simulation. The first distribution (Fig. <ref type="figure">5j</ref>,<ref type="figure">m</ref>) is taken from the Earthward exhaust after the electrons have re-magnetized and become mostly Maxwellian. The second distribution (Fig. <ref type="figure">5k</ref>,<ref type="figure">n</ref>) is from the inflow region where parallel potential structures generate a temperature anisotropy <ref type="bibr">63,</ref><ref type="bibr">64</ref> . Here s V is lower, but the non-Maxwellianity is relatively large.</p><p>The third distribution (Fig. <ref type="figure">5l</ref>,<ref type="figure">o</ref>) is from the heart of the EDR where meandering motion in the current sheet creates crescents and striations <ref type="bibr">34,</ref><ref type="bibr">36,</ref><ref type="bibr">39</ref> . Here, the non-Maxwellianity is intermediate between the inflow and Maxwellian distributions. That regions of elevated non-Maxwellianity in the MMS observations can be related to kinetic processes during reconnection is consistent with previous numerical simulations <ref type="bibr">31</ref> and motivates the utility of the entropy-based non-Maxwellianity measure as an indicator of kinetic-scale energy conversion and dissipation processes that occur during reconnection.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>V. INFORMATION LOSS</head><p>The di&#8629;erences in non-Maxwellianity measures demonstrated in Figure <ref type="figure">5</ref> come about because of subtle di&#8629;erences in the combinatorial and semi-continuous forms of entropy derived in &#167; II. In the combinatorial form of entropy, we break up phase space into bins of size 3 r 3 v and count the number of arrangements of particles within each bin. There is a direct relationship between the number of particles and the grid scale that becomes apparent when the bins become too small and Stirling's approximation is no longer valid. In the semicontinuous form of entropy, we coarse-grain phase space and represent the system of particles with a distribution function, tacitly assuming that our choice of grid sizes is appropriate and that the statistics in each cell are su cient. In practice, however, there is no way to ensure this assumption holds for every distribution of particles that we encounter. As a result of the assumption, we lose the connection between the distribution function, the grid size, and the actual number of particles within each bin. Two important consequences are that 1) the definition of total entropy density s defined in Eq. 7 lacks information connecting the grid scale 3 v to the number density n of particles within each cell and 2) the total Maxwellian entropy density, s M defined in Eq. 9, lacks information connecting the grid scale 3 v to the thermal velocity of the distribution v th = p 2k B T /m. This missing information results in unphysical values for MKP in Figure <ref type="figure">5d</ref>. The definition of s V adds that information back in, as represented by the n(r)/ 3 v in the first term of Eq. 6, and by the v 2 th /( 3 v) 2/3 factor in the result for s M,V (Eq. 10). As a result, MKP,s V is positive definite. The dependence on 3 v serves to regularize MKP to give M and is present in the denominator of Eq. 13 that relates the two non-Maxwellianity measures <ref type="bibr">24</ref> . We interpret the denominator as the amount of "information" lost when a grid scale is imposed on velocity space, and we investigate it further here.</p><p>As a demonstration of the e&#8629;ect of the course-grained, non-uniform velocity-space grid on the distribution function, we return to the discussion of why MKP,s,e &lt; 0 within the EDR but MKP,s V ,e is always positive (shown again in Fig <ref type="figure">6f</ref>,<ref type="figure">g</ref>). Looking at the final term of s V in Eq. 15, we see a correction due to the non-uniformity of the velocity-space grid. This means that, in the computation of s (Eq. 7), non-Maxwellian structures in the EDR are weighted more heavily by the non-uniform velocity space bins than the associated populations in the Maxwellianized distribution. By including the correction term, MKP,s V ,e &gt; 0 throughout the interval, as it should be on theoretical grounds.</p><p>To quantify the information loss as a result of discretizing velocity space, we write the expressions for M for the MMS and simulation equations in the form</p><p>where B cg is a bias and R is a regularization factor that arise from course graining velocity space; in the simulations with a uniform velocity-space grid, B cg = 0. Figure <ref type="figure">6</ref> shows the information loss for the MMS data (Eq. 17), which has non-uniform velocity-space bins.</p><p>The first two MMS panels (a,b) show s and s V for the measured and associated Maxwellian distributions for context. Panels (c-e) plot B cg , R, and RB cg , and panels (f-h) contain MKP (Eq. 11) and M (Eqs. 16 and 17) to facilitate understanding where the information loss leads to issues in the calculated values of non-Maxwellianity.</p><p>The bias term B cg significantly departs from 0 within the EDR; this is also where MKP &lt; 0. For comparison, M &gt; 0 in the same region. The reason is that the correction for non- uniform velocity-space grid in s V propagates into B cg . Given that</p><p>and noting that the density of the observed and Maxwellianized distributions are the same, it is the ln [d 3 v(v)] factor that weighs the measured non-Maxwellian distribution structures present in the EDR more heavily than the associated populations in the Maxwellianized distribution. By correcting for the non-uniform velocity-space grid, B cg makes M &gt; 0.</p><p>The regularization term R serves to scale MKP into the range [0, 1] so that M is normalized for an appropriate velocity-space grid size <ref type="bibr">24</ref> (Fig. <ref type="figure">6g</ref>). From Equation <ref type="formula">17</ref>, the regularization term R MMS for MMS observations is</p><p>which contains the natural log of the thermal velocity v th = p 2k B T /m and the Maxwellianized distribution weighted by the natural log of the bin volume. When</p><p>we recover the regularization factor for a uniform velocity-space grid (Eq. 13, &#167;II):</p><p>The simulation regularization factor is plotted in Figure <ref type="figure">7a</ref> as a function of distance along the virtual spacecraft trajectory. As seen in Figure <ref type="figure">5g</ref>, M is normalized in the simulations such that its magnitude is similar to the observations. Together, R and B cg represent the amount of information lost by coarse-graining velocity space. B cg depends only on the uniformity of the velocity-space grid, while R additionally depends on the relative size of the velocity-space grid scale and the thermal speed <ref type="bibr">22,</ref><ref type="bibr">24</ref> .</p><p>Consequently, it can be di&#8629;erent for ions than for electrons. This has implications for satellite missions like MMS that study dissipation processes, as discussed further in the next section.</p><p>To better understand the dependence of information loss on velocity-space bin size and the plasma environment being sampled, Figure <ref type="figure">7b</ref> shows contours of R Sim ( v, v th ) on a loglog scale. Information loss is minimized when MKP = M , or when R Sim = 1 (green line); it occurs where v = p &#8673;v th and will be discussed in greater detail in the sections that follow.</p><p>When v &#8999; p &#8673;v th , the distribution is over-resolved and there are too few particles per bin. When v p &#8673;v th , the distribution is under-resolved and important structures can be lost. In both of these limits, R ! 0 to compensate for MKP ! 1 <ref type="bibr">24</ref> . Another critical point is v = p &#8673;ev th . There, R ! &#177;1 indicating that M ! &#177;1 while MKP remains finite. This is because the choice of grid scale makes s M,V ! 0 such that the observed distribution appears to be infinitely far from equilibrium. current sheet populations, respectively, for our simulation. Data for ions and electrons are shown in blue and red, respectively. Diamond data points show the logarithmically-spaced velocity space bins used in MMS instruments.</p><p>In the PIC simulation presented here, the way we choose our velocity space grid-scale is described in &#167;III C. The black dashed line represents the approximate ideal velocity-space grid size from Liang et al. <ref type="bibr">22</ref> The dashed lines are the optimal velocity-space ion (blue) and electron (red) grid sizes for the background (dotted) and current sheet (solid line)</p><p>populations used in this study. The di&#8629;erence between these lines and the line R Sim = 1 is discussed below. Because the bin spacing is uniform, the grid scale falls on a line of constant R Sim .</p><p>For comparison, the MMS ion (blue) and electron (red) velocity-space bin sizes are shown in diamonds for the average thermal velocity (hv th,i i = 973 km/s and hv th,e i = 14, 997 km/s with hT i i = 4943 eV and hT e i = 638 eV) within the EDR. Because of the non-uniform grid spacing, each bin su&#8629;ers from a di&#8629;erent amount of information loss. The ion bin sizes are somewhat evenly spaced around R sim = 1 and overlap with the ideal simulation grid sizes. The smallest bins overlap with the optimal velocity-space grid size in the simulations but correspond to energy channels far below the bulk ion energy (Fig. <ref type="figure">1b</ref>). Meanwhile, the majority of electron bins over-resolve the distribution and none reach the line of R Sim = 1.</p><p>The highest energy bins overlap with the optimized simulation bin sizes, but these correspond to the highest energy channels and extend beyond the upper edge of the energy distribution (Fig. <ref type="figure">1b</ref>). This means that MMS measurements su&#8629;er from information loss for both ions and electrons due to its non-uniformly spaced velocity-space grid and because the velocityspace bins that overlap with the energy spectra of the plasma are either too large or too small, so that they under-or over-resolve the distribution function.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>VI. DISCUSSION</head><p>Entropy in a closed, isolated system never decreases, so it can be thought of in terms of a system's approach to equilibrium via the possible dissipation of energy and the irreversibility of the processes acting within it. A simulation with periodic boundary conditions is a closed system, so this interpretation can be directly applied to the simulated process -magnetic reconnection in our case. However, natural systems are open. In Earth's magnetotail, at the smallest scales, the electron di&#8629;usion region receives energy from the upstream inflow region, and at the largest scale the magnetotail itself receives energy from the solar wind and ionosphere. In such cases, a measurement of entropy can no longer be interpreted in terms of the Second Law. This has led us to investigate local measures of entropy to determine if such quantities in closed systems can be used to help interpret measurements in open systems.</p><p>A local measure of entropy is also beneficial because spacecraft are unable to sample all of the accessible position space of a system, but particle detectors are designed to sample all of velocity space. Instead of considering the macroscopic evolution of entropy as a system approaches equilibrium, we consider how close the local distribution of plasma is to equilibrium by comparing it to its Maxwellianized distribution. As we have seen, the parallel potential in the inflow region and the reconnection electric field in the EDR both do work to organize the distribution, reducing the number of available arrangements and producing lowentropy, high non-Maxwellianity states (see also Liang et al. <ref type="bibr">24</ref> ). non-Maxwellianity indicates the degree to which a distribution is organized and, therefore, can be used to identify regions where dissipation processes take place, like the EDR. Recent work has shown a connection between structures in the distribution and the Vlasov equation <ref type="bibr">65</ref> and could lead to deeper insights into non-Maxwellianity.</p><p>Information loss arises from discretizing velocity space and can be enhanced when the bin size is not uniform. The non-uniform velocity-space grid used by FPI weights accelerated, non-gyrotropic structures in the distribution function more heavily than their associated Maxwellianized populations. As a result, a bias correction term appears in M . This bias is not present when velocity bins are uniformly spaced. Additional information loss occurs if the velocity-space bin size is not chosen properly with respect to the thermal velocity of the plasma. This loss is enhanced with non-uniformly spaced bins and is di&#8629;erent for ions and electrons. For ion and electron distributions of the same shape to have the same value of velocity space kinetic entropy, s V,e = s V,i , requires v th,e / v e = v th,i / v i . A result of information loss is that dissipation processes cannot be accurately measured <ref type="bibr">22</ref> , and the reversibility of dissipation processes cannot be determined. With regard to MMS, an analysis of the generalized Ohm's law during magnetopause reconnection revealed an unmeasured, residual amount of dissipated energy that was unaccounted for <ref type="bibr">32</ref> . Preliminary analysis shows an intriguing similarity between information loss and this residue term.</p><p>Information loss is minimized if MKP = M . This occurs most simply when the velocity space grid is uniform, making B cs = 0 and reducing the regularization term R MMS (Eq. 29) to R Sim (Eq. 30); and when the R Sim is unity, i.e., when v = p &#8673;v th &#8673; 1.77v th . This suggests that the ideal bin size is slightly larger than the thermal velocity; however, simulations found best agreement with theoretical values when the bin size was v ' 0.69v th <ref type="bibr">22</ref> . The discrepancy here is likely related to particle noise in PIC simulations, as higher numbers of particles per grid (&gt; 100) would lead to better statistics at high speeds.</p><p>The contour where v = p &#8673;v th is associated with interesting characteristics of s V and s M,V . If v is proportional to p T , as it is when v = p &#8673;v th , then the Maxwellian velocityspace entropy density, s M,V in Eq. 10, is independent of temperature. If v = p &#8673;v th exactly, then s M,V = 3 2 k B n = c V n, meaning s M,V is proportional to the amount of energy required to raise the temperature of an ideal gas in thermal equilibrium by one degree. Because there is no free energy in either the initial or final equilibrium states, the external work used to increase the temperature contributes directly to increasing the entropy. For this particularly chosen grid scale, we see that MKP = (s M s)/s M,V , which is similar in form to M (Eq. 12) and implies that s M s = s M,V s V . Finally, v = p &#8673;v th is the point where the logarithm in R Sim transitions from positive to negative, which is a more intuitive point for indicating that the distribution is over-or under-resolved.</p><p>Considerations for minimizing information loss have clear implications for the design of particle instruments. In a simplified model, an electrostatic analyzer can be thought of as a curved parallel plate capacitor. The voltage on each plate selects the range and center energies E k of the energy bins while the curvature of and separation between the plates determines the range of energies E k of the particles that can pass through the capacitor.</p><p>For a given configuration, E k /E k is constant, meaning E k increases with energy. An aperture can then be placed on the capacitor to limit the overall amount of flux into the device, thereby determining the instrument's geometric factor. A lot of care goes into deciding the requirements on E k , E k , and the geometric factor, but ultimately the choice imposes a grid scale and count rate on the measured particle distribution. This means that information loss is inherent to all measurements and that new design considerations need to be taken into account to minimize it. The way to minimize it is to ensure that the velocity space bin sizes, v k = E k / p 2mE k , does not greatly over-or under-resolve the thermal velocity in the range of energies present in the energy distribution.</p><p>Other measures of non-Maxwellianity, including enstrophy 15 , the Greco &#9999; parameter 14 , and the Graham &#9999; parameter 26</p><p>are not entropy-based and may not su&#8629;er as heavily from information loss as MKP. One reason is that the ln[f (v)] term in s enhances subtle variation in the distribution, similar to how the powers of v a&#8629;ect higher-order moments. Unfortunately, these other non-Maxwellian parameters are all defined to be positive, meaning that unphysical negative values, like those shown in Figure <ref type="figure">5</ref> for MKP , are masked. While the &#8998; and &#9999; non-Maxwellianity parameters are not entropy-based, there are approaches to calculating kinetic entropy in simulations beyond what were described in this paper (Jara-Almonte and Ji 27 , and references therein).</p><p>More work is needed to quantify non-Maxwellianity and information loss using those approaches.</p><p>While reconnection transfers energy from the fields to the plasma, it is not clear if there is an exchange of entropy between the particles and the electromagnetic fields. The fact that the reversibility of reconnection depends on the strength of the guide field <ref type="bibr">28,</ref><ref type="bibr">29</ref> suggests that changes in entropy are due solely to plasma dynamics. In a closed, collisionless system (such as the simulation performed in this study) entropy is a conserved quantity; however, simulations have shown that both total energy and kinetic entropy are conserved to within numerical precision <ref type="bibr">22</ref> , meaning that while electromagnetic energy is converted entirely into particle kinetic energy, there is no similar exchange in entropy between the fields and the plasma. Interestingly, as we showed in Figure <ref type="figure">5</ref>, plasma entropy is a local minimum in the EDR where structured distributions are found and electromagnetic energy is being dissipated. This suggests that the electromagnetic fields do work to organize the inflowing distribution (lowering the entropy) and that downstream processes thermalize it (increasing entropy). But are the electromagnetic fields simply a reservoir of energy or do they also exchange entropy? If plasma entropy is related to order and disorder, then similar considerations for the fields might suggest that waves and turbulence increase electromagnetic entropy. There exists a statistical description of radiation entropy that develops a quantity similar to M as the deviation of the observed radiation from an ideal black body 66 , a Boltzmann H-theorem for classical wave modes that can be applied to waves often present during reconnection <ref type="bibr">67</ref> , and a formulation of the Second Law to describe an ensemble of turbulent eddies <ref type="bibr">68</ref> . More work is needed to determine how such theories influence the evolution of kinetic entropy. This is relevant to both laboratory experiments like PHASMA <ref type="bibr">69</ref> which directly measure distribution functions non-perturbatively and future space missions like</p><p>HelioSwarm <ref type="bibr">70</ref> that study turbulent processes leading to dissipation.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>VII. SUMMARY</head><p>In this study, we examine kinetic entropy associated with dissipation processes occurring within a magnetotail electron di&#8629;usion region using both in-situ observations and a PIC simulation. We generalize the theory of kinetic entropy <ref type="bibr">22,</ref><ref type="bibr">42</ref> to the case of non-uniform velocity space bins and transform them to spherical energy coordinates for application to experimental datasets. In doing so, we implement a Maxwellian look-up table to reduce numerical errors between the observed distribution and its associated Maxweillian. The theory is then applied to MMS observations of a magnetotail EDR and compared to the kinetic entropy density and non-Maxwellianity from a PIC simulation of the observed event.</p><p>Good agreement between observations and simulations indicates that the insights gained from local kinetic entropy density and non-Maxwellianity measures in numerical simulations in a closed domain can be useful when interpreting observations in a naturally occurring open system.</p><p>We demonstrate that kinetic entropy density s leads to a non-Maxwellianity measure MKP that is not positive definite, as it should be on physical grounds, because it is biased by the non-uniform velocity-space grid of MMS that weighs non-Maxwellian structures more heavily than their associated Maxwellianized structures. A similar issue is likely to be happening in previous observational studies using the quadratic non-Maxwellianity &#9999; measure <ref type="bibr">14,</ref><ref type="bibr">15,</ref><ref type="bibr">26,</ref><ref type="bibr">71</ref> .</p><p>The velocity-space kinetic entropy s V corrects for the non-uniform grid and results in a non-Maxwellianity measure MKP,s V that is positive definite, as it should be on theoretical grounds. We quantify the reason that s leads to unphysical results while s V does not by introducing "information loss"; s lacks information connecting the grid scale to the number of particles within each cell. This information is contained in s V and serves to regularize MKP so that the resulting M is bounded. We show that M is capable of identifying non-Maxwellian distributions indicative of kinetic e&#8629;ects and dissipation processes that occur during reconnection.</p><p>The new concept of "information loss" is captured by two quantities, R and B cg , that measure the extent to which the choice of velocity space grids a&#8629;ects measurements of kinetic entropy. We show that to minimize information loss, the velocity space grid scale needs to be chosen so that the thermal velocity of the plasma is not over-or under-resolved.</p><p>This involves having a uniform velocity space grid with v &#8673; p &#8673;v th . Unfortunately for experimental particle detectors, a uniform velocity space grid is not possible; however, the energy resolution of the instrument E k /E k can be optimized to minimize information loss by having v k = E k / p 2mE k adequately resolve v th within the energy range of the energy distribution. Thus, entropy and information loss are important considerations for satellite instrument development.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>VIII. SUPPLEMENTARY MATERIAL</head><p>The Supplementary Material contains more complete derivations of the kinetic entropy and other parameters derived and discussed in this work. This includes the alternate derivation of Eq. 2 described in &#167;II A, the velocity-space kinetic entropy density, s V , for both uniformly and non-uniformly spaced velocity-space grids (Eqs. 6 and 15), the condition for equal entropy for ions and electrons discussed in &#167;VI, an alternate derivation of the relationship between M and MKP (Eq. 13), and M for the case of non-uniform velocity space bins. It also contains transformations from (v x , v y , v z ) to ( , &#10003;, v), ( , &#10003;, E), and ( , &#10003;, U ) for f M , s, s V , M , as well as the density, velocity, and temperature moments of the distribution.</p><p>Finally, it contains tables of the calculated moments and entropy parameters for a model, measured, and Maxwellianized distribution to serve as an demonstration of the numerical errors described in &#167;IV A.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>IX. DATA AVAILABILITY</head><p>MMS data is publicly available at the MMS science data center (<ref type="url">https://lasp.   colorado.edu/mms/sdc/public/</ref>) <ref type="bibr">72</ref> . MMS data was processed and visualized with the help of the PyMMS Python library <ref type="bibr">73,</ref><ref type="bibr">74</ref> Simulation data used in this manuscript is available on Zenodo (<ref type="url">https://doi.org/10.5281/zenodo.5807744</ref>) <ref type="bibr">75</ref> .</p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_0"><p>Scientific Research Society URL: https://www.americanscientist.org/article/reconnecting-</p></note>
		</body>
		</text>
</TEI>
