{
  "task": "jdp-real-lc-diag",
  "schema_version": 1,
  "status": "OK",
  "label": "real SPOC sector 56 data",
  "synthetic": false,
  "input_path": "research/tess-timing/data/real-run/lightcurve.fits",
  "input_sha256": "1b76b4a4b73e24954fa6e29a7e28a174685113ecdbad1bf10ef0e7b766ce99e9",
  "expected_sha256": "1b76b4a4b73e24954fa6e29a7e28a174685113ecdbad1bf10ef0e7b766ce99e9",
  "input_size_bytes": 2039040,
  "tic_id": 420814525,
  "sector": 56,
  "mask_bits": 175,
  "header": {
    "ticid": 420814525,
    "sector": 56,
    "object": "TIC 420814525",
    "verified": true
  },
  "quality_mask": {
    "bits": [
      1,
      2,
      4,
      8,
      32,
      128
    ],
    "bit_table": [
      {
        "bit": 1,
        "name": "attitude tweak"
      },
      {
        "bit": 2,
        "name": "safe mode"
      },
      {
        "bit": 4,
        "name": "coarse point"
      },
      {
        "bit": 8,
        "name": "earth point"
      },
      {
        "bit": 32,
        "name": "desaturation event"
      },
      {
        "bit": 128,
        "name": "manual exclude"
      }
    ],
    "policy": "A cadence is excluded when (QUALITY & mask_bits) != 0."
  },
  "cadence": {
    "expected_seconds": 120.0,
    "nominal_seconds": 119.997772,
    "tolerance_seconds": 0.5,
    "verified": true
  },
  "gap_count": 3,
  "longest_gap_seconds": 18239.707002,
  "gap_threshold_seconds": 180.0,
  "gap_factor": 1.5,
  "missing_cadences_in_gaps": 449,
  "cadence_counts": {
    "input_rows": 20079,
    "finite_time": 19630,
    "after_quality_mask": 19612,
    "retained": 18792,
    "removed_nonfinite_time": 449,
    "removed_by_quality_mask": 18,
    "removed_nonfinite_quality": 0,
    "removed_nonfinite_flux": 820,
    "reconciles": true
  },
  "sap": {
    "median": 214427.296875,
    "relative_scatter": 0.0026785513710213807,
    "relative_scatter_ppm": 2678.551371021381
  },
  "pdcsap": {
    "median": 225077.4375,
    "relative_scatter": 0.0026448359337107375,
    "relative_scatter_ppm": 2644.8359337107377
  },
  "sap_bkg": {
    "scope": "retained cadences with finite SAP_BKG",
    "cadences": 18792,
    "median": 2761.541259765625,
    "percentile_5": 2490.7844482421874,
    "percentile_95": 4246.166821289063,
    "range_5_95": 1755.3823730468753
  },
  "quality_bit_histogram": {
    "scope": "all input rows with finite QUALITY",
    "rows": 20079,
    "rows_without_finite_quality": 0,
    "zero_quality_rows": 18791,
    "rows_with_any_bit": 1288,
    "bits": [
      {
        "bit": 8,
        "name": "earth point",
        "count": 450
      },
      {
        "bit": 32,
        "name": "desaturation event",
        "count": 16
      },
      {
        "bit": 128,
        "name": "manual exclude",
        "count": 6
      },
      {
        "bit": 512,
        "name": "impulsive outlier",
        "count": 1
      },
      {
        "bit": 32768,
        "name": "bad centroid",
        "count": 820
      }
    ]
  },
  "software": {
    "python": "3.12.1",
    "numpy": "1.26.4",
    "scipy": "1.15.3",
    "astropy": "7.2.0",
    "tess_timing": "0.1.0"
  },
  "limits": [
    "No detrending, transit fit, or timing measurement was performed. The loader divides each flux column by its median only.",
    "Relative scatter is the sample standard deviation of the retained raw flux divided by its median, with one degree of freedom removed.",
    "SAP_BKG statistics use retained cadences whose SAP_BKG value is finite.",
    "The QUALITY bit histogram counts all input rows with finite QUALITY; a row can set more than one bit.",
    "Gap count and longest gap use finite TIME values before the quality mask, with a threshold of 180 s (1.5 times the 120 s cadence).",
    "No target ranking, detection, or novelty claim is made."
  ]
}
