{
  "task": "jdp-m3-hd-crosscheck",
  "schema_version": 1,
  "status": "OK",
  "target": {
    "name": "HD 209458 b",
    "tic_id": 420814525,
    "sector": 56
  },
  "records": {
    "full_sector": {
      "path": "research/tess-timing/data/sector56-full-run/run.json",
      "sha256": "1fee15230258c5f4fa2db5410d87f3b3c5ce19babd9c4c9852ea399084a9c752",
      "byte_count": 13207
    },
    "single_transit": {
      "path": "research/tess-timing/data/sector56-control-run/analysis.json",
      "sha256": "55a1ffe862e33a1e97192967b5aa5546d2a1ab61102d2120879ad5663dc71b84",
      "byte_count": 23719
    }
  },
  "inputs": {
    "target_pixel_file": {
      "path": "research/tess-timing/data/real-run/tpf.fits",
      "sha256": "2b5bd6ee4747cfe0c5405c869b871064fd74e4b5f0521c4e6be9fdc2b5c96030",
      "byte_count": 58026240
    },
    "light_curve": {
      "path": "research/tess-timing/data/real-run/lightcurve.fits",
      "sha256": "1b76b4a4b73e24954fa6e29a7e28a174685113ecdbad1bf10ef0e7b766ce99e9",
      "byte_count": 2039040
    },
    "ephemeris": {
      "path": "research/tess-timing/data/sector56-control-run/ephemeris.json",
      "sha256": "2af9da76c572f5239b2a2435e6d0faaedef0f92ce1a0b11f37994d07c8c2fb9e",
      "byte_count": 997
    }
  },
  "path_settings": {
    "full_sector": {
      "detrend_window_cadences": 101,
      "in_transit_mask_applied": true,
      "in_transit_mask_cadences": 737,
      "fit_window_applied": false,
      "fit_window_half_width_days": null,
      "fit_window_cadences": 17705,
      "fit_in_transit_cadences": 503
    },
    "single_transit": {
      "detrend_window_cadences": 1001,
      "in_transit_mask_applied": false,
      "in_transit_mask_cadences": 0,
      "fit_window_applied": true,
      "fit_window_half_width_days": 0.5,
      "fit_window_cadences": 720,
      "fit_in_transit_cadences": 86
    }
  },
  "aperture": {
    "threshold_fraction_of_peak_excess": {
      "full_sector": 0.05,
      "single_transit": 0.05
    },
    "annulus_radii_pixels": {
      "full_sector": {
        "inner": 2.0,
        "outer": 3.5,
        "inner_inclusive": true,
        "outer_inclusive": false
      },
      "single_transit": {
        "inner": 2.0,
        "outer": 3.5,
        "inner_inclusive": true,
        "outer_inclusive": false
      }
    },
    "aperture_pixel_count": {
      "full_sector": 14,
      "single_transit": 14
    },
    "annulus_pixel_count": {
      "full_sector": 23,
      "single_transit": 23
    },
    "identical_mask": true
  },
  "path_differences": [
    {
      "quantity": "aperture",
      "full_sector": "14 pixels, threshold fraction 0.05, annulus 2.0 to 3.5 pixels",
      "single_transit": "14 pixels, threshold fraction 0.05, annulus 2.0 to 3.5 pixels",
      "difference": "none: the same configuration selects the same 14-pixel mask on the same target pixel file"
    },
    {
      "quantity": "detrend window",
      "full_sector": "101 cadences",
      "single_transit": "1001 cadences",
      "difference": "900 cadences"
    },
    {
      "quantity": "in-transit mask during detrending",
      "full_sector": "applied, 737 cadences",
      "single_transit": "not applied, 0 cadences",
      "difference": "the full-sector path masks known transit times; the single-transit path does not"
    },
    {
      "quantity": "fit window",
      "full_sector": "full sector, 17705 cadences",
      "single_transit": "plus or minus 0.5 d, 720 cadences",
      "difference": "16985 cadences"
    }
  ],
  "comparison": {
    "difference_definition": "full-sector minus single-transit for every quantity",
    "t0": {
      "full_sector_btjd": 2840.87973012265,
      "single_transit_btjd": 2840.878747031844,
      "full_sector_sigma_days": 0.00019472032724782753,
      "single_transit_sigma_days": 2.6773197050067394e-05,
      "difference_days": 0.000983090806130349,
      "difference_seconds": 84.93904564966215,
      "quadrature_sigma_days": 0.0001965523083654394,
      "quadrature_sigma_seconds": 16.982119442773964,
      "difference_over_quadrature_sigma": 5.001675199370031,
      "btjd_unit": "BTJD (BJD_TDB - 2457000.0), day",
      "seconds_unit": "s"
    },
    "model_depth": {
      "formula": "radius_ratio ** 2 / (1 + dilution)",
      "dilution": 0.0,
      "full_sector_ppm": 2336.924528629651,
      "single_transit_ppm": 15174.5362759684,
      "full_sector_sigma_ppm": 50.21659921035907,
      "single_transit_sigma_ppm": 72.49497412766176,
      "difference_ppm": -12837.61174733875,
      "quadrature_sigma_ppm": 88.18859399051662,
      "difference_over_quadrature_sigma": -145.56997868362936,
      "ppm_unit": "ppm (parts per million relative flux)"
    },
    "residual_rms": {
      "full_sector_ppm": 1054.2533336109923,
      "single_transit_ppm": 586.0266823713868,
      "difference_ppm": 468.22665123960553,
      "ppm_unit": "ppm (parts per million relative flux)"
    }
  },
  "like_for_like": {
    "depths_comparable": false,
    "aperture_comparable": true,
    "reasons": [
      "The detrending windows differ (101 versus 1001 cadences).",
      "The full-sector path masks 737 known in-transit cadences during detrending; the single-transit path applies no in-transit mask.",
      "The full-sector path fits all 17705 usable cadences; the single-transit path fits 720 cadences in a plus or minus 0.5 d window.",
      "A running-median trend over a full sector and a trend over one transit window do not estimate the same baseline."
    ],
    "cause_not_attributed": "These records do not contain the counterfactual fits needed to apportion the depth difference among the detrending, window, and mask differences. The disagreement is reported, not explained."
  },
  "limits": [
    "This comparison uses two existing local fits. It is not a detection, a discovery, a new epoch, or a novelty claim.",
    "Neither fit measures the period. Both fix the published period and the same fixed limb darkening, impact parameter, and dilution settings.",
    "The radius-ratio-derived model depths are not like-for-like because the two paths use different detrending, fit windows, and in-transit masks.",
    "The propagated depth sigma treats dilution as fixed and uses the marginal radius-ratio sigma. It does not include correlated noise or a full error budget.",
    "The comparison does not establish which path is closer to the true transit depth or why the depths differ.",
    "The inputs are a MAST snapshot. Product bytes and availability can change in a later release."
  ]
}
