Benchmark: Particle physics
An open model, an hour of physics, about a sixth of the cost
Max, StellarFirm's physicist, ran on the open model GLM 5.3 and calibrated the muon momentum scale in public CMS collision data. It scored 69.2 out of 100 where two frontier models scored 84.6 and 76.9. It landed closest to the reference on five of the six measured values, and its model cost was 1.58 USD against 9.05 USD and 15.13 USD.
Calibrating the muon scale in CMS open data. Last run on . One run per setup, so read it as a first result and not as a ranking.
Score for the money
Up and to the left is better: a higher score for less model cost.
- StellarFirm, Max on GLM 5.369.2 for 1.58 USD
- Claude Opus 5.584.6 for 9.05 USD
- Claude Fable 5.276.9 for 15.13 USD
- Score
- 69.2
- Out of 100. The others scored 84.6 and 76.9.
- Model cost
- 1.58 USD
- At list prices. The others cost 9.05 USD and 15.13 USD.
- Tokens processed
- 5.5M
- The others processed 10.3M and 19.3M.
- Closest values
- 5 of 6
- Measured values where the StellarFirm answer was nearest the reference.
The numbers side by side
The same task and the same grader for every setup. The row with the lime square ran on StellarFirm.
Score for each dollar
Score points divided by the model cost in US dollars. Higher is better.
- StellarFirm, Max on GLM 5.343.8
- Claude Opus 5.59.3
- Claude Fable 5.25.1
Score
Out of 100. Higher is better.
- StellarFirm, Max on GLM 5.369.2
- Claude Opus 5.584.6
- Claude Fable 5.276.9
Model cost
Model tokens at each maker's list price. Lower is better.
- StellarFirm, Max on GLM 5.31.58 USD
- Claude Opus 5.59.05 USD
- Claude Fable 5.215.13 USD
Tokens processed
Read and written, cached ones included. Lower is better.
- StellarFirm, Max on GLM 5.35,487,244
- Claude Opus 5.510,311,096
- Claude Fable 5.219,251,295
Time
From the task to the answer. Lower is better.
- StellarFirm, Max on GLM 5.354 min
- Claude Opus 5.542 min
- Claude Fable 5.241 min
What we take from it
It scored below both frontier models
69.2 against 84.6 and 76.9. The gap to the higher score is one check: the answer handed over eight files, among them four plots and the code, but named none of them in its text, and the grader reads only the text. With that check it would stand level with the top score. We do not count it. A free expert task now lists its files by name at the foot of every answer.
Its numbers were the closest
On five of the six measured values the StellarFirm answer landed nearest the reference, and five of its six were inside the tolerance. The frontier models had five and four inside.
Nobody got the 2S splitting
All three answers missed the Υ(2S) minus Υ(1S) splitting, by 11.8, 17.5 and 24.6 MeV against a tolerance of 10 MeV. That tolerance is tighter than each answer's own statistical error, so it waits for a physicist's review before we lean on it.
It read far fewer tokens
5.5 million tokens against 10.3 million and 19.3 million, most of them cached in every setup. The open model's list price per token is lower as well, and the two together make the cost gap.
How close each measurement landed
Every value against its reference, measured in tolerances. A mark inside the shaded band passed its check.
- StellarFirm, Max on GLM 5.3
- Claude Opus 5.5
- Claude Fable 5.2
- Inside the tolerance
Υ(2S) minus Υ(1S) splitting
Υ(3S) minus Υ(1S) splitting
Υ(2S) mass
Υ(3S) mass
Z mass
Z natural width
| Quantity | Reference | StellarFirm | Opus 5.5 | Fable 5.2 |
|---|---|---|---|---|
| Υ(2S) minus Υ(1S) splitting | 563.0 MeVwithin 10 MeV | 551.2 MeV11.8 MeV below, closestOutside the tolerance | 545.5 MeV17.5 MeV belowOutside the tolerance | 538.4 MeV24.6 MeV belowOutside the tolerance |
| Υ(3S) minus Υ(1S) splitting | 894.8 MeVwithin 15 MeV | 903.7 MeV8.9 MeV above, closest | 907.7 MeV12.9 MeV above | 904.6 MeV9.8 MeV above |
| Υ(2S) mass | 10,023.3 MeVwithin 20 MeV | 10,010.3 MeV13 MeV below, closest | 10,007.5 MeV15.8 MeV below | 10,000.8 MeV22.5 MeV belowOutside the tolerance |
| Υ(3S) mass | 10,355.2 MeVwithin 30 MeV | 10,362.8 MeV7.6 MeV above, closest | 10,369.8 MeV14.6 MeV above | 10,367.1 MeV11.9 MeV above |
| Z mass | 91,188 MeVwithin 250 MeV | 91,136 MeV52 MeV below, closest | 91,290 MeV102 MeV above | 91,348 MeV160 MeV above |
| Z natural width | 2,495.5 MeVwithin 800 MeV | 1,833.0 MeV662.5 MeV below | 1,820.0 MeV675.5 MeV below | 2,539.0 MeV43.5 MeV above, closest |
These are the headline values each answer states for itself. The grader reads the number nearest the reference inside each check's window, so the value in its log can differ slightly. Every pass and fail is the same either way.
What the grader checked
The score is the weighted share of the checks an answer passed. A check that needs a person's score is left out for every setup.
| Check | Weight | StellarFirm | Opus 5.5 | Fable 5.2 |
|---|---|---|---|---|
| Upsilon(2S) minus Upsilon(1S) splitting | 2 | Fail | Fail | Fail |
| Upsilon(3S) minus Upsilon(1S) splitting | 2 | Pass | Pass | Pass |
| Upsilon(2S) mass | 1 | Pass | Pass | Fail |
| Upsilon(3S) mass | 1 | Pass | Pass | Pass |
| Calibrated Z mass | 2 | Pass | Pass | Pass |
| Z natural width | 1 | Pass | Pass | Pass |
| Derived and applied a scale correction | 2 | Pass | Pass | Pass |
| Hands over the plot and the code | 2 | Fail | Pass | Pass |
| Reproducible | 2 | Not scored | Not scored | Not scored |
| Score, out of 100 | 69.2 | 84.6 | 76.9 | |
How each setup ran
Open model
StellarFirm, Max on GLM 5.3
A free expert task on StellarFirm: Max the Physicist on a cloud computer with Python, open data access and one hour.
- Model
- GLM 5.3
- Time
- 54 min
- Steps
- 107
- Tokens read
- 5,350,013
- From cache
- 5,170,496
- Tokens written
- 137,231
- Model cost
- 1.58 USD
Frontier model
Claude Opus 5.5
Claude Code with web access and a Python computer.
- Model
- Claude Opus 5.5, high effort
- Time
- 42 min
- Steps
- 36
- Tokens read
- 10,243,982
- From cache
- 9,065,729
- Tokens written
- 67,114
- Model cost
- 9.05 USD, 5.7× the StellarFirm run
Frontier model
Claude Fable 5.2
Claude Code with web access and a Python computer.
- Model
- Claude Fable 5.2
- Time
- 41 min
- Steps
- 55
- Tokens read
- 19,084,006
- From cache
- 18,612,022
- Tokens written
- 167,289
- Model cost
- 15.13 USD, 9.6× the StellarFirm run
The task
What every setup was asked
Using the CMS Run 2010B dimuon sample on the CERN Open Data portal (record 700), derive a muon momentum scale correction from the J/psi and Upsilon(1S) peaks and apply it. Then measure, with the correction applied: the Upsilon(2S) and Upsilon(3S) masses and their mass splittings from the Upsilon(1S), each fitted freely from the data and not fixed to reference values; the Z boson mass; and the Z natural width with the detector resolution separated out. Give statistical and systematic uncertainties, the plot and the code.
The answer key, written before any run
After a scale correction the Upsilon family should land on Upsilon(2S) 10.0233 GeV and Upsilon(3S) 10.3552 GeV, with splittings 2S minus 1S of 0.5630 GeV and 3S minus 1S of 0.8948 GeV; the Z mass on 91.188 GeV and its width on 2.4955 GeV (loosely: about 300 Z events). Splittings tied to reference ratios, or a width that still holds the resolution, do not measure what was asked.
Every answer in full
The text each setup returned, as the grader read it. Nothing is edited.
StellarFirm, Max on GLM 5.3Show the answerHide the answer
All figures are valid. Final summary of what was measured, from `analysis/final_results.json` and the run logs: **Data**: CMS Run 2010B derived dimuon sample, CERN Open Data record 700 (100,000 events, Mu stream, DOI 10.7483/OPENDATA.CMS.CB8H.MFFA, CC0). Reference masses from the PDG 2026 edition (offline tables). This is a public educational release, not a collaboration result. **1. Momentum-scale correction** (fitted from J/ψ and Υ(1S), applied per muon as p → p/k(|η|)): - raw scale: k(J/ψ)=0.998837±0.000180, k(Υ1S)=0.998599±0.000585 (sample biased low by ~1.3‰) - k(|η|) piecewise-linear (knots 0.7, 1.2), χ²/ndf=29.0/22=1.32, from 26 (|η|,p̄T) bins - closure after correction: J/ψ −0.3 MeV (pull −0.64), ψ(2S) −4.8 MeV (pull −1.27, independent), Υ(1S) −5.9 MeV (pull −1.28) **2. Υ(2S), Υ(3S) masses and splittings** (simultaneous 3-DCB fit, 9.0–10.8 GeV, masses free, resolution-scaled widths, exponential background): | Quantity | Value | Stat | Syst | PDG 2026 | Diff | |---|---|---|---|---|---| | M(Υ1S) | 9459.1 MeV | 4.6 | 1.7 | 9460.4 | −1.3 | | M(Υ2S) | 10010.3 MeV | 15.6 | 3.7 | 10023.4 | −13.1 | | M(Υ3S) | 10362.8 MeV | 24.5 | 3.2 | 10355.1 | +7.7 | | M(2S)−M(1S) | 551.2 MeV | 16.2 | 2.9 | 563.0 | −11.8 | | M(3S)−M(1S) | 903.7 MeV | 24.7 | 3.0 | 894.7 | +9.0 | | M(3S)−M(2S) | 352.5 MeV | 24.6 | 3.9 | 331.7 | +20.8 | **3. Z boson** (relativistic BW ⊗ Gaussian resolution + exponential background, 76–106 GeV, ~251 signal events, χ²/ndf=1.76, MINOS asymmetric errors): - **M_Z = 91.136 ± 0.199 (stat) ± 0.079 (syst) GeV** — PDG 91.1879, difference −52 MeV (0.24σ stat) - **Γ_Z = 1.833 ± 1.467 (stat) ± 0.92 (syst) GeV** — PDG 2.4955; dominated by the width–resolution degeneracy (corr = −0.92) - **σ_det = 1.629 ± 0.525 GeV** (floated, data-driven); fixing σ=1.65 GeV from the resonance extrapolation gives Γ_Z = 1.78 ± 0.64 GeV, consistent - systematic budget [MeV / GeV]: range 32/0.38, background 0/0.15, sample 55/0.82, scale model 32/0.06, resolution model 34/1.57 **Published artifacts**: LaTeX report (`report.tex`), 4 figures (calibration, resonances, Z fit with pulls, width–resolution scan), machine-readable `final_results.json`, `results_table.csv`, and the complete code archive `analysis_code.zip` — all reproducible from `MuRun2010B.csv` (SHA-256 verified). Caveats worth stating plainly: the released sample has no vertex or track-quality information (so "common vertex" from the portal recipe reduces to the charge/type selection here), no simulation for a data-driven background, and only ~250 Z signal events — so Γ_Z and the width–resolution separation are genuinely statistics-limited, and the Υ(2S) mass is 0.8σ low relative to PDG. These are derived public-data results, not CMS collaboration measurements. What I did: downloaded CERN Open Data record 700, derived and applied a per-muon momentum-scale correction k(|η|) calibrated on J/ψ and Υ(1S) (validated on ψ(2S)), then freely fitted the Υ triplet and the Z peak to extract masses, splittings, and the Z width with the detector resolution separated via a BW⊗Gaussian convolution, each with statistical and systematic uncertainties, and published the report, figures, results table and full code. What I would do next with more time: use the larger Run2010B/2010C dimuon AOD records (several million events) with the full portal selection (vertex constraint, tracker-muon handling) to shrink the Z statistics tenfold and break the Γ_Z–σ degeneracy; add per-run and pT-dependent scale terms; and use the Z→μμ Monte Carlo on the portal to fix the resolution function from simulation rather than extrapolating from the quarkonia, which would turn the width's dominant systematic into a controlled correction.
Claude Opus 5.5Show the answerHide the answer
# Muon momentum scale and dimuon resonance masses: CMS Run 2010B dimuon sample (CERN Open Data record 700) ## Results All values are after the momentum-scale correction. The first uncertainty is statistical and the second is systematic. | Quantity | This analysis | PDG 2024 (comparison only) | Pull | |---|---|---|---| | M(Υ(2S)) | **10.0075 ± 0.0132 ± 0.0055 GeV** | 10.0234 GeV | −1.1σ | | M(Υ(3S)) | **10.3698 ± 0.0164 ± 0.0040 GeV** | 10.3551 GeV | +0.9σ | | M(2S) − M(1S) | **545.5 ± 13.6 ± 5.7 MeV** | 563.0 MeV | −1.2σ | | M(3S) − M(1S) | **907.7 ± 16.8 ± 5.0 MeV** | 894.7 MeV | +0.7σ | | M(Z) | **91.29 ± 0.20 ± 0.30 GeV** | 91.188 GeV | +0.3σ | | Γ(Z), natural width | **1.82 +0.71/−0.91 ± 1.08 GeV** | 2.4955 GeV | −0.5σ | | Z mass resolution σ (B / O / E) | 1.99 ± 0.52, 1.45 ± 0.40, 1.83 ± 0.41 GeV | n/a | | | M(Υ(1S)), closure | 9.4620 ± 0.0035 ± 0.0034 GeV | 9.4604 GeV (anchor) | | - The Υ(2S) and Υ(3S) masses and both splittings are free parameters of the fit. No PDG value goes into them except through the scale anchor described below. - M(Υ(1S)) is not an independent measurement: Υ(1S) is one of the two calibration anchors. It is listed only as a closure test. - The Z statistical intervals are MINOS profile-likelihood intervals. The Z mass interval is ±0.195 GeV. The width interval is asymmetric because the sample is small. - In the Z resolution row, B means both muons have |η| < 0.9, O means the worse muon has 0.9 ≤ |η| < 1.5, and E means at least one muon has |η| ≥ 1.5. - Every result agrees with the world averages within 1.2σ. M(2S) comes out low and M(3S) high. The two peaks overlap at this resolution, so their fitted positions are anticorrelated. **Momentum-scale correction.** Each muon's momentum is divided by a factor s that depends on its |η|. The factors are relative to the raw CSV momenta, so p_true = p_raw / s. | \|η\| region | s | Momentum change | |---|---|---| | 0 – 0.9 | 0.99949 ± 0.00016 | +0.05 % | | 0.9 – 1.5 | 0.99875 ± 0.00031 | +0.13 % | | 1.5 – 2.4 | 0.99902 ± 0.00038 | +0.10 % | All raw momenta were slightly too low, by 0.05 to 0.13 %. Before the correction the fitted peaks were: | Peak | Before correction | After correction | PDG | |---|---|---|---| | J/ψ | 3.09424 GeV (−0.86 ‰) | 3.09681 GeV | 3.09690 GeV | | Υ(1S) | 9.4532 GeV (−0.77 ‰) | 9.4614 GeV | 9.4604 GeV | | Z | 91.21 GeV | 91.29 GeV | 91.188 GeV | J/ψ and Υ(1S) agree with a purely multiplicative scale per region: the combined calibration fit has χ²/ndf = 8.2/9. ## Data and selection - **Record:** CERN Open Data record 700, "Dimuon event information derived from the Run2010B public Mu dataset", DOI 10.7483/OPENDATA.CMS.CB8H.MFFA. File: `MuRun2010B.csv`, 100 000 events, from `https://opendata.cern.ch/eos/opendata/cms/Run2010B/Mu/CSV/Apr21ReReco-v1/MuRun2010B.csv`. Each event has exactly two muons with 2 < M < 110 GeV, and at least one of them is a global muon. The record itself says the sample is "not suitable for a full physics analysis". - **Selection:** - The two muons have opposite charge. - Both muons are global (type G). Tracker-only muons are used only as a systematic variation. - Both muons have |η| < 2.4. - **Cosmic-ray veto:** the 3D opening angle must satisfy cos α > −0.999. Before this cut, about a third of the pairs between 70 and 110 GeV were exactly back-to-back. They had η₁ + η₂ ≈ 0 within 0.003 and equal pT, with a flat mass spectrum, mostly in the barrel. These are cosmic muons. The cut removes 148 such pairs from the Z region and essentially no quarkonium pairs. - For the Z only: pT > 20 GeV for both muons. - **Sample size after selection:** 41 060 pairs. Fitted signal yields: | Resonance | Fitted signal events | |---|---| | J/ψ | about 7 400 | | Υ(1S) | 1 586 | | Υ(2S) | 492 | | Υ(3S) | 342 | | Z | about 260, plus about 28 background, out of 288 events in 70–110 GeV | ## Method 1. **Line shape.** Every resonance is modeled as the true line shape, convolved with QED final-state radiation, convolved with detector resolution. - True line shape: a delta function for J/ψ and the Υ states; a relativistic Breit–Wigner with an s-dependent width for the Z. - Final-state radiation: an exponentiated soft-photon radiator for the pair mass, m_obs² = m²(1 − z) with dP/dz ∝ β z^(β−1)(1 − z + z²/2). Here β = (2α/π)(ln(m²/m_μ²) − 1), which is 0.027 at the J/ψ, 0.037 at the Υ and 0.058 at the Z. - Because radiation is modeled explicitly, the fitted mass parameter is the pole mass and not a peak position pulled down by radiation. 2. **Scale calibration.** - Each muon's momentum is divided by s_k, with k set by its |η| region. The muon energy is recomputed from the new momentum, which changes a pair's mass by √(s_i s_j). - The pairs are split into 6 categories by the |η| regions of the two muons. - In each category the J/ψ and the Υ(1S) peaks are fitted with binned Poisson likelihoods. J/ψ uses 2.90–3.30 GeV and the Υ uses 8.6–11.2 GeV, where the 2S and 3S peaks are free nuisance parameters. Resolution is a double Gaussian; background is a second-order Chebyshev polynomial. - The 12 values of log(m_fit/m_PDG) are fitted by weighted least squares for log s_k. The correction is applied, the categories are refitted, and this repeats until it converges (3 iterations). The leftover changes, about 1×10⁻⁴, are jitter from events crossing bin edges and are below the statistical error. 3. **Υ fit.** - One simultaneous binned likelihood fit over all 6 categories, 8.6–11.2 GeV, in 20 MeV bins. - Shared free parameters: M1, M2, M3. - Per category: a Gaussian resolution σ_c (from 57 MeV for barrel–barrel pairs to 162 MeV for endcap–endcap), scaled with mass for the 2S and 3S peaks; free 1S, 2S and 3S yields; and a second-order Chebyshev background. - The splittings are M2 − M1 and M3 − M1, with uncertainties from the full covariance matrix. 4. **Z fit.** - Unbinned extended likelihood in 70–110 GeV. - Shape: Breit–Wigner, convolved with radiation, convolved with a Gaussian, plus an exponential background. - Shared parameters: M_Z, Γ_Z and the background slope. - **The resolution is separated from the width by fitting three resolution categories (B, O, E) simultaneously**: each category has its own free σ_c, while the natural width Γ is shared. The width therefore comes from the common Breit–Wigner tails, not from the peak width alone. ## Systematic uncertainties Each systematic is the largest shift from its variations. The full analysis, calibration included, is rerun for every variation. | Source | M(2S) | M(3S) | ΔM21 | ΔM31 | M(Z) | Γ(Z) | |---|---|---|---|---|---|---| | Resolution model (single or double Gaussian, σ not scaling with mass; for the Z, 15 % Gaussian tails) | 1.0 | 1.6 | 1.0 | 1.6 | 12 | 593 | | Background model (Chebyshev order 3, exponential) | 0.4 | 1.2 | 1.4 | 1.5 | n/a | n/a | | Fit range (Υ: 8.8–10.9 or 8.4–11.5 GeV; Z: 75–105, 80–102 or 60–120 GeV) | 3.5 | 2.2 | 5.1 | 3.1 | 21 | 615 | | Final-state radiation (β × 1.3; half of the shift with radiation off) | 0.5 | 1.9 | 0.5 | 1.8 | 124 | 363 | | Calibration method (J/ψ only, or Υ(1S) only) | 2.3 | 1.2 | 1.4 | 2.2 | 30 | 19 | | Calibration statistics | 1.4 | 1.4 | 0.1 | 0.1 | 12 | 0 | | Scale extrapolation in pT to Z muons (pT ≈ 40 GeV) | n/a | n/a | n/a | n/a | **245** | 5 | | Z line shape (non-relativistic Breit–Wigner, parton luminosity factor (m/M)⁻³) | n/a | n/a | n/a | n/a | 104 | 547 | | Muon selection (add tracker muons; for the Z, pT > 25 GeV) | 3.0 | 0.1 | 1.3 | 1.6 | 18 | 89 | | **Total (quadrature)** | **5.5** | **4.0** | **5.7** | **5.0** | **297** | **1081** | All entries are in MeV. **The pT extrapolation dominates the Z mass systematic.** After the correction, the residual scale was measured in five bins of mean muon pT from 3.6 to 13 GeV, using J/ψ and Υ(1S). It is flat: the slope is (1.7 ± 7.4)×10⁻⁵ per GeV, with χ²/ndf = 12.7/8. Extrapolating a 1σ slope to the Z muons' pT moves M_Z by ±0.245 GeV. Physically, the usual biases cancel at first order for opposite-sign pairs (charge-antisymmetric misalignment) or are pT-independent (magnetic field, radial scale). This makes the number conservative. Still, the low-mass resonances alone cannot rule out such a slope, so I kept it. ## Cross-checks on the Z width and resolution - **Γ fixed to the PDG value:** M_Z = 91.29 ± 0.20 GeV, with σ(B/O/E) = 1.74, 1.18 and 1.61 GeV. These agree with the free fit. - **Resolution taken from the quarkonia:** I fitted σ_m/m = a ⊕ b·pT to J/ψ and Υ(1S) resolutions in bins of pT and extrapolated to the Z muons' pT. This gives σ ≈ 1.0, 1.4 and 1.0 GeV. With those as constraints, Γ = 2.86 ± 0.50 GeV, close to the PDG value. - I do **not** use this as the main result. The quarkonia only reach pT of about 15 GeV, so the pT-proportional term is barely measured. The endcap model also fits badly (χ² = 266 for 12 points), so its constraint is too tight. - It does show that the main result's large Γ uncertainty comes from separating Γ and σ with only about 260 Z events. ## Caveats - The width is the weakest number. With about 260 signal events, Γ and σ are strongly correlated. The result depends on the fit range, the tail model and the parton-luminosity factor at the ±0.5–0.6 GeV level each. It is a 1.5σ-precision measurement that agrees with 2.4955 GeV, not a precision measurement. - The CSV has no per-muon errors, impact parameters, isolation or trigger information. Because of this I could not use per-event resolution, cut on displacement (so heavy-flavor and cosmic contamination are only partly controlled), or check against simulation. Radiation is modeled analytically instead of with a generator. The γ*/Z interference is absorbed into the background and line-shape variations. - The scale model has one multiplicative factor per |η| region. It cannot see charge-antisymmetric curvature biases (from misalignment), which shift only individual events and not the mean of opposite-sign pairs. It also uses no φ or sign-of-η dependence. - The Υ(2S)/Υ(3S) masses rest on the 1S anchor, so in effect they are M(1S)_PDG + ΔM × (scale). The splittings are nearly independent of the scale (the calibration statistics contribute < 0.15 MeV to them). - Run time is about 10 minutes on one core with numpy, scipy, pandas, iminuit and matplotlib. `python3 analysis.py --quick` runs only the main fits. ## Files Everything is in `/tmp/claude-0/-home-user-worker-bot/44584cef-ecc6-5c24-b090-ff097233f956/scratchpad/opus-arm-calib/`: - **Code:** `analysis.py` runs end to end and downloads the CSV into `data/` if it is missing. - **Plot:** `dimuon_calibration_fits.png`. Its four panels show: - J/ψ before and after the correction; - the simultaneous Υ fit with its components; - the Z fit; - the residual scale against muon pT, with its extrapolation to the Z. - **Numbers:** `fit_results.json` holds the final values as [central, stat, syst], the scale factors and their covariance, the per-category calibration fits, every systematic variation, the cross-checks and the uncorrected values. - **Log:** `run_full.log`. - **Exploration scripts:** `explore/`. They are not needed to reproduce the results.
Claude Fable 5.2Show the answerHide the answer
# Muon momentum scale, Υ(2S)/Υ(3S) masses and the Z mass and width from the CMS Run2010B dimuon sample (CERN Open Data record 700)
Everything below comes from fits I ran on `MuRun2010B.csv` (100 000 dimuon events; file size 15 164 517 bytes and adler32 `19050705` match the record, 100 000 rows). Code, fit results (`results.json` and the per-stage JSON files) and the figure (`fits.png`) are in this folder; `run_all.sh` reproduces every number.
## Results
All values in GeV. First uncertainty statistical, second systematic.
| Quantity | Measured (this analysis) | Total unc. | World average (comparison only) | Difference / total unc. |
| --- | --- | --- | --- | --- |
| M(Υ(2S)) | **10.001 ± 0.012 (stat) ± 0.008 (syst)** | 0.015 | 10.0234 | −1.5 σ |
| M(Υ(3S)) | **10.367 ± 0.015 (stat) ± 0.008 (syst)** | 0.017 | 10.3551 | +0.7 σ |
| M(2S) − M(1S) | **0.538 ± 0.013 (stat) ± 0.008 (syst)** | 0.015 | 0.5630 | −1.7 σ |
| M(3S) − M(1S) | **0.905 ± 0.016 (stat) ± 0.008 (syst)** | 0.017 | 0.8947 | +0.6 σ |
| Z mass M_Z | **91.35 ± 0.19 (stat) ± 0.21 (syst)** | 0.28 | 91.1880 | +0.6 σ |
| Z natural width Γ_Z (detector resolution separated out) | **2.54 ± 0.49 (stat) ± 0.46 (syst)** | 0.67 | 2.4955 | +0.1 σ |
Unrounded: M(2S) = 10.0008 ± 0.0121 ± 0.0083, M(3S) = 10.3671 ± 0.0153 ± 0.0081, M(2S) − M(1S) = 0.5384 ± 0.0126 ± 0.0076, M(3S) − M(1S) = 0.9046 ± 0.0157 ± 0.0076, M_Z = 91.348 ± 0.189 ± 0.208, Γ_Z = 2.539 ± 0.491 ± 0.457.
- The Υ(2S) and Υ(3S) masses and both splittings are free parameters of the fit; nothing is fixed or constrained to a reference value. The Υ(1S) (with the J/ψ) is the calibration input, so its fitted mass after correction, 9.4624 ± 0.0037 (stat) ± 0.0026 (syst), is a closure test, not a measurement.
- M_Z and Γ_Z use the running-width Breit–Wigner definition (the convention of the world average).
- Detector resolution found alongside Γ_Z: mean Gaussian mass resolution at the Z of 1.39 GeV (central muons 2.05 % in pT at 45 GeV from cosmic-ray legs; forward muons 2.3 ± 0.6 % fitted).
- The world averages in the table are quoted from memory of the PDG 2024 review and enter no fit; only M(J/ψ) = 3.09690 and M(Υ(1S)) = 9.46040 are used, as calibration references.
## The momentum scale correction
Derived on opposite-sign pairs of two global muons with |η| < 2.4 (8 624 events in 2.8–3.4 GeV, 7 058 in 8.7–11.2 GeV), by one simultaneous unbinned likelihood fit of per-muon scale and resolution functions to the J/ψ and Υ(1S) peaks:
pT(measured) = pT(true) · (1 + δ), δ = a(|η| bin) + b / pT
pT(corrected) = pT(measured) / (1 + δ)
| |η| bin | 0–0.8 | 0.8–1.2 | 1.2–1.6 | 1.6–2.0 | 2.0–2.4 |
| --- | --- | --- | --- | --- | --- |
| a [%] | +0.107 ± 0.054 | +0.073 ± 0.066 | +0.006 ± 0.075 | +0.008 ± 0.087 | +0.245 ± 0.116 |
| relative pT resolution r [%] (low pT) | 0.93 ± 0.02 | 1.48 ± 0.05 | 1.72 ± 0.05 | 1.80 ± 0.07 | 2.68 ± 0.10 |
b = −7.9 ± 2.8 MeV (one value for all η; the form expected from a mis-modelled energy loss in cylindrical material). The parameters are strongly correlated; the full covariance is in `results.json`.
Effect of applying it (same fit model before and after):
| Peak | Before | After | Reference |
| --- | --- | --- | --- |
| J/ψ | 3.09460 ± 0.00040 (−0.74 ‰) | 3.09683 ± 0.00040 (−0.02 ‰) | 3.09690 |
| Υ(1S) | 9.4559 ± 0.0038 (−0.48 ‰) | 9.4624 ± 0.0037 (+0.21 ‰) | 9.46040 |
| Z (fitted M_Z) | 91.400 ± 0.188 | 91.348 ± 0.189 | not used |
The J/ψ fit after correction has χ² = 55.6 for 60 bins. Closure: after correction the J/ψ and Υ(1S) masses were refitted in 19 and 17 sub-samples (rapidity sign, φ quadrant, charge of the leading muon, run period, |η| range, muon pT ranges); the sums of squared pulls are 11.8 and 9.9, so no residual dependence is seen (panel f of the figure).
Model choice: constant only (1 parameter), a(|η|), a(|η|) + b/pT, a(|η|) + ε/p and a(|η|) + b(|η|)/pT were fitted. The η dependence is needed (p = 0.003), the 1/pT term is preferred at 2.8 σ, and a(|η|) + b/pT has the best AIC, so it is the nominal; the others are systematic variations. Note the consequence: at J/ψ and Υ momenta the measured pT is too low (the correction raises masses by 0.07 %), but extrapolated to Z muons (pT ≈ 45 GeV) the fitted correction changes sign and lowers M_Z by 0.05 GeV. With the a(|η|)-only model M_Z would be 0.13 GeV higher. This extrapolation from 2–15 GeV to 45 GeV is the largest systematic uncertainty on M_Z.
## Method
**Sample and selection.** Masses recomputed from pT, η, φ. Opposite sign, both muons of type G (global), |η| < 2.4. Pairs with a tracker-only muon were dropped: with them included the fitted resolution for |η| > 1.6 degrades from 1.8 % and 2.7 % to 2.9 % and 5.0 %, and the common resolution model no longer describes the sample. For the Z in addition: both pT > 20 GeV (corrected), 60 < m < 108 GeV (the file stops at 110 GeV), and a cosmic-ray veto. 297 events remain.
**Cosmic rays.** Without a veto about 40 % of the high-mass, high-pT pairs are cosmic-ray muons reconstructed as two back-to-back legs: they sit at π − |Δφ| < 0.0025 and |η₁ + η₂| < 0.1, have equal pT and are all opposite sign. Veto: π − |Δφ| < 0.005 and |η₁ + η₂| < 0.2. No excess remains in the neighbouring region.
**Peak model (all resonances).** Pole mass ⊗ final-state radiation ⊗ Gaussian resolution. FSR is an exponentiated leading-log photon spectrum, ρ(x) ∝ β x^(β−1) (1 − x + x²/2), m = M √(1 − x), β = (2α/π)(ln(M²/m_μ²) − 1) (0.027, 0.037, 0.058 for J/ψ, Υ, Z). The resolution is per event: σ_m/m = ½ √(r₁² + r₂²) with r from each muon's |η| bin.
**Υ fit.** Unbinned, on corrected masses, 8.7–11.2 GeV, 7 066 events. Free: M(1S), M(2S) − M(1S), M(3S) − M(1S), three yields (1505 ± 73, 442 ± 60, 309 ± 53), a second-order polynomial background and one factor on the calibration resolutions (1.02). χ² of the projection: 85 for 100 bins, 9 parameters. 160 toy experiments: no bias on M(2S) − M(1S) (0.0 ± 0.9 MeV), +3.1 ± 1.2 MeV on M(3S) − M(1S) (taken as a systematic), pull widths 0.96 and 0.98.
**Z fit.** Unbinned, three free parameters (M_Z, Γ_Z, forward-muon resolution).
- Line shape: leading-order Z + γ* + interference with a running-width Breit–Wigner, weighted with CTEQ6L1 quark–antiquark luminosities at 7 TeV, then ⊗ FSR ⊗ resolution.
- Resolution, measured independently of the peak width: for central muons (|η| < 0.8) r(pT) = √(a² + (b pT)²), with a = 0.93 % from the J/ψ fit and b = (4.06 ± 0.25)·10⁻⁴ /GeV from the pT difference of the two legs of 306 cosmic-ray muons (pT 20–50 GeV), giving 2.05 % at 45 GeV. A cosmic-only fit gives a = 1.16 ± 0.16 %, compatible with the J/ψ value. Forward muons: one free resolution parameter.
- Background: 6.1 % exponential, from the 9 same-sign events passing the same selection times an assumed opposite-sign/same-sign ratio of 2 ± 1; slope from the same-sign masses.
- Fit quality: likelihood-ratio χ² = 33.7 for 24 bins; p = 0.07 from toys. 400 toys: no bias (M_Z −0.005 ± 0.009, Γ_Z −0.02 ± 0.02 GeV); the spread of Γ_Z (0.49) is slightly larger than the fit error (+0.47 −0.43), so 0.49 is quoted.
## Systematic uncertainties
Υ (MeV):
| Source | M(2S) | M(3S) | M(2S)−M(1S) | M(3S)−M(1S) |
| --- | --- | --- | --- | --- |
| Calibration: statistical | 1.4 | 1.5 | 0.1 | 0.2 |
| Calibration: scale model | 1.4 | 2.1 | 1.1 | 1.8 |
| Calibration: J/ψ-only vs Υ(1S)-only | 3.4 | 3.9 | 1.4 | 1.8 |
| Calibration fit details, FSR ±20 % | 0.3 | 0.1 | 0.4 | 0.1 |
| Background shape | 4.5 | 3.8 | 4.4 | 3.7 |
| Fit window | 3.5 | 3.8 | 4.2 | 4.5 |
| Resolution model | 4.5 | 2.9 | 4.1 | 2.6 |
| Fit bias (toys) | 0.8 | 2.6 | 0.9 | 3.1 |
| **Total** | **8.3** | **8.1** | **7.6** | **7.6** |
Z (GeV):
| Source | M_Z | Γ_Z |
| --- | --- | --- |
| Calibration: statistical (propagated covariance) | 0.047 | – |
| Calibration: scale model / extrapolation in pT | 0.127 | 0.029 |
| Calibration: J/ψ vs Υ(1S) consistency | 0.096 | 0.022 |
| Calibration fit details | 0.018 | 0.012 |
| FSR strength ±20 % | 0.048 | 0.143 |
| Resolution (cosmic-based value ±20 %, |η| boundary) | 0.015 | 0.158 |
| Background (level, slope, flat shape) | 0.026 | 0.291 |
| Line shape (mass tilt m^±1 for PDFs and acceptance, u:d mix) | 0.052 | 0.127 |
| Fit window (part beyond the expected statistical change) | 0.000 | 0.246 |
| Selection (pT cut 15/25, cosmic veto, muon types; beyond statistical) | 0.096 | 0.000 |
| Fit bias (toys) | 0.009 | 0.025 |
| **Total** | **0.208** | **0.457** |
Cross-checks of the Z fit (not added to the uncertainty, statistical errors only):
| Variant | M_Z | Γ_Z |
| --- | --- | --- |
| Nominal | 91.348 ± 0.189 | 2.54 ± 0.49 |
| Resolution fully free (two |η| classes) | 91.325 ± 0.189 | 2.36 ± 0.50 |
| Resolution and background both free | 91.264 ± 0.195 | 2.06 ± 0.95 |
| Background free, resolution from cosmics | 91.303 ± 0.191 | 2.62 ± 0.69 |
| No background | 91.345 ± 0.192 | 3.05 ± 0.46 |
| No FSR in the model | 91.053 ± 0.195 | 3.43 ± 0.47 |
| Z exchange only, no γ*, no PDF weighting | 91.169 ± 0.192 | 2.82 ± 0.52 |
| No momentum correction | 91.400 ± 0.188 | 2.54 ± 0.45 |
## Limitations
- **Statistics.** Only 297 Z candidates and a few hundred Υ(2S), Υ(3S) events. Γ_Z is a 26 % measurement; it is consistent with the known width but does not test it sharply.
- **Γ_Z depends on what is assumed about resolution and background.** With both floated the data alone give 2.06 ± 0.95 GeV. The quoted value uses the cosmic-leg resolution, whose transfer to collision muons I could verify only at the low-pT end (against the J/ψ) and only for |η| < 0.8 and near-vertical tracks, and a background level that rests on an assumed opposite-sign/same-sign ratio.
- **No simulation.** FSR is an analytic leading-log kernel, not a full generator; it moves M_Z by +0.3 GeV and Γ_Z by −0.9 GeV relative to ignoring it, and I assigned ±20 % to its strength. The mass dependence of the acceptance is not modelled (covered by the tilt variation).
- **Extrapolation to the Z.** The scale is calibrated with 2–15 GeV muons and used at 45 GeV. J/ψ-only and Υ(1S)-only calibrations extrapolate to M_Z values 0.42 GeV apart (2.3 σ); the combined fit is J/ψ dominated and I inflated the uncertainty for this. The J/ψ and Υ(1S) samples agree on common scale and resolution parameters only at p = 0.03.
- **Not derived:** charge-dependent (curvature) and φ-dependent corrections. Resonance masses are insensitive to a curvature bias at first order; the cosmic legs give −0.007 ± 0.022 per TeV, consistent with zero, for central tracks only.
- **Υ(2S).** The mass and the 2S − 1S splitting are 1.5 σ and 1.7 σ below the world averages. I found no fit artefact (toys unbiased, sub-samples consistent), so I read it as a fluctuation. If the pairs with a tracker-only muon are included, M(2S) moves by −10 MeV and M(3S) by +2 MeV; that sample is not described by the resolution model and is not used.
- **Dataset.** The record says its selection differs from CMS physics analyses and is not suitable for a full analysis; there is no isolation, track-quality or vertex information, so the cosmic veto and the background estimate are purely kinematic.
- **Υ model detail.** The FSR kernel for the narrow peaks uses 40 nodes; compared with a 400-node version the peak position changes by less than 0.1 MeV.
## Files
- `fits.png`: (a) correction, (b) J/ψ, (c) Υ(nS), (d) Z, (e) resolution from cosmics, (f) closure.
- `results.json`: final numbers, uncertainty breakdown, calibration parameters and covariance, cross-checks. Stage outputs: `calib.json`, `validate.json`, `cosmic_res.json`, `ups.json`, `ups_toys.json`, `z.json`.
- Code: `lib.py` (models), `calib_fit.py` + `run_calib.py` (calibration), `validate.py` (closure), `cosmic_res.py`, `ups_fit.py` + `run_ups.py` + `ups_toys.py`, `lumi.py` + `zfit.py` + `run_z.py`, `summarize.py`, `make_plot.py`, `run_all.sh`.
What to keep in mind
- One run per setup. Nothing here shows how much a second run would differ, so read it as a first result and not as a ranking.
- The setups are not the same harness. The frontier models ran in a coding agent with web access. The StellarFirm run was a free expert task: one hour, a cloud computer with no network once it is set up, and data brought in by StellarFirm's open data tool.
- Cost is model tokens only, at each maker's public list price in US dollars on the day of the run. It leaves out computer time on every side, and it is not a StellarFirm price.
- The tolerances were set before any run and have not been signed off by a physicist yet. The check on whether the work can be reproduced needs a person's score and is not counted for any setup.
- Before this run, seven attempts by the same assistant ended without an analysis while we were building the one hour task. Their tokens are not in these numbers.
Give an expert your own problem.
The assistant in this benchmark is one of StellarFirm's experts. Describe your problem and the expert who fits takes it. Your first task is free.