OGLE-2023-BLG-0836L: The sixth microlensing planet in a binary stellar system

Light curves of microlensing events occasionally deviate from the smooth and symmetric form of a single-lens single-source event. While most of these anomalous events can be accounted for by employing a binary-lens single-source (2L1S) or a single-lens binary-source (1L2S) framework, it is established that a small fraction of events remain unexplained by either of these interpretations. We carry out a project in which data collected by high-cadence microlensing surveys were reinvestigated with the aim of uncovering the nature of anomalous lensing events with no proposed 2L1S or 1L2S models. From the project, we find that the anomaly appearing in the lensing event OGLE-2023-BLG-0836 cannot be explained by the usual interpretations and conduct a comprehensive analysis of the event. From thorough modeling of the light curve under sophisticated lens-system configurations, we have arrived at the conclusion that a triple-mass lens system is imperative to account for the anomaly features observed in the lensing light curve. From the Bayesian analysis using the measured observables of the event time scale and angular Einstein radius, we determine that the least massive component of the lens has a planetary mass of $4.36^{+2.35}_{-2.18}~M_{\rm J}$. This planet orbits within a stellar binary system composed of two stars with masses $0.71^{+0.38}_{-0.36}~M_\odot$ and $0.56^{+0.30}_{-0.28}~M_\odot$. This lensing event signifies the sixth occurrence of a planetary microlensing system in which a planet belongs to a stellar binary system.


Introduction
The light curve of a microlensing event involving a single lens and a single source (1L1S) is represented by where A(t) is the lensing magnification, F s and F b denote the respective flux values originating from the source and blended light components, and u represents the projected lens-source separation normalized to the angular Einstein radius θ E .The lensing magnification varies in time as the lens-source separation changes due to their relative motion as where u 0 and t 0 represent the minimum lens-source separation (scaled to θ E ) and the corresponding time, and t E is the Einstein timescale.The resulting light curve is characterized by a smooth and symmetric form (Paczyński 1986).
Light curves in microlensing events occasionally exhibit deviations from the standard 1L1S form.These deviations are, in most cases, attributed to two primary factors: the potential binarity of the lens, as described by Mao & Paczyński (1991), and the binarity of the source, as noted by Griest & Hu (1992).In the case of a binary-lens (2L1S) event, the lensing system creates a complex pattern of caustics.These caustics represent specific positions of the source at which the lensing magnification for a point source diverges to infinity.When a source crosses the caustic, a pair of new images are created or disappear, resulting in a complicated lensing light curve that deviates from the 1L1S form.In the case of a binary-source (1L2S) event, the lensing magnification corresponds to the mean of the magnifications associated with the individual binary source stars, A 1 and A 2 , weighted by the flux contributions of the component source stars, F 1 and F 2 : As a consequence, the light curve of a 1L2S event displays deviations from the standard 1L1S form.
A16, page 1 of 11 Since 2016, the Korea Microlensing Telescope Network (KMTNet) has been conducting a microlensing survey with frequent observations of stars located in the direction of the Galactic bulge (Kim et al. 2016).Among about 3000 microlensing events that are annually detected from the survey, about 10% of the events exhibit anomalies in the lensing light curves.While the majority of these anomalous lensing events can be explained by applying a 2L1S or a 1L2S framework, it is known that a small fraction of events defy explanation under either of these interpretations.The challenge in precisely characterizing the peculiarities of these events hints at the necessity for more advanced models to interpret the observed anomalies.
We conducted a project that involved revisiting microlensing data collected by the KMTNet survey.The primary goal of this project was to uncover instances of anomalous lensing events for which the conventional 2L1S or 1L2S models had not been previously proposed.Through this investigation, we identified multiple occurrences that required the application of advanced modeling approaches beyond the standard 2L1S or 1L2S frameworks.Han et al. (2019) found that the anomaly appearing in the light curve of the lensing event OGLE-2018-BLG-1011, which corresponds to KMTNet event KMT-2018-BLG-2122, could be explained with a triple-lens (3L1S) model in which the lens is composed of two giant planets and their host star.Through a detailed analysis of the light curve for the lensing event OGLE-2018-BLG-1700 (KMT-2018-BLG-2330), Han et al. (2020a) identified the triple nature of the lens by decomposing the anomaly into two parts produced by two binary-lens pairs.In one of these binary pairs, the mass ratio of the lens components is approximately q ∼ 0.01, while in the other pair the mass ratio is around ∼0.3, suggesting that the lens is a planetary system in a binary.Through a careful examination of the central anomaly observed in the lensing curve of the highly magnified event KMT-2019-BLG-1953, Han et al. (2020b) found that the discrepancies from the 2L1S model were significantly reduced when an additional planetary lens companion or a source companion was introduced, although distinguishing these two interpretations was difficult within the precision of the photometric data.In their study, Han et al. (2021a) determined that the anomalous characteristics observed in the lensing light curve of the event KMT-2019-BLG-0797 could be accounted for by a 2L2S model in which both the lens and source are binary systems.By analyzing the event KMT-2019-BLG-1715, for which the lensing light curve exhibited two short-term deviation features from a caustic-crossing 2L1S light curve, Han et al. (2021b) suggested a five-body (lens+source) model, in which one deviation feature was generated by a planetary-mass third body of the lens, and the other feature was generated by a faint source companion, and thus the event is a very complex five-body system composed of three lens masses (planet + two stars) and two source stars.Han et al. (2021c) found that KMT-2018-BLG-1743 is another planetary lensing event occurring on two source stars.In their analysis of the anomalies observed in the lensing event OGLE-2019-BLG-0304 (KMT-2019-BLG-2583), Han et al. (2021d) put forward two rivaling interpretations between a 3L1S and a 2L2S models.The 3L1S model suggests the presence of a planetarymass third body situated near the primary lens of the binary lens system.The 2L2S model proposes the existence of an additional nearby companion to the source.Zang et al. (2021) found that the central anomaly in the lensing light curve of the event KMT-2020-BLG-0414 was produced by a triple-lens system, which consists of an Earth-mass planet and its binary host.Through the investigation of the anomalous lensing event KMT-2021-BLG-1077, Han et al. (2022a) identified that the lens of the event is a multi-planetary system in which two giant planets orbit a very low-mass star.It was found by Han et al. (2022b) that the dual bump anomaly feature in the light curve of the lensing event KMT-2021-BLG-1898 could be explained with a 2L2S model, in which the lens contains a giant planet and the source is a binary composed of a turnoff star and a K-type dwarf.Han et al. (2022c) found that the planetary signal in the lensing light curve of the event KMT-2021-BLG-0240 was deformed either by an extra planetary lens component or by a companion to the source, although the 3L1S and 2L2S interpretations could not be distinguished with the available data.Han et al. (2023a) found that the lensing events OGLE-2018-BLG-0584 and KMT-2018-BLG-2119 were generated by 2L2S lens systems.From the analysis of the lensing event KMT-2021-BLG-1122, Han et al. (2023b) revealed that the anomaly appeared in the light curve was produced by a 3L1S system, which consists of three stars.
In this study, we provide a comprehensive analysis of the microlensing event OGLE-2023-BLG-0836/KMT-2023-BLG-1144, for which no existing model has successfully explained the anomaly observed in the lensing light curve.The anomaly in question presents two distinctive features: a caustic-crossing pattern and a strong cusp-approaching peak.Our investigation has led us to the conclusion that the inclusion of a triple-mass lens system is imperative to adequately account for all the anomalous features in the lensing light curve of the event.

Observations and data
The source of the microlensing event OGLE-2023-BLG-0836/KMT-2023-BLG-1144 is positioned in the direction of the Galactic bulge field, with equatorial coordinates (RA, Dec) J2000 = (17:48:44.85, −23:44:29.47),which correspond to the Galactic coordinates (l, b) = (4 • .8075, 2 • .0912).In this direction, the extinction in the I-band is approximately A I ∼ 2.01.The magnification of the source flux caused by lensing was first detected from the Optical Gravitational Lensing Experiment IV (OGLE-IV: Udalski et al. 2015) survey on 28 June 2023, corresponding to the reduced Heliocentric Julian Date (HJD ′ ≡ HJD − 2460000 = 123).Five days later, the KMTNet group independently found the event and designated it as KMT-2023-BLG-1144.While we initially recognized the anomalous nature of the event through a systematic analysis of the KMTNet data gathered during the 2023 season, we have chosen to label the event as OGLE-2023-BLG-0836, aligning with the reference ID from the OGLE survey that initially detected the event.
The event observations were conducted using the telescopes operated by individual survey groups.The KMTNet group employs three identical telescopes, each featuring a 1.6-m aperture and a wide-field camera capable of capturing 4 square degrees in a single exposure.In order to ensure continuous coverage of lensing events, the KMTNet telescopes are strategically positioned across the three continents in the southern hemisphere: Siding Spring Observatory in Australia (KMTA), Cerro Tololo Interamerican Observatory in Chile (KMTC), and South African Astronomical Observatory in South Africa (KMTS).Additionally, the OGLE telescope, featuring a 1.3-m aperture and a camera yielding a 1.4 square degree field of view, is located at Las Campanas Observatory in Chile.Images from the KMT-Net and OGLE surveys were mainly obtained in the I-band with the inclusion of some V-band images taken for source color measurement.Observations of the event by the KMTNet and OGLE surveys were done with cadences of an hour and about two days, respectively.Image reduction and photometry for the A16, page 2 of 11 lensing event were accomplished using automated pipelines tailored to the individual surveys, with those developed by Albrow (2017) for the KMTNet survey and by Woźniak (2000) for the OGLE survey.For the use of optimal data in the analysis, we conducted re-reduction of the KMTNet data using the photometry code developed by Yang (in prep.).Additionally, the error bars of the data were adjusted to ensure consistency with the data scatter, and to set the χ 2 value per degree of freedom (d.o.f.) for each data set to unity following the procedure outlined in Yee et al. (2012).
Figure 1 presents the lensing light curve of OGLE-2023-BLG-0836, revealing deviations from the typical smooth and symmetric shape observed in a 1L1S event.These deviations are marked by two primary features.The first is the caustic-crossing feature, which is characterized by a pair of caustic-crossing spikes at HJD ′ ∼ 115.7 and ∼119.6 and a U-shape trough region between the spikes.The second feature is the strong peak, centered at HJD ′ ∼ 121.3, which is likely to be produced by the source star's approach to a caustic cusp.The upper panel of Fig. 1 offers a detailed view of this anomalous region.Because caustics in gravitational lensing are formed due to the presence of multiple lensing masses, the caustic-crossing feature indicates that the lens is comprised of multiple masses.Furthermore, the approximate symmetry between the ascending and descending segments of the peak anomaly feature suggests that the feature likely originated from the source's approach to a cusp of a caustic.

Binary-lens analysis
Taking into account the potential involvement of the anomaly features with caustics, our analysis commences by modeling the light curve under the interpretation with a 2L1S lens-system configuration.This modeling process is conducted to identify a lensing solution, which comprises a set of lensing parameters that best describe the characteristics of the light curve.Under the approximation of rectilinear relative motion between the lens and source, the light curve of a 2L1S event is defined by seven fundamental lensing parameters.The three initial parameters (t 0 , u 0 , t E ) characterize the approach of the source to the lens.The next three parameters (s, q, α) provide information about the binary lens system: s denotes the projected separation (scaled to θ E ) between the lens components M 1 and M 2 ; q = M 2 /M 1 represents the mass ratio of these lens components; and α is the source trajectory angle, defined as the angle between the direction of the relative lens-source proper motion vector µ and the M 1 -M 2 , axis.The last parameter, ρ, is defined as the ratio of the angular source radius θ * to the Einstein radius (normalized source radius), that is, ρ = θ * /θ E , and it characterizes how finite source effects contribute to the deformation of the lensing light curve during caustic crossings.
In our pursuit of the lensing solution, we categorized the lensing parameters into two groups.Within the first group, which pertains to the binary parameters (s, q, α), we conducted a gridbased exploration to determine the values of parameters s and q with multiple initial values of α.The other parameters of the second group were determined by minimizing χ 2 through the use of the Markov chain Monte Carlo (MCMC) method, which employs an adaptive step size Gaussian sampler, as described in Doran & Mueller (2004).To assess the presence of degenerate solutions, we examined the ∆χ 2 map in the s-q parameter space derived from the grid search.After identifying local solutions, we further refined the lensing parameters of the solutions using a downhill approach.In cases for which the discrepancies in χ 2 values among these local solutions were marginal, we presented all of them and investigated the causes of degeneracies.
Despite our comprehensive exploration of the parameter space, we were unable to identify a 2L1S solution capable of sufficiently explaining both the caustic-crossing and cuspapproaching features within the anomaly.This underscores the necessity of employing a more sophisticated model for a comprehensive understanding of the observed anomaly features.
While the 2L1S model cannot simultaneously accommodate both the caustic-crossing and cusp-approaching features, we identified that each anomaly feature can be adequately approximated by a 2L1S model.This is illustrated in Fig. 2, where we present two 2L1S model curves depicting the individual anomaly features.The curve presented in the upper panel represents a 2L1S model derived by fitting the data excluding the observations around the cusp-approaching feature during the time interval 120 ≲ HJD ′ ≲ 125, while the curve shown in the lower panel is a model obtained by fitting the data with the exclusion of the data around the caustic feature within the time range 114 ≲ HJD ′ ≲ 120.Another example of an anomaly that can be divided into two parts produced by two 2L1S events can be seen in Fig. 2 of Han et al. (2020a).We found a solution with binary parameters (s, q) ∼ (0.60, 0.85) from the 2L1S fit to the data excluding the caustic-crossing feature.Similarly, we also identified a solution with (s, q) ∼ (1.23, 3.4 × 10 −3 ) from the fit to the data excluding those around the cusp-approaching feature.The full lensing parameters of the pair of 2L1S solutions are presented in Table 1.Regarding the lensing parameters in the model describing the caustic-crossing feature, we note that the mass ratio of the lens components is on the order of 10 −3 , indicating that the companion is very likely to be a planet-mass object.
Figure 3 displays the lens-system configurations corresponding to the individual 2L1S models presented in Fig. 2  panel, the red figure comprising the concave closed curves represents the caustic, and the arrowed line represents the trajectory of the source.The configuration illustrates that the caustic-crossing feature resulted from the source star's crossing over the planetary caustic induced by a planetary companion.On the other hand, the peak feature of the anomaly was produced by the source star's close approach to the sharp off-axis cusp of a caustic induced by a binary lens composed of roughly equal masses.

Triple-lens analysis
Bozza (1999) and Han (2001) pointed out that anomalies produced by a triple-lens system, composed of three masses (M 1 , M 2 , M 3 ), can often be approximated by combining the anomalies induced by the two binary pairs M 1 -M 2 and M 1 -M 3 through superposition.Then, the fact that the two anomaly features in the peak region of the OGLE-2023-BLG-0836 light curve are well approximated by two 2L1S models implies the possibility of the lens system being a triple system.Consequently, we proceeded with a modeling approach based on a 3L1S configuration for the lens system.The 3L1S configuration corresponds to the case in which an extra lens component, M 3 , is present in addition to the 2L1S configuration.Incorporating this supplementary lens component necessitates the addition of extra lensing parameters in the modeling procedure.These parameters consist of (s 3 , q 3 , ψ), which respectively stand for the projected separation and mass ratio between M 1 and M 3 , and the orientation angle of M 3 as measured from M 1 -M 2 axis.In order to distinguish these parameters describing M 3 from those describing M 2 , we use the notations (s 2 , q 2 ) to designate the separation and mass ratio between the M 1 -M 2 pair.
The 3L1S modeling was carried out using the following procedure.In the first step, we searched for the tertiary lens parameters (s 3 , q 3 , ψ) via a grid approach using the parameters of the 2L1S model as initial values for the other parameters.In our analysis we used the lensing parameters of the 2L1S solution depicting the cusp-approaching feature.In the second step we identified local solutions appearing in the s 3 -q 3 -ψ parameter space, and then refined the individual solutions by gradually minimizing χ 2 of the fit using a downhill approach.
Through the 3L1S modeling, we identified three distinct solutions resulting from the ambiguity in s 3 .Figure 4 shows the locations of the individual local solutions in the ∆χ 2 map on the (log s 3 , log q 3 ) parameter plane obtained from the grid searches for the tertiary lens parameters.The parameters describing the M 1 -M 2 pair, which lie in the ranges of 0.5 ≲ s 2 ≲ 0.6 and 0.59 ≲ q 2 ≲ 0.88, are similar to those of the 2L1S model describing the cusp-approaching feature.Similarly, the parameters describing the M 1 -M 3 pair, which lie in the ranges of A16, page 4 of 11 Fig. 4. ∆χ 2 map on the (log s 3 , log q 3 ) parameter plane.The colorcoding is configured to correspond to data points based on their ∆χ 2 values: red for ∆χ 2 ≤ 1 2 n, yellow for ≤ 2 2 n, green for ≤ 3 2 n, and cyan for ≤ 4 2 n, where n = 4.The three distinct local solutions are marked as inner, intermediate, and outer.The dashed vertical line represents the geometric mean (s 3,in × s 3,out ) 1/2 of the planetary separations for the inner and outer solutions.1.11 ≲ s 3 ≲ 1.16 and 4.9 × 10 −3 ≲ q 3 ≲ 5.9 × 10 −3 , are similar to those of the 2L1S model describing the caustic-crossing feature.We label the individual local solutions as "inner," "intermediate," and "outer" for the reason discussed below.In the ∆χ 2 map, it appears that there are two local minima with log q values approximately around -2.5.However, during the refinement of the solutions, we found that these two minima converge into a single solution.
In Table 2, we list the full lensing parameters of the three 3L1S solutions together with their χ 2 values of the fits and d.o.f.Our analysis reveals a preference for the outer solution, with χ 2 differences of 34.0 and 4.2 over the inner and intermediate solutions, respectively.We present the model curve of the outer 3L1S solution in the top panel of Fig. 5 and the residuals from all three 3L1S solutions in the lower panels.It is worth noting that the normalized source radius is measured based on the finite-source constraint, although the measured value carries a substantial uncertainty.The lensing light curve is affected by finite-source effects during the source crossings over the fold caustics induced by the planet and during the approach to the cusp induced by the binary companion.We checked the origin of the ρ constraint by conducting two modeling runs; the first run was done by excluding the two points near the caustic crossings at HJD ′ = 115.685and 119.559, and the second run was conducted by excluding the two KMTC points near the cusp peak at HJD ′ = 121.513and 121.527.From these runs we find that the constraint on ρ comes mainly from the two data points observed during the caustic crossings.In Fig. 6, we plot the relative probability of the normalized source radius estimated from the 3L1S modeling.
The configurations of the lens systems corresponding to the three 3L1S solutions are presented in Fig. 7.In all instances, the triple-lens caustic seems to result from the combination of two separate binary-lens caustics caused by the M 1 -M 2 and M 1 -M 3 pairs.The source first traversed the planetary caustic created by the M 1 -M 3 pair, giving rise to the caustic-crossing feature.Subsequently, the source moved past the lower tip of the caustic formed by the M 1 -M 2 pair, leading to the emergence of the cuspapproaching anomaly feature.While the fundamental structures of the three solutions resemble one another, there exist subtle distinctions between them.According to the inner and outer solutions, the source traversed the two folds of the planetary caustic situated in the inner and outer regions between the caustic center and the primary lens, respectively.As we discuss below, the degeneracy between the inner and outer solutions is caused by the inner-outer degeneracy (Gaudi & Gould 1997).In the intermediate solution, the source encountered the inner caustic fold upon entering the caustic, and the outer caustic fold while departing from it.We assigned labels to the individual solutions based on the side of the caustic that the source crossed.Hwang et al. (2022) and Gould et al. (2022) showed that the planet separations of a pair of solutions resulting from an innerouter degeneracy follow the relation Here s in and s out respectively denote the binary separations of the inner and outer solutions; u 2 anom = τ 2 anom + u 2 0 ; τ anom = (t anom − t 0 )/t E ; and t anom is the time of the anomaly.The symbols "+" and "−" on the right side of the equation apply to the major-image and minor-image perturbations, respectively.In the case of OGLE-2023-BLG-0836, the planet-induced anomaly (i.e., the caustic-crossing feature) was produced by a majorimage perturbation, and as a result the sign associated with this event is "+."In order to investigate the origin of the degeneracy in the separation s 3 , we checked whether s 3 values of the inner and outer solutions follow the relation in Eq. ( 4).With the lensing parameters (t 0 , u ′ (115.37, 0.22, 46.2, 117.0, 1.435, 1.408), we find that the geometric mean (s in × s out ) 1/2 ∼ 1.124 closely matches the value [(u 2 anom + 4) 1/2 + u anom ]/2 = 1.119.This confirms that the similarity between the model curves of the inner and outer solutions stems from the inner-outer degeneracy.In computing s † , we used the values of the lensing parameters normalized to the Einstein radius corresponding to sum of M 1 and M 3 : A16, page 5 of 11  After identifying the origin of the degeneracy between the inner and outer solutions, we further investigate the origin of the degeneracy involving the intermediate solution and the other solutions.It is worth noting that Shin et al. (2023) and Han et al. (2024) independently reported the presence of such degeneracies in their respective analyses of the planetary lensing events KMT-2016-BLG-1751 and KMT-2023-BLG-0469.Upon closer examination of the caustic-crossing feature, we found that the degeneracy between the intermediate solution and the other solutions is an accidental one stemming from inadequate caustic coverage.This is depicted in Fig. 8, which provides a detailed view around the caustic-crossing feature.The figure illustrates that the source magnitudes just before the caustic entrance and just after the caustic exit for the inner and outer solutions are remarkably similar, suggesting an inherent degeneracy.On the contrary, the source magnitude just before the caustic entrance for the intermediate solution is approximately 0.1 magnitude brighter than what is expected from the other solutions, indicating that this degeneracy is a chance occurrence.If the light curve in this specific region had been more thoroughly covered, the degeneracy between the intermediate solution and the other solutions could have been lifted.The issue of degeneracies arising due to insufficient coverage of certain parts of caustic-crossing features was explored by Skowron et al. (2018).

Binary-lens binary-source analysis
As illustrated in the lensing event KMT-2021-BLG-0240 (Han et al. 2022c), anomalies arising from a 3L1S system can, on occasion, be confused with anomalies resulting from 2L2S systems.Hence, we conducted a more thorough examination to ascertain whether the observed anomalies in the lensing light curve of OGLE-2023-BLG-0836 could be explained by a 2L2S interpretation.
The 2L2S configuration involves the presence of an additional source alongside the 2L1S configuration.We designate A16, page 6 of 11 Han, C., et al.: A&A, 685, A16 (2024) Fig. 7. Lens-system configurations of the three degenerate 3L1S solutions.For each solution, the lower panel shows the source trajectory, marked by an arrowed line, with respect to the caustic, and the upper panel shows the trajectory with respect to the positions of the lens components, marked by blue dots with labels M 1 , M 2 , and M 3 .The gray curves encompassing the caustic in the lower panels represent equi-magnification contours.The dashed circles in the upper panels represent the Einstein ring. the primary and secondary source stars as S 1 and S 2 , respectively.To account for the additional source, it is necessary to incorporate extra lensing parameters into the modeling process.These additional parameters encompass (t 0,2 , u 0,2 , ρ 2 , q F ), which respectively represent the time and separation of the closest Parameter Value χ 2 /d.o.f.1618.1/1619t 0,1 (HJD ′ ) 113.80 ± 0.22 u 0,1 0.227 ± 0.012 t 0,2 (HJD ′ ) 120.34 ± 0.12 u 0,2 −0.1064 ± 0.0043 t E (days) 51.12 ± 2.32 s 0.608 ± 0.012 q 0.786 ± 0.036 α (rad) −0.531 ± 0.017 ρ 1 (10 −3 ) 0.74 ± 0.46 ρ 2 (10 −3 ) 0.47 ± 0.21 q F 0.0797 ± 0.0076 approach of S 2 to the lens, the normalized source radius of S 2 , and the flux ratio between S 2 and S 1 .Concurrently, we employ the notations (t 0,1 , u 0,1 , ρ 1 ) to define the parameters describing the approach of S 1 to the lens.During the modeling process we seek the 2L2S parameters by exploring various trajectories for S 2 , building upon the 2L1S solution that describes the caustic-crossing feature.
In Table 3, we list the best-fit lensing parameters of the 2L2S solution.The lens-system configuration corresponding to the solution is shown in Fig. 9.In this illustration the paths of the primary and secondary source stars are indicated by black and blue lines, respectively, and they are labeled as S 1 and S 2 .The model curve and residual of the 2L2S solution in the region of the anomaly are presented in Fig. 5, showing that the model approximately describes the anomaly features.
A16, page 7 of 11 Han, C., et al.: A&A, 685, A16 (2024) Fig. 9. Lens-system configuration of the 2L2S solution.The notations are the same as in Fig. 6, except that there are two source trajectories.The black and blue lines represent the trajectories of the primary and secondary source stars, respectively.Although the 2L2S model offers an approximate description of the anomaly features, it is found that the model exhibits a less accurate fit to the data when compared to the 3L1S model.This can be seen in Fig. 10, where the cumulative distribution of χ 2 difference between the 2L2S and 3L1S solutions, that is, , is presented.From the distribution, it is found that the 2L2S solution yields a poorer fit in the region after the cusp-approaching feature.Overall, it is found that the 2L2S solution is less favorable by ∆χ 2 = 31.3when compared to the 3L1S solution.As a result, we dismissed the 2L2S interpretation for the anomaly.

Source star and angular Einstein radius
In this section, we specify the source star of the lensing event and estimate the angular Einstein radius.The source star is specified by estimating its color and magnitude after being corrected for reddening and extinction.With the angular source radius θ * deduced from the color and magnitude together with the normalized source radius ρ measured from the modeling, the angular Einstein radius is estimated as Figure 11 shows the location of the source in the instrumental color-magnitude diagram (CMD) of stars lying near the source.The CMD was created by merging two sets of CMDs.One set was generated from the pyDIA photometry (Albrow 2017) of stars in the KMTC image, and the other set pertains to stars in Baade's window observed using the Hubble Space Telescope (Holtzman et al. 1998).The alignment of these two CMDs was achieved by using the centroids of the red giant clump (RGC) in the individual CMDs.We used the combined CMD because the V-band source magnitude could not be determined even though the I-band magnitude of the source was measured.As a result, the color of the source was estimated as the median value observed in the main-sequence branch of the combined CMD corresponding to the measured I-band magnitude.
To estimate the de-reddened source color and magnitude, denoted as (V − I, I) 0 , from their corresponding instrumental values, denoted as (V − I, I), we employed the Yoo et al. (2004) method.This method utilizes the RGC centroid, for which its dereddened color and magnitude (V − I, I) RGC,0 = (1.060,14.308) A16, page 8 of 11 Han, C., et al.: A&A, 685, A16 (2024)  were established by previous studies (Bensby et al. 2013;Nataf et al. 2013), as a reference point for calibration: Here (V − I, I) RGC represent the instrumental color and magnitude of the RGC centroid, and ∆(V − I, I) = (V − I, I) − (V − I, I) RGC indicate the offsets in color and magnitude between the source and RGC centroid.In Table 4 we list the measured values (V − I, I), (V − I, I) RGC , (V − I, I) RGC,0 , and (V − I, I) 0 .From the estimated de-reddened color and magnitude it is found that the source is a late G-type main-sequence star.
For the estimation of the angular source radius, we first converted the measured V − I color into V − K color using the color-color relation established by Bessell & Brett (1988), and subsequently calculated the angular source radius by applying the relation between V − K and θ * provided by Kervella et al. (2004).The derived value of the angular source radius is θ * = (0.618 ± 0.073) µas. (7) This yields the angular Einstein radius and relative lens-source proper motion of θ E = (0.97 ± 0.31) mas.( 8) and respectively.We note that the uncertainties associated with θ E and µ are relatively large, primarily stemming from the large uncertainty in ρ.
A degeneracy between two competing interpretations with widely different lensing parameters of (t E , ρ) can occasionally be lifted from the resulting values of the relative lens-source proper motion if one model results in a µ value that is relatively disfavored by the Galactic model.We checked the feasibility of this method by additionally estimating the relative proper motion expected from the 2L2S model.The estimated value of µ 2L2S ∼ 6.0 mas yr −1 , which is similar to the value for the 3L1S model, and is also a very typical value for a Galactic lensing event.Therefore, the constraint from the estimated relative proper motion cannot used to distinguish between the two interpretations.

Physical lens parameters
In this section, we estimate the physical parameters of the lens system.The lens parameters of the mass M and distance D L are constrained by three lensing observables: the event timescale t E , the angular Einstein radius θ E , and the microlens parallax π E .
The microlens parallax is defined as the ratio of the relative lenssource parallax π rel to the angular Einstein radius, where D S denotes the distance to the source.With the measurements of all these observables, the mass and distance to the lens are uniquely determined as where κ = 4G/(c 2 au) and π S = au/D S denotes the parallax of the source (Gould 2000).For OGLE-2023-BLG-0836 the observables t E and θ E were constrained, while the accurate determination of microlens parallax was hindered by limited photometric data precision.Consequently, we estimated M and D L by conducting a Bayesian analysis, leveraging the constraints provided by the measured observables t E and θ E together with the priors of the physical and dynamical distributions and mass function of lens objects in the Galaxy.
The Bayesian analysis was initiated by generating a large number of synthetic events through a Monte Carlo simulation.In the simulation, the physical parameters of the lens mass were derived from a model mass function, and the distances to the lens and source as well as the relative proper motion between them were obtained from a Galaxy model.We adopted the mass function model proposed by Jung et al. (2018) and the Galaxy model introduced by Jung et al. (2021).Using physical parameters (M i , D L,i , D S,i , µ i ) for each synthetic lensing event, we computed the corresponding lensing observables, specifically the event timescale and angular Einstein radius, according to the following relations: Then, the posteriors of the lens mass and distance were subsequently constructed by assigning a weight to each event of Here (t E , θ E ) represent the measured values of the observables, and [σ(t E ), σ(θ E )] denote their respective uncertainties.In Fig. 12, we present the Bayesian posteriors of the primary lens mass M 1 and the distances to the lens and source, D L and D S , of OGLE-2023-BLG-0836.In Table 5 we list the masses of the individual lens components (M 1 , M 2 , M 3 ), distance to the lens, and the projected separations of the individual lens companions from the primary (a ⊥,2 , a ⊥,3 ).The physical parameters were derived based on the observables of the outer solution, which provided the best fit to the data.Given the similarity of the observables, the physical parameters derived from the other solutions are similar to the presented values.For each physical parameter, we provide the median of the Bayesian posterior as a representative value and estimate the uncertainty range as the 16% and 84% of the distribution.The least massive component of the lens has a mass M 3 ∼ 4.4 M J , which classifies it as a giant planet.The masses of the other lens components M 1 ∼ 0.71 M ⊙ and M 2 ∼ 0.56 M ⊙ correspond to those of mid-and late Ktype main-sequence stars.Given that the planetary separation  a ⊥,3 (au) 3.70 +0.98   −1.16   between M 1 and M 3 , a ⊥,3 ∼ 3.7 au, is not much greater than that between the M 1 and M 2 binary pair, a ⊥,2 ∼ 1.9 au, it is likely that the planet orbits both binary components.However, the possibility of the planet orbiting one of the binary components cannot be entirely ruled out because of the projected nature of the separations.The estimated distance to the lens is D L ∼ 5.1 kpc, and the probabilities for the lens lying in the disk and bulge are 66% and 34%, respectively.

Summary and conclusion
We conducted an analysis of the peculiar lensing event OGLE-2023-BLG-0836, for which the light curve is characterized by two distinctive anomaly features produced by a caustic crossing and a cusp approach of a source.Despite the comprehensive exploration of the parameter space, we were unable to identify a binary-lens solution capable of sufficiently explaining both features within the anomaly.
From the analysis with a sophisticated model prompted by the fact that each anomaly feature can be approximated by a 2L1S model, we arrived at the conclusion that a triple-mass lens system is necessary to account for the observed anomaly pattern in the lensing light curve.A binary-lens binary-source interpretation could also offer an approximate explanation for the anomaly pattern, but this interpretation was rejected with a high degree of statistical confidence.Through the detailed triple-lens modeling, we identified three distinct solutions resulting from the degeneracy in the separation between the primary and the least massive companion of the lens.
Through a Bayesian analysis using the measured observables of the event timescale and angular Einstein radius, we determined that the least massive component of the lens has a planetary mass of 4.36 +2.35  −2.18 M J .This planet orbits within a stellar binary system composed of two stars with masses 0.71 +0.38  −0.36 M ⊙ and 0.56 +0.30  −0.28 M ⊙ .This lensing event signifies the sixth occurrence of a microlensing planetary system in which a planet belongs to a stellar binary system.

Fig. 1 .
Fig. 1.Lensing light curve of OGLE-2023-BLG-0836.The top panel displays an enlarged view focused on the vicinity of the anomaly.
Fig. 2. Division of the anomaly into two parts.The curve presented in the upper panel represents a 2L1S model derived by fitting the data excluding those around the cusp-approaching feature, while the curve in the lower panel is a 2L1S model obtained by fitting the data with the exclusion of the data around caustic-crossing feature.

Fig. 3 .
Fig.3.Lens system configurations of the two 2L1S solutions for which the model curves are presented in the corresponding panels of Fig.2.In each panel, the red figure is the caustic, the line represents the source trajectory, and the arrow on the source trajectory indicates the direction of the source motion.By convention, the abscissa of these 2L1S diagrams is defined by the binary axis of the lens system.

Fig. 5 .
Fig. 5. Model curves of the best-fit 3L1S solution (outer solution) and 2L2S solution in the region of the anomaly.The lower four panels present the residuals from the three degenerate 3L1S solutions (inner, intermediate, and outer solutions) and the 2L2S solution.

Fig. 6 .
Fig. 6.Relative distribution of the normalized source radius.The solid vertical line indicates the median value, and the two dotted lines represent the 1σ ranges of the distribution.

Fig. 8 .
Fig. 8. Zoomed-in view around the caustic-crossing feature.Model curves of the three degenerate solutions (outer, intermediate, and inner) are drawn in the top panel, and the residuals from the models are shown in the lower panels.

Fig. 10 .
Fig. 10.Cumulative distribution of χ 2 difference between the 2L2S and 3L1S solutions.The light curve in the upper panel is provided to illustrate the region of disparity in the fit.

Fig. 11 .
Fig. 11.Positions of the source and red giant clump (RGC) centroid in the instrumental color-magnitude diagram, created by merging observations from KMTC (gray dots) and HST (brown dots).

Fig. 12 .
Fig. 12. Bayesian posteriors of the primary lens mass (M 1 ) and the distances to the lens (D L ) and source (D S ) of the lensing event OGLE-2023-BLG-0836.Within each panel the event contributions from the disk and bulge lenses are illustrated by blue and red curves, and the black curve represents the combined distribution of the two lens populations.The solid vertical line marks the median value, and the dotted lines indicate the 1σ range of the posterior distribution.

Table 3 .
Best-fit parameters of 2L2S solution.