lens_fit
Fit gravitational microlensing light curves across multiple series at once, with optional annual parallax, to estimate t0, tE, u0, peak magnification, and parallax model improvement.
Instructions
Fit a gravitational microlensing event: a point source magnified by a point lens, without and (by default) with annual parallax, to one or more series at once (e.g. ["ATLAS:ATLAS_o", "ATLAS:ATLAS_c", "NEOWISE:W1"]). Each series is binned per night and turned into flux / its own baseline (median outside [start, end], or over the baseline window). Errors include that series' baseline night-to-night scatter and 1% of flux. Returns t0, tE, u0, A_max (and piE, fs), 95% ranges for t0 and tE from chi-square profiles (not covariance), how well the peak and wings are sampled, and how much the parallax model improves on the static one. A static fit much worse than the parallax fit means the light curve is asymmetric; a peak with no points means t0 and A_max rest on the wings. Microlensing is achromatic: fit the bands together and compare their residuals.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"case": "<case>",
"series": "<series>",
"start": "<start>",
"end": "<end>"
},
"name": "lens_fit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | ||
| case | Yes | ||
| blend | No | ||
| start | Yes | ||
| series | Yes | ||
| parallax | No | ||
| baseline_end | No | ||
| baseline_start | No |