Fast Computational Convolution Methods For Extended Source Effects In Microlensing Lightcurves
Hans J. Witt, F. Atrio-Barandela

TL;DR
This paper introduces fast convolution-based algorithms for calculating microlensing light curves involving extended sources, enabling real-time analysis of large datasets to study stellar profiles and limb darkening.
Contribution
It develops a general formalism and analytic solutions for efficient computation of microlensing light curves with extended sources, including novel profiles like parabolic.
Findings
Analytic solutions achieve 0.5-3% accuracy.
Algorithms are significantly faster than existing routines.
Applicable to large-scale microlensing data analysis.
Abstract
Extended source effects can be seen in gravitational lensing events when sources cross critical lines. Those events probe the stellar intensity profile and could be used to measure limb darkening coefficients to test stellar model predictions. A data base of accurately measured stellar profiles will be needed to correctly subtract the stellar flux in planetary transient events. The amount of data that is being and will be produced in current and future microlensing surveys, from the space and the ground, requires algorithms that can quickly compute light curves for different source-lens configurations. Based on the convolution method we describe a general formalism to compute those curves for single lenses. We develop approximations in terms of quadratures of elliptic integrals that we integrate by solving the associated first order differential equations. We construct analytic…
| 692583091200 | 1385166182400 | 400313026713600 | 400313026713600 | 144513002643609600 | 144513002643609600 | |
| 1339448033263 | 3894814720117 | -104737154144542 | 586396203521047 | -41601097496530466 | 129881415373196381 | |
| 312948159897 | 243184124641 | 118605243978153 | 130620128454965 | 25747524261728378 | 302061597305296826 | |
| 72606018032 | 41938764464 | -12149180921700 | 2732363448097 | 16403635906248033 | 17159057255113677 | |
| 502361257 | 252468377 | 19577824287 | 233199164080 | -760401005566596 | -717449096541348 | |
| 4109895 | 1997995 | 5187655332 | 840367513 | 683702230503 | 569981448915 | |
| 79511 | 41279 | 7438983 | 4461547 | 29226547953 | 87184849284 | |
| 835 | 527 | 111191 | 66815 | 120111823 | 82551251 | |
| 308 | 308 | 963 | 655 | 1392911 | 931319 | |
| 308 | 308 | 1107 | 799 | |||
| 308 | 308 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Fast Computational Convolution Methods For Extended Source
Effects In Microlensing Lightcurves.
Hans J. Witt11affiliation: Im Hollergrund 76, 28357 Bremen, Germany; [email protected] , F. Atrio-Barandela22affiliation: Física Teórica, Universidad de Salamanca, 37008 Salamanca, Spain; [email protected]
Abstract
Extended source effects can be seen in gravitational lensing events when sources cross critical lines. Those events probe the stellar intensity profile and could be used to measure limb darkening coefficients to test stellar model predictions. A data base of accurately measured stellar profiles will be needed to correctly subtract the stellar flux in planetary transient events. The amount of data that is being and will be produced in current and future microlensing surveys, from the space and the ground, requires algorithms that can quickly compute light curves for different source-lens configurations. Based on the convolution method we describe a general formalism to compute those curves for single lenses. We develop approximations in terms of quadratures of elliptic integrals that we integrate by solving the associated first order differential equations. We construct analytic solutions for a limb darkening and, for the first time, for a parabolic profile that are accurate at the and level, respectively. These solutions can be computed orders of magnitude faster than other integration routines. They can be implemented in pipelines processing large data sets to extract stellar parameters in real time.
Subject headings:
Gravitational lensing: micro - Gravitational lensing: strong - Stars: fundamental parameters
1. Introduction
Limb darkening is the variation of the specific intensity of a star from its center to its limb. The main probes of the effect in distant stars have been the light curves of eclipsing-binary systems (see Zola et al. 2015). Optical interferometry has allowed direct imaging of those few stars whose angular diameter could be resolved (Hestroffer, 2001; Aufdenberg, Ludwig & Kervella, 2005). Exoplanetary transits are potentially very useful to determine stellar profiles although empirical values derived from data show poor agreement with atmospheric models (Howarth, 2011). Equally relevant is that these transits provide accurate measurements of exoplanet properties. To study the atmosphere of transiting planets accurate limb-darkening stellar models are needed to correctly subtract the stellar flux (, Morello et al.2017). Therefore, different and independent data of the limb-darkening effect are required to correctly determine the properties of planetary atmospheres and to test stellar models. Microlensing has become a powerful observational tool with different astrophysical applications since the observation of the first event (Mao, 2012). In particular, gravitational lensing is sensitive to the effect of limb darkening (Witt, 1995). Extended source effects can be seen when the source crosses a caustic; the parameters of the star intensity profile can be measured from these events and can be compared with the predictions of stellar models. They were first seen in high magnification single-lens events (Alcock et al., 1997; Jiang et al., 2004; Fouqué et al., 2010; , Zub, Cassan, Heyrovský et al.2011). These events, although rare, are important as they provide a way to measure the lens mass (An et al., 2002; Jiang et al., 2004). Albrow, Beaulieu, Caldwell et al. (1999) were the first to determine the limb-darkening coefficients of a K giant star using microlensing, the first ever for a star in the Galactic bulge. Afonso et al. (2000) measured the limb-darkening coefficients for a metal-poor A star, in five bands from I to V, in a binary lens event. Sources crossing caustic lines in the lens plane are more common in multiple lens systems and extended effects could be more easily seen (Afonso et al., 2000; Albrow, An, Beaulieu et al., 2001; Choi et al., 2012; Chung et al., 2017; , Han, Jung & Udalski2018). Satellite observations like Spitzer offer a different line of sight than ground telescopes. In Chung et al. (2017), the center of the source passed very close to the projected position of the lens as seen by Spitzer and the size of the star could be measured from a single point, although no extended source effects were seen from Earth. Like in transient events, the profile coefficients of stars measured by gravitational lensing are not always in agreement with theoretical expectations (Fouqué et al., 2010). The understanding of radiative transfer models needs to be improved to fit microlensing observations (Cassan et al., 2006), demonstrating the need for additional data.
The effect of the source extension on the magnification pattern can be readily computed by convolving the source profile with the gravitational amplification of a point source since the magnification of different sources are additive for a given lens. Early calculations were centered on constant profiles (Gould, 1994; Witt & Mao, 1994). Convolution with an extended source was usually applied in the vicinity of a single caustic (e.g. Schneider & Weiss 1987) to compute the shape of the light curve. Deconvolution has been used to recover the profile of the lensed source (, Grieger, Kayser & Schramm1991). Although convolution was also applied to compute gravitational magnifications (Witt, Mao & Schechter, 1995), no account to the numerical method was given. In the near future we can expect a significant increment in data and fast methods to obtain light-curves will be needed. Facilities like the future Wide Field Infrared Survey Telescope (WFIRST) satellite, currently under construction, will devote a significant fraction of its observing time to the Galactic bulge, with a detection of microlensing events being expected (Spergel et. al, 2015; Gaudi, Akeson, Anderson et al., 2019). The ESA Euclid satellite is also capable of high cadence observations on a wide field of view, and in two colors, and it will also be a useful instrument for microlensing. Being at a different L2 location than WFIRST, events that are simultaneously observed by both satellites, and possibly also from the ground, will be measured from different lines of sight, facilitating the detection of extended source effects and allowing the lens mass to be estimated directly from the data (Penny, Bachelet, Johnson et al., 2019). The photometric error of the WFIRST W149 filter would be mag per exposure for a ABmag star (Penny,Gaudi, Kerins et al., 2019), comparable or better than observations from the ground. Processing those forthcoming data sets would require algorithms that can obtain light curves of lensing events with an accuracy of mag or better. This is most efficiently done using analytic expressions instead of light curves by numerical methods.
In this article we show that convolution offers a novel technique to compute very efficiently extended source effects for single point-mass lenses. It is an exact and computationally less expensive method than integration of the image contour described in Witt & Mao (1994) and Gould & Gaucherel (1997). Our approximations are more general than those used in (Yoo, DePoy, Gal-Yam et al.2004) and Chung et al. (2017), are faster than currently available methods and can be easily implemented in data analysis pipelines for the forthcoming data sets. Briefly, in §2 we summarize the basic formalism and we present the convolution method used to derive analytic solutions; we also introduce the models of stellar limb-darkening that will be considered in the article. In §3 we present our estimates for single lens events, in terms of simple quadratures, that can be applied to any source profile. In §4 we compute the exact analytic expressions for a constant intensity profile and in §5 we derive approximations for a parabolic and limb-darkening profiles that are accurate at the level of mag and mag, respectively. These analytic formulae can not be generalized to binary or multiple lens system and an analysis of these cases will be given elsewhere. Finally in §6 we summarize our results and present our conclusions.
2. Basic Results and Source Profiles
A full account of the theory of lensing can be found in (Schneider, Ehlers & Falco1992). The lens equation for point masses is more easily solved if expressed in terms of complex quantities (Witt, 1990). Let denote the (complex) position of a point source in the -source plane, its image in the -lens plane and the positions of a field of point mass stars of mass also in the lens plane. For this configuration, the lens equation is given by
[TABLE]
where is the complex conjugate of . The quantities and are in units of the Einstein radius of the deflector/lens plane and source plane, respectively, and stellar masses can be expressed in units of the total mass so that . The normalized (Einstein) units are given by
[TABLE]
where , , are the distances to the lens, the source and the distance between the lens and the source, respectively. The solutions of eq. (1) are the image positions for each source position .
In this article we will express the stellar radii in units of the Einstein radius of the lens-source system. A star in the bulge of physical radius will have a radius in the source plane
[TABLE]
with the solar radius. The fiducial value is characteristic of C-rich giant stars (, Paladini, van Belle, Aringer et al.2011, van Belle, Paladini, Aringer et al.2013) so stellar radii of bulge stars will typically be in the range .
The effect of gravitational lensing on a background source is to magnify its intensity. A field of point-mass lenses in the deflector plane will produce images of a given point source located at position in the source plane. The magnification of one image located at is given by
[TABLE]
The total magnification of the background source is the sum of the absolute magnification of each image,
[TABLE]
Images and total magnification can be computed for each source location so the relative motion of the lens and source will produce a magnification pattern over the whole source plane area.
From eq. (5) it follows that the magnification of an arbitrary number of sources by the same set of lenses is additive. Once the magnification of a point-like star, , is known the magnification pattern for an extended star can be derived by convolving the point-like pattern with the extended source profile. If the center of a background star of radius is located at then its magnification is
[TABLE]
where is the source profile. If the source is not lensed, then the magnification pattern will be everywhere and the magnification will remain unchanged for any source profile. Then, it follows the normalization condition
[TABLE]
valid for any profile .
2.1. The Conservation of Magnification
Fubini theorem guarantees that the magnification is conserved, irrespectively of the source profile. The theorem states that the volume enclosed by the convolved function is equal to the product of the single volume enclosed by the two functions provided the integral exists. Although the volume enclosed by the magnification is infinite, the volume enclosed by is finite. The integral in eq.(6) remains valid if we replace by since the total magnification is everywhere (cf. Schneider 1984). We can write
[TABLE]
where the identity follows from Fubini theorem and is valid for a field of point-like lenses. From the normalization condition given in eq. (7) it follows that the enclosed volume above does not change for arbitrary source profiles and is equal to that of a point-like source, and then, finite. Then eq. (8) provides a self-consistency check to verify the accuracy of the estimated amplification for any source profile.
We can solve eq. (8) for simple cases. Let denote the separation of the center of source to the projected position of the lens, in the source plane. For a single point mass lens, the magnification is (Refsdal, 1964)
[TABLE]
Introducing polar coordinates in eq. (8) by defining we obtain
[TABLE]
For more complicated lens configurations, eq. (8) can not be solved analytically. For instance, the light curve of a close binary is very different from that of single lens located at the same distance. The differences are largest when the distance from the center of the source to the lens, , is of the same order of magnitude or smaller than the projected separation of the binary lens . On the contrary, when the magnification pattern is that of a single lens. We solved eq. (8) for several binary configurations and carry out the integration from the center of mass of the binary to a distance ten times the maximum of the binary lens separation and the radius of the source star: . Our numerical estimates showed that, as expected, the enclosed volume of the magnification remains constant and depends only on the total mass of the system. We obtained
[TABLE]
where and are the masses of the binaries in arbitrary units. If we express the mass of each component in units of the total mass of the system, then again. We conjecture that for a general lensed point mass system the volume of the magnification pattern will always depend on the total mass of the system .
2.2. Signed Magnification
A direct consequence of the convolution integral for lens models (eq. 6) is that in certain areas where the sum of signed magnification for point sources is constant the relation is the same for extended sources. Let us assume that we have a caustic network with an area
[TABLE]
where is the magnification of the image of positive parity and the magnification of the image of negative parity. By applying eq.(6), for an extended source we can write
[TABLE]
since we may exchange the integral and sum of each magnification. In particular for a single point mass lens we have everywhere and for a binary lens we have inside the caustic(s) (see Witt & Mao 1995, Witt & Mao 2000, Hunter & Evans 2001). Let be the area of the lensed image of positive parity and the area of the lensed image of negative parity. For the single point mass and for the binary lens if the area of the source is located inside the caustic, it follows that
[TABLE]
When computing light curves for extended sources by a contour method (cf. Gould & Gaucherel 1997), this equation provides a useful check on the accuracy of the numerical integration over the extended sources. Alternatively, it can be used to reduce the integration on the images of positive parity since this would be sufficient to obtain the total magnification.
2.3. Source Profiles
The intensity of a star can be very well modeled with a general limb-darkening profile of the form (e.g. Allen 1973, Claret, Díaz-Cordovés & Giménez1995)
[TABLE]
The coefficients and depend on the observed (wavelength) band of the star and may differ quite strongly (for instance, see Fouqué et al. 2010). Those quantities are not independent; assuming that the intensity profile (eq. 15) is everywhere positive and monotonically decreasing from the center to the limb, these coefficients verify , and (Kipping, 2013). The source profile normalized according to eq. (7) is
[TABLE]
with
[TABLE]
where each of these three profiles obeys individually the normalization condition of eq. (7). In the following sections we will use these profiles to illustrate our analysis.
3. The single point mass lens
For a single point mass lens, the magnification depends only on the distance between the source and the projected position of the lens (eq. 9). If the latter is at the origin of coordinates and , denote the coordinates of the center of the source and of an arbitrary point on its surface, respectively, then eq. (6) can be written in polar coordinates as
[TABLE]
being and the radius of the star. Computing the double integral on a grid gives profiles with rigging whose amplitud scales as , being the number of points on the grid. The rigging affects only those trajectories where the lens moves across the surface of the star and to improve the accuracy requires to increase the number of points, increasing the computational time.
Smoother light curves are obtained when the stellar intensity profiles are spherically symmetric. In this case, (see Appendix A and also Witt 1995, Heyrovský 2003) the angular part can be integrated to obtain the amplification in terms of a single quadrature of elliptical functions
[TABLE]
with
[TABLE]
In eq. (21) , denote the complete elliptic integral of the first and third kind. The integral has a singularity at or so that care needs to be taken to obtain accurate results. Gauss-Legendre integration over points introduces rigging at the 2-3% level. We used the Press et al. (2002) routines for improper integrals *qtrap.f * and *midpnt.f * for more accurate results. To reduce the amplitude of the rigging below the 0.1% level we run subdivisions up to JMAX=20 with an accuracy of EPS=. This high precision slows down the code compared with other integration routines.
In Fig. 1 we represent the magnification of a point source and of the three extended source profiles given in eqs. (17-19), computed with routines for improper integrals. Depending on the impact parameter and stellar radius the magnification could be larger or smaller than that of a point source. In all cases, the parabolic profile was the closest to the point source and the constant profile was the furthest. For instance, in plots (a,e,f) curves at the peak correspond, from top to bottom, to the amplification of a point source (black line) and extended sources with constant (blue), limb-darkening (red) and parabolic (green) profiles. In (b,c,d), the color code is the same but the ordering of the magnification curves is the reverse. In the x-axis, is the relative velocity of the source and the lens, and is the time of observation. The distance from the center of the source to the projected position of the lens is given by , being the impact parameter. Distances and stellar radii are given in units of the Einstein radius on the source plane, . Plots (a-c) correspond an impact parameter and stellar radii ; plots (d-f) correspond to impact parameters and stellar radius . The largest differences between magnification of point and extended sources with any of the three profiles occur when the lens is within the projected surface of the star. Once the lens is outside the magnification decreases, extended source effects are diluted and the amplification coincides with that of a point source.
4. Exact Analytic solutions.
Faster numerical methods require the full integration of eq. (20). Exact solutions for particular cases can be found by solving the differential equation associated to eq. (21)
[TABLE]
In Appendix B we show that this differential equation can be solved exactly for the constant intensity profile . The solution is given in terms of elliptic functions and has the form
[TABLE]
with
[TABLE]
where
[TABLE]
The coefficients of eqs. (25, 26) were first derived by Witt & Mao (1994). Elliptic integrals can be evaluated very efficiently (for instance, with the routines given in Press et al. 2002) and this solution can be computed very quickly since no integration is required.
Fig 1 demonstrates that the gravitational magnification of all profiles converge when the source is far from the lens. Eventually, the parabolic and limb darkening profiles match smoothly the disc profile given by eqs. (24-26). We will assume that a general solution of eq. (23) can be represented by the same functional expression but with different coefficients or possibly functions , to be determined. Introducing this ansatz in eq. (24) gives a set of three coupled differential equations for the coefficients that needs to be solved for each specific profile. To fix the constants of integration, the solution has to converge to some limiting cases. For instance, the magnification reduces to that of a point source when
[TABLE]
The differential equations for the coefficients given in Appendix B are rather complicated. For the limb and parabolic case we found solutions only at two specific configurations, when star and lens are perfectly aligned, , and when the lens is at the edge of the star, . When eq. (21) becomes
[TABLE]
If or the elliptic integral simplify considerably (see eqs. D7, D8) and we derived simple series expansions that converge rather quickly when , the most common case. These expressions are given in Appendix B.
The results at these two locations, although limited, are still informative. Since the difference between profiles is largest when source and lens are perfectly aligned, we can derive an upper bound on the contribution of each profile to the overall magnification. Second, when the lens is on the edge of the star extended source effects start to be noticeable. If only a few (or just one) data point are available it is useful to have an accurate estimate of the difference between profiles at physically relevant locations. The differences between two source profiles are given by
[TABLE]
provided that they have the same intensity at wavelengths and . Otherwise, an additional factor needs to be included which result in a constant magnitude between the same source at different wavelengths. In the limit , and, by taking ratios, the stellar radius cancels out. The maximum possible magnitude difference between the three extended profiles is independent of the radius. From eqs. (B23, B31, B35) we have
[TABLE]
The magnitude difference with respect to a point source can not be given since when perfectly aligned with the lens, the amplification diverges.
In Fig. 2 we represent (solid blue line) and (dashed red line) for different stellar radii. The vertical dot-dashed lines correspond to . When and , then are very close to the limits given in eqs. (30). The magnitude difference decreases with increasing distance and reaches a minimum at . The series expansion given in Appendix B can be used to estimate the differences between profiles. From eqs. (B28, B32,B36) we have
[TABLE]
also in agreement with the results shown in Fig 2. Notice that at a distance the magnification for the limb darkening and parabolic profiles is smaller than that of a constant disk since for the latter a larger fraction of the stellar flux is closer to the lens.
When the effect of an extended source is measured from very few or just one single point (as in Chung et al. 2017) one can not expect to measure the relative contributions of different profiles with significant accuracy. The estimates given in eqs. (30, 4), together with the inequalities given in §2.3 could still be used to test if the stellar profile deviates from a constant even though the data could not determine the coefficients and of eq. (16).
5. Approximate analytic solutions.
The differential equations obtained by the technique described in section §4 and Appendix B are very difficult to solve for a generic profile. Approximate analytic solutions can be obtained by a similar, albeit more simplified, technique. Fig. 1 demonstrates that when the distance from the center of a source to the projected position of a lens is larger than a few stellar radii all light curves match the constant stellar profile. Since the disk solution is analytic, we are only required to construct approximate and accurate solutions in the range where the magnifications deviate, approximately . When the stellar profiles depend only on the radial distance , we can compute the amplification of extended sources by Taylor expanding around the origin the magnification given in eq. (9)
[TABLE]
This expansion converges for (in units of the Einstein radius) and can not be applied to larger distances. The integration of eq. (20) can be carried out term by term giving
[TABLE]
where are the coefficients in eq. (32). If we express the impact parameter in units of the source radius and set the integration variable to then
[TABLE]
with
[TABLE]
and . In Appendix C we demonstrate that the integrations in eq. (35) can be expressed in terms of elliptic integrals and pairs of functions and take the form
[TABLE]
Our treatment provides analytical approximations for the disk, parabolic and limb profiles in terms of elliptic integrals of the first and second kind. The solutions given in Appendix C have to be evaluated at , at the radius of the star. The dominant contribution is and higher orders contribute more with increasing source mass and distance to the lens. For completeness we present the results up to .
- •
For the disk profile we have
[TABLE]
- •
For the parabolic profile we obtain
[TABLE]
- •
For the limb-darkening profile the solution can not be computed in closed form. We also need to expand the profile in Taylor series and find a solution at each order. The technique quickly produces cumbersome expressions. Increasing the order in the Taylor expansion improves the accuracy at , but the resulting series diverge faster. We found that the results up to the 7th order expansion provided the most accurate approximations in the range after which the solution can be matched to the exact disk profile with minimal error. In this case,
[TABLE]
The coefficients are given in Table 1. A routine to compute these functions is available upon request.
In Fig. 3 we plot the magnitude difference between the analytic approximations of eqs. (• ‣ 5) and eqs. (• ‣ 5) with respect to the numerical integration of eq. (21). The dashed (red) and solid (blue) lines correspond to limb and parabolic profiles. The limb analytic profile is computed out to and beyond that distance it is matched to the exact constant disc expression of eqs. (24-26). In (a) the small wiggle of amplitude mag is due to instabilities on the numerical solution. Stellar radii and the impact parameter are given in units of the Einstein radius.
The zero order term in the Taylor expansion is always the dominant. For sources with radii , the first order contributes with 0.1% to the total magnification and the second order is negligible. For a star of , the first and second order term contribution is about 30% and a 3% at large distances. The differences between the exact and approximated parabolic profiles (dashed red line) is always negligible and only for and at distances the error approaches mag. The amplitude is smaller than the numerical result indicating that terms higher than the 2nd order in the expansion of eq. (33) are important. However, at those distances the exact disk solution is very accurate and, like in the limb darkening case, is simpler to switch to it instead of computing terms like or higher. In Fig. 3c the thin dot-dashed red line shows the analytic solution matched with the exact disc solution. We chose to match both solutions at , which reduces the error in magnitude between the approximate and exact solutions to less than mag.
The largest magnitude difference in the limb darkening case occurs at . The error was always smaller than mag except in the narrow range where it was less than mag. Comparing with the differences between profiles presented in Fig 2 those errors are 5-30% of the difference between disk, parabolic and limb profiles, proving that our approximations are sensitive to the different contributions. In the case of the limb profile, we overestimate the correct amplification and, consequently, in eq. (15) will be underestimated. Once the range of parameter space that fits a light curve has been identified, the bias can be corrected by fitting numerically integrated profiles.
To summarize, our approximations give the effect of an extended source in a microlensing event with errors in the range and are free from instabilities that affect numerical integration. Computing light curves by solving eq. (20) on a circular grid of points, eq. (21) using the Gauss-Legendre on a linear grid of points, the same integral using the qtrap.f and midpnt.f routines was , and times slower than using the analytic approximations presented here. Our results generalize those of (Yoo, DePoy, Gal-Yam et al.2004) and the technique can be extended to other profiles with even powers of the stellar radius.
6. Conclusions
We have developed an analytical formalism to compute the light curves of extended sources gravitationally amplified by single lenses. For the limb darkening profile we have obtained more accurate analytic approximations than those currently being used in the literature. We present even more accurate approximations for a parabolic profile. To our knowledge, these are the first approximations in the literature valid for this profile. To generate our approximations we first showed that eq. (20) can be reduced to a single quadrature involving elliptic integrals (eq. 21). We integrated this expression exactly for a constant stellar intensity profile by solving its associated first order differential equation, given by eq. (23), using the ansatz of eq. (24). Applying this formalism to the limb-darkening and parabolic profiles we obtained accurate expressions for two specific configurations: when the lens and source were perfectly aligned and when the lens was on the boundary of the source. These solutions were expressed in terms of the stellar radius and they converge very quickly for of .
Next, we constructed approximations by Taylor expanding the magnification out to second order. These approximations were valid for lens-source distances . For the limb darkening profile, our approximations were accurate to the 1% level, except for a small interval when the lens is at the edge of the stellar disk, that was only better than a 2-3%. The net effect is that the analytic solution will underestimate the coefficient in eq. (16). This shortcoming is not very relevant since once extended source effects have been identified, one can fit the data to light curves computed with more accurate numerical methods but centered around the parameter space selected by the analytic approximations. For the parabolic profile, this solution was almost identical to the numerical integration for a wide range of parameter space and only for very large stars () and at large distances () the error approached 1% (see Fig.3). For those configurations, the parabolic profile has already converged to the constant disc solution and the error is negligible, smaller than the expected photometric errors of forthcoming satellites.
In the next decade, WFIRST, Euclid and telescopes from the ground will greatly increase the measured number of microlensing events. Although their primary aim will be to search for exoplanets and characterize their properties, they will also probe stellar intensity profiles. Measuring limb darkening coefficients at different wavelengths will help to improve the numerical models of stellar atmospheres, a necessary step to study planetary atmospheres in transient events and correctly subtract the stellar flux. The data analyses will be helped by faster algorithms using analytically generated light curves.
Acknowledgments
We thank Shude Mao for comments on the manuscript. F. A.-B. acknowledges financial support from Grants No. PGC2018-096038-B-I00 (MINECO/FEDER) and No. SA083P17 from the Junta de Castilla y León.
Appendix A A. Angular integration of the magnification equation.
In eq. (20) the integration of the angular variable is
[TABLE]
where . The change of variables yields to
[TABLE]
where and . Using eqs. (253.00,253.02) of Byrd & Friedmann (1971) we finally obtain
[TABLE]
with . This expression gives eq. (21).
Appendix B B. Differential Equations of the Coefficients
We will integrate eq. (21) by assuming that the solution of the associated differential equation (eq. 23) has the functional form
[TABLE]
Using the properties of the complete elliptic functions given in Appendix D, we obtain the following three differential equations for the coefficients
[TABLE]
The function is defined in eq. (22), and
[TABLE]
Eq. (B4) is not coupled to the other two equations and is the simplest to solve. The solution of the homogenous equation, can be found by integration
[TABLE]
where is a constant. A solution of the inhomogeneous equation can be found by variation of the constant. We write
[TABLE]
By inserting this expression in eq. (B4) we obtain whose solution is
[TABLE]
The solutions for the three different source profiles of eqs. (17-19) are presented below.
The coupled differential eqs. (B2,B3) are more difficult to solve. We decoupled the two equations by differentiating again and the solutions of the homogeneous equations are given in terms of elliptic integrals. It is easy to verify that two independent solutions of the homogeneous eqs. (B2) and (B3) are: (1) , and (2) , with (cf. Whittaker & Watson 1915). The general homogenous solution is
[TABLE]
The solution of the inhomogeneous equation can be obtained by variation of parameters and . We write
[TABLE]
We insert this ansatz into eqs. (B2,B3) to obtain
[TABLE]
This equation can be readily solved for and and then integrated. Finally we can write
[TABLE]
since by the Legendre relation (see eq.(D6)) we have . Then, from eq. (B) we obtain
[TABLE]
Introducing this results into eq. (B1) we obtain
[TABLE]
Since the integrals in eqs. (B) are rather involved we will solve them by separating variables and in a series expansion. We define
[TABLE]
with
[TABLE]
By differentiating eq. (B15) and after some algebra we obtain two polynomial equations of the form
[TABLE]
with
[TABLE]
Since the solution of the homogenous differential equation has the form
[TABLE]
one obtains first an integral for and by variation of the constants and . The higher order and can be then obtained by recursive integration and by using the homogenous solution. Further if and have even power then the solutions and of the inhomogeneous equations must have even power as well as is the case of the three source profiles discussed here.
Solving the system of eqs. (B2-B4) is rather complicated. Only for a constant disk profile it is possible to obtain a simple exact solution, given below. For other profiles, simple solutions exist for specific configurations, when the approximations given in eqs. (D7,D8) are valid. The general (and cumbersome) case can be solved in terms of power series expansions (eq. B16) but we shall not discuss it here. We defer to Appendix C the derivation of accurate approximations for the limb and parabolic profiles.
B.1. Disk of Constant Surface Brightness
The profile of a disk of constant surface brightness is simply and
[TABLE]
where the constant needs to be determined by adequate limiting conditions. For we obtain
[TABLE]
To fix the constant of integration, we take the the limit . In this limit, the r.h.s of eq. (B14)) can be transformed into a quadrature over elementary functions. When , and we can apply the approximation given in eq. (D8). In the limit the elliptic integrals are and eq. (21) reduces to
[TABLE]
For a constant surface brightness
[TABLE]
Comparing this series with the integration of the l.h.s. of eq. (B14) given in eqs. (B15-B18) fixes the integration constant to the value . Inserting the polynomials and into eqs. (B17) triggers rather simple results for and . Further integration yields and and the series terminates. The final result is
[TABLE]
It is straightforward to verify that and satisfy eqs. (B17) for a disk profile. Finally, the full solution is
[TABLE]
When (in units of the Einstein radius) these expressions can be further simplified. In this limit we also have and eq. (D8) allow us to write
[TABLE]
and for the total magnification one obtains
[TABLE]
where . This result coincides with those presented in eqs. (36, 37) with . The derivation is described in Appendix C.
Extended source effects start to become important when the projected position of the lens intersects the source disk, i.e., when . Using the properties of the elliptic integrals given in eq. (D7) we can write
[TABLE]
Similar limits at and can be found for the other profiles as we shall see below.
B.2. Limb Darkening Profile
For the limb darkening profile (eq. 18) we have
[TABLE]
with a constant to be determined. Then,
[TABLE]
From eq. (B22) we can compute the amplification when the lens and source are perfectly aligned,
[TABLE]
with . In this case, comparison with eq. (B30) gives the limit , that physically corresponds to the source profile vanishing at the edge of the star.
Using the simplifying properties of elliptic integrals given in eq. (D7) for we obtain
[TABLE]
Since most lensing events will have (see the estimate given in eq. (3)) this series converges very quickly.
B.3. Parabolic Source Profile
For the parabolic brightness profile of eq. (19) we have
[TABLE]
and
[TABLE]
The constant can be determined using the solution at . In this case the amplification is
[TABLE]
that, like in the limb case, yields . Using the simplifying properties of elliptic function given by eq. (D7) when , we can derive the following series expansion
[TABLE]
Again, as this series converges very quickly.
Appendix C C. Series Expansion of the Single Lens Magnification
The integration of the angular part of eq. (35) can be expressed in terms of elliptic integrals. If we denote , the first three terms in the series expansion become
[TABLE]
Similar combinations of complete elliptical integrals of the first, , and second kind, , with higher order polynomials are obtained for . We will compute approximations up to since above this order the contribution to the light curve is at most a 1% (see Fig. 3).
The indefinite integrals can be evaluated assuming the result has the form
[TABLE]
By differentiating eqs. (C1, C2) the coefficients verify the following differential equations
[TABLE]
where the prime denotes the derivative with respect to the variable , and for we have
[TABLE]
Then, solving eqs. (C3, C4) for is equivalent to integrate eqs. (C1). To simplify the differential equations of the coefficients, we define the new functions as and . Using the identities
[TABLE]
we obtain
[TABLE]
These equations can be combined to obtain a second order differential equation for
[TABLE]
The r. h. s. of the differential equation results always into a polynomial of even power as long as the source profile has even power. We have
[TABLE]
Now we are looking for solutions of if is simply given by . This differential equation has trivial solutions of a form of a polynomial of the same power. Inserting the polynomial into eq. (C9) gives
[TABLE]
It is now easy to verify that obeys the recursion relation
[TABLE]
with
[TABLE]
and so on. In general we can now construct the solution for any given . The solution has the form
[TABLE]
In summary, and are polynomials of degree in and for a disk and of degree for a parabolic profile, respectively. If we expand the limb darkening profile until degree 10 the resulting and have powers of 10 in and respectively. Each higher order increase the power by 2.
Since we have constructed now a solution and we are able to write down for each source profile a set of solutions. For example, for we can write
[TABLE]
Let us remark that the lower limit of the integral always vanishes so we need to pay attention only to the upper limit. For each source profile
[TABLE]
Evaluating these expressions at the surface of the star, , we obtain the results given in the main text. We note that the integral has the form
[TABLE]
with
[TABLE]
Note that in the main text we have defined and .
Appendix D D. Functional Relations of Complete Elliptic Integrals
The following properties of the first, second and third complete elliptical integrals (see (Byrd & Friedmann, 1971))
[TABLE]
where used to derive eqs. (B2), (B3) and (B4). Also, the following relations
[TABLE]
and the Legendre relation
[TABLE]
with , were also used. In the limiting case with we have the following relations
[TABLE]
where we used the definition of and of eq.(22). For small values we have so that we can make use of the relation
[TABLE]
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Afonso et al. (2000) Afonso, C., Alard, C., Albert, J. N., Andersen, J., Ansari, R., et al. 2000, Ap J, 532, 340
- 2Albrow, Beaulieu, Caldwell et al. (1999) Albrow, M. D., Beaulieu, J.-P., Caldwell, J. A. R., Dominik, M., Greenhill, J. et al. 1999, Ap J, 522, 1011
- 3Albrow, An, Beaulieu et al. (2001) Albrow, M. D., An, J., Beaulieu, J.-P., Caldwell, J. A. R., De Poy, D. L., Dominik, M., Gaudi, B. S., Gould, A., Greenhill, J., Hill, K. et al. 2001, Ap J, 549, 759
- 4Alcock et al. (1997) Alcock, C., Allen, W. H., Allsman, R. A., Alves, D., Axelrod, T. S., Banks, T. S., Beaulieu, S. F., Becker, A. C. et al. 1997, Ap J, 491, 436
- 5Allen (1973) Allen C. W., 1973, Astrophysical Quantities. Athone, London
- 6An et al. (2002) An, J.-H., Albrow, M. D., Beaulieu, J.-P., Caldwell, J. A. R., De Poy, D. L., Dominik, M. et al. 2002, Ap J, 572, 521
- 7Aufdenberg, Ludwig & Kervella ( 2005) Aufdenberg, J. P., Ludwig, H.-G. & Kervella, P. 2005, Ap J, 633, 424
- 8(8) van Belle, G.T., Paladini, C., Aringer, B., Hron, J. & Ciardi, D. 2013, Ap J, 775, 45
