11institutetext: Max-Planck-Institut für Astrophysik, Karl-Schwarzschild-Str. 1, 85748 Garching, Germany
e-mail: [email protected]
22institutetext: Technical University of Munich, TUM School of Natural Sciences, Physics Department, James-Franck Str. 1, 85748 Garching, Germany 33institutetext: Pyörrekuja 5 A, 04300 Tuusula, Finland 44institutetext: Sub-Department of Astrophysics, Department of Physics, University of Oxford, Denys Wilkinson Building, Keble Road, Oxford, OX1 3RH, UK 55institutetext: Department of Astronomy & Astrophysics, University of Chicago, Chicago, IL 60637, USA 66institutetext: Kavli Institute for Cosmological Physics, University of Chicago, Chicago, IL 60637, USA 77institutetext: Center for Astronomy, Space Science and Astrophysics, Independent University, Bangladesh, Dhaka 1229, Bangladesh

GPU-Accelerated Gravitational Lensing &\&& Dynamical (GLaD) Modeling for Cosmology and Galaxies

Han Wang\orcidlink0000-0002-1293-5503 1122    Sherry H. Suyu\orcidlink0000-0001-5568-6052 2211    Aymeric Galan \orcidlink0000-0003-2547-9815 2211    Aleksi Halkola 33    Michele Cappellari\orcidlink0000-0002-1283-8420 44    Anowar J. Shajib 556677    Miha Cernetic \orcidlink0000-0002-5088-1745 55
(Received / Accepted)

Time-delay distance measurements from strongly lensed quasars provide a robust and independent method for determining the Hubble constant (H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT). This approach offers a crucial cross-check against H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT measurements obtained from the standard distance ladder in the late universe and the cosmic microwave background in the early universe. However, the mass-sheet degeneracy in strong lensing models may introduce significant systematic uncertainty, limiting the precision of H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT estimates. Dynamical modeling highly complements strong lensing to break the mass-sheet degeneracy, as both methods model the mass distribution of galaxies but rely on different sets of observational constraints. In this study, we develop a methodology and software framework for efficient joint modeling of stellar kinematic and lensing data. Using simulated lensing and kinematic data of the lensed quasar system RXJ1131--1131 as a test case, we demonstrate that approximately 4% precision on H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT is achievable with high-quality and signal-to-noise data. Through extensive modeling, we examine the impact of the presence of a supermassive black hole in the lens galaxy and potential systematic biases in kinematic data on H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT measurements. Our results demonstrate that either using a prior range for black hole mass and orbital anisotropy, as motivated by studies of nearby galaxies, or excluding the central bins in the kinematic data, can both effectively mitigate potential biases on H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT induced by the black hole. By testing on mock kinematic data with values that are systematically biased, we emphasize the importance of using kinematic data with systematic errors under sub-percent control, which is currently achievable. Additionally, we leverage GPU parallelization to accelerate Bayesian inference, reducing a previously month-long process by an order of magnitude. This pipeline offers significant potential for advancing cosmological and galaxy evolution studies with large datasets.

Key Words.:
gravitational lensing: strong–stellar dynamics–cosmological parameters–galaxies: elliptical – data analysis: methods

1 Introduction

The Hubble constant, H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT, sets the local expansion rate of the universe and plays a crucial role in understanding its age and size. Previous studies have reported a significant 5σ5𝜎5\sigma5 italic_σ tension between H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT measurements from the cosmic microwave background (CMB), which gives H0=67.4±0.5kms1Mpc1subscript𝐻0plus-or-minus67.40.5kmsuperscripts1superscriptMpc1H_{0}=67.4\pm 0.5\,\rm km\,s^{-1}\,Mpc^{-1}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT = 67.4 ± 0.5 roman_km roman_s start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT roman_Mpc start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT (e.g., Planck Collaboration et al. 2020), and local distance indicators, such as supernovae (SNe) and Cepheid variables, which yield H0=73.0±1.0kms1Mpc1subscript𝐻0plus-or-minus73.01.0kmsuperscripts1superscriptMpc1H_{0}=73.0\pm 1.0\,\rm km\,s^{-1}\,Mpc^{-1}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT = 73.0 ± 1.0 roman_km roman_s start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT roman_Mpc start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT (e.g., Riess et al. 2022). However, recent measurements from the Chicago-Carnegie Hubble Program (e.g., Freedman et al. 2024), which are also based on the SN distance ladder, show no significant tension with the CMB, leaving the true discrepancy uncertain. Riess et al. (2024) highlighted that the H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT measurement in Freedman et al. (2024) was based on a subsample selection. Whether the tension is real, or merely a result of systematic uncertainties that were not known and not incorporated in the measurements, remains a topic of debate (Efstathiou & Gratton 2020; Abdalla et al. 2022; Yeung & Chu 2022; Freedman & Madore 2023), but if confirmed, it would indicate the need for new physics beyond the standard cosmological model.

Time-delay cosmography offers a distinct approach, separate from the previously mentioned methods, to measure H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT by analyzing the brightness variations of sources like quasars or supernovae. It constrains cosmological parameters by measuring the time delay between multiple lensed images of the source (Refsdal 1964; Meylan et al. 2006; Treu & Marshall 2016; Treu et al. 2022; Treu & Shajib 2023; Birrer et al. 2024; Oguri 2019; Liao et al. 2022; Suyu et al. 2024). By determining the time-delay distance to the lens system, it is possible to infer the value of H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT. However, this approach is affected by the mass-sheet degeneracy (MSD) in strong lensing (SL) (e.g., Falco et al. 1985; Gorenstein et al. 1988; Birrer et al. 2016; Chen et al. 2021a). We categorize MSD into two types: external and internal. Both can potentially bias estimates of H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT. The external MSD, which arises from line-of-sight (LoS) effects, can be controlled by studying the environments of the lens galaxies (e.g., Wells et al. 2024). The internal MSD arises from the unknown radial profile of the lens galaxies’ mass distribution (e.g., Schneider & Sluse 2013). This degeneracy allows for equally well-fitting models of the observed lensing data while introducing a linear bias in the inferred value of H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT.

A common strategy to address the internal MSD is to incorporate independent datasets, such as kinematic or weak lensing data (e.g., Treu & Koopmans 2002; Shajib et al. 2020; Birrer et al. 2020; Birrer & Treu 2021; Yıldırım et al. 2023; Shajib et al. 2023; Khadka et al. 2024). These additional observations help detect changes in the mass density slope induced by the internal MSD in SL at the inner region within the Einstein radius REinsubscript𝑅EinR_{\rm Ein}italic_R start_POSTSUBSCRIPT roman_Ein end_POSTSUBSCRIPT and the outer region 8REinsimilar-toabsent8subscript𝑅Ein\sim 8R_{\rm Ein}∼ 8 italic_R start_POSTSUBSCRIPT roman_Ein end_POSTSUBSCRIPT from the lens galaxy’s centroid, allowing for a more robust constraint on the mass distribution and, consequently, on H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT.

With high-resolution kinematic maps provided by the James Webb Space Telescope (JWST) Near-Infrared Spectrograph integrated field unit (NIRSpec IFU) (Jakobsen et al. 2022), we can obtain more precise stellar velocity dispersion measurements over 2D space compared to previous facilities. Yıldırım et al. (2020) developed a pipeline that enables self-consistent joint modeling by simultaneously fitting lensing and dynamical data to infer H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT value. This code combines lensing mass modeling through pixelated source reconstruction (Suyu & Halkola 2010) with dynamical mass models based on the Jeans equations in an axisymmetric geometry (Cappellari 2008). Yıldırım et al. (2023) applied this joint modeling approach to simulated JWST-like kinematic datasets for the lensed quasar system RXJ11311231RXJ11311231\rm RXJ1131-1231RXJ1131 - 1231 (hereafter referred to as RXJ1131 for simplicity). They explicitly modeled the internal MSD using an isothermal profile with an extended core. Their results demonstrated the power of combining SL with kinematics, showing that the internal MSD can be effectively broken. They successfully recovered the mock input value of H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT with a precision of 4%percent44\%4 % for a single-lensed quasar system.

The H0LiCOW collaboration reported an H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT measurement with 2.4%percent2.42.4\%2.4 % precision by combining six lensed quasar systems (Wong et al. 2020). These analyses tested two specific mass models, the composite model (baryonic component + dark matter) and the elliptical power-law model, while performing lens modeling without explicitly accounting for the internal MSD. Intuitively, explicitly modeling the internal MSD makes the adopted mass model more flexible, allowing for a broader range of mass distributions. High-resolution spatial kinematics can help distinguish between these more flexible models. However, H0LiCOW used slit kinematics, which primarily served to validate the best-fit mass models rather than to differentiate between them, as slit kinematics alone is insufficient to break the MSD and measure distances with a few-percent uncertainty on an individual lens basis. If mass model assumptions are relaxed and an internal mass sheet—maximally degenerate with H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT—is incorporated, the precision of the H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT constraint from the six lensed quasar systems degrades to 5%percent55\%5 % or 8%percent88\%8 %, depending on whether external priors from non-time-delay lenses are used for orbital anisotropy (Birrer et al. 2020). The TDCOSMO collaboration continues to investigate potential degeneracies and biases in the measurement of H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT caused by the internal MSD in lens modeling (e.g., Millon et al. 2020; Birrer & Treu 2021; Chen et al. 2021a; Van de Vyvere et al. 2022; Gomer et al. 2022), previously studied by the H0LiCOW collaboration. As part of TDCOSMO, Shajib et al. (2023) conducted a joint modeling analysis to explicitly break the internal MSD using spatially resolved kinematics from KCWI (an integral field spectrograph at Keck (Morrissey et al. 2018)). Their study yielded a value of H0=77.17.1+7.3kms1,Mpc1subscript𝐻0superscriptsubscript77.17.17.3kmsuperscripts1superscriptMpc1H_{0}=77.1_{-7.1}^{+7.3}\leavevmode\nobreak\ \rm km\leavevmode\nobreak\ s^{-1}% ,Mpc^{-1}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT = 77.1 start_POSTSUBSCRIPT - 7.1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 7.3 end_POSTSUPERSCRIPT roman_km roman_s start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT , roman_Mpc start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT, achieving a precision of approximately 9.5%percent9.59.5\%9.5 %, from a single time-delay lens system. This analysis was constrained by the kinematic resolution of KCWI.111The kinematic data exhibit a signal-to-noise ratio of 23Å123superscriptitalic-Å123\leavevmode\nobreak\ \AA^{-1}23 italic_Å start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT in the rest-frame wavelength range 39854085Å39854085italic-Å3985-4085\leavevmode\nobreak\ \AA3985 - 4085 italic_Å across 41 bins, with a seeing effect of 0.960.960.96\arcsec0.96 ″ in full width at half maximum (FWHM). The diffraction-limited resolution of JWST will offer significantly greater precision, further enhancing kinematic constraints.

The TDCOSMO collaboration aims to constrain H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT to within 2% by combining spatially resolved kinematics data obtained from the JWST NIRSpec IFU for seven gravitational lenses. In order to achieve this level of precision and accuracy, extensive tests have been conducted, including examining the impact of the field of view (FoV) on kinematics, comparing different mass models, such as the composite and power-law models and evaluating various dark matter profiles, including the standard NFW profile and its generalized form (e.g., Yıldırım et al. 2020, 2023). Additionally, the influence of the deprojected 3D shape of lens galaxies has been investigated (Shajib et al. 2023; Huang et al. 2025). Exploring these effects requires substantial computational resources, making joint modeling highly demanding. For a single lensed-quasar system such as RXJ1131, Bayesian inference using the Markov chain Monte Carlo (MCMC) method takes a month to complete using traditional CPU-based methods.

In this paper, we present GLaD (Gravitational Lensing and Dynamics), a GPU-accelerated joint modeling code for time-delay cosmography and galaxy studies, built upon Yıldırım et al. (2020), and the GLEE software (Suyu & Halkola 2010; Suyu et al. 2012), for lensing modeling, along with JamPy222https://pypi.org/project/jampy/ (Cappellari 2008, 2020) for dynamical modeling.333GLaD can be performed on the lens galaxy or the lensed background source galaxy. The GLaD modeling presented here focuses on the lens galaxy, in contrast to the GLaD modeling of the lensed source in Chirivì et al. (2020). GLaD significantly reduces the Bayesian inference runtime from several months to just a few days. Furthermore, we probe two additional effects, the mass of the black hole (BH) in the lens galaxy and the possible systematic error in the kinematics measurement from the IFU data, which may bias H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT inference. On the one hand, since lens galaxies are typically massive elliptical galaxies with high velocity dispersions σdisp>200kms1subscript𝜎disp200kmsuperscripts1\sigma_{\rm disp}>200\leavevmode\nobreak\ \rm km\leavevmode\nobreak\ s^{-1}italic_σ start_POSTSUBSCRIPT roman_disp end_POSTSUBSCRIPT > 200 roman_km roman_s start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT (Knabel et al. 2024), with corresponding BH mass MBH>108Msubscript𝑀BHsuperscript108subscriptMdirect-productM_{\rm BH}>10^{8}\leavevmode\nobreak\ {\rm M_{\odot}}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT > 10 start_POSTSUPERSCRIPT 8 end_POSTSUPERSCRIPT roman_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT (Kormendy & Ho 2013; McConnell & Ma 2013), the presence of a massive BH may be detectable in high-resolution kinematic data. On the other hand, kinematic measurements are susceptible to systematic errors, especially when different methods are used to derive velocities from IFU data. For example, using stellar population synthesis models can introduce errors based on assumptions about star formation history and metallicity. Additionally, inferred velocities can vary depending on the chosen stellar libraries. These factors must be mitigated to attain the precision and accuracy required for cosmography. Knabel et al. (2025) recently conducted a detailed study on the accuracy of kinematic measurements, demonstrating that percent-level precision is achievable using cleaned stellar libraries—stellar libraries refined to exclude spectra affected by artefacts or poor data quality. Previously, kinematic accuracy was limited to the few-percent level. In this work, we assess the impact of systematic errors by analyzing a worst-case hypothetical scenario, assuming a 5% uncertainty in kinematic measurements of H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT, even though the actual effect is expected to be much smaller, around 1%. We highlight the importance of the current developments for kinematic measurements.

We perform all the tests described above using GLaD on simulated lensing and kinematic data for the RXJ1131 system. This system has the most precise time-delay measurements, with an accuracy of approximately 1.6%percent1.61.6\%1.6 %, among the six systems in the H0LiCOW sample. Additionally, the lens galaxy in RXJ1131, with a redshift of z=0.295𝑧0.295z=0.295italic_z = 0.295, is the closest among these systems and will provide the most accurate kinematic measurements. Furthermore, the galaxy’s central velocity dispersion of σdisp300kms1subscript𝜎disp300kmsuperscripts1\sigma_{\rm disp}\geq 300\leavevmode\nobreak\ \rm km\leavevmode\nobreak\ s^{-1}italic_σ start_POSTSUBSCRIPT roman_disp end_POSTSUBSCRIPT ≥ 300 roman_km roman_s start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT (Suyu et al. 2014; Shajib et al. 2023) strongly suggests the presence of a supermassive BH.

This paper is organized as follows. In Sect. 2, we provide an overview of lensing theory and introduce the MSD in lens modeling. We also present the dynamical modeling approach. In Sect. 3, we describe the GPU-accelerated components of the joint modeling and provide a detailed overview of the modeling workflow. In Sect. 4, we describe the simulated lensing and kinematic datasets for the lensed quasar system RXJ1131. In Sect. 5, we present the results of the joint modeling and discuss the effects of BH mass and potential systematic errors in the kinematic map. In Sect. 6, we summarize our work and present concluding remarks and an outlook. Throughout this paper, we adopt a standard cosmological model with H0=82.5kms1Mpc1subscript𝐻082.5kmsuperscripts1superscriptMpc1H_{0}=82.5\leavevmode\nobreak\ \text{km}\leavevmode\nobreak\ \text{s}^{-1}% \leavevmode\nobreak\ \text{Mpc}^{-1}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT = 82.5 km s start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT Mpc start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT, a matter density parameter of Ωm=0.27subscriptΩm0.27\Omega_{\rm m}=0.27roman_Ω start_POSTSUBSCRIPT roman_m end_POSTSUBSCRIPT = 0.27, and a dark energy density of ΩΛ=0.73subscriptΩΛ0.73\Omega_{\Lambda}=0.73roman_Ω start_POSTSUBSCRIPT roman_Λ end_POSTSUBSCRIPT = 0.73. Our choice of cosmology is motivated by the time-delay distance measurements of RXJ1131 from Suyu et al. (2014). Note that our conclusions are independent of the choice of cosmological model. Additionally, all runtime comparisons across different modeling approaches are conducted using 64-bit floating-point precision. All tests are performed on a 2.10 GHz, 16-core Intel(R) Xeon(R) Silver 4110 CPU and an NVIDIA A100 GPU.

2 Overview of the lens and dynamical modeling

In Sect. 2.1, we provide a brief overview of the SL formalism in the context of time-delay cosmography. In Sect. 2.2, we introduce the MSD, a major source of systematic uncertainty in SL modeling that limits the precision of H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT measurements. The internal MSD arises from the unknown size and brightness of source galaxies, as well as the uncertain mass distribution of lens galaxies. These uncertainties impact the measurement of the time-delay distance DΔtsubscript𝐷ΔtD_{\Delta\rm t}italic_D start_POSTSUBSCRIPT roman_Δ roman_t end_POSTSUBSCRIPT, which is directly proportional to H01superscriptsubscript𝐻01H_{0}^{-1}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT. Similarly, the external MSD, caused by unknown mass distributions along the LoS, introduces an additional uncertainty in DΔtsubscript𝐷ΔtD_{\Delta\rm t}italic_D start_POSTSUBSCRIPT roman_Δ roman_t end_POSTSUBSCRIPT measurement, as discussed in Sect. 2.3. In this section, we also demonstrate that the external MSD does not affect dynamical modeling at the galaxy scale, where both lensing and kinematic data are available. In Sect. 2.4, we provide a brief overview of stellar dynamical modeling, assuming an axisymmetric mass distribution and employing the Jeans Anisotropic Modeling (JAM) approach (Cappellari 2008, 2020).

2.1 Strong lensing

In the SL scenario, massive foreground galaxies act as gravitational lenses, warping spacetime and bending light from background sources. This causes each light beam to follow a slightly different path, resulting in multiple images of the background sources. Image i𝑖iitalic_i arrives at the observer with a time delay compared to the unlensed case:

ti(𝜽,𝜷)=(1+zd)cDdDsDdsϕL(𝜽,𝜷)subscript𝑡𝑖superscript𝜽absentsuperscript𝜷absent1subscript𝑧d𝑐subscript𝐷dsubscript𝐷ssubscript𝐷dssubscriptitalic-ϕLsuperscript𝜽absentsuperscript𝜷absentt_{i}(\bm{\theta}^{\,},\bm{\beta}^{\,})=\frac{(1+z_{\rm d})}{c}\frac{D_{\rm d}% D_{\rm s}}{D_{\rm ds}}\phi_{\rm L}(\bm{\theta}^{\,},\bm{\beta}^{\,})italic_t start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( bold_italic_θ start_POSTSUPERSCRIPT end_POSTSUPERSCRIPT , bold_italic_β start_POSTSUPERSCRIPT end_POSTSUPERSCRIPT ) = divide start_ARG ( 1 + italic_z start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT ) end_ARG start_ARG italic_c end_ARG divide start_ARG italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT italic_D start_POSTSUBSCRIPT roman_s end_POSTSUBSCRIPT end_ARG start_ARG italic_D start_POSTSUBSCRIPT roman_ds end_POSTSUBSCRIPT end_ARG italic_ϕ start_POSTSUBSCRIPT roman_L end_POSTSUBSCRIPT ( bold_italic_θ start_POSTSUPERSCRIPT end_POSTSUPERSCRIPT , bold_italic_β start_POSTSUPERSCRIPT end_POSTSUPERSCRIPT ) (1)

where 𝜽𝜽\bm{\theta}bold_italic_θ is the angular image position, 𝜷𝜷\bm{\beta}bold_italic_β the background source position, zdsubscript𝑧dz_{\rm d}italic_z start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT the lens redshift, Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT, Dssubscript𝐷sD_{\rm s}italic_D start_POSTSUBSCRIPT roman_s end_POSTSUBSCRIPT and Ddssubscript𝐷dsD_{\rm ds}italic_D start_POSTSUBSCRIPT roman_ds end_POSTSUBSCRIPT the angular diameter distance to the lens, the source and the distance between the lens and source. The Fermat potential ϕLsubscriptitalic-ϕL\phi_{\rm L}italic_ϕ start_POSTSUBSCRIPT roman_L end_POSTSUBSCRIPT is written in terms of

ϕL(𝜽,𝜷)=(𝜽𝜷)22ψL(𝜽)subscriptitalic-ϕLsuperscript𝜽absentsuperscript𝜷absentsuperscriptsuperscript𝜽absentsuperscript𝜷absent22subscript𝜓Lsuperscript𝜽absent\phi_{\rm L}(\bm{\theta}^{\,},\bm{\beta}^{\,})=\frac{(\bm{\theta}^{\,}-\bm{% \beta}^{\,})^{2}}{2}-\psi_{\rm L}(\bm{\theta}^{\,})italic_ϕ start_POSTSUBSCRIPT roman_L end_POSTSUBSCRIPT ( bold_italic_θ start_POSTSUPERSCRIPT end_POSTSUPERSCRIPT , bold_italic_β start_POSTSUPERSCRIPT end_POSTSUPERSCRIPT ) = divide start_ARG ( bold_italic_θ start_POSTSUPERSCRIPT end_POSTSUPERSCRIPT - bold_italic_β start_POSTSUPERSCRIPT end_POSTSUPERSCRIPT ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG 2 end_ARG - italic_ψ start_POSTSUBSCRIPT roman_L end_POSTSUBSCRIPT ( bold_italic_θ start_POSTSUPERSCRIPT end_POSTSUPERSCRIPT ) (2)

The difference in light travel time at an image position 𝜽𝒊subscript𝜽𝒊\bm{\theta_{i}}bold_italic_θ start_POSTSUBSCRIPT bold_italic_i end_POSTSUBSCRIPT, relative to another observed image position 𝜽𝒋subscript𝜽𝒋\bm{\theta_{j}}bold_italic_θ start_POSTSUBSCRIPT bold_italic_j end_POSTSUBSCRIPT, arises from two components of ϕLsubscriptitalic-ϕL\phi_{\rm L}italic_ϕ start_POSTSUBSCRIPT roman_L end_POSTSUBSCRIPT. The first component in Eq. 2 represents the geometric excess path length, while the second accounts for the gravitational time delay caused by the 2D lens potential ψLsubscript𝜓L\psi_{\rm L}italic_ψ start_POSTSUBSCRIPT roman_L end_POSTSUBSCRIPT. Thus, the time delay between the observed multiple images i𝑖iitalic_i and j𝑗jitalic_j can be derived as:

Δtij=(1+zd)cDdDsDds[ϕL(𝜽i,𝜷)ϕL(𝜽j,𝜷)].Δsubscript𝑡𝑖𝑗1subscript𝑧d𝑐subscript𝐷dsubscript𝐷ssubscript𝐷dsdelimited-[]subscriptitalic-ϕLsubscriptsuperscript𝜽absent𝑖superscript𝜷absentsubscriptitalic-ϕLsubscriptsuperscript𝜽absent𝑗superscript𝜷absent\Delta t_{ij}=\frac{(1+z_{\rm d})}{c}\frac{D_{\rm d}D_{\rm s}}{D_{\rm ds}}% \left[\phi_{\rm L}(\bm{\theta}^{\,}_{i},\bm{\beta}^{\,})-\phi_{\rm L}(\bm{% \theta}^{\,}_{j},\bm{\beta}^{\,})\right].roman_Δ italic_t start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT = divide start_ARG ( 1 + italic_z start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT ) end_ARG start_ARG italic_c end_ARG divide start_ARG italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT italic_D start_POSTSUBSCRIPT roman_s end_POSTSUBSCRIPT end_ARG start_ARG italic_D start_POSTSUBSCRIPT roman_ds end_POSTSUBSCRIPT end_ARG [ italic_ϕ start_POSTSUBSCRIPT roman_L end_POSTSUBSCRIPT ( bold_italic_θ start_POSTSUPERSCRIPT end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT , bold_italic_β start_POSTSUPERSCRIPT end_POSTSUPERSCRIPT ) - italic_ϕ start_POSTSUBSCRIPT roman_L end_POSTSUBSCRIPT ( bold_italic_θ start_POSTSUPERSCRIPT end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT , bold_italic_β start_POSTSUPERSCRIPT end_POSTSUPERSCRIPT ) ] . (3)

We define the normalization factor in Eq. 3 as the time-delay distance DΔtsubscript𝐷ΔtD_{\Delta\rm t}italic_D start_POSTSUBSCRIPT roman_Δ roman_t end_POSTSUBSCRIPT (Suyu et al. 2010), which is proportional to H01superscriptsubscript𝐻01H_{0}^{-1}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT:

DΔt(1+zd)DdDsDds1H0subscript𝐷Δt1subscript𝑧dsubscript𝐷dsubscript𝐷ssubscript𝐷dsproportional-to1subscript𝐻0D_{\Delta\rm t}\equiv(1+z_{\rm d})\frac{D_{\rm d}D_{\rm s}}{D_{\rm ds}}\propto% \frac{1}{H_{0}}italic_D start_POSTSUBSCRIPT roman_Δ roman_t end_POSTSUBSCRIPT ≡ ( 1 + italic_z start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT ) divide start_ARG italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT italic_D start_POSTSUBSCRIPT roman_s end_POSTSUBSCRIPT end_ARG start_ARG italic_D start_POSTSUBSCRIPT roman_ds end_POSTSUBSCRIPT end_ARG ∝ divide start_ARG 1 end_ARG start_ARG italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT end_ARG (4)

By measuring the time delays ΔtijΔsubscript𝑡𝑖𝑗\Delta t_{ij}roman_Δ italic_t start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT and the positions of the lensed images 𝜽ijsubscript𝜽𝑖𝑗\bm{\theta}_{ij}bold_italic_θ start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT, we can reconstruct ϕLsubscriptitalic-ϕL\phi_{\rm L}italic_ϕ start_POSTSUBSCRIPT roman_L end_POSTSUBSCRIPT and infer H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT using Eq. 3.

2.2 Internal mass sheet degeneracy

The source position 𝜷𝜷\bm{\beta}bold_italic_β is not directly observable, and it can undergo an arbitrary affine transformation:

𝜷int=λint𝜷𝒂𝟎,subscript𝜷intsubscript𝜆int𝜷subscript𝒂0\bm{\beta}_{\rm int}=\lambda_{\rm int}\bm{\beta}-\bm{a_{0}},bold_italic_β start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT = italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT bold_italic_β - bold_italic_a start_POSTSUBSCRIPT bold_0 end_POSTSUBSCRIPT , (5)

where λintsubscript𝜆int\lambda_{\rm int}italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT and 𝒂𝟎subscript𝒂0\bm{a_{0}}bold_italic_a start_POSTSUBSCRIPT bold_0 end_POSTSUBSCRIPT affect the scaling and position of the source. These undetectable changes in 𝜷𝜷\bm{\beta}bold_italic_β can be induced by an affine transformation of the projected dimensionless surface mass density κgalsubscript𝜅gal\kappa_{\rm gal}italic_κ start_POSTSUBSCRIPT roman_gal end_POSTSUBSCRIPT of the lens galaxy:

κint=(1λint)+λintκgal,subscript𝜅int1subscript𝜆intsubscript𝜆intsubscript𝜅gal\kappa_{\rm int}=(1-\lambda_{\rm int})+\lambda_{\rm int}\kappa_{\rm gal},italic_κ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT = ( 1 - italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT ) + italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT italic_κ start_POSTSUBSCRIPT roman_gal end_POSTSUBSCRIPT , (6)

leaving observables such as image positions and the morphology of lensed image invariant under this transformation, which is known as the internal MSD (Falco et al. 1985). In other words, suppose we model the surface mass density of the lens galaxy as κgalsubscript𝜅gal\kappa_{\rm gal}italic_κ start_POSTSUBSCRIPT roman_gal end_POSTSUBSCRIPT (e.g., using a power-law profile), then κintsubscript𝜅int\kappa_{\rm int}italic_κ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT that accounts for the internal mass sheet would fit lensed image positions and morphology equally well. This transformation propagates to the lens potential via Poisson’s equation:

2ψL,int=2κint,superscript2subscript𝜓Lint2subscript𝜅int\nabla^{2}{\psi_{\rm L,int}}=2\kappa_{\rm int},∇ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_ψ start_POSTSUBSCRIPT roman_L , roman_int end_POSTSUBSCRIPT = 2 italic_κ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT , (7)

where the transformed lens potential is given by

ψL,int(𝜽)=1λint2|𝜽|2+𝒂𝟎𝜽+λintψL,gal(𝜽)+c0,subscript𝜓Lint𝜽1subscript𝜆int2superscript𝜽2subscript𝒂0𝜽subscript𝜆intsubscript𝜓Lgal𝜽subscript𝑐0\psi_{\rm L,int}(\bm{\theta})=\frac{1-\lambda_{\rm int}}{2}|\bm{\theta}|^{2}+% \bm{a_{0}}\cdot\bm{\theta}+\lambda_{\rm int}\psi_{\rm L,gal}(\bm{\theta})+c_{0},italic_ψ start_POSTSUBSCRIPT roman_L , roman_int end_POSTSUBSCRIPT ( bold_italic_θ ) = divide start_ARG 1 - italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT end_ARG start_ARG 2 end_ARG | bold_italic_θ | start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT + bold_italic_a start_POSTSUBSCRIPT bold_0 end_POSTSUBSCRIPT ⋅ bold_italic_θ + italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT italic_ψ start_POSTSUBSCRIPT roman_L , roman_gal end_POSTSUBSCRIPT ( bold_italic_θ ) + italic_c start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT , (8)

where c0subscript𝑐0c_{0}italic_c start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT is an arbitrary constant. Substituting ψL,intsubscript𝜓Lint\psi_{\rm L,int}italic_ψ start_POSTSUBSCRIPT roman_L , roman_int end_POSTSUBSCRIPT into Eqs. 1 and 3 cancels out the arbitrary additive constant c0subscript𝑐0c_{0}italic_c start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT and yields the rescaled time-delay distance:

DΔt,int=DΔt,galλint1λintH0,subscript𝐷Δtintsubscript𝐷Δtgalsubscript𝜆intproportional-to1subscript𝜆intsubscript𝐻0D_{\Delta\rm t,int}=\frac{D_{\Delta\rm t,gal}}{\lambda_{\rm int}}\propto\frac{% 1}{\lambda_{\rm int}H_{0}},italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT = divide start_ARG italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_gal end_POSTSUBSCRIPT end_ARG start_ARG italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT end_ARG ∝ divide start_ARG 1 end_ARG start_ARG italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT end_ARG , (9)

where DΔt,galsubscript𝐷ΔtgalD_{\Delta\rm t,gal}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_gal end_POSTSUBSCRIPT is associated with κgalsubscript𝜅gal\kappa_{\rm gal}italic_κ start_POSTSUBSCRIPT roman_gal end_POSTSUBSCRIPT and DΔt,intsubscript𝐷ΔtintD_{\Delta\rm t,int}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT with κintsubscript𝜅int\kappa_{\rm int}italic_κ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT. The internal MSD alters the mass density slope of lens galaxies. This occurs because, aside from the renormalization factor λintsubscript𝜆int\lambda_{\rm int}italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT in the second term of Eq. 6, the first term results in the addition of a constant sheet to the initial κgalsubscript𝜅gal\kappa_{\rm gal}italic_κ start_POSTSUBSCRIPT roman_gal end_POSTSUBSCRIPT. Therefore, if the intrinsic radial profile of the mass distribution in lens galaxies were known, the internal MSD would cease to be a degeneracy. However, in practice, the underlying mass distribution may not be known to sufficient precision, making the class of mass models κintsubscript𝜅int\kappa_{\rm int}italic_κ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT indistinguishable from κgalsubscript𝜅gal\kappa_{\rm gal}italic_κ start_POSTSUBSCRIPT roman_gal end_POSTSUBSCRIPT when relying solely on lensing data. In time-delay cosmography, this means that DΔt,intsubscript𝐷ΔtintD_{\Delta\rm t,int}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT yields a linearly scaled λintH0subscript𝜆intsubscript𝐻0\lambda_{\rm int}H_{0}italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT.

Dynamical modeling provides an independent measurement of the mass distribution in lens galaxies, as its constraints come from kinematic data, which are entirely different observables from those in lensing analyses. Moreover, galaxy dynamics measures the intrinsic density distribution in 3D rather than the projected mass surface density. Combining dynamical modeling with lensing modeling allows us to constrain the scaling factor λintsubscript𝜆int\lambda_{\rm int}italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT, meaning we can determine which κintsubscript𝜅int\kappa_{\rm int}italic_κ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT models within the internal MSD framework are favored. This approach helps break the internal MSD degeneracy (see Sect. 2.4).

2.3 External mass sheet degeneracy

Unlike internal MSD, which has relatively strong effects on small scales, such as altering mass density slopes of lens galaxies, external MSD merely performs the renormalisation of the underlying mass convergence distribution. We use a class of κintsubscript𝜅int\kappa_{\rm int}italic_κ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT to represent the mass distributions of lens galaxies, as they are all viable choices until distinguished by kinematic data. In the external MSD regime, κintsubscript𝜅int\kappa_{\rm int}italic_κ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT scales as:

κint,ext=(1κext)κint+κextsubscript𝜅intext1subscript𝜅extsubscript𝜅intsubscript𝜅ext\kappa_{\rm int,ext}=(1-\kappa_{\rm ext})\kappa_{\rm int}+\kappa_{\rm ext}italic_κ start_POSTSUBSCRIPT roman_int , roman_ext end_POSTSUBSCRIPT = ( 1 - italic_κ start_POSTSUBSCRIPT roman_ext end_POSTSUBSCRIPT ) italic_κ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT + italic_κ start_POSTSUBSCRIPT roman_ext end_POSTSUBSCRIPT (10)

where κextsubscript𝜅ext\kappa_{\rm ext}italic_κ start_POSTSUBSCRIPT roman_ext end_POSTSUBSCRIPT indicates the mass perturbations along the LoS that do not dynamically affect the mass distribution of lens galaxies at the primary lens plane.

Taking into account the influence of the external MSD, DΔt,intsubscript𝐷ΔtintD_{\Delta\rm t,int}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT is rescaled by

DΔt,int,ext=DΔt,int(1κext).subscript𝐷Δtintextsubscript𝐷Δtint1subscript𝜅extD_{\Delta\rm t,int,ext}=\frac{D_{\Delta\rm t,int}}{(1-\kappa_{\rm ext})}.italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int , roman_ext end_POSTSUBSCRIPT = divide start_ARG italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT end_ARG start_ARG ( 1 - italic_κ start_POSTSUBSCRIPT roman_ext end_POSTSUBSCRIPT ) end_ARG . (11)

The external convergence κextsubscript𝜅ext\kappa_{\rm ext}italic_κ start_POSTSUBSCRIPT roman_ext end_POSTSUBSCRIPT can be estimated by examining the lens environment using photometric and spectroscopic surveys, as well as through ray-tracing methods in cosmological simulations (e.g., Suyu et al. 2010; Greene et al. 2013; Suyu et al. 2014; Rusu et al. 2017). We investigate whether the renormalization factor (1κext)1subscript𝜅ext(1-\kappa_{\rm ext})( 1 - italic_κ start_POSTSUBSCRIPT roman_ext end_POSTSUBSCRIPT ) from the external MSD affects the dynamical modeling. We derive the 2D surface mass density Σint,extsubscriptΣintext\Sigma_{\rm int,ext}roman_Σ start_POSTSUBSCRIPT roman_int , roman_ext end_POSTSUBSCRIPT as

Σint,ext=Σcritκint,ext=Σcrit[(1κext)κint+κext],subscriptΣintextsubscriptΣcritsubscript𝜅intextsubscriptΣcritdelimited-[]1subscript𝜅extsubscript𝜅intsubscript𝜅ext\Sigma_{\rm int,ext}=\Sigma_{\rm crit}\kappa_{\rm int,ext}=\Sigma_{\rm crit}% \left[(1-\kappa_{\rm ext})\kappa_{\rm int}+\kappa_{\rm ext}\right],roman_Σ start_POSTSUBSCRIPT roman_int , roman_ext end_POSTSUBSCRIPT = roman_Σ start_POSTSUBSCRIPT roman_crit end_POSTSUBSCRIPT italic_κ start_POSTSUBSCRIPT roman_int , roman_ext end_POSTSUBSCRIPT = roman_Σ start_POSTSUBSCRIPT roman_crit end_POSTSUBSCRIPT [ ( 1 - italic_κ start_POSTSUBSCRIPT roman_ext end_POSTSUBSCRIPT ) italic_κ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT + italic_κ start_POSTSUBSCRIPT roman_ext end_POSTSUBSCRIPT ] , (12)

where ΣcritsubscriptΣcrit\Sigma_{\rm crit}roman_Σ start_POSTSUBSCRIPT roman_crit end_POSTSUBSCRIPT is the critical density. In the framework of external MSD, we express ΣcritsubscriptΣcrit\Sigma_{\rm crit}roman_Σ start_POSTSUBSCRIPT roman_crit end_POSTSUBSCRIPT in terms of DΔt,int,extsubscript𝐷ΔtintextD_{\rm\Delta t,int,ext}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int , roman_ext end_POSTSUBSCRIPT 444 DΔt,int,extsubscript𝐷ΔtintextD_{\Delta\rm t,int,ext}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int , roman_ext end_POSTSUBSCRIPT represents the actual distance, i,e, the distance that can be directly compared to the predictions from cosmological models. as

Σcrit=c24πGDΔt,int,ext(1+zd)Dd2,subscriptΣcritsuperscript𝑐24𝜋𝐺subscript𝐷Δtintext1subscript𝑧dsuperscriptsubscript𝐷d2\Sigma_{\rm crit}=\frac{c^{2}}{4\pi G}\frac{D_{\rm\Delta t,int,ext}}{(1+z_{\rm d% })D_{\rm d}^{2}},roman_Σ start_POSTSUBSCRIPT roman_crit end_POSTSUBSCRIPT = divide start_ARG italic_c start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG 4 italic_π italic_G end_ARG divide start_ARG italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int , roman_ext end_POSTSUBSCRIPT end_ARG start_ARG ( 1 + italic_z start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT ) italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG , (13)

where Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT 555 The value of Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT remains also unchanged by internal MSD as it is exclusively derived from the dynamical modeling. remains fully invariant under external MSD (Jee et al. 2015):

Dd,ext=Dd.subscript𝐷dextsubscript𝐷dD_{\rm d,ext}=D_{\rm d}.italic_D start_POSTSUBSCRIPT roman_d , roman_ext end_POSTSUBSCRIPT = italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT . (14)

By substituting Eqs. 13 and 14 into Eq. 12, we find that the factor (1κext)1subscript𝜅ext(1-\kappa_{\rm ext})( 1 - italic_κ start_POSTSUBSCRIPT roman_ext end_POSTSUBSCRIPT ) cancels out in the first term of Eq. 12. As a result, the 2D surface mass density Σint,extsubscriptΣintext\Sigma_{\rm int,ext}roman_Σ start_POSTSUBSCRIPT roman_int , roman_ext end_POSTSUBSCRIPT simplifies to

Σint,ext=c24πG1(1+zd)Dd2[DΔt,intκint+DΔt,int,extκext].subscriptΣintextsuperscript𝑐24𝜋𝐺11subscript𝑧dsuperscriptsubscript𝐷d2delimited-[]subscript𝐷Δtintsubscript𝜅intsubscript𝐷Δtintextsubscript𝜅ext\displaystyle\Sigma_{\rm int,ext}=\frac{c^{2}}{4\pi G}\frac{1}{(1+z_{\rm d})D_% {\rm d}^{2}}\left[D_{\rm\Delta t,int}\kappa_{\rm int}+D_{\rm\Delta t,int,ext}% \kappa_{\rm ext}\right].roman_Σ start_POSTSUBSCRIPT roman_int , roman_ext end_POSTSUBSCRIPT = divide start_ARG italic_c start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG 4 italic_π italic_G end_ARG divide start_ARG 1 end_ARG start_ARG ( 1 + italic_z start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT ) italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG [ italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT italic_κ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT + italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int , roman_ext end_POSTSUBSCRIPT italic_κ start_POSTSUBSCRIPT roman_ext end_POSTSUBSCRIPT ] . (15)

In the lensing and dynamical modeling, we focus on modeling the first term in Eq. 15, which remains unaffected by (1κext)1subscript𝜅ext(1-\kappa_{\rm ext})( 1 - italic_κ start_POSTSUBSCRIPT roman_ext end_POSTSUBSCRIPT ). The second term in the Eq. 15 is essentially a constant accounting for all the perturbations along LoS that do not affect the dynamics of the lens galaxy. As a result, constraining the internal MSD parameter λintsubscript𝜆int\lambda_{\rm int}italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT is independent of the external convergence.

2.4 Stellar dynamics

Here we briefly revisit the theoretical framework for the dynamical modeling. Stars within a galaxy can be characterized by the collisionless Boltzmann equation (e.g., Binney & Tremaine 1987, eq. 4-13b) which is a differential equation of the phase-space density f(𝒙,𝒗)𝑓𝒙𝒗f(\bm{x},\bm{v})italic_f ( bold_italic_x , bold_italic_v ) at the position 𝒙𝒙\bm{x}bold_italic_x with velocity 𝒗𝒗\bm{v}bold_italic_v,

ft+i=13vifxiψD,intxifvi=0.𝑓𝑡superscriptsubscript𝑖13subscript𝑣𝑖𝑓subscript𝑥𝑖subscript𝜓Dintsubscript𝑥𝑖𝑓subscript𝑣𝑖0\frac{\partial f}{\partial t}+\sum_{i=1}^{3}v_{i}\frac{\partial f}{\partial x_% {i}}-\frac{\partial\psi_{\rm D,int}}{\partial x_{i}}\frac{\partial f}{\partial v% _{i}}=0.divide start_ARG ∂ italic_f end_ARG start_ARG ∂ italic_t end_ARG + ∑ start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 3 end_POSTSUPERSCRIPT italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT divide start_ARG ∂ italic_f end_ARG start_ARG ∂ italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_ARG - divide start_ARG ∂ italic_ψ start_POSTSUBSCRIPT roman_D , roman_int end_POSTSUBSCRIPT end_ARG start_ARG ∂ italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_ARG divide start_ARG ∂ italic_f end_ARG start_ARG ∂ italic_v start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_ARG = 0 . (16)

This equation describes stars embedded in a 3D gravitational field of the lens galaxy, with ψD,intsubscript𝜓Dint\psi_{\rm D,int}italic_ψ start_POSTSUBSCRIPT roman_D , roman_int end_POSTSUBSCRIPT being the deprojection of the 2D lensing potential ψL,intsubscript𝜓Lint\psi_{\rm L,int}italic_ψ start_POSTSUBSCRIPT roman_L , roman_int end_POSTSUBSCRIPT (up to a constant factor), ensuring phase-space density conservation. The phase-space density is not accessible for galaxies, and we can only measure the velocities v𝑣vitalic_v along the LoS, and velocity dispersions σ𝜎\sigmaitalic_σ using the spectroscopy for distant galaxies z>0.1𝑧0.1z>0.1italic_z > 0.1. To solve the Eq. 16, we reduce the number of the degree freedom by assuming an axisymmetric mass distribution (ψD,int/ϕ=f/ϕ=0subscript𝜓Dintitalic-ϕ𝑓italic-ϕ0\partial\psi_{\rm D,int}/\partial\phi=\partial f/\partial\phi=0∂ italic_ψ start_POSTSUBSCRIPT roman_D , roman_int end_POSTSUBSCRIPT / ∂ italic_ϕ = ∂ italic_f / ∂ italic_ϕ = 0, with ϕitalic-ϕ\phiitalic_ϕ being the polar angle in the spherical coordinate system) and the spherically-aligned velocity ellipsoids. The choice of spherically-aligned velocity ellipsoids is due to the fact that lens galaxies are generally massive slow rotators. These galaxies exhibit a near-spherical mass distribution in their central regions, as opposed to a flat mass distribution characterized by cylindrically-aligned velocity ellipsoids. We multiply velocities along radial vrsubscript𝑣𝑟v_{r}italic_v start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT, polar vθsubscript𝑣𝜃v_{\theta}italic_v start_POSTSUBSCRIPT italic_θ end_POSTSUBSCRIPT and azimuthal direction vϕsubscript𝑣italic-ϕv_{\phi}italic_v start_POSTSUBSCRIPT italic_ϕ end_POSTSUBSCRIPT with Eq. 16 and integrate over all velocity space, obtaining two Jeans equations (e.g., Bacon et al. 1983, eqs. 1, 2)

(ρvr2¯)r+(1+βani)ρvr2¯ρvϕ2¯r=ρψD,intr,subscript𝜌¯superscriptsubscript𝑣𝑟2𝑟1subscript𝛽anisubscript𝜌¯superscriptsubscript𝑣𝑟2subscript𝜌¯superscriptsubscript𝑣italic-ϕ2𝑟subscript𝜌subscript𝜓Dint𝑟\frac{\partial\left(\rho_{*}\overline{v_{r}^{2}}\right)}{\partial r}+\frac{(1+% \beta_{\rm ani})\rho_{*}\overline{v_{r}^{2}}-\rho_{*}\overline{v_{\phi}^{2}}}{% r}=-\rho_{*}\frac{\partial\psi_{\rm D,int}}{\partial r},divide start_ARG ∂ ( italic_ρ start_POSTSUBSCRIPT ∗ end_POSTSUBSCRIPT over¯ start_ARG italic_v start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG ) end_ARG start_ARG ∂ italic_r end_ARG + divide start_ARG ( 1 + italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT ) italic_ρ start_POSTSUBSCRIPT ∗ end_POSTSUBSCRIPT over¯ start_ARG italic_v start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG - italic_ρ start_POSTSUBSCRIPT ∗ end_POSTSUBSCRIPT over¯ start_ARG italic_v start_POSTSUBSCRIPT italic_ϕ end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG end_ARG start_ARG italic_r end_ARG = - italic_ρ start_POSTSUBSCRIPT ∗ end_POSTSUBSCRIPT divide start_ARG ∂ italic_ψ start_POSTSUBSCRIPT roman_D , roman_int end_POSTSUBSCRIPT end_ARG start_ARG ∂ italic_r end_ARG , (17)
(1βani)(ρvr2¯)θ+(1βani)ρvr2¯ρvϕ2¯tanθ=ρψD,intθ,1subscript𝛽anisubscript𝜌¯superscriptsubscript𝑣𝑟2𝜃1subscript𝛽anisubscript𝜌¯superscriptsubscript𝑣𝑟2subscript𝜌¯superscriptsubscript𝑣italic-ϕ2𝜃subscript𝜌subscript𝜓Dint𝜃\frac{(1-\beta_{\rm ani})\partial\left(\rho_{*}\overline{v_{r}^{2}}\right)}{% \partial\theta}+\frac{(1-\beta_{\rm ani})\rho_{*}\overline{v_{r}^{2}}-\rho_{*}% \overline{v_{\phi}^{2}}}{\tan\theta}=-\rho_{*}\frac{\partial\psi_{\rm D,int}}{% \partial\theta},divide start_ARG ( 1 - italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT ) ∂ ( italic_ρ start_POSTSUBSCRIPT ∗ end_POSTSUBSCRIPT over¯ start_ARG italic_v start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG ) end_ARG start_ARG ∂ italic_θ end_ARG + divide start_ARG ( 1 - italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT ) italic_ρ start_POSTSUBSCRIPT ∗ end_POSTSUBSCRIPT over¯ start_ARG italic_v start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG - italic_ρ start_POSTSUBSCRIPT ∗ end_POSTSUBSCRIPT over¯ start_ARG italic_v start_POSTSUBSCRIPT italic_ϕ end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG end_ARG start_ARG roman_tan italic_θ end_ARG = - italic_ρ start_POSTSUBSCRIPT ∗ end_POSTSUBSCRIPT divide start_ARG ∂ italic_ψ start_POSTSUBSCRIPT roman_D , roman_int end_POSTSUBSCRIPT end_ARG start_ARG ∂ italic_θ end_ARG , (18)

with the following notations

ρvkvj¯=vkvjfd3v,subscript𝜌¯subscript𝑣𝑘subscript𝑣𝑗subscript𝑣𝑘subscript𝑣𝑗𝑓superscriptd3𝑣\rho_{*}\overline{v_{k}v_{j}}=\int v_{k}v_{j}f\text{d}^{3}v,italic_ρ start_POSTSUBSCRIPT ∗ end_POSTSUBSCRIPT over¯ start_ARG italic_v start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT italic_v start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT end_ARG = ∫ italic_v start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT italic_v start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT italic_f d start_POSTSUPERSCRIPT 3 end_POSTSUPERSCRIPT italic_v , (19)
βani=1vθ2¯/vr2¯subscript𝛽ani1¯superscriptsubscript𝑣𝜃2¯superscriptsubscript𝑣𝑟2\beta_{\rm ani}=1-\overline{v_{\theta}^{2}}/\overline{v_{r}^{2}}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT = 1 - over¯ start_ARG italic_v start_POSTSUBSCRIPT italic_θ end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG / over¯ start_ARG italic_v start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG (20)

where ρ=fd3𝒗subscript𝜌𝑓superscriptd3𝒗\rho_{*}=\int f\text{d}^{3}\bm{v}italic_ρ start_POSTSUBSCRIPT ∗ end_POSTSUBSCRIPT = ∫ italic_f d start_POSTSUPERSCRIPT 3 end_POSTSUPERSCRIPT bold_italic_v represents an estimate of the luminosity density of the stellar tracer from which the observed kinematics are derived, ρvkvj¯subscript𝜌¯subscript𝑣𝑘subscript𝑣𝑗\rho_{*}\overline{v_{k}v_{j}}italic_ρ start_POSTSUBSCRIPT ∗ end_POSTSUBSCRIPT over¯ start_ARG italic_v start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT italic_v start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT end_ARG represents the second intrinsic velocity moment in the spherical coordinate, and βanisubscript𝛽ani\beta_{\rm ani}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT denotes the orbital anisotropy. The anisotropy presents stellar motion preference regarding the direction. The anisotropy βani>0subscript𝛽ani0\beta_{\rm ani}>0italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT > 0 indicates most stars inside the galaxies move along the radial direction. In contrast, βani<0subscript𝛽ani0\beta_{\rm ani}<0italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT < 0 indicates the tangential motions dominate the galaxies.

To derive the LoS velocities vLoS2¯¯superscriptsubscript𝑣LoS2\overline{v_{\rm LoS}^{2}}over¯ start_ARG italic_v start_POSTSUBSCRIPT roman_LoS end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG from Jeans equations (see Eqs. 17 and 18), it is essential to reconstruct the intrinsic luminosity and mass density of the lens galaxy in 3D. It is a common strategy to first apply multiple gaussian expansion (MGE Emsellem et al. 1994; Cappellari 2002) to the observed 2D surface brightness (SB) and mass convergence then deproject them later using inclination angle. The observed 2D SB of the lens galaxies, I(x,y)𝐼superscript𝑥superscript𝑦I(x^{\prime},y^{\prime})italic_I ( italic_x start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , italic_y start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) 666Note that we present the general case here. In this paper, we perform 1D MGE fitting (see Sect. 3.2) to model the profile along the radial direction R𝑅Ritalic_R with a fixed axis ratio q𝑞qitalic_q, i.e., R=x2+y2/q2𝑅superscript𝑥2superscript𝑦2superscript𝑞2R=\sqrt{x^{2}+y^{2}/q^{2}}italic_R = square-root start_ARG italic_x start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT + italic_y start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT / italic_q start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG., is expressed through multiple Gaussians:

I(x,y)=j=1NI0,jexp[12σj2(x2+y2qj2)],𝐼superscript𝑥superscript𝑦superscriptsubscript𝑗1𝑁subscript𝐼0𝑗12subscriptsuperscript𝜎2𝑗superscript𝑥2superscript𝑦2subscriptsuperscript𝑞2𝑗I(x^{\prime},y^{\prime})=\sum_{j=1}^{N}I_{0,j}\exp\left[-\frac{1}{2\sigma^{% \prime 2}_{j}}\left(x^{\prime 2}+\frac{y^{\prime 2}}{q^{\prime 2}_{j}}\right)% \right],italic_I ( italic_x start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , italic_y start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) = ∑ start_POSTSUBSCRIPT italic_j = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N end_POSTSUPERSCRIPT italic_I start_POSTSUBSCRIPT 0 , italic_j end_POSTSUBSCRIPT roman_exp [ - divide start_ARG 1 end_ARG start_ARG 2 italic_σ start_POSTSUPERSCRIPT ′ 2 end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT end_ARG ( italic_x start_POSTSUPERSCRIPT ′ 2 end_POSTSUPERSCRIPT + divide start_ARG italic_y start_POSTSUPERSCRIPT ′ 2 end_POSTSUPERSCRIPT end_ARG start_ARG italic_q start_POSTSUPERSCRIPT ′ 2 end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT end_ARG ) ] , (21)

where I0,jsubscript𝐼0𝑗I_{0,j}italic_I start_POSTSUBSCRIPT 0 , italic_j end_POSTSUBSCRIPT is the peak SB, σjsubscriptsuperscript𝜎𝑗\sigma^{\prime}_{j}italic_σ start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT the dispersion along the projected major axis, and qjsubscriptsuperscript𝑞𝑗q^{\prime}_{j}italic_q start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT the apparent flattening of each Gaussian. The Cartesian coordinates xsuperscript𝑥x^{\prime}italic_x start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT, ysuperscript𝑦y^{\prime}italic_y start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT represent the position on the plane of the sky. The major axis of the lens galaxy is aligned with the xsuperscript𝑥x^{\prime}italic_x start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT-axis, the minor axis with the ysuperscript𝑦y^{\prime}italic_y start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT-axis.

The deprojection process depends on the assumption of the galaxies’ shapes. For the commonly found elliptical galaxies with oblate shape, the deprojection requires:

cos2i<qmin2superscript2𝑖superscriptsubscript𝑞min2\cos^{2}{i}<q_{\rm min}^{\prime 2}roman_cos start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_i < italic_q start_POSTSUBSCRIPT roman_min end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ′ 2 end_POSTSUPERSCRIPT (22)

where i𝑖iitalic_i is the inclination angle and qminsuperscriptsubscript𝑞minq_{\rm min}^{\prime}italic_q start_POSTSUBSCRIPT roman_min end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT is the axial ratio of the flattest Gaussian in the fit. The deprojected 3D luminosity density ρsubscript𝜌\rho_{*}italic_ρ start_POSTSUBSCRIPT ∗ end_POSTSUBSCRIPT is (e.g., Cappellari 2020, eq. 38)

ρ(r,θ)=j=1NqjI0,j2πσjqjexp[r22σi2(sin2θ+cos2θqi2)],subscript𝜌𝑟𝜃superscriptsubscript𝑗1𝑁subscriptsuperscript𝑞𝑗subscript𝐼0𝑗2𝜋subscriptsuperscript𝜎𝑗subscript𝑞𝑗superscript𝑟22subscriptsuperscript𝜎2𝑖superscript2𝜃superscript2𝜃subscriptsuperscript𝑞2𝑖\rho_{*}(r,\theta)=\sum_{j=1}^{N}\frac{q^{\prime}_{j}I_{0,j}}{\sqrt{2\pi}% \sigma^{\prime}_{j}q_{j}}\exp\left[-\frac{r^{2}}{2\sigma^{2}_{i}}\left(\sin^{2% }\theta+\frac{\cos^{2}\theta}{q^{2}_{i}}\right)\right],italic_ρ start_POSTSUBSCRIPT ∗ end_POSTSUBSCRIPT ( italic_r , italic_θ ) = ∑ start_POSTSUBSCRIPT italic_j = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N end_POSTSUPERSCRIPT divide start_ARG italic_q start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT italic_I start_POSTSUBSCRIPT 0 , italic_j end_POSTSUBSCRIPT end_ARG start_ARG square-root start_ARG 2 italic_π end_ARG italic_σ start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT italic_q start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT end_ARG roman_exp [ - divide start_ARG italic_r start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG 2 italic_σ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_ARG ( roman_sin start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_θ + divide start_ARG roman_cos start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_θ end_ARG start_ARG italic_q start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_ARG ) ] , (23)

where r𝑟ritalic_r is the 3D radial distance to the galaxy centroid, θ𝜃\thetaitalic_θ is the polar angle (see definition in Cappellari 2020, Fig. 1), σj=σjsubscript𝜎𝑗subscriptsuperscript𝜎𝑗\sigma_{j}=\sigma^{\prime}_{j}italic_σ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT = italic_σ start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT and qj=qj2cosi2sinisubscript𝑞𝑗subscriptsuperscript𝑞2𝑗superscript𝑖2𝑖q_{j}=\frac{\sqrt{q^{\prime 2}_{j}-\cos{i}^{2}}}{\sin{i}}italic_q start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT = divide start_ARG square-root start_ARG italic_q start_POSTSUPERSCRIPT ′ 2 end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - roman_cos italic_i start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG end_ARG start_ARG roman_sin italic_i end_ARG denote the dispersion and axis ratio of Gaussians after deprojection. The potential ψD,intsubscript𝜓Dint\psi_{\rm D,int}italic_ψ start_POSTSUBSCRIPT roman_D , roman_int end_POSTSUBSCRIPT in Eqs. 17 and 18 is derived by integrating the MGE of the 3D mass density ρintsubscript𝜌int\rho_{\rm int}italic_ρ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT. Following the approach used to infer the light tracer ρsubscript𝜌\rho_{*}italic_ρ start_POSTSUBSCRIPT ∗ end_POSTSUBSCRIPT, the 3D density profile ρintsubscript𝜌int\rho_{\rm int}italic_ρ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT is obtained by deprojecting ΣintsubscriptΣint\Sigma_{\rm int}roman_Σ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT (see Eq. 15). The surface mass density ΣintsubscriptΣint\Sigma_{\rm int}roman_Σ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT is expressed as a sum of multiple Gaussian components,

Σint(x,y)=i=1MΣ0,iexp[12σi2(x2+y2qi2)].subscriptΣintsuperscript𝑥superscript𝑦superscriptsubscript𝑖1𝑀subscriptΣ0𝑖12subscriptsuperscript𝜎2𝑖superscript𝑥2superscript𝑦2subscriptsuperscript𝑞2𝑖\Sigma_{\rm int}(x^{\prime},y^{\prime})=\sum_{i=1}^{M}\Sigma_{0,i}\exp\left[-% \frac{1}{2\sigma^{\prime 2}_{i}}\left(x^{\prime 2}+\frac{y^{\prime 2}}{q^{% \prime 2}_{i}}\right)\right].roman_Σ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT ( italic_x start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , italic_y start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) = ∑ start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_M end_POSTSUPERSCRIPT roman_Σ start_POSTSUBSCRIPT 0 , italic_i end_POSTSUBSCRIPT roman_exp [ - divide start_ARG 1 end_ARG start_ARG 2 italic_σ start_POSTSUPERSCRIPT ′ 2 end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_ARG ( italic_x start_POSTSUPERSCRIPT ′ 2 end_POSTSUPERSCRIPT + divide start_ARG italic_y start_POSTSUPERSCRIPT ′ 2 end_POSTSUPERSCRIPT end_ARG start_ARG italic_q start_POSTSUPERSCRIPT ′ 2 end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_ARG ) ] . (24)

Note we use index i𝑖iitalic_i to denote the MGE components of the mass density, and j𝑗jitalic_j for the luminosity components. The set of Gaussians describing the SB of lens galaxies (see Eqs. 21,  24) are not necessary identical to the MGEs of their mass densities. Therefore, ij𝑖𝑗i\neq jitalic_i ≠ italic_j meaning that σiσjsubscriptsuperscript𝜎𝑖subscriptsuperscript𝜎𝑗\sigma^{\prime}_{i}\neq\sigma^{\prime}_{j}italic_σ start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ≠ italic_σ start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT, qiqjsubscriptsuperscript𝑞𝑖subscriptsuperscript𝑞𝑗q^{\prime}_{i}\neq q^{\prime}_{j}italic_q start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ≠ italic_q start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT and MN𝑀𝑁M\neq Nitalic_M ≠ italic_N unless mass follows light. The deprojected ρint(r,θ)subscript𝜌int𝑟𝜃\rho_{\rm int}(r,\theta)italic_ρ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT ( italic_r , italic_θ ) is

ρint(r,θ)=i=1NqiΣ0,i2πσiqiexp[r22σi2(sin2θ+cos2θqi2)].subscript𝜌int𝑟𝜃superscriptsubscript𝑖1𝑁subscriptsuperscript𝑞𝑖subscriptΣ0𝑖2𝜋subscriptsuperscript𝜎𝑖subscript𝑞𝑖superscript𝑟22subscriptsuperscript𝜎2𝑖superscript2𝜃superscript2𝜃subscriptsuperscript𝑞2𝑖\rho_{\rm int}(r,\theta)=\sum_{i=1}^{N}\frac{q^{\prime}_{i}\Sigma_{0,i}}{\sqrt% {2\pi}\sigma^{\prime}_{i}q_{i}}\exp\left[-\frac{r^{2}}{2\sigma^{2}_{i}}\left(% \sin^{2}\theta+\frac{\cos^{2}\theta}{q^{2}_{i}}\right)\right].italic_ρ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT ( italic_r , italic_θ ) = ∑ start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N end_POSTSUPERSCRIPT divide start_ARG italic_q start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT roman_Σ start_POSTSUBSCRIPT 0 , italic_i end_POSTSUBSCRIPT end_ARG start_ARG square-root start_ARG 2 italic_π end_ARG italic_σ start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_q start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_ARG roman_exp [ - divide start_ARG italic_r start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG 2 italic_σ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_ARG ( roman_sin start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_θ + divide start_ARG roman_cos start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_θ end_ARG start_ARG italic_q start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_ARG ) ] . (25)

The MGEs of ρ(r,θ)subscript𝜌𝑟𝜃\rho_{*}(r,\theta)italic_ρ start_POSTSUBSCRIPT ∗ end_POSTSUBSCRIPT ( italic_r , italic_θ ) and ρint(r,θ)subscript𝜌int𝑟𝜃\rho_{\rm int}(r,\theta)italic_ρ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT ( italic_r , italic_θ ) are then substituted into the Jeans equations (17) and (18) to derive the intrinsic second velocity moments vr2¯¯superscriptsubscript𝑣𝑟2\overline{v_{r}^{2}}over¯ start_ARG italic_v start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG, vθ2¯¯superscriptsubscript𝑣𝜃2\overline{v_{\theta}^{2}}over¯ start_ARG italic_v start_POSTSUBSCRIPT italic_θ end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG, and vϕ2¯¯superscriptsubscript𝑣italic-ϕ2\overline{v_{\phi}^{2}}over¯ start_ARG italic_v start_POSTSUBSCRIPT italic_ϕ end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG. These moments correspond to the diagonal elements of the second velocity moment tensor, indicating a spherically aligned velocity ellipsoid, as all off-diagonal elements vanish.

The next step is to convert the intrinsic second velocity moments from spherical coordinates to Cartesian coordinates (xsuperscript𝑥x^{\prime}italic_x start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT, ysuperscript𝑦y^{\prime}italic_y start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT, zsuperscript𝑧z^{\prime}italic_z start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT), with the zsuperscript𝑧z^{\prime}italic_z start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT-axis aligned along the LoS direction (see Sect.3.1 in Cappellari (2020)). We then derive vz2¯¯superscriptsuperscriptsubscript𝑣𝑧2\overline{{v_{z}^{\prime}}^{2}}over¯ start_ARG italic_v start_POSTSUBSCRIPT italic_z end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG in terms of vr2¯¯superscriptsubscript𝑣𝑟2\overline{v_{r}^{2}}over¯ start_ARG italic_v start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG, vθ2¯¯superscriptsubscript𝑣𝜃2\overline{v_{\theta}^{2}}over¯ start_ARG italic_v start_POSTSUBSCRIPT italic_θ end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG, and vϕ2¯¯superscriptsubscript𝑣italic-ϕ2\overline{v_{\phi}^{2}}over¯ start_ARG italic_v start_POSTSUBSCRIPT italic_ϕ end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG. In real observations, we measure integrated light from stars at various positions along the LoS. Therefore, we compute the luminosity-weighted vLoS2¯¯superscriptsubscript𝑣LoS2\overline{v_{\rm LoS}^{2}}over¯ start_ARG italic_v start_POSTSUBSCRIPT roman_LoS end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG at the spaxel located at (x,y)superscript𝑥superscript𝑦(x^{\prime},y^{\prime})( italic_x start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , italic_y start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) as follows:

vLoS2¯=dzρvz2¯ρ𝑑z.¯superscriptsubscript𝑣LoS2superscriptsubscriptdsuperscript𝑧subscript𝜌¯superscriptsubscript𝑣superscript𝑧2superscriptsubscriptsubscript𝜌differential-dsuperscript𝑧\overline{v_{\rm LoS}^{2}}=\frac{\int_{-\infty}^{\infty}{\text{d}z}^{\prime}% \rho_{*}\overline{v_{z^{\prime}}^{2}}}{\int_{-\infty}^{\infty}\rho_{*}dz^{% \prime}}.over¯ start_ARG italic_v start_POSTSUBSCRIPT roman_LoS end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG = divide start_ARG ∫ start_POSTSUBSCRIPT - ∞ end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∞ end_POSTSUPERSCRIPT d italic_z start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT italic_ρ start_POSTSUBSCRIPT ∗ end_POSTSUBSCRIPT over¯ start_ARG italic_v start_POSTSUBSCRIPT italic_z start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG end_ARG start_ARG ∫ start_POSTSUBSCRIPT - ∞ end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∞ end_POSTSUPERSCRIPT italic_ρ start_POSTSUBSCRIPT ∗ end_POSTSUBSCRIPT italic_d italic_z start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_ARG . (26)

In the end, we convolve vLoS2¯¯superscriptsubscript𝑣LoS2\overline{v_{\rm LoS}^{2}}over¯ start_ARG italic_v start_POSTSUBSCRIPT roman_LoS end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG values (see Eq. 26) with the kinematic point spread function PSFkinsubscriptPSFkin\rm PSF_{\rm kin}roman_PSF start_POSTSUBSCRIPT roman_kin end_POSTSUBSCRIPT to account for the atmosphere and instrument effect, weighted by the SB of lens galaxies I(x,y)𝐼superscript𝑥superscript𝑦I(x^{\prime},y^{\prime})italic_I ( italic_x start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , italic_y start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ), and integrated over the region associated in each of the Voronoi bins (Cappellari & Copin 2003), yielding the predicted [vLoS2¯]lpresuperscriptsubscriptdelimited-[]¯superscriptsubscript𝑣LoS2𝑙pre\left[\overline{v_{\rm LoS}^{2}}\right]_{l}^{\rm pre}[ over¯ start_ARG italic_v start_POSTSUBSCRIPT roman_LoS end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG ] start_POSTSUBSCRIPT italic_l end_POSTSUBSCRIPT start_POSTSUPERSCRIPT roman_pre end_POSTSUPERSCRIPT to compare with the observed kinematic data vrms,l{v_{\rm rms}}_{,l}italic_v start_POSTSUBSCRIPT roman_rms end_POSTSUBSCRIPT start_POSTSUBSCRIPT , italic_l end_POSTSUBSCRIPT at bin l𝑙litalic_l

[vLoS2¯]lpre=BindxdyI(x,y)vLoS2¯PSFkinBindxdyI(x,y)PSFkinsuperscriptsubscriptdelimited-[]¯superscriptsubscript𝑣LoS2𝑙presubscriptBintensor-productsuperscriptdxsuperscriptdy𝐼superscript𝑥superscript𝑦¯superscriptsubscript𝑣LoS2subscriptPSFkinsubscriptBintensor-productsuperscriptdxsuperscriptdy𝐼superscript𝑥superscript𝑦subscriptPSFkin\left[\overline{v_{\rm LoS}^{2}}\right]_{l}^{\rm pre}=\frac{\int_{\rm Bin}% \leavevmode\nobreak\ {\rm dx^{\prime}\leavevmode\nobreak\ dy^{\prime}}% \leavevmode\nobreak\ I\leavevmode\nobreak\ (x^{\prime},y^{\prime})\leavevmode% \nobreak\ \overline{v_{\rm LoS}^{2}}\otimes\rm PSF_{\rm kin}}{\int_{\rm Bin}% \leavevmode\nobreak\ {\rm dx^{\prime}\leavevmode\nobreak\ dy^{\prime}}% \leavevmode\nobreak\ I\leavevmode\nobreak\ (x^{\prime},y^{\prime})\otimes\rm PSF% _{\rm kin}}[ over¯ start_ARG italic_v start_POSTSUBSCRIPT roman_LoS end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG ] start_POSTSUBSCRIPT italic_l end_POSTSUBSCRIPT start_POSTSUPERSCRIPT roman_pre end_POSTSUPERSCRIPT = divide start_ARG ∫ start_POSTSUBSCRIPT roman_Bin end_POSTSUBSCRIPT roman_dx start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT roman_dy start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT italic_I ( italic_x start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , italic_y start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) over¯ start_ARG italic_v start_POSTSUBSCRIPT roman_LoS end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG ⊗ roman_PSF start_POSTSUBSCRIPT roman_kin end_POSTSUBSCRIPT end_ARG start_ARG ∫ start_POSTSUBSCRIPT roman_Bin end_POSTSUBSCRIPT roman_dx start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT roman_dy start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT italic_I ( italic_x start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , italic_y start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) ⊗ roman_PSF start_POSTSUBSCRIPT roman_kin end_POSTSUBSCRIPT end_ARG (27)

and

vrmspre,l=[vLoS2¯]lpre.{v_{\rm rms}^{\rm pre}}_{,l}=\sqrt{\left[\overline{v_{\rm LoS}^{2}}\right]_{l}% ^{\rm pre}}.italic_v start_POSTSUBSCRIPT roman_rms end_POSTSUBSCRIPT start_POSTSUPERSCRIPT roman_pre end_POSTSUPERSCRIPT start_POSTSUBSCRIPT , italic_l end_POSTSUBSCRIPT = square-root start_ARG [ over¯ start_ARG italic_v start_POSTSUBSCRIPT roman_LoS end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG ] start_POSTSUBSCRIPT italic_l end_POSTSUBSCRIPT start_POSTSUPERSCRIPT roman_pre end_POSTSUPERSCRIPT end_ARG . (28)

Note that the value of vrms,l{v_{\rm rms}}_{,l}italic_v start_POSTSUBSCRIPT roman_rms end_POSTSUBSCRIPT start_POSTSUBSCRIPT , italic_l end_POSTSUBSCRIPT is related to the distance to the lens galaxy:

vrms,l1Dd.{v_{\rm rms}}_{,l}\propto\frac{1}{\sqrt{D_{\rm d}}}.italic_v start_POSTSUBSCRIPT roman_rms end_POSTSUBSCRIPT start_POSTSUBSCRIPT , italic_l end_POSTSUBSCRIPT ∝ divide start_ARG 1 end_ARG start_ARG square-root start_ARG italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT end_ARG end_ARG . (29)

This relationship arises because, for a given angular size, the physical size of the lens galaxy increases with distance:

rphyDdθ.proportional-tosubscript𝑟physubscript𝐷d𝜃r_{\rm phy}\propto D_{\rm d}\theta.italic_r start_POSTSUBSCRIPT roman_phy end_POSTSUBSCRIPT ∝ italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT italic_θ . (30)

In dynamical equilibrium, a larger system with the same total mass exhibits lower vrmssubscript𝑣rmsv_{\rm rms}italic_v start_POSTSUBSCRIPT roman_rms end_POSTSUBSCRIPT, following the relation:

vrms,lGMrphy.{v_{\rm rms}}_{,l}\propto\sqrt{\frac{GM}{r_{\rm phy}}}.italic_v start_POSTSUBSCRIPT roman_rms end_POSTSUBSCRIPT start_POSTSUBSCRIPT , italic_l end_POSTSUBSCRIPT ∝ square-root start_ARG divide start_ARG italic_G italic_M end_ARG start_ARG italic_r start_POSTSUBSCRIPT roman_phy end_POSTSUBSCRIPT end_ARG end_ARG . (31)

Since rphysubscript𝑟phyr_{\rm phy}italic_r start_POSTSUBSCRIPT roman_phy end_POSTSUBSCRIPT increases with Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT, vrmssubscript𝑣rmsv_{\rm rms}italic_v start_POSTSUBSCRIPT roman_rms end_POSTSUBSCRIPT decreases accordingly, leading to the inverse square-root dependence in Eq. 29. The distance Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT can thus be constrained from the dynamical modeling, together with the time-delay distance DΔt,intsubscript𝐷ΔtintD_{\Delta\rm t,int}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT.

The goodness of the dynamical modeling is evaluated by

χdyn2=(𝒗𝐫𝐦𝐬𝒗𝐫𝐦𝐬𝐩𝐫𝐞)T𝚺kin𝟏(𝒗𝐫𝐦𝐬𝒗𝐫𝐦𝐬𝐩𝐫𝐞),subscriptsuperscript𝜒2dynsuperscriptsubscript𝒗𝐫𝐦𝐬superscriptsubscript𝒗𝐫𝐦𝐬𝐩𝐫𝐞𝑇superscriptsubscript𝚺kin1subscript𝒗𝐫𝐦𝐬superscriptsubscript𝒗𝐫𝐦𝐬𝐩𝐫𝐞\chi^{2}_{\rm dyn}=(\bm{v_{\rm rms}}-\bm{v_{\rm rms}^{\rm pre}})^{T}\bm{\Sigma% _{\text{kin}}^{-1}}(\bm{v_{\rm rms}}-\bm{v_{\rm rms}^{\rm pre}}),italic_χ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT start_POSTSUBSCRIPT roman_dyn end_POSTSUBSCRIPT = ( bold_italic_v start_POSTSUBSCRIPT bold_rms end_POSTSUBSCRIPT - bold_italic_v start_POSTSUBSCRIPT bold_rms end_POSTSUBSCRIPT start_POSTSUPERSCRIPT bold_pre end_POSTSUPERSCRIPT ) start_POSTSUPERSCRIPT italic_T end_POSTSUPERSCRIPT bold_Σ start_POSTSUBSCRIPT kin end_POSTSUBSCRIPT start_POSTSUPERSCRIPT bold_- bold_1 end_POSTSUPERSCRIPT ( bold_italic_v start_POSTSUBSCRIPT bold_rms end_POSTSUBSCRIPT - bold_italic_v start_POSTSUBSCRIPT bold_rms end_POSTSUBSCRIPT start_POSTSUPERSCRIPT bold_pre end_POSTSUPERSCRIPT ) , (32)

where 𝚺kin𝟏superscriptsubscript𝚺kin1\bm{\Sigma_{\text{kin}}^{-1}}bold_Σ start_POSTSUBSCRIPT kin end_POSTSUBSCRIPT start_POSTSUPERSCRIPT bold_- bold_1 end_POSTSUPERSCRIPT is the covariance matrix of the measured uncertainties of the kinematic data. We refer readers to Cappellari (2020) for the detailed construction of the 3D gravitational potential ψD,intsubscript𝜓Dint\psi_{\rm D,int}italic_ψ start_POSTSUBSCRIPT roman_D , roman_int end_POSTSUBSCRIPT from MGEs and the calculation process of vLoS2¯¯superscriptsubscript𝑣LoS2\overline{v_{\rm LoS}^{2}}over¯ start_ARG italic_v start_POSTSUBSCRIPT roman_LoS end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG.

3 Method

In this section, we highlight the aspects of joint modeling that benefit from GPU parallelization. Given the large-scale matrix computations inherent in the modeling process, GPUs outperform CPUs by efficiently handling repetitive, computationally intensive operations. Our joint modeling code GLaD, is implemented in JAX (e.g., Bradbury et al. 2018), a high-performance numerical computing library for Python that enables automatic differentiation and Just-In-Time compilation for accelerated computations on GPUs. In Sect. 3.1, we briefly introduce SL modeling and demonstrate the speed improvements achieved with GPU on extended image modeling. Additionally, we present a newly implemented NFW profile following Oguri (2021) that directly incorporates ellipticity into the surface mass density. In Sect. 3.2, we describe a fast 1D MGE implementation optimized for GPUs following Shajib (2019) and a non-adaptive integral solver on a fixed grid to compute the intrinsic second velocity moments in the spherical-aligned JAM. In Sect. 3.3, we provide a detailed overview of the joint modeling code structure and discuss the use of Bayesian inference to obtain best-fit models. In Sect. 3.4, we introduce the Bayesian Information Criterion (BIC) to adjust the weighting of the posterior distribution in joint modeling, since the number of stellar kinematics data points is significantly smaller than that of the lensing data. Without BIC reweighting, the lensing and dynamical (LD) likelihood would be dominated by the lensing information.

3.1 GPU acceleration in lensing modeling

3.1.1 Lensing modeling

We start our joint formalism with the SL part. The observables in the lensed quasar scenario are: i) images positions of the lensed quasar 𝜽𝜽\bm{\theta}bold_italic_θ, ii) the time delay between images ΔtijΔsubscript𝑡𝑖𝑗\Delta t_{ij}roman_Δ italic_t start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT, and iii) the extended images of the host galaxy, which are adopted as constraints to construct the mass models of the lens galaxies.

For modeling i), we use the observed image position 𝜽𝜽\bm{\theta}bold_italic_θ to constrain the lens surface mass density κintsubscript𝜅int\kappa_{\rm int}italic_κ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT. We determine the deflection angle 𝜶𝐢𝐧𝐭subscript𝜶𝐢𝐧𝐭\bm{\alpha_{\rm int}}bold_italic_α start_POSTSUBSCRIPT bold_int end_POSTSUBSCRIPT via the lens equation in SL,

𝜽=𝜷ψL,int(𝜽)=𝜷𝜶𝐢𝐧𝐭(𝜽),𝜽𝜷bold-∇subscript𝜓Lint𝜽𝜷subscript𝜶𝐢𝐧𝐭𝜽\bm{\theta}=\bm{\beta}-\bm{\nabla}\psi_{\rm L,int}(\bm{\theta})=\bm{\beta}-\bm% {\alpha_{\rm int}}(\bm{\theta}),bold_italic_θ = bold_italic_β - bold_∇ italic_ψ start_POSTSUBSCRIPT roman_L , roman_int end_POSTSUBSCRIPT ( bold_italic_θ ) = bold_italic_β - bold_italic_α start_POSTSUBSCRIPT bold_int end_POSTSUBSCRIPT ( bold_italic_θ ) , (33)

and 𝜶𝐢𝐧𝐭subscript𝜶𝐢𝐧𝐭\bm{\alpha_{\rm int}}bold_italic_α start_POSTSUBSCRIPT bold_int end_POSTSUBSCRIPT is related to κintsubscript𝜅int\kappa_{\rm int}italic_κ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT by

𝜶𝐢𝐧𝐭=1πd2θκint(𝜽)𝜽𝜽|𝜽𝜽|2.subscript𝜶𝐢𝐧𝐭1𝜋superscript𝑑2superscript𝜃subscript𝜅intsuperscript𝜽bold-′𝜽superscript𝜽bold-′superscript𝜽superscript𝜽bold-′2\bm{\alpha_{\rm int}}=\frac{1}{\pi}\int d^{2}\theta^{\prime}\kappa_{\rm int}(% \bm{\theta^{\prime}})\frac{\bm{\theta}-\bm{\theta^{\prime}}}{\left|\bm{\theta}% -\bm{\theta^{\prime}}\right|^{2}}.bold_italic_α start_POSTSUBSCRIPT bold_int end_POSTSUBSCRIPT = divide start_ARG 1 end_ARG start_ARG italic_π end_ARG ∫ italic_d start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_θ start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT italic_κ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT ( bold_italic_θ start_POSTSUPERSCRIPT bold_′ end_POSTSUPERSCRIPT ) divide start_ARG bold_italic_θ - bold_italic_θ start_POSTSUPERSCRIPT bold_′ end_POSTSUPERSCRIPT end_ARG start_ARG | bold_italic_θ - bold_italic_θ start_POSTSUPERSCRIPT bold_′ end_POSTSUPERSCRIPT | start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG . (34)

Adopting Eq. 33, we map the observed multiple image positions 𝜽𝜽\bm{\theta}bold_italic_θ to the source plane, compute the magnification-weighted average as the modeled source position, and then map it back to the image plane, obtaining 𝜽presuperscript𝜽pre\bm{\theta}^{\rm pre}bold_italic_θ start_POSTSUPERSCRIPT roman_pre end_POSTSUPERSCRIPT. Magnification weighting improves the accuracy of source position estimation in SL by giving greater importance to highly magnified images, which provide more precise constraints on the lens model. The goodness of the image position modeling is evaluated by

χimg2=jNimg(𝜽j𝜽jpre)2σ𝜽,j2,subscriptsuperscript𝜒2imgsuperscriptsubscript𝑗subscript𝑁imgsuperscriptsubscript𝜽𝑗superscriptsubscript𝜽𝑗pre2superscriptsubscript𝜎𝜽𝑗2\chi^{2}_{\rm img}=\sum_{j}^{N_{\rm img}}\frac{(\bm{\theta}_{j}-\bm{\theta}_{j% }^{\rm pre})^{2}}{\sigma_{\bm{\theta},j}^{2}},italic_χ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT start_POSTSUBSCRIPT roman_img end_POSTSUBSCRIPT = ∑ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT roman_img end_POSTSUBSCRIPT end_POSTSUPERSCRIPT divide start_ARG ( bold_italic_θ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - bold_italic_θ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT start_POSTSUPERSCRIPT roman_pre end_POSTSUPERSCRIPT ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG italic_σ start_POSTSUBSCRIPT bold_italic_θ , italic_j end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG , (35)

where σ𝜽,jsubscript𝜎𝜽𝑗\sigma_{\bm{\theta},j}italic_σ start_POSTSUBSCRIPT bold_italic_θ , italic_j end_POSTSUBSCRIPT is the positional uncertainty of image j𝑗jitalic_j.

In modeling (ii), we derive the lens potential ψL,intsubscript𝜓Lint\psi_{\rm L,int}italic_ψ start_POSTSUBSCRIPT roman_L , roman_int end_POSTSUBSCRIPT from the mass density κintsubscript𝜅int\kappa_{\rm int}italic_κ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT using Eq. 1. This allows us to model the time delay (tmd) between the observed images. With lensed image j𝑗jitalic_j as the reference image, the fit quality for ΔtijΔsubscript𝑡𝑖𝑗\Delta t_{ij}roman_Δ italic_t start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT is assessed by

χtmd2=iNimg1(ΔtijΔtijpre)2σΔtij2,subscriptsuperscript𝜒2tmdsuperscriptsubscript𝑖subscript𝑁img1superscriptΔsubscript𝑡𝑖𝑗Δsuperscriptsubscript𝑡𝑖𝑗pre2superscriptsubscript𝜎Δsubscript𝑡𝑖𝑗2\chi^{2}_{\rm tmd}=\sum_{i}^{N_{\rm img}-1}\frac{(\Delta t_{ij}-\Delta t_{ij}^% {\rm pre})^{2}}{\sigma_{\Delta t_{ij}}^{2}},italic_χ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT start_POSTSUBSCRIPT roman_tmd end_POSTSUBSCRIPT = ∑ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT roman_img end_POSTSUBSCRIPT - 1 end_POSTSUPERSCRIPT divide start_ARG ( roman_Δ italic_t start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT - roman_Δ italic_t start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT start_POSTSUPERSCRIPT roman_pre end_POSTSUPERSCRIPT ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG italic_σ start_POSTSUBSCRIPT roman_Δ italic_t start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG , (36)

where σΔtijsubscript𝜎Δsubscript𝑡𝑖𝑗\sigma_{\Delta t_{ij}}italic_σ start_POSTSUBSCRIPT roman_Δ italic_t start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT end_POSTSUBSCRIPT is the time-delay uncertainty. Galaxy-scale lenses typically form either quadruple or double image systems with Nimg=4or 2subscript𝑁img4or2N_{\rm img}=4\leavevmode\nobreak\ \rm or\leavevmode\nobreak\ 2italic_N start_POSTSUBSCRIPT roman_img end_POSTSUBSCRIPT = 4 roman_or 2. In such cases, models (i) and (ii) can be calculated in under 0.1 seconds on a 2.10 GHz CPU, achieving the best-fit model within several minutes. Consequently, GPU acceleration is not necessary for these computations, and we continue to perform image position and time-delay modeling using the CPU with GLEE.

Extended image modeling is the bottleneck in SL analysis, as it involves handling approximately 𝒪(104)𝒪superscript104\mathcal{O}(10^{4})caligraphic_O ( 10 start_POSTSUPERSCRIPT 4 end_POSTSUPERSCRIPT ) data points across the magnified arcs. We represent the source intensity distribution on a grid of pixels using the vector 𝒔𝒔\bm{s}bold_italic_s, which has a dimension of Nssubscript𝑁sN_{\rm s}italic_N start_POSTSUBSCRIPT roman_s end_POSTSUBSCRIPT, corresponding to the number of source pixels. Based on the assumed κintsubscript𝜅int\kappa_{\rm int}italic_κ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT and the PSF introduced by the telescope, we construct an operator 𝐟𝐟\bm{\rm f}bold_f, following Suyu et al. (2006). This operator utilizes Eq. 33 to map the light intensity of the extended source from the source plane to the image plane, followed by convolution with the PSF, producing the predicted lensed extended source 𝒅esrpresuperscriptsubscript𝒅esrpre\bm{d}_{\rm esr}^{\rm pre}bold_italic_d start_POSTSUBSCRIPT roman_esr end_POSTSUBSCRIPT start_POSTSUPERSCRIPT roman_pre end_POSTSUPERSCRIPT with a dimension of Ndsubscript𝑁dN_{\rm d}italic_N start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT (i.e., predicted intensity values of the Ndsubscript𝑁dN_{\rm d}italic_N start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT pixels on the image plane),

𝒅esrpre=𝐟𝒔+𝒏superscriptsubscript𝒅esrpre𝐟𝒔𝒏\bm{d}_{\rm esr}^{\rm pre}={\bm{\rm f}}\leavevmode\nobreak\ \bm{s}+\bm{n}bold_italic_d start_POSTSUBSCRIPT roman_esr end_POSTSUBSCRIPT start_POSTSUPERSCRIPT roman_pre end_POSTSUPERSCRIPT = bold_f bold_italic_s + bold_italic_n (37)

with

𝐟=𝑩𝑳𝐟𝑩𝑳\bm{\rm f}=\bm{B}\leavevmode\nobreak\ \bm{L}bold_f = bold_italic_B bold_italic_L (38)

where 𝑩𝑩\bm{B}bold_italic_B the blurring matrix accounting for the PSF effect and 𝑳𝑳\bm{L}bold_italic_L presenting the mapping process from source plane to image plane, 𝒏𝒏\bm{n}bold_italic_n is the noise of the observed data and characterized by the covariance matrix 𝑪𝐝subscript𝑪𝐝\bm{C_{\rm d}}bold_italic_C start_POSTSUBSCRIPT bold_d end_POSTSUBSCRIPT.

The pixelated source 𝒔𝒔\bm{s}bold_italic_s is reconstructed by maximising the posterior probability of 𝒔𝒔\bm{s}bold_italic_s, given the data

P(𝒔|𝒅esr,λ,𝐟,𝐠)=(𝒅esr|𝒔,𝐟)P(𝒔|𝐠,λ)P(𝒅esr|λ,𝐟,𝐠),𝑃conditional𝒔subscript𝒅esr𝜆𝐟𝐠conditionalsubscript𝒅esr𝒔𝐟𝑃conditional𝒔𝐠𝜆𝑃conditionalsubscript𝒅esr𝜆𝐟𝐠P(\bm{s}\leavevmode\nobreak\ |\leavevmode\nobreak\ \bm{d}_{\rm esr},\lambda,% \bm{\rm f},\bm{\rm g})=\frac{\mathcal{L}(\bm{d}_{\rm esr}\leavevmode\nobreak\ % |\leavevmode\nobreak\ \bm{s},\bm{\rm f})P(\bm{s}\leavevmode\nobreak\ |% \leavevmode\nobreak\ \bm{\rm g},\lambda)}{P(\bm{d}_{\rm esr}\leavevmode% \nobreak\ |\leavevmode\nobreak\ \lambda,\bm{\rm f},\bm{\rm g})},italic_P ( bold_italic_s | bold_italic_d start_POSTSUBSCRIPT roman_esr end_POSTSUBSCRIPT , italic_λ , bold_f , bold_g ) = divide start_ARG caligraphic_L ( bold_italic_d start_POSTSUBSCRIPT roman_esr end_POSTSUBSCRIPT | bold_italic_s , bold_f ) italic_P ( bold_italic_s | bold_g , italic_λ ) end_ARG start_ARG italic_P ( bold_italic_d start_POSTSUBSCRIPT roman_esr end_POSTSUBSCRIPT | italic_λ , bold_f , bold_g ) end_ARG , (39)

where the regularization operator 𝐠𝐠\bm{\rm g}bold_g and constant λ𝜆\lambdaitalic_λ define the method used to enforce smoothness in the reconstructed source and the strength of the smoothness. The most frequently applied regularization in the SL is curvature which minimizes the second derivatives of the source intensity distribution. The analytical form of the most probable source reconstruction 𝒔MPsubscript𝒔MP\bm{s}_{\rm MP}bold_italic_s start_POSTSUBSCRIPT roman_MP end_POSTSUBSCRIPT is

𝒔MP=([𝑭+λ𝐠])1𝑫subscript𝒔MPsuperscriptdelimited-[]𝑭𝜆𝐠1𝑫\bm{s}_{\rm MP}=(\left[\bm{F}+\lambda\bm{\rm g}\right])^{-1}\leavevmode% \nobreak\ \bm{D}bold_italic_s start_POSTSUBSCRIPT roman_MP end_POSTSUBSCRIPT = ( [ bold_italic_F + italic_λ bold_g ] ) start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT bold_italic_D (40)

with 𝑭𝑭\bm{F}bold_italic_F

𝑭=𝐟T𝑪𝐝𝟏𝐟𝑭superscript𝐟Tsuperscriptsubscript𝑪𝐝1𝐟\bm{F}=\bm{\rm f}^{\rm T}\bm{C_{\rm d}^{-1}}\bm{\rm f}bold_italic_F = bold_f start_POSTSUPERSCRIPT roman_T end_POSTSUPERSCRIPT bold_italic_C start_POSTSUBSCRIPT bold_d end_POSTSUBSCRIPT start_POSTSUPERSCRIPT bold_- bold_1 end_POSTSUPERSCRIPT bold_f (41)

and 𝑫𝑫\bm{D}bold_italic_D

𝑫=𝐟T𝑪𝐝𝟏𝒅esr𝑫superscript𝐟Tsuperscriptsubscript𝑪𝐝1subscript𝒅esr\bm{D}=\bm{\rm f}^{\rm T}\bm{C_{\rm d}^{-1}}\bm{d}_{\rm esr}bold_italic_D = bold_f start_POSTSUPERSCRIPT roman_T end_POSTSUPERSCRIPT bold_italic_C start_POSTSUBSCRIPT bold_d end_POSTSUBSCRIPT start_POSTSUPERSCRIPT bold_- bold_1 end_POSTSUPERSCRIPT bold_italic_d start_POSTSUBSCRIPT roman_esr end_POSTSUBSCRIPT (42)

(Suyu et al. 2006). We substitute the Eq. 40 into Eq. 37, inferring 𝒅esrpresuperscriptsubscript𝒅esrpre\bm{d}_{\rm esr}^{\rm pre}bold_italic_d start_POSTSUBSCRIPT roman_esr end_POSTSUBSCRIPT start_POSTSUPERSCRIPT roman_pre end_POSTSUPERSCRIPT and then compare it with the intensity of the observed extended arcs 𝒅esrsubscript𝒅esr\bm{d}_{\rm esr}bold_italic_d start_POSTSUBSCRIPT roman_esr end_POSTSUBSCRIPT in the image plane. The goodness of the extended image modeling is evaluated by the Bayesian evidence, which marginalizes over all possible values of the regularization constant λ𝜆\lambdaitalic_λ and the pixel values on the source grid 𝒔𝒔\bm{s}bold_italic_s,

P(𝒅esr|𝐟,𝐠)𝑃conditionalsubscript𝒅esr𝐟𝐠\displaystyle P(\bm{d}_{\rm esr}\leavevmode\nobreak\ |\leavevmode\nobreak\ \bm% {\rm f},\bm{\rm g})italic_P ( bold_italic_d start_POSTSUBSCRIPT roman_esr end_POSTSUBSCRIPT | bold_f , bold_g ) =dλP(𝒅esr|𝐟,λ,𝐠)absentdifferential-d𝜆𝑃conditionalsubscript𝒅esr𝐟𝜆𝐠\displaystyle=\int\mathrm{d}\lambda\,P(\bm{d}_{\rm esr}\leavevmode\nobreak\ |% \leavevmode\nobreak\ \bm{\rm f},\lambda,\bm{\rm g})= ∫ roman_d italic_λ italic_P ( bold_italic_d start_POSTSUBSCRIPT roman_esr end_POSTSUBSCRIPT | bold_f , italic_λ , bold_g )
P(𝒅esr|𝐟,λ^,𝐠)similar-to-or-equalsabsent𝑃conditionalsubscript𝒅esr𝐟^𝜆𝐠\displaystyle\simeq P(\bm{d}_{\rm esr}\leavevmode\nobreak\ |\leavevmode% \nobreak\ \bm{\rm f},\hat{\lambda},\bm{\rm g})≃ italic_P ( bold_italic_d start_POSTSUBSCRIPT roman_esr end_POSTSUBSCRIPT | bold_f , over^ start_ARG italic_λ end_ARG , bold_g )
=d𝒔P(𝒅esr|𝐟,𝒔,λ^,𝐠)P(𝒔|λ^,𝐠).absentdifferential-d𝒔𝑃conditionalsubscript𝒅esr𝐟𝒔^𝜆𝐠𝑃conditional𝒔^𝜆𝐠\displaystyle=\int\mathrm{d}\bm{s}\,P(\bm{d}_{\rm esr}\leavevmode\nobreak\ |% \leavevmode\nobreak\ \bm{\rm f},\bm{s},\hat{\lambda},\bm{\rm g})P(\bm{s}|\hat{% \lambda},\bm{\rm g}).= ∫ roman_d bold_italic_s italic_P ( bold_italic_d start_POSTSUBSCRIPT roman_esr end_POSTSUBSCRIPT | bold_f , bold_italic_s , over^ start_ARG italic_λ end_ARG , bold_g ) italic_P ( bold_italic_s | over^ start_ARG italic_λ end_ARG , bold_g ) . (43)

The distribution of possible λ𝜆\lambdaitalic_λ values is approximated by a delta function centered at the optimal regularization constant λ^^𝜆\hat{\lambda}over^ start_ARG italic_λ end_ARG, which justifies the validity of the approximation in Eq. 43 (Suyu et al. 2006). The explicit expression of P(𝒅esr|𝐟,λ^,𝐠)𝑃conditionalsubscript𝒅esr𝐟^𝜆𝐠P(\bm{d}_{\rm esr}|\leavevmode\nobreak\ \bm{\rm f},\hat{\lambda},\bm{\rm g})italic_P ( bold_italic_d start_POSTSUBSCRIPT roman_esr end_POSTSUBSCRIPT | bold_f , over^ start_ARG italic_λ end_ARG , bold_g ) is given in Suyu et al. (2006), see Eq. (19).

The steps outlined above represent the core processes of extended image modeling, which involve extensive manipulation of large matrices. This is why the use of GPUs can provide considerable advantages. The matrix sizes are displayed in Tab. 7. Since the source plane is unobservable, the different source grid resolutions yield the best-fit model in slightly different regions of the parameter space. To account for this degeneracy, the modeling with a series of different source grid resolutions is performed in the SL cosmography analysis and the impact of the grid resolution is marginalized over.

We present the runtime comparison of extended image modeling in GLEE, implemented in C on a CPU, and our implementation in JAX on a GPU, across various source grid resolutions, as shown in Fig. 1. We achieve greater acceleration with higher grid resolutions due to larger matrix sizes being more effective at fully saturating the massive parallel computing capability of the GPU.

Table 1: The matrices size in the extended image modeling
Matrix size
𝑩𝑩\bm{B}bold_italic_B (Nd,Nd)subscript𝑁dsubscript𝑁d(N_{\rm d},N_{\rm d})( italic_N start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT , italic_N start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT )
𝑳𝑳\bm{L}bold_italic_L (Nd,Ns)subscript𝑁dsubscript𝑁s(N_{\rm d},N_{\rm s})( italic_N start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT , italic_N start_POSTSUBSCRIPT roman_s end_POSTSUBSCRIPT )
𝑪𝐝subscript𝑪𝐝\bm{C_{\rm d}}bold_italic_C start_POSTSUBSCRIPT bold_d end_POSTSUBSCRIPT (Nd,Nd)subscript𝑁dsubscript𝑁d(N_{\rm d},N_{\rm d})( italic_N start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT , italic_N start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT )
𝐠𝐠\bm{\rm g}bold_g (Ns,Ns)subscript𝑁ssubscript𝑁s(N_{\rm s},N_{\rm s})( italic_N start_POSTSUBSCRIPT roman_s end_POSTSUBSCRIPT , italic_N start_POSTSUBSCRIPT roman_s end_POSTSUBSCRIPT )
777For the galaxy-scale lenses, the number of pixels on the extended arc Ndsubscript𝑁dN_{\rm d}italic_N start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT is commonly 𝒪(104)similar-toabsent𝒪superscript104\sim\mathcal{O}(10^{4})∼ caligraphic_O ( 10 start_POSTSUPERSCRIPT 4 end_POSTSUPERSCRIPT ) and the number of source pixels Nssubscript𝑁sN_{\rm s}italic_N start_POSTSUBSCRIPT roman_s end_POSTSUBSCRIPT is 𝒪(103)similar-toabsent𝒪superscript103\sim\mathcal{O}(10^{3})∼ caligraphic_O ( 10 start_POSTSUPERSCRIPT 3 end_POSTSUPERSCRIPT ).
Refer to caption
Figure 1: The time comparison between CPU and GPU for extended image modeling is performed using various source resolutions commonly adopted in practice. The computation time is for a single iteration of source and image intensity reconstruction given values for lens mass model parameters. The computations take place on a 2.10 GHz CPU and an A100 GPU, respectively.

3.1.2 Dark matter profile κenfwsubscript𝜅enfw\kappa_{\rm enfw}italic_κ start_POSTSUBSCRIPT roman_enfw end_POSTSUBSCRIPT

We implement a dark matter profile following Oguri (2021) on the GPU, directly introducing ellipticity into the density mass profile κeNFWsubscript𝜅eNFW\kappa_{\rm eNFW}italic_κ start_POSTSUBSCRIPT roman_eNFW end_POSTSUBSCRIPT, in contrast to the classical approach, which incorporates ellipticity in the potential. Since all lensing properties of κeNFWsubscript𝜅eNFW\kappa_{\rm eNFW}italic_κ start_POSTSUBSCRIPT roman_eNFW end_POSTSUBSCRIPT have analytical expressions, computing κeNFWsubscript𝜅eNFW\kappa_{\rm eNFW}italic_κ start_POSTSUBSCRIPT roman_eNFW end_POSTSUBSCRIPT and 𝜶eNFWsubscript𝜶eNFW\bm{\alpha}_{\rm eNFW}bold_italic_α start_POSTSUBSCRIPT roman_eNFW end_POSTSUBSCRIPT on a large grid of approximately 𝒪(103)×𝒪(103)𝒪superscript103𝒪superscript103\mathcal{O}(10^{3})\times\mathcal{O}(10^{3})caligraphic_O ( 10 start_POSTSUPERSCRIPT 3 end_POSTSUPERSCRIPT ) × caligraphic_O ( 10 start_POSTSUPERSCRIPT 3 end_POSTSUPERSCRIPT ) takes a negligible amount of time, approximately 105secsuperscript105sec10^{-5}\leavevmode\nobreak\ \text{sec}10 start_POSTSUPERSCRIPT - 5 end_POSTSUPERSCRIPT sec on a GPU. In contrast, performing the same computation on a CPU, following the approach of Golse & Kneib (2002), takes approximately 7 seconds. The detailed expressions for 𝜶eNFWsubscript𝜶eNFW\bm{\alpha}_{\rm eNFW}bold_italic_α start_POSTSUBSCRIPT roman_eNFW end_POSTSUBSCRIPT and ψeNFWsubscript𝜓eNFW\psi_{\rm eNFW}italic_ψ start_POSTSUBSCRIPT roman_eNFW end_POSTSUBSCRIPT are provided in Appendix A.

3.2 GPU acceleration in dynamical modeling

As discussed in Sect. 2.4, the MGE is commonly used in dynamical modeling as a prerequisite for JAM. Without accounting for the internal MSD, the surface brightness (SB) and mass density of the lens galaxies are sufficient for decomposition up to 3reff3subscript𝑟eff3r_{\rm eff}3 italic_r start_POSTSUBSCRIPT roman_eff end_POSTSUBSCRIPT in dynamic modeling. However, when considering the internal MSD, which represents a constant mass sheet added to the galaxy mass distribution, this additional mass can extend over a significantly larger region. To accurately account for the internal MSD, the mass profile must be decomposed over a larger area, approximately 50similar-toabsent50\sim 50\arcsec∼ 50 ″ for lens system RXJ1131 (Yıldırım et al. 2023; Shajib et al. 2023).

In Yıldırım et al. (2023), the authors applied the 2D MGE fitting method (Cappellari 2002)888The adopted approach is the function mge_fit_sectors from the MgeFit package (https://pypi.org/project/mgefit/). to model the light and mass convergence map of the lens galaxy. In both cases, the maps are characterized by smooth profiles such as Sérsic, power-law, and NFW profiles, without any subtle angular structures. Since the maps primarily describe variations with radius, applying the 2D MGE fitting method is unnecessary in this case. The 2D MGE fitting method requires solving a non-linear least-squares minimization problem, which becomes computationally expensive when performed over a broad region extending 50similar-toabsent50\sim 50\arcsec∼ 50 ″ from the lens galaxy center. Moreover, producing the light and mass convergence maps in 2D across a wide area with 𝒪(103)×𝒪(103)𝒪superscript103𝒪superscript103\mathcal{O}(10^{3})\times\mathcal{O}(10^{3})caligraphic_O ( 10 start_POSTSUPERSCRIPT 3 end_POSTSUPERSCRIPT ) × caligraphic_O ( 10 start_POSTSUPERSCRIPT 3 end_POSTSUPERSCRIPT ) pixels is rather time-consuming, In total, it takes 𝒪(10)𝒪10\mathcal{O}(10)caligraphic_O ( 10 ) s per sampling step. The MGE 2D fit is primarily used to capture more detailed structures in galaxies from optical imaging directly, rather than relying on maps derived from profiles.

In this work, we instead adopt the 1D MGE fitting method. We implement a fast Gaussians decomposition to 1D profile following Shajib (2019) on GPU. In this approach, an integral transform with a Gaussian kernel is introduced:

f(σ)=1iσ22πCzF(z)exp(z22σ2)𝑑z,𝑓𝜎1isuperscript𝜎22𝜋subscript𝐶𝑧F𝑧superscript𝑧22superscript𝜎2differential-d𝑧f(\sigma)=\frac{1}{\text{i}\sigma^{2}}\sqrt{\frac{2}{\pi}}\int_{C}z\leavevmode% \nobreak\ \text{F}(z)\leavevmode\nobreak\ \exp{\left(\frac{z^{2}}{2\sigma^{2}}% \right)}\leavevmode\nobreak\ dz,italic_f ( italic_σ ) = divide start_ARG 1 end_ARG start_ARG i italic_σ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG square-root start_ARG divide start_ARG 2 end_ARG start_ARG italic_π end_ARG end_ARG ∫ start_POSTSUBSCRIPT italic_C end_POSTSUBSCRIPT italic_z F ( italic_z ) roman_exp ( divide start_ARG italic_z start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG 2 italic_σ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG ) italic_d italic_z , (44)

where F(z)F𝑧\text{F}(z)F ( italic_z ) represents any mass or light profiles that need to be decomposed using Gaussians. The transformed integral f(σ)𝑓𝜎f(\sigma)italic_f ( italic_σ ) can be approximated using the Euler algorithm:

f(σ)=n=02Pηn(F(σχn)),𝑓𝜎superscriptsubscript𝑛02𝑃subscript𝜂𝑛F𝜎subscript𝜒𝑛f(\sigma)=\sum_{n=0}^{2P}\eta_{n}\Re(\text{F}(\sigma\chi_{n})),italic_f ( italic_σ ) = ∑ start_POSTSUBSCRIPT italic_n = 0 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 italic_P end_POSTSUPERSCRIPT italic_η start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT roman_ℜ ( F ( italic_σ italic_χ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ) ) , (45)

where ηnsubscript𝜂𝑛\eta_{n}italic_η start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT and χnsubscript𝜒𝑛\chi_{n}italic_χ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT can be complex-valued and are independent of f(σ)𝑓𝜎f(\sigma)italic_f ( italic_σ ). These values can be precomputed at the start. The standard deviations σnsubscript𝜎𝑛\sigma_{n}italic_σ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT are chosen to be logarithmically spaced within the fitting region, resulting in:

F(r)=n=0NAnexp(R22σn2),𝐹𝑟superscriptsubscript𝑛0𝑁subscript𝐴𝑛superscript𝑅22superscriptsubscript𝜎𝑛2F(r)=\sum_{n=0}^{N}A_{n}\exp{\left(\frac{R^{2}}{2\sigma_{n}^{2}}\right)},italic_F ( italic_r ) = ∑ start_POSTSUBSCRIPT italic_n = 0 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N end_POSTSUPERSCRIPT italic_A start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT roman_exp ( divide start_ARG italic_R start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG 2 italic_σ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG ) , (46)

where the amplitude An=wnf(σn)Δ(logσ)n/2πsubscript𝐴𝑛subscript𝑤𝑛𝑓subscript𝜎𝑛Δsubscript𝜎𝑛2𝜋A_{n}=w_{n}f(\sigma_{n})\Delta(\log\sigma)_{n}/\sqrt{2\pi}italic_A start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT = italic_w start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT italic_f ( italic_σ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ) roman_Δ ( roman_log italic_σ ) start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT / square-root start_ARG 2 italic_π end_ARG, with wnsubscript𝑤𝑛w_{n}italic_w start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT representing fixed weighting factors and R=x2+y2/q2𝑅superscript𝑥2superscript𝑦2superscript𝑞2R=\sqrt{x^{2}+y^{2}/q^{2}}italic_R = square-root start_ARG italic_x start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT + italic_y start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT / italic_q start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG. This MGE approach fits each mass or light density profile using 21 Gaussians to recover the profile within 0.5%similar-toabsentpercent0.5\sim 0.5\%∼ 0.5 % accuracy and runs in approximately 2.0×104 stimes2.0E-4second2.0\text{\times}{10}^{-4}\text{\,}\mathrm{s}start_ARG start_ARG 2.0 end_ARG start_ARG times end_ARG start_ARG power start_ARG 10 end_ARG start_ARG - 4 end_ARG end_ARG end_ARG start_ARG times end_ARG start_ARG roman_s end_ARG on a single GPU.

We present the runtime of the 1D MGE fitting implemented in JAX in Tab. 2 and compare it with the NumPy version from Shajib (2019). In this case, GPU acceleration does not provide a significant speedup, achieving a runtime comparable to that of a single mass profile. However, performance gains are realized when the models contain multiple 1D profiles of the same type. By leveraging the Just-in-Time (@jit) compiler and the vmap function in JAX, MGE fitting can be applied simultaneously to these profiles, improving efficiency. For readers interested in the speed comparison with the commonly used MgeFit package, we also provide a runtime comparison. In general, switching to the MGE 1D fit results in negligible computation time on both CPU and GPU.

We reimplement part of the jam.axi.proj function from the JamPy package999https://pypi.org/project/jampy/ to compute vLoS2¯¯superscriptsubscript𝑣LoS2\overline{v_{\rm LoS}^{2}}over¯ start_ARG italic_v start_POSTSUBSCRIPT roman_LoS end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG, the second velocity moment along the zsuperscript𝑧z^{\prime}italic_z start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT-axis on the plane of the sky. The main computational bottleneck lies in solving the Jeans equations (Eqs. 17 and 18) to derive vr2¯¯superscriptsubscript𝑣𝑟2\overline{v_{r}^{2}}over¯ start_ARG italic_v start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG, vθ2¯¯superscriptsubscript𝑣𝜃2\overline{v_{\theta}^{2}}over¯ start_ARG italic_v start_POSTSUBSCRIPT italic_θ end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG, and vϕ2¯¯superscriptsubscript𝑣italic-ϕ2\overline{v_{\phi}^{2}}over¯ start_ARG italic_v start_POSTSUBSCRIPT italic_ϕ end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG (see Sect. 5.1 in Cappellari (2020)). These computations involve numerical integrals, which is evaluated using adaptive quadrature methods in Shampine (2008). The integration region is initially divided into four subrectangles, and the integral in each subregion is computed using Gauss-Kronrod quadrature. If the estimated error in any subregion exceeds a predefined threshold, that subregion is further subdivided into four smaller subrectangles, and the process is repeated iteratively until the desired accuracy is achieved.

To enhance computational efficiency with the Just-in-Time (JIT) compiler, we modified the algorithm to use a fixed fine mesh. Specifically, the entire integration region is pre-divided into 64 subregions, with each subregion further subdivided into four smaller subrectangles, where Gauss-Kronrod quadrature is applied to compute the integral. The fractional error of 𝒗𝐫𝐦𝐬𝐩𝐫𝐞superscriptsubscript𝒗𝐫𝐦𝐬𝐩𝐫𝐞\bm{v_{\rm rms}^{\rm pre}}bold_italic_v start_POSTSUBSCRIPT bold_rms end_POSTSUBSCRIPT start_POSTSUPERSCRIPT bold_pre end_POSTSUPERSCRIPT compared to the results from the JamPy package is, on average, 105superscript10510^{-5}10 start_POSTSUPERSCRIPT - 5 end_POSTSUPERSCRIPT, well within the relative error tolerance of 0.01 set by JamPy. This level of accuracy is sufficient given the relatively simple mass and light profiles used in this paper to compute 𝒗𝐫𝐦𝐬𝐩𝐫𝐞superscriptsubscript𝒗𝐫𝐦𝐬𝐩𝐫𝐞\bm{v_{\rm rms}^{\rm pre}}bold_italic_v start_POSTSUBSCRIPT bold_rms end_POSTSUBSCRIPT start_POSTSUPERSCRIPT bold_pre end_POSTSUPERSCRIPT. However, for more complex mass potentials and luminosity density tracers, a finer integration grid may be required to achieve the same level of precision.

Switching to the non-adaptive integral solver enables the simultaneous computation of vr2¯¯superscriptsubscript𝑣𝑟2\overline{v_{r}^{2}}over¯ start_ARG italic_v start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG, vθ2¯¯superscriptsubscript𝑣𝜃2\overline{v_{\theta}^{2}}over¯ start_ARG italic_v start_POSTSUBSCRIPT italic_θ end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG, and vϕ2¯¯superscriptsubscript𝑣italic-ϕ2\overline{v_{\phi}^{2}}over¯ start_ARG italic_v start_POSTSUBSCRIPT italic_ϕ end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG at the required positions, significantly reducing the computation time from approximately similar-to\sim10 stimes10second10\text{\,}\mathrm{s}start_ARG 10 end_ARG start_ARG times end_ARG start_ARG roman_s end_ARG to similar-to\sim0.3 stimes0.3second0.3\text{\,}\mathrm{s}start_ARG 0.3 end_ARG start_ARG times end_ARG start_ARG roman_s end_ARG for over 200 points in polar coordinates on an A100 GPU, assuming a composite mass model. This model consists of baryonic and dark matter components, a black hole, and a mass sheet to account for internal MSD (see Tab. 2).

3.3 Joint modeling

In this section, we provide a detailed description of the joint modeling approach for time-delay cosmography. The input data 𝒅LDsubscript𝒅LD\bm{d}_{\rm LD}bold_italic_d start_POSTSUBSCRIPT roman_LD end_POSTSUBSCRIPT consist of both lensing and kinematic observations. The lensing data include the lens light, quasar image positions, the extended image of the host galaxy and the time delays between multiple observed images. The kinematic data comprise the spatially resolved kinematics map of the lens galaxy.

We use two Chameleon profiles to model the lens light in the optical image, which consists of two isothermal profiles with different core radii ωcsubscript𝜔c\omega_{\rm c}italic_ω start_POSTSUBSCRIPT roman_c end_POSTSUBSCRIPT and ωtsubscript𝜔t\omega_{\rm t}italic_ω start_POSTSUBSCRIPT roman_t end_POSTSUBSCRIPT,

Icham(x,y)=I01+q(1x2+y2q2+4ωc2(1+q)21x2+y2q2+4ωt2(1+q)2).subscript𝐼cham𝑥𝑦subscript𝐼01𝑞limit-from1superscript𝑥2superscript𝑦2superscript𝑞24superscriptsubscript𝜔c2superscript1𝑞21superscript𝑥2superscript𝑦2superscript𝑞24superscriptsubscript𝜔t2superscript1𝑞2\begin{split}I_{\rm cham}(x,y)=\frac{I_{0}}{1+q}&\left(\frac{1}{\sqrt{x^{2}+% \frac{y^{2}}{q^{2}}+\frac{4{\omega_{\rm c}}^{2}}{(1+q)^{2}}}}-\right.\\ &\left.\quad\frac{1}{\sqrt{x^{2}+\frac{y^{2}}{q^{2}}+\frac{4{\omega_{\rm t}}^{% 2}}{(1+q)^{2}}}}\right).\end{split}start_ROW start_CELL italic_I start_POSTSUBSCRIPT roman_cham end_POSTSUBSCRIPT ( italic_x , italic_y ) = divide start_ARG italic_I start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT end_ARG start_ARG 1 + italic_q end_ARG end_CELL start_CELL ( divide start_ARG 1 end_ARG start_ARG square-root start_ARG italic_x start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT + divide start_ARG italic_y start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG italic_q start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG + divide start_ARG 4 italic_ω start_POSTSUBSCRIPT roman_c end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG ( 1 + italic_q ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG end_ARG end_ARG - end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL divide start_ARG 1 end_ARG start_ARG square-root start_ARG italic_x start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT + divide start_ARG italic_y start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG italic_q start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG + divide start_ARG 4 italic_ω start_POSTSUBSCRIPT roman_t end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG ( 1 + italic_q ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG end_ARG end_ARG ) . end_CELL end_ROW (47)

The goodness of the lens light fitting is evaluated by

χlight2=j=1Np(IjIjprePSF)2σlight,j2,superscriptsubscript𝜒light2subscriptsuperscriptsubscript𝑁p𝑗1superscriptsubscript𝐼𝑗tensor-productsuperscriptsubscript𝐼𝑗prePSF2superscriptsubscript𝜎light,𝑗2\chi_{\text{light}}^{2}=\sum^{N_{\text{p}}}_{j=1}\frac{\left(I_{j}-I_{j}^{\rm pre% }\otimes\text{PSF}\right)^{2}}{\sigma_{\text{light,}j}^{2}},italic_χ start_POSTSUBSCRIPT light end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT = ∑ start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT p end_POSTSUBSCRIPT end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j = 1 end_POSTSUBSCRIPT divide start_ARG ( italic_I start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT - italic_I start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT start_POSTSUPERSCRIPT roman_pre end_POSTSUPERSCRIPT ⊗ PSF ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG italic_σ start_POSTSUBSCRIPT light, italic_j end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG , (48)

where Ijsubscript𝐼𝑗I_{j}italic_I start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT is the surface brightness in the pixel of the lens galaxy, and the PSF is the point spread function. The number of pixels Npsubscript𝑁pN_{\rm p}italic_N start_POSTSUBSCRIPT roman_p end_POSTSUBSCRIPT used for lensing light modeling in Eq. 48 excludes those used for modeling extended arcs (which already account for the lens light).

We adopt parameterised mass profiles κintsubscript𝜅int\kappa_{\rm int}italic_κ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT in the joint modeling. There are two mass classes

  • κint,comp=(1λint)+λint(ΥIlight+κenfw+κBH)subscript𝜅intcomp1subscript𝜆intsubscript𝜆intsubscriptΥsubscript𝐼lightsubscript𝜅enfwsubscript𝜅BH\kappa_{\rm int,comp}=(1-\lambda_{\rm int})+\lambda_{\rm int}(\Upsilon_{\ast}% \cdot I_{\rm light}+\kappa_{\rm enfw}+\kappa_{\rm BH})italic_κ start_POSTSUBSCRIPT roman_int , roman_comp end_POSTSUBSCRIPT = ( 1 - italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT ) + italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT ( roman_Υ start_POSTSUBSCRIPT ∗ end_POSTSUBSCRIPT ⋅ italic_I start_POSTSUBSCRIPT roman_light end_POSTSUBSCRIPT + italic_κ start_POSTSUBSCRIPT roman_enfw end_POSTSUBSCRIPT + italic_κ start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT )

  • κint,epl=(1λint)+λintκeplsubscript𝜅intepl1subscript𝜆intsubscript𝜆intsubscript𝜅epl\kappa_{\rm int,epl}=(1-\lambda_{\rm int})+\lambda_{\rm int}\kappa_{\rm epl}italic_κ start_POSTSUBSCRIPT roman_int , roman_epl end_POSTSUBSCRIPT = ( 1 - italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT ) + italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT italic_κ start_POSTSUBSCRIPT roman_epl end_POSTSUBSCRIPT.

In the first scenario, we model the baryonic component and dark matter of the lens galaxies separately. The baryonic component is represented by scaling the lens light profile Ilightsubscript𝐼lightI_{\rm light}italic_I start_POSTSUBSCRIPT roman_light end_POSTSUBSCRIPT, with a constant factor ΥsubscriptΥ\Upsilon_{\ast}roman_Υ start_POSTSUBSCRIPT ∗ end_POSTSUBSCRIPT, while the dark matter is modeled using κenfwsubscript𝜅enfw\kappa_{\rm enfw}italic_κ start_POSTSUBSCRIPT roman_enfw end_POSTSUBSCRIPT (see Eq. 62). Ilightsubscript𝐼lightI_{\rm light}italic_I start_POSTSUBSCRIPT roman_light end_POSTSUBSCRIPT consists of two Chameleon profiles. The BH mass is included as a point mass κBHsubscript𝜅BH\kappa_{\rm BH}italic_κ start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT. In the second scenario, we use an elliptical power-law (EPL) profile κeplsubscript𝜅epl\kappa_{\rm epl}italic_κ start_POSTSUBSCRIPT roman_epl end_POSTSUBSCRIPT to represent the total mass (see Appendix B). Because the EPL profile has a softening scale rscale=0.01subscript𝑟scale0.01r_{\rm scale}=0.01\arcsecitalic_r start_POSTSUBSCRIPT roman_scale end_POSTSUBSCRIPT = 0.01 ″ that is set to a small value, the mass distribution diverges in the center, eliminating the need to add a separate point mass to represent the BH. In addition, we adopt an external shear to account for the tidal stretch from neighboring galaxies with external potential, expressed in polar coordinates (R,ϕ)𝑅italic-ϕ(R,\phi)( italic_R , italic_ϕ ) as

ψext=12γextR2cos(2ϕ2ϕext),subscript𝜓ext12subscript𝛾extsuperscript𝑅22italic-ϕ2subscriptitalic-ϕext\psi_{\rm ext}=\frac{1}{2}\gamma_{\rm ext}R^{2}\cos{(2\phi-2\phi_{\rm ext})},italic_ψ start_POSTSUBSCRIPT roman_ext end_POSTSUBSCRIPT = divide start_ARG 1 end_ARG start_ARG 2 end_ARG italic_γ start_POSTSUBSCRIPT roman_ext end_POSTSUBSCRIPT italic_R start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT roman_cos ( 2 italic_ϕ - 2 italic_ϕ start_POSTSUBSCRIPT roman_ext end_POSTSUBSCRIPT ) , (49)

where γextsubscript𝛾ext\gamma_{\rm ext}italic_γ start_POSTSUBSCRIPT roman_ext end_POSTSUBSCRIPT represents the strength of the external shear, and the shear angle θextsubscript𝜃ext\theta_{\rm ext}italic_θ start_POSTSUBSCRIPT roman_ext end_POSTSUBSCRIPT represents the stretching orientation of the images. We do not list the external shear in the above κintsubscript𝜅int\kappa_{\rm int}italic_κ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT set-up because it adds zero contribution to the mass density with κshear=122ψext=0subscript𝜅shear12superscript2subscript𝜓ext0\kappa_{\rm shear}=\frac{1}{2}\nabla^{2}\psi_{\rm ext}=0italic_κ start_POSTSUBSCRIPT roman_shear end_POSTSUBSCRIPT = divide start_ARG 1 end_ARG start_ARG 2 end_ARG ∇ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_ψ start_POSTSUBSCRIPT roman_ext end_POSTSUBSCRIPT = 0.

In order to explicitly characterize the internal MSD, we adopt a dual pseudo-isothermal elliptical density (dPIE) profile (Elíasdóttir et al. 2007; Suyu & Halkola 2010), with a substantial core radius rcore=45subscript𝑟core45r_{\rm core}=45\arcsecitalic_r start_POSTSUBSCRIPT roman_core end_POSTSUBSCRIPT = 45 ″ and truncated at rtr=45.09subscript𝑟tr45.09r_{\rm tr}=45.09\arcsecitalic_r start_POSTSUBSCRIPT roman_tr end_POSTSUBSCRIPT = 45.09 ″. This profile mimics a flat mass sheet up to a radius of 20similar-toabsent20\sim 20\arcsec∼ 20 ″ before tapering down to zero. The extended arc observed at 1.651.651.65\arcsec1.65 ″ from the galaxy center implies that the lensing-only modeling remains unaffected by this additional mass sheet, rendering the distance DΔt,intsubscript𝐷ΔtintD_{\Delta\rm t,int}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT completely degenerate with λintsubscript𝜆int\lambda_{\rm int}italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT (Yıldırım et al. 2023). The expression for λintsubscript𝜆int\lambda_{\rm int}italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT is:

λintsubscript𝜆int\displaystyle\lambda_{\rm int}italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT =1κdPIEabsent1subscript𝜅dPIE\displaystyle=1-\kappa_{\rm dPIE}= 1 - italic_κ start_POSTSUBSCRIPT roman_dPIE end_POSTSUBSCRIPT (50)
=1a02rtr2rtr2rcore2(1R2+rcore21R2+rtr2),absent1subscript𝑎02superscriptsubscript𝑟tr2superscriptsubscript𝑟tr2superscriptsubscript𝑟core21superscript𝑅2superscriptsubscript𝑟core21superscript𝑅2superscriptsubscript𝑟tr2\displaystyle=1-\frac{a_{0}}{2}\frac{r_{\rm tr}^{2}}{r_{\rm tr}^{2}-r_{\rm core% }^{2}}\left(\frac{1}{\sqrt{R^{2}+r_{\rm core}^{2}}}-\frac{1}{\sqrt{R^{2}+r_{% \rm tr}^{2}}}\right),= 1 - divide start_ARG italic_a start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT end_ARG start_ARG 2 end_ARG divide start_ARG italic_r start_POSTSUBSCRIPT roman_tr end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG italic_r start_POSTSUBSCRIPT roman_tr end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT - italic_r start_POSTSUBSCRIPT roman_core end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG ( divide start_ARG 1 end_ARG start_ARG square-root start_ARG italic_R start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT + italic_r start_POSTSUBSCRIPT roman_core end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG end_ARG - divide start_ARG 1 end_ARG start_ARG square-root start_ARG italic_R start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT + italic_r start_POSTSUBSCRIPT roman_tr end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG end_ARG ) ,

where a0subscript𝑎0a_{0}italic_a start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT is a normalisation parameter and R2=x2+y2superscript𝑅2superscript𝑥2superscript𝑦2R^{2}=x^{2}+y^{2}italic_R start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT = italic_x start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT + italic_y start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT. In the region where Rrcoremuch-less-than𝑅subscript𝑟coreR\ll r_{\rm core}italic_R ≪ italic_r start_POSTSUBSCRIPT roman_core end_POSTSUBSCRIPT, we obtain an approximate constant mass sheet

λint1a02rtr2rtr2rcore2(1rcore1rtr).similar-to-or-equalssubscript𝜆int1subscript𝑎02superscriptsubscript𝑟tr2superscriptsubscript𝑟tr2superscriptsubscript𝑟core21subscript𝑟core1subscript𝑟tr\lambda_{\rm int}\simeq 1-\frac{a_{0}}{2}\frac{r_{\rm tr}^{2}}{r_{\rm tr}^{2}-% r_{\rm core}^{2}}\left(\frac{1}{r_{\rm core}}-\frac{1}{r_{\rm tr}}\right).italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT ≃ 1 - divide start_ARG italic_a start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT end_ARG start_ARG 2 end_ARG divide start_ARG italic_r start_POSTSUBSCRIPT roman_tr end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG italic_r start_POSTSUBSCRIPT roman_tr end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT - italic_r start_POSTSUBSCRIPT roman_core end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG ( divide start_ARG 1 end_ARG start_ARG italic_r start_POSTSUBSCRIPT roman_core end_POSTSUBSCRIPT end_ARG - divide start_ARG 1 end_ARG start_ARG italic_r start_POSTSUBSCRIPT roman_tr end_POSTSUBSCRIPT end_ARG ) . (51)

In the region where Rrtrmuch-greater-than𝑅subscript𝑟trR\gg r_{\rm tr}italic_R ≫ italic_r start_POSTSUBSCRIPT roman_tr end_POSTSUBSCRIPT, we have λint1similar-to-or-equalssubscript𝜆int1\lambda_{\rm int}\simeq 1italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT ≃ 1, indicating that the added mass sheet effectively vanishes at large scales. We emphasize that the values of rcoresubscript𝑟corer_{\rm core}italic_r start_POSTSUBSCRIPT roman_core end_POSTSUBSCRIPT and rtrsubscript𝑟trr_{\rm tr}italic_r start_POSTSUBSCRIPT roman_tr end_POSTSUBSCRIPT are carefully selected based on extensive testing to represent the worst-case scenario. While the internal MSD remains unaffected from a lensing perspective, its impact on the kinematic data is significant enough to impose constraints on λintsubscript𝜆int\lambda_{\rm int}italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT. In addition, the dPIE profile, which has a well-defined truncation radius, declines more rapidly than the mass-sheet profile used in Blum et al. (2020). This makes it a more suitable choice, as it may help prevent negative densities in the outermost regions.

Refer to caption
Figure 2: Workflow for joint modeling using RXJ 1131 as an example. The input datasets consist of photometric images and the spatial kinematics of the lens galaxy. The red contours in the middle right of the green panel represent the iso-contours of both the light and mass density distributions of the lens galaxy, derived from the MGE method (see Sect. 3.2). The modeled Ilightsubscript𝐼lightI_{\rm light}italic_I start_POSTSUBSCRIPT roman_light end_POSTSUBSCRIPT represents the light fitted from optical imaging, whereas Ilight,IFUsubscript𝐼lightIFUI_{\rm light,IFU}italic_I start_POSTSUBSCRIPT roman_light , roman_IFU end_POSTSUBSCRIPT corresponds to the light near the spectral absorption lines in the IFU data. In the paper, Ilightsubscript𝐼lightI_{\rm light}italic_I start_POSTSUBSCRIPT roman_light end_POSTSUBSCRIPT is equivalent to Ilight,IFUsubscript𝐼lightIFUI_{\rm light,IFU}italic_I start_POSTSUBSCRIPT roman_light , roman_IFU end_POSTSUBSCRIPT. We employ an MCMC sampler to simultaneously sample the parameter space 𝜼LDsubscript𝜼LD\bm{\eta}_{\rm LD}bold_italic_η start_POSTSUBSCRIPT roman_LD end_POSTSUBSCRIPT, for both lensing and dynamical modeling.

Using the chosen mass density model, either a composite or power-law model, along with Ilightsubscript𝐼lightI_{\rm light}italic_I start_POSTSUBSCRIPT roman_light end_POSTSUBSCRIPT, we perform lensing and dynamical modeling simultaneously (see Fig. 2). Both the light and mass density profile of the lens galaxy must have the same position angle φPAsubscript𝜑PA\varphi_{\rm PA}italic_φ start_POSTSUBSCRIPT roman_PA end_POSTSUBSCRIPT, to maintain the axisymmetric assumption. In our joint modeling, we fix this position angle to the mock input value. On the lensing side, we model the extended arc, lensing light, image positions, and time delays. For dynamical modeling, we decompose Ilightsubscript𝐼lightI_{\rm light}italic_I start_POSTSUBSCRIPT roman_light end_POSTSUBSCRIPT and ΣintsubscriptΣint\Sigma_{\rm int}roman_Σ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT into multiple Gaussian components. The MGE is carried out up to 505050\arcsec50 ″ from the lensing centroid, corresponding to approximately 200 kpc, ensuring that the mass density κintsubscript𝜅int\kappa_{\rm int}italic_κ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT, transformed by the internal mass sheet, remains physically meaningful at large distances. We focus on scenarios where the total mass density remains positive everywhere, ensuring physically valid predictions for 𝒗𝐫𝐦𝐬𝐩𝐫𝐞superscriptsubscript𝒗𝐫𝐦𝐬𝐩𝐫𝐞\bm{v_{\rm rms}^{\rm pre}}bold_italic_v start_POSTSUBSCRIPT bold_rms end_POSTSUBSCRIPT start_POSTSUPERSCRIPT bold_pre end_POSTSUPERSCRIPT, as negative densities would lead to unphysical results. To compute the predicted kinematic map, we incorporate the MGEs of Ilightsubscript𝐼lightI_{\rm light}italic_I start_POSTSUBSCRIPT roman_light end_POSTSUBSCRIPT and ΣintsubscriptΣint\Sigma_{\rm int}roman_Σ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT into the JAM modeling framework (see Sect. 2.4) to calculate 𝒗𝐫𝐦𝐬𝐩𝐫𝐞superscriptsubscript𝒗𝐫𝐦𝐬𝐩𝐫𝐞\bm{v_{\rm rms}^{\rm pre}}bold_italic_v start_POSTSUBSCRIPT bold_rms end_POSTSUBSCRIPT start_POSTSUPERSCRIPT bold_pre end_POSTSUPERSCRIPT. In practice, the light Ilight,IFUsubscript𝐼lightIFUI_{\rm light,IFU}italic_I start_POSTSUBSCRIPT roman_light , roman_IFU end_POSTSUBSCRIPT near the spectral absorption lines in the IFU data should be provided to JAM to trace the stellar population responsible for these lines. In this paper, we work on the simulated kinematic data. However, we instead use the best-fit lens light model from the F814W filter in the infrared band. Since the lens galaxy in RXJ1131 is an early-type elliptical galaxy, the infrared band effectively characterizes the dominant stellar populations.

The best-fit model is determined through joint modeling within a Bayesian framework. We sample the posterior distribution of parameters P(𝜼LD|𝒅LD)𝑃conditionalsubscript𝜼LDsubscript𝒅LDP(\bm{\eta}_{\rm LD}|\bm{d}_{\rm LD})italic_P ( bold_italic_η start_POSTSUBSCRIPT roman_LD end_POSTSUBSCRIPT | bold_italic_d start_POSTSUBSCRIPT roman_LD end_POSTSUBSCRIPT ) (see Eq. 52) using the Metropolis-Hastings Markov Chain Monte Carlo (MCMC) method,

P(𝜼LD|𝒅LD)(𝒅LD|𝜼LD)P(𝜼LD)=(𝒅L|𝜼LD)(𝒅D|𝜼LD)P(𝜼LD)proportional-to𝑃conditionalsubscript𝜼LDsubscript𝒅LDconditionalsubscript𝒅LDsubscript𝜼LD𝑃subscript𝜼LDconditionalsubscript𝒅Lsubscript𝜼LDconditionalsubscript𝒅Dsubscript𝜼LD𝑃subscript𝜼LD\begin{split}P(\bm{\eta}_{\rm LD}|\bm{d}_{\rm LD})\propto\mathcal{L}(\bm{d}_{% \rm LD}\leavevmode\nobreak\ |\leavevmode\nobreak\ \bm{\eta}_{\rm LD})P(\bm{% \eta}_{\rm LD})\\ =\mathcal{L}(\bm{d}_{\rm L}\leavevmode\nobreak\ |\leavevmode\nobreak\ \bm{\eta% }_{\rm LD})\mathcal{L}(\bm{d}_{\rm D}\leavevmode\nobreak\ |\leavevmode\nobreak% \ \bm{\eta}_{\rm LD})P(\bm{\eta}_{\rm LD})\end{split}start_ROW start_CELL italic_P ( bold_italic_η start_POSTSUBSCRIPT roman_LD end_POSTSUBSCRIPT | bold_italic_d start_POSTSUBSCRIPT roman_LD end_POSTSUBSCRIPT ) ∝ caligraphic_L ( bold_italic_d start_POSTSUBSCRIPT roman_LD end_POSTSUBSCRIPT | bold_italic_η start_POSTSUBSCRIPT roman_LD end_POSTSUBSCRIPT ) italic_P ( bold_italic_η start_POSTSUBSCRIPT roman_LD end_POSTSUBSCRIPT ) end_CELL end_ROW start_ROW start_CELL = caligraphic_L ( bold_italic_d start_POSTSUBSCRIPT roman_L end_POSTSUBSCRIPT | bold_italic_η start_POSTSUBSCRIPT roman_LD end_POSTSUBSCRIPT ) caligraphic_L ( bold_italic_d start_POSTSUBSCRIPT roman_D end_POSTSUBSCRIPT | bold_italic_η start_POSTSUBSCRIPT roman_LD end_POSTSUBSCRIPT ) italic_P ( bold_italic_η start_POSTSUBSCRIPT roman_LD end_POSTSUBSCRIPT ) end_CELL end_ROW (52)

where 𝒅Lsubscript𝒅L\bm{d}_{\rm L}bold_italic_d start_POSTSUBSCRIPT roman_L end_POSTSUBSCRIPT presents the lensing data, 𝒅Dsubscript𝒅D\bm{d}_{\rm D}bold_italic_d start_POSTSUBSCRIPT roman_D end_POSTSUBSCRIPT the kinematic data and P(𝜼LD)𝑃subscript𝜼LDP(\bm{\eta}_{\rm LD})italic_P ( bold_italic_η start_POSTSUBSCRIPT roman_LD end_POSTSUBSCRIPT ) the prior for the lensing and dynamical parameters. The goodness-of-fit for a model is defined as

χLD2=χlight22logP(𝒅𝐞𝐬𝐫|𝐟,λ^,𝐠)+χimg2+χtmd2+χdyn2.subscriptsuperscript𝜒2LDsubscriptsuperscript𝜒2light2𝑃conditionalsubscript𝒅𝐞𝐬𝐫𝐟^𝜆𝐠subscriptsuperscript𝜒2imgsubscriptsuperscript𝜒2tmdsubscriptsuperscript𝜒2dyn\chi^{2}_{\rm LD}=\chi^{2}_{\rm light}-2\log P(\bm{d_{\rm esr}}|\leavevmode% \nobreak\ \bm{\rm f},\hat{\lambda},\bm{\rm g})+\chi^{2}_{\rm img}+\chi^{2}_{% \rm tmd}+\chi^{2}_{\rm dyn}.italic_χ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT start_POSTSUBSCRIPT roman_LD end_POSTSUBSCRIPT = italic_χ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT start_POSTSUBSCRIPT roman_light end_POSTSUBSCRIPT - 2 roman_log italic_P ( bold_italic_d start_POSTSUBSCRIPT bold_esr end_POSTSUBSCRIPT | bold_f , over^ start_ARG italic_λ end_ARG , bold_g ) + italic_χ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT start_POSTSUBSCRIPT roman_img end_POSTSUBSCRIPT + italic_χ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT start_POSTSUBSCRIPT roman_tmd end_POSTSUBSCRIPT + italic_χ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT start_POSTSUBSCRIPT roman_dyn end_POSTSUBSCRIPT . (53)

The MCMC sampling is conducted on the CPU, where 𝜼LDsubscript𝜼LD\bm{\eta}_{\rm LD}bold_italic_η start_POSTSUBSCRIPT roman_LD end_POSTSUBSCRIPT, involving approximately 10 parameters, is drawn and then transferred to the GPU for extended image, lens light and dynamical modeling. Since the image-position and time-delay modeling involves processing a relatively small dataset, it is kept on the CPU. Although data transfer between the CPU and GPU incurs some latency, the number of transferred data points in our case is on the order of 𝒪(10)similar-toabsent𝒪10\sim\mathcal{O}(10)∼ caligraphic_O ( 10 ), resulting in a negligible transfer time.

We achieve a 20× speedup per sampling step using JAX on a single A100 GPU. Tab. 2 presents the runtime for each step using a composite mass model. Additionally, we include the runtime of the JAX code on a CPU for readers interested in evaluating the parallelization performance gains of JAX in different hardware. We note that the JAX is primarily optimized for GPU. On CPUs, its compilation overhead, lack of CPU-specific optimizations, and execution graph transformations can make it slower than NumPy.

Process Type of Implementation Runtime (CPU) Runtime (GPU)
Previous Extended Image Suyu et al. (2006) in C 2 stimes2second2\text{\,}\mathrm{s}start_ARG 2 end_ARG start_ARG times end_ARG start_ARG roman_s end_ARG
work MGE 1D fit (1 profile; total) Shajib (2019) in NumPy similar-to\sim2.0×104 stimes2.0E-4second2.0\text{\times}{10}^{-4}\text{\,}\mathrm{s}start_ARG start_ARG 2.0 end_ARG start_ARG times end_ARG start_ARG power start_ARG 10 end_ARG start_ARG - 4 end_ARG end_ARG end_ARG start_ARG times end_ARG start_ARG roman_s end_ARG; 1.0×103 stimes1.0E-3second1.0\text{\times}{10}^{-3}\text{\,}\mathrm{s}start_ARG start_ARG 1.0 end_ARG start_ARG times end_ARG start_ARG power start_ARG 10 end_ARG start_ARG - 3 end_ARG end_ARG end_ARG start_ARG times end_ARG start_ARG roman_s end_ARG
MGE 1D fit (1 profile; total) mge.fit_1D(linear = True) in NumPy 11footnotemark: 1 similar-to\sim 3.0×103 stimes3.0E-3second3.0\text{\times}{10}^{-3}\text{\,}\mathrm{s}start_ARG start_ARG 3.0 end_ARG start_ARG times end_ARG start_ARG power start_ARG 10 end_ARG start_ARG - 3 end_ARG end_ARG end_ARG start_ARG times end_ARG start_ARG roman_s end_ARG; 0.02 stimes0.02second0.02\text{\,}\mathrm{s}start_ARG 0.02 end_ARG start_ARG times end_ARG start_ARG roman_s end_ARG
vr2¯¯superscriptsubscript𝑣𝑟2\overline{v_{r}^{2}}over¯ start_ARG italic_v start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG, vθ2¯¯superscriptsubscript𝑣𝜃2\overline{v_{\theta}^{2}}over¯ start_ARG italic_v start_POSTSUBSCRIPT italic_θ end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG, vϕ2¯¯superscriptsubscript𝑣italic-ϕ2\overline{v_{\phi}^{2}}over¯ start_ARG italic_v start_POSTSUBSCRIPT italic_ϕ end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG calculations Integral solver (adaptive) in NumPy 22footnotemark: 2 13 stimes13second13\text{\,}\mathrm{s}start_ARG 13 end_ARG start_ARG times end_ARG start_ARG roman_s end_ARG
𝒗𝐫𝐦𝐬𝐩𝐫𝐞superscriptsubscript𝒗𝐫𝐦𝐬𝐩𝐫𝐞\bm{v_{\rm rms}^{\rm pre}}bold_italic_v start_POSTSUBSCRIPT bold_rms end_POSTSUBSCRIPT start_POSTSUPERSCRIPT bold_pre end_POSTSUPERSCRIPT calculation jam.axi.proj in NumPy 22footnotemark: 2 14 stimes14second14\text{\,}\mathrm{s}start_ARG 14 end_ARG start_ARG times end_ARG start_ARG roman_s end_ARG
This paper Extended Image Follows Suyu et al. (2006) in JAX 10 stimes10second10\text{\,}\mathrm{s}start_ARG 10 end_ARG start_ARG times end_ARG start_ARG roman_s end_ARG 0.21 stimes0.21second0.21\text{\,}\mathrm{s}start_ARG 0.21 end_ARG start_ARG times end_ARG start_ARG roman_s end_ARG
MGE 1D fit (1 profile; total) Follows Shajib (2019) in JAX similar-to\sim 0.13 stimes0.13second0.13\text{\,}\mathrm{s}start_ARG 0.13 end_ARG start_ARG times end_ARG start_ARG roman_s end_ARG; 0.52 stimes0.52second0.52\text{\,}\mathrm{s}start_ARG 0.52 end_ARG start_ARG times end_ARG start_ARG roman_s end_ARG similar-to\sim2.0×104 stimes2.0E-4second2.0\text{\times}{10}^{-4}\text{\,}\mathrm{s}start_ARG start_ARG 2.0 end_ARG start_ARG times end_ARG start_ARG power start_ARG 10 end_ARG start_ARG - 4 end_ARG end_ARG end_ARG start_ARG times end_ARG start_ARG roman_s end_ARG; 6.0×104 stimes6.0E-4second6.0\text{\times}{10}^{-4}\text{\,}\mathrm{s}start_ARG start_ARG 6.0 end_ARG start_ARG times end_ARG start_ARG power start_ARG 10 end_ARG start_ARG - 4 end_ARG end_ARG end_ARG start_ARG times end_ARG start_ARG roman_s end_ARG
vr2¯¯superscriptsubscript𝑣𝑟2\overline{v_{r}^{2}}over¯ start_ARG italic_v start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG, vθ2¯¯superscriptsubscript𝑣𝜃2\overline{v_{\theta}^{2}}over¯ start_ARG italic_v start_POSTSUBSCRIPT italic_θ end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG, vϕ2¯¯superscriptsubscript𝑣italic-ϕ2\overline{v_{\phi}^{2}}over¯ start_ARG italic_v start_POSTSUBSCRIPT italic_ϕ end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG calculations Integral solver (non-adaptive) in JAX 118 stimes118second118\text{\,}\mathrm{s}start_ARG 118 end_ARG start_ARG times end_ARG start_ARG roman_s end_ARG 0.32 stimes0.32second0.32\text{\,}\mathrm{s}start_ARG 0.32 end_ARG start_ARG times end_ARG start_ARG roman_s end_ARG
𝒗𝐫𝐦𝐬𝐩𝐫𝐞superscriptsubscript𝒗𝐫𝐦𝐬𝐩𝐫𝐞\bm{v_{\rm rms}^{\rm pre}}bold_italic_v start_POSTSUBSCRIPT bold_rms end_POSTSUBSCRIPT start_POSTSUPERSCRIPT bold_pre end_POSTSUPERSCRIPT calculation jam.axi.proj in JAX 119 stimes119second119\text{\,}\mathrm{s}start_ARG 119 end_ARG start_ARG times end_ARG start_ARG roman_s end_ARG 0.33 stimes0.33second0.33\text{\,}\mathrm{s}start_ARG 0.33 end_ARG start_ARG times end_ARG start_ARG roman_s end_ARG
Table 2: Time comparison for one-step sampling in joint modeling using a composite mass model with a 64×64646464\times 6464 × 64 source grid (see Sect. 3.3 for the adopted profiles in the composite mass model). The computations were performed on a 2.10 GHz CPU and an NVIDIA A100 GPU. This table presents the runtime for the MGE 1D fit, both for a single mass or light profile (denoted as “1 profile”) and for the decomposition of all mass and light profiles in the modeling (denoted as “total”). The comparison of all MGE 1D fits is conducted using the same number of 21 Gaussians and the same number of log radii. The running time of the integral solver shows the calculation time for the second velocity moment on the diagonal of the tensor, which is the most time-consuming part for deriving 𝒗𝐫𝐦𝐬𝐩𝐫𝐞superscriptsubscript𝒗𝐫𝐦𝐬𝐩𝐫𝐞\bm{v_{\rm rms}^{\rm pre}}bold_italic_v start_POSTSUBSCRIPT bold_rms end_POSTSUBSCRIPT start_POSTSUPERSCRIPT bold_pre end_POSTSUPERSCRIPT. We adopt the same number of Guassins for testing, i.e. 42 Gaussins for lens light and 95 Gaussians for composite mass model. Note that JAX is primarily designed to maximize parallelization performance on GPUs. We present the running time of JAX code on a CPU to isolate the impact of GPU acceleration. In practice, the code is intended to run on GPUs.

3.4 Bayesian information criterion (BIC)

In this section, we introduce a BIC method to distinguish the goodness of mass models of lens galaxies with different 𝜼𝐋𝐃subscript𝜼𝐋𝐃\bm{\eta_{\rm LD}}bold_italic_η start_POSTSUBSCRIPT bold_LD end_POSTSUBSCRIPT. The BIC is an approximation to the Bayesian evidence

PLD(𝒅LD|)=PLD(𝒅LD|,𝜼LD)PLD(𝜼LD|)𝑑𝜼LDexp(BIC/2),subscript𝑃LDconditionalsubscript𝒅LDsubscript𝑃LDconditionalsubscript𝒅LDsubscript𝜼LDsubscript𝑃LDconditionalsubscript𝜼LDdifferential-dsubscript𝜼LDBIC2\begin{split}P_{\rm LD}(\bm{d}_{\rm LD}|\mathcal{M})=\int P_{\rm LD}(\bm{d}_{% \rm LD}|\mathcal{M},\bm{\eta}_{\rm LD})P_{\rm LD}(\bm{\eta}_{\rm LD}|\mathcal{% M})\,d\bm{\eta}_{\rm LD}\\ \approx\exp(-\mathrm{BIC}/2),\end{split}start_ROW start_CELL italic_P start_POSTSUBSCRIPT roman_LD end_POSTSUBSCRIPT ( bold_italic_d start_POSTSUBSCRIPT roman_LD end_POSTSUBSCRIPT | caligraphic_M ) = ∫ italic_P start_POSTSUBSCRIPT roman_LD end_POSTSUBSCRIPT ( bold_italic_d start_POSTSUBSCRIPT roman_LD end_POSTSUBSCRIPT | caligraphic_M , bold_italic_η start_POSTSUBSCRIPT roman_LD end_POSTSUBSCRIPT ) italic_P start_POSTSUBSCRIPT roman_LD end_POSTSUBSCRIPT ( bold_italic_η start_POSTSUBSCRIPT roman_LD end_POSTSUBSCRIPT | caligraphic_M ) italic_d bold_italic_η start_POSTSUBSCRIPT roman_LD end_POSTSUBSCRIPT end_CELL end_ROW start_ROW start_CELL ≈ roman_exp ( - roman_BIC / 2 ) , end_CELL end_ROW (54)

where \mathcal{M}caligraphic_M is the constructed mass model with parameters 𝜼𝐋𝐃subscript𝜼𝐋𝐃\bm{\eta_{\rm LD}}bold_italic_η start_POSTSUBSCRIPT bold_LD end_POSTSUBSCRIPT. The BIC is defined as

BIC=kln(n)2ln(),BIC𝑘𝑛2ln{\rm BIC}=k\ln(n)-2\rm ln(\mathcal{L}),roman_BIC = italic_k roman_ln ( italic_n ) - 2 roman_l roman_n ( caligraphic_L ) , (55)

where k𝑘kitalic_k is the number of parameters in the model, n𝑛nitalic_n is the number of data points, and \mathcal{L}caligraphic_L is the maximum likelihood of the model. The BIC penalizes models with a higher number of parameters, effectively balancing goodness of fit with model simplicity. The likelihood in our case is the product of the lensing modeling (𝒅L|𝜼LD)conditionalsubscript𝒅Lsubscript𝜼LD\mathcal{L}(\bm{d}_{\rm L}\leavevmode\nobreak\ |\leavevmode\nobreak\ \bm{\eta}% _{\rm LD})caligraphic_L ( bold_italic_d start_POSTSUBSCRIPT roman_L end_POSTSUBSCRIPT | bold_italic_η start_POSTSUBSCRIPT roman_LD end_POSTSUBSCRIPT ) and dynamical modeling (𝒅D|𝜼LD)conditionalsubscript𝒅Dsubscript𝜼LD\mathcal{L}(\bm{d}_{\rm D}\leavevmode\nobreak\ |\leavevmode\nobreak\ \bm{\eta}% _{\rm LD})caligraphic_L ( bold_italic_d start_POSTSUBSCRIPT roman_D end_POSTSUBSCRIPT | bold_italic_η start_POSTSUBSCRIPT roman_LD end_POSTSUBSCRIPT ). The likelihood is easily overwhelmed by the lensing data due to the large amount of pixels on the extended arcs. In this work, we focus on using spatially resolved kinematics data to break the internal MSD and constrain λintsubscript𝜆int\lambda_{\rm int}italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT. The lensing-only modeling cannot constrain λintsubscript𝜆int\lambda_{\rm int}italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT. Thus, we discard (𝒅L|𝜼LD)conditionalsubscript𝒅Lsubscript𝜼LD\mathcal{L}(\bm{d}_{\rm L}\leavevmode\nobreak\ |\leavevmode\nobreak\ \bm{\eta}% _{\rm LD})caligraphic_L ( bold_italic_d start_POSTSUBSCRIPT roman_L end_POSTSUBSCRIPT | bold_italic_η start_POSTSUBSCRIPT roman_LD end_POSTSUBSCRIPT ) and only make use of the difference of (𝒅D|𝜼LD)conditionalsubscript𝒅Dsubscript𝜼LD\mathcal{L}(\bm{d}_{\rm D}\leavevmode\nobreak\ |\leavevmode\nobreak\ \bm{\eta}% _{\rm LD})caligraphic_L ( bold_italic_d start_POSTSUBSCRIPT roman_D end_POSTSUBSCRIPT | bold_italic_η start_POSTSUBSCRIPT roman_LD end_POSTSUBSCRIPT ) from the joint modeling to weight the posterior distribution.

We identify minsubscriptmin\mathcal{M}_{\rm min}caligraphic_M start_POSTSUBSCRIPT roman_min end_POSTSUBSCRIPT as the model with the lowest BICminsubscriptBICmin\rm BIC_{\rm min}roman_BIC start_POSTSUBSCRIPT roman_min end_POSTSUBSCRIPT, which corresponds to the minimal χdyn2subscriptsuperscript𝜒2dyn\chi^{2}_{\rm dyn}italic_χ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT start_POSTSUBSCRIPT roman_dyn end_POSTSUBSCRIPT from the dynamical modeling (since k𝑘kitalic_k and n𝑛nitalic_n remain the same). The probability ratio of a model isubscript𝑖\mathcal{M}_{i}caligraphic_M start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT to the model minsubscriptmin\mathcal{M}_{\rm min}caligraphic_M start_POSTSUBSCRIPT roman_min end_POSTSUBSCRIPT given the data 𝒅LDsubscript𝒅LD\bm{d}_{\rm LD}bold_italic_d start_POSTSUBSCRIPT roman_LD end_POSTSUBSCRIPT is

PLD(𝒅LD|i)PLD(𝒅LD|min)=exp{(BICiBICmin)/2}.subscript𝑃LDconditionalsubscript𝒅LDsubscript𝑖subscript𝑃LDconditionalsubscript𝒅LDsubscriptminsubscriptBIC𝑖subscriptBICmin2\frac{P_{\rm LD}(\bm{d}_{\rm LD}|\mathcal{M}_{i})}{P_{\rm LD}(\bm{d}_{\rm LD}|% \mathcal{M}_{\rm min})}=\exp{\{-({\rm BIC}_{i}-{\rm BIC}_{\rm min})/2\}}.divide start_ARG italic_P start_POSTSUBSCRIPT roman_LD end_POSTSUBSCRIPT ( bold_italic_d start_POSTSUBSCRIPT roman_LD end_POSTSUBSCRIPT | caligraphic_M start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) end_ARG start_ARG italic_P start_POSTSUBSCRIPT roman_LD end_POSTSUBSCRIPT ( bold_italic_d start_POSTSUBSCRIPT roman_LD end_POSTSUBSCRIPT | caligraphic_M start_POSTSUBSCRIPT roman_min end_POSTSUBSCRIPT ) end_ARG = roman_exp { - ( roman_BIC start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - roman_BIC start_POSTSUBSCRIPT roman_min end_POSTSUBSCRIPT ) / 2 } . (56)

After normalizing for Nmsubscript𝑁mN_{\rm m}italic_N start_POSTSUBSCRIPT roman_m end_POSTSUBSCRIPT models, we obtain the weighting factor for each model isubscript𝑖\mathcal{M}_{i}caligraphic_M start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT,

fBIC,i=exp{(BICiBICmin)/2}i=1Nmexp{(BICiBICmin)/2},subscript𝑓BIC𝑖subscriptBIC𝑖subscriptBICmin2superscriptsubscript𝑖1subscript𝑁msubscriptBIC𝑖subscriptBICmin2f_{\text{BIC},i}=\frac{\exp{\{-({\rm BIC}_{i}-{\rm BIC}_{\rm min})/2\}}}{\sum_% {i=1}^{N_{\rm m}}\exp{\{-({\rm BIC}_{i}-{\rm BIC}_{\rm min})/2\}}},italic_f start_POSTSUBSCRIPT BIC , italic_i end_POSTSUBSCRIPT = divide start_ARG roman_exp { - ( roman_BIC start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - roman_BIC start_POSTSUBSCRIPT roman_min end_POSTSUBSCRIPT ) / 2 } end_ARG start_ARG ∑ start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT roman_m end_POSTSUBSCRIPT end_POSTSUPERSCRIPT roman_exp { - ( roman_BIC start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - roman_BIC start_POSTSUBSCRIPT roman_min end_POSTSUBSCRIPT ) / 2 } end_ARG , (57)

with BICiBICmin>=0subscriptBIC𝑖subscriptBICmin0{\rm BIC}_{i}-{\rm BIC}_{\rm min}>=0roman_BIC start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - roman_BIC start_POSTSUBSCRIPT roman_min end_POSTSUBSCRIPT > = 0. As discussed in Sect. 3.1, the preferred lensing mass parameters vary across different parameter spaces depending on the source resolution. The choice of source pixelization introduces uncertainties in the BIC for a given lens mass parametrization (see Appendix. C). To quantify this uncertainty, we compare the BIC values across different source grids and measure the root-mean-square scatter σBICsubscript𝜎BIC\sigma_{\rm BIC}italic_σ start_POSTSUBSCRIPT roman_BIC end_POSTSUBSCRIPT. Following Birrer et al. (2019) and Yıldırım et al. (2020), we incorporate this uncertainty into the model weighting by convolving fBICsubscript𝑓BICf_{\rm BIC}italic_f start_POSTSUBSCRIPT roman_BIC end_POSTSUBSCRIPT in Eq. 56 with a Gaussian distribution of variance σBIC2superscriptsubscript𝜎BIC2\sigma_{\rm BIC}^{2}italic_σ start_POSTSUBSCRIPT roman_BIC end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT, thereby obtaining the updated model weights:

fBIC,i(BICi)=h(BICi,σBIC)fBIC,i(BICi),subscriptsuperscript𝑓BIC𝑖subscriptBIC𝑖tensor-productsubscriptBIC𝑖subscript𝜎BICsubscript𝑓BIC𝑖subscriptBIC𝑖f^{*}_{\mathrm{BIC},i}(\mathrm{BIC}_{i})=h(\mathrm{BIC}_{i},\sigma_{\mathrm{% BIC}})\otimes f_{\mathrm{BIC},i}(\mathrm{BIC}_{i}),italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT roman_BIC , italic_i end_POSTSUBSCRIPT ( roman_BIC start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) = italic_h ( roman_BIC start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT , italic_σ start_POSTSUBSCRIPT roman_BIC end_POSTSUBSCRIPT ) ⊗ italic_f start_POSTSUBSCRIPT roman_BIC , italic_i end_POSTSUBSCRIPT ( roman_BIC start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) , (58)

where

h(BICi,σBIC)=12πσBIC2exp(BICi22σBIC2)subscriptBIC𝑖subscript𝜎BIC12𝜋superscriptsubscript𝜎BIC2superscriptsubscriptBIC𝑖22superscriptsubscript𝜎BIC2h(\mathrm{BIC}_{i},\sigma_{\mathrm{BIC}})=\frac{1}{\sqrt{2\pi\sigma_{\mathrm{% BIC}}^{2}}}\exp\left(-\frac{\mathrm{BIC}_{i}^{2}}{2\sigma_{\mathrm{BIC}}^{2}}\right)italic_h ( roman_BIC start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT , italic_σ start_POSTSUBSCRIPT roman_BIC end_POSTSUBSCRIPT ) = divide start_ARG 1 end_ARG start_ARG square-root start_ARG 2 italic_π italic_σ start_POSTSUBSCRIPT roman_BIC end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG end_ARG roman_exp ( - divide start_ARG roman_BIC start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG 2 italic_σ start_POSTSUBSCRIPT roman_BIC end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG ) (59)

4 Simulated mock datasets

RXJ1131 was discovered by Sluse et al. (2003). The lens galaxy is located at a redshift of zlens=0.295subscript𝑧lens0.295z_{\text{lens}}=0.295italic_z start_POSTSUBSCRIPT lens end_POSTSUBSCRIPT = 0.295, while the lensed source galaxy is at a redshift of zs=0.654subscript𝑧s0.654z_{\text{s}}=0.654italic_z start_POSTSUBSCRIPT s end_POSTSUBSCRIPT = 0.654, both confirmed through spectroscopy (e.g., Sluse et al. 2007). The lens is accompanied by a faint satellite galaxy S (see Fig. 3), which JWST NIRSpec has confirmed to be at the same redshift as the lens (see Shajib et al., in prep). Imaging data was collected from the Hubble Space Telescope (HST) Advanced Camera for Surveys (ACS) with an exposure time of 1980 seconds. Time-delay measurements for RXJ1131 were made through a dedicated optical monitoring campaign under the COSMOGRAIL program (e.g., Tewes et al. 2013). These measurements, based on frequent observations (every 3 days) over more than 9 years and involving over 700 epochs using meter-class telescopes and new curve-shifting techniques, reported an approximately 3%percent33\%3 % precision time delay by Tewes et al. (2013); Liao et al. (2015); Bonvin et al. (2017). Microlensing-induced time-delay shifts, as analyzed by Tie & Kochanek (2018), have been found to be negligible within the context of the extended delay, as discussed by Chen et al. (2018).

To generate the mock HST imaging of RXJ1131, we use the best-fit mass model obtained from lensing-only modeling of the HST F814W-band imaging, with a source grid resolution of 64×64646464\times 6464 × 64. The mass model consists of a composite profile, where the baryonic component is represented by two Chameleon profiles (see Eq. 47) scaled by a constant and the dark matter halo is characterized by κenfwsubscript𝜅enfw\kappa_{\rm enfw}italic_κ start_POSTSUBSCRIPT roman_enfw end_POSTSUBSCRIPT. Additionally, the model includes an external shear and a fixed BH mass. The lens galaxy in RXJ1131 exhibits a high central velocity dispersion σdispsubscript𝜎disp\sigma_{\rm disp}italic_σ start_POSTSUBSCRIPT roman_disp end_POSTSUBSCRIPT with σdisp=320±20kms1subscript𝜎dispplus-or-minus32020kmsuperscripts1\sigma_{\rm disp}=320\pm 20\leavevmode\nobreak\ \rm km\leavevmode\nobreak\ s^{% -1}italic_σ start_POSTSUBSCRIPT roman_disp end_POSTSUBSCRIPT = 320 ± 20 roman_km roman_s start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT (Suyu et al. 2014; Shajib et al. 2023). By applying the scaling relation between σdispsubscript𝜎disp\sigma_{\rm disp}italic_σ start_POSTSUBSCRIPT roman_disp end_POSTSUBSCRIPT and MBHsubscript𝑀BHM_{\rm BH}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT (e.g., Kormendy & Ho 2013; McConnell & Ma 2013), we estimate the BH mass to be between 109Msuperscript109subscriptMdirect-product10^{9}\leavevmode\nobreak\ {\rm M_{\odot}}10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT roman_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT and 1010Msuperscript1010subscriptMdirect-product10^{10}\leavevmode\nobreak\ {\rm M_{\odot}}10 start_POSTSUPERSCRIPT 10 end_POSTSUPERSCRIPT roman_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT. Kormendy (2013) predicts MBH2.4×109Msubscript𝑀BH2.4superscript109subscript𝑀direct-productM_{\rm BH}\approx 2.4\times 10^{9}M_{\odot}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT ≈ 2.4 × 10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT italic_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT, while the version by McConnell & Ma (2013) gives MBH3.0×109Msubscript𝑀BH3.0superscript109subscript𝑀direct-productM_{\rm BH}\approx 3.0\times 10^{9}M_{\odot}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT ≈ 3.0 × 10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT italic_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT. We set a higher BH mass of MBH=5×109Msubscript𝑀BH5superscript109subscript𝑀direct-productM_{\rm BH}=5\times 10^{9}\leavevmode\nobreak\ M_{\odot}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT = 5 × 10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT italic_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT in the simulated kinematic data to explore its effects in cosmography inference. This value remains a reasonable estimate, as suggested by Fig. 16 of Kormendy & Ho (2013) and Fig. 1 of McConnell & Ma (2013). We do not add any mass sheet to the best-fit model, ensuring that λintmock=1superscriptsubscript𝜆intmock1\lambda_{\rm int}^{\rm mock}=1italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT start_POSTSUPERSCRIPT roman_mock end_POSTSUPERSCRIPT = 1, indicating no MSD in the simulated data. We randomly select an external convergence value of κextmock=0.079superscriptsubscript𝜅extmock0.079\kappa_{\rm ext}^{\rm mock}=0.079italic_κ start_POSTSUBSCRIPT roman_ext end_POSTSUBSCRIPT start_POSTSUPERSCRIPT roman_mock end_POSTSUPERSCRIPT = 0.079 as the ground truth based on the probability distribution function obtained from ray tracing through the Millennium Simulation for the composite mass model (e.g., Suyu et al. 2014).

To simulate the kinematics map, we follow the approach presented in Yıldırım et al. (2020). We use the best-fit lensing light map for the kinematic mock data and assume a Poisson noise-dominated region. The relative pixel intensities are then converted into a relative 2D signal-to-noise map. We adopt VorBin101010https://pypi.org/project/vorbin/ package (Cappellari & Copin 2003) to apply the adaptive spatial binning to the signal-to-noise ratio map, with a target signal-to-noise ratio of 50 per bin. We simulate the data with a high signal-to-noise ratio to ensure that by combining high-quality kinematic data, the internal MSD can be effectively broken. Considering the light contamination from nearby quasar images and the extended host galaxy at the Einstein radius of θE1.65similar-to-or-equalssubscript𝜃E1.65\theta_{\rm E}\simeq 1.65\leavevmode\nobreak\ \arcsecitalic_θ start_POSTSUBSCRIPT roman_E end_POSTSUBSCRIPT ≃ 1.65 ″, the simulated binned map covers a small field of view (FoV) ranging from 11-1\arcsec- 1 ″ to 111\arcsec1 ″ relative to the lens centroid (see Fig. 3). For simplicity, we neglect the satellite when mocking up the IFU map as well as during the modeling of the SL and stellar kinematic data. We assume a single Gaussian kinematic PSFkinsubscriptPSFkin\rm PSF_{\rm kin}roman_PSF start_POSTSUBSCRIPT roman_kin end_POSTSUBSCRIPT with a FWHM of 0.140.140.14\arcsec0.14 ″, which corresponds approximately to the PSF measured from JWST NIRSpec data of RXJ1131 (see Shajib et al., in prep). We generate the noiseless kinematic map with JamPy111111https://pypi.org/project/jampy/ package based on the mass and light distribution from the best-fit lens model (refer to the best-fit parameters in Tab. 3) and the simulated binned map.

We simulate two kinematic data sets. The first is an ideal kinematic dataset where only statistical errors are added to the noiseless kinematic map:

vrms,ideal,l=vrms,l+δvstat,l{v_{\rm rms,ideal}}_{,l}={v_{\rm rms}}_{,l}+{\delta v_{\rm stat}}_{,l}italic_v start_POSTSUBSCRIPT roman_rms , roman_ideal end_POSTSUBSCRIPT start_POSTSUBSCRIPT , italic_l end_POSTSUBSCRIPT = italic_v start_POSTSUBSCRIPT roman_rms end_POSTSUBSCRIPT start_POSTSUBSCRIPT , italic_l end_POSTSUBSCRIPT + italic_δ italic_v start_POSTSUBSCRIPT roman_stat end_POSTSUBSCRIPT start_POSTSUBSCRIPT , italic_l end_POSTSUBSCRIPT (60)

where δvstat,l=Gaussian[0,0.02vrms,l]{\delta v_{\rm stat}}_{,l}=\text{Gaussian}[0,0.02{v_{\rm rms}}_{,l}]italic_δ italic_v start_POSTSUBSCRIPT roman_stat end_POSTSUBSCRIPT start_POSTSUBSCRIPT , italic_l end_POSTSUBSCRIPT = Gaussian [ 0 , 0.02 italic_v start_POSTSUBSCRIPT roman_rms end_POSTSUBSCRIPT start_POSTSUBSCRIPT , italic_l end_POSTSUBSCRIPT ]. We assume a statistical error of approximately 2%percent22\%2 % of the bin values for each Voronoi bin l𝑙litalic_l. In the second kinematic dataset, we introduce a 5% systematic bias to test the impact of potential misfits in the kinematic data:

vrms,biased,l=vrms,l+δvstat,l+0.05vrms,l.{v_{\rm rms,biased}}_{,l}={v_{\rm rms}}_{,l}+{\delta v_{\rm stat}}_{,l}+0.05{v% _{\rm rms}}_{,l}.italic_v start_POSTSUBSCRIPT roman_rms , roman_biased end_POSTSUBSCRIPT start_POSTSUBSCRIPT , italic_l end_POSTSUBSCRIPT = italic_v start_POSTSUBSCRIPT roman_rms end_POSTSUBSCRIPT start_POSTSUBSCRIPT , italic_l end_POSTSUBSCRIPT + italic_δ italic_v start_POSTSUBSCRIPT roman_stat end_POSTSUBSCRIPT start_POSTSUBSCRIPT , italic_l end_POSTSUBSCRIPT + 0.05 italic_v start_POSTSUBSCRIPT roman_rms end_POSTSUBSCRIPT start_POSTSUBSCRIPT , italic_l end_POSTSUBSCRIPT . (61)

Systematic errors can arise during the kinematics extraction process, as the measured kinematics may be biased by different methods, such as stellar population synthesis and the use of various stellar libraries such as, X-Shooter (Verro et al. 2022b, a), MILES (Vazdekis et al. 2016), and Indo-US (Valdes et al. 2004). However, by carefully cleaning the stellar libraries before measuring the kinematics, these systematic errors can be controlled within a sub-percent level (see Knabel et al. 2025). We test here an overly high level of systematics of 5% in order to illustrate the impact of a systematic shift in kinematics on the distance inference, even though we anticipate sub-percent level kinematic shifts in reality.

Description Parameters Mock input prior prior range
Flat ΛΛ\Lambdaroman_ΛCDM
Hubble constant [kms1Mpc1kmsuperscripts1superscriptMpc1\rm km\leavevmode\nobreak\ s^{-1}\leavevmode\nobreak\ Mpc^{-1}roman_km roman_s start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT roman_Mpc start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT] H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT 82.5 Flat [50, 120]
Matter density parameter ΩmsubscriptΩm\Omega_{\rm m}roman_Ω start_POSTSUBSCRIPT roman_m end_POSTSUBSCRIPT 0.27 Flat [0.05, 0.5]
Distances
Model time-delay distance [Mpc] DΔt,intsubscript𝐷ΔtintD_{\rm\Delta t,int}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT 1823 Flat [1000, 4000]
Model lens distance [Mpc] Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT 775 Flat [600, 1000]
Composite
Position Angle [] φPAsubscript𝜑PA\varphi_{\rm PA}italic_φ start_POSTSUBSCRIPT roman_PA end_POSTSUBSCRIPT 30 - -
Stellar M/L ΥsubscriptΥ\Upsilon_{\ast}roman_Υ start_POSTSUBSCRIPT ∗ end_POSTSUBSCRIPT 1.95 Flat [0.5, 3.5]
Axis ratio qenfwsubscript𝑞enfwq_{\rm enfw}italic_q start_POSTSUBSCRIPT roman_enfw end_POSTSUBSCRIPT 0.56 Flat [0.2,1.0]
Einstein radius [\arcsec] ρssubscript𝜌s\rho_{\rm s}italic_ρ start_POSTSUBSCRIPT roman_s end_POSTSUBSCRIPT 0.24 Flat [0.,1.]
Scale radius [\arcsec] rssubscript𝑟sr_{\rm s}italic_r start_POSTSUBSCRIPT roman_s end_POSTSUBSCRIPT 23.0 Gaussian [23.0, 2.6]
External shear strength γextsubscript𝛾ext\gamma_{\rm ext}italic_γ start_POSTSUBSCRIPT roman_ext end_POSTSUBSCRIPT 0.09 Flat [0.0,0.2]
External shear position angle ϕextsubscriptitalic-ϕext\phi_{\rm ext}italic_ϕ start_POSTSUBSCRIPT roman_ext end_POSTSUBSCRIPT 1.42 Flat [0.0, 2π2𝜋2\pi2 italic_π]
BH mass [MsubscriptMdirect-product{\rm M_{\odot}}roman_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT] MBHsubscript𝑀BHM_{\rm BH}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT 5×1095superscript1095\times 10^{9}5 × 10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT Discrete [109M,1010M]superscript109subscriptMdirect-productsuperscript1010subscriptMdirect-product[10^{9}\leavevmode\nobreak\ {\rm M_{\odot}},10^{10}\leavevmode\nobreak\ {\rm M% _{\odot}}][ 10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT roman_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT , 10 start_POSTSUPERSCRIPT 10 end_POSTSUPERSCRIPT roman_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT ]
Mass Sheet λintsubscript𝜆int\lambda_{\rm int}italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT 1 Flat [0.5, 1.5]
External convergence κextsubscript𝜅ext\kappa_{\rm ext}italic_κ start_POSTSUBSCRIPT roman_ext end_POSTSUBSCRIPT 0.079 - -
Dynamics
Anisotropy βanisubscript𝛽ani\beta_{\rm ani}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT 0.15 Flat [0.3,0.3]0.30.3[-0.3,0.3][ - 0.3 , 0.3 ]
Inclination [] i𝑖iitalic_i 84.3 Flat [80, 90]
Table 3: Model parameters and prior for joint modeling. The value of Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT is determined from zd=0.295subscript𝑧d0.295z_{\rm d}=0.295italic_z start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT = 0.295, assuming H0=82.5kms1Mpc1subscript𝐻082.5kmsuperscripts1superscriptMpc1H_{0}=82.5\leavevmode\nobreak\ \rm km\leavevmode\nobreak\ s^{-1}\leavevmode% \nobreak\ Mpc^{-1}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT = 82.5 roman_km roman_s start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT roman_Mpc start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT , Ωm=0.27subscriptΩm0.27\Omega_{\rm m}=0.27roman_Ω start_POSTSUBSCRIPT roman_m end_POSTSUBSCRIPT = 0.27 and ΩΛ=0.73subscriptΩΛ0.73\Omega_{\Lambda}=0.73roman_Ω start_POSTSUBSCRIPT roman_Λ end_POSTSUBSCRIPT = 0.73. On the contrary, the value of DΔt,intsubscript𝐷ΔtintD_{\rm\Delta t,int}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT must be corrected for external convergence (see Eq. 11) to obtain the true distance. Applying this correction, we find DΔt,int,ext=1980.14subscript𝐷Δtintext1980.14D_{\Delta\rm t,int,ext}=1980.14italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int , roman_ext end_POSTSUBSCRIPT = 1980.14 Mpc, given the assumed cosmology. The position angle θPAsubscript𝜃PA\theta_{\rm PA}italic_θ start_POSTSUBSCRIPT roman_PA end_POSTSUBSCRIPT defines the orientation of both the light and mass profiles of the lens galaxy, measured counterclockwise from the +x𝑥xitalic_x-axis and is fixed during modeling process. The scale radius rssubscript𝑟sr_{\rm s}italic_r start_POSTSUBSCRIPT roman_s end_POSTSUBSCRIPT in the dark matter profile indicates the slope transition of the density profile from 11-1- 1 (inner region) to 33-3- 3 (outer region) which cannot be well constrained both by SL and kinematic data due to its large distance from the galaxy centroid. For this reason, a Gaussian prior is used in the joint modeling (Gavazzi et al. 2007). In each joint modeling, the BH mass is fixed, but we explore different models by probing MBHsubscript𝑀BHM_{\rm BH}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT within the range of [109,1010]10^{9},10^{10}]10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT , 10 start_POSTSUPERSCRIPT 10 end_POSTSUPERSCRIPT ] MsubscriptMdirect-product{\rm M_{\odot}}roman_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT. Note that H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT and ΩmsubscriptΩm\Omega_{\rm m}roman_Ω start_POSTSUBSCRIPT roman_m end_POSTSUBSCRIPT are not directly modeled in the joint analysis. The prior in the table indicates the range from which the samples are drawn and then evaluated by the posterior of the distances.
Refer to caption
Refer to caption
Refer to caption
Figure 3: Mock data sets of lensing imaging and kinematic data. Note that we observe a faint satellite galaxy above the lens galaxy at the same redshift as the lens galaxy. We neglect the satellite when mocking up the IFU data. The satellite is too small to extract useful kinematic information from the IFU datacube other than the redshift (see Shajib et al. in prep.). More importantly, based on the previous study, the satellite has a negligible effect on mass modeling and cosmological distance inference (Suyu et al. 2014). The mock IFU data with 52 bins is presented in the same reference frame as the simulated HST imaging, with north oriented upwards and east to the left.

5 Analysis and discussion of the joint modeling results

In this section, we present the results of the joint modeling using mock lensing and kinematic data. In Sect. 5.1, we discuss the fitting results of the joint modeling and demonstrate how it breaks the internal MSD, given ideal kinematic data. In Sect. 5.2, we examine the impact of black hole mass on H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT inference, given ideal kinematic data. In Sect. 5.3, we present the joint modeling, given the ideal kinematic excluding the central region to probe if the impact of an unknown BH mass can be mitigated. In Sect. 4, we analyze the effect of systematic errors in the kinematic map on H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT.

5.1 Breaking the MSD using joint modeling

We perform joint modeling using ideal kinematic data (see Eq. 60). Based on the velocity dispersion of the lens galaxy in RXJ1131, measured as σdisp=320±20subscript𝜎dispplus-or-minus32020\sigma_{\rm disp}=320\pm 20italic_σ start_POSTSUBSCRIPT roman_disp end_POSTSUBSCRIPT = 320 ± 20 km/s in Suyu et al. (2014), and the MBHσdispsubscript𝑀BHsubscript𝜎dispM_{\rm BH}-\sigma_{\rm disp}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT - italic_σ start_POSTSUBSCRIPT roman_disp end_POSTSUBSCRIPT relation, we explore the full range of possible BH masses of [109M,1010M]superscript109subscriptMdirect-productsuperscript1010subscriptMdirect-product[10^{9}\leavevmode\nobreak\ {\rm M_{\odot}},10^{10}\leavevmode\nobreak\ {\rm M% _{\odot}}][ 10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT roman_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT , 10 start_POSTSUPERSCRIPT 10 end_POSTSUPERSCRIPT roman_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT ] to be conservative.

We adopt the composite mass model κint,compsubscript𝜅intcomp\kappa_{\rm int,comp}italic_κ start_POSTSUBSCRIPT roman_int , roman_comp end_POSTSUBSCRIPT and perform joint modeling over the same black hole mass range. In joint modeling, we fix the BH mass in a given model setup and increment it in steps of of 109Msuperscript109subscriptMdirect-product10^{9}\leavevmode\nobreak\ {\rm M_{\odot}}10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT roman_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT within the MBHsubscript𝑀BHM_{\rm BH}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT range across multiple model setups. Additionally, we perform joint modeling by replacing the composite mass model with a single EPL mass profile, κint,eplsubscript𝜅intepl\kappa_{\rm int,epl}italic_κ start_POSTSUBSCRIPT roman_int , roman_epl end_POSTSUBSCRIPT. Throughout the modeling process, we do not allow MBHsubscript𝑀BHM_{\rm BH}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT to vary. Each run is performed with a fixed MBHsubscript𝑀BHM_{\rm BH}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT on a source grid ranging from 60×60606060\times 6060 × 60 to 68×68686868\times 6868 × 68 pixels, increasing in steps of 2 to account for the degeneracy caused by source-grid resolutions. These source resolutions are sufficient to address parameter degeneracies while achieving a good fit for the extended arcs (see details in Appendix C). From the equal-weighted probability density of Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT, we observe that Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT is broadly distributed across the prior range. Models with the same MBHsubscript𝑀BHM_{\rm BH}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT but different source grid resolutions form tightly clustered distributions of Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT. When considering different MBHsubscript𝑀BHM_{\rm BH}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT values, the Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT distribution accounting for degeneracy from source grid resolution variations, spans a wide range from 650 Mpc to 850 Mpc. In contrast, DΔt,intsubscript𝐷ΔtintD_{\rm\Delta t,int}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT is more tightly clustered around the input value and remains almost unaffected by MBHsubscript𝑀BHM_{\rm BH}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT (see Fig. 4). This behavior is expected since Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT is primarily constrained by dynamical modeling, making it more sensitive to MBHsubscript𝑀BHM_{\rm BH}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT. Fig. 5 illustrates more clearly the relation between Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT and MBHsubscript𝑀BHM_{\rm BH}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT that was shown in Fig. 4.

Refer to caption
Refer to caption
Refer to caption
Refer to caption
Figure 4: Top panels: Marginalized posterior density distribution of Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT, based on joint models using ideal kinematic data. Different colors represent posterior densities corresponding to different black hole masses, while the different colors indicate models with identical mass parameterization but different source grid resolutions. The red color represents EPL mass models, where a small softening scale of rsoft=0.01subscript𝑟soft0.01r_{\rm soft}=0.01\arcsecitalic_r start_POSTSUBSCRIPT roman_soft end_POSTSUBSCRIPT = 0.01 ″ mimics the presence of a massive BH, eliminating the need to explicitly include an additional MBHsubscript𝑀BHM_{\rm BH}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT. The left panel shows equally weighted Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT posterior densities, whereas the right panel presents the combined Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT posterior density weighted by BIC (see Sect. 3.4). Bottom panels: Marginalized posterior density distribution of DΔt,intsubscript𝐷ΔtintD_{\rm\Delta t,int}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT, based on joint models using ideal kinematic data. The red dashed lines in both panels indicate the mock input values used in the simulated data. The black dashed lines represent the median values in the BIC weighted distribution.
Refer to caption
Figure 5: MBHsubscript𝑀BHM_{\rm BH}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT versus Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT with 1σ1𝜎1\sigma1 italic_σ uncertainties, based on the ideal kinematic data. This provides a clearer visualization of the upper-left panel in Fig. 4. The plot also illustrates how the BH mass affects the inference of Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT, given that βanisubscript𝛽ani\beta_{\rm ani}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT is within the prior range of 0.30.3-0.3- 0.3 to 0.30.30.30.3. The gray shaded region represents models with the BH mass satisfying fBIC0.2superscriptsubscript𝑓BIC0.2f_{\rm BIC}^{*}\geq 0.2italic_f start_POSTSUBSCRIPT roman_BIC end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT ≥ 0.2, indicating a significant contribution to Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT when combining all models together.

The time-delay distance DΔt,intsubscript𝐷ΔtintD_{\rm\Delta t,int}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT is entirely degenerate with λintsubscript𝜆int\lambda_{\rm int}italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT over the prior range of λintsubscript𝜆int\lambda_{\rm int}italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT when considering lensing-only modeling. The kinematic data aid in constraining λintsubscript𝜆int\lambda_{\rm int}italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT and in identifying the uniquely preferred κintsubscript𝜅int\kappa_{\rm int}italic_κ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT model within the range λint[0.5,1.5]subscript𝜆int0.51.5\lambda_{\rm int}\in[0.5,1.5]italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT ∈ [ 0.5 , 1.5 ]. Consequently, we can break the internal MSD and firmly constrain DΔt,intsubscript𝐷ΔtintD_{\Delta\rm t,int}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT (see the red box in Fig. 6). We combine all joint modelings across different mass model assumptions, values of MBHsubscript𝑀BHM_{\rm BH}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT, and source-grid resolutions, weighting them using (𝒅D|𝜼LD)conditionalsubscript𝒅Dsubscript𝜼LD\mathcal{L}(\bm{d}_{\rm D}\leavevmode\nobreak\ |\leavevmode\nobreak\ \bm{\eta}% _{\rm LD})caligraphic_L ( bold_italic_d start_POSTSUBSCRIPT roman_D end_POSTSUBSCRIPT | bold_italic_η start_POSTSUBSCRIPT roman_LD end_POSTSUBSCRIPT ) within the BIC framework (see Sect. 3.4). Models where MBHsubscript𝑀BHM_{\rm BH}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT deviates significantly from the mock input in the simulated kinematic data obtain lower weights. Additionally, the EPL model exhibits a higher scatter in the probability density distribution for DΔt,intsubscript𝐷ΔtintD_{\rm\Delta t,int}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT across the different source resolutions. As a result, λintsubscript𝜆int\lambda_{\rm int}italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT is not well constrained in this case, since the kinematic data struggle to differentiate the scaled κint,eplsubscript𝜅intepl\kappa_{\rm int,epl}italic_κ start_POSTSUBSCRIPT roman_int , roman_epl end_POSTSUBSCRIPT. However, κint,eplsubscript𝜅intepl\kappa_{\rm int,epl}italic_κ start_POSTSUBSCRIPT roman_int , roman_epl end_POSTSUBSCRIPT model is disfavored by BIC weighting, as it fails to accurately reproducing the ideal kinematic data, with Δχdyn2=8Δsuperscriptsubscript𝜒dyn28\Delta\chi_{\rm dyn}^{2}=8roman_Δ italic_χ start_POSTSUBSCRIPT roman_dyn end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT = 8 compared to the best-fit composite mass model (see Fig. 7). Ultimately, the recovered time-delay distance is DΔt,int=185778+137subscript𝐷Δtintsuperscriptsubscript185778137D_{\rm\Delta t,int}=1857_{-78}^{+137}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT = 1857 start_POSTSUBSCRIPT - 78 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 137 end_POSTSUPERSCRIPT Mpc, which deviates from the mock input by 1.87%percent1.871.87\%1.87 %, within the 1-sigma uncertainty range. Similarly, the recovered lens distance Dd=78129+30subscript𝐷dsuperscriptsubscript7812930D_{\rm d}=781_{-29}^{+30}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT = 781 start_POSTSUBSCRIPT - 29 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 30 end_POSTSUPERSCRIPT Mpc shows a deviation of 0.77%percent0.770.77\%0.77 %.

The uncertainty in DΔt,intsubscript𝐷ΔtintD_{\rm\Delta t,int}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT is asymmetric, exhibiting a longer tail on the positive side and a shorter tail on the negative side (see Figs. 4 and 6). This occurs because, as λintsubscript𝜆int\lambda_{\rm int}italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT approaches the upper bound of 1.5 in the prior, it implies that κgalsubscript𝜅gal\kappa_{\rm gal}italic_κ start_POSTSUBSCRIPT roman_gal end_POSTSUBSCRIPT is being modified by the addition of a negative constant sheet (1λint)1subscript𝜆int(1-\lambda_{\rm int})( 1 - italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT ) on top of λintκgalsubscript𝜆intsubscript𝜅gal\lambda_{\rm int}\kappa_{\rm gal}italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT italic_κ start_POSTSUBSCRIPT roman_gal end_POSTSUBSCRIPT (see Eq. 6). At regions far from the lensing centroid, κintsubscript𝜅int\kappa_{\rm int}italic_κ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT becomes negative, which is disallowed by dynamical modeling in the framework of JAM.

A perfect mass profile for λintsubscript𝜆int\lambda_{\rm int}italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT to characterize internal MSD would ideally remain constant up to a distance of 20similar-toabsent20\sim 20\arcsec∼ 20 ″ to the lens centroid, where it is largely insensitive to lensing data of RXJ1131 but can still capture changes in the mass density slope induced by internal MSD through kinematic data. Beyond this distance, it should immediately drop to zero. Therefore, if the sheet is perfect, the modeled κintsubscript𝜅int\kappa_{\rm int}italic_κ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT will remain non-negative up to 505050\arcsec50 ″ in our setup and will not be rejected by JAM (see Sect. 3.3). To approximate the internal MSD, we use a dPIE profile, which declines rapidly to zero beyond the truncation radius but does not exhibit a strict cut-off. This relatively gradual decline in the range of 202020\arcsec20 ″ to 505050\arcsec50 ″ results in a region where κintsubscript𝜅int\kappa_{\rm int}italic_κ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT becomes negative, leading to an asymmetric probability distribution for DΔt,intsubscript𝐷ΔtintD_{\rm\Delta t,int}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT. Consequently, the lower 1σ1𝜎1\sigma1 italic_σ bound of 78 Mpc may be underestimated compared to the true 1σ1𝜎1\sigma1 italic_σ interval, assuming λintsubscript𝜆int\lambda_{\rm int}italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT behaves as an idealized sheet with an abrupt cut-off beyond 20similar-toabsent20\sim 20\arcsec∼ 20 ″, as described above.

The probability distribution of Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT is also slightly asymmetric, but it is less pronounced than that of DΔt,intsubscript𝐷ΔtintD_{\Delta\rm t,int}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT. The asymmetry of Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT arises from the influence of MBHsubscript𝑀BHM_{\rm BH}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT. As MBHsubscript𝑀BHM_{\rm BH}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT becomes heavier, Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT tends to shift towards lower values and extends down to 650 Mpc to accommodate the kinematic data. Since we use (𝒅D|𝜼LD)conditionalsubscript𝒅Dsubscript𝜼LD\mathcal{L}(\bm{d}_{\rm D}\leavevmode\nobreak\ |\leavevmode\nobreak\ \bm{\eta}% _{\rm LD})caligraphic_L ( bold_italic_d start_POSTSUBSCRIPT roman_D end_POSTSUBSCRIPT | bold_italic_η start_POSTSUBSCRIPT roman_LD end_POSTSUBSCRIPT ) for BIC weighting in joint models with varying MBHsubscript𝑀BHM_{\rm BH}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT, some models with larger MBHsubscript𝑀BHM_{\rm BH}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT can achieve a similarly good fit to the kinematic data as the model corresponding to the true MBHsubscript𝑀BHM_{\rm BH}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT by appropriately rescaling the distances Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT and the anisotropy parameter βanisubscript𝛽ani\beta_{\rm ani}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT. These models contribute to the tails of the inferred Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT distribution (see Fig. 5 and the upper panels in Fig. 4).

With the posterior probability distribution P(DΔt,int,Dd𝒅LD)𝑃subscript𝐷Δtintconditionalsubscript𝐷dsubscript𝒅LDP(D_{\rm\Delta t,int},D_{\rm d}\mid\bm{d}_{\rm LD})italic_P ( italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT , italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT ∣ bold_italic_d start_POSTSUBSCRIPT roman_LD end_POSTSUBSCRIPT ), we infer H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT and ΩmsubscriptΩm\Omega_{\rm m}roman_Ω start_POSTSUBSCRIPT roman_m end_POSTSUBSCRIPT in a flat ΛCDMΛCDM\Lambda\rm CDMroman_Λ roman_CDM universe. We adopt uniform priors on H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT between [50, 120] kms1Mpc1kmsuperscripts1superscriptMpc1\rm\leavevmode\nobreak\ km\leavevmode\nobreak\ s^{-1}\leavevmode\nobreak\ Mpc^% {-1}roman_km roman_s start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT roman_Mpc start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT and on the matter density parameter121212The inferred cosmological parameter in joint modeling can also be expressed in terms of the dark energy density, ΩΛsubscriptΩΛ\Omega_{\rm\Lambda}roman_Ω start_POSTSUBSCRIPT roman_Λ end_POSTSUBSCRIPT, instead of ΩmsubscriptΩm\Omega_{\rm m}roman_Ω start_POSTSUBSCRIPT roman_m end_POSTSUBSCRIPT since ΩΛ=1ΩmsubscriptΩΛ1subscriptΩm\Omega_{\rm\Lambda}=1-\Omega_{\rm m}roman_Ω start_POSTSUBSCRIPT roman_Λ end_POSTSUBSCRIPT = 1 - roman_Ω start_POSTSUBSCRIPT roman_m end_POSTSUBSCRIPT in flat ΛΛ\Lambdaroman_ΛCDM cosmology. However, a single quasar system with quad images is not sensitive to cosmological parameters other than H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT. ΩmsubscriptΩm\Omega_{\rm m}roman_Ω start_POSTSUBSCRIPT roman_m end_POSTSUBSCRIPT between [0.05, 0.5]. We generate 5×1055superscript1055\times 10^{5}5 × 10 start_POSTSUPERSCRIPT 5 end_POSTSUPERSCRIPT samples for the parameters {H0,Ωm}subscript𝐻0subscriptΩm\{H_{0},\Omega_{\rm m}\}{ italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT , roman_Ω start_POSTSUBSCRIPT roman_m end_POSTSUBSCRIPT } and calculate the corresponding DΔt,int,extsubscript𝐷ΔtintextD_{\Delta\rm t,int,ext}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int , roman_ext end_POSTSUBSCRIPT 131313DΔt,int,extsubscript𝐷ΔtintextD_{\Delta\rm t,int,ext}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int , roman_ext end_POSTSUBSCRIPT is the angular diameter distance calculated from the assumed cosmology. and Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT values using the lens and source redshifts under a flat ΛΛ\Lambdaroman_ΛCDM cosmology. For each sample, we randomly draw a κextsubscript𝜅ext\kappa_{\rm ext}italic_κ start_POSTSUBSCRIPT roman_ext end_POSTSUBSCRIPT value from the external convergence distribution inferred by Suyu et al. (2014) and scale the distance using Eq. 11 to obtain DΔt,intsubscript𝐷ΔtintD_{\rm\Delta t,int}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT. Subsequently, we weight the samples using P(DΔt,int,Dd𝒅LD)𝑃subscript𝐷Δtintconditionalsubscript𝐷dsubscript𝒅LDP(D_{\rm\Delta t,int},D_{\rm d}\mid\bm{d}_{\rm LD})italic_P ( italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT , italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT ∣ bold_italic_d start_POSTSUBSCRIPT roman_LD end_POSTSUBSCRIPT ). From the weighted sample distribution, we obtain constraints on H0=82.53.1+3.2kms1Mpc1subscript𝐻0superscriptsubscript82.53.13.2kmsuperscripts1superscriptMpc1H_{0}=82.5_{-3.1}^{+3.2}\rm\leavevmode\nobreak\ km\leavevmode\nobreak\ s^{-1}% \leavevmode\nobreak\ Mpc^{-1}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT = 82.5 start_POSTSUBSCRIPT - 3.1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 3.2 end_POSTSUPERSCRIPT roman_km roman_s start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT roman_Mpc start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT (see. Tab. 4). We also present H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT values derived from the posterior probability distribution, marginalized over all parameters, including DΔt,intsubscript𝐷ΔtintD_{\Delta\rm t,int}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT and Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT separately. The value H0=81.06.4+4.4kms1Mpc1subscript𝐻0superscriptsubscript81.06.44.4kmsuperscripts1superscriptMpc1H_{0}=81.0_{-6.4}^{+4.4}\leavevmode\nobreak\ \rm\leavevmode\nobreak\ km% \leavevmode\nobreak\ s^{-1}\leavevmode\nobreak\ Mpc^{-1}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT = 81.0 start_POSTSUBSCRIPT - 6.4 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 4.4 end_POSTSUPERSCRIPT roman_km roman_s start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT roman_Mpc start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT, obtained from P(DΔt,int)𝑃subscript𝐷ΔtintP(D_{\rm\Delta t,int})italic_P ( italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT ), reflects asymmetrical uncertainties inherited from DΔt,intsubscript𝐷ΔtintD_{\Delta\rm t,int}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT distribution. However, these skewed uncertainties of the inferred H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT are mitigated by incorporating both distances P(DΔt,int,Dd)𝑃subscript𝐷Δtintsubscript𝐷dP(D_{\Delta\rm t,int},D_{\rm d})italic_P ( italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT , italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT ) (see Tab. 4 and Fig. 8). This demonstrates the advantage of joint modeling, where using two distances improves the constraint on H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT. The value of ΩmsubscriptΩm\Omega_{\rm m}roman_Ω start_POSTSUBSCRIPT roman_m end_POSTSUBSCRIPT inferred by joint modeling is poorly constrained from a single lens system; therefore, it is not included in the table.

Refer to caption
Figure 6: Measurements from joint modeling (combining all mass models) and lensing-only modeling. The shaded contours represent 1σ1𝜎1\sigma1 italic_σ, 2σ2𝜎2\sigma2 italic_σ, and 3σ3𝜎3\sigma3 italic_σ confidence regions. The green contours correspond to the joint modeling using the ideal kinematic data, while the orange contours represent the joint modeling using the kinematic data with a 5%percent55\%5 % systematic bias. The grey contours represent the lensing-only modeling. The red box highlights the complete degeneracy between DΔt,intsubscript𝐷ΔtintD_{\Delta\rm t,int}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT and λintsubscript𝜆int\lambda_{\rm int}italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT in the lensing-only modeling. The green and orange contours illustrate how the internal mass-sheet degeneracy (MSD) is broken when incorporating kinematic data. The inferred Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT using the kinematic data with a 5% bias is biased by 9%percent99\%9 % (as expected through Eq. 29), while the constraints on DΔt,intsubscript𝐷ΔtintD_{\rm\Delta t,int}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT and λintsubscript𝜆int\lambda_{\rm int}italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT remain unaffected by this systematic bias. This occurs because λintsubscript𝜆int\lambda_{\rm int}italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT is constrained by the shape of the vrmssubscript𝑣rmsv_{\rm rms}italic_v start_POSTSUBSCRIPT roman_rms end_POSTSUBSCRIPT profile, which remains unchanged under a systematic 5% bias in the kinematic map. However, this bias affects the overall amplitude of the profile, leading to a bias in Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT. In both cases, we observe that βanisubscript𝛽ani\beta_{\rm ani}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT is degenerate with the distance Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT and is not well constrained.
Refer to caption
Refer to caption
Refer to caption
Figure 7: The best-fit kinematic maps from joint models under different BH mass assumptions. The displayed kinematic bin maps have 52 bins in total. Upper Panel: Joint modeling is performed using a grid of MBHsubscript𝑀BHM_{\rm BH}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT values ranging from 109superscript10910^{9}10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT to 1010superscript101010^{10}10 start_POSTSUPERSCRIPT 10 end_POSTSUPERSCRIPT MsubscriptMdirect-product{\rm M_{\odot}}roman_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT. In each model, the BH mass is fixed and incremented in steps of 109superscript10910^{9}10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT MsubscriptMdirect-product{\rm M_{\odot}}roman_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT within this range. The best-fit kinematic map, corresponding to MBH=3×109Msubscript𝑀BH3superscript109subscriptMdirect-productM_{\rm BH}=3\times 10^{9}\leavevmode\nobreak\ {\rm M_{\odot}}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT = 3 × 10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT roman_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT, achieves χdyn2=50subscriptsuperscript𝜒2dyn50\chi^{2}_{\rm dyn}=50italic_χ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT start_POSTSUBSCRIPT roman_dyn end_POSTSUBSCRIPT = 50. Middle Panel: The best-fit kinematic map from joint modeling that assumes no BH, yielding χdyn2=64subscriptsuperscript𝜒2dyn64\chi^{2}_{\rm dyn}=64italic_χ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT start_POSTSUBSCRIPT roman_dyn end_POSTSUBSCRIPT = 64. Lower Panel: The best-fit kinematic map from joint modeling using the EPL mass profile, resulting in χdyn2=58subscriptsuperscript𝜒2dyn58\chi^{2}_{\rm dyn}=58italic_χ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT start_POSTSUBSCRIPT roman_dyn end_POSTSUBSCRIPT = 58.
Refer to caption
Refer to caption
Figure 8: H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT and ΩmsubscriptΩm\Omega_{\rm m}roman_Ω start_POSTSUBSCRIPT roman_m end_POSTSUBSCRIPT constraints from our models in flat ΛCDMΛCDM\Lambda\rm CDMroman_Λ roman_CDM cosmology, for the ideal (left) and kinematic data with 5% bias (right). The shaded contours represent 1σ1𝜎1\sigma1 italic_σ, 2σ2𝜎2\sigma2 italic_σ, and 3σ3𝜎3\sigma3 italic_σ confidence regions. The blue (orange) contours represent the constraints based on P(Dd)𝑃subscript𝐷dP(D_{\rm d})italic_P ( italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT ) (P(DΔt,int)𝑃subscript𝐷ΔtintP(D_{\rm\Delta t,int})italic_P ( italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT )), marginalized over all other parameters in the joint modeling. The green contours represent the constraints based on P(Dd,DΔt,int)𝑃subscript𝐷dsubscript𝐷ΔtintP(D_{\rm d},D_{\rm\Delta t,int})italic_P ( italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT , italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT ). The gray dashed lines represent the mock input values in the data sets. The kinematic data, with a 5%percent55\%5 % systematic bias, affects only Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT, such that the inferred H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT median value based on P(Dd)𝑃subscript𝐷dP(D_{\rm d})italic_P ( italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT ) is biased by 13%percent1313\%13 % relative to the mock input value of H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT (see right panel).

5.2 The impact of MBHβanisubscript𝑀BHsubscript𝛽aniM_{\rm BH}-\beta_{\rm ani}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT - italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT degeneracy on H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT measurement in time-delay cosmography

The BH in lensing-only modeling is often neglected since SL only provides constraints at Einstein radius, which is far from the galaxy’s center. Only in some rare cases, the lensed source image appears close to the galaxy center within 1kpcless-than-or-similar-toabsent1kpc\lesssim 1\leavevmode\nobreak\ \rm kpc≲ 1 roman_kpc (e.g., Nightingale et al. 2023; Melo-Carneiro et al. 2025). Kinematic data can provide some constraints, but its effectiveness is highly limited by the instrument’s resolution, particularly for galaxies at galaxies at z>0.1𝑧0.1z>0.1italic_z > 0.1. The lens galaxy RXJ1131 at z=0.295𝑧0.295z=0.295italic_z = 0.295 might hold a supermassive BH with MBHsubscript𝑀BHM_{\rm BH}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT in the range of [109,1010]10^{9},10^{10}]10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT , 10 start_POSTSUPERSCRIPT 10 end_POSTSUPERSCRIPT ] MsubscriptMdirect-product{\rm M_{\odot}}roman_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT which corresponding to a sphere of influence rsoisubscript𝑟soir_{\rm soi}italic_r start_POSTSUBSCRIPT roman_soi end_POSTSUBSCRIPT for the BH in the range of [0.011,0.11]0.0110.11[0.011\arcsec,0.11\arcsec][ 0.011 ″ , 0.11 ″ ]. The simulated kinematic data has the spaxel size with 0.10.10.1\arcsec0.1 ″ convolved with FWHM=0.14FWHM0.14\rm FWHM=0.14\arcsecroman_FWHM = 0.14 ″ of PSFkinsubscriptPSFkin\rm PSF_{\rm kin}roman_PSF start_POSTSUBSCRIPT roman_kin end_POSTSUBSCRIPT. For MBHsubscript𝑀BHM_{\rm BH}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT near 1010Msuperscript1010subscriptMdirect-product10^{10}\,{\rm M_{\odot}}10 start_POSTSUPERSCRIPT 10 end_POSTSUPERSCRIPT roman_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT, the influence of the BH dynamics can be imprinted on the central Voronoi bins.

As discussed in Section 3.3, we conduct joint modeling for a sequence of MBHsubscript𝑀BHM_{\rm BH}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT values. The time-delay distance DΔt,intsubscript𝐷ΔtintD_{\rm\Delta t,int}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT is almost unaffected by MBHsubscript𝑀BHM_{\rm BH}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT. Therefore, we concentrate on the scatter in Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT and βanisubscript𝛽ani\beta_{\rm ani}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT, which are constrained exclusively by the kinematic data. In our experiment, the values of βanisubscript𝛽ani\beta_{\rm ani}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT are distributed across the full prior range of [--0.3, 0.3] (see Fig. 9), given MBH[109,1010]Msubscript𝑀BHsuperscript109superscript1010subscriptMdirect-productM_{\rm BH}\in[10^{9},10^{10}]\leavevmode\nobreak\ {\rm M_{\odot}}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT ∈ [ 10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT , 10 start_POSTSUPERSCRIPT 10 end_POSTSUPERSCRIPT ] roman_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT. This prior range is motivated by studies of nearby massive elliptical galaxies (see review in Cappellari 2025, figs. 8, 10), and is quite conservative in its broad range compared to the typical scatter of anisotropies of galaxies shown in Cappellari (2025). The anisotropy βanisubscript𝛽ani\beta_{\rm ani}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT is constrained by the spatial pattern in the kinematic data. However, MBHsubscript𝑀BHM_{\rm BH}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT and βanisubscript𝛽ani\beta_{\rm ani}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT similarly affect stellar motions in the galaxy centroid, resulting in a trade-off between them. In Fig. 9, we observe that a heavier MBHsubscript𝑀BHM_{\rm BH}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT leads to a smaller βanisubscript𝛽ani\beta_{\rm ani}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT, and vice versa. A higher MBHsubscript𝑀BHM_{\rm BH}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT deepens the central gravitational potential, allowing more tangential orbits in the dynamial model when reproducing the same observed line-of-sight velocity dispersion, corresponding to βani<0subscript𝛽ani0\beta_{\rm ani}<0italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT < 0. Conversely, a lower MBHsubscript𝑀BHM_{\rm BH}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT can produce similar velocity dispersions if the stellar orbits are more radial, with βani>0subscript𝛽ani0\beta_{\rm ani}>0italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT > 0, as radial orbits allow stars to reach higher line-of-sight velocity dispersion near the galaxy center. Both BH mass and βanisubscript𝛽ani\beta_{\rm ani}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT contribute to accelerating stellar motion, but in different directions.

In addition to its degeneracy with MBHsubscript𝑀BHM_{\mathrm{BH}}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT, βanisubscript𝛽ani\beta_{\mathrm{ani}}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT is also positively correlated with Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT (see Fig. 6). An increase in βanisubscript𝛽ani\beta_{\mathrm{ani}}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT compensates for the influence of a more massive BH by mimicking its effect on stellar motion in the central region. Since we assume a constant βanisubscript𝛽ani\beta_{\mathrm{ani}}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT across all radii in the joint modeling, this means that even in the outer regions where velocity adjustments are unnecessary, stellar velocities are still affected by βanisubscript𝛽ani\beta_{\mathrm{ani}}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT. To match the observed kinematics beyond the central region, Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT increases to counterbalance the effect introduced by changes in βanisubscript𝛽ani\beta_{\mathrm{ani}}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT. This is because Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT acts as a normalization factor for scaling vrmspresuperscriptsubscript𝑣rmsprev_{\rm rms}^{\rm pre}italic_v start_POSTSUBSCRIPT roman_rms end_POSTSUBSCRIPT start_POSTSUPERSCRIPT roman_pre end_POSTSUPERSCRIPT, following the relation vrmspre1Ddsimilar-tosuperscriptsubscript𝑣rmspre1subscript𝐷dv_{\rm rms}^{\rm pre}\sim\frac{1}{\sqrt{D_{\rm d}}}italic_v start_POSTSUBSCRIPT roman_rms end_POSTSUBSCRIPT start_POSTSUPERSCRIPT roman_pre end_POSTSUPERSCRIPT ∼ divide start_ARG 1 end_ARG start_ARG square-root start_ARG italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT end_ARG end_ARG (see Sect. 2.4). If the BH mass in the joint modeling is heavier than the mock input, the entire trend reverses. This explains the observed correlations in the values of Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT, βanisubscript𝛽ani\beta_{\rm ani}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT and MBHsubscript𝑀BHM_{\rm BH}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT (see Figs. 4, 5, and 9). In Fig. 5, we observe a negative correlation between the adopted MBHsubscript𝑀BHM_{\rm BH}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT in the joint modeling and Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT. Black hole masses in the range of MBH=2×109Msubscript𝑀BH2superscript109subscriptMdirect-productM_{\rm BH}=2\times 10^{9}\leavevmode\nobreak\ {\rm M_{\odot}}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT = 2 × 10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT roman_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT to MBH=7×109Msubscript𝑀BH7superscript109subscriptMdirect-productM_{\rm BH}=7\times 10^{9}\leavevmode\nobreak\ {\rm M_{\odot}}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT = 7 × 10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT roman_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT are difficult to distinguish based on kinematic data and all contribute to the inference of distances in the BIC framework, given the MBH=5×109Msubscript𝑀BH5superscript109subscriptMdirect-productM_{\rm BH}=5\times 10^{9}\leavevmode\nobreak\ {\rm M_{\odot}}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT = 5 × 10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT roman_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT in the mock input.

By combining all joint models weighted by the BIC (i.e., P(𝒅Di)𝑃conditionalsubscript𝒅Dsubscript𝑖P(\bm{d}_{\rm D}\mid\mathcal{M}_{i})italic_P ( bold_italic_d start_POSTSUBSCRIPT roman_D end_POSTSUBSCRIPT ∣ caligraphic_M start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ), where isubscript𝑖\mathcal{M}_{i}caligraphic_M start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT represents model i𝑖iitalic_i, either a composite mass model with BH mass MBH,isubscript𝑀BH𝑖M_{{\rm BH},i}italic_M start_POSTSUBSCRIPT roman_BH , italic_i end_POSTSUBSCRIPT or an EPL model), we obtain Dd=78129+30subscript𝐷dsuperscriptsubscript7812930D_{\rm d}=781_{-29}^{+30}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT = 781 start_POSTSUBSCRIPT - 29 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 30 end_POSTSUPERSCRIPT Mpc and βani=0.210.14+0.07subscript𝛽anisuperscriptsubscript0.210.140.07\beta_{\rm ani}=0.21_{-0.14}^{+0.07}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT = 0.21 start_POSTSUBSCRIPT - 0.14 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 0.07 end_POSTSUPERSCRIPT (see Tab. 4). The recovered distance Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT closely matches the input value, whereas the orbital anisotropy βanisubscript𝛽ani\beta_{\rm ani}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT remains poorly constrained. This is because models with MBH<5×109Msubscript𝑀BH5superscript109subscriptMdirect-productM_{\rm BH}<5\times 10^{9}\leavevmode\nobreak\ {\rm M_{\odot}}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT < 5 × 10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT roman_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT tend to cluster near the upper bound of the βanisubscript𝛽ani\beta_{\rm ani}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT prior (see Fig. 9). Some of these models provide a good fit to the kinematic data and are only slightly downweighted by the BIC, leading to a significant contribution to the final probability density distribution of βanisubscript𝛽ani\beta_{\rm ani}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT.

Refer to caption
Figure 9: Marginalized posterior density distribution of βanisubscript𝛽ani\beta_{\rm ani}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT, based on joint models using ideal kinematic data. Different colors represent posterior densities corresponding to different black hole masses, while the same color indicates models with identical mass parameterization but different source grid resolutions. We observe that as MBHsubscript𝑀BHM_{\rm BH}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT increases, the inferred βanisubscript𝛽ani\beta_{\rm ani}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT decreases and vice versa. The inferred βanisubscript𝛽ani\beta_{\rm ani}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT distributions given different MBHsubscript𝑀BHM_{\rm BH}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT spread over the prior range [--0.3,0.3], but different MBHsubscript𝑀BHM_{\rm BH}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT yield different goodness of fit to the kinematic data (as shown in Fig. 4).

We investigate the impact of an incorrect BH mass in the joint modeling. First, we test the scenario where we assume no BH in the composite mass model. The inferred value of H0=83.23.0+2.3kms1Mpc1subscript𝐻0superscriptsubscript83.23.02.3kmsuperscripts1superscriptMpc1H_{0}=83.2_{-3.0}^{+2.3}\rm\,km\leavevmode\nobreak\ s^{-1}\leavevmode\nobreak% \ Mpc^{-1}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT = 83.2 start_POSTSUBSCRIPT - 3.0 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 2.3 end_POSTSUPERSCRIPT roman_km roman_s start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT roman_Mpc start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT successfully recovers the input H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT value (see Fig. 10 and Table 4). However, the best-fit kinematic map exhibits a significantly different pattern compared to the one obtained when the BH is included in the modeling (see Fig. 7). The difference of Δχdyn2=14Δsuperscriptsubscript𝜒dyn214\Delta\chi_{\rm dyn}^{2}=14roman_Δ italic_χ start_POSTSUBSCRIPT roman_dyn end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT = 14 for the dynamical fit indicates a poorer fit compared to the best-fit model that accounts for the BH. The fitted value of βani=0.290.006+0.003subscript𝛽anisuperscriptsubscript0.290.0060.003\beta_{\rm ani}=0.29_{-0.006}^{+0.003}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT = 0.29 start_POSTSUBSCRIPT - 0.006 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 0.003 end_POSTSUPERSCRIPT reaches the upper bound of the prior range, yet it remains insufficient to fully compensate for the absence of the BH, leading to a suboptimal fit to the kinematic data. The high βanisubscript𝛽ani\beta_{\rm ani}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT value leads to an excessive increase in velocity dispersions in the outer regions. As a result, this imbalance starts to affect the probability density distribution of DΔt,intsubscript𝐷ΔtintD_{\rm\Delta t,int}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT. To compensate for the effect induced by βanisubscript𝛽ani\beta_{\rm ani}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT, DΔt,intsubscript𝐷ΔtintD_{\rm\Delta t,int}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT decreases slightly.

A possible explanation is that the high βanisubscript𝛽ani\beta_{\rm ani}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT requires a significantly different mass model than initially assumed to fit the kinematic data, which in turn affects λintsubscript𝜆int\lambda_{\rm int}italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT and DΔt,intsubscript𝐷ΔtintD_{\rm\Delta t,int}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT. We obtain a lower value of DΔt,int=177039+54subscript𝐷Δtintsuperscriptsubscript17703954D_{\rm\Delta t,int}=1770_{-39}^{+54}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT = 1770 start_POSTSUBSCRIPT - 39 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 54 end_POSTSUPERSCRIPT Mpc, with a median value that is 3% lower than the input value. The reason H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT can still be recovered in this case is that Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT is recovered to within 1% of its input value. However, if the prior range of βanisubscript𝛽ani\beta_{\rm ani}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT is extended beyond 0.3, its inferred value continues to increase until it adequately fits the kinematic data. As a result, Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT increases accordingly to counterbalance the effect of βanisubscript𝛽ani\beta_{\rm ani}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT in the outer regions. This will ultimately introduce additional bias in Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT that exceeds the value reported in Tab. 4, thereby biasing the inferred H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT value.

In the second case, we probe the scenario where an incorrect BH mass of MBH=7×109Msubscript𝑀BH7superscript109subscriptMdirect-productM_{\rm BH}=7\times 10^{9}\leavevmode\nobreak\ {\rm M_{\odot}}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT = 7 × 10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT roman_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT was assumed. In contrast to the first case, the orbital anisotropy βani=0.0280.05+0.06subscript𝛽anisuperscriptsubscript0.0280.050.06\beta_{\rm ani}=-0.028_{-0.05}^{+0.06}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT = - 0.028 start_POSTSUBSCRIPT - 0.05 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 0.06 end_POSTSUPERSCRIPT shifts toward the lower bound, and the value of Dd=74217+20subscript𝐷dsuperscriptsubscript7421720D_{\rm d}=742_{-17}^{+20}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT = 742 start_POSTSUBSCRIPT - 17 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 20 end_POSTSUPERSCRIPT Mpc is lower than the Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT obtained using the true MBH=5×109subscript𝑀BH5superscript109M_{\rm BH}=5\times 10^{9}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT = 5 × 10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT (see Fig. 5). In this case, the best-fit kinematic map can reach almost the same quality as the model that uses the true BH mass. However, due to the lower value of Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT, the inferred value of H0=85.02.4+2.5kms1Mpc1subscript𝐻0superscriptsubscript85.02.42.5kmsuperscripts1superscriptMpc1H_{0}=85.0_{-2.4}^{+2.5}\leavevmode\nobreak\ \rm km\leavevmode\nobreak\ s^{-1}% \leavevmode\nobreak\ Mpc^{-1}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT = 85.0 start_POSTSUBSCRIPT - 2.4 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 2.5 end_POSTSUPERSCRIPT roman_km roman_s start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT roman_Mpc start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT is 3% higher than the mock input value of H0=82.5kms1Mpc1subscript𝐻082.5kmsuperscripts1superscriptMpc1H_{0}=82.5\leavevmode\nobreak\ \rm km\leavevmode\nobreak\ s^{-1}\leavevmode% \nobreak\ Mpc^{-1}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT = 82.5 roman_km roman_s start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT roman_Mpc start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT (see Fig. 10).

Refer to caption
Figure 10: Constraints on H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT and ΩmsubscriptΩm\Omega_{\rm m}roman_Ω start_POSTSUBSCRIPT roman_m end_POSTSUBSCRIPT from our models in flat ΛCDMΛCDM\Lambda\rm CDMroman_Λ roman_CDM cosmology, using the ideal kinematic data and different assumptions for MBHsubscript𝑀BHM_{\rm BH}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT. The green contour represents the constraints from the joint modeling, considering the possible values of MBHsubscript𝑀BHM_{\rm BH}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT, and combining all 55 models weighted by BIC. The orange contour shows the constraints from the joint modeling excluding the BH mass. The blue contour shows the constraints from the joint modeling with MBH=7×109Msubscript𝑀BH7superscript109subscriptMdirect-productM_{\rm BH}=7\times 10^{9}\leavevmode\nobreak\ {\rm M_{\odot}}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT = 7 × 10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT roman_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT. The BH mass in the simulated kinematics data is set to MBH=5×109Msubscript𝑀BH5superscript109subscriptMdirect-productM_{\rm BH}=5\times 10^{9}\leavevmode\nobreak\ {\rm M_{\odot}}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT = 5 × 10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT roman_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT.

The above tests indicate that a severely misfitted βanisubscript𝛽ani\beta_{\rm ani}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT can strongly bias Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT and mildly influence DΔt,intsubscript𝐷ΔtintD_{\rm\Delta t,int}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT in the extreme case, thereby affecting H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT inference, even when the kinematic data appears to be well-fitted. The value of βanisubscript𝛽ani\beta_{\rm ani}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT can be accurately recovered when the BH mass is known and vice versa. We find that the fitted value of βani=0.130.04+0.04subscript𝛽anisuperscriptsubscript0.130.040.04\beta_{\rm ani}=0.13_{-0.04}^{+0.04}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT = 0.13 start_POSTSUBSCRIPT - 0.04 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 0.04 end_POSTSUPERSCRIPT is well constrained when the true MBHsubscript𝑀BHM_{\rm BH}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT is used in the joint modeling (see Table 4). However, in nearly all cases of lens galaxies, the precise BH mass is unknown. The bias in Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT caused by a misfitted βanisubscript𝛽ani\beta_{\rm ani}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT can be mitigated by performing joint modeling over a range of possible BH masses and using the BIC to downweight models that are disfavored by the kinematic data. It naturally follows that the prior range of βanisubscript𝛽ani\beta_{\rm ani}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT should be carefully chosen. Expanding the prior range allows adjustments to βanisubscript𝛽ani\beta_{\rm ani}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT and Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT to always effectively compensate for the presence of the BH. While this results in a well-fitted kinematic model, it significantly biases the inferred Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT.

5.3 Mitigating the impact of the MBHsubscript𝑀BHM_{\rm BH}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT-βanisubscript𝛽ani\beta_{\rm ani}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT degeneracy on H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT measurements

Refer to caption
Figure 11: Left: The ideal kinematic data excludes the bins within 0.150.15-0.15\arcsec- 0.15 ″ to 0.150.150.15\arcsec0.15 ″ with 43 bins in total. Middel: The best-fit kinematic map with χkin2=34superscriptsubscript𝜒kin234\chi_{\rm kin}^{2}=34italic_χ start_POSTSUBSCRIPT roman_kin end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT = 34, given the composite mass model with no BH. We do not display the best-fit kinematic map of the case with MBH=7×109Msubscript𝑀BH7superscript109subscript𝑀direct-productM_{\rm BH}=7\times 10^{9}\,M_{\odot}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT = 7 × 10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT italic_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT because they show similar fitting results. Right: The normalised residual.

We set the BH mass in our simulated datasets to MBH=5×109Msubscript𝑀BH5superscript109subscriptMdirect-productM_{\rm BH}=5\times 10^{9}\leavevmode\nobreak\ {\rm M_{\odot}}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT = 5 × 10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT roman_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT, corresponding to a sphere of influence radius of rsoi=0.056subscript𝑟soi0.056r_{\rm soi}=0.056\arcsecitalic_r start_POSTSUBSCRIPT roman_soi end_POSTSUBSCRIPT = 0.056 ″. As a result, the BH primarily affects the inner region. To account for this, we exclude the nine central bins in the ideal simulated kinematic map within the FoV range of 0.150.15-0.15\arcsec- 0.15 ″ to 0.150.150.15\arcsec0.15 ″. We then examine whether the joint modeling becomes insensitive to the BH mass, thereby mitigating the bias in the Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT measurement caused by the MBHsubscript𝑀BHM_{\rm BH}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT-βanisubscript𝛽ani\beta_{\rm ani}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT degeneracy.

We perform joint modeling using the ideal kinematic map while excluding the central regions. We reassess the recovery of the H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT value and evaluate the quality of the kinematic fit for both cases of no BH and a BH with MBH=7×109Msubscript𝑀BH7superscript109subscript𝑀direct-productM_{\rm BH}=7\times 10^{9}\,M_{\odot}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT = 7 × 10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT italic_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT. In both cases, we observe that Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT and βanisubscript𝛽ani\beta_{\rm ani}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT shifted closer to the mock input values, allowing for an accurate recovery of H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT within 1σ1𝜎1\sigma1 italic_σ uncertainties (see Tab. 4 and more details in Appendix. D). As anticipated, the 1σ1𝜎1\sigma1 italic_σ uncertainties are broader than the full ideal kinematic dataset because we adopt 43 bins instead of the complete dataset with 52 bins. Additionally, the kinematic data excluding the central region is effectively recovered through joint modeling with no BH and MBH=7×109Msubscript𝑀BH7superscript109subscript𝑀direct-productM_{\rm BH}=7\times 10^{9}\,M_{\odot}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT = 7 × 10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT italic_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT (see Fig. 11). This suggests that excluding the central kinematic region can help mitigate the effects of the presence of the BH with highly uncertain mass.

5.4 The impact of high systematic bias in kinematics data on H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT measurement

In this section, we perform joint modeling of the kinematic data, incorporating a 5% systematic bias (see Eq. 61) to account for measurement-related systematic errors in the kinematic map. We emphasize that this adopted error represents a worst-case scenario, in which the kinematic measurements are not optimally performed. Furthermore, we highlight the importance of achieving sub-percent systematic errors in the kinematic map to ensure the robustness of cosmographic modeling, using the method presented in Knabel et al. (2025).

As described in Sect. 5.1, we run all modelings using the systematically biased kinematic data. We adopt the composite mass model, κint,compsubscript𝜅intcomp\kappa_{\rm int,comp}italic_κ start_POSTSUBSCRIPT roman_int , roman_comp end_POSTSUBSCRIPT, across the black hole mass range, and a single EPL profile, κint,eplsubscript𝜅intepl\kappa_{\rm int,epl}italic_κ start_POSTSUBSCRIPT roman_int , roman_epl end_POSTSUBSCRIPT, for the joint modeling. To account for degeneracies induced by the source grid resolution, we perform each mass model analysis on source grids ranging from 60×60606060\times 6060 × 60 to 68×68686868\times 6868 × 68 pixels. We perform the BIC weighting to combine all 55 joint models. The biased kinematic data helps break the internal MSD, yielding consistent results for λ=0.970.07+0.04𝜆superscriptsubscript0.970.070.04\lambda=0.97_{-0.07}^{+0.04}italic_λ = 0.97 start_POSTSUBSCRIPT - 0.07 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 0.04 end_POSTSUPERSCRIPT and DΔt,int=186380+144subscript𝐷Δtintsuperscriptsubscript186380144D_{\rm\Delta t,int}=1863_{-80}^{+144}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT = 1863 start_POSTSUBSCRIPT - 80 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 144 end_POSTSUPERSCRIPT Mpc, which agree with values inferred from the joint modeling using ideal kinematic data. This demonstrates that the overall systematic bias does not affect the constraints on DΔt,intsubscript𝐷ΔtintD_{\rm\Delta t,int}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT and λintsubscript𝜆int\lambda_{\rm int}italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT (see Fig. 6). This is because λintsubscript𝜆int\lambda_{\rm int}italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT is constrained by the 2D kinematic map, where the shape of the vrmssubscript𝑣rmsv_{\rm rms}italic_v start_POSTSUBSCRIPT roman_rms end_POSTSUBSCRIPT profile breaks the internal MSD and constrains DΔt,intsubscript𝐷ΔtintD_{\rm\Delta t,int}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT. The 5% bias does not alter the shape of the vrmssubscript𝑣rmsv_{\rm rms}italic_v start_POSTSUBSCRIPT roman_rms end_POSTSUBSCRIPT profile, which is why neither DΔt,intsubscript𝐷ΔtintD_{\rm\Delta t,int}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT nor λintsubscript𝜆int\lambda_{\rm int}italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT is biased. Following the same reason, the inference of βanisubscript𝛽ani\beta_{\rm ani}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT remains unaffected. We obtain βani=0.200.13+0.08subscript𝛽anisuperscriptsubscript0.200.130.08\beta_{\rm ani}=0.20_{-0.13}^{+0.08}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT = 0.20 start_POSTSUBSCRIPT - 0.13 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 0.08 end_POSTSUPERSCRIPT, which is consistent with the value inferred using ideal kinematic data.

The systematic bias primarily impacts Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT because it changes the amplitude of the vrmssubscript𝑣rmsv_{\rm rms}italic_v start_POSTSUBSCRIPT roman_rms end_POSTSUBSCRIPT overall. Given the relation vrmspre1Ddsimilar-tosuperscriptsubscript𝑣rmspre1subscript𝐷dv_{\rm rms}^{\rm pre}\sim\frac{1}{\sqrt{D_{\rm d}}}italic_v start_POSTSUBSCRIPT roman_rms end_POSTSUBSCRIPT start_POSTSUPERSCRIPT roman_pre end_POSTSUPERSCRIPT ∼ divide start_ARG 1 end_ARG start_ARG square-root start_ARG italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT end_ARG end_ARG, a 5%percent55\%5 % bias in vrmspresuperscriptsubscript𝑣rmsprev_{\rm rms}^{\rm pre}italic_v start_POSTSUBSCRIPT roman_rms end_POSTSUBSCRIPT start_POSTSUPERSCRIPT roman_pre end_POSTSUPERSCRIPT results in an expected 9%similar-toabsentpercent9\sim 9\%∼ 9 % bias in Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT. We obtain Dd=70625+20subscript𝐷dsuperscriptsubscript7062520D_{\rm d}=706_{-25}^{+20}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT = 706 start_POSTSUBSCRIPT - 25 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 20 end_POSTSUPERSCRIPT Mpc, which is 9%percent99\%9 % lower than the mock input value of Dd=775subscript𝐷d775D_{\rm d}=775italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT = 775 Mpc, as expected. If the combined kinematics are obtained from a single aperture rather than an IFU, the impact on distances will not be cleanly isolated to Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT alone, as the single aperture lacks information on the shape of vrmssubscript𝑣rmsv_{\rm rms}italic_v start_POSTSUBSCRIPT roman_rms end_POSTSUBSCRIPT. We anticipate a more severe effect on both Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT and DΔt,intsubscript𝐷ΔtintD_{\rm\Delta t,int}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT

The inferred value of H0=93.62.1+3.3kms1Mpc1subscript𝐻0superscriptsubscript93.62.13.3kmsuperscripts1superscriptMpc1H_{0}=93.6_{-2.1}^{+3.3}\rm\leavevmode\nobreak\ km\leavevmode\nobreak\ s^{-1}% \leavevmode\nobreak\ Mpc^{-1}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT = 93.6 start_POSTSUBSCRIPT - 2.1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 3.3 end_POSTSUPERSCRIPT roman_km roman_s start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT roman_Mpc start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT from P(Dd)𝑃subscript𝐷dP(D_{\rm d})italic_P ( italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT ) is biased by 13% compared to the mock input. However, since the inferred DΔt,intsubscript𝐷ΔtintD_{\rm\Delta t,int}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT remains unbiased, we obtain H0=87.42.0+2.2kms1Mpc1subscript𝐻0superscriptsubscript87.42.02.2kmsuperscripts1superscriptMpc1H_{0}=87.4_{-2.0}^{+2.2}\leavevmode\nobreak\ \rm km\leavevmode\nobreak\ s^{-1}% \leavevmode\nobreak\ Mpc^{-1}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT = 87.4 start_POSTSUBSCRIPT - 2.0 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 2.2 end_POSTSUPERSCRIPT roman_km roman_s start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT roman_Mpc start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT using P(DΔt,int,Dd𝒅LD)𝑃subscript𝐷Δtintconditionalsubscript𝐷dsubscript𝒅LDP(D_{\rm\Delta t,int},D_{\rm d}\mid\bm{d}_{\rm LD})italic_P ( italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT , italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT ∣ bold_italic_d start_POSTSUBSCRIPT roman_LD end_POSTSUBSCRIPT ), which carries a 6% bias relative to the mock input (see Fig. 6).

Any systematic error affecting the overall kinematic map will be amplified in Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT inference (Chen et al. 2021b). Although the bias does not impact DΔt,intsubscript𝐷ΔtintD_{\rm\Delta t,int}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT inference, the joint modeling of H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT remains highly susceptible to bias. This crucially highlights the importance of accurately measuring kinematics and controlling systematic uncertainties to the sub-percent level, which is achieved by Knabel et al. (2025), in order to measure Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT and H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT to the percent level.

Model Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT
[Mpc]
DΔt,intsubscript𝐷ΔtintD_{\rm\Delta t,int}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT
[Mpc]
λintsubscript𝜆int\lambda_{\rm int}italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT βanisubscript𝛽ani\beta_{\rm ani}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT P(H0|Dd)𝑃conditionalsubscript𝐻0subscript𝐷dP(H_{0}\leavevmode\nobreak\ |\leavevmode\nobreak\ D_{\rm d})italic_P ( italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT | italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT ) P(H0|DΔt,int)𝑃conditionalsubscript𝐻0subscript𝐷ΔtintP(H_{0}\leavevmode\nobreak\ |\leavevmode\nobreak\ D_{\rm\Delta t,int})italic_P ( italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT | italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT ) P(H0|Dd,DΔt,int)𝑃conditionalsubscript𝐻0subscript𝐷dsubscript𝐷ΔtintP(H_{0}\leavevmode\nobreak\ |\leavevmode\nobreak\ D_{\rm d},D_{\rm\Delta t,int})italic_P ( italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT | italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT , italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT ) χdyn2superscriptsubscript𝜒dyn2\chi_{\rm dyn}^{2}italic_χ start_POSTSUBSCRIPT roman_dyn end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT
Full FoV (52 bins)
Ideal Kinematics with
MBHsubscript𝑀BHM_{\rm BH}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT in [109,1010]10^{9},10^{10}]10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT , 10 start_POSTSUPERSCRIPT 10 end_POSTSUPERSCRIPT ] MsubscriptMdirect-product{\rm M_{\odot}}roman_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT
78129+30superscriptsubscript7812930781_{-29}^{+30}781 start_POSTSUBSCRIPT - 29 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 30 end_POSTSUPERSCRIPT 185778+137superscriptsubscript1857781371857_{-78}^{+137}1857 start_POSTSUBSCRIPT - 78 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 137 end_POSTSUPERSCRIPT 0.980.07+0.04superscriptsubscript0.980.070.040.98_{-0.07}^{+0.04}0.98 start_POSTSUBSCRIPT - 0.07 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 0.04 end_POSTSUPERSCRIPT 0.210.14+0.07superscriptsubscript0.210.140.070.21_{-0.14}^{+0.07}0.21 start_POSTSUBSCRIPT - 0.14 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 0.07 end_POSTSUPERSCRIPT 83.12.9+3.7superscriptsubscript83.12.93.783.1_{-2.9}^{+3.7}83.1 start_POSTSUBSCRIPT - 2.9 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 3.7 end_POSTSUPERSCRIPT 81.06.4+4.4superscriptsubscript81.06.44.481.0_{-6.4}^{+4.4}81.0 start_POSTSUBSCRIPT - 6.4 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 4.4 end_POSTSUPERSCRIPT 82.53.1+3.2superscriptsubscript82.53.13.282.5_{-3.1}^{+3.2}82.5 start_POSTSUBSCRIPT - 3.1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 3.2 end_POSTSUPERSCRIPT 50
Ideal Kinematics with
MBH=5×109Msubscript𝑀BH5superscript109subscriptMdirect-productM_{\rm BH}=5\times 10^{9}\leavevmode\nobreak\ {\rm M_{\odot}}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT = 5 × 10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT roman_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT*
76918+18superscriptsubscript7691818769_{-18}^{+18}769 start_POSTSUBSCRIPT - 18 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 18 end_POSTSUPERSCRIPT 186880+140superscriptsubscript1868801401868_{-80}^{+140}1868 start_POSTSUBSCRIPT - 80 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 140 end_POSTSUPERSCRIPT 0.980.07+0.04superscriptsubscript0.980.070.040.98_{-0.07}^{+0.04}0.98 start_POSTSUBSCRIPT - 0.07 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 0.04 end_POSTSUPERSCRIPT 0.130.04+0.04superscriptsubscript0.130.040.040.13_{-0.04}^{+0.04}0.13 start_POSTSUBSCRIPT - 0.04 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 0.04 end_POSTSUPERSCRIPT 83.52.9+3.1superscriptsubscript83.52.93.183.5_{-2.9}^{+3.1}83.5 start_POSTSUBSCRIPT - 2.9 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 3.1 end_POSTSUPERSCRIPT 80.96.3+4.6superscriptsubscript80.96.34.680.9_{-6.3}^{+4.6}80.9 start_POSTSUBSCRIPT - 6.3 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 4.6 end_POSTSUPERSCRIPT 83.33.0+3.0superscriptsubscript83.33.03.083.3_{-3.0}^{+3.0}83.3 start_POSTSUBSCRIPT - 3.0 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 3.0 end_POSTSUPERSCRIPT 51
Ideal Kinematics with
no BH
78511+12superscriptsubscript7851112785_{-11}^{+12}785 start_POSTSUBSCRIPT - 11 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 12 end_POSTSUPERSCRIPT 177039+54superscriptsubscript177039541770_{-39}^{+54}1770 start_POSTSUBSCRIPT - 39 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 54 end_POSTSUPERSCRIPT 1.000.03+0.02superscriptsubscript1.000.030.021.00_{-0.03}^{+0.02}1.00 start_POSTSUBSCRIPT - 0.03 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 0.02 end_POSTSUPERSCRIPT 0.290.006+0.003superscriptsubscript0.290.0060.0030.29_{-0.006}^{+0.003}0.29 start_POSTSUBSCRIPT - 0.006 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 0.003 end_POSTSUPERSCRIPT 81.33.1+3.1superscriptsubscript81.33.13.181.3_{-3.1}^{+3.1}81.3 start_POSTSUBSCRIPT - 3.1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 3.1 end_POSTSUPERSCRIPT 85.33.6+3.0superscriptsubscript85.33.63.085.3_{-3.6}^{+3.0}85.3 start_POSTSUBSCRIPT - 3.6 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 3.0 end_POSTSUPERSCRIPT 83.23.0+2.3superscriptsubscript83.23.02.383.2_{-3.0}^{+2.3}83.2 start_POSTSUBSCRIPT - 3.0 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 2.3 end_POSTSUPERSCRIPT 64
Ideal Kinematics with
MBH=7×109Msubscript𝑀BH7superscript109subscriptMdirect-productM_{\rm BH}=7\times 10^{9}\leavevmode\nobreak\ {\rm M_{\odot}}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT = 7 × 10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT roman_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT
74217+20superscriptsubscript7421720742_{-17}^{+20}742 start_POSTSUBSCRIPT - 17 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 20 end_POSTSUPERSCRIPT 187678+144superscriptsubscript1876781441876_{-78}^{+144}1876 start_POSTSUBSCRIPT - 78 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 144 end_POSTSUPERSCRIPT 0.980.07+0.04superscriptsubscript0.980.070.040.98_{-0.07}^{+0.04}0.98 start_POSTSUBSCRIPT - 0.07 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 0.04 end_POSTSUPERSCRIPT 0.0280.05+0.06superscriptsubscript0.0280.050.06-0.028_{-0.05}^{+0.06}- 0.028 start_POSTSUBSCRIPT - 0.05 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 0.06 end_POSTSUPERSCRIPT 86.91.8+2.0superscriptsubscript86.91.82.086.9_{-1.8}^{+2.0}86.9 start_POSTSUBSCRIPT - 1.8 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 2.0 end_POSTSUPERSCRIPT 80.46.6+4.6superscriptsubscript80.46.64.680.4_{-6.6}^{+4.6}80.4 start_POSTSUBSCRIPT - 6.6 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 4.6 end_POSTSUPERSCRIPT 85.02.4+2.5superscriptsubscript85.02.42.585.0_{-2.4}^{+2.5}85.0 start_POSTSUBSCRIPT - 2.4 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 2.5 end_POSTSUPERSCRIPT 53
Kinematics with a 5% bias with
MBHsubscript𝑀BHM_{\rm BH}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT in [109,1010]10^{9},10^{10}]10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT , 10 start_POSTSUPERSCRIPT 10 end_POSTSUPERSCRIPT ] MsubscriptMdirect-product{\rm M_{\odot}}roman_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT
70627+20superscriptsubscript7062720706_{-27}^{+20}706 start_POSTSUBSCRIPT - 27 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 20 end_POSTSUPERSCRIPT 186382+149superscriptsubscript1863821491863_{-82}^{+149}1863 start_POSTSUBSCRIPT - 82 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 149 end_POSTSUPERSCRIPT 0.970.07+0.04superscriptsubscript0.970.070.040.97_{-0.07}^{+0.04}0.97 start_POSTSUBSCRIPT - 0.07 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 0.04 end_POSTSUPERSCRIPT 0.190.15+0.08superscriptsubscript0.190.150.080.19_{-0.15}^{+0.08}0.19 start_POSTSUBSCRIPT - 0.15 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 0.08 end_POSTSUPERSCRIPT 93.72.0+3.0superscriptsubscript93.72.03.093.7_{-2.0}^{+3.0}93.7 start_POSTSUBSCRIPT - 2.0 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 3.0 end_POSTSUPERSCRIPT 80.56.6+4.4superscriptsubscript80.56.64.480.5_{-6.6}^{+4.4}80.5 start_POSTSUBSCRIPT - 6.6 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 4.4 end_POSTSUPERSCRIPT 87.42.0+2.2superscriptsubscript87.42.02.287.4_{-2.0}^{+2.2}87.4 start_POSTSUBSCRIPT - 2.0 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 2.2 end_POSTSUPERSCRIPT 50
Full FoV exclude inner region (43 bins)
Ideal Kinematics with
no BH
77719+18superscriptsubscript7771918777_{-19}^{+18}777 start_POSTSUBSCRIPT - 19 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 18 end_POSTSUPERSCRIPT 180454+96superscriptsubscript180454961804_{-54}^{+96}1804 start_POSTSUBSCRIPT - 54 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 96 end_POSTSUPERSCRIPT 0.990.06+0.03superscriptsubscript0.990.060.030.99_{-0.06}^{+0.03}0.99 start_POSTSUBSCRIPT - 0.06 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 0.03 end_POSTSUPERSCRIPT 0.230.06+0.05superscriptsubscript0.230.060.050.23_{-0.06}^{+0.05}0.23 start_POSTSUBSCRIPT - 0.06 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 0.05 end_POSTSUPERSCRIPT 82.92.7+3.0superscriptsubscript82.92.73.082.9_{-2.7}^{+3.0}82.9 start_POSTSUBSCRIPT - 2.7 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 3.0 end_POSTSUPERSCRIPT 83.45.3+3.8superscriptsubscript83.45.33.883.4_{-5.3}^{+3.8}83.4 start_POSTSUBSCRIPT - 5.3 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 3.8 end_POSTSUPERSCRIPT 83.33.2+2.9superscriptsubscript83.33.22.983.3_{-3.2}^{+2.9}83.3 start_POSTSUBSCRIPT - 3.2 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 2.9 end_POSTSUPERSCRIPT 34
Ideal Kinematics with
MBH=7×109Msubscript𝑀BH7superscript109subscriptMdirect-productM_{\rm BH}=7\times 10^{9}\leavevmode\nobreak\ {\rm M_{\odot}}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT = 7 × 10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT roman_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT
75230+34superscriptsubscript7523034752_{-30}^{+34}752 start_POSTSUBSCRIPT - 30 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 34 end_POSTSUPERSCRIPT 190397+176superscriptsubscript1903971761903_{-97}^{+176}1903 start_POSTSUBSCRIPT - 97 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 176 end_POSTSUPERSCRIPT 0.970.08+0.05superscriptsubscript0.970.080.050.97_{-0.08}^{+0.05}0.97 start_POSTSUBSCRIPT - 0.08 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 0.05 end_POSTSUPERSCRIPT 0.0190.15+0.13superscriptsubscript0.0190.150.130.019_{-0.15}^{+0.13}0.019 start_POSTSUBSCRIPT - 0.15 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 0.13 end_POSTSUPERSCRIPT 85.52.7+2.7superscriptsubscript85.52.72.785.5_{-2.7}^{+2.7}85.5 start_POSTSUBSCRIPT - 2.7 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 2.7 end_POSTSUPERSCRIPT 79.67.0+5.1superscriptsubscript79.67.05.179.6_{-7.0}^{+5.1}79.6 start_POSTSUBSCRIPT - 7.0 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 5.1 end_POSTSUPERSCRIPT 84.13.3+3.1superscriptsubscript84.13.33.184.1_{-3.3}^{+3.1}84.1 start_POSTSUBSCRIPT - 3.3 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT + 3.1 end_POSTSUPERSCRIPT 42
Table 4: Important parameters and the inferred H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT [kms1Mpc1superscriptkms1superscriptMpc1\rm kms^{-1}\leavevmode\nobreak\ Mpc^{-1}roman_kms start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT roman_Mpc start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT] from different joint models. In the individual models, we present the marginalized values of H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT constrained by P(Dd)𝑃subscript𝐷dP(D_{\rm d})italic_P ( italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT ), P(DΔt,int)𝑃subscript𝐷ΔtintP(D_{\rm\Delta t,int})italic_P ( italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT ), and P(Dd,DΔt,int)𝑃subscript𝐷dsubscript𝐷ΔtintP(D_{\rm d},D_{\rm\Delta t,int})italic_P ( italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT , italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT ), respectively. We also provide the marginalized distance values for Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT and DΔt,intsubscript𝐷ΔtintD_{\rm\Delta t,int}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT. The 1σ1𝜎1\sigma1 italic_σ uncertainties are calculated from the 16th, 50th, and 84th percentiles of the distribution. The input mock values are H0=82.5kms1Mpc1subscript𝐻082.5kmsuperscripts1superscriptMpc1H_{0}=82.5\leavevmode\nobreak\ \rm km\leavevmode\nobreak\ s^{-1}\leavevmode% \nobreak\ Mpc^{-1}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT = 82.5 roman_km roman_s start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT roman_Mpc start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT, Dd=775subscript𝐷d775D_{\rm d}=775italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT = 775 Mpc and DΔt,int=1823subscript𝐷Δtint1823D_{\rm\Delta t,int}=1823italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT = 1823 Mpc. The star symbol denotes joint modeling that includes the BH mass, which is the mock input.

6 Summary and outlook

In this paper, we present a GPU-accelerated code (GLaD) for self-consistent lensing and dynamical modeling, based on Yıldırım et al. (2020) for the lensing part and on Cappellari (2020) for the dynamics part. This method combines lensing and dynamical models by solving the Jeans equations in an axisymmetric geometry. The primary purpose of this code is for time-delay cosmography, but it can also be naturally applied to galaxy evolution studies (Shajib et al. 2021; Tan et al. 2024; Sheu et al. 2024; Sahu et al. 2024).

In time-delay cosmography, accounting for parameter uncertainties is essential. The most time-consuming part of joint modeling is running analyses across a range of source grids to account for parameter uncertainties associated with source grid resolutions. Another computational challenge is solving the Jeans equation to determine the intrinsic second velocity moments. The first issue is naturally optimized using GPU architecture, which excels at accelerating large matrix calculations, while the second is handled with a non-adaptive integral solver. In both cases, we achieve at least an order-of-magnitude speedup.

We simulate the lensing and kinematic data for the lensed quasar system RXJ1131 to test whether GLaD can recover the mock input value. Since the lens galaxy in RXJ1131 exhibits a central velocity dispersion 300kms1absent300kmsuperscripts1\geq 300\rm\leavevmode\nobreak\ km\leavevmode\nobreak\ s^{-1}≥ 300 roman_km roman_s start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT, we add a MBH=5×109Msubscript𝑀BH5superscript109subscriptMdirect-productM_{\rm BH}=5\times 10^{9}\leavevmode\nobreak\ {\rm M_{\odot}}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT = 5 × 10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT roman_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT in the mock mass profile. For the kinematic map, we generate one ideal kinematic map with the 2%percent22\%2 % statistical error and a biased kinematic map with a 5%percent55\%5 % systematic bias (as a worst-case scenario) in all the velocities. We use GLaD to perform the joint modeling on the simulated data to test the influence of the BH and the systematic error in the kinematic map. We found as follows:

  • GLaD achieves a sampling time of 0.5similar-toabsent0.5\sim 0.5∼ 0.5 seconds per step on a single A100 GPU, reducing the Bayesian inference of the joint modeling in Yıldırım et al. (2020, 2023) from month-long to several days.

  • We perform joint modeling using two types of mass models and combine 55 models based on the BIC weighing. As expected, the kinematic data helps break the internal MSD. Using ideal kinematic data, we achieve 4%percent44\%4 % uncertainty in the inference of H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT.

  • The BH mass does not influence the breaking of the internal MSD. Therefore, the measurement of λintsubscript𝜆int\lambda_{\rm int}italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT and DΔt,intsubscript𝐷ΔtintD_{\rm\Delta t,int}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT remains independent of the adopted MBHsubscript𝑀BHM_{\rm BH}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT in the joint modeling, provided that the kinematic data is well fitted.

  • Given the high BH mass of 5×109M5superscript109subscriptMdirect-product5\times 10^{9}\ {\rm M_{\odot}}5 × 10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT roman_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT adopted in our mock data, the BH mass plays a crucial role in constraining βanisubscript𝛽ani\beta_{\rm ani}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT and Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT. By adjusting βanisubscript𝛽ani\beta_{\rm ani}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT, one can mimic the effect of a massive BH, making it difficult to constrain anisotropy without precise knowledge of the BH mass. Additionally, βanisubscript𝛽ani\beta_{\rm ani}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT is positively correlated with Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT, meaning any bias in the inferred βanisubscript𝛽ani\beta_{\rm ani}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT leads to a corresponding bias in Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT. As shown in Sect. 5.2, modeling with an incorrect BH mass results in an inferred H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT that is 3% higher than the mock input value.

  • In Sect. 5.2, we present two approaches to mitigate the impact of the BH on H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT measurements. The first approach involves using insights from nearby galaxies to determine the most probable range for the BH mass. We then perform a series of models with BH mass variations within this range, combining the results using the BIC weights to obtain an unbiased distance and H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT measurement. The advantage of this approach is that it leverages the full kinematic dataset and a well-motivated prior. However, the disadvantage is the need to run multiple models. In the second approach, we bypass the sensitivity of the kinematic data to the BH mass by excluding the central kinematic bins, allowing us to retrieve the H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT value with just one model, without significant reliance on prior knowledge.

  • The systematic bias in spatially resolved kinematic data does not impact the constraints on λintsubscript𝜆int\lambda_{\rm int}italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT and DΔt,intsubscript𝐷ΔtintD_{\rm\Delta t,int}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT, as these parameters are influenced by the shape of the 2D vrmssubscript𝑣rmsv_{\rm rms}italic_v start_POSTSUBSCRIPT roman_rms end_POSTSUBSCRIPT distribution. However, an overall bias in the kinematic data does not alter the shape of vrmssubscript𝑣rmsv_{\rm rms}italic_v start_POSTSUBSCRIPT roman_rms end_POSTSUBSCRIPT; it only affects its amplitude.

  • The bias in the amplitude of vrmssubscript𝑣rmsv_{\rm rms}italic_v start_POSTSUBSCRIPT roman_rms end_POSTSUBSCRIPT primarily affects the inference of Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT. A 5% bias leads to an approximately 10% bias in Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT, which in turn results in a 10% bias in the H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT measurement, given P(Dd)𝑃subscript𝐷dP(D_{\rm d})italic_P ( italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT ). However, as we emphasized earlier, a 5% bias in the kinematic data does not bias DΔt,intsubscript𝐷ΔtintD_{\rm\Delta t,int}italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT. Consequently, when considering H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT given both distances, P(Dd,DΔt,int)𝑃subscript𝐷dsubscript𝐷ΔtintP(D_{\rm d},D_{\rm\Delta t,int})italic_P ( italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT , italic_D start_POSTSUBSCRIPT roman_Δ roman_t , roman_int end_POSTSUBSCRIPT ), the bias is reduced to approximately 6%. We have demonstrated that systematic bias in the kinematic data doubles the error as it propagates to H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT (as also shown by Chen et al. 2021b, see Eqs. 20 and 21). This highlights the importance of measuring kinematics with sub-percent systematic uncertainty, as recently achieved by Knabel et al. (2025).

GLaD will be applied to the NIRSpec IFU observations of the lens galaxy in RXJ1131. Using simulated data, we identified a trade-off between the BH mass and the anisotropy parameter βanisubscript𝛽ani\beta_{\rm ani}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT, as well as the influence of BH mass on Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT in this paper. In our simulated kinematic dataset, we used a higher BH mass compared to the value from the MBHσdispsubscript𝑀BHsubscript𝜎dispM_{\rm BH}-\sigma_{\rm disp}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT - italic_σ start_POSTSUBSCRIPT roman_disp end_POSTSUBSCRIPT relation. We aim to determine whether these effects are also present in real observations. If confirmed, we can further explore strategies to mitigate potential biases in Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT.

As for the second test in this paper on systematic bias in the kinematic data, its impact on future H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT measurements is expected to be minor, given the recent work by Knabel et al. (2025) who demonstrated that systematics errors of kinematic measurements can be controlled at the sub-percent level.

Another test we will explore in the future is the adopted mass sheet and how it interacts with the system. In this paper, we set the mass sheet with a fixed core and truncation radius. We ensure that, with this setup, the lensing data is completely degenerate with respect to different values of λintsubscript𝜆int\lambda_{\rm int}italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT while the kinematic data are sensitive to λintsubscript𝜆int\lambda_{\rm int}italic_λ start_POSTSUBSCRIPT roman_int end_POSTSUBSCRIPT. Future studies could further explore the parameter space for the mass sheet that satisfies the above requirements and marginalize over them to assess the impact on the BH mass and H0subscript𝐻0H_{0}italic_H start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT.

Our study highlights the speed gains achieved by using a single GPU, and in the future, parallelizing computations across multiple GPUs could further improve efficiency. Our developments will enable more efficient lensing and dynamical modeling of galaxies with high quality data for future cosmological and galaxy studies.

Acknowledgements

We thank Tommaso Treu, Shawn Knabel, Simon Birrer and Xiang-Yu Huang for helpful discussions and feedback on this work. HW and SHS thank the Max Planck Society for support through the Max Planck Fellowship for SHS. This project has received funding from the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme (LENSNOVA: grant agreement No 771776). This work is supported in part by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) under Germany’s Excellence Strategy – EXC-2094 – 390783311. AG acknowledges the Swiss National Science Foundation (SNSF) for supporting this work.

References

  • Abdalla et al. (2022) Abdalla, E., Abellán, G. F., Aboubrahim, A., et al. 2022, Journal of High Energy Astrophysics, 34, 49
  • Bacon et al. (1983) Bacon, R., Simien, F., & Monnet, G. 1983, A&A, 128, 405
  • Binney & Tremaine (1987) Binney, J. & Tremaine, S. 1987, Galactic dynamics (Princeton University Press)
  • Birrer et al. (2016) Birrer, S., Amara, A., & Refregier, A. 2016, J. Cosmology Astropart. Phys., 2016, 020
  • Birrer et al. (2024) Birrer, S., Millon, M., Sluse, D., et al. 2024, Space Sci. Rev., 220, 48
  • Birrer et al. (2020) Birrer, S., Shajib, A. J., Galan, A., et al. 2020, A&A, 643, A165
  • Birrer & Treu (2021) Birrer, S. & Treu, T. 2021, Astronomy & Astrophysics, 649, A61
  • Birrer & Treu (2021) Birrer, S. & Treu, T. 2021, A&A, 649, A61
  • Birrer et al. (2019) Birrer, S., Treu, T., Rusu, C. E., et al. 2019, MNRAS, 484, 4726
  • Blum et al. (2020) Blum, K., Castorina, E., & Simonović, M. 2020, The Astrophysical Journal Letters, 892, L27
  • Bonvin et al. (2017) Bonvin, V., Courbin, F., Suyu, S. H., et al. 2017, MNRAS, 465, 4914
  • Bradbury et al. (2018) Bradbury, J., Frostig, R., Hawkins, P., et al. 2018, JAX: composable transformations of Python+NumPy programs
  • Cappellari (2002) Cappellari, M. 2002, MNRAS, 333, 400
  • Cappellari (2002) Cappellari, M. 2002, MNRAS, 333, 400
  • Cappellari (2008) Cappellari, M. 2008, MNRAS, 390, 71
  • Cappellari (2020) Cappellari, M. 2020, MNRAS, 494, 4819
  • Cappellari (2025) Cappellari, M. 2025, arXiv e-prints, arXiv:2503.02746
  • Cappellari & Copin (2003) Cappellari, M. & Copin, Y. 2003, MNRAS, 342, 345
  • Chen et al. (2018) Chen, G. C. F., Chan, J. H. H., Bonvin, V., et al. 2018, MNRAS, 481, 1115
  • Chen et al. (2021a) Chen, G. C. F., Fassnacht, C. D., Suyu, S. H., et al. 2021a, A&A, 652, A7
  • Chen et al. (2021b) Chen, G. C. F., Fassnacht, C. D., Suyu, S. H., et al. 2021b, A&A, 652, A7
  • Chirivì et al. (2020) Chirivì, G., Yıldırım, A., Suyu, S. H., & Halkola, A. 2020, A&A, 643, A135
  • Efstathiou & Gratton (2020) Efstathiou, G. & Gratton, S. 2020, Monthly Notices of the Royal Astronomical Society: Letters, 496, L91–L95
  • Elíasdóttir et al. (2007) Elíasdóttir, Á., Limousin, M., Richard, J., et al. 2007, arXiv e-prints, arXiv:0710.5636
  • Emsellem et al. (1994) Emsellem, E., Monnet, G., & Bacon, R. 1994, A&A, 285, 723
  • Falco et al. (1985) Falco, E. E., Gorenstein, M. V., & Shapiro, I. I. 1985, ApJ, 289, L1
  • Falco et al. (1985) Falco, E. E., Gorenstein, M. V., & Shapiro, I. I. 1985, ApJ, 289, L1
  • Freedman & Madore (2023) Freedman, W. L. & Madore, B. F. 2023, J. Cosmology Astropart. Phys., 2023, 050
  • Freedman et al. (2024) Freedman, W. L., Madore, B. F., Jang, I. S., et al. 2024, arXiv e-prints, arXiv:2408.06153
  • Gavazzi et al. (2007) Gavazzi, R., Treu, T., Rhodes, J. D., et al. 2007, ApJ, 667, 176
  • Golse & Kneib (2002) Golse, G. & Kneib, J. P. 2002, A&A, 390, 821
  • Gomer et al. (2022) Gomer, M. R., Sluse, D., Van de Vyvere, L., Birrer, S., & Courbin, F. 2022, A&A, 667, A86
  • Gorenstein et al. (1988) Gorenstein, M. V., Falco, E. E., & Shapiro, I. I. 1988, ApJ, 327, 693
  • Greene et al. (2013) Greene, Z. S., Suyu, S. H., Treu, T., et al. 2013, ApJ, 768, 39
  • Huang et al. (2025) Huang, X.-Y., Birrer, S., Cappellari, M., et al. 2025, arXiv e-prints, arXiv:2503.00235
  • Jakobsen et al. (2022) Jakobsen, P., Ferruit, P., Alves de Oliveira, C., et al. 2022, A&A, 661, A80
  • Jee et al. (2015) Jee, I., Komatsu, E., & Suyu, S. H. 2015, J. Cosmology Astropart. Phys., 2015, 033
  • Khadka et al. (2024) Khadka, N., Birrer, S., Leauthaud, A., & Nix, H. 2024, MNRAS, 533, 795
  • Knabel et al. (2025) Knabel, S., Mozumdar, P., Shajib, A. J., et al. 2025, arXiv e-prints, arXiv:2502.16034
  • Knabel et al. (2024) Knabel, S., Treu, T., Cappellari, M., et al. 2024, arXiv e-prints, arXiv:2409.10631
  • Kormendy & Ho (2013) Kormendy, J. & Ho, L. C. 2013, ARA&A, 51, 511
  • Liao et al. (2022) Liao, K., Biesiada, M., & Zhu, Z.-H. 2022, Chinese Physics Letters, 39, 119801
  • Liao et al. (2015) Liao, K., Treu, T., Marshall, P., et al. 2015, ApJ, 800, 11
  • McConnell & Ma (2013) McConnell, N. J. & Ma, C.-P. 2013, ApJ, 764, 184
  • Melo-Carneiro et al. (2025) Melo-Carneiro, C. R., Collett, T. E., Oldham, L. J., & Enzi, W. J. R. 2025, arXiv e-prints, arXiv:2502.13788
  • Meylan et al. (2006) Meylan, G., Jetzer, P., North, P., et al., eds. 2006, Gravitational Lensing: Strong, Weak and Micro
  • Millon et al. (2020) Millon, M., Galan, A., Courbin, F., et al. 2020, A&A, 639, A101
  • Morrissey et al. (2018) Morrissey, P., Matuszewski, M., Martin, D. C., et al. 2018, ApJ, 864, 93
  • Nightingale et al. (2023) Nightingale, J. W., Smith, R. J., He, Q., et al. 2023, MNRAS, 521, 3298
  • Oguri (2019) Oguri, M. 2019, Reports on Progress in Physics, 82, 126901
  • Oguri (2021) Oguri, M. 2021, PASP, 133, 074504
  • Planck Collaboration et al. (2020) Planck Collaboration, Aghanim, N., Akrami, Y., et al. 2020, A&A, 641, A6
  • Refsdal (1964) Refsdal, S. 1964, MNRAS, 128, 307
  • Riess et al. (2024) Riess, A. G., Anand, G. S., Yuan, W., et al. 2024, JWST Observations Reject Unrecognized Crowding of Cepheid Photometry as an Explanation for the Hubble Tension at 8 sigma Confidence
  • Riess et al. (2022) Riess, A. G., Yuan, W., Macri, L. M., et al. 2022, ApJ, 934, L7
  • Rusu et al. (2017) Rusu, C. E., Fassnacht, C. D., Sluse, D., et al. 2017, MNRAS, 467, 4220
  • Sahu et al. (2024) Sahu, N., Tran, K.-V., Suyu, S. H., et al. 2024, ApJ, 970, 86
  • Schneider & Sluse (2013) Schneider, P. & Sluse, D. 2013, A&A, 559, A37
  • Shajib (2019) Shajib, A. J. 2019, MNRAS, 488, 1387
  • Shajib et al. (2020) Shajib, A. J., Birrer, S., Treu, T., et al. 2020, Monthly Notices of the Royal Astronomical Society, 494, 6072–6102
  • Shajib et al. (2023) Shajib, A. J., Mozumdar, P., Chen, G. C. F., et al. 2023, A&A, 673, A9
  • Shajib et al. (2021) Shajib, A. J., Treu, T., Birrer, S., & Sonnenfeld, A. 2021, MNRAS, 503, 2380
  • Sheu et al. (2024) Sheu, W., Shajib, A. J., Treu, T., et al. 2024, arXiv e-prints, arXiv:2408.10316
  • Sluse et al. (2007) Sluse, D., Claeskens, J. F., Hutsemékers, D., & Surdej, J. 2007, A&A, 468, 885
  • Sluse et al. (2003) Sluse, D., Surdej, J., Claeskens, J. F., et al. 2003, A&A, 406, L43
  • Suyu et al. (2024) Suyu, S. H., Goobar, A., Collett, T., More, A., & Vernardos, G. 2024, Space Sci. Rev., 220, 13
  • Suyu & Halkola (2010) Suyu, S. H. & Halkola, A. 2010, A&A, 524, A94
  • Suyu et al. (2012) Suyu, S. H., Hensel, S. W., McKean, J. P., et al. 2012, ApJ, 750, 10
  • Suyu et al. (2010) Suyu, S. H., Marshall, P. J., Auger, M. W., et al. 2010, ApJ, 711, 201
  • Suyu et al. (2006) Suyu, S. H., Marshall, P. J., Hobson, M. P., & Blandford, R. D. 2006, MNRAS, 371, 983
  • Suyu et al. (2014) Suyu, S. H., Treu, T., Hilbert, S., et al. 2014, ApJ, 788, L35
  • Tan et al. (2024) Tan, C. Y., Shajib, A. J., Birrer, S., et al. 2024, MNRAS, 530, 1474
  • Tessore & Metcalf (2015) Tessore, N. & Metcalf, R. B. 2015, A&A, 580, A79
  • Tewes et al. (2013) Tewes, M., Courbin, F., Meylan, G., et al. 2013, A&A, 556, A22
  • Tie & Kochanek (2018) Tie, S. S. & Kochanek, C. S. 2018, MNRAS, 473, 80
  • Treu & Koopmans (2002) Treu, T. & Koopmans, L. V. E. 2002, The Astrophysical Journal, 575, 87–94
  • Treu & Marshall (2016) Treu, T. & Marshall, P. J. 2016, A&A Rev., 24, 11
  • Treu & Shajib (2023) Treu, T. & Shajib, A. J. 2023, arXiv e-prints, arXiv:2307.05714
  • Treu et al. (2022) Treu, T., Suyu, S. H., & Marshall, P. J. 2022, A&A Rev., 30, 8
  • Valdes et al. (2004) Valdes, F., Gupta, R., Rose, J. A., Singh, H. P., & Bell, D. J. 2004, ApJS, 152, 251
  • Van de Vyvere et al. (2022) Van de Vyvere, L., Gomer, M. R., Sluse, D., et al. 2022, A&A, 659, A127
  • Vazdekis et al. (2016) Vazdekis, A., Koleva, M., Ricciardelli, E., Röck, B., & Falcón-Barroso, J. 2016, MNRAS, 463, 3409
  • Verro et al. (2022a) Verro, K., Trager, S. C., Peletier, R. F., et al. 2022a, A&A, 661, A50
  • Verro et al. (2022b) Verro, K., Trager, S. C., Peletier, R. F., et al. 2022b, A&A, 660, A34
  • Wells et al. (2024) Wells, P. R., Fassnacht, C. D., Birrer, S., & Williams, D. 2024, A&A, 689, A87
  • Wong et al. (2020) Wong, K. C., Suyu, S. H., Chen, G. C. F., et al. 2020, MNRAS, 498, 1420
  • Yeung & Chu (2022) Yeung, S. & Chu, M.-C. 2022, Physical Review D, 105
  • Yıldırım et al. (2023) Yıldırım, A., Suyu, S. H., Chen, G. C. F., & Komatsu, E. 2023, A&A, 675, A21
  • Yıldırım et al. (2020) Yıldırım, A., Suyu, S. H., & Halkola, A. 2020, MNRAS, 493, 4783

Appendix A Implementation of the enfw profile

In many cases, we use the Navarro-Frenk-White (NFW) profile, derived from cosmological simulations, to model the mass density of dark matter in the lens galaxies. The classical NFW profile for lensing analyses often assumes spherical symmetry in the mass distribution, since analytical expressions for gravitational lensing properties are not available for mass distributions with ellipticity. However, observed galaxies and dark matter halos are typically not spherically symmetric but appear more elliptical when projected onto the sky. To address this challenge, one solution is to introduce ellipticity in the potential and then use Eq. 7 to derive the corresponding mass density profile κnfw(θ)subscript𝜅nfw𝜃\kappa_{\rm nfw}(\theta)italic_κ start_POSTSUBSCRIPT roman_nfw end_POSTSUBSCRIPT ( italic_θ ) (e.g., Golse & Kneib 2002). However, this approach can lead to unphysical mass density distributions, such as dumbbell-shaped isodensity contours, especially when the ellipticity is high (q<0.7𝑞0.7q<0.7italic_q < 0.7), as shown in Fig. 12. To avoid this issue, we adopt a method based on Oguri (2021), implementing a fast calculation approach that directly introduces ellipticity into κenfw(θ)subscript𝜅enfw𝜃\kappa_{\rm enfw}(\theta)italic_κ start_POSTSUBSCRIPT roman_enfw end_POSTSUBSCRIPT ( italic_θ ). We define

κenfw(u)={0.5ρsu21(111u2arctanh(1u2)),if u<10.5ρsu21(11u21arctan(u21)),if u>1subscript𝜅enfw𝑢cases0.5subscript𝜌ssuperscript𝑢21111superscript𝑢2arctanh1superscript𝑢2if 𝑢10.5subscript𝜌ssuperscript𝑢2111superscript𝑢21arctansuperscript𝑢21if 𝑢1\kappa_{\rm enfw}(u)=\begin{cases}\frac{0.5\leavevmode\nobreak\ \rho_{\rm s}}{% u^{2}-1}\left(1-\frac{1}{\sqrt{1-u^{2}}}\,\text{arctanh}\left(\sqrt{1-u^{2}}% \right)\right),&\text{if }u<1\\[10.0pt] \frac{0.5\leavevmode\nobreak\ \rho_{\rm s}}{u^{2}-1}\left(1-\frac{1}{\sqrt{u^{% 2}-1}}\,\text{arctan}\left(\sqrt{u^{2}-1}\right)\right),&\text{if }u>1\end{cases}italic_κ start_POSTSUBSCRIPT roman_enfw end_POSTSUBSCRIPT ( italic_u ) = { start_ROW start_CELL divide start_ARG 0.5 italic_ρ start_POSTSUBSCRIPT roman_s end_POSTSUBSCRIPT end_ARG start_ARG italic_u start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT - 1 end_ARG ( 1 - divide start_ARG 1 end_ARG start_ARG square-root start_ARG 1 - italic_u start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG end_ARG arctanh ( square-root start_ARG 1 - italic_u start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG ) ) , end_CELL start_CELL if italic_u < 1 end_CELL end_ROW start_ROW start_CELL divide start_ARG 0.5 italic_ρ start_POSTSUBSCRIPT roman_s end_POSTSUBSCRIPT end_ARG start_ARG italic_u start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT - 1 end_ARG ( 1 - divide start_ARG 1 end_ARG start_ARG square-root start_ARG italic_u start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT - 1 end_ARG end_ARG arctan ( square-root start_ARG italic_u start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT - 1 end_ARG ) ) , end_CELL start_CELL if italic_u > 1 end_CELL end_ROW (62)

with

u=x2+y2/q2rsq𝑢superscript𝑥2superscript𝑦2superscript𝑞2subscript𝑟s𝑞u=\frac{\sqrt{x^{2}+y^{2}/q^{2}}}{\frac{r_{\rm s}}{\sqrt{q}}}italic_u = divide start_ARG square-root start_ARG italic_x start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT + italic_y start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT / italic_q start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG end_ARG start_ARG divide start_ARG italic_r start_POSTSUBSCRIPT roman_s end_POSTSUBSCRIPT end_ARG start_ARG square-root start_ARG italic_q end_ARG end_ARG end_ARG (63)

where rssubscript𝑟sr_{\rm s}italic_r start_POSTSUBSCRIPT roman_s end_POSTSUBSCRIPT is the scale radius and ρssubscript𝜌s\rho_{\rm s}italic_ρ start_POSTSUBSCRIPT roman_s end_POSTSUBSCRIPT is the characteristic density. In general, Eq. 62 does not yield an analytical expressions for lensing properties. Instead, computationally demanding numerical integration has to be performed. The idea in Oguri (2021) is to decompose the Eq. 62 into a series of basis functions, i.e., core steep ellipsoids (CSEs) which has simple analytical expressions of SL properties such as deflection angles 𝜶enfwsubscript𝜶enfw\bm{\alpha}_{\rm enfw}bold_italic_α start_POSTSUBSCRIPT roman_enfw end_POSTSUBSCRIPT and the lensing potential ψenfwsubscript𝜓enfw\psi_{\rm enfw}italic_ψ start_POSTSUBSCRIPT roman_enfw end_POSTSUBSCRIPT.

κenfwρs=i=1NenfwAienfwκiCSE(u,si),subscript𝜅enfwsubscript𝜌ssuperscriptsubscript𝑖1subscript𝑁enfwsuperscriptsubscript𝐴𝑖enfwsuperscriptsubscript𝜅𝑖CSE𝑢subscript𝑠𝑖\frac{\kappa_{\rm enfw}}{\rho_{\rm s}}=\sum_{i=1}^{N_{\rm enfw}}A_{i}^{\rm enfw% }\kappa_{i}^{\rm CSE}(u,s_{i}),divide start_ARG italic_κ start_POSTSUBSCRIPT roman_enfw end_POSTSUBSCRIPT end_ARG start_ARG italic_ρ start_POSTSUBSCRIPT roman_s end_POSTSUBSCRIPT end_ARG = ∑ start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT roman_enfw end_POSTSUBSCRIPT end_POSTSUPERSCRIPT italic_A start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT roman_enfw end_POSTSUPERSCRIPT italic_κ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT roman_CSE end_POSTSUPERSCRIPT ( italic_u , italic_s start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) , (64)

with

κiCSE(u,si)=12(si2+u2)3/2.superscriptsubscript𝜅𝑖CSE𝑢subscript𝑠𝑖12superscriptsuperscriptsubscript𝑠𝑖2superscript𝑢232\kappa_{i}^{\rm CSE}(u,s_{i})=\frac{1}{2(s_{i}^{2}+u^{2})^{3/2}}.italic_κ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT roman_CSE end_POSTSUPERSCRIPT ( italic_u , italic_s start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) = divide start_ARG 1 end_ARG start_ARG 2 ( italic_s start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT + italic_u start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ) start_POSTSUPERSCRIPT 3 / 2 end_POSTSUPERSCRIPT end_ARG . (65)

In Oguri (2021), they used 44 CSEs to fit κenfwsubscript𝜅enfw\kappa_{\rm enfw}italic_κ start_POSTSUBSCRIPT roman_enfw end_POSTSUBSCRIPT (see Eq. 62). By minimizing

=exp[12j{κenfw(uj)i=1NenfwAiκCSE(uj;si)}2(κenfw)2σ2],12subscript𝑗superscriptsubscript𝜅enfwsubscript𝑢𝑗superscriptsubscript𝑖1subscript𝑁enfwsubscript𝐴𝑖subscript𝜅CSEsubscript𝑢𝑗subscript𝑠𝑖2superscriptsubscript𝜅enfw2superscript𝜎2\mathcal{L}=\exp\left[-\frac{1}{2}\sum_{j}\frac{\left\{\kappa_{\rm enfw}(u_{j}% )-\sum_{i=1}^{N_{\rm enfw}}A_{i}\kappa_{\rm CSE}(u_{j};s_{i})\right\}^{2}}{% \left(\kappa_{\rm enfw}\right)^{2}\sigma^{2}}\right],caligraphic_L = roman_exp [ - divide start_ARG 1 end_ARG start_ARG 2 end_ARG ∑ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT divide start_ARG { italic_κ start_POSTSUBSCRIPT roman_enfw end_POSTSUBSCRIPT ( italic_u start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) - ∑ start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT roman_enfw end_POSTSUBSCRIPT end_POSTSUPERSCRIPT italic_A start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_κ start_POSTSUBSCRIPT roman_CSE end_POSTSUBSCRIPT ( italic_u start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ; italic_s start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) } start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG ( italic_κ start_POSTSUBSCRIPT roman_enfw end_POSTSUBSCRIPT ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_σ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG ] , (66)

they achieved an accuracy of σ=104𝜎superscript104\sigma=10^{-4}italic_σ = 10 start_POSTSUPERSCRIPT - 4 end_POSTSUPERSCRIPT in recovering κgNFWsubscript𝜅gNFW\kappa_{\rm gNFW}italic_κ start_POSTSUBSCRIPT roman_gNFW end_POSTSUBSCRIPT using CSEs, with ujsubscript𝑢𝑗u_{j}italic_u start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT spanning a wide range from 106superscript10610^{-6}10 start_POSTSUPERSCRIPT - 6 end_POSTSUPERSCRIPT to 103superscript10310^{3}10 start_POSTSUPERSCRIPT 3 end_POSTSUPERSCRIPT. The amplitude Aisubscript𝐴𝑖A_{i}italic_A start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT and core radius sisubscript𝑠𝑖s_{i}italic_s start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT are predetermined before evaluating the lensing properties of κgNFWsubscript𝜅gNFW\kappa_{\rm gNFW}italic_κ start_POSTSUBSCRIPT roman_gNFW end_POSTSUBSCRIPT for any given values of ρssubscript𝜌𝑠\rho_{s}italic_ρ start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT, rssubscript𝑟𝑠r_{s}italic_r start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT, and q𝑞qitalic_q.141414Note that ρssubscript𝜌𝑠\rho_{s}italic_ρ start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT is omitted in Eq. 66 because it acts as a constant scaling factor and does not affect the decomposition process. The corresponding lens potential of individual CSE is

ψiCSE(x,y)=q2silnΨ(si,x,y,q)qsiln[(1+q)si],subscriptsuperscript𝜓CSE𝑖𝑥𝑦𝑞2subscript𝑠𝑖lnΨsubscript𝑠𝑖𝑥𝑦𝑞𝑞subscript𝑠𝑖lndelimited-[]1𝑞subscript𝑠𝑖\psi^{\rm CSE}_{i}(x,y)=\frac{q}{2s_{i}}\leavevmode\nobreak\ {\rm ln}% \leavevmode\nobreak\ \Psi(s_{i},x,y,q)-\frac{q}{s_{i}}\leavevmode\nobreak\ {% \rm ln}\leavevmode\nobreak\ [(1+q)s_{i}],italic_ψ start_POSTSUPERSCRIPT roman_CSE end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( italic_x , italic_y ) = divide start_ARG italic_q end_ARG start_ARG 2 italic_s start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_ARG roman_ln roman_Ψ ( italic_s start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT , italic_x , italic_y , italic_q ) - divide start_ARG italic_q end_ARG start_ARG italic_s start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_ARG roman_ln [ ( 1 + italic_q ) italic_s start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ] , (67)

where the expression of Ψ(si,x,y,q)Ψsubscript𝑠𝑖𝑥𝑦𝑞\Psi(s_{i},x,y,q)roman_Ψ ( italic_s start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT , italic_x , italic_y , italic_q ) does not include any complex functions. We refer readers to Oguri (2021) for details. From the potential, we infer the deflection angle by calculating its gradient (see Eq. 33) and obtain an analytical expression,

𝜶enfw=rs2ρsq0i=1NenfwAiψiCSE(qrsx,qrsy,si)subscript𝜶enfwsuperscriptsubscript𝑟𝑠2subscript𝜌𝑠subscript𝑞0superscriptsubscript𝑖1subscript𝑁enfwsubscript𝐴𝑖bold-∇subscriptsuperscript𝜓CSE𝑖𝑞subscript𝑟𝑠𝑥𝑞subscript𝑟𝑠𝑦subscript𝑠𝑖\bm{\alpha}_{\rm enfw}=\frac{r_{s}^{2}\rho_{s}}{\sqrt{q_{0}}}\sum_{i=1}^{N_{% \rm enfw}}A_{i}\bm{\nabla}\psi^{\rm CSE}_{i}\left(\frac{\sqrt{q}}{r_{s}}x,% \frac{\sqrt{q}}{r_{s}}y,s_{i}\right)bold_italic_α start_POSTSUBSCRIPT roman_enfw end_POSTSUBSCRIPT = divide start_ARG italic_r start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_ρ start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT end_ARG start_ARG square-root start_ARG italic_q start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT end_ARG end_ARG ∑ start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT roman_enfw end_POSTSUBSCRIPT end_POSTSUPERSCRIPT italic_A start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT bold_∇ italic_ψ start_POSTSUPERSCRIPT roman_CSE end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( divide start_ARG square-root start_ARG italic_q end_ARG end_ARG start_ARG italic_r start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT end_ARG italic_x , divide start_ARG square-root start_ARG italic_q end_ARG end_ARG start_ARG italic_r start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT end_ARG italic_y , italic_s start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) (68)
Refer to caption
Figure 12: The mass density comparison between κnfwsubscript𝜅nfw\kappa_{\rm nfw}italic_κ start_POSTSUBSCRIPT roman_nfw end_POSTSUBSCRIPT with qnfw=0.6subscript𝑞nfw0.6q_{\rm nfw}=0.6italic_q start_POSTSUBSCRIPT roman_nfw end_POSTSUBSCRIPT = 0.6 (left panel) and κenfwsubscript𝜅enfw\kappa_{\rm enfw}italic_κ start_POSTSUBSCRIPT roman_enfw end_POSTSUBSCRIPT with qenfw=0.4subscript𝑞enfw0.4q_{\rm enfw}=0.4italic_q start_POSTSUBSCRIPT roman_enfw end_POSTSUBSCRIPT = 0.4 (right panel). The ellipticity implemented in the lensing potential leads to a dumbbell-shaped surface density (see the left panel). In contrast, applying ellipticity directly to κ𝜅\kappaitalic_κ results in a more physically realistic mass distribution (see the right panel).

Appendix B Implementation of the EPL profile

We implemented the surface mass density κeplsubscript𝜅epl\kappa_{\rm epl}italic_κ start_POSTSUBSCRIPT roman_epl end_POSTSUBSCRIPT following Tessore & Metcalf (2015). We define:

κepl=(3γ2)(bR2+rsoft2)γ1subscript𝜅epl3𝛾2superscript𝑏superscript𝑅2superscriptsubscript𝑟soft2𝛾1\kappa_{\rm epl}=\left(\frac{3-\gamma}{2}\right)\left(\frac{b}{\sqrt{R^{2}+r_{% \rm soft}^{2}}}\right)^{\gamma-1}italic_κ start_POSTSUBSCRIPT roman_epl end_POSTSUBSCRIPT = ( divide start_ARG 3 - italic_γ end_ARG start_ARG 2 end_ARG ) ( divide start_ARG italic_b end_ARG start_ARG square-root start_ARG italic_R start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT + italic_r start_POSTSUBSCRIPT roman_soft end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG end_ARG ) start_POSTSUPERSCRIPT italic_γ - 1 end_POSTSUPERSCRIPT (69)

with

R=x2+y2/q2𝑅superscript𝑥2superscript𝑦2superscript𝑞2R=\sqrt{x^{2}+y^{2}/q^{2}}italic_R = square-root start_ARG italic_x start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT + italic_y start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT / italic_q start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG (70)

where γ𝛾\gammaitalic_γ represents the density slope, and rsoft=0.01subscript𝑟soft0.01r_{\rm soft}=0.01\arcsecitalic_r start_POSTSUBSCRIPT roman_soft end_POSTSUBSCRIPT = 0.01 ″ is the softening radius introduced to prevent divergence at the central pixel. The parameter b𝑏bitalic_b is a normalization factor, proportional to the Einstein radius θEsubscript𝜃E\theta_{\rm E}italic_θ start_POSTSUBSCRIPT roman_E end_POSTSUBSCRIPT, given by

b=(21+q)1γ1θE.𝑏superscript21𝑞1𝛾1subscript𝜃Eb=\left(\frac{2}{1+q}\right)^{\frac{1}{\gamma-1}}\theta_{\rm E}.italic_b = ( divide start_ARG 2 end_ARG start_ARG 1 + italic_q end_ARG ) start_POSTSUPERSCRIPT divide start_ARG 1 end_ARG start_ARG italic_γ - 1 end_ARG end_POSTSUPERSCRIPT italic_θ start_POSTSUBSCRIPT roman_E end_POSTSUBSCRIPT . (71)

Appendix C Joint modeling with ideal kinematic data across varying source grid resolutions

To determine the resolution at which mass model parameter constraints become stable with respect to source grid resolutions, we perform joint modeling assuming MBH=5×109Msubscript𝑀BH5superscript109subscriptMdirect-productM_{\rm BH}=5\times 10^{9}\leavevmode\nobreak\ {\rm M_{\odot}}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT = 5 × 10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT roman_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT. The source grid resolution varies from 58×58585858\times 5858 × 58 to 70×70707070\times 7070 × 70, corresponding to source pixel sizes of approximately 0.05±0.01plus-or-minus0.050.010.05\pm 0.01\arcsec0.05 ± 0.01 ″ per pixel. We observe that all parameter contours stabilize when modeling with source grid resolutions beyond 60×60similar-toabsent6060\sim 60\times 60∼ 60 × 60 (see Fig. 13). Considering the computational time, we conduct joint modeling within the range of 60×60606060\times 6060 × 60 to 68×68686868\times 6868 × 68, excluding 58×58585858\times 5858 × 58 and 70×70707070\times 7070 × 70.

Refer to caption
Figure 13: Equally weighted probability density distributions for all parameters in the joint modeling, given MBH=5×109Msubscript𝑀BH5superscript109subscriptMdirect-productM_{\rm BH}=5\times 10^{9}\leavevmode\nobreak\ {\rm M_{\odot}}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT = 5 × 10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT roman_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT. The joint modeling is performed using different source grid resolutions (represented by different colors) to account for parameter uncertainties induced by variations in pixel size on the source plane. The simulated lensing data is generated assuming a source grid resolution of 64×64646464\times 6464 × 64.
Refer to caption
Figure 14: The best-fit composite mass model, given MBH=5×109Msubscript𝑀BH5superscript109subscriptMdirect-productM_{\rm BH}=5\times 10^{9}\leavevmode\nobreak\ {\rm M_{\odot}}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT = 5 × 10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT roman_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT. The other best-fit model produces similar results. The quasar light in RXJ1131 is very strong, making it difficult to fit. To mitigate its effects, we boost the error in the quasar positions.

Appendix D Joint modeling using kinematics data exclude the central bins

Refer to caption
Figure 15: The comparison between the joint modeling using the full ideal kinematic data (orange contours) and the ideal kinematic data (green contours) excluding the central regions. We adopt no BH in the composite mass model. We observe that uncertainties of parameters are enlarged but the measurements of Ddsubscript𝐷dD_{\rm d}italic_D start_POSTSUBSCRIPT roman_d end_POSTSUBSCRIPT and βanisubscript𝛽ani\beta_{\rm ani}italic_β start_POSTSUBSCRIPT roman_ani end_POSTSUBSCRIPT move toward the mock input values using the kinematic map excluding the central regions.
Refer to caption
Figure 16: The comparison between the joint modeling using the full ideal kinematic data (orange contours) and the ideal kinematic data (green contours) excluding the central regions. We adopt MBH=7×109Msubscript𝑀BH7superscript109subscriptMdirect-productM_{\rm BH}=7\times 10^{9}\leavevmode\nobreak\ {\rm M_{\odot}}italic_M start_POSTSUBSCRIPT roman_BH end_POSTSUBSCRIPT = 7 × 10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT roman_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT in the composite mass model.

Appendix E The BIC weight factor fBICsuperscriptsubscript𝑓BICf_{\textnormal{BIC}}^{*}italic_f start_POSTSUBSCRIPT BIC end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT to joint models

Data Model Source Resolution χdyn2subscriptsuperscript𝜒2dyn\chi^{2}_{\text{dyn}}italic_χ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT start_POSTSUBSCRIPT dyn end_POSTSUBSCRIPT fBICsubscriptsuperscript𝑓BICf^{*}_{\text{BIC}}italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT BIC end_POSTSUBSCRIPT
FoV 2′′×2′′superscript2′′superscript2′′2^{\prime\prime}\times 2^{\prime\prime}2 start_POSTSUPERSCRIPT ′ ′ end_POSTSUPERSCRIPT × 2 start_POSTSUPERSCRIPT ′ ′ end_POSTSUPERSCRIPT
COMPOSITE 68 54.11 0.1272
66 55.08 0.0785
64 54.61 0.0991
MBH=1×109Msubscript𝑀BH1superscript109subscript𝑀direct-productM_{\text{BH}}=1\times 10^{9}M_{\odot}italic_M start_POSTSUBSCRIPT BH end_POSTSUBSCRIPT = 1 × 10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT italic_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT 62 54.21 0.1213
60 54.30 0.1160
Lensing & Dynamics IDEAL MBH=2×109Msubscript𝑀BH2superscript109subscript𝑀direct-productM_{\text{BH}}=2\times 10^{9}M_{\odot}italic_M start_POSTSUBSCRIPT BH end_POSTSUBSCRIPT = 2 × 10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT italic_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT 68 50.61 0.7204
66 50.36 0.8171
64 50.37 0.8129
62 50.48 0.7712
60 50.45 0.7805
MBH=3×109Msubscript𝑀BH3superscript109subscript𝑀direct-productM_{\text{BH}}=3\times 10^{9}M_{\odot}italic_M start_POSTSUBSCRIPT BH end_POSTSUBSCRIPT = 3 × 10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT italic_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT 68 50.26 0.8612
66 49.96 0.9799
64 50.00 0.9672
62 50.06 0.9482
60 50.03 0.9567
MBH=4×109Msubscript𝑀BH4superscript109subscript𝑀direct-productM_{\text{BH}}=4\times 10^{9}M_{\odot}italic_M start_POSTSUBSCRIPT BH end_POSTSUBSCRIPT = 4 × 10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT italic_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT 68 50.34 0.8327
66 50.10 0.9325
64 50.15 0.9065
62 50.20 0.8866
60 50.16 0.9050
MBH=5×109Msubscript𝑀BH5superscript109subscript𝑀direct-productM_{\text{BH}}=5\times 10^{9}M_{\odot}italic_M start_POSTSUBSCRIPT BH end_POSTSUBSCRIPT = 5 × 10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT italic_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT 68 50.87 0.6350
66 50.79 0.6581
64 50.73 0.6790
62 50.65 0.7080
60 50.75 0.6723
MBH=6×109Msubscript𝑀BH6superscript109subscript𝑀direct-productM_{\text{BH}}=6\times 10^{9}M_{\odot}italic_M start_POSTSUBSCRIPT BH end_POSTSUBSCRIPT = 6 × 10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT italic_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT 68 51.71 0.4162
66 51.86 0.3865
64 51.81 0.3965
62 51.74 0.4094
60 51.67 0.4238
Table 5: Comparison of models on different source resolutions, showing χdyn2subscriptsuperscript𝜒2dyn\chi^{2}_{\text{dyn}}italic_χ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT start_POSTSUBSCRIPT dyn end_POSTSUBSCRIPT and fBICsubscriptsuperscript𝑓BICf^{*}_{\text{BIC}}italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT BIC end_POSTSUBSCRIPT.
Data Model Source Resolution χdyn2subscriptsuperscript𝜒2dyn\chi^{2}_{\text{dyn}}italic_χ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT start_POSTSUBSCRIPT dyn end_POSTSUBSCRIPT fBICsubscriptsuperscript𝑓BICf^{*}_{\text{BIC}}italic_f start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT BIC end_POSTSUBSCRIPT
FoV 2′′×2′′superscript2′′superscript2′′2^{\prime\prime}\times 2^{\prime\prime}2 start_POSTSUPERSCRIPT ′ ′ end_POSTSUPERSCRIPT × 2 start_POSTSUPERSCRIPT ′ ′ end_POSTSUPERSCRIPT
COMPOSITE 68 52.98 0.2219
66 53.55 0.1667
64 53.28 0.1904
MBH=7×109Msubscript𝑀BH7superscript109subscript𝑀direct-productM_{\text{BH}}=7\times 10^{9}M_{\odot}italic_M start_POSTSUBSCRIPT BH end_POSTSUBSCRIPT = 7 × 10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT italic_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT 62 53.24 0.1949
60 53.36 0.1835
Lensing & Dynamics IDEAL MBH=8×109Msubscript𝑀BH8superscript109subscript𝑀direct-productM_{\text{BH}}=8\times 10^{9}M_{\odot}italic_M start_POSTSUBSCRIPT BH end_POSTSUBSCRIPT = 8 × 10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT italic_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT 68 54.85 0.0870
66 55.49 0.0633
64 55.11 0.0763
62 55.05 0.0787
60 55.13 0.0758
MBH=9×109Msubscript𝑀BH9superscript109subscript𝑀direct-productM_{\text{BH}}=9\times 10^{9}M_{\odot}italic_M start_POSTSUBSCRIPT BH end_POSTSUBSCRIPT = 9 × 10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT italic_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT 68 56.95 0.0307
66 57.94 0.0187
64 57.21 0.0269
62 57.22 0.0268
60 57.53 0.0230
MBH=10×109Msubscript𝑀BH10superscript109subscript𝑀direct-productM_{\text{BH}}=10\times 10^{9}M_{\odot}italic_M start_POSTSUBSCRIPT BH end_POSTSUBSCRIPT = 10 × 10 start_POSTSUPERSCRIPT 9 end_POSTSUPERSCRIPT italic_M start_POSTSUBSCRIPT ⊙ end_POSTSUBSCRIPT 68 60.93 0.0042
66 60.67 0.0047
64 60.73 0.0040
62 60.12 0.0052
60 60.45 0.0052
EPL Model 68 58.15 0.1338
66 58.12 0.1356
64 58.33 0.1227
62 60.56 0.0400
60 58.29 0.1247
Table 6: Continuation of the previous table: Comparison of models at different source resolutions, showing χdyn2superscriptsubscript𝜒dyn2\chi_{\text{dyn}}^{2}italic_χ start_POSTSUBSCRIPT dyn end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT and fBICsuperscriptsubscript𝑓BICf_{\text{BIC}}^{*}italic_f start_POSTSUBSCRIPT BIC end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT.