Report on a Gravity.jl execution

Version 1.6.5 (2025-12-02)

Best Results

Best-fit model plot

Model plot

Pair plot

Pair plot

MCMC diagnostics

Chain Properties

Summary Statistics

parametersmeanstdmcseess_bulkess_tailrhatess_per_sec
aᵣ8.10141.81940.04272004.38813115.25311.048632.8179
σᵣ294.621913.03480.27292288.35464373.12641.043837.4673
s₁18.32140.77750.01761960.75835845.40131.053932.1036
ε₁0.62480.01320.00031939.73024983.34271.053031.7593
θ₁-38.84020.21760.00432621.71046651.03321.039342.9254
σ₁1160.894114.61140.39431515.66651665.23701.069724.8161
σ₂222.948824.68470.48362703.06425671.78531.038044.2574
x₁[1]1.40680.27470.00532723.81427211.28671.041044.5971
x₁[2]-0.77690.21910.00432561.70486601.59941.042041.9429
x₂[1]-49.97724.67610.09942302.12334314.59091.042937.6928
x₂[2]27.94902.72920.05592408.79654876.21001.038939.4393
Ωₘ0.33500.09890.00281290.41301517.10661.084121.1280
w₀-1.38750.31260.00821441.90332870.38021.071223.6083

Quantiles

parameters2.5%25.0%50.0%75.0%97.5%
aᵣ5.80696.68137.70429.116012.6872
σᵣ268.2321285.9963294.8656303.6528319.1821
s₁16.880917.781518.292818.832919.9346
ε₁0.59820.61590.62500.63380.6502
θ₁-39.2814-38.9841-38.8362-38.6914-38.4233
σ₁1125.71841152.75711163.02831171.27041183.7199
σ₂183.8710204.3980220.3113238.3900277.9336
x₁[1]0.87261.22121.40531.58971.9527
x₁[2]-1.2104-0.9244-0.7753-0.6270-0.3535
x₂[1]-60.8242-52.6246-49.3802-46.6319-42.6920
x₂[2]23.204826.110327.736329.551033.8883
Ωₘ0.12690.27250.33940.40110.5225
w₀-1.9586-1.6414-1.3588-1.1289-0.8815

MCMC Execution Report

Gravity Model

Source: examples/RXJ2248/RXJ2248.yml
Source timestamp: 2025-12-09T11:21:16.760
Config timestamp: 2025-12-09T12:44:09.280

Model Configuration

(fixed, free, linked, & implicit parameters)

Lenses

dm1. LensTool-NIE @z=0.348: x, s, ε, σ, θ
dm2. LensTool-NIS @z=0.348: x, σ, s
gas1. LensTool-JaffeEll @z=0.348: x, σ, s, ε, θ, a
gas2. LensTool-JaffeEll @z=0.348: x, σ, s, ε, θ, a
gas3. LensTool-JaffeEll @z=0.348: x, σ, s, ε, θ, a
1809-10394. 222 × LensTool-JaffeSph @z=0.348: x, σ, s, a

Sources

2. Point{3} @z=1.229: x
3. Point{2} @z=1.26: x
4. Point{3} @z=1.398: x
6. Point{3} @z=1.429: x
7. Point{3} @z=1.035: x
8. Point{3} @z=1.837: x
13. Point{2} @z=1.2582: x
14. Point{5} @z=6.112: x
18. Point{2} @z=4.113: x
20. Point{3} @z=3.118: x
23. Point{2} @z=0.7301: x
24. Point{3} @z=2.978: x
25. Point{2} @z=5.2373: x
26. Point{2} @z=5.051: x
27. Point{3} @z=3.286: x
28. Point{3} @z=3.169: x
29. Point{2} @z=5.894: x
30. Point{3} @z=3.4519: x
31. Point{3} @z=3.7131: x
33. Point{3} @z=3.6045: x

Cosmological model

Ωₘ: cosmology_Ωₘ ~ 0.0 .. 1.0
h₀: 0.7
w₀: cosmology_w₀ ~ -2.0 .. 0.0
Ωᵣ: 0.0

Sampling options

scheme: simplified-imageplane
algorithm: emcee
iterations: 20000
warmup: 5000
thinning: 10
random-seed: 1
threads: auto

Likelihood options

bayesianfactor: true
matches: all
duplicates: true
missedpredictionspenalty: true

Algorithm options

points: 100
stretch-scale: Exponential(5.0)

Preamble

pixelscale: 1
α: 0.27
β: 0.66
αₑ: log(10) * 0.4 * α
βₑ: log(10) * 0.4 * β
wcs_origin: (342.18321, -44.530878)
aᵣ: 5.7 .. 15
σᵣ: 310 ± 15
s₁: 10 .. 25
ε₁: 0.4 .. 0.9
θ₁: -50 .. -30
σ₁: 1000 .. 1300
σ₂: 180 .. 500
x₁: (-5, -5) .. (5, 5)
x₂: (-100, 0) .. (0, 50)
cosmology_Ωₘ: 0.0 .. 1.0
cosmology_w₀: -2.0 .. 0.0

Parameters

The model has 13 free parameters and 40 implicitly fit source parameters. The model includes 110 constraints from point-like images.

Benchmarks

A single call to logposterior takes 252.916 μs (738 allocs: 60.859 KiB) and returns Float64.

Input YAML file

# Model from Bergamini et al. (2023) [2023A&A...674A..79B]
parameters:
    pixelscale: 1
    α: 0.27
    β: 0.66
    αₑ: log(10) * 0.4 * α
    βₑ: log(10) * 0.4 * β
    wcs_origin: (342.18321, -44.530878)
    aᵣ: 5.7 .. 15
    σᵣ: 310 ± 15
    s₁: 10 .. 25
    ε₁: 0.4 .. 0.9
    θ₁: -50 .. -30
    σ₁: 1000 .. 1300
    σ₂: 180 .. 500
    x₁: (-5, -5) .. (5, 5)
    x₂: (-100, 0) .. (0, 50)
cosmology:
    Ωₘ: 0.0 .. 1.0
    h₀: 0.7
    w₀: -2.0 .. 0.0
    Ωᵣ: 0.0
sampling:
    scheme: simplified-imageplane
    likelihood-options:
        bayesianfactor: true
        matches: all
        duplicates: true
        missedpredictionspenalty: true
    algorithm: emcee
    iterations: 20000
    warmup: 5000
    thinning: 10
    algorithm-options:
        points: 100
        stretch-scale: Exponential(5.0)
    random-seed: 1
    threads: auto
lenses:
    - LensTool-NIE:
        name: dm1
        z: 0.348
        x: x₁
        s: s₁
        ε: ε₁
        σ: σ₁
        θ: θ₁
    - LensTool-NIS:
        name: dm2
        z: 0.348
        x: x₂
        σ: σ₂
        s: 0.05
    - LensTool-JaffeEll:
        name: gas1
        z: 0.348
        x: (18.898, -73.357)
        σ: 335.93
        s: 188.4
        ε: 0.805
        θ: -162.05
        a: 189.24
    - LensTool-JaffeEll:
        name: gas2
        z: 0.348
        x: (-18.05, 13.47)
        σ: 442.2
        s: 36.32
        ε: 0.13
        θ: -27.80
        a: 339.16
    - LensTool-JaffeEll:
        name: gas3
        z: 0.348
        x: (0.20, -1.24)
        σ: 249.7
        s: 14.43
        ε: 0.34
        θ: -15.49
        a: 356.50
    - loop:
        lens: members.csv
        LensTool-JaffeSph:
            name: lens.id
            z: 0.348
            x: wcsmap(lens.ra, lens.dec)
            σ: σᵣ * exp(αₑ * (16.176 - lens.mag))
            s: 0.01
            a: aᵣ * exp(βₑ * (16.176 - lens.mag))
sources:
    - loop:
        img: sources.csv
        group-by: id
        Point:
            name: img.id
            z: img.z
            x: (0.0, 0.0) ± 1000.0
            images's:
                Point:
                    name: img.img
                    x: wcsmap(img.ra, img.dec) ± img.err