SPXQuery Quickstart Demo

This notebook demonstrates the flexible, resumable pipeline features of the spxquery package.

Point Source: Cloverleaf quasar (RA=213.9427080°, Dec=+11.4953890°, z=2.56)

Package Version: v0.2.2

Features Demonstrated

  1. Advanced Configuration (v0.2.2) - FWHM-based apertures and window background

  2. One-click pipeline execution - Run everything with a single function call

  3. Smart resume with YAML - Human-readable state files with automatic loading

  4. Manual step execution - Run individual stages with dependency checking

  5. Method comparisons (v0.2.2) - Compare background and aperture methods

  6. Parameter tuning (v0.2.2) - Interactive exploration of optimal settings

SPHEREx Bad Pixel Flags Reference

The bad_flags parameter specifies which pixel quality flags to reject during visualization.

Default bad_flags: [0, 1, 2, 6, 7, 9, 10, 11, 14, 15, 17, 19]

Flag Name

Bit

Flag Name

Bit

TRANSIENT

0

COLD

11

OVERFLOW

1

FULLSAMPLE

12

SUR_ERROR

2

PHANMISS

14

NONFUNC

6

NONLINEAR

15

DICHROIC

7

PERSIST

17

MISSING_DATA

9

OUTLIER

19

HOT

10

SOURCE

21

Note: The FLAGS extension in SPHEREx FITS files uses a bitmap where multiple flags can be set for a single pixel. The pipeline marks measurements as “bad” if ANY of the specified flag bits are set.

Usage examples:

bad_flags=[0, 1, 2, 6, 7, 9, 10, 11, 14, 15, 17, 19]  # Default: comprehensive quality control
bad_flags=[]                      # No flag filtering (use all data)

Automatic Variance Repair (NEW in v0.2.2)

Problem: Some SPHEREx images contain pixels with NaN variance but valid flux values, typically due to flagged conditions.

Solution: The pipeline automatically repairs variance for flagged pixels:

  • Validates assumption: Checks that NaN variance correlates with non-zero flags

  • Estimates variance: Uses median of valid variance values across the image

  • Fails safely: Raises error if NaN variance found without flags (unexpected data quality issue)

Benefits:

  • Preserves observations that would otherwise fail photometry

  • Provides reasonable error estimates for flagged pixels

  • Maintains SNR-based quality control

  • No manual intervention required

Log message example:

INFO - Repaired 23 pixels with NaN variance using median variance (1.234e-06).
       All repaired pixels have non-zero flags.
[1]:
# Import required modules
from pathlib import Path

from spxquery import QueryConfig, Source, SPXQueryPipeline
from spxquery.core.pipeline import run_pipeline
from spxquery.utils.helpers import setup_logging

# Set up logging
setup_logging("INFO")

Generate Spectrophotometry for a Single Source

NEW IN v0.2.2: Enhanced photometry with adaptive apertures and flexible background estimation!

The advanced parameter system allows you to customize photometry, visualization, and download parameters beyond the basic pipeline settings.

What’s New in v0.2.2

Adaptive Aperture Sizing:

  • FWHM-based apertures: Automatically size apertures based on PSF FWHM

  • Automatic fallback: Falls back to fixed aperture if FWHM estimation fails

  • Parameters: aperture_method (‘fixed’ or ‘fwhm’), fwhm_multiplier

Flexible Background Estimation:

  • Window method: Rectangular background region (alternative to annulus)

  • Automatic aperture exclusion: Pixels intersecting the aperture are automatically excluded

  • Parameters: background_method (‘annulus’ or ‘window’), window_size

Key features:

  • Export default parameters to YAML template with inline comments

  • Edit parameters manually for fine-tuning

  • Load custom parameters into pipeline

  • Priority system: explicit params > YAML file > defaults

Parameter Setting (v0.2.2 Features)

Here’s how to use the new photometry features directly in your pipeline:

[2]:
# FWHM-based adaptive apertures
from spxquery.core.config import (
    PhotometryConfig,
    QueryConfig,
    Source,
    AdvancedConfig,
    DownloadConfig,
    VisualizationConfig,
)

# Define our target source
source = Source(
    name="cloverleaf",
    ra=213.9427080,  # Right ascension in degrees
    dec=11.4953890,  # Declination in degrees
)

# Define the output directory
output_dir = Path("./demo_data/cloverleaf")


config_all = AdvancedConfig(
    # === Query Configuration ===
    query=QueryConfig(
        source=source,
        output_dir=output_dir,
        bands=["D1", "D2", "D3", "D4", "D5", "D6"],  # SPHEREx bands to query
    ),
    # === Download Configuration ===
    download=DownloadConfig(
        # === Image settings ===
        cutout_size="60px",  # Size of cutout images; None for full image (e.g., "200px", "3arcmin")
        cutout_center=None,  # Center of cutout; defaults to source coordinates (e.g., "70,20", "300.5,120px")
        # === Download Settings ===
        max_retries=3,  # Number of retry attempts for failed downloads
        max_download_workers=5,  # Number of parallel download workers
        # === Advanced Users Only ===
        chunk_size=8192,  # Only for advanced users: size of data chunks to read (bytes)
        timeout=300,  # Only for advanced users: HTTP timeout (seconds)
        user_agent="SPXQuery/0.2.2",  # Only for advanced users: User agent string for HTTP requests
    ),
    # === Photometry Configuration ===
    photometry=PhotometryConfig(
        # === Aperture Configuration ===
        aperture_method="fwhm",  # "fixed" or "fwhm" - aperture sizing method
        fwhm_multiplier=2.5,  # Multiplier for FWHM-based apertures (aperture = FWHM × multiplier)
        aperture_diameter=3.0,  # Aperture diameter in pixels (fixed method OR fallback)
        # === Background Configuration ===
        background_method="window",  # "annulus" or "window" - background estimation method
        window_size=50,  # Window size for window method (int for square, tuple for rectangular)
        # === Annulus Parameters (Only valid if aperture_method="annulus") ===
        annulus_inner_offset=1.414,  # Gap between aperture and annulus inner radius (pixels)
        min_annulus_area=10,  # Minimum annulus area (pixels)
        max_outer_radius=5.0,  # Maximum outer annulus radius (pixels)
        max_annulus_attempts=5,  # Max attempts to expand annulus if insufficient pixels
        annulus_expansion_step=0.5,  # Step size for annulus expansion (pixels)
        # === Background Statistics ===
        min_usable_pixels=10,  # Minimum unflagged pixels required for background estimation
        bg_sigma_clip_sigma=3.0,  # Sigma threshold for background sigma clipping
        bg_sigma_clip_maxiters=3,  # Maximum iterations for background sigma clipping
        # === Other Photometry Parameters ===
        subtract_zodi=True,  # Whether to subtract zodiacal light background from images
        zodi_scale_min=0.0,  # Minimum allowed zodiacal scaling factor
        zodi_scale_max=10.0,  # Maximum allowed zodiacal scaling factor
        pixel_scale_fallback=6.2,  # Fallback pixel scale (arcsec/pixel) when WCS fails
        # === Processing & Quality Control ===
        max_processing_workers=10,  # Parallel processing
        bad_flags=[0, 1, 2, 6, 7, 9, 10, 11, 15],  # Photometry fails if aperture contains flagged pixels
    ),
    # === Visualization Configuration ===
    visualization=VisualizationConfig(
        # === Quality Control ===
        sigma_threshold=5.0,  # Minimum SNR (flux/flux_err) for quality control filtering
        # === Plot Type ===
        use_magnitude=False,  # If True, plot AB magnitude instead of flux
        show_errorbars=True,  # If True, show error bars on plots
        # === Color Maps ===
        wavelength_cmap="rainbow",  # Colormap for wavelength coding in light curves
        date_cmap="viridis",  # Colormap for date coding in spectra
        # === Outlier Removal ===
        sigma_clip_sigma=5.0,  # Sigma threshold for outlier removal in plots
        sigma_clip_maxiters=10,  # Maximum iterations for sigma clipping
        # === Y-axis Limits ===
        ylim_percentile_min=1.0,  # Lower percentile for smart y-axis limits (0-100)
        ylim_percentile_max=99.0,  # Upper percentile for smart y-axis limits (0-100)
        ylim_padding_fraction=0.1,  # Padding fraction added to y-axis range
        # === Marker Sizes ===
        marker_size_good=1.5,  # Marker size for good measurements
        marker_size_rejected=2.0,  # Marker size for rejected measurements
        marker_size_upper_limit=3.0,  # Marker size for upper limit arrows
        # === Transparency ===
        errorbar_alpha=0.2,  # Transparency for error bars (0-1)
        marker_alpha=0.9,  # Transparency for markers (0-1)
        # === Line Widths ===
        errorbar_linewidth=0.5,  # Line width for error bars in points
        # === Figure Settings ===
        figsize=(10, 8),  # Figure size in inches (width, height)
        dpi=150,  # Resolution in dots per inch for saved figures
    ),
)

# Save these settings for future use
config_all.to_yaml_file(output_dir / "config_params.yaml")

Or use a YAML template and Edit outside

[3]:
# # Export default parameters to a JSON template
# from spxquery.utils.params import export_default_parameters

# # Export to custom directory
# params_file = export_default_parameters(output_dir, filename="config_params.yaml")

# print(f"\nParameter template created at: {params_file}")
[4]:
# # Load the file back into a QueryConfig object
# config_all = AdvancedConfig.from_yaml_file(params_file)

You can also update your parameters after build up the config

[5]:
# # Only name of the parameter is needed. Package will identify which category it belongs to.
# print(config_all.query.source.name)
# config_all.update(source=source, output_dir=output_dir, max_processing_workers=1)
# print(config_all.query.source.name)

Use Custom Parameters in Pipeline

There are two ways to use custom parameters:

[6]:
# Method 1: Using SPXQueryPipeline with advanced_params_file
print("\nMethod 1: Using SPXQueryPipeline with advanced_params_file")
print("=" * 70)

# Create source
pipeline_custom = SPXQueryPipeline(config_all)

# Verify parameters were loaded
print("\n✓ Custom parameters loaded!")
print(f"  Visualization DPI: {pipeline_custom.config.visualization.dpi}")
print(f"  Figure size: {pipeline_custom.config.visualization.figsize}")
print(f"  Wavelength colormap: {pipeline_custom.config.visualization.wavelength_cmap}")
print(f"  BG sigma clipping: {pipeline_custom.config.photometry.bg_sigma_clip_sigma}")

# Create and run pipeline
# Uncomment to run:
pipeline_custom.run_full_pipeline()

print("\nTo run pipeline, uncomment the last two lines above.")
2026-05-19 17:29:47 - spxquery.core.pipeline - INFO - Initialized pipeline for source at RA=213.942708, Dec=11.495389
2026-05-19 17:29:47 - spxquery.core.pipeline - INFO - Pipeline stages: ['query', 'download', 'processing', 'visualization']
2026-05-19 17:29:47 - spxquery.core.pipeline - INFO - State file: cloverleaf.yaml
2026-05-19 17:29:47 - spxquery.core.pipeline - INFO - Starting full pipeline execution
2026-05-19 17:29:47 - spxquery.core.pipeline - INFO - Pipeline stages: ['query', 'download', 'processing', 'visualization']
2026-05-19 17:29:47 - spxquery.core.pipeline - INFO - Running query stage
2026-05-19 17:29:47 - spxquery.core.query - INFO - Querying SPHEREx observations for source at RA=213.942708, Dec=11.495389

Method 1: Using SPXQueryPipeline with advanced_params_file
======================================================================

✓ Custom parameters loaded!
  Visualization DPI: 150
  Figure size: (10, 8)
  Wavelength colormap: rainbow
  BG sigma clipping: 3.0
2026-05-19 17:30:01 - spxquery.core.query - INFO - Found 218 observations (6 bands, 225 days span)
2026-05-19 17:30:01 - spxquery.core.pipeline - INFO - Marked stage 'query' as complete
2026-05-19 17:30:01 - spxquery.core.pipeline - INFO - Saved pipeline state: stage=download, completed=['query']
2026-05-19 17:30:01 - spxquery.core.pipeline - INFO - Running download stage (skip_existing=True)
2026-05-19 17:30:01 - spxquery.core.download - INFO - Starting parallel download of 218 files
2026-05-19 17:30:01 - spxquery.core.download - INFO - Download settings: timeout=300s, retries=3, workers=5

============================================================
SPHEREx Archive Search Results
============================================================
Source: RA=213.942708, Dec=11.495389
        Name: cloverleaf
Query time: 2026-05-19 17:30:01

Total observations found: 218

Observations by band:
  D1 (0.75-1.09 μm):  36 observations
  D2 (1.10-1.62 μm):  36 observations
  D3 (1.63-2.41 μm):  37 observations
  D4 (2.42-3.82 μm):  36 observations
  D5 (3.83-4.41 μm):  36 observations
  D6 (4.42-5.00 μm):  37 observations

Time span: 224.6 days
Total data volume: 0.00 GB
============================================================

Downloading:   0%|          | 0/218 [00:00<?, ?files/s]2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0062_1.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0062_1.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0062_2.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0062_2.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0062_3.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0062_3.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0062_4.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0062_4.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0178_1.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0178_1.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0178_2.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0178_3.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0178_3.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0178_4.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0178_4.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0202_1.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0202_1.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0329_3.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0329_3.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0329_4.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0329_4.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0468_1.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0468_1.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0468_2.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0468_2.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0468_3.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0468_3.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0468_4.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0468_4.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0503_1.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0503_1.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0503_2.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0503_2.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0616_1.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0616_1.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0616_2.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0616_2.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0616_3.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0616_3.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0616_4.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0616_4.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0679_1.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0679_1.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0746_1.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_1B_0746_1.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_2A_0075_1.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_2A_0075_1.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_2A_0075_2.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_2A_0075_2.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_2A_0075_3.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_2A_0075_3.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_2A_0075_4.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_2A_0075_4.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_2A_0206_2.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_2A_0206_2.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_2A_0206_3.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_2A_0206_3.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_2A_0206_4.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_2A_0206_4.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_2A_0241_1.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_2A_0241_1.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_2A_0241_2.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_2A_0241_2.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_2A_0241_3.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_2A_0241_3.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_2A_0241_4.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_2A_0241_4.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_2A_0366_1.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_2A_0366_1.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_2A_0366_2.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W25_2A_0366_2.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W26_1A_0204_4.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W26_1A_0204_4.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W26_1A_0240_1.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W26_1A_0240_1.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W26_1A_0240_2.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W26_1A_0240_2.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W26_1A_0240_3.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W26_1A_0240_3.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W26_1A_0240_4.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W26_1A_0240_4.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W26_1A_0298_1.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W26_1A_0298_1.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W26_1A_0298_2.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W26_1A_0298_2.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W26_1A_0553_1.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W26_1A_0553_1.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W26_1A_0553_2.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W26_1A_0553_2.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W26_1A_0553_3.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W26_1A_0553_3.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W26_1A_0553_4.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W26_1A_0553_4.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W26_2A_0026_1.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W26_2A_0026_1.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W26_2A_0026_2.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W26_2A_0026_2.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W26_2A_0026_3.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W26_2A_0026_3.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W26_2A_0026_4.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W26_2A_0026_4.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W26_2A_0142_1.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W26_2A_0142_1.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W26_2A_0142_2.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W26_2A_0142_2.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W26_2A_0142_3.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W26_2A_0142_3.fits - already exists
2026-05-19 17:30:01 - spxquery.core.download - INFO - Skipping 2025W29_2A_0482_1.fits - already exists
2026-05-19 17:30:14 - spxquery.core.download - INFO - Downloaded 2026W02_2A_0220_3 (4.9 MB)
Downloading:  50%|█████     | 109/218 [00:12<00:12,  8.39files/s]2026-05-19 17:30:14 - spxquery.core.download - INFO - Downloaded 2026W02_2A_0220_1 (4.9 MB)
Downloading:  50%|█████     | 110/218 [00:13<00:13,  8.02files/s]2026-05-19 17:30:15 - spxquery.core.download - INFO - Downloaded 2026W02_2A_0220_1 (4.9 MB)
Downloading:  51%|█████     | 111/218 [00:14<00:14,  7.60files/s]2026-05-19 17:30:15 - spxquery.core.download - INFO - Downloaded 2026W02_2A_0220_2 (4.9 MB)
Downloading:  51%|█████▏    | 112/218 [00:14<00:13,  7.58files/s]2026-05-19 17:30:16 - spxquery.core.download - INFO - Downloaded 2026W02_2A_0220_2 (4.9 MB)
Downloading:  52%|█████▏    | 113/218 [00:14<00:15,  6.63files/s]2026-05-19 17:30:27 - spxquery.core.download - INFO - Downloaded 2026W02_2A_0220_4 (4.9 MB)
Downloading:  52%|█████▏    | 114/218 [00:25<01:09,  1.50files/s]2026-05-19 17:30:29 - spxquery.core.download - INFO - Downloaded 2026W02_2A_0238_1 (4.9 MB)
Downloading:  53%|█████▎    | 115/218 [00:27<01:17,  1.32files/s]2026-05-19 17:30:29 - spxquery.core.download - INFO - Downloaded 2026W02_2A_0220_3 (4.9 MB)
Downloading:  53%|█████▎    | 116/218 [00:28<01:12,  1.41files/s]2026-05-19 17:30:29 - spxquery.core.download - INFO - Downloaded 2026W02_2A_0220_4 (4.9 MB)
Downloading:  54%|█████▎    | 117/218 [00:28<01:08,  1.48files/s]2026-05-19 17:30:31 - spxquery.core.download - INFO - Downloaded 2026W02_2A_0238_1 (4.9 MB)
Downloading:  54%|█████▍    | 118/218 [00:30<01:24,  1.18files/s]2026-05-19 17:30:43 - spxquery.core.download - INFO - Downloaded 2026W02_2A_0238_2 (4.9 MB)
Downloading:  55%|█████▍    | 119/218 [00:41<04:09,  2.52s/files]2026-05-19 17:30:44 - spxquery.core.download - INFO - Downloaded 2026W02_2A_0238_3 (4.9 MB)
Downloading:  55%|█████▌    | 120/218 [00:43<03:45,  2.30s/files]2026-05-19 17:30:45 - spxquery.core.download - INFO - Downloaded 2026W02_2A_0238_3 (4.9 MB)
Downloading:  56%|█████▌    | 121/218 [00:43<03:06,  1.93s/files]2026-05-19 17:30:45 - spxquery.core.download - INFO - Downloaded 2026W02_2A_0238_2 (4.9 MB)
Downloading:  56%|█████▌    | 122/218 [00:44<02:36,  1.63s/files]2026-05-19 17:30:46 - spxquery.core.download - INFO - Downloaded 2026W02_2A_0238_4 (4.9 MB)
Downloading:  56%|█████▋    | 123/218 [00:45<02:14,  1.42s/files]2026-05-19 17:30:59 - spxquery.core.download - INFO - Downloaded 2026W02_2A_0238_4 (4.9 MB)
Downloading:  57%|█████▋    | 124/218 [00:58<06:58,  4.45s/files]2026-05-19 17:31:00 - spxquery.core.download - INFO - Downloaded 2026W02_2A_0255_2 (4.9 MB)
Downloading:  57%|█████▋    | 125/218 [00:58<05:16,  3.40s/files]2026-05-19 17:31:01 - spxquery.core.download - INFO - Downloaded 2026W02_2A_0255_1 (4.9 MB)
Downloading:  58%|█████▊    | 126/218 [01:00<04:29,  2.93s/files]2026-05-19 17:31:01 - spxquery.core.download - INFO - Downloaded 2026W02_2A_0255_1 (4.9 MB)
2026-05-19 17:31:03 - spxquery.core.download - INFO - Downloaded 2026W02_2A_0255_2 (4.9 MB)
Downloading:  59%|█████▊    | 128/218 [01:02<03:10,  2.11s/files]2026-05-19 17:31:13 - spxquery.core.download - INFO - Downloaded 2026W02_2A_0255_3 (4.9 MB)
Downloading:  59%|█████▉    | 129/218 [01:12<05:46,  3.90s/files]2026-05-19 17:31:14 - spxquery.core.download - INFO - Downloaded 2026W02_2A_0255_3 (4.9 MB)
Downloading:  60%|█████▉    | 130/218 [01:13<04:42,  3.21s/files]2026-05-19 17:31:15 - spxquery.core.download - INFO - Downloaded 2026W02_2A_0803_1 (4.9 MB)
Downloading:  60%|██████    | 131/218 [01:14<03:54,  2.69s/files]2026-05-19 17:31:16 - spxquery.core.download - INFO - Downloaded 2026W02_2A_0803_1 (4.9 MB)
Downloading:  61%|██████    | 132/218 [01:15<03:00,  2.10s/files]2026-05-19 17:31:17 - spxquery.core.download - INFO - Downloaded 2026W02_2A_0803_2 (4.9 MB)
Downloading:  61%|██████    | 133/218 [01:15<02:24,  1.70s/files]2026-05-19 17:31:24 - spxquery.core.download - INFO - Downloaded 2026W02_2A_0804_2 (4.9 MB)
Downloading:  61%|██████▏   | 134/218 [01:22<04:30,  3.22s/files]2026-05-19 17:31:24 - spxquery.core.download - INFO - Downloaded 2026W02_2A_0804_2 (4.9 MB)
Downloading:  62%|██████▏   | 135/218 [01:23<03:22,  2.44s/files]2026-05-19 17:31:26 - spxquery.core.download - INFO - Downloaded 2026W02_2A_0803_2 (4.9 MB)
Downloading:  62%|██████▏   | 136/218 [01:25<03:12,  2.34s/files]2026-05-19 17:31:27 - spxquery.core.download - INFO - Downloaded 2026W02_2A_0804_1 (4.9 MB)
Downloading:  63%|██████▎   | 137/218 [01:26<02:34,  1.91s/files]2026-05-19 17:31:28 - spxquery.core.download - INFO - Downloaded 2026W02_2A_0804_1 (4.9 MB)
Downloading:  63%|██████▎   | 138/218 [01:26<01:55,  1.44s/files]2026-05-19 17:31:35 - spxquery.core.download - INFO - Downloaded 2026W03_1A_0013_1 (4.9 MB)
Downloading:  64%|██████▍   | 139/218 [01:34<04:25,  3.36s/files]2026-05-19 17:31:36 - spxquery.core.download - INFO - Downloaded 2026W03_1A_0013_1 (4.9 MB)
Downloading:  64%|██████▍   | 140/218 [01:35<03:22,  2.59s/files]2026-05-19 17:31:41 - spxquery.core.download - INFO - Downloaded 2026W03_1A_0014_1 (4.9 MB)
Downloading:  65%|██████▍   | 141/218 [01:39<04:00,  3.12s/files]2026-05-19 17:31:41 - spxquery.core.download - INFO - Downloaded 2026W03_1A_0014_1 (4.9 MB)
2026-05-19 17:31:44 - spxquery.core.download - INFO - Downloaded 2026W03_1A_0030_1 (4.9 MB)
Downloading:  66%|██████▌   | 143/218 [01:43<03:06,  2.49s/files]2026-05-19 17:31:52 - spxquery.core.download - INFO - Downloaded 2026W03_1A_0050_1 (4.9 MB)
Downloading:  66%|██████▌   | 144/218 [01:51<04:39,  3.77s/files]2026-05-19 17:31:52 - spxquery.core.download - INFO - Downloaded 2026W03_1A_0030_1 (4.9 MB)
Downloading:  67%|██████▋   | 145/218 [01:51<03:25,  2.82s/files]2026-05-19 17:31:55 - spxquery.core.download - INFO - Downloaded 2026W03_1A_0050_1 (4.9 MB)
Downloading:  67%|██████▋   | 146/218 [01:54<03:25,  2.86s/files]2026-05-19 17:31:57 - spxquery.core.download - INFO - Downloaded 2026W03_1A_0050_2 (4.9 MB)
Downloading:  67%|██████▋   | 147/218 [01:56<03:18,  2.80s/files]2026-05-19 17:31:59 - spxquery.core.download - INFO - Downloaded 2026W03_1A_0050_2 (4.9 MB)
Downloading:  68%|██████▊   | 148/218 [01:58<03:00,  2.58s/files]2026-05-19 17:32:08 - spxquery.core.download - INFO - Downloaded 2026W03_1A_0050_3 (4.9 MB)
Downloading:  68%|██████▊   | 149/218 [02:06<04:47,  4.17s/files]2026-05-19 17:32:08 - spxquery.core.download - INFO - Downloaded 2026W03_1A_0050_3 (4.9 MB)
2026-05-19 17:32:11 - spxquery.core.download - INFO - Downloaded 2026W03_1A_0050_4 (4.9 MB)
Downloading:  69%|██████▉   | 151/218 [02:09<03:19,  2.98s/files]2026-05-19 17:32:14 - spxquery.core.download - INFO - Downloaded 2026W03_1A_0050_4 (4.9 MB)
Downloading:  70%|██████▉   | 152/218 [02:12<03:15,  2.96s/files]2026-05-19 17:32:16 - spxquery.core.download - INFO - Downloaded 2026W03_1A_0066_1 (4.9 MB)
Downloading:  70%|███████   | 153/218 [02:15<03:04,  2.83s/files]2026-05-19 17:32:19 - spxquery.core.download - INFO - Downloaded 2026W03_1A_0100_2 (4.9 MB)
Downloading:  71%|███████   | 154/218 [02:18<03:00,  2.81s/files]2026-05-19 17:32:21 - spxquery.core.download - INFO - Downloaded 2026W03_1A_0100_2 (4.9 MB)
Downloading:  71%|███████   | 155/218 [02:20<02:45,  2.63s/files]2026-05-19 17:32:25 - spxquery.core.download - INFO - Downloaded 2026W03_1A_0574_1 (4.9 MB)
Downloading:  72%|███████▏  | 156/218 [02:23<03:02,  2.94s/files]2026-05-19 17:32:26 - spxquery.core.download - INFO - Downloaded 2026W03_1A_0574_1 (4.9 MB)
Downloading:  72%|███████▏  | 157/218 [02:24<02:22,  2.34s/files]2026-05-19 17:32:26 - spxquery.core.download - INFO - Downloaded 2026W03_1A_0066_1 (4.9 MB)
Downloading:  72%|███████▏  | 158/218 [02:25<01:44,  1.73s/files]2026-05-19 17:32:32 - spxquery.core.download - INFO - Downloaded 2026W03_1A_0574_2 (4.9 MB)
Downloading:  73%|███████▎  | 159/218 [02:31<03:04,  3.12s/files]2026-05-19 17:32:38 - spxquery.core.download - INFO - Downloaded 2026W03_1A_0574_2 (4.9 MB)
Downloading:  73%|███████▎  | 160/218 [02:37<03:48,  3.94s/files]2026-05-19 17:32:43 - spxquery.core.download - INFO - Downloaded 2026W03_1A_0574_3 (4.9 MB)
Downloading:  74%|███████▍  | 161/218 [02:42<03:58,  4.19s/files]2026-05-19 17:32:43 - spxquery.core.download - INFO - Downloaded 2026W03_1A_0574_3 (4.9 MB)
2026-05-19 17:32:47 - spxquery.core.download - INFO - Downloaded 2026W03_1A_0574_4 (4.9 MB)
Downloading:  75%|███████▍  | 163/218 [02:45<02:50,  3.10s/files]2026-05-19 17:32:48 - spxquery.core.download - INFO - Downloaded 2026W03_1A_0574_4 (4.9 MB)
Downloading:  75%|███████▌  | 164/218 [02:46<02:21,  2.62s/files]2026-05-19 17:32:53 - spxquery.core.download - INFO - Downloaded 2026W03_1A_0634_1 (4.9 MB)
Downloading:  76%|███████▌  | 165/218 [02:52<02:55,  3.31s/files]2026-05-19 17:32:55 - spxquery.core.download - INFO - Downloaded 2026W03_1A_0634_1 (4.9 MB)
Downloading:  76%|███████▌  | 166/218 [02:54<02:38,  3.05s/files]2026-05-19 17:32:56 - spxquery.core.download - INFO - Downloaded 2026W03_1A_0634_2 (4.9 MB)
Downloading:  77%|███████▋  | 167/218 [02:55<02:05,  2.46s/files]2026-05-19 17:33:00 - spxquery.core.download - INFO - Downloaded 2026W03_1A_0634_2 (4.9 MB)
Downloading:  77%|███████▋  | 168/218 [02:59<02:22,  2.84s/files]2026-05-19 17:33:01 - spxquery.core.download - INFO - Downloaded 2026W03_1A_0634_3 (4.9 MB)
Downloading:  78%|███████▊  | 169/218 [03:00<01:49,  2.24s/files]2026-05-19 17:33:07 - spxquery.core.download - INFO - Downloaded 2026W03_1A_0634_3 (4.9 MB)
Downloading:  78%|███████▊  | 170/218 [03:06<02:48,  3.51s/files]2026-05-19 17:33:10 - spxquery.core.download - INFO - Downloaded 2026W03_2A_0061_3 (4.9 MB)
Downloading:  78%|███████▊  | 171/218 [03:09<02:32,  3.25s/files]2026-05-19 17:33:12 - spxquery.core.download - INFO - Downloaded 2026W03_2A_0061_3 (4.9 MB)
Downloading:  79%|███████▉  | 172/218 [03:10<02:06,  2.74s/files]2026-05-19 17:33:16 - spxquery.core.download - INFO - Downloaded 2026W03_2A_0061_4 (4.9 MB)
Downloading:  79%|███████▉  | 173/218 [03:15<02:27,  3.27s/files]2026-05-19 17:33:16 - spxquery.core.download - INFO - Downloaded 2026W03_2A_0061_4 (4.9 MB)
2026-05-19 17:33:20 - spxquery.core.download - INFO - Downloaded 2026W03_2A_0316_1 (4.9 MB)
Downloading:  80%|████████  | 175/218 [03:19<01:59,  2.78s/files]2026-05-19 17:33:26 - spxquery.core.download - INFO - Downloaded 2026W03_2A_0316_1 (4.9 MB)
Downloading:  81%|████████  | 176/218 [03:25<02:22,  3.40s/files]2026-05-19 17:33:27 - spxquery.core.download - INFO - Downloaded 2026W03_2A_0316_2 (4.9 MB)
Downloading:  81%|████████  | 177/218 [03:26<01:58,  2.89s/files]2026-05-19 17:33:30 - spxquery.core.download - INFO - Downloaded 2026W03_2A_0316_3 (4.9 MB)
Downloading:  82%|████████▏ | 178/218 [03:29<01:56,  2.91s/files]2026-05-19 17:33:31 - spxquery.core.download - INFO - Downloaded 2026W03_2A_0316_2 (4.9 MB)
Downloading:  82%|████████▏ | 179/218 [03:30<01:29,  2.29s/files]2026-05-19 17:33:34 - spxquery.core.download - INFO - Downloaded 2026W03_2A_0316_3 (4.9 MB)
Downloading:  83%|████████▎ | 180/218 [03:33<01:39,  2.61s/files]2026-05-19 17:33:37 - spxquery.core.download - INFO - Downloaded 2026W03_2A_0316_4 (4.9 MB)
Downloading:  83%|████████▎ | 181/218 [03:36<01:38,  2.66s/files]2026-05-19 17:33:37 - spxquery.core.download - INFO - Downloaded 2026W03_2A_0316_4 (4.9 MB)
2026-05-19 17:33:41 - spxquery.core.download - INFO - Downloaded 2026W03_2A_0544_1 (4.9 MB)
Downloading:  84%|████████▍ | 183/218 [03:40<01:23,  2.39s/files]2026-05-19 17:33:45 - spxquery.core.download - INFO - Downloaded 2026W03_2A_0544_1 (4.9 MB)
Downloading:  84%|████████▍ | 184/218 [03:44<01:34,  2.79s/files]2026-05-19 17:33:48 - spxquery.core.download - INFO - Downloaded 2026W03_2A_0544_2 (4.9 MB)
Downloading:  85%|████████▍ | 185/218 [03:47<01:30,  2.74s/files]2026-05-19 17:33:48 - spxquery.core.download - INFO - Downloaded 2026W03_2A_0544_2 (4.9 MB)
Downloading:  85%|████████▌ | 186/218 [03:47<01:08,  2.13s/files]2026-05-19 17:33:49 - spxquery.core.download - INFO - Downloaded 2026W03_2A_0570_1 (4.9 MB)
Downloading:  86%|████████▌ | 187/218 [03:48<00:57,  1.86s/files]2026-05-19 17:33:54 - spxquery.core.download - INFO - Downloaded 2026W03_2A_0570_1 (4.9 MB)
Downloading:  86%|████████▌ | 188/218 [03:53<01:19,  2.64s/files]2026-05-19 17:33:58 - spxquery.core.download - INFO - Downloaded 2026W04_1A_0529_1 (4.9 MB)
Downloading:  87%|████████▋ | 189/218 [03:57<01:28,  3.05s/files]2026-05-19 17:34:00 - spxquery.core.download - INFO - Downloaded 2026W04_1A_0529_2 (4.9 MB)
Downloading:  87%|████████▋ | 190/218 [03:58<01:13,  2.62s/files]2026-05-19 17:34:00 - spxquery.core.download - INFO - Downloaded 2026W04_1A_0529_1 (4.9 MB)
Downloading:  88%|████████▊ | 191/218 [03:59<00:53,  1.98s/files]2026-05-19 17:34:02 - spxquery.core.download - INFO - Downloaded 2026W04_1A_0529_2 (4.9 MB)
Downloading:  88%|████████▊ | 192/218 [04:00<00:48,  1.85s/files]2026-05-19 17:34:06 - spxquery.core.download - INFO - Downloaded 2026W04_2A_0029_1 (4.9 MB)
Downloading:  89%|████████▊ | 193/218 [04:04<01:01,  2.45s/files]2026-05-19 17:34:09 - spxquery.core.download - INFO - Downloaded 2026W04_2A_0029_1 (4.9 MB)
Downloading:  89%|████████▉ | 194/218 [04:08<01:09,  2.90s/files]2026-05-19 17:34:13 - spxquery.core.download - INFO - Downloaded 2026W04_2A_0108_1 (4.9 MB)
Downloading:  89%|████████▉ | 195/218 [04:11<01:08,  2.98s/files]2026-05-19 17:34:15 - spxquery.core.download - INFO - Downloaded 2026W04_2A_0108_1 (4.9 MB)
Downloading:  90%|████████▉ | 196/218 [04:14<01:01,  2.79s/files]2026-05-19 17:34:17 - spxquery.core.download - INFO - Downloaded 2026W04_2A_0108_2 (4.9 MB)
Downloading:  90%|█████████ | 197/218 [04:15<00:51,  2.45s/files]2026-05-19 17:34:19 - spxquery.core.download - INFO - Downloaded 2026W04_2A_0108_2 (4.9 MB)
Downloading:  91%|█████████ | 198/218 [04:17<00:46,  2.30s/files]2026-05-19 17:34:23 - spxquery.core.download - INFO - Downloaded 2026W04_2A_0108_3 (4.9 MB)
Downloading:  91%|█████████▏| 199/218 [04:22<00:55,  2.91s/files]2026-05-19 17:34:25 - spxquery.core.download - INFO - Downloaded 2026W04_2A_0108_3 (4.9 MB)
Downloading:  92%|█████████▏| 200/218 [04:24<00:49,  2.75s/files]2026-05-19 17:34:28 - spxquery.core.download - INFO - Downloaded 2026W04_2A_0108_4 (4.9 MB)
Downloading:  92%|█████████▏| 201/218 [04:26<00:44,  2.60s/files]2026-05-19 17:34:30 - spxquery.core.download - INFO - Downloaded 2026W04_2A_0108_4 (4.9 MB)
Downloading:  93%|█████████▎| 202/218 [04:29<00:42,  2.67s/files]2026-05-19 17:34:33 - spxquery.core.download - INFO - Downloaded 2026W04_2A_0476_1 (4.9 MB)
Downloading:  93%|█████████▎| 203/218 [04:32<00:41,  2.76s/files]2026-05-19 17:34:39 - spxquery.core.download - INFO - Downloaded 2026W04_2A_0476_1 (4.9 MB)
Downloading:  94%|█████████▎| 204/218 [04:38<00:50,  3.57s/files]2026-05-19 17:34:42 - spxquery.core.download - INFO - Downloaded 2026W04_2A_0476_2 (4.9 MB)
Downloading:  94%|█████████▍| 205/218 [04:41<00:46,  3.57s/files]2026-05-19 17:34:44 - spxquery.core.download - INFO - Downloaded 2026W04_2A_0476_2 (4.9 MB)
Downloading:  94%|█████████▍| 206/218 [04:43<00:35,  2.95s/files]2026-05-19 17:34:48 - spxquery.core.download - INFO - Downloaded 2026W04_2A_0476_3 (4.9 MB)
Downloading:  95%|█████████▍| 207/218 [04:47<00:35,  3.21s/files]2026-05-19 17:34:48 - spxquery.core.download - INFO - Downloaded 2026W04_2A_0476_3 (4.9 MB)
Downloading:  95%|█████████▌| 208/218 [04:47<00:22,  2.29s/files]2026-05-19 17:34:53 - spxquery.core.download - INFO - Downloaded 2026W04_2A_0476_4 (4.9 MB)
Downloading:  96%|█████████▌| 209/218 [04:52<00:28,  3.18s/files]2026-05-19 17:34:58 - spxquery.core.download - INFO - Downloaded 2026W04_2A_0476_4 (4.9 MB)
Downloading:  96%|█████████▋| 210/218 [04:57<00:29,  3.67s/files]2026-05-19 17:34:59 - spxquery.core.download - INFO - Downloaded 2026W04_2A_0657_2 (4.9 MB)
Downloading:  97%|█████████▋| 211/218 [04:58<00:21,  3.03s/files]2026-05-19 17:35:02 - spxquery.core.download - INFO - Downloaded 2026W04_2A_0657_3 (4.9 MB)
Downloading:  97%|█████████▋| 212/218 [05:01<00:17,  2.98s/files]2026-05-19 17:35:03 - spxquery.core.download - INFO - Downloaded 2026W04_2A_0657_2 (4.9 MB)
Downloading:  98%|█████████▊| 213/218 [05:02<00:12,  2.43s/files]2026-05-19 17:35:11 - spxquery.core.download - INFO - Downloaded 2026W04_2A_0657_3 (4.9 MB)
Downloading:  98%|█████████▊| 214/218 [05:10<00:16,  4.02s/files]2026-05-19 17:35:13 - spxquery.core.download - INFO - Downloaded 2026W05_1A_0196_1 (4.9 MB)
Downloading:  99%|█████████▊| 215/218 [05:12<00:10,  3.48s/files]2026-05-19 17:35:14 - spxquery.core.download - INFO - Downloaded 2026W05_1A_0196_1 (4.9 MB)
Downloading:  99%|█████████▉| 216/218 [05:13<00:05,  2.64s/files]2026-05-19 17:35:20 - spxquery.core.download - INFO - Downloaded 2026W05_1A_0196_2 (4.9 MB)
Downloading: 100%|█████████▉| 217/218 [05:19<00:03,  3.56s/files]2026-05-19 17:35:20 - spxquery.core.download - INFO - Downloaded 2026W05_1A_0196_2 (4.9 MB)
Downloading: 100%|██████████| 218/218 [05:19<00:00,  1.46s/files]
2026-05-19 17:35:20 - spxquery.core.download - INFO - Download complete: 218 successful, 0 failed
2026-05-19 17:35:20 - spxquery.core.download - INFO - Total size: 555.5 MB
2026-05-19 17:35:20 - spxquery.core.pipeline - INFO - Downloaded 218 files
2026-05-19 17:35:20 - spxquery.core.pipeline - INFO - Total data size: 0.00 GB (estimated) → 0.54 GB (actual)
2026-05-19 17:35:20 - spxquery.core.pipeline - INFO - Marked stage 'download' as complete
2026-05-19 17:35:20 - spxquery.core.pipeline - INFO - Saved pipeline state: stage=processing, completed=['query', 'download']
2026-05-19 17:35:20 - spxquery.core.pipeline - INFO - Running processing stage
2026-05-19 17:35:20 - spxquery.core.pipeline - INFO - Processing 218 FITS files
2026-05-19 17:35:20 - spxquery.processing.photometry - INFO - Processing photometry for 218 observations
2026-05-19 17:35:20 - spxquery.processing.photometry - INFO - Using multiprocessing with 10 workers

============================================================
Download Summary
============================================================
Total files: 218
Successful: 218
Failed: 0
Total downloaded: 555.5 MB (0.54 GB)
============================================================

Processing observations:  37%|███▋      | 81/218 [00:01<00:01, 93.34files/s]Background window [4:55, -2:49] exceeds image boundaries, clipped to [4:55, 0:49]
Processing observations:  56%|█████▌    | 121/218 [00:01<00:00, 137.84files/s]Insufficient background pixels for zodiacal estimation (1621/3600 = 45.0% < 50.0%) - using fallback scale factor 1.0
Processing observations:  71%|███████   | 154/218 [00:01<00:00, 166.44files/s]Insufficient background pixels for zodiacal estimation (0/3600 = 0.0% < 50.0%) - using fallback scale factor 1.0
Insufficient usable pixels with strict masking: 0/10 required. Trying with relaxed masking (exclude_bad_only=False).
Insufficient usable pixels in background window even with relaxed masking: 0/10 required (window: 50×50, aperture_radius: 1.1)
Background estimation failed for 2026W03_2A_0316_4.fits - dropping observation
Background window [4:55, -2:49] exceeds image boundaries, clipped to [4:55, 0:49]
Processing observations: 100%|██████████| 218/218 [00:01<00:00, 112.08files/s]
2026-05-19 17:35:22 - spxquery.processing.photometry - INFO - Successfully processed 217 observations
2026-05-19 17:35:22 - spxquery.processing.lightcurve - INFO - Generated light curve with 217 measurements
2026-05-19 17:35:22 - spxquery.processing.lightcurve - INFO - Saved light curve to demo_data/cloverleaf/results/lightcurve.csv
2026-05-19 17:35:22 - spxquery.core.pipeline - INFO - Marked stage 'processing' as complete
2026-05-19 17:35:22 - spxquery.core.pipeline - INFO - Saved pipeline state: stage=visualization, completed=['query', 'download', 'processing']
2026-05-19 17:35:22 - spxquery.core.pipeline - INFO - Running visualization stage
2026-05-19 17:35:22 - spxquery.core.pipeline - INFO - Filtered photometry results by bands ['D1', 'D2', 'D3', 'D4', 'D5', 'D6']: 217 -> 217 measurements
2026-05-19 17:35:22 - spxquery.visualization.plots - INFO - Quality filtering: 217 total points (206 good, 11 rejected - shown as crosses)
2026-05-19 17:35:22 - spxquery.visualization.plots - INFO - Sigma clipping: 217 -> 217 measurements (0 outliers removed)

============================================================
Light Curve Summary
============================================================
Total observations: 217
Time span: 224.6 days
MJD range: 60842.27 - 61066.92
Wavelength range: 0.75 - 5.00 μm
Number of bands: 6
Upper limits: 0
Mean SNR: 25.1

Observations per band:
  D1: 36
  D2: 36
  D3: 36
  D4: 36
  D5: 36
  D6: 37
============================================================

2026-05-19 17:35:22 - spxquery.visualization.plots - INFO - Sigma clipping: 217 -> 217 measurements (0 outliers removed)
2026-05-19 17:35:23 - spxquery.visualization.plots - INFO - Saved combined plot to demo_data/cloverleaf/results/combined_plot.png
2026-05-19 17:35:23 - spxquery.core.pipeline - INFO - Marked stage 'visualization' as complete
2026-05-19 17:35:23 - spxquery.core.pipeline - INFO - Saved pipeline state: stage=complete, completed=['query', 'download', 'processing', 'visualization']
2026-05-19 17:35:23 - spxquery.core.pipeline - INFO - Visualization saved to demo_data/cloverleaf/results/combined_plot.png
2026-05-19 17:35:23 - spxquery.core.pipeline - INFO - Saved pipeline state: stage=complete, completed=['query', 'download', 'processing', 'visualization']
2026-05-19 17:35:23 - spxquery.core.pipeline - INFO - Pipeline execution complete

To run pipeline, uncomment the last two lines above.
../_images/tutorials_quickstart_demo_13_10.png

Option A: One-Click Resume

The simplest way - let the pipeline automatically run all remaining stages.

[8]:
# Uncomment to run one-click resume:
pipeline_resumed = SPXQueryPipeline(AdvancedConfig.from_yaml_file(output_dir / "cloverleaf.yaml"))
pipeline_resumed.resume(skip_existing_downloads=True)
print("\nFinal status after resume:")
pipeline_resumed.print_status()

print("To use one-click resume, uncomment the lines above.")
print("This will automatically complete all remaining stages.")
2026-05-19 17:41:21 - spxquery.core.config - INFO - Loaded advanced parameters from demo_data/cloverleaf/cloverleaf.yaml
2026-05-19 17:41:21 - spxquery.core.pipeline - INFO - Initialized pipeline for source at RA=213.942708, Dec=11.495389
2026-05-19 17:41:21 - spxquery.core.pipeline - INFO - Pipeline stages: ['query', 'download', 'processing', 'visualization']
2026-05-19 17:41:21 - spxquery.core.pipeline - INFO - State file: cloverleaf.yaml
2026-05-19 17:41:21 - spxquery.core.pipeline - INFO - Loaded pipeline state: stage=complete, completed=['query', 'download', 'processing', 'visualization']
2026-05-19 17:41:21 - spxquery.core.pipeline - INFO - Resuming from saved state
2026-05-19 17:41:21 - spxquery.core.pipeline - INFO - All stages already complete

Pipeline Status:
  Completed stages: ['query', 'download', 'processing', 'visualization']
  Pending stages: None
  Current stage: complete


Final status after resume:

Pipeline Status:
  Completed stages: ['query', 'download', 'processing', 'visualization']
  Pending stages: None
  Current stage: complete

To use one-click resume, uncomment the lines above.
This will automatically complete all remaining stages.

Option B: Step-by-Step Manual Execution

Run each remaining stage manually for more control.

[9]:
# Check what stages still need to be run
print("Checking which stages remain...")
print(f"\nCompleted stages: {pipeline_resumed.state.completed_stages}")
print(f"Pipeline stages: {pipeline_resumed.config.pipeline_stages}")

remaining = [s for s in pipeline_resumed.config.pipeline_stages if s not in pipeline_resumed.state.completed_stages]
print(f"\nRemaining stages: {remaining if remaining else 'None - all complete!'}")

print("\n✓ Pipeline stages now in AdvancedConfig (not PipelineState)")
print("  - No duplicate entries in YAML file")
print("  - Accessible via: pipeline.config.pipeline_stages")
Checking which stages remain...

Completed stages: ['query', 'download', 'processing', 'visualization']
Pipeline stages: ['query', 'download', 'processing', 'visualization']

Remaining stages: None - all complete!

✓ Pipeline stages now in AdvancedConfig (not PipelineState)
  - No duplicate entries in YAML file
  - Accessible via: pipeline.config.pipeline_stages
[10]:
# Step 1: Download (if not already completed)
if "download" in pipeline_resumed.state.completed_stages:
    print("✓ Download stage already completed. Skipping.")
else:
    print("\nRunning download stage...")
    pipeline_resumed.run_download(skip_existing=True)
    print("\n✓ Download complete!")
    pipeline_resumed.print_status()
✓ Download stage already completed. Skipping.
[11]:
# Step 2: Processing (if not already completed)
if "processing" in pipeline_resumed.state.completed_stages:
    print("✓ Processing stage already completed. Skipping.")
else:
    print("\nRunning processing stage...")
    pipeline_resumed.run_processing()
    print("\n✓ Processing complete!")
    pipeline_resumed.print_status()
✓ Processing stage already completed. Skipping.
[12]:
# Step 3: Visualization (if not already completed)
if "visualization" in pipeline_resumed.state.completed_stages:
    print("✓ Visualization stage already completed. Skipping.")
else:
    print("\nRunning visualization stage...")
    pipeline_resumed.run_visualization()
    print("\n✓ Visualization complete!")
    pipeline_resumed.print_status()

print("\n" + "=" * 70)
print("ALL STAGES COMPLETE!")
print("=" * 70)
✓ Visualization stage already completed. Skipping.

======================================================================
ALL STAGES COMPLETE!
======================================================================

View Results

After running the pipeline, results are saved in the output directory.

[13]:
# Display the light curve plot
import pandas as pd
from IPython.display import Image, display

# Show plot from the one-click example
plot_path = output_dir / "results" / "combined_plot.png"
if plot_path.exists():
    print("\nLight curve plot:")
    display(Image(filename=str(plot_path)))
else:
    print(f"Plot not found at {plot_path}")

Light curve plot:
../_images/tutorials_quickstart_demo_22_1.png

Background and Aperture Method Comparison

[14]:
# Display the light curve data
csv_path = output_dir / "results" / "lightcurve.csv"
if csv_path.exists():
    df = pd.read_csv(csv_path, comment="#")
    print("\nLight curve data (first 10 rows):")
    display(df.head(10))
    print(f"\nTotal measurements: {len(df)}")
else:
    print(f"CSV not found at {csv_path}")

Light curve data (first 10 rows):
obs_id mjd flux flux_error mag_ab mag_ab_error wavelength bandwidth band flag flag_binary pix_x pix_y is_upper_limit snr
0 2025W25_1B_0062_1 60842.269794 1089.093859 39.851227 16.307337 0.039728 1.941146 0.047597 D3 2097152 1000000000000000000000 29.239263 29.927626 False 27.328992
1 2025W25_1B_0062_1 60842.269794 3452.445778 152.320799 15.054683 0.047902 4.660034 0.036682 D6 2097152 1000000000000000000000 29.577005 29.839928 False 22.665623
2 2025W25_1B_0062_2 60842.271286 3328.733891 154.367277 15.094302 0.050350 4.694237 0.036818 D6 2097152 1000000000000000000000 29.436455 29.968734 False 21.563727
3 2025W25_1B_0062_2 60842.271286 1111.192159 40.484140 16.285527 0.039557 1.986221 0.049049 D3 2097152 1000000000000000000000 29.239724 29.032751 False 27.447592
4 2025W25_1B_0062_3 60842.272779 1059.285046 40.073555 16.337468 0.041074 2.031946 0.050662 D3 2097152 1000000000000000000000 29.789633 29.144533 False 26.433519
5 2025W25_1B_0062_3 60842.272779 3701.830277 167.186553 14.978959 0.049035 4.728453 0.036660 D6 2097152 1000000000000000000000 29.690867 29.258618 False 22.141914
6 2025W25_1B_0062_4 60842.274271 1254.803623 84.854982 16.153561 0.073422 2.079288 0.052247 D3 2097157 1000000000000000000101 29.041269 29.242490 False 14.787625
7 2025W25_1B_0062_4 60842.274271 3599.542844 158.374631 15.009382 0.047771 4.762672 0.036502 D6 2097152 1000000000000000000000 29.758518 29.527838 False 22.728027
8 2025W25_1B_0178_1 60842.882044 1310.057482 43.035318 16.106774 0.035666 2.176754 0.054898 D3 2097152 1000000000000000000000 29.427420 29.189553 False 30.441450
9 2025W25_1B_0178_1 60842.882044 3840.086981 171.008625 14.939147 0.048351 4.831608 0.037045 D6 2097152 1000000000000000000000 29.659934 29.756718 False 22.455516

Total measurements: 217

Background Method Comparison (NEW in v0.2.1)

SPXQuery v0.2.1 introduces two methods for local background estimation:

Annulus Method (Traditional)

  • Uses an annular region around the source aperture

  • Inner radius offset from aperture edge

  • Outer radius determined by minimum area requirement

  • Best for isolated sources in sparse fields

Window Method (NEW)

  • Uses a rectangular window centered on the source

  • Automatically excludes pixels intersecting the aperture

  • Simpler geometry, easier to visualize

  • More robust in crowded fields or near image edges

Below we demonstrate both methods and compare their results.

Recommendations

When to use Annulus method:

  • Isolated point sources in sparse fields

  • When local background varies smoothly

  • Traditional aperture photometry workflows

When to use Window method:

  • Crowded fields with nearby sources

  • Sources near image edges or defects

  • When you want simpler background geometry

  • Faster computation (simpler geometry)

Configuration tip: Save your preferred method in a YAML template for consistent analysis!

[15]:
# Setup: Create configurations for both background methods
from spxquery.core.config import PhotometryConfig, AdvancedConfig
import pandas as pd
import matplotlib.pyplot as plt

# Configuration with annulus background (default)
advanced_annulus = AdvancedConfig.from_yaml_file(output_dir / "cloverleaf.yaml")
advanced_annulus.update(
    aperture_method="fixed", aperture_diameter=2.0, background_method="annulus", annulus_inner_offset=1.414
)

# Configuration with window background (NEW)
advanced_window = AdvancedConfig.from_yaml_file(output_dir / "cloverleaf.yaml")
advanced_window.update(aperture_method="fixed", aperture_diameter=2.0, background_method="window", window_size=50)

print("✓ Configurations created:")
print(f"  Annulus: method={advanced_annulus.photometry.background_method}")
print(f"  Window: method={advanced_window.photometry.background_method}, size={advanced_window.photometry.window_size}")
2026-05-19 17:41:21 - spxquery.core.config - INFO - Loaded advanced parameters from demo_data/cloverleaf/cloverleaf.yaml
2026-05-19 17:41:21 - spxquery.core.config - INFO - Updated parameters: ['aperture_method', 'aperture_diameter', 'background_method', 'annulus_inner_offset']
2026-05-19 17:41:22 - spxquery.core.config - INFO - Loaded advanced parameters from demo_data/cloverleaf/cloverleaf.yaml
2026-05-19 17:41:22 - spxquery.core.config - INFO - Updated parameters: ['aperture_method', 'aperture_diameter', 'background_method', 'window_size']
✓ Configurations created:
  Annulus: method=annulus
  Window: method=window, size=50
[16]:
# Demo 1: Run pipeline with annulus background
config_annulus = SPXQueryPipeline(advanced_annulus)
config_annulus.run_full_pipeline(skip_existing_downloads=True)
df_annulus = pd.read_csv(output_dir / "results/lightcurve.csv", comment="#")
print("Annulus method configuration ready.")
print("Uncomment the code above to run the pipeline.")
2026-05-19 17:41:22 - spxquery.core.pipeline - INFO - Initialized pipeline for source at RA=213.942708, Dec=11.495389
2026-05-19 17:41:22 - spxquery.core.pipeline - INFO - Pipeline stages: ['query', 'download', 'processing', 'visualization']
2026-05-19 17:41:22 - spxquery.core.pipeline - INFO - State file: cloverleaf.yaml
2026-05-19 17:41:22 - spxquery.core.pipeline - INFO - Starting full pipeline execution
2026-05-19 17:41:22 - spxquery.core.pipeline - INFO - Pipeline stages: ['query', 'download', 'processing', 'visualization']
2026-05-19 17:41:22 - spxquery.core.pipeline - INFO - Running query stage
2026-05-19 17:41:22 - spxquery.core.query - INFO - Querying SPHEREx observations for source at RA=213.942708, Dec=11.495389
2026-05-19 17:41:27 - spxquery.core.query - INFO - Found 218 observations (6 bands, 225 days span)
2026-05-19 17:41:27 - spxquery.core.pipeline - INFO - Marked stage 'query' as complete
2026-05-19 17:41:27 - spxquery.core.pipeline - INFO - Saved pipeline state: stage=download, completed=['query']
2026-05-19 17:41:27 - spxquery.core.pipeline - INFO - Running download stage (skip_existing=True)
2026-05-19 17:41:27 - spxquery.core.download - INFO - Starting parallel download of 218 files
2026-05-19 17:41:27 - spxquery.core.download - INFO - Download settings: timeout=300s, retries=3, workers=5

============================================================
SPHEREx Archive Search Results
============================================================
Source: RA=213.942708, Dec=11.495389
        Name: cloverleaf
Query time: 2026-05-19 17:41:27

Total observations found: 218

Observations by band:
  D1 (0.75-1.09 μm):  36 observations
  D2 (1.10-1.62 μm):  36 observations
  D3 (1.63-2.41 μm):  37 observations
  D4 (2.42-3.82 μm):  36 observations
  D5 (3.83-4.41 μm):  36 observations
  D6 (4.42-5.00 μm):  37 observations

Time span: 224.6 days
Total data volume: 0.00 GB
============================================================

Downloading:   0%|          | 0/218 [00:00<?, ?files/s]2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0062_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0062_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0062_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0062_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0062_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0062_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0062_4.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0062_4.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0178_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0178_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0178_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0178_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0178_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0178_4.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0178_4.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0202_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0202_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0329_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0329_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0329_4.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0329_4.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0468_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0468_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0468_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0468_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0468_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0468_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0468_4.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0468_4.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0503_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0503_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0503_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0503_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0616_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0616_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0616_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0616_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0616_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0616_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0616_4.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0616_4.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0679_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0679_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0746_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_1B_0746_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_2A_0075_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_2A_0075_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_2A_0075_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_2A_0075_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_2A_0075_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_2A_0075_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_2A_0075_4.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_2A_0075_4.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_2A_0206_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_2A_0206_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_2A_0206_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_2A_0206_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_2A_0206_4.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_2A_0206_4.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_2A_0241_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_2A_0241_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_2A_0241_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_2A_0241_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_2A_0241_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_2A_0241_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_2A_0241_4.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_2A_0241_4.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_2A_0366_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_2A_0366_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_2A_0366_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W25_2A_0366_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W26_1A_0204_4.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W26_1A_0204_4.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W26_1A_0240_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W26_1A_0240_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W26_1A_0240_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W26_1A_0240_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W26_1A_0240_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W26_1A_0240_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W26_1A_0240_4.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W26_1A_0240_4.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W26_1A_0298_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W26_1A_0298_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W26_1A_0298_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W26_1A_0298_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W26_1A_0553_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W26_1A_0553_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W26_1A_0553_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W26_1A_0553_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W26_1A_0553_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W26_1A_0553_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W26_1A_0553_4.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W26_1A_0553_4.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W26_2A_0026_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W26_2A_0026_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W26_2A_0026_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W26_2A_0026_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W26_2A_0026_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W26_2A_0026_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W26_2A_0026_4.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W26_2A_0026_4.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W26_2A_0142_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W26_2A_0142_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W26_2A_0142_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W26_2A_0142_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W26_2A_0142_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W26_2A_0142_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2025W29_2A_0482_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W02_2A_0220_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W02_2A_0220_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W02_2A_0220_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W02_2A_0220_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W02_2A_0220_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W02_2A_0220_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W02_2A_0220_4.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W02_2A_0220_4.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W02_2A_0238_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W02_2A_0238_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W02_2A_0238_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W02_2A_0238_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W02_2A_0238_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W02_2A_0238_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W02_2A_0238_4.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W02_2A_0238_4.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W02_2A_0255_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W02_2A_0255_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W02_2A_0255_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W02_2A_0255_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W02_2A_0255_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W02_2A_0255_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W02_2A_0803_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W02_2A_0803_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W02_2A_0803_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W02_2A_0803_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W02_2A_0804_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W02_2A_0804_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W02_2A_0804_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W02_2A_0804_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_1A_0013_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_1A_0013_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_1A_0014_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_1A_0014_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_1A_0030_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_1A_0030_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_1A_0050_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_1A_0050_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_1A_0050_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_1A_0050_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_1A_0050_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_1A_0050_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_1A_0050_4.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_1A_0050_4.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_1A_0066_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_1A_0066_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_1A_0100_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_1A_0100_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_1A_0574_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_1A_0574_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_1A_0574_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_1A_0574_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_1A_0574_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_1A_0574_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_1A_0574_4.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_1A_0574_4.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_1A_0634_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_1A_0634_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_1A_0634_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_1A_0634_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_1A_0634_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_1A_0634_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_2A_0061_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_2A_0061_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_2A_0061_4.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_2A_0061_4.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_2A_0316_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_2A_0316_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_2A_0316_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_2A_0316_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_2A_0316_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_2A_0316_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_2A_0316_4.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_2A_0316_4.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_2A_0544_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_2A_0544_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_2A_0544_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_2A_0544_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_2A_0570_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W03_2A_0570_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W04_1A_0529_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W04_1A_0529_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W04_1A_0529_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W04_1A_0529_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W04_2A_0029_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W04_2A_0029_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W04_2A_0108_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W04_2A_0108_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W04_2A_0108_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W04_2A_0108_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W04_2A_0108_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W04_2A_0108_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W04_2A_0108_4.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W04_2A_0108_4.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W04_2A_0476_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W04_2A_0476_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W04_2A_0476_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W04_2A_0476_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W04_2A_0476_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W04_2A_0476_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W04_2A_0476_4.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W04_2A_0476_4.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W04_2A_0657_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W04_2A_0657_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W04_2A_0657_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W04_2A_0657_3.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W05_1A_0196_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W05_1A_0196_1.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W05_1A_0196_2.fits - already exists
2026-05-19 17:41:27 - spxquery.core.download - INFO - Skipping 2026W05_1A_0196_2.fits - already exists
Downloading: 100%|██████████| 218/218 [00:00<00:00, 3485.94files/s]
2026-05-19 17:41:27 - spxquery.core.download - INFO - Download complete: 218 successful, 0 failed
2026-05-19 17:41:27 - spxquery.core.download - INFO - Total size: 555.5 MB
2026-05-19 17:41:27 - spxquery.core.pipeline - INFO - Downloaded 218 files
2026-05-19 17:41:27 - spxquery.core.pipeline - INFO - Total data size: 0.00 GB (estimated) → 0.54 GB (actual)
2026-05-19 17:41:27 - spxquery.core.pipeline - INFO - Marked stage 'download' as complete
2026-05-19 17:41:27 - spxquery.core.pipeline - INFO - Saved pipeline state: stage=processing, completed=['query', 'download']
2026-05-19 17:41:27 - spxquery.core.pipeline - INFO - Running processing stage
2026-05-19 17:41:27 - spxquery.core.pipeline - INFO - Processing 218 FITS files
2026-05-19 17:41:27 - spxquery.processing.photometry - INFO - Processing photometry for 218 observations
2026-05-19 17:41:27 - spxquery.processing.photometry - INFO - Using multiprocessing with 10 workers

============================================================
Download Summary
============================================================
Total files: 218
Successful: 218
Failed: 0
Total downloaded: 555.5 MB (0.54 GB)
============================================================

Processing observations:  51%|█████     | 111/218 [00:01<00:00, 118.64files/s]Insufficient background pixels for zodiacal estimation (1621/3600 = 45.0% < 50.0%) - using fallback scale factor 1.0
Processing observations:  69%|██████▉   | 151/218 [00:01<00:00, 153.26files/s]Insufficient background pixels for zodiacal estimation (0/3600 = 0.0% < 50.0%) - using fallback scale factor 1.0
Insufficient usable pixels with strict masking: 0/10 required. Trying with relaxed masking (exclude_bad_only=False).
No usable pixels in background annulus
Background estimation failed for 2026W03_2A_0316_4.fits - dropping observation
Processing observations: 100%|██████████| 218/218 [00:01<00:00, 112.32files/s]
2026-05-19 17:41:29 - spxquery.processing.photometry - INFO - Successfully processed 217 observations
2026-05-19 17:41:29 - spxquery.processing.lightcurve - INFO - Generated light curve with 217 measurements
2026-05-19 17:41:29 - spxquery.processing.lightcurve - INFO - Saved light curve to demo_data/cloverleaf/results/lightcurve.csv
2026-05-19 17:41:29 - spxquery.core.pipeline - INFO - Marked stage 'processing' as complete
2026-05-19 17:41:29 - spxquery.core.pipeline - INFO - Saved pipeline state: stage=visualization, completed=['query', 'download', 'processing']
2026-05-19 17:41:29 - spxquery.core.pipeline - INFO - Running visualization stage
2026-05-19 17:41:29 - spxquery.core.pipeline - INFO - Filtered photometry results by bands ['D1', 'D2', 'D3', 'D4', 'D5', 'D6']: 217 -> 217 measurements
2026-05-19 17:41:29 - spxquery.visualization.plots - INFO - Quality filtering: 217 total points (209 good, 8 rejected - shown as crosses)
2026-05-19 17:41:29 - spxquery.visualization.plots - INFO - Sigma clipping: 217 -> 217 measurements (0 outliers removed)

============================================================
Light Curve Summary
============================================================
Total observations: 217
Time span: 224.6 days
MJD range: 60842.27 - 61066.92
Wavelength range: 0.75 - 5.00 μm
Number of bands: 6
Upper limits: 0
Mean SNR: 23.6

Observations per band:
  D1: 36
  D2: 36
  D3: 36
  D4: 36
  D5: 36
  D6: 37
============================================================

2026-05-19 17:41:29 - spxquery.visualization.plots - INFO - Sigma clipping: 217 -> 217 measurements (0 outliers removed)
2026-05-19 17:41:30 - spxquery.visualization.plots - INFO - Saved combined plot to demo_data/cloverleaf/results/combined_plot.png
2026-05-19 17:41:30 - spxquery.core.pipeline - INFO - Marked stage 'visualization' as complete
2026-05-19 17:41:30 - spxquery.core.pipeline - INFO - Saved pipeline state: stage=complete, completed=['query', 'download', 'processing', 'visualization']
2026-05-19 17:41:30 - spxquery.core.pipeline - INFO - Visualization saved to demo_data/cloverleaf/results/combined_plot.png
2026-05-19 17:41:30 - spxquery.core.pipeline - INFO - Saved pipeline state: stage=complete, completed=['query', 'download', 'processing', 'visualization']
2026-05-19 17:41:30 - spxquery.core.pipeline - INFO - Pipeline execution complete
Annulus method configuration ready.
Uncomment the code above to run the pipeline.
../_images/tutorials_quickstart_demo_28_8.png
[17]:
# Demo 2: Run pipeline with window background
config_window = SPXQueryPipeline(advanced_window)
config_window.run_full_pipeline(skip_existing_downloads=True)
df_window = pd.read_csv(output_dir / "results/lightcurve.csv", comment="#")
print("Window method configuration ready.")
print("Uncomment the code above to run the pipeline.")
2026-05-19 17:41:30 - spxquery.core.pipeline - INFO - Initialized pipeline for source at RA=213.942708, Dec=11.495389
2026-05-19 17:41:30 - spxquery.core.pipeline - INFO - Pipeline stages: ['query', 'download', 'processing', 'visualization']
2026-05-19 17:41:30 - spxquery.core.pipeline - INFO - State file: cloverleaf.yaml
2026-05-19 17:41:30 - spxquery.core.pipeline - INFO - Starting full pipeline execution
2026-05-19 17:41:30 - spxquery.core.pipeline - INFO - Pipeline stages: ['query', 'download', 'processing', 'visualization']
2026-05-19 17:41:30 - spxquery.core.pipeline - INFO - Running query stage
2026-05-19 17:41:30 - spxquery.core.query - INFO - Querying SPHEREx observations for source at RA=213.942708, Dec=11.495389
2026-05-19 17:41:38 - spxquery.core.query - INFO - Found 218 observations (6 bands, 225 days span)
2026-05-19 17:41:38 - spxquery.core.pipeline - INFO - Marked stage 'query' as complete
2026-05-19 17:41:38 - spxquery.core.pipeline - INFO - Saved pipeline state: stage=download, completed=['query']
2026-05-19 17:41:38 - spxquery.core.pipeline - INFO - Running download stage (skip_existing=True)
2026-05-19 17:41:38 - spxquery.core.download - INFO - Starting parallel download of 218 files
2026-05-19 17:41:38 - spxquery.core.download - INFO - Download settings: timeout=300s, retries=3, workers=5

============================================================
SPHEREx Archive Search Results
============================================================
Source: RA=213.942708, Dec=11.495389
        Name: cloverleaf
Query time: 2026-05-19 17:41:38

Total observations found: 218

Observations by band:
  D1 (0.75-1.09 μm):  36 observations
  D2 (1.10-1.62 μm):  36 observations
  D3 (1.63-2.41 μm):  37 observations
  D4 (2.42-3.82 μm):  36 observations
  D5 (3.83-4.41 μm):  36 observations
  D6 (4.42-5.00 μm):  37 observations

Time span: 224.6 days
Total data volume: 0.00 GB
============================================================

Downloading:   0%|          | 0/218 [00:00<?, ?files/s]2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0062_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0062_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0062_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0062_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0062_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0062_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0062_4.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0062_4.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0178_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0178_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0178_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0178_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0178_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0178_4.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0178_4.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0202_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0202_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0329_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0329_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0329_4.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0329_4.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0468_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0468_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0468_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0468_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0468_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0468_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0468_4.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0468_4.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0503_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0503_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0503_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0503_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0616_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0616_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0616_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0616_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0616_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0616_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0616_4.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0616_4.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0679_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0679_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0746_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_1B_0746_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_2A_0075_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_2A_0075_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_2A_0075_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_2A_0075_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_2A_0075_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_2A_0075_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_2A_0075_4.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_2A_0075_4.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_2A_0206_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_2A_0206_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_2A_0206_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_2A_0206_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_2A_0206_4.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_2A_0206_4.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_2A_0241_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_2A_0241_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_2A_0241_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_2A_0241_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_2A_0241_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_2A_0241_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_2A_0241_4.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_2A_0241_4.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_2A_0366_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_2A_0366_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_2A_0366_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W25_2A_0366_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W26_1A_0204_4.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W26_1A_0204_4.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W26_1A_0240_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W26_1A_0240_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W26_1A_0240_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W26_1A_0240_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W26_1A_0240_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W26_1A_0240_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W26_1A_0240_4.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W26_1A_0240_4.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W26_1A_0298_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W26_1A_0298_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W26_1A_0298_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W26_1A_0298_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W26_1A_0553_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W26_1A_0553_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W26_1A_0553_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W26_1A_0553_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W26_1A_0553_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W26_1A_0553_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W26_1A_0553_4.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W26_1A_0553_4.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W26_2A_0026_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W26_2A_0026_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W26_2A_0026_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W26_2A_0026_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W26_2A_0026_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W26_2A_0026_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W26_2A_0026_4.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W26_2A_0026_4.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W26_2A_0142_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W26_2A_0142_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W26_2A_0142_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W26_2A_0142_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W26_2A_0142_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W26_2A_0142_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2025W29_2A_0482_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W02_2A_0220_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W02_2A_0220_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W02_2A_0220_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W02_2A_0220_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W02_2A_0220_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W02_2A_0220_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W02_2A_0220_4.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W02_2A_0220_4.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W02_2A_0238_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W02_2A_0238_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W02_2A_0238_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W02_2A_0238_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W02_2A_0238_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W02_2A_0238_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W02_2A_0238_4.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W02_2A_0238_4.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W02_2A_0255_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W02_2A_0255_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W02_2A_0255_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W02_2A_0255_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W02_2A_0255_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W02_2A_0255_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W02_2A_0803_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W02_2A_0803_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W02_2A_0803_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W02_2A_0803_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W02_2A_0804_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W02_2A_0804_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W02_2A_0804_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W02_2A_0804_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_1A_0013_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_1A_0013_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_1A_0014_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_1A_0014_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_1A_0030_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_1A_0030_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_1A_0050_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_1A_0050_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_1A_0050_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_1A_0050_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_1A_0050_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_1A_0050_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_1A_0050_4.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_1A_0050_4.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_1A_0066_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_1A_0066_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_1A_0100_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_1A_0100_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_1A_0574_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_1A_0574_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_1A_0574_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_1A_0574_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_1A_0574_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_1A_0574_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_1A_0574_4.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_1A_0574_4.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_1A_0634_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_1A_0634_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_1A_0634_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_1A_0634_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_1A_0634_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_1A_0634_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_2A_0061_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_2A_0061_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_2A_0061_4.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_2A_0061_4.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_2A_0316_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_2A_0316_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_2A_0316_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_2A_0316_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_2A_0316_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_2A_0316_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_2A_0316_4.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_2A_0316_4.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_2A_0544_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_2A_0544_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_2A_0544_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_2A_0544_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_2A_0570_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W03_2A_0570_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W04_1A_0529_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W04_1A_0529_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W04_1A_0529_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W04_1A_0529_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W04_2A_0029_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W04_2A_0029_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W04_2A_0108_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W04_2A_0108_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W04_2A_0108_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W04_2A_0108_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W04_2A_0108_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W04_2A_0108_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W04_2A_0108_4.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W04_2A_0108_4.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W04_2A_0476_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W04_2A_0476_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W04_2A_0476_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W04_2A_0476_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W04_2A_0476_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W04_2A_0476_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W04_2A_0476_4.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W04_2A_0476_4.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W04_2A_0657_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W04_2A_0657_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W04_2A_0657_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W04_2A_0657_3.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W05_1A_0196_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W05_1A_0196_1.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W05_1A_0196_2.fits - already exists
2026-05-19 17:41:38 - spxquery.core.download - INFO - Skipping 2026W05_1A_0196_2.fits - already exists
Downloading: 100%|██████████| 218/218 [00:00<00:00, 3445.71files/s]
2026-05-19 17:41:38 - spxquery.core.download - INFO - Download complete: 218 successful, 0 failed
2026-05-19 17:41:38 - spxquery.core.download - INFO - Total size: 555.5 MB
2026-05-19 17:41:38 - spxquery.core.pipeline - INFO - Downloaded 218 files
2026-05-19 17:41:38 - spxquery.core.pipeline - INFO - Total data size: 0.00 GB (estimated) → 0.54 GB (actual)
2026-05-19 17:41:38 - spxquery.core.pipeline - INFO - Marked stage 'download' as complete
2026-05-19 17:41:38 - spxquery.core.pipeline - INFO - Saved pipeline state: stage=processing, completed=['query', 'download']
2026-05-19 17:41:38 - spxquery.core.pipeline - INFO - Running processing stage
2026-05-19 17:41:38 - spxquery.core.pipeline - INFO - Processing 218 FITS files
2026-05-19 17:41:38 - spxquery.processing.photometry - INFO - Processing photometry for 218 observations
2026-05-19 17:41:38 - spxquery.processing.photometry - INFO - Using multiprocessing with 10 workers

============================================================
Download Summary
============================================================
Total files: 218
Successful: 218
Failed: 0
Total downloaded: 555.5 MB (0.54 GB)
============================================================

Processing observations:  28%|██▊       | 61/218 [00:00<00:01, 89.72files/s]Background window [4:55, -2:49] exceeds image boundaries, clipped to [4:55, 0:49]
Processing observations:  51%|█████▏    | 112/218 [00:01<00:00, 162.86files/s]Insufficient background pixels for zodiacal estimation (1621/3600 = 45.0% < 50.0%) - using fallback scale factor 1.0
Processing observations:  71%|███████   | 154/218 [00:01<00:00, 202.62files/s]Insufficient background pixels for zodiacal estimation (0/3600 = 0.0% < 50.0%) - using fallback scale factor 1.0
Insufficient usable pixels with strict masking: 0/10 required. Trying with relaxed masking (exclude_bad_only=False).
Insufficient usable pixels in background window even with relaxed masking: 0/10 required (window: 50×50, aperture_radius: 1.0)
Background estimation failed for 2026W03_2A_0316_4.fits - dropping observation
Background window [4:55, -2:49] exceeds image boundaries, clipped to [4:55, 0:49]
Processing observations: 100%|██████████| 218/218 [00:01<00:00, 159.48files/s]
2026-05-19 17:41:39 - spxquery.processing.photometry - INFO - Successfully processed 217 observations
2026-05-19 17:41:39 - spxquery.processing.lightcurve - INFO - Generated light curve with 217 measurements
2026-05-19 17:41:39 - spxquery.processing.lightcurve - INFO - Saved light curve to demo_data/cloverleaf/results/lightcurve.csv
2026-05-19 17:41:39 - spxquery.core.pipeline - INFO - Marked stage 'processing' as complete
2026-05-19 17:41:39 - spxquery.core.pipeline - INFO - Saved pipeline state: stage=visualization, completed=['query', 'download', 'processing']
2026-05-19 17:41:39 - spxquery.core.pipeline - INFO - Running visualization stage
2026-05-19 17:41:39 - spxquery.core.pipeline - INFO - Filtered photometry results by bands ['D1', 'D2', 'D3', 'D4', 'D5', 'D6']: 217 -> 217 measurements
2026-05-19 17:41:39 - spxquery.visualization.plots - INFO - Quality filtering: 217 total points (209 good, 8 rejected - shown as crosses)
2026-05-19 17:41:39 - spxquery.visualization.plots - INFO - Sigma clipping: 217 -> 217 measurements (0 outliers removed)

============================================================
Light Curve Summary
============================================================
Total observations: 217
Time span: 224.6 days
MJD range: 60842.27 - 61066.92
Wavelength range: 0.75 - 5.00 μm
Number of bands: 6
Upper limits: 0
Mean SNR: 24.4

Observations per band:
  D1: 36
  D2: 36
  D3: 36
  D4: 36
  D5: 36
  D6: 37
============================================================

2026-05-19 17:41:39 - spxquery.visualization.plots - INFO - Sigma clipping: 217 -> 217 measurements (0 outliers removed)
2026-05-19 17:41:40 - spxquery.visualization.plots - INFO - Saved combined plot to demo_data/cloverleaf/results/combined_plot.png
2026-05-19 17:41:40 - spxquery.core.pipeline - INFO - Marked stage 'visualization' as complete
2026-05-19 17:41:40 - spxquery.core.pipeline - INFO - Saved pipeline state: stage=complete, completed=['query', 'download', 'processing', 'visualization']
2026-05-19 17:41:40 - spxquery.core.pipeline - INFO - Visualization saved to demo_data/cloverleaf/results/combined_plot.png
2026-05-19 17:41:40 - spxquery.core.pipeline - INFO - Saved pipeline state: stage=complete, completed=['query', 'download', 'processing', 'visualization']
2026-05-19 17:41:40 - spxquery.core.pipeline - INFO - Pipeline execution complete
Window method configuration ready.
Uncomment the code above to run the pipeline.
../_images/tutorials_quickstart_demo_29_8.png
[18]:
# Compare flux measurements
fig, axes = plt.subplots(1, 2, figsize=(12, 4))

# Plot 1: Flux comparison
axes[0].scatter(df_annulus["flux"], df_window["flux"], alpha=0.6)
axes[0].plot([0, max(df_annulus["flux"])], [0, max(df_annulus["flux"])], "k--", alpha=0.3)
axes[0].set_xlabel("Annulus Flux (MJy/sr)")
axes[0].set_ylabel("Window Flux (MJy/sr)")
axes[0].set_title("Flux Comparison")

# Plot 2: Difference
flux_diff = (df_window["flux"] - df_annulus["flux"]) / df_annulus["flux"] * 100
axes[1].hist(flux_diff, bins=20, alpha=0.7)
axes[1].set_xlabel("Relative Difference (%)")
axes[1].set_ylabel("Count")
axes[1].set_title("Flux Difference Distribution")
axes[1].axvline(0, color="k", linestyle="--", alpha=0.3)

plt.tight_layout()
plt.show()

print(f"Mean flux difference: {flux_diff.mean():.2f}%")
print(f"Std flux difference: {flux_diff.std():.2f}%")
/var/folders/z5/qygyj_xj7dq109c9rzqq2wv40000gn/T/ipykernel_73894/1917494619.py:19: UserWarning: The figure layout has changed to tight
  plt.tight_layout()
../_images/tutorials_quickstart_demo_30_1.png
Mean flux difference: 0.33%
Std flux difference: 1.82%

Aperture Sizing Comparison (NEW in v0.2.1)

SPXQuery v0.2.1 introduces adaptive aperture sizing based on PSF FWHM:

Fixed Aperture (Traditional)

  • User specifies aperture diameter in pixels

  • Same aperture size for all observations

  • Simple, predictable, widely used

  • May be suboptimal when seeing varies

FWHM-Based Aperture (NEW)

  • Aperture size adapts to PSF FWHM for each observation

  • aperture_diameter = FWHM × fwhm_multiplier

  • Optimizes signal-to-noise ratio

  • Automatically falls back to fixed aperture if FWHM estimation fails

Below we demonstrate both methods and compare their photometric results.

[19]:
# Setup: Create configurations for both aperture methods

# Configuration with fixed aperture (traditional)
advanced_fixed = AdvancedConfig.from_yaml_file(output_dir / "cloverleaf.yaml")
advanced_fixed.update(aperture_method="fixed", aperture_diameter=3.0, background_method="window", window_size=50)

# Configuration with FWHM-based aperture (NEW)
advanced_fwhm = AdvancedConfig.from_yaml_file(output_dir / "cloverleaf.yaml")
advanced_fwhm.update(
    aperture_method="fwhm",
    fwhm_multiplier=3.0,
    aperture_diameter=3.0,
    background_method="window",
    window_size=50,
    max_processing_workers=1,
)


print("✓ Configurations created:")
print(
    f"  Fixed: method={advanced_fixed.photometry.aperture_method}, diameter={advanced_fixed.photometry.aperture_diameter}"
)
print(
    f"  FWHM: method={advanced_fwhm.photometry.aperture_method}, multiplier={advanced_fwhm.photometry.fwhm_multiplier}"
)
2026-05-19 17:41:41 - spxquery.core.config - INFO - Loaded advanced parameters from demo_data/cloverleaf/cloverleaf.yaml
2026-05-19 17:41:41 - spxquery.core.config - INFO - Updated parameters: ['aperture_method', 'aperture_diameter', 'background_method', 'window_size']
2026-05-19 17:41:41 - spxquery.core.config - INFO - Loaded advanced parameters from demo_data/cloverleaf/cloverleaf.yaml
2026-05-19 17:41:41 - spxquery.core.config - INFO - Updated parameters: ['aperture_method', 'fwhm_multiplier', 'aperture_diameter', 'background_method', 'window_size', 'max_processing_workers']
✓ Configurations created:
  Fixed: method=fixed, diameter=3.0
  FWHM: method=fwhm, multiplier=3.0
[20]:
# Demo 1: Run pipeline with fixed aperture
config_fixed = SPXQueryPipeline(advanced_fixed)
config_fixed.run_full_pipeline(skip_existing_downloads=True)
df_fixed = pd.read_csv(output_dir / "results/lightcurve.csv", comment="#")

print("Fixed aperture configuration ready.")
print(f"  Aperture diameter: {advanced_fixed.photometry.aperture_diameter} pixels (constant)")
print("Uncomment the code above to run the pipeline.")
2026-05-19 17:41:41 - spxquery.core.pipeline - INFO - Initialized pipeline for source at RA=213.942708, Dec=11.495389
2026-05-19 17:41:41 - spxquery.core.pipeline - INFO - Pipeline stages: ['query', 'download', 'processing', 'visualization']
2026-05-19 17:41:41 - spxquery.core.pipeline - INFO - State file: cloverleaf.yaml
2026-05-19 17:41:41 - spxquery.core.pipeline - INFO - Starting full pipeline execution
2026-05-19 17:41:41 - spxquery.core.pipeline - INFO - Pipeline stages: ['query', 'download', 'processing', 'visualization']
2026-05-19 17:41:41 - spxquery.core.pipeline - INFO - Running query stage
2026-05-19 17:41:41 - spxquery.core.query - INFO - Querying SPHEREx observations for source at RA=213.942708, Dec=11.495389
2026-05-19 17:41:50 - spxquery.core.query - INFO - Found 218 observations (6 bands, 225 days span)
2026-05-19 17:41:50 - spxquery.core.pipeline - INFO - Marked stage 'query' as complete
2026-05-19 17:41:50 - spxquery.core.pipeline - INFO - Saved pipeline state: stage=download, completed=['query']
2026-05-19 17:41:50 - spxquery.core.pipeline - INFO - Running download stage (skip_existing=True)
2026-05-19 17:41:50 - spxquery.core.download - INFO - Starting parallel download of 218 files
2026-05-19 17:41:50 - spxquery.core.download - INFO - Download settings: timeout=300s, retries=3, workers=5

============================================================
SPHEREx Archive Search Results
============================================================
Source: RA=213.942708, Dec=11.495389
        Name: cloverleaf
Query time: 2026-05-19 17:41:50

Total observations found: 218

Observations by band:
  D1 (0.75-1.09 μm):  36 observations
  D2 (1.10-1.62 μm):  36 observations
  D3 (1.63-2.41 μm):  37 observations
  D4 (2.42-3.82 μm):  36 observations
  D5 (3.83-4.41 μm):  36 observations
  D6 (4.42-5.00 μm):  37 observations

Time span: 224.6 days
Total data volume: 0.00 GB
============================================================

Downloading:   0%|          | 0/218 [00:00<?, ?files/s]2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0062_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0062_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0062_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0062_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0062_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0062_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0062_4.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0062_4.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0178_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0178_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0178_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0178_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0178_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0178_4.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0178_4.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0202_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0202_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0329_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0329_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0329_4.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0329_4.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0468_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0468_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0468_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0468_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0468_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0468_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0468_4.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0468_4.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0503_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0503_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0503_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0503_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0616_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0616_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0616_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0616_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0616_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0616_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0616_4.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0616_4.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0679_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0679_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0746_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_1B_0746_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_2A_0075_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_2A_0075_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_2A_0075_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_2A_0075_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_2A_0075_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_2A_0075_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_2A_0075_4.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_2A_0075_4.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_2A_0206_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_2A_0206_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_2A_0206_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_2A_0206_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_2A_0206_4.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_2A_0206_4.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_2A_0241_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_2A_0241_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_2A_0241_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_2A_0241_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_2A_0241_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_2A_0241_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_2A_0241_4.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_2A_0241_4.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_2A_0366_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_2A_0366_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_2A_0366_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W25_2A_0366_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W26_1A_0204_4.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W26_1A_0204_4.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W26_1A_0240_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W26_1A_0240_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W26_1A_0240_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W26_1A_0240_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W26_1A_0240_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W26_1A_0240_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W26_1A_0240_4.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W26_1A_0240_4.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W26_1A_0298_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W26_1A_0298_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W26_1A_0298_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W26_1A_0298_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W26_1A_0553_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W26_1A_0553_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W26_1A_0553_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W26_1A_0553_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W26_1A_0553_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W26_1A_0553_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W26_1A_0553_4.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W26_1A_0553_4.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W26_2A_0026_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W26_2A_0026_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W26_2A_0026_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W26_2A_0026_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W26_2A_0026_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W26_2A_0026_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W26_2A_0026_4.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W26_2A_0026_4.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W26_2A_0142_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W26_2A_0142_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W26_2A_0142_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W26_2A_0142_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W26_2A_0142_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W26_2A_0142_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2025W29_2A_0482_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W02_2A_0220_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W02_2A_0220_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W02_2A_0220_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W02_2A_0220_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W02_2A_0220_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W02_2A_0220_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W02_2A_0220_4.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W02_2A_0220_4.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W02_2A_0238_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W02_2A_0238_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W02_2A_0238_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W02_2A_0238_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W02_2A_0238_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W02_2A_0238_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W02_2A_0238_4.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W02_2A_0238_4.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W02_2A_0255_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W02_2A_0255_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W02_2A_0255_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W02_2A_0255_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W02_2A_0255_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W02_2A_0255_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W02_2A_0803_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W02_2A_0803_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W02_2A_0803_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W02_2A_0803_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W02_2A_0804_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W02_2A_0804_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W02_2A_0804_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W02_2A_0804_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_1A_0013_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_1A_0013_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_1A_0014_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_1A_0014_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_1A_0030_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_1A_0030_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_1A_0050_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_1A_0050_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_1A_0050_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_1A_0050_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_1A_0050_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_1A_0050_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_1A_0050_4.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_1A_0050_4.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_1A_0066_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_1A_0066_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_1A_0100_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_1A_0100_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_1A_0574_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_1A_0574_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_1A_0574_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_1A_0574_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_1A_0574_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_1A_0574_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_1A_0574_4.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_1A_0574_4.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_1A_0634_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_1A_0634_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_1A_0634_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_1A_0634_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_1A_0634_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_1A_0634_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_2A_0061_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_2A_0061_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_2A_0061_4.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_2A_0061_4.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_2A_0316_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_2A_0316_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_2A_0316_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_2A_0316_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_2A_0316_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_2A_0316_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_2A_0316_4.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_2A_0316_4.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_2A_0544_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_2A_0544_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_2A_0544_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_2A_0544_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_2A_0570_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W03_2A_0570_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W04_1A_0529_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W04_1A_0529_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W04_1A_0529_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W04_1A_0529_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W04_2A_0029_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W04_2A_0029_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W04_2A_0108_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W04_2A_0108_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W04_2A_0108_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W04_2A_0108_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W04_2A_0108_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W04_2A_0108_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W04_2A_0108_4.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W04_2A_0108_4.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W04_2A_0476_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W04_2A_0476_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W04_2A_0476_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W04_2A_0476_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W04_2A_0476_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W04_2A_0476_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W04_2A_0476_4.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W04_2A_0476_4.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W04_2A_0657_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W04_2A_0657_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W04_2A_0657_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W04_2A_0657_3.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W05_1A_0196_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W05_1A_0196_1.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W05_1A_0196_2.fits - already exists
2026-05-19 17:41:50 - spxquery.core.download - INFO - Skipping 2026W05_1A_0196_2.fits - already exists
Downloading: 100%|██████████| 218/218 [00:00<00:00, 4492.15files/s]
2026-05-19 17:41:50 - spxquery.core.download - INFO - Download complete: 218 successful, 0 failed
2026-05-19 17:41:50 - spxquery.core.download - INFO - Total size: 555.5 MB
2026-05-19 17:41:50 - spxquery.core.pipeline - INFO - Downloaded 218 files
2026-05-19 17:41:50 - spxquery.core.pipeline - INFO - Total data size: 0.00 GB (estimated) → 0.54 GB (actual)
2026-05-19 17:41:50 - spxquery.core.pipeline - INFO - Marked stage 'download' as complete
2026-05-19 17:41:50 - spxquery.core.pipeline - INFO - Saved pipeline state: stage=processing, completed=['query', 'download']
2026-05-19 17:41:50 - spxquery.core.pipeline - INFO - Running processing stage
2026-05-19 17:41:50 - spxquery.core.pipeline - INFO - Processing 218 FITS files
2026-05-19 17:41:50 - spxquery.processing.photometry - INFO - Processing photometry for 218 observations
2026-05-19 17:41:50 - spxquery.processing.photometry - INFO - Using multiprocessing with 10 workers

============================================================
Download Summary
============================================================
Total files: 218
Successful: 218
Failed: 0
Total downloaded: 555.5 MB (0.54 GB)
============================================================

Processing observations:  30%|███       | 66/218 [00:00<00:01, 96.94files/s]Background window [4:55, -2:49] exceeds image boundaries, clipped to [4:55, 0:49]
Processing observations:  56%|█████▌    | 121/218 [00:01<00:00, 175.56files/s]Insufficient background pixels for zodiacal estimation (1621/3600 = 45.0% < 50.0%) - using fallback scale factor 1.0
Processing observations:  78%|███████▊  | 169/218 [00:01<00:00, 234.05files/s]Background window [4:55, -2:49] exceeds image boundaries, clipped to [4:55, 0:49]
Insufficient background pixels for zodiacal estimation (0/3600 = 0.0% < 50.0%) - using fallback scale factor 1.0
Insufficient usable pixels with strict masking: 0/10 required. Trying with relaxed masking (exclude_bad_only=False).
Insufficient usable pixels in background window even with relaxed masking: 0/10 required (window: 50×50, aperture_radius: 1.5)
Background estimation failed for 2026W03_2A_0316_4.fits - dropping observation
Processing observations: 100%|██████████| 218/218 [00:01<00:00, 168.60files/s]
2026-05-19 17:41:52 - spxquery.processing.photometry - INFO - Successfully processed 217 observations
2026-05-19 17:41:52 - spxquery.processing.lightcurve - INFO - Generated light curve with 217 measurements
2026-05-19 17:41:52 - spxquery.processing.lightcurve - INFO - Saved light curve to demo_data/cloverleaf/results/lightcurve.csv
2026-05-19 17:41:52 - spxquery.core.pipeline - INFO - Marked stage 'processing' as complete
2026-05-19 17:41:52 - spxquery.core.pipeline - INFO - Saved pipeline state: stage=visualization, completed=['query', 'download', 'processing']
2026-05-19 17:41:52 - spxquery.core.pipeline - INFO - Running visualization stage
2026-05-19 17:41:52 - spxquery.core.pipeline - INFO - Filtered photometry results by bands ['D1', 'D2', 'D3', 'D4', 'D5', 'D6']: 217 -> 217 measurements
2026-05-19 17:41:52 - spxquery.visualization.plots - INFO - Quality filtering: 217 total points (203 good, 14 rejected - shown as crosses)
2026-05-19 17:41:52 - spxquery.visualization.plots - INFO - Sigma clipping: 217 -> 216 measurements (1 outliers removed)

============================================================
Light Curve Summary
============================================================
Total observations: 217
Time span: 224.6 days
MJD range: 60842.27 - 61066.92
Wavelength range: 0.75 - 5.00 μm
Number of bands: 6
Upper limits: 0
Mean SNR: 24.5

Observations per band:
  D1: 36
  D2: 36
  D3: 36
  D4: 36
  D5: 36
  D6: 37
============================================================

2026-05-19 17:41:52 - spxquery.visualization.plots - INFO - Sigma clipping: 217 -> 216 measurements (1 outliers removed)
2026-05-19 17:41:52 - spxquery.visualization.plots - INFO - Saved combined plot to demo_data/cloverleaf/results/combined_plot.png
2026-05-19 17:41:52 - spxquery.core.pipeline - INFO - Marked stage 'visualization' as complete
2026-05-19 17:41:52 - spxquery.core.pipeline - INFO - Saved pipeline state: stage=complete, completed=['query', 'download', 'processing', 'visualization']
2026-05-19 17:41:52 - spxquery.core.pipeline - INFO - Visualization saved to demo_data/cloverleaf/results/combined_plot.png
2026-05-19 17:41:52 - spxquery.core.pipeline - INFO - Saved pipeline state: stage=complete, completed=['query', 'download', 'processing', 'visualization']
2026-05-19 17:41:52 - spxquery.core.pipeline - INFO - Pipeline execution complete
Fixed aperture configuration ready.
  Aperture diameter: 3.0 pixels (constant)
Uncomment the code above to run the pipeline.
../_images/tutorials_quickstart_demo_33_8.png
[21]:
# Demo 2: Run pipeline with FWHM-based aperture
config_fwhm = SPXQueryPipeline(advanced_fwhm)
config_fwhm.run_full_pipeline(skip_existing_downloads=True)
df_fwhm = pd.read_csv(output_dir / "results/lightcurve.csv", comment="#")

print("FWHM-based aperture configuration ready.")
print(f"  Aperture = FWHM × {advanced_fwhm.photometry.fwhm_multiplier} (adaptive per observation)")
print(f"  Fallback diameter: {advanced_fwhm.photometry.aperture_diameter} pixels")
print("Uncomment the code above to run the pipeline.")
2026-05-19 17:41:53 - spxquery.core.pipeline - INFO - Initialized pipeline for source at RA=213.942708, Dec=11.495389
2026-05-19 17:41:53 - spxquery.core.pipeline - INFO - Pipeline stages: ['query', 'download', 'processing', 'visualization']
2026-05-19 17:41:53 - spxquery.core.pipeline - INFO - State file: cloverleaf.yaml
2026-05-19 17:41:53 - spxquery.core.pipeline - INFO - Starting full pipeline execution
2026-05-19 17:41:53 - spxquery.core.pipeline - INFO - Pipeline stages: ['query', 'download', 'processing', 'visualization']
2026-05-19 17:41:53 - spxquery.core.pipeline - INFO - Running query stage
2026-05-19 17:41:53 - spxquery.core.query - INFO - Querying SPHEREx observations for source at RA=213.942708, Dec=11.495389
2026-05-19 17:42:08 - spxquery.core.query - INFO - Found 218 observations (6 bands, 225 days span)
2026-05-19 17:42:08 - spxquery.core.pipeline - INFO - Marked stage 'query' as complete
2026-05-19 17:42:08 - spxquery.core.pipeline - INFO - Saved pipeline state: stage=download, completed=['query']
2026-05-19 17:42:08 - spxquery.core.pipeline - INFO - Running download stage (skip_existing=True)
2026-05-19 17:42:08 - spxquery.core.download - INFO - Starting parallel download of 218 files
2026-05-19 17:42:08 - spxquery.core.download - INFO - Download settings: timeout=300s, retries=3, workers=5

============================================================
SPHEREx Archive Search Results
============================================================
Source: RA=213.942708, Dec=11.495389
        Name: cloverleaf
Query time: 2026-05-19 17:42:08

Total observations found: 218

Observations by band:
  D1 (0.75-1.09 μm):  36 observations
  D2 (1.10-1.62 μm):  36 observations
  D3 (1.63-2.41 μm):  37 observations
  D4 (2.42-3.82 μm):  36 observations
  D5 (3.83-4.41 μm):  36 observations
  D6 (4.42-5.00 μm):  37 observations

Time span: 224.6 days
Total data volume: 0.00 GB
============================================================

Downloading:   0%|          | 0/218 [00:00<?, ?files/s]2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0062_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0062_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0062_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0062_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0062_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0062_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0062_4.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0062_4.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0178_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0178_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0178_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0178_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0178_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0178_4.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0178_4.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0202_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0202_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0329_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0329_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0329_4.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0329_4.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0468_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0468_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0468_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0468_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0468_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0468_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0468_4.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0468_4.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0503_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0503_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0503_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0503_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0616_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0616_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0616_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0616_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0616_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0616_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0616_4.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0616_4.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0679_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0679_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0746_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_1B_0746_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_2A_0075_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_2A_0075_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_2A_0075_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_2A_0075_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_2A_0075_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_2A_0075_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_2A_0075_4.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_2A_0075_4.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_2A_0206_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_2A_0206_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_2A_0206_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_2A_0206_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_2A_0206_4.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_2A_0206_4.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_2A_0241_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_2A_0241_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_2A_0241_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_2A_0241_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_2A_0241_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_2A_0241_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_2A_0241_4.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_2A_0241_4.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_2A_0366_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_2A_0366_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_2A_0366_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W25_2A_0366_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W26_1A_0204_4.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W26_1A_0204_4.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W26_1A_0240_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W26_1A_0240_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W26_1A_0240_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W26_1A_0240_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W26_1A_0240_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W26_1A_0240_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W26_1A_0240_4.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W26_1A_0240_4.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W26_1A_0298_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W26_1A_0298_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W26_1A_0298_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W26_1A_0298_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W26_1A_0553_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W26_1A_0553_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W26_1A_0553_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W26_1A_0553_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W26_1A_0553_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W26_1A_0553_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W26_1A_0553_4.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W26_1A_0553_4.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W26_2A_0026_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W26_2A_0026_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W26_2A_0026_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W26_2A_0026_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W26_2A_0026_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W26_2A_0026_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W26_2A_0026_4.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W26_2A_0026_4.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W26_2A_0142_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W26_2A_0142_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W26_2A_0142_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W26_2A_0142_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W26_2A_0142_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W26_2A_0142_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2025W29_2A_0482_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W02_2A_0220_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W02_2A_0220_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W02_2A_0220_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W02_2A_0220_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W02_2A_0220_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W02_2A_0220_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W02_2A_0220_4.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W02_2A_0220_4.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W02_2A_0238_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W02_2A_0238_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W02_2A_0238_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W02_2A_0238_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W02_2A_0238_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W02_2A_0238_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W02_2A_0238_4.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W02_2A_0238_4.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W02_2A_0255_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W02_2A_0255_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W02_2A_0255_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W02_2A_0255_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W02_2A_0255_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W02_2A_0255_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W02_2A_0803_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W02_2A_0803_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W02_2A_0803_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W02_2A_0803_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W02_2A_0804_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W02_2A_0804_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W02_2A_0804_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W02_2A_0804_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_1A_0013_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_1A_0013_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_1A_0014_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_1A_0014_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_1A_0030_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_1A_0030_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_1A_0050_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_1A_0050_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_1A_0050_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_1A_0050_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_1A_0050_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_1A_0050_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_1A_0050_4.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_1A_0050_4.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_1A_0066_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_1A_0066_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_1A_0100_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_1A_0100_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_1A_0574_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_1A_0574_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_1A_0574_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_1A_0574_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_1A_0574_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_1A_0574_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_1A_0574_4.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_1A_0574_4.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_1A_0634_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_1A_0634_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_1A_0634_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_1A_0634_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_1A_0634_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_1A_0634_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_2A_0061_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_2A_0061_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_2A_0061_4.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_2A_0061_4.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_2A_0316_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_2A_0316_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_2A_0316_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_2A_0316_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_2A_0316_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_2A_0316_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_2A_0316_4.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_2A_0316_4.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_2A_0544_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_2A_0544_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_2A_0544_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_2A_0544_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_2A_0570_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W03_2A_0570_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W04_1A_0529_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W04_1A_0529_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W04_1A_0529_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W04_1A_0529_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W04_2A_0029_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W04_2A_0029_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W04_2A_0108_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W04_2A_0108_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W04_2A_0108_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W04_2A_0108_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W04_2A_0108_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W04_2A_0108_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W04_2A_0108_4.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W04_2A_0108_4.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W04_2A_0476_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W04_2A_0476_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W04_2A_0476_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W04_2A_0476_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W04_2A_0476_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W04_2A_0476_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W04_2A_0476_4.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W04_2A_0476_4.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W04_2A_0657_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W04_2A_0657_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W04_2A_0657_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W04_2A_0657_3.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W05_1A_0196_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W05_1A_0196_1.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W05_1A_0196_2.fits - already exists
2026-05-19 17:42:08 - spxquery.core.download - INFO - Skipping 2026W05_1A_0196_2.fits - already exists
Downloading: 100%|██████████| 218/218 [00:00<00:00, 4558.00files/s]
2026-05-19 17:42:08 - spxquery.core.download - INFO - Download complete: 218 successful, 0 failed
2026-05-19 17:42:08 - spxquery.core.download - INFO - Total size: 555.5 MB
2026-05-19 17:42:08 - spxquery.core.pipeline - INFO - Downloaded 218 files
2026-05-19 17:42:08 - spxquery.core.pipeline - INFO - Total data size: 0.00 GB (estimated) → 0.54 GB (actual)
2026-05-19 17:42:08 - spxquery.core.pipeline - INFO - Marked stage 'download' as complete
2026-05-19 17:42:08 - spxquery.core.pipeline - INFO - Saved pipeline state: stage=processing, completed=['query', 'download']
2026-05-19 17:42:08 - spxquery.core.pipeline - INFO - Running processing stage
2026-05-19 17:42:08 - spxquery.core.pipeline - INFO - Processing 218 FITS files
2026-05-19 17:42:08 - spxquery.processing.photometry - INFO - Processing photometry for 218 observations
2026-05-19 17:42:08 - spxquery.processing.photometry - INFO - Using sequential processing (max_workers=1)

============================================================
Download Summary
============================================================
Total files: 218
Successful: 218
Failed: 0
Total downloaded: 555.5 MB (0.54 GB)
============================================================

Processing observations:   0%|          | 0/218 [00:00<?, ?files/s]2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D3/2025W25_1B_0062_1.fits
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0062_1: detector 3, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:08 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.223" (0.85px) → diameter=2.55px (radius=1.27px)
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Background mask: 2679/3600 (74.4%) pixels available
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2157
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2157
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Background mask: 1959/2601 (75.3%) pixels available
2026-05-19 17:42:08 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0062_1.fits: flux=1178.320±43.868 μJy (0.001178±0.000044 Jy) at λ=1.941 μm, mag_AB=16.222±0.040
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D6/2025W25_1B_0062_1.fits
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0062_1: detector 6, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:08 - spxquery.processing.photometry - INFO - Repaired 3 pixels with NaN variance using median variance (1.080160e+00). All repaired pixels have non-zero flags.
2026-05-19 17:42:08 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.615" (1.07px) → diameter=3.22px (radius=1.61px)
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Background mask: 3026/3600 (84.1%) pixels available
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2972
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2972
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Background mask: 2192/2601 (84.3%) pixels available
2026-05-19 17:42:08 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0062_1.fits: flux=3795.616±168.787 μJy (0.003796±0.000169 Jy) at λ=4.660 μm, mag_AB=14.952±0.048
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D6/2025W25_1B_0062_2.fits
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0062_2: detector 6, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:08 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (1.168054e+00). All repaired pixels have non-zero flags.
2026-05-19 17:42:08 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.615" (1.07px) → diameter=3.22px (radius=1.61px)
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Background mask: 3048/3600 (84.7%) pixels available
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.3028
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.3028
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Background mask: 2210/2601 (85.0%) pixels available
2026-05-19 17:42:08 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0062_2.fits: flux=3636.145±171.266 μJy (0.003636±0.000171 Jy) at λ=4.694 μm, mag_AB=14.998±0.051
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D3/2025W25_1B_0062_2.fits
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0062_2: detector 3, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:08 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.223" (0.85px) → diameter=2.55px (radius=1.27px)
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Background mask: 2664/3600 (74.0%) pixels available
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2165
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2165
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Background mask: 1951/2601 (75.0%) pixels available
2026-05-19 17:42:08 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0062_2.fits: flux=1217.878±44.654 μJy (0.001218±0.000045 Jy) at λ=1.986 μm, mag_AB=16.186±0.040
Processing observations:   2%|▏         | 4/218 [00:00<00:05, 38.82files/s]2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D3/2025W25_1B_0062_3.fits
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0062_3: detector 3, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:08 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.223" (0.85px) → diameter=2.55px (radius=1.27px)
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Background mask: 2659/3600 (73.9%) pixels available
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2536
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2536
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Background mask: 1935/2601 (74.4%) pixels available
2026-05-19 17:42:08 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0062_3.fits: flux=1192.605±44.566 μJy (0.001193±0.000045 Jy) at λ=2.032 μm, mag_AB=16.209±0.041
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D6/2025W25_1B_0062_3.fits
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0062_3: detector 6, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:08 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (1.286845e+00). All repaired pixels have non-zero flags.
2026-05-19 17:42:08 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.615" (1.07px) → diameter=3.22px (radius=1.61px)
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Background mask: 3056/3600 (84.9%) pixels available
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2948
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2948
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Background mask: 2214/2601 (85.1%) pixels available
2026-05-19 17:42:08 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0062_3.fits: flux=3967.095±184.111 μJy (0.003967±0.000184 Jy) at λ=4.728 μm, mag_AB=14.904±0.050
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D3/2025W25_1B_0062_4.fits
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0062_4: detector 3, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:08 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.223" (0.85px) → diameter=2.55px (radius=1.27px)
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Background mask: 2684/3600 (74.6%) pixels available
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2701
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2701
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Background mask: 1958/2601 (75.3%) pixels available
2026-05-19 17:42:08 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0062_4.fits: flux=1466.761±99.908 μJy (0.001467±0.000100 Jy) at λ=2.079 μm, mag_AB=15.984±0.074
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D6/2025W25_1B_0062_4.fits
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0062_4: detector 6, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:08 - spxquery.processing.photometry - INFO - Repaired 2 pixels with NaN variance using median variance (1.318814e+00). All repaired pixels have non-zero flags.
2026-05-19 17:42:08 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.615" (1.07px) → diameter=3.22px (radius=1.61px)
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Background mask: 3045/3600 (84.6%) pixels available
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.3063
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.3063
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Background mask: 2210/2601 (85.0%) pixels available
2026-05-19 17:42:08 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0062_4.fits: flux=3786.930±174.712 μJy (0.003787±0.000175 Jy) at λ=4.763 μm, mag_AB=14.954±0.050
Processing observations:   4%|▎         | 8/218 [00:00<00:05, 39.03files/s]2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D3/2025W25_1B_0178_1.fits
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0178_1: detector 3, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:08 - spxquery.processing.photometry - INFO - Repaired 3 pixels with NaN variance using median variance (1.078027e-01). All repaired pixels have non-zero flags.
2026-05-19 17:42:08 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.223" (0.85px) → diameter=2.55px (radius=1.27px)
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Background mask: 2671/3600 (74.2%) pixels available
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2939
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2939
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Background mask: 1951/2601 (75.0%) pixels available
2026-05-19 17:42:08 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0178_1.fits: flux=1458.633±47.254 μJy (0.001459±0.000047 Jy) at λ=2.177 μm, mag_AB=15.990±0.035
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D6/2025W25_1B_0178_1.fits
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0178_1: detector 6, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:08 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (1.476675e+00). All repaired pixels have non-zero flags.
2026-05-19 17:42:08 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.615" (1.07px) → diameter=3.22px (radius=1.61px)
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Background mask: 3044/3600 (84.6%) pixels available
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2953
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2953
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Background mask: 2214/2601 (85.1%) pixels available
2026-05-19 17:42:08 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0178_1.fits: flux=4200.530±190.534 μJy (0.004201±0.000191 Jy) at λ=4.832 μm, mag_AB=14.842±0.049
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D6/2025W25_1B_0178_2.fits
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0178_2: detector 6, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:08 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (1.517506e+00). All repaired pixels have non-zero flags.
2026-05-19 17:42:08 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.615" (1.07px) → diameter=3.22px (radius=1.61px)
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Background mask: 3062/3600 (85.1%) pixels available
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2760
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2760
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Background mask: 2223/2601 (85.5%) pixels available
2026-05-19 17:42:08 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0178_2.fits: flux=4345.619±194.889 μJy (0.004346±0.000195 Jy) at λ=4.867 μm, mag_AB=14.805±0.049
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D6/2025W25_1B_0178_3.fits
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0178_3: detector 6, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:08 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.615" (1.07px) → diameter=3.22px (radius=1.61px)
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Background mask: 3050/3600 (84.7%) pixels available
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2872
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2872
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Background mask: 2216/2601 (85.2%) pixels available
2026-05-19 17:42:08 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0178_3.fits: flux=4135.859±192.940 μJy (0.004136±0.000193 Jy) at λ=4.903 μm, mag_AB=14.859±0.051
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D3/2025W25_1B_0178_3.fits
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0178_3: detector 3, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:08 - spxquery.processing.photometry - INFO - Repaired 2 pixels with NaN variance using median variance (1.017840e-01). All repaired pixels have non-zero flags.
2026-05-19 17:42:08 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.223" (0.85px) → diameter=2.55px (radius=1.27px)
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Background mask: 2674/3600 (74.3%) pixels available
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.3322
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.3322
2026-05-19 17:42:08 - spxquery.utils.spherex_mef - INFO - Background mask: 1937/2601 (74.5%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0178_3.fits: flux=1923.751±50.761 μJy (0.001924±0.000051 Jy) at λ=2.279 μm, mag_AB=15.690±0.029
Processing observations:   6%|▌         | 13/218 [00:00<00:04, 43.85files/s]2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D6/2025W25_1B_0178_4.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0178_4: detector 6, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.615" (1.07px) → diameter=3.22px (radius=1.61px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2984/3600 (82.9%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.3227
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.3227
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2172/2601 (83.5%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0178_4.fits: flux=4894.334±346.410 μJy (0.004894±0.000346 Jy) at λ=4.939 μm, mag_AB=14.676±0.077
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D3/2025W25_1B_0178_4.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0178_4: detector 3, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.223" (0.85px) → diameter=2.55px (radius=1.27px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2629/3600 (73.0%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.3390
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.3390
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 1928/2601 (74.1%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0178_4.fits: flux=4554.300±71.066 μJy (0.004554±0.000071 Jy) at λ=2.331 μm, mag_AB=14.754±0.017
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D6/2025W25_1B_0202_1.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0202_1: detector 6, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Repaired 4 pixels with NaN variance using median variance (2.185604e+00). All repaired pixels have non-zero flags.
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.615" (1.07px) → diameter=3.22px (radius=1.61px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 3032/3600 (84.2%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.3304
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.3304
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2203/2601 (84.7%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0202_1.fits: flux=4313.004±219.673 μJy (0.004313±0.000220 Jy) at λ=4.974 μm, mag_AB=14.813±0.055
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D3/2025W25_1B_0202_1.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0202_1: detector 3, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.223" (0.85px) → diameter=2.55px (radius=1.27px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2676/3600 (74.3%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.3785
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.3785
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 1960/2601 (75.4%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0202_1.fits: flux=2050.439±60.703 μJy (0.002050±0.000061 Jy) at λ=2.383 μm, mag_AB=15.620±0.032
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D6/2025W25_1B_0329_3.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0329_3: detector 6, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (8.818707e-01). All repaired pixels have non-zero flags.
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.615" (1.07px) → diameter=3.22px (radius=1.61px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 3071/3600 (85.3%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.3753
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.3753
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2226/2601 (85.6%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0329_3.fits: flux=3239.244±155.068 μJy (0.003239±0.000155 Jy) at λ=4.413 μm, mag_AB=15.124±0.052
Processing observations:   8%|▊         | 18/218 [00:00<00:04, 44.62files/s]2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D3/2025W25_1B_0329_3.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0329_3: detector 3, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.223" (0.85px) → diameter=2.55px (radius=1.27px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2698/3600 (74.9%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1037
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1037
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 1978/2601 (76.0%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0329_3.fits: flux=1419.116±51.836 μJy (0.001419±0.000052 Jy) at λ=1.634 μm, mag_AB=16.020±0.040
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D3/2025W25_1B_0329_4.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0329_4: detector 3, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.223" (0.85px) → diameter=2.54px (radius=1.27px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2682/3600 (74.5%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1153
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1153
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 1958/2601 (75.3%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0329_4.fits: flux=1343.344±51.936 μJy (0.001343±0.000052 Jy) at λ=1.671 μm, mag_AB=16.080±0.042
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D6/2025W25_1B_0329_4.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0329_4: detector 6, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (9.682290e-01). All repaired pixels have non-zero flags.
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.615" (1.07px) → diameter=3.22px (radius=1.61px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 3047/3600 (84.6%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.3945
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.3945
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2208/2601 (84.9%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0329_4.fits: flux=3980.118±168.766 μJy (0.003980±0.000169 Jy) at λ=4.445 μm, mag_AB=14.900±0.046
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D6/2025W25_1B_0468_1.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0468_1: detector 6, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Repaired 4 pixels with NaN variance using median variance (1.017489e+00). All repaired pixels have non-zero flags.
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.615" (1.07px) → diameter=3.22px (radius=1.61px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 3047/3600 (84.6%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.4428
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.4428
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2222/2601 (85.4%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0468_1.fits: flux=3110.570±168.523 μJy (0.003111±0.000169 Jy) at λ=4.477 μm, mag_AB=15.168±0.059
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D3/2025W25_1B_0468_1.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0468_1: detector 3, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (1.448998e-01). All repaired pixels have non-zero flags.
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.223" (0.85px) → diameter=2.55px (radius=1.27px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2695/3600 (74.9%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1425
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1425
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 1970/2601 (75.7%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0468_1.fits: flux=1541.299±80.702 μJy (0.001541±0.000081 Jy) at λ=1.710 μm, mag_AB=15.930±0.057
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D3/2025W25_1B_0468_2.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0468_2: detector 3, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.223" (0.85px) → diameter=2.55px (radius=1.27px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2691/3600 (74.8%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1480
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1480
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 1961/2601 (75.4%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0468_2.fits: flux=2039.079±55.922 μJy (0.002039±0.000056 Jy) at λ=1.749 μm, mag_AB=15.626±0.030
Processing observations:  11%|█         | 24/218 [00:00<00:04, 47.17files/s]2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D6/2025W25_1B_0468_2.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0468_2: detector 6, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (9.571368e-01). All repaired pixels have non-zero flags.
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.615" (1.07px) → diameter=3.22px (radius=1.61px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 3040/3600 (84.4%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.3485
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.3485
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2207/2601 (84.9%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0468_2.fits: flux=3879.996±165.546 μJy (0.003880±0.000166 Jy) at λ=4.509 μm, mag_AB=14.928±0.046
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D3/2025W25_1B_0468_3.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0468_3: detector 3, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.223" (0.85px) → diameter=2.54px (radius=1.27px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2694/3600 (74.8%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1428
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1428
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 1971/2601 (75.8%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0468_3.fits: flux=1533.813±50.390 μJy (0.001534±0.000050 Jy) at λ=1.790 μm, mag_AB=15.936±0.036
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D6/2025W25_1B_0468_3.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0468_3: detector 6, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.615" (1.07px) → diameter=3.22px (radius=1.61px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 3045/3600 (84.6%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2868
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2868
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2211/2601 (85.0%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0468_3.fits: flux=4695.879±171.230 μJy (0.004696±0.000171 Jy) at λ=4.542 μm, mag_AB=14.721±0.040
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D3/2025W25_1B_0468_4.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0468_4: detector 3, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.223" (0.85px) → diameter=2.55px (radius=1.27px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2672/3600 (74.2%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1679
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1679
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 1953/2601 (75.1%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0468_4.fits: flux=1428.635±48.917 μJy (0.001429±0.000049 Jy) at λ=1.832 μm, mag_AB=16.013±0.037
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D6/2025W25_1B_0468_4.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0468_4: detector 6, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (9.261420e-01). All repaired pixels have non-zero flags.
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.615" (1.07px) → diameter=3.22px (radius=1.61px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 3028/3600 (84.1%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2418
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2418
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2188/2601 (84.1%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0468_4.fits: flux=4728.408±414.574 μJy (0.004728±0.000415 Jy) at λ=4.575 μm, mag_AB=14.713±0.095
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D6/2025W25_1B_0503_1.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0503_1: detector 6, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (9.955895e-01). All repaired pixels have non-zero flags.
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.615" (1.07px) → diameter=3.22px (radius=1.61px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 3031/3600 (84.2%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2862
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2862
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2208/2601 (84.9%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0503_1.fits: flux=3794.159±164.030 μJy (0.003794±0.000164 Jy) at λ=4.608 μm, mag_AB=14.952±0.047
Processing observations:  14%|█▍        | 30/218 [00:00<00:03, 48.28files/s]2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D3/2025W25_1B_0503_1.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0503_1: detector 3, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.223" (0.85px) → diameter=2.55px (radius=1.27px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2672/3600 (74.2%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2354
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2354
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 1949/2601 (74.9%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0503_1.fits: flux=1462.765±49.545 μJy (0.001463±0.000050 Jy) at λ=1.874 μm, mag_AB=15.987±0.037
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D6/2025W25_1B_0503_2.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0503_2: detector 6, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Repaired 2 pixels with NaN variance using median variance (1.069117e+00). All repaired pixels have non-zero flags.
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.615" (1.07px) → diameter=3.22px (radius=1.61px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 3031/3600 (84.2%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2640
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2640
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2215/2601 (85.2%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0503_2.fits: flux=3662.059±165.687 μJy (0.003662±0.000166 Jy) at λ=4.643 μm, mag_AB=14.991±0.049
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D3/2025W25_1B_0503_2.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0503_2: detector 3, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.223" (0.85px) → diameter=2.55px (radius=1.27px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2682/3600 (74.5%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2334
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2334
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 1958/2601 (75.3%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0503_2.fits: flux=1345.617±46.710 μJy (0.001346±0.000047 Jy) at λ=1.918 μm, mag_AB=16.078±0.038
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D2/2025W25_1B_0616_1.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0616_1: detector 2, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.154" (0.84px) → diameter=2.52px (radius=1.26px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2878/3600 (79.9%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2272
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2272
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2144/2601 (82.4%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0616_1.fits: flux=1249.009±49.258 μJy (0.001249±0.000049 Jy) at λ=1.481 μm, mag_AB=16.159±0.043
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D5/2025W25_1B_0616_1.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0616_1: detector 5, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Repaired 2 pixels with NaN variance using median variance (5.752662e-01). All repaired pixels have non-zero flags.
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.059" (0.99px) → diameter=2.96px (radius=1.48px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2216/3600 (61.6%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.4372
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.4372
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 1683/2601 (64.7%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0616_1.fits: flux=2968.763±121.265 μJy (0.002969±0.000121 Jy) at λ=4.253 μm, mag_AB=15.219±0.044
Processing observations:  16%|█▌        | 35/218 [00:00<00:03, 48.76files/s]2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D2/2025W25_1B_0616_2.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0616_2: detector 2, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.154" (0.84px) → diameter=2.52px (radius=1.26px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2888/3600 (80.2%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1963
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1963
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2145/2601 (82.5%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0616_2.fits: flux=1316.198±47.939 μJy (0.001316±0.000048 Jy) at λ=1.516 μm, mag_AB=16.102±0.040
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D5/2025W25_1B_0616_2.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0616_2: detector 5, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Repaired 2 pixels with NaN variance using median variance (5.870905e-01). All repaired pixels have non-zero flags.
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.059" (0.99px) → diameter=2.96px (radius=1.48px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2175/3600 (60.4%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.3829
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.3829
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 1663/2601 (63.9%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0616_2.fits: flux=3159.580±125.333 μJy (0.003160±0.000125 Jy) at λ=4.289 μm, mag_AB=15.151±0.043
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D5/2025W25_1B_0616_3.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0616_3: detector 5, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (6.027371e-01). All repaired pixels have non-zero flags.
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.059" (0.99px) → diameter=2.97px (radius=1.48px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2219/3600 (61.6%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.3511
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.3511
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 1685/2601 (64.8%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0616_3.fits: flux=3127.450±125.724 μJy (0.003127±0.000126 Jy) at λ=4.326 μm, mag_AB=15.162±0.044
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D2/2025W25_1B_0616_3.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0616_3: detector 2, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.154" (0.84px) → diameter=2.52px (radius=1.26px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2877/3600 (79.9%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1677
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1677
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2143/2601 (82.4%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0616_3.fits: flux=1480.483±49.805 μJy (0.001480±0.000050 Jy) at λ=1.553 μm, mag_AB=15.974±0.037
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D2/2025W25_1B_0616_4.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0616_4: detector 2, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.154" (0.84px) → diameter=2.52px (radius=1.26px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2837/3600 (78.8%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1331
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1331
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2110/2601 (81.1%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0616_4.fits: flux=1366.444±48.874 μJy (0.001366±0.000049 Jy) at λ=1.591 μm, mag_AB=16.061±0.039
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D5/2025W25_1B_0616_4.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0616_4: detector 5, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.059" (0.99px) → diameter=2.96px (radius=1.48px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2160/3600 (60.0%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.3287
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.3287
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 1648/2601 (63.4%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0616_4.fits: flux=3434.933±131.572 μJy (0.003435±0.000132 Jy) at λ=4.363 μm, mag_AB=15.060±0.042
Processing observations:  19%|█▉        | 41/218 [00:00<00:03, 49.67files/s]2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D5/2025W25_1B_0679_1.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0679_1: detector 5, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.059" (0.99px) → diameter=2.96px (radius=1.48px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2208/3600 (61.3%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.4398
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.4398
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 1684/2601 (64.7%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0679_1.fits: flux=3265.288±132.424 μJy (0.003265±0.000132 Jy) at λ=4.400 μm, mag_AB=15.115±0.044
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D2/2025W25_1B_0679_1.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0679_1: detector 2, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.154" (0.84px) → diameter=2.52px (radius=1.26px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2897/3600 (80.5%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1505
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1505
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2163/2601 (83.2%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0679_1.fits: flux=1418.873±47.779 μJy (0.001419±0.000048 Jy) at λ=1.628 μm, mag_AB=16.020±0.037
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D6/2025W25_1B_0746_1.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0746_1: detector 6, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.615" (1.07px) → diameter=3.22px (radius=1.61px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 3035/3600 (84.3%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.3086
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.3086
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2214/2601 (85.1%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0746_1.fits: flux=3943.713±184.762 μJy (0.003944±0.000185 Jy) at λ=4.797 μm, mag_AB=14.910±0.051
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D3/2025W25_1B_0746_1.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_1B_0746_1: detector 3, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.223" (0.85px) → diameter=2.55px (radius=1.27px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2699/3600 (75.0%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2627
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2627
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 1956/2601 (75.2%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_1B_0746_1.fits: flux=1328.373±45.679 μJy (0.001328±0.000046 Jy) at λ=2.127 μm, mag_AB=16.092±0.037
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D5/2025W25_2A_0075_1.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_2A_0075_1: detector 5, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (4.696401e-01). All repaired pixels have non-zero flags.
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.059" (0.99px) → diameter=2.96px (radius=1.48px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2158/3600 (59.9%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.3952
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.3952
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 1643/2601 (63.2%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_2A_0075_1.fits: flux=2489.474±291.238 μJy (0.002489±0.000291 Jy) at λ=4.110 μm, mag_AB=15.410±0.127
Processing observations:  21%|██        | 46/218 [00:00<00:03, 48.56files/s]2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D2/2025W25_2A_0075_1.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_2A_0075_1: detector 2, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.154" (0.84px) → diameter=2.52px (radius=1.26px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2876/3600 (79.9%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2446
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2446
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2142/2601 (82.4%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_2A_0075_1.fits: flux=1229.067±48.064 μJy (0.001229±0.000048 Jy) at λ=1.347 μm, mag_AB=16.176±0.042
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D2/2025W25_2A_0075_2.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_2A_0075_2: detector 2, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.154" (0.84px) → diameter=2.52px (radius=1.26px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2904/3600 (80.7%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2403
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2403
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2151/2601 (82.7%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_2A_0075_2.fits: flux=1290.831±50.333 μJy (0.001291±0.000050 Jy) at λ=1.379 μm, mag_AB=16.123±0.042
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D5/2025W25_2A_0075_2.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_2A_0075_2: detector 5, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.059" (0.99px) → diameter=2.96px (radius=1.48px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2220/3600 (61.7%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.3917
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.3917
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 1689/2601 (64.9%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_2A_0075_2.fits: flux=2727.435±118.167 μJy (0.002727±0.000118 Jy) at λ=4.145 μm, mag_AB=15.311±0.047
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D2/2025W25_2A_0075_3.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_2A_0075_3: detector 2, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.154" (0.84px) → diameter=2.52px (radius=1.26px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2889/3600 (80.2%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2218
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2218
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2149/2601 (82.6%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_2A_0075_3.fits: flux=1208.975±47.677 μJy (0.001209±0.000048 Jy) at λ=1.412 μm, mag_AB=16.194±0.043
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D5/2025W25_2A_0075_3.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_2A_0075_3: detector 5, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (5.145005e-01). All repaired pixels have non-zero flags.
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.059" (0.99px) → diameter=2.96px (radius=1.48px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2212/3600 (61.4%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.3816
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.3816
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 1682/2601 (64.7%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_2A_0075_3.fits: flux=2842.580±118.798 μJy (0.002843±0.000119 Jy) at λ=4.181 μm, mag_AB=15.266±0.045
Processing observations:  23%|██▎       | 51/218 [00:01<00:03, 47.57files/s]2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D5/2025W25_2A_0075_4.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_2A_0075_4: detector 5, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (5.417434e-01). All repaired pixels have non-zero flags.
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.059" (0.99px) → diameter=2.96px (radius=1.48px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2200/3600 (61.1%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.3849
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.3849
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 1678/2601 (64.5%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_2A_0075_4.fits: flux=2896.453±121.598 μJy (0.002896±0.000122 Jy) at λ=4.217 μm, mag_AB=15.245±0.046
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D2/2025W25_2A_0075_4.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_2A_0075_4: detector 2, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.154" (0.84px) → diameter=2.52px (radius=1.26px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2875/3600 (79.9%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2164
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2164
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2139/2601 (82.2%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_2A_0075_4.fits: flux=1255.917±50.672 μJy (0.001256±0.000051 Jy) at λ=1.446 μm, mag_AB=16.153±0.044
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D5/2025W25_2A_0206_2.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_2A_0206_2: detector 5, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Repaired 3 pixels with NaN variance using median variance (3.813377e-01). All repaired pixels have non-zero flags.
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.059" (0.99px) → diameter=2.96px (radius=1.48px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2194/3600 (60.9%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.5431
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.5431
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 1673/2601 (64.3%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_2A_0206_2.fits: flux=2850.733±164.158 μJy (0.002851±0.000164 Jy) at λ=3.817 μm, mag_AB=15.263±0.063
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D2/2025W25_2A_0206_2.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_2A_0206_2: detector 2, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.154" (0.84px) → diameter=2.52px (radius=1.26px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2882/3600 (80.1%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2212
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2212
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2148/2601 (82.6%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_2A_0206_2.fits: flux=1074.991±48.967 μJy (0.001075±0.000049 Jy) at λ=1.103 μm, mag_AB=16.321±0.049
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D2/2025W25_2A_0206_3.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_2A_0206_3: detector 2, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.154" (0.84px) → diameter=2.52px (radius=1.26px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2863/3600 (79.5%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1949
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1949
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2118/2601 (81.4%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_2A_0206_3.fits: flux=1267.285±50.104 μJy (0.001267±0.000050 Jy) at λ=1.128 μm, mag_AB=16.143±0.043
Processing observations:  26%|██▌       | 56/218 [00:01<00:03, 47.38files/s]2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D5/2025W25_2A_0206_3.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_2A_0206_3: detector 5, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Repaired 3 pixels with NaN variance using median variance (3.905322e-01). All repaired pixels have non-zero flags.
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.059" (0.99px) → diameter=2.96px (radius=1.48px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2190/3600 (60.8%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.4890
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.4890
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 1673/2601 (64.3%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_2A_0206_3.fits: flux=3515.909±119.192 μJy (0.003516±0.000119 Jy) at λ=3.850 μm, mag_AB=15.035±0.037
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D5/2025W25_2A_0206_4.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_2A_0206_4: detector 5, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.059" (0.99px) → diameter=2.96px (radius=1.48px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2192/3600 (60.9%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.4632
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.4632
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 1671/2601 (64.2%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_2A_0206_4.fits: flux=2964.433±114.166 μJy (0.002964±0.000114 Jy) at λ=3.884 μm, mag_AB=15.220±0.042
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D2/2025W25_2A_0206_4.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_2A_0206_4: detector 2, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.154" (0.84px) → diameter=2.52px (radius=1.26px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2905/3600 (80.7%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1604
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1604
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2171/2601 (83.5%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_2A_0206_4.fits: flux=1207.903±49.305 μJy (0.001208±0.000049 Jy) at λ=1.156 μm, mag_AB=16.195±0.044
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D5/2025W25_2A_0241_1.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_2A_0241_1: detector 5, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (4.052316e-01). All repaired pixels have non-zero flags.
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.059" (0.99px) → diameter=2.96px (radius=1.48px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2191/3600 (60.9%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.4667
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.4667
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 1676/2601 (64.4%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_2A_0241_1.fits: flux=2616.971±111.297 μJy (0.002617±0.000111 Jy) at λ=3.917 μm, mag_AB=15.356±0.046
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D2/2025W25_2A_0241_1.fits
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_2A_0241_1: detector 2, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.154" (0.84px) → diameter=2.52px (radius=1.26px)
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2896/3600 (80.4%) pixels available
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1751
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1751
2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Background mask: 2155/2601 (82.9%) pixels available
2026-05-19 17:42:09 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_2A_0241_1.fits: flux=1267.507±51.243 μJy (0.001268±0.000051 Jy) at λ=1.183 μm, mag_AB=16.143±0.044
Processing observations:  28%|██▊       | 61/218 [00:01<00:03, 47.48files/s]2026-05-19 17:42:09 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D2/2025W25_2A_0241_2.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_2A_0241_2: detector 2, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.154" (0.84px) → diameter=2.52px (radius=1.26px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2875/3600 (79.9%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1698
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1698
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2139/2601 (82.2%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_2A_0241_2.fits: flux=1341.112±53.815 μJy (0.001341±0.000054 Jy) at λ=1.211 μm, mag_AB=16.081±0.044
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D5/2025W25_2A_0241_2.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_2A_0241_2: detector 5, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Repaired 3 pixels with NaN variance using median variance (4.114605e-01). All repaired pixels have non-zero flags.
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.059" (0.99px) → diameter=2.96px (radius=1.48px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2168/3600 (60.2%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.4649
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.4649
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 1662/2601 (63.9%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_2A_0241_2.fits: flux=2732.212±111.813 μJy (0.002732±0.000112 Jy) at λ=3.951 μm, mag_AB=15.309±0.044
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D5/2025W25_2A_0241_3.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_2A_0241_3: detector 5, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Repaired 4 pixels with NaN variance using median variance (4.212143e-01). All repaired pixels have non-zero flags.
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.059" (0.99px) → diameter=2.96px (radius=1.48px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2160/3600 (60.0%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.4410
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.4410
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 1655/2601 (63.6%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_2A_0241_3.fits: flux=2659.775±108.998 μJy (0.002660±0.000109 Jy) at λ=3.986 μm, mag_AB=15.338±0.044
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D2/2025W25_2A_0241_3.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_2A_0241_3: detector 2, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Repaired 2 pixels with NaN variance using median variance (1.672673e-01). All repaired pixels have non-zero flags.
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.154" (0.84px) → diameter=2.52px (radius=1.26px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2892/3600 (80.3%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1910
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1910
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2150/2601 (82.7%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_2A_0241_3.fits: flux=1237.373±51.541 μJy (0.001237±0.000052 Jy) at λ=1.240 μm, mag_AB=16.169±0.045
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D5/2025W25_2A_0241_4.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_2A_0241_4: detector 5, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (4.476950e-01). All repaired pixels have non-zero flags.
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.059" (0.99px) → diameter=2.96px (radius=1.48px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2200/3600 (61.1%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.4197
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.4197
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 1680/2601 (64.6%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_2A_0241_4.fits: flux=2971.164±117.977 μJy (0.002971±0.000118 Jy) at λ=4.021 μm, mag_AB=15.218±0.043
Processing observations:  30%|███       | 66/218 [00:01<00:03, 46.84files/s]2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D2/2025W25_2A_0241_4.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_2A_0241_4: detector 2, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.154" (0.84px) → diameter=2.52px (radius=1.26px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2889/3600 (80.2%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2018
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2018
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2149/2601 (82.6%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_2A_0241_4.fits: flux=1285.306±51.293 μJy (0.001285±0.000051 Jy) at λ=1.270 μm, mag_AB=16.127±0.043
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D2/2025W25_2A_0366_1.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_2A_0366_1: detector 2, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.154" (0.84px) → diameter=2.52px (radius=1.26px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2885/3600 (80.1%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2118
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2118
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2150/2601 (82.7%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_2A_0366_1.fits: flux=1253.049±49.470 μJy (0.001253±0.000049 Jy) at λ=1.286 μm, mag_AB=16.155±0.043
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D5/2025W25_2A_0366_1.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_2A_0366_1: detector 5, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (4.498141e-01). All repaired pixels have non-zero flags.
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.059" (0.99px) → diameter=2.96px (radius=1.48px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2213/3600 (61.5%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.4342
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.4342
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 1681/2601 (64.6%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_2A_0366_1.fits: flux=2824.587±111.777 μJy (0.002825±0.000112 Jy) at λ=4.039 μm, mag_AB=15.273±0.043
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D2/2025W25_2A_0366_2.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_2A_0366_2: detector 2, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.154" (0.84px) → diameter=2.52px (radius=1.26px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2888/3600 (80.2%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2465
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2465
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2158/2601 (83.0%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_2A_0366_2.fits: flux=1197.947±49.210 μJy (0.001198±0.000049 Jy) at λ=1.316 μm, mag_AB=16.204±0.045
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D5/2025W25_2A_0366_2.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W25_2A_0366_2: detector 5, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (4.861885e-01). All repaired pixels have non-zero flags.
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.059" (0.99px) → diameter=2.96px (radius=1.48px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2224/3600 (61.8%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.5171
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.5171
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 1686/2601 (64.8%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W25_2A_0366_2.fits: flux=2486.968±196.896 μJy (0.002487±0.000197 Jy) at λ=4.075 μm, mag_AB=15.411±0.086
Processing observations:  33%|███▎      | 71/218 [00:01<00:03, 46.73files/s]2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D4/2025W26_1A_0204_4.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W26_1A_0204_4: detector 4, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Repaired 2 pixels with NaN variance using median variance (1.347740e-01). All repaired pixels have non-zero flags.
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.104" (0.99px) → diameter=2.97px (radius=1.49px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2684/3600 (74.6%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.4317
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.4317
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 1992/2601 (76.6%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W26_1A_0204_4.fits: flux=1407.786±55.346 μJy (0.001408±0.000055 Jy) at λ=2.441 μm, mag_AB=16.029±0.043
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D1/2025W26_1A_0204_4.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W26_1A_0204_4: detector 1, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.254" (0.85px) → diameter=2.56px (radius=1.28px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2965/3600 (82.4%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2056
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2056
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2193/2601 (84.3%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W26_1A_0204_4.fits: flux=546.690±45.227 μJy (0.000547±0.000045 Jy) at λ=0.750 μm, mag_AB=17.056±0.090
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D1/2025W26_1A_0240_1.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W26_1A_0240_1: detector 1, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.254" (0.85px) → diameter=2.56px (radius=1.28px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 3054/3600 (84.8%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2028
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2028
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2255/2601 (86.7%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W26_1A_0240_1.fits: flux=682.702±45.682 μJy (0.000683±0.000046 Jy) at λ=0.767 μm, mag_AB=16.814±0.073
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D4/2025W26_1A_0240_1.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W26_1A_0240_1: detector 4, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Repaired 2 pixels with NaN variance using median variance (7.822022e-02). All repaired pixels have non-zero flags.
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.104" (0.99px) → diameter=2.97px (radius=1.49px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2650/3600 (73.6%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.3584
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.3584
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 1974/2601 (75.9%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W26_1A_0240_1.fits: flux=1448.970±45.017 μJy (0.001449±0.000045 Jy) at λ=2.499 μm, mag_AB=15.997±0.034
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D4/2025W26_1A_0240_2.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W26_1A_0240_2: detector 4, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (7.223686e-02). All repaired pixels have non-zero flags.
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.104" (0.99px) → diameter=2.97px (radius=1.49px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2661/3600 (73.9%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.3411
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.3411
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 1983/2601 (76.2%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W26_1A_0240_2.fits: flux=1456.665±43.326 μJy (0.001457±0.000043 Jy) at λ=2.567 μm, mag_AB=15.992±0.032
Processing observations:  35%|███▍      | 76/218 [00:01<00:03, 47.01files/s]2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D1/2025W26_1A_0240_2.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W26_1A_0240_2: detector 1, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.254" (0.85px) → diameter=2.56px (radius=1.28px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 3035/3600 (84.3%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1916
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1916
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2247/2601 (86.4%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W26_1A_0240_2.fits: flux=605.347±43.904 μJy (0.000605±0.000044 Jy) at λ=0.785 μm, mag_AB=16.945±0.079
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D1/2025W26_1A_0240_3.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W26_1A_0240_3: detector 1, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.254" (0.85px) → diameter=2.56px (radius=1.28px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 3059/3600 (85.0%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1896
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1896
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2254/2601 (86.7%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W26_1A_0240_3.fits: flux=618.616±44.292 μJy (0.000619±0.000044 Jy) at λ=0.804 μm, mag_AB=16.921±0.078
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D4/2025W26_1A_0240_3.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W26_1A_0240_3: detector 4, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (7.053709e-02). All repaired pixels have non-zero flags.
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.104" (0.99px) → diameter=2.97px (radius=1.49px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2666/3600 (74.1%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.3568
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.3568
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 1992/2601 (76.6%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W26_1A_0240_3.fits: flux=1528.272±44.604 μJy (0.001528±0.000045 Jy) at λ=2.636 μm, mag_AB=15.939±0.032
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D1/2025W26_1A_0240_4.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W26_1A_0240_4: detector 1, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.254" (0.85px) → diameter=2.56px (radius=1.28px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 3050/3600 (84.7%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1904
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1904
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2250/2601 (86.5%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W26_1A_0240_4.fits: flux=778.940±46.245 μJy (0.000779±0.000046 Jy) at λ=0.823 μm, mag_AB=16.671±0.064
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D4/2025W26_1A_0240_4.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W26_1A_0240_4: detector 4, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Repaired 2 pixels with NaN variance using median variance (7.201919e-02). All repaired pixels have non-zero flags.
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.104" (0.99px) → diameter=2.98px (radius=1.49px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2681/3600 (74.5%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.3940
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.3940
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 1999/2601 (76.9%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W26_1A_0240_4.fits: flux=1539.682±44.831 μJy (0.001540±0.000045 Jy) at λ=2.707 μm, mag_AB=15.931±0.032
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D4/2025W26_1A_0298_1.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W26_1A_0298_1: detector 4, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Repaired 3 pixels with NaN variance using median variance (7.648971e-02). All repaired pixels have non-zero flags.
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.104" (0.99px) → diameter=2.98px (radius=1.49px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2652/3600 (73.7%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.4473
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.4473
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 1974/2601 (75.9%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W26_1A_0298_1.fits: flux=1647.086±46.491 μJy (0.001647±0.000046 Jy) at λ=2.780 μm, mag_AB=15.858±0.031
Processing observations:  38%|███▊      | 82/218 [00:01<00:02, 47.61files/s]2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D1/2025W26_1A_0298_1.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W26_1A_0298_1: detector 1, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.254" (0.85px) → diameter=2.56px (radius=1.28px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 3058/3600 (84.9%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2182
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2182
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2269/2601 (87.2%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W26_1A_0298_1.fits: flux=725.446±45.271 μJy (0.000725±0.000045 Jy) at λ=0.842 μm, mag_AB=16.748±0.068
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D4/2025W26_1A_0298_2.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W26_1A_0298_2: detector 4, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Repaired 2 pixels with NaN variance using median variance (7.206540e-02). All repaired pixels have non-zero flags.
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.104" (0.99px) → diameter=2.97px (radius=1.49px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2653/3600 (73.7%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.4437
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.4437
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 1970/2601 (75.7%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W26_1A_0298_2.fits: flux=1757.885±47.203 μJy (0.001758±0.000047 Jy) at λ=2.856 μm, mag_AB=15.788±0.029
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D1/2025W26_1A_0298_2.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W26_1A_0298_2: detector 1, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.254" (0.85px) → diameter=2.56px (radius=1.28px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 3061/3600 (85.0%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1765
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1765
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2270/2601 (87.3%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W26_1A_0298_2.fits: flux=822.573±45.689 μJy (0.000823±0.000046 Jy) at λ=0.862 μm, mag_AB=16.612±0.060
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D1/2025W26_1A_0553_1.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W26_1A_0553_1: detector 1, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.254" (0.85px) → diameter=2.55px (radius=1.28px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 3035/3600 (84.3%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1858
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1858
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2249/2601 (86.5%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W26_1A_0553_1.fits: flux=949.856±47.480 μJy (0.000950±0.000047 Jy) at λ=0.882 μm, mag_AB=16.456±0.054
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D4/2025W26_1A_0553_1.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W26_1A_0553_1: detector 4, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Repaired 2 pixels with NaN variance using median variance (6.502416e-02). All repaired pixels have non-zero flags.
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.104" (0.99px) → diameter=2.97px (radius=1.49px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2636/3600 (73.2%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.4902
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.4902
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 1961/2601 (75.4%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W26_1A_0553_1.fits: flux=1771.789±45.945 μJy (0.001772±0.000046 Jy) at λ=2.934 μm, mag_AB=15.779±0.028
Processing observations:  40%|███▉      | 87/218 [00:01<00:02, 47.07files/s]2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D4/2025W26_1A_0553_2.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W26_1A_0553_2: detector 4, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Repaired 4 pixels with NaN variance using median variance (6.146542e-02). All repaired pixels have non-zero flags.
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.104" (0.99px) → diameter=2.97px (radius=1.49px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2630/3600 (73.1%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.4312
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.4312
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 1958/2601 (75.3%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W26_1A_0553_2.fits: flux=2051.454±47.773 μJy (0.002051±0.000048 Jy) at λ=3.013 μm, mag_AB=15.620±0.025
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D1/2025W26_1A_0553_2.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W26_1A_0553_2: detector 1, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.254" (0.85px) → diameter=2.56px (radius=1.28px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 3038/3600 (84.4%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2030
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2030
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2261/2601 (86.9%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W26_1A_0553_2.fits: flux=984.955±48.598 μJy (0.000985±0.000049 Jy) at λ=0.903 μm, mag_AB=16.416±0.054
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D1/2025W26_1A_0553_3.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W26_1A_0553_3: detector 1, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (1.677693e-01). All repaired pixels have non-zero flags.
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.254" (0.85px) → diameter=2.56px (radius=1.28px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 3042/3600 (84.5%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2279
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2279
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2256/2601 (86.7%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W26_1A_0553_3.fits: flux=826.022±46.983 μJy (0.000826±0.000047 Jy) at λ=0.925 μm, mag_AB=16.608±0.062
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D4/2025W26_1A_0553_3.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W26_1A_0553_3: detector 4, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (5.896560e-02). All repaired pixels have non-zero flags.
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.104" (0.99px) → diameter=2.97px (radius=1.49px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2640/3600 (73.3%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.4470
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.4470
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 1963/2601 (75.5%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W26_1A_0553_3.fits: flux=1809.017±87.946 μJy (0.001809±0.000088 Jy) at λ=3.097 μm, mag_AB=15.756±0.053
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D4/2025W26_1A_0553_4.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W26_1A_0553_4: detector 4, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (5.800812e-02). All repaired pixels have non-zero flags.
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.104" (0.99px) → diameter=2.97px (radius=1.49px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2662/3600 (73.9%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.4633
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.4633
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 1988/2601 (76.4%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W26_1A_0553_4.fits: flux=1869.821±46.000 μJy (0.001870±0.000046 Jy) at λ=3.182 μm, mag_AB=15.720±0.027
Processing observations:  42%|████▏     | 92/218 [00:01<00:02, 47.78files/s]2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D1/2025W26_1A_0553_4.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W26_1A_0553_4: detector 1, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.254" (0.85px) → diameter=2.56px (radius=1.28px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 3025/3600 (84.0%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2653
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2653
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2239/2601 (86.1%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W26_1A_0553_4.fits: flux=944.086±48.616 μJy (0.000944±0.000049 Jy) at λ=0.947 μm, mag_AB=16.462±0.056
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D1/2025W26_2A_0026_1.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W26_2A_0026_1: detector 1, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.254" (0.85px) → diameter=2.56px (radius=1.28px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 3048/3600 (84.7%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2399
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2399
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2265/2601 (87.1%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W26_2A_0026_1.fits: flux=983.024±56.680 μJy (0.000983±0.000057 Jy) at λ=0.969 μm, mag_AB=16.419±0.063
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D4/2025W26_2A_0026_1.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W26_2A_0026_1: detector 4, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Repaired 2 pixels with NaN variance using median variance (6.036169e-02). All repaired pixels have non-zero flags.
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.104" (0.99px) → diameter=2.97px (radius=1.48px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2663/3600 (74.0%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.5222
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.5222
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 1984/2601 (76.3%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W26_2A_0026_1.fits: flux=1943.599±46.780 μJy (0.001944±0.000047 Jy) at λ=3.268 μm, mag_AB=15.678±0.026
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D4/2025W26_2A_0026_2.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W26_2A_0026_2: detector 4, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Repaired 2 pixels with NaN variance using median variance (5.794674e-02). All repaired pixels have non-zero flags.
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.104" (0.99px) → diameter=2.97px (radius=1.49px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2669/3600 (74.1%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.4600
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.4600
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 1995/2601 (76.7%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W26_2A_0026_2.fits: flux=1939.999±45.926 μJy (0.001940±0.000046 Jy) at λ=3.356 μm, mag_AB=15.680±0.026
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D1/2025W26_2A_0026_2.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W26_2A_0026_2: detector 1, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.254" (0.85px) → diameter=2.56px (radius=1.28px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 3044/3600 (84.6%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2353
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2353
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2267/2601 (87.2%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W26_2A_0026_2.fits: flux=1364.514±52.581 μJy (0.001365±0.000053 Jy) at λ=0.992 μm, mag_AB=16.063±0.042
Processing observations:  44%|████▍     | 97/218 [00:02<00:02, 47.31files/s]2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D4/2025W26_2A_0026_3.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W26_2A_0026_3: detector 4, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.104" (0.99px) → diameter=2.97px (radius=1.49px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2664/3600 (74.0%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.4348
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.4348
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 1983/2601 (76.2%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W26_2A_0026_3.fits: flux=1833.077±45.467 μJy (0.001833±0.000045 Jy) at λ=3.446 μm, mag_AB=15.742±0.027
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D1/2025W26_2A_0026_3.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W26_2A_0026_3: detector 1, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (1.747464e-01). All repaired pixels have non-zero flags.
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.254" (0.86px) → diameter=2.57px (radius=1.29px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 3055/3600 (84.9%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2268
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2268
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2274/2601 (87.4%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W26_2A_0026_3.fits: flux=1028.139±48.842 μJy (0.001028±0.000049 Jy) at λ=1.016 μm, mag_AB=16.370±0.052
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D4/2025W26_2A_0026_4.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W26_2A_0026_4: detector 4, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.104" (0.99px) → diameter=2.97px (radius=1.49px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2682/3600 (74.5%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.4620
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.4620
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2004/2601 (77.0%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W26_2A_0026_4.fits: flux=2165.391±48.053 μJy (0.002165±0.000048 Jy) at λ=3.539 μm, mag_AB=15.561±0.024
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D1/2025W26_2A_0026_4.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W26_2A_0026_4: detector 1, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.254" (0.85px) → diameter=2.56px (radius=1.28px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 3015/3600 (83.8%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2185
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2185
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2231/2601 (85.8%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W26_2A_0026_4.fits: flux=1111.770±50.065 μJy (0.001112±0.000050 Jy) at λ=1.040 μm, mag_AB=16.285±0.049
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D4/2025W26_2A_0142_1.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W26_2A_0142_1: detector 4, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Repaired 2 pixels with NaN variance using median variance (6.433695e-02). All repaired pixels have non-zero flags.
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.104" (0.99px) → diameter=2.98px (radius=1.49px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2640/3600 (73.3%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.5136
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.5136
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 1974/2601 (75.9%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W26_2A_0142_1.fits: flux=2024.261±47.522 μJy (0.002024±0.000048 Jy) at λ=3.634 μm, mag_AB=15.634±0.025
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D1/2025W26_2A_0142_1.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W26_2A_0142_1: detector 1, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.254" (0.85px) → diameter=2.56px (radius=1.28px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 3029/3600 (84.1%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.6038
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.6038
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2244/2601 (86.3%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W26_2A_0142_1.fits: flux=1133.164±53.317 μJy (0.001133±0.000053 Jy) at λ=1.064 μm, mag_AB=16.264±0.051
Processing observations:  47%|████▋     | 103/218 [00:02<00:02, 48.44files/s]2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D1/2025W26_2A_0142_2.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W26_2A_0142_2: detector 1, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.254" (0.85px) → diameter=2.56px (radius=1.28px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 3026/3600 (84.1%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 2.8322
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 2.8322
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2236/2601 (86.0%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W26_2A_0142_2.fits: flux=1150.701±63.468 μJy (0.001151±0.000063 Jy) at λ=1.090 μm, mag_AB=16.248±0.060
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D4/2025W26_2A_0142_2.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W26_2A_0142_2: detector 4, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.104" (0.99px) → diameter=2.97px (radius=1.49px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2655/3600 (73.8%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.4378
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.4378
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 1979/2601 (76.1%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W26_2A_0142_2.fits: flux=2150.735±49.043 μJy (0.002151±0.000049 Jy) at λ=3.732 μm, mag_AB=15.569±0.025
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D1/2025W26_2A_0142_3.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W26_2A_0142_3: detector 1, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.254" (0.85px) → diameter=2.56px (radius=1.28px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 3009/3600 (83.6%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.3142
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.3142
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2222/2601 (85.4%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W26_2A_0142_3.fits: flux=1340.145±71.541 μJy (0.001340±0.000072 Jy) at λ=1.115 μm, mag_AB=16.082±0.058
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D4/2025W26_2A_0142_3.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W26_2A_0142_3: detector 4, shape (54, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.104" (0.99px) → diameter=2.97px (radius=1.49px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2429/3240 (75.0%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.3694
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.3694
2026-05-19 17:42:10 - spxquery.processing.background - WARNING - Background window [4:55, -2:49] exceeds image boundaries, clipped to [4:55, 0:49]
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 1919/2499 (76.8%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W26_2A_0142_3.fits: flux=2892.327±55.237 μJy (0.002892±0.000055 Jy) at λ=3.834 μm, mag_AB=15.247±0.021
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D3/2025W29_2A_0482_1.fits
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Loaded 2025W29_2A_0482_1: detector 3, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.223" (0.85px) → diameter=2.55px (radius=1.27px)
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 2705/3600 (75.1%) pixels available
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1713
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1713
2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Background mask: 1970/2601 (75.7%) pixels available
2026-05-19 17:42:10 - spxquery.processing.photometry - INFO - Extracted photometry from 2025W29_2A_0482_1.fits: flux=1194.361±45.618 μJy (0.001194±0.000046 Jy) at λ=1.941 μm, mag_AB=16.207±0.041
Processing observations:  50%|████▉     | 108/218 [00:02<00:02, 47.90files/s]2026-05-19 17:42:10 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D1/2026W02_2A_0220_1.fits
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Loaded 2026W02_2A_0220_1: detector 1, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.254" (0.85px) → diameter=2.56px (radius=1.28px)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2910/3600 (80.8%) pixels available
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2140
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2140
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2167/2601 (83.3%) pixels available
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W02_2A_0220_1.fits: flux=944.186±52.315 μJy (0.000944±0.000052 Jy) at λ=0.878 μm, mag_AB=16.462±0.060
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D4/2026W02_2A_0220_1.fits
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Loaded 2026W02_2A_0220_1: detector 4, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Repaired 2 pixels with NaN variance using median variance (9.327552e-02). All repaired pixels have non-zero flags.
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.104" (0.99px) → diameter=2.97px (radius=1.49px)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2489/3600 (69.1%) pixels available
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.3128
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.3128
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 1867/2601 (71.8%) pixels available
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W02_2A_0220_1.fits: flux=1765.301±48.943 μJy (0.001765±0.000049 Jy) at λ=2.915 μm, mag_AB=15.783±0.030
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D1/2026W02_2A_0220_2.fits
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Loaded 2026W02_2A_0220_2: detector 1, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.254" (0.85px) → diameter=2.56px (radius=1.28px)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2920/3600 (81.1%) pixels available
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2311
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2311
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2175/2601 (83.6%) pixels available
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W02_2A_0220_2.fits: flux=1005.164±54.939 μJy (0.001005±0.000055 Jy) at λ=0.899 μm, mag_AB=16.394±0.059
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D4/2026W02_2A_0220_2.fits
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Loaded 2026W02_2A_0220_2: detector 4, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Repaired 2 pixels with NaN variance using median variance (9.076173e-02). All repaired pixels have non-zero flags.
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.104" (0.99px) → diameter=2.97px (radius=1.49px)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2515/3600 (69.9%) pixels available
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.3031
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.3031
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 1907/2601 (73.3%) pixels available
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W02_2A_0220_2.fits: flux=2011.550±66.631 μJy (0.002012±0.000067 Jy) at λ=2.995 μm, mag_AB=15.641±0.036
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D4/2026W02_2A_0220_3.fits
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Loaded 2026W02_2A_0220_3: detector 4, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (8.879545e-02). All repaired pixels have non-zero flags.
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.104" (0.99px) → diameter=2.97px (radius=1.49px)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2548/3600 (70.8%) pixels available
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.3350
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.3350
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 1927/2601 (74.1%) pixels available
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W02_2A_0220_3.fits: flux=1874.131±49.584 μJy (0.001874±0.000050 Jy) at λ=3.079 μm, mag_AB=15.718±0.029
Processing observations:  52%|█████▏    | 113/218 [00:02<00:02, 39.89files/s]2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D1/2026W02_2A_0220_3.fits
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Loaded 2026W02_2A_0220_3: detector 1, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.254" (0.85px) → diameter=2.56px (radius=1.28px)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2899/3600 (80.5%) pixels available
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2470
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2470
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2156/2601 (82.9%) pixels available
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W02_2A_0220_3.fits: flux=871.215±52.082 μJy (0.000871±0.000052 Jy) at λ=0.920 μm, mag_AB=16.550±0.065
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D1/2026W02_2A_0220_4.fits
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Loaded 2026W02_2A_0220_4: detector 1, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.254" (0.85px) → diameter=2.56px (radius=1.28px)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2951/3600 (82.0%) pixels available
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2614
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2614
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2203/2601 (84.7%) pixels available
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W02_2A_0220_4.fits: flux=1000.422±53.895 μJy (0.001000±0.000054 Jy) at λ=0.942 μm, mag_AB=16.400±0.058
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D4/2026W02_2A_0220_4.fits
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Loaded 2026W02_2A_0220_4: detector 4, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Repaired 3 pixels with NaN variance using median variance (8.779163e-02). All repaired pixels have non-zero flags.
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.104" (0.99px) → diameter=2.97px (radius=1.49px)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2529/3600 (70.2%) pixels available
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.3140
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.3140
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 1905/2601 (73.2%) pixels available
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W02_2A_0220_4.fits: flux=1797.884±47.939 μJy (0.001798±0.000048 Jy) at λ=3.163 μm, mag_AB=15.763±0.029
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D4/2026W02_2A_0238_1.fits
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Loaded 2026W02_2A_0238_1: detector 4, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (8.697320e-02). All repaired pixels have non-zero flags.
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.104" (0.99px) → diameter=2.97px (radius=1.49px)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2532/3600 (70.3%) pixels available
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.3515
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.3515
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 1923/2601 (73.9%) pixels available
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W02_2A_0238_1.fits: flux=1800.706±51.464 μJy (0.001801±0.000051 Jy) at λ=3.189 μm, mag_AB=15.761±0.031
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D1/2026W02_2A_0238_1.fits
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Loaded 2026W02_2A_0238_1: detector 1, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.254" (0.85px) → diameter=2.56px (radius=1.28px)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2939/3600 (81.6%) pixels available
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2588
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2588
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2185/2601 (84.0%) pixels available
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W02_2A_0238_1.fits: flux=944.437±52.993 μJy (0.000944±0.000053 Jy) at λ=0.949 μm, mag_AB=16.462±0.061
Processing observations:  54%|█████▍    | 118/218 [00:02<00:02, 41.09files/s]2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D4/2026W02_2A_0238_2.fits
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Loaded 2026W02_2A_0238_2: detector 4, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Repaired 2 pixels with NaN variance using median variance (8.821747e-02). All repaired pixels have non-zero flags.
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.104" (0.99px) → diameter=2.97px (radius=1.49px)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2542/3600 (70.6%) pixels available
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.3513
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.3513
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 1927/2601 (74.1%) pixels available
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W02_2A_0238_2.fits: flux=1968.890±49.185 μJy (0.001969±0.000049 Jy) at λ=3.277 μm, mag_AB=15.664±0.027
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D1/2026W02_2A_0238_2.fits
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Loaded 2026W02_2A_0238_2: detector 1, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.254" (0.85px) → diameter=2.56px (radius=1.28px)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2929/3600 (81.4%) pixels available
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2558
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2558
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2179/2601 (83.8%) pixels available
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W02_2A_0238_2.fits: flux=1150.933±137.921 μJy (0.001151±0.000138 Jy) at λ=0.972 μm, mag_AB=16.247±0.130
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D4/2026W02_2A_0238_3.fits
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Loaded 2026W02_2A_0238_3: detector 4, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (8.881748e-02). All repaired pixels have non-zero flags.
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.104" (0.99px) → diameter=2.97px (radius=1.49px)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2542/3600 (70.6%) pixels available
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.3129
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.3129
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 1925/2601 (74.0%) pixels available
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W02_2A_0238_3.fits: flux=2048.186±50.681 μJy (0.002048±0.000051 Jy) at λ=3.366 μm, mag_AB=15.622±0.027
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D1/2026W02_2A_0238_3.fits
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Loaded 2026W02_2A_0238_3: detector 1, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.254" (0.85px) → diameter=2.56px (radius=1.28px)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2946/3600 (81.8%) pixels available
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2492
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2492
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2191/2601 (84.2%) pixels available
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W02_2A_0238_3.fits: flux=1425.975±57.989 μJy (0.001426±0.000058 Jy) at λ=0.995 μm, mag_AB=16.015±0.044
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D4/2026W02_2A_0238_4.fits
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Loaded 2026W02_2A_0238_4: detector 4, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Repaired 5 pixels with NaN variance using median variance (9.263569e-02). All repaired pixels have non-zero flags.
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.104" (0.99px) → diameter=2.97px (radius=1.49px)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2530/3600 (70.3%) pixels available
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.3128
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.3128
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 1921/2601 (73.9%) pixels available
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W02_2A_0238_4.fits: flux=1857.524±48.432 μJy (0.001858±0.000048 Jy) at λ=3.457 μm, mag_AB=15.728±0.028
Processing observations:  56%|█████▋    | 123/218 [00:02<00:02, 42.05files/s]2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D1/2026W02_2A_0238_4.fits
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Loaded 2026W02_2A_0238_4: detector 1, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.254" (0.85px) → diameter=2.56px (radius=1.28px)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2950/3600 (81.9%) pixels available
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2362
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2362
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2192/2601 (84.3%) pixels available
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W02_2A_0238_4.fits: flux=1141.545±54.912 μJy (0.001142±0.000055 Jy) at λ=1.019 μm, mag_AB=16.256±0.052
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D1/2026W02_2A_0255_1.fits
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Loaded 2026W02_2A_0255_1: detector 1, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.254" (0.85px) → diameter=2.56px (radius=1.28px)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2935/3600 (81.5%) pixels available
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2285
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2285
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2176/2601 (83.7%) pixels available
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W02_2A_0255_1.fits: flux=1336.669±57.809 μJy (0.001337±0.000058 Jy) at λ=1.043 μm, mag_AB=16.085±0.047
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D4/2026W02_2A_0255_1.fits
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Loaded 2026W02_2A_0255_1: detector 4, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Repaired 3 pixels with NaN variance using median variance (9.974161e-02). All repaired pixels have non-zero flags.
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.104" (0.99px) → diameter=2.97px (radius=1.49px)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2518/3600 (69.9%) pixels available
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.3296
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.3296
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 1896/2601 (72.9%) pixels available
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W02_2A_0255_1.fits: flux=2224.747±51.935 μJy (0.002225±0.000052 Jy) at λ=3.550 μm, mag_AB=15.532±0.025
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D4/2026W02_2A_0255_2.fits
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Loaded 2026W02_2A_0255_2: detector 4, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Repaired 4 pixels with NaN variance using median variance (1.048660e-01). All repaired pixels have non-zero flags.
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.104" (0.99px) → diameter=2.97px (radius=1.49px)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2535/3600 (70.4%) pixels available
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2942
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2942
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 1903/2601 (73.2%) pixels available
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W02_2A_0255_2.fits: flux=2069.844±52.080 μJy (0.002070±0.000052 Jy) at λ=3.646 μm, mag_AB=15.610±0.027
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D1/2026W02_2A_0255_2.fits
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Loaded 2026W02_2A_0255_2: detector 1, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.254" (0.85px) → diameter=2.56px (radius=1.28px)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2914/3600 (80.9%) pixels available
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 2.4939
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 2.4939
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2165/2601 (83.2%) pixels available
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W02_2A_0255_2.fits: flux=1043.547±74.868 μJy (0.001044±0.000075 Jy) at λ=1.068 μm, mag_AB=16.354±0.078
Processing observations:  59%|█████▊    | 128/218 [00:02<00:02, 43.37files/s]2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D1/2026W02_2A_0255_3.fits
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Loaded 2026W02_2A_0255_3: detector 1, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.254" (0.85px) → diameter=2.56px (radius=1.28px)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2918/3600 (81.1%) pixels available
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 2.9842
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 2.9842
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2187/2601 (84.1%) pixels available
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W02_2A_0255_3.fits: flux=1291.598±81.120 μJy (0.001292±0.000081 Jy) at λ=1.093 μm, mag_AB=16.122±0.068
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D4/2026W02_2A_0255_3.fits
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Loaded 2026W02_2A_0255_3: detector 4, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.104" (0.99px) → diameter=2.97px (radius=1.49px)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2532/3600 (70.3%) pixels available
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.3065
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.3065
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 1916/2601 (73.7%) pixels available
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W02_2A_0255_3.fits: flux=2140.071±53.264 μJy (0.002140±0.000053 Jy) at λ=3.744 μm, mag_AB=15.574±0.027
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D4/2026W02_2A_0803_1.fits
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Loaded 2026W02_2A_0803_1: detector 4, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Repaired 4 pixels with NaN variance using median variance (9.747738e-02). All repaired pixels have non-zero flags.
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.104" (0.99px) → diameter=2.97px (radius=1.49px)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2538/3600 (70.5%) pixels available
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.3039
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.3039
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 1905/2601 (73.2%) pixels available
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W02_2A_0803_1.fits: flux=1577.118±48.239 μJy (0.001577±0.000048 Jy) at λ=2.763 μm, mag_AB=15.905±0.033
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D1/2026W02_2A_0803_1.fits
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Loaded 2026W02_2A_0803_1: detector 1, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.254" (0.85px) → diameter=2.56px (radius=1.28px)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2929/3600 (81.4%) pixels available
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2294
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2294
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2188/2601 (84.1%) pixels available
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W02_2A_0803_1.fits: flux=848.163±50.985 μJy (0.000848±0.000051 Jy) at λ=0.838 μm, mag_AB=16.579±0.065
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D1/2026W02_2A_0803_2.fits
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Loaded 2026W02_2A_0803_2: detector 1, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.254" (0.85px) → diameter=2.56px (radius=1.28px)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2933/3600 (81.5%) pixels available
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2128
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2128
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2170/2601 (83.4%) pixels available
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W02_2A_0803_2.fits: flux=818.600±51.105 μJy (0.000819±0.000051 Jy) at λ=0.857 μm, mag_AB=16.617±0.068
Processing observations:  61%|██████    | 133/218 [00:02<00:01, 43.97files/s]2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D4/2026W02_2A_0803_2.fits
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Loaded 2026W02_2A_0803_2: detector 4, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.104" (0.99px) → diameter=2.97px (radius=1.49px)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2529/3600 (70.2%) pixels available
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.3026
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.3026
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 1896/2601 (72.9%) pixels available
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W02_2A_0803_2.fits: flux=14355.420±1138.777 μJy (0.014355±0.001139 Jy) at λ=2.838 μm, mag_AB=13.507±0.086
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D1/2026W02_2A_0804_1.fits
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Loaded 2026W02_2A_0804_1: detector 1, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.254" (0.85px) → diameter=2.56px (radius=1.28px)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2939/3600 (81.6%) pixels available
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2288
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2288
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2184/2601 (84.0%) pixels available
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W02_2A_0804_1.fits: flux=743.164±56.829 μJy (0.000743±0.000057 Jy) at λ=0.799 μm, mag_AB=16.722±0.083
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D4/2026W02_2A_0804_1.fits
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Loaded 2026W02_2A_0804_1: detector 4, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Repaired 2 pixels with NaN variance using median variance (9.511875e-02). All repaired pixels have non-zero flags.
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.104" (0.99px) → diameter=2.97px (radius=1.49px)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2526/3600 (70.2%) pixels available
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2504
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2504
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 1910/2601 (73.4%) pixels available
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W02_2A_0804_1.fits: flux=1459.365±46.025 μJy (0.001459±0.000046 Jy) at λ=2.618 μm, mag_AB=15.990±0.034
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D4/2026W02_2A_0804_2.fits
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Loaded 2026W02_2A_0804_2: detector 4, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (9.620286e-02). All repaired pixels have non-zero flags.
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.104" (0.99px) → diameter=2.97px (radius=1.49px)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2523/3600 (70.1%) pixels available
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2924
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2924
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 1907/2601 (73.3%) pixels available
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W02_2A_0804_2.fits: flux=1560.586±47.531 μJy (0.001561±0.000048 Jy) at λ=2.690 μm, mag_AB=15.917±0.033
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D1/2026W02_2A_0804_2.fits
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Loaded 2026W02_2A_0804_2: detector 1, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.254" (0.85px) → diameter=2.56px (radius=1.28px)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2934/3600 (81.5%) pixels available
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2240
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2240
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2186/2601 (84.0%) pixels available
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W02_2A_0804_2.fits: flux=796.559±50.332 μJy (0.000797±0.000050 Jy) at λ=0.818 μm, mag_AB=16.647±0.069
Processing observations:  63%|██████▎   | 138/218 [00:03<00:01, 43.29files/s]2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D1/2026W03_1A_0013_1.fits
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_1A_0013_1: detector 1, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.254" (0.85px) → diameter=2.56px (radius=1.28px)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2924/3600 (81.2%) pixels available
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2261
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2261
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2167/2601 (83.3%) pixels available
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_1A_0013_1.fits: flux=694.081±52.676 μJy (0.000694±0.000053 Jy) at λ=0.781 μm, mag_AB=16.796±0.082
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D4/2026W03_1A_0013_1.fits
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_1A_0013_1: detector 4, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Repaired 2 pixels with NaN variance using median variance (9.882953e-02). All repaired pixels have non-zero flags.
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.104" (0.99px) → diameter=2.97px (radius=1.49px)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2518/3600 (69.9%) pixels available
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2437
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2437
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 1892/2601 (72.7%) pixels available
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_1A_0013_1.fits: flux=1443.251±46.928 μJy (0.001443±0.000047 Jy) at λ=2.549 μm, mag_AB=16.002±0.035
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D1/2026W03_1A_0014_1.fits
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_1A_0014_1: detector 1, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.254" (0.85px) → diameter=2.56px (radius=1.28px)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2927/3600 (81.3%) pixels available
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2362
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2362
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2189/2601 (84.2%) pixels available
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_1A_0014_1.fits: flux=659.956±51.037 μJy (0.000660±0.000051 Jy) at λ=0.763 μm, mag_AB=16.851±0.084
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D4/2026W03_1A_0014_1.fits
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_1A_0014_1: detector 4, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.104" (0.99px) → diameter=2.97px (radius=1.48px)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2532/3600 (70.3%) pixels available
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2422
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2422
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 1919/2601 (73.8%) pixels available
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_1A_0014_1.fits: flux=1454.207±48.495 μJy (0.001454±0.000048 Jy) at λ=2.482 μm, mag_AB=15.993±0.036
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D4/2026W03_1A_0030_1.fits
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_1A_0030_1: detector 4, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Repaired 2 pixels with NaN variance using median variance (2.184365e-01). All repaired pixels have non-zero flags.
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.104" (0.99px) → diameter=2.98px (radius=1.49px)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 1621/3600 (45.0%) pixels available
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - WARNING - Insufficient background pixels for zodiacal estimation (1621/3600 = 45.0% < 50.0%) - using fallback scale factor 1.0
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.0000
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 1298/2601 (49.9%) pixels available
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_1A_0030_1.fits: flux=1262.530±64.941 μJy (0.001263±0.000065 Jy) at λ=2.431 μm, mag_AB=16.147±0.056
Processing observations:  66%|██████▌   | 143/218 [00:03<00:01, 44.30files/s]2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D1/2026W03_1A_0030_1.fits
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_1A_0030_1: detector 1, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.254" (0.85px) → diameter=2.56px (radius=1.28px)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2919/3600 (81.1%) pixels available
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2485
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2485
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2182/2601 (83.9%) pixels available
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_1A_0030_1.fits: flux=554.868±50.937 μJy (0.000555±0.000051 Jy) at λ=0.746 μm, mag_AB=17.040±0.100
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D5/2026W03_1A_0050_1.fits
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_1A_0050_1: detector 5, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (7.096026e-01). All repaired pixels have non-zero flags.
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.059" (0.99px) → diameter=2.96px (radius=1.48px)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2809/3600 (78.0%) pixels available
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2213
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2213
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2080/2601 (80.0%) pixels available
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_1A_0050_1.fits: flux=2737.161±127.862 μJy (0.002737±0.000128 Jy) at λ=4.035 μm, mag_AB=15.307±0.051
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D2/2026W03_1A_0050_1.fits
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_1A_0050_1: detector 2, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.154" (0.84px) → diameter=2.52px (radius=1.26px)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2778/3600 (77.2%) pixels available
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2033
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2033
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2112/2601 (81.2%) pixels available
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_1A_0050_1.fits: flux=1260.898±54.529 μJy (0.001261±0.000055 Jy) at λ=1.282 μm, mag_AB=16.148±0.047
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D2/2026W03_1A_0050_2.fits
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_1A_0050_2: detector 2, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.154" (0.84px) → diameter=2.52px (radius=1.26px)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2779/3600 (77.2%) pixels available
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2210
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2210
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2096/2601 (80.6%) pixels available
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_1A_0050_2.fits: flux=1271.140±53.966 μJy (0.001271±0.000054 Jy) at λ=1.313 μm, mag_AB=16.140±0.046
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D5/2026W03_1A_0050_2.fits
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_1A_0050_2: detector 5, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.059" (0.98px) → diameter=2.95px (radius=1.48px)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2838/3600 (78.8%) pixels available
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2088
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2088
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2097/2601 (80.6%) pixels available
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_1A_0050_2.fits: flux=2702.203±126.961 μJy (0.002702±0.000127 Jy) at λ=4.070 μm, mag_AB=15.321±0.051
Processing observations:  68%|██████▊   | 148/218 [00:03<00:01, 45.11files/s]2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D5/2026W03_1A_0050_3.fits
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_1A_0050_3: detector 5, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Repaired 4 pixels with NaN variance using median variance (7.711303e-01). All repaired pixels have non-zero flags.
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.059" (0.99px) → diameter=2.96px (radius=1.48px)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2829/3600 (78.6%) pixels available
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2045
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2045
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2091/2601 (80.4%) pixels available
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_1A_0050_3.fits: flux=2888.991±132.192 μJy (0.002889±0.000132 Jy) at λ=4.106 μm, mag_AB=15.248±0.050
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D2/2026W03_1A_0050_3.fits
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_1A_0050_3: detector 2, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.154" (0.84px) → diameter=2.52px (radius=1.26px)
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2778/3600 (77.2%) pixels available
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2246
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2246
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Background mask: 2123/2601 (81.6%) pixels available
2026-05-19 17:42:11 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_1A_0050_3.fits: flux=1190.671±54.385 μJy (0.001191±0.000054 Jy) at λ=1.343 μm, mag_AB=16.211±0.050
2026-05-19 17:42:11 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D2/2026W03_1A_0050_4.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_1A_0050_4: detector 2, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.154" (0.84px) → diameter=2.52px (radius=1.26px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2796/3600 (77.7%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2216
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2216
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2118/2601 (81.4%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_1A_0050_4.fits: flux=1316.112±54.604 μJy (0.001316±0.000055 Jy) at λ=1.376 μm, mag_AB=16.102±0.045
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D5/2026W03_1A_0050_4.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_1A_0050_4: detector 5, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (8.101148e-01). All repaired pixels have non-zero flags.
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.059" (0.99px) → diameter=2.96px (radius=1.48px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2805/3600 (77.9%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2001
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2001
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2083/2601 (80.1%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_1A_0050_4.fits: flux=2768.397±127.684 μJy (0.002768±0.000128 Jy) at λ=4.141 μm, mag_AB=15.294±0.050
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D5/2026W03_1A_0066_1.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_1A_0066_1: detector 5, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.059" (0.99px) → diameter=2.96px (radius=1.48px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2812/3600 (78.1%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2418
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2418
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2094/2601 (80.5%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_1A_0066_1.fits: flux=2927.368±126.216 μJy (0.002927±0.000126 Jy) at λ=4.000 μm, mag_AB=15.234±0.047
Processing observations:  70%|███████   | 153/218 [00:03<00:01, 43.76files/s]2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D2/2026W03_1A_0066_1.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_1A_0066_1: detector 2, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.154" (0.84px) → diameter=2.52px (radius=1.26px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2793/3600 (77.6%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1906
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1906
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2132/2601 (82.0%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_1A_0066_1.fits: flux=1216.649±54.806 μJy (0.001217±0.000055 Jy) at λ=1.252 μm, mag_AB=16.187±0.049
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D5/2026W03_1A_0100_2.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_1A_0100_2: detector 5, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (5.993776e-01). All repaired pixels have non-zero flags.
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.059" (0.99px) → diameter=2.96px (radius=1.48px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2756/3600 (76.6%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2553
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2553
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2034/2601 (78.2%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_1A_0100_2.fits: flux=3006.505±121.072 μJy (0.003007±0.000121 Jy) at λ=3.898 μm, mag_AB=15.205±0.044
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D2/2026W03_1A_0100_2.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_1A_0100_2: detector 2, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.154" (0.84px) → diameter=2.52px (radius=1.26px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2699/3600 (75.0%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1618
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1618
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2067/2601 (79.5%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_1A_0100_2.fits: flux=1277.320±55.780 μJy (0.001277±0.000056 Jy) at λ=1.167 μm, mag_AB=16.134±0.047
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D5/2026W03_1A_0574_1.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_1A_0574_1: detector 5, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (8.144151e-01). All repaired pixels have non-zero flags.
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.059" (0.99px) → diameter=2.96px (radius=1.48px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2793/3600 (77.6%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1980
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1980
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2075/2601 (79.8%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_1A_0574_1.fits: flux=2935.308±130.514 μJy (0.002935±0.000131 Jy) at λ=4.184 μm, mag_AB=15.231±0.048
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D2/2026W03_1A_0574_1.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_1A_0574_1: detector 2, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.154" (0.84px) → diameter=2.52px (radius=1.26px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2789/3600 (77.5%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1955
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1955
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2123/2601 (81.6%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_1A_0574_1.fits: flux=1324.581±54.758 μJy (0.001325±0.000055 Jy) at λ=1.415 μm, mag_AB=16.095±0.045
Processing observations:  72%|███████▏  | 158/218 [00:03<00:01, 44.77files/s]2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D2/2026W03_1A_0574_2.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_1A_0574_2: detector 2, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.154" (0.84px) → diameter=2.52px (radius=1.26px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2772/3600 (77.0%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1844
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1844
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2089/2601 (80.3%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_1A_0574_2.fits: flux=1238.732±52.707 μJy (0.001239±0.000053 Jy) at λ=1.449 μm, mag_AB=16.168±0.046
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D5/2026W03_1A_0574_2.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_1A_0574_2: detector 5, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.059" (0.99px) → diameter=2.96px (radius=1.48px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2826/3600 (78.5%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1969
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1969
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2095/2601 (80.5%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_1A_0574_2.fits: flux=2971.608±132.743 μJy (0.002972±0.000133 Jy) at λ=4.220 μm, mag_AB=15.218±0.049
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D2/2026W03_1A_0574_3.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_1A_0574_3: detector 2, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.154" (0.84px) → diameter=2.52px (radius=1.26px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2772/3600 (77.0%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1954
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1954
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2106/2601 (81.0%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_1A_0574_3.fits: flux=1277.807±52.378 μJy (0.001278±0.000052 Jy) at λ=1.484 μm, mag_AB=16.134±0.045
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D5/2026W03_1A_0574_3.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_1A_0574_3: detector 5, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Repaired 5 pixels with NaN variance using median variance (8.992914e-01). All repaired pixels have non-zero flags.
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.059" (0.99px) → diameter=2.96px (radius=1.48px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2823/3600 (78.4%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1842
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1842
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2087/2601 (80.2%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_1A_0574_3.fits: flux=2878.931±1539.052 μJy (0.002879±0.001539 Jy) at λ=4.257 μm, mag_AB=15.252±0.580
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D5/2026W03_1A_0574_4.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_1A_0574_4: detector 5, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (9.426852e-01). All repaired pixels have non-zero flags.
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.059" (0.99px) → diameter=2.96px (radius=1.48px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2817/3600 (78.2%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1742
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1742
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2076/2601 (79.8%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_1A_0574_4.fits: flux=3088.206±140.257 μJy (0.003088±0.000140 Jy) at λ=4.293 μm, mag_AB=15.176±0.049
Processing observations:  75%|███████▍  | 163/218 [00:03<00:01, 43.98files/s]2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D2/2026W03_1A_0574_4.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_1A_0574_4: detector 2, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.154" (0.84px) → diameter=2.52px (radius=1.26px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2784/3600 (77.3%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1607
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1607
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2120/2601 (81.5%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_1A_0574_4.fits: flux=1421.860±54.910 μJy (0.001422±0.000055 Jy) at λ=1.520 μm, mag_AB=16.018±0.042
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D2/2026W03_1A_0634_1.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_1A_0634_1: detector 2, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.154" (0.84px) → diameter=2.52px (radius=1.26px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2799/3600 (77.8%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1188
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1188
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2112/2601 (81.2%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_1A_0634_1.fits: flux=1579.049±55.096 μJy (0.001579±0.000055 Jy) at λ=1.557 μm, mag_AB=15.904±0.038
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D5/2026W03_1A_0634_1.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_1A_0634_1: detector 5, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (9.724593e-01). All repaired pixels have non-zero flags.
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.059" (0.99px) → diameter=2.96px (radius=1.48px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2820/3600 (78.3%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1599
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1599
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2087/2601 (80.2%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_1A_0634_1.fits: flux=3114.009±140.755 μJy (0.003114±0.000141 Jy) at λ=4.330 μm, mag_AB=15.167±0.049
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D5/2026W03_1A_0634_2.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_1A_0634_2: detector 5, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (1.025065e+00). All repaired pixels have non-zero flags.
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.059" (0.99px) → diameter=2.96px (radius=1.48px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2832/3600 (78.7%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1639
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1639
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2095/2601 (80.5%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_1A_0634_2.fits: flux=2873.847±140.594 μJy (0.002874±0.000141 Jy) at λ=4.367 μm, mag_AB=15.254±0.053
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D2/2026W03_1A_0634_2.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_1A_0634_2: detector 2, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.154" (0.84px) → diameter=2.52px (radius=1.26px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2793/3600 (77.6%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.0865
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.0865
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2111/2601 (81.2%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_1A_0634_2.fits: flux=1353.058±50.419 μJy (0.001353±0.000050 Jy) at λ=1.595 μm, mag_AB=16.072±0.040
Processing observations:  77%|███████▋  | 168/218 [00:03<00:01, 44.50files/s]2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D2/2026W03_1A_0634_3.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_1A_0634_3: detector 2, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.154" (0.84px) → diameter=2.52px (radius=1.26px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2780/3600 (77.2%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.0984
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.0984
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2109/2601 (81.1%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_1A_0634_3.fits: flux=1431.963±51.806 μJy (0.001432±0.000052 Jy) at λ=1.633 μm, mag_AB=16.010±0.039
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D5/2026W03_1A_0634_3.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_1A_0634_3: detector 5, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.059" (0.99px) → diameter=2.96px (radius=1.48px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2827/3600 (78.5%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1687
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1687
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2091/2601 (80.4%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_1A_0634_3.fits: flux=3394.389±148.781 μJy (0.003394±0.000149 Jy) at λ=4.404 μm, mag_AB=15.073±0.048
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D2/2026W03_2A_0061_3.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_2A_0061_3: detector 2, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.154" (0.84px) → diameter=2.52px (radius=1.26px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2767/3600 (76.9%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1334
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1334
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2097/2601 (80.6%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_2A_0061_3.fits: flux=1199.604±54.314 μJy (0.001200±0.000054 Jy) at λ=1.113 μm, mag_AB=16.202±0.049
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D5/2026W03_2A_0061_3.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_2A_0061_3: detector 5, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Repaired 4 pixels with NaN variance using median variance (5.323153e-01). All repaired pixels have non-zero flags.
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.059" (0.99px) → diameter=2.96px (radius=1.48px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2817/3600 (78.2%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2821
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2821
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2098/2601 (80.7%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_2A_0061_3.fits: flux=3363.706±125.364 μJy (0.003364±0.000125 Jy) at λ=3.831 μm, mag_AB=15.083±0.040
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D2/2026W03_2A_0061_4.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_2A_0061_4: detector 2, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.154" (0.84px) → diameter=2.52px (radius=1.26px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2810/3600 (78.1%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1456
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1456
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2134/2601 (82.0%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_2A_0061_4.fits: flux=1268.168±54.640 μJy (0.001268±0.000055 Jy) at λ=1.139 μm, mag_AB=16.142±0.047
Processing observations:  79%|███████▉  | 173/218 [00:03<00:01, 43.89files/s]2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D5/2026W03_2A_0061_4.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_2A_0061_4: detector 5, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (5.506469e-01). All repaired pixels have non-zero flags.
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.059" (0.99px) → diameter=2.96px (radius=1.48px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2800/3600 (77.8%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2493
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2493
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2067/2601 (79.5%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_2A_0061_4.fits: flux=4530.713±1549.718 μJy (0.004531±0.001550 Jy) at λ=3.864 μm, mag_AB=14.760±0.371
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D6/2026W03_2A_0316_1.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_2A_0316_1: detector 6, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (2.873659e+00). All repaired pixels have non-zero flags.
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.615" (1.07px) → diameter=3.22px (radius=1.61px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2956/3600 (82.1%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1671
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1671
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2164/2601 (83.2%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_2A_0316_1.fits: flux=4040.897±228.516 μJy (0.004041±0.000229 Jy) at λ=4.895 μm, mag_AB=14.884±0.061
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D3/2026W03_2A_0316_1.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_2A_0316_1: detector 3, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.223" (0.85px) → diameter=2.55px (radius=1.27px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2787/3600 (77.4%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.3056
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.3056
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2053/2601 (78.9%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_2A_0316_1.fits: flux=1664.426±52.621 μJy (0.001664±0.000053 Jy) at λ=2.267 μm, mag_AB=15.847±0.034
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D3/2026W03_2A_0316_2.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_2A_0316_2: detector 3, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.223" (0.85px) → diameter=2.55px (radius=1.27px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2784/3600 (77.3%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.3050
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.3050
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2059/2601 (79.2%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_2A_0316_2.fits: flux=4733.751±73.507 μJy (0.004734±0.000074 Jy) at λ=2.319 μm, mag_AB=14.712±0.017
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D6/2026W03_2A_0316_2.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_2A_0316_2: detector 6, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Repaired 2 pixels with NaN variance using median variance (3.178692e+00). All repaired pixels have non-zero flags.
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.615" (1.07px) → diameter=3.22px (radius=1.61px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2945/3600 (81.8%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2048
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2048
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2157/2601 (82.9%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_2A_0316_2.fits: flux=4061.055±236.790 μJy (0.004061±0.000237 Jy) at λ=4.931 μm, mag_AB=14.878±0.063
Processing observations:  82%|████████▏ | 178/218 [00:03<00:00, 44.47files/s]2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D3/2026W03_2A_0316_3.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_2A_0316_3: detector 3, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.223" (0.85px) → diameter=2.55px (radius=1.27px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2791/3600 (77.5%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2799
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2799
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2069/2601 (79.5%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_2A_0316_3.fits: flux=2540.374±62.562 μJy (0.002540±0.000063 Jy) at λ=2.372 μm, mag_AB=15.388±0.027
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D6/2026W03_2A_0316_3.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_2A_0316_3: detector 6, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.615" (1.07px) → diameter=3.22px (radius=1.61px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2962/3600 (82.3%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2138
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2138
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2172/2601 (83.5%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_2A_0316_3.fits: flux=4402.804±256.699 μJy (0.004403±0.000257 Jy) at λ=4.967 μm, mag_AB=14.791±0.063
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D6/2026W03_2A_0316_4.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_2A_0316_4: detector 6, shape (54, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Repaired 2 pixels with NaN variance using median variance (3.952930e+00). All repaired pixels have non-zero flags.
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.615" (1.07px) → diameter=3.22px (radius=1.61px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2647/3240 (81.7%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2014
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2014
2026-05-19 17:42:12 - spxquery.processing.background - WARNING - Background window [4:55, -2:49] exceeds image boundaries, clipped to [4:55, 0:49]
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2054/2499 (82.2%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_2A_0316_4.fits: flux=3859.532±263.560 μJy (0.003860±0.000264 Jy) at λ=5.003 μm, mag_AB=14.934±0.074
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D3/2026W03_2A_0316_4.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_2A_0316_4: detector 3, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.223" (0.85px) → diameter=2.55px (radius=1.27px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 0/3600 (0.0%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - WARNING - Insufficient background pixels for zodiacal estimation (0/3600 = 0.0% < 50.0%) - using fallback scale factor 1.0
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.0000
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 0/2601 (0.0%) pixels available
2026-05-19 17:42:12 - spxquery.processing.background - WARNING - Insufficient usable pixels with strict masking: 0/10 required. Trying with relaxed masking (exclude_bad_only=False).
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 0/2601 (0.0%) pixels available
2026-05-19 17:42:12 - spxquery.processing.background - ERROR - Insufficient usable pixels in background window even with relaxed masking: 0/10 required (window: 50×50, aperture_radius: 1.3)
2026-05-19 17:42:12 - spxquery.processing.photometry - ERROR - Background estimation failed for 2026W03_2A_0316_4.fits - dropping observation
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D5/2026W03_2A_0544_1.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_2A_0544_1: detector 5, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.059" (0.99px) → diameter=2.96px (radius=1.48px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2800/3600 (77.8%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2530
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2530
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2079/2601 (79.9%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_2A_0544_1.fits: flux=2407.628±115.856 μJy (0.002408±0.000116 Jy) at λ=3.931 μm, mag_AB=15.446±0.052
Processing observations:  84%|████████▍ | 183/218 [00:04<00:00, 44.26files/s]2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D2/2026W03_2A_0544_1.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_2A_0544_1: detector 2, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.154" (0.84px) → diameter=2.52px (radius=1.26px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2786/3600 (77.4%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1568
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1568
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2122/2601 (81.6%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_2A_0544_1.fits: flux=1341.547±54.640 μJy (0.001342±0.000055 Jy) at λ=1.195 μm, mag_AB=16.081±0.044
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D2/2026W03_2A_0544_2.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_2A_0544_2: detector 2, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.154" (0.84px) → diameter=2.52px (radius=1.26px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2805/3600 (77.9%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1693
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1693
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2146/2601 (82.5%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_2A_0544_2.fits: flux=1253.825±59.453 μJy (0.001254±0.000059 Jy) at λ=1.223 μm, mag_AB=16.154±0.051
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D5/2026W03_2A_0544_2.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_2A_0544_2: detector 5, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (5.839788e-01). All repaired pixels have non-zero flags.
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.059" (0.99px) → diameter=2.96px (radius=1.48px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2803/3600 (77.9%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2508
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2508
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2085/2601 (80.2%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_2A_0544_2.fits: flux=2598.990±198.152 μJy (0.002599±0.000198 Jy) at λ=3.966 μm, mag_AB=15.363±0.083
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D5/2026W03_2A_0570_1.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_2A_0570_1: detector 5, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.059" (0.99px) → diameter=2.96px (radius=1.48px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2812/3600 (78.1%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2048
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2048
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2078/2601 (79.9%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_2A_0570_1.fits: flux=2872.747±153.672 μJy (0.002873±0.000154 Jy) at λ=4.177 μm, mag_AB=15.254±0.058
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D2/2026W03_2A_0570_1.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W03_2A_0570_1: detector 2, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.154" (0.84px) → diameter=2.52px (radius=1.26px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2765/3600 (76.8%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2094
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2094
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2097/2601 (80.6%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W03_2A_0570_1.fits: flux=1221.272±51.941 μJy (0.001221±0.000052 Jy) at λ=1.408 μm, mag_AB=16.183±0.046
Processing observations:  86%|████████▌ | 188/218 [00:04<00:00, 45.37files/s]2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D6/2026W04_1A_0529_1.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W04_1A_0529_1: detector 6, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.615" (1.07px) → diameter=3.22px (radius=1.61px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2959/3600 (82.2%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1659
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1659
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2176/2601 (83.7%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W04_1A_0529_1.fits: flux=4271.620±218.537 μJy (0.004272±0.000219 Jy) at λ=4.824 μm, mag_AB=14.824±0.056
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D3/2026W04_1A_0529_1.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W04_1A_0529_1: detector 3, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.223" (0.85px) → diameter=2.55px (radius=1.27px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2769/3600 (76.9%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2445
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2445
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2063/2601 (79.3%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W04_1A_0529_1.fits: flux=1256.694±48.331 μJy (0.001257±0.000048 Jy) at λ=2.165 μm, mag_AB=16.152±0.042
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D6/2026W04_1A_0529_2.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W04_1A_0529_2: detector 6, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (2.364245e+00). All repaired pixels have non-zero flags.
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.615" (1.07px) → diameter=3.22px (radius=1.61px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2939/3600 (81.6%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1725
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1725
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2147/2601 (82.5%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W04_1A_0529_2.fits: flux=4412.825±223.012 μJy (0.004413±0.000223 Jy) at λ=4.859 μm, mag_AB=14.788±0.055
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D3/2026W04_1A_0529_2.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W04_1A_0529_2: detector 3, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.223" (0.85px) → diameter=2.55px (radius=1.27px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2784/3600 (77.3%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2740
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2740
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2069/2601 (79.5%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W04_1A_0529_2.fits: flux=1421.801±50.528 μJy (0.001422±0.000051 Jy) at λ=2.216 μm, mag_AB=16.018±0.039
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D6/2026W04_2A_0029_1.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W04_2A_0029_1: detector 6, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.615" (1.07px) → diameter=3.22px (radius=1.61px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2976/3600 (82.7%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1995
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1995
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2178/2601 (83.7%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W04_2A_0029_1.fits: flux=4172.013±213.417 μJy (0.004172±0.000213 Jy) at λ=4.790 μm, mag_AB=14.849±0.056
Processing observations:  89%|████████▊ | 193/218 [00:04<00:00, 43.90files/s]2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D3/2026W04_2A_0029_1.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W04_2A_0029_1: detector 3, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.223" (0.85px) → diameter=2.54px (radius=1.27px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2790/3600 (77.5%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.3674
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.3674
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2069/2601 (79.5%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W04_2A_0029_1.fits: flux=1455.525±49.687 μJy (0.001456±0.000050 Jy) at λ=2.116 μm, mag_AB=15.992±0.037
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D3/2026W04_2A_0108_1.fits
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Loaded 2026W04_2A_0108_1: detector 3, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.223" (0.85px) → diameter=2.55px (radius=1.27px)
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2782/3600 (77.3%) pixels available
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1278
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1278
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Background mask: 2062/2601 (79.3%) pixels available
2026-05-19 17:42:12 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W04_2A_0108_1.fits: flux=1903.037±58.075 μJy (0.001903±0.000058 Jy) at λ=1.719 μm, mag_AB=15.701±0.033
2026-05-19 17:42:12 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D6/2026W04_2A_0108_1.fits
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Loaded 2026W04_2A_0108_1: detector 6, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.615" (1.07px) → diameter=3.22px (radius=1.61px)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2960/3600 (82.2%) pixels available
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2335
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2335
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2165/2601 (83.2%) pixels available
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W04_2A_0108_1.fits: flux=4110.344±186.182 μJy (0.004110±0.000186 Jy) at λ=4.484 μm, mag_AB=14.865±0.049
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D6/2026W04_2A_0108_2.fits
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Loaded 2026W04_2A_0108_2: detector 6, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (1.394919e+00). All repaired pixels have non-zero flags.
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.615" (1.07px) → diameter=3.22px (radius=1.61px)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2976/3600 (82.7%) pixels available
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1831
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1831
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2173/2601 (83.5%) pixels available
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W04_2A_0108_2.fits: flux=4000.791±333.600 μJy (0.004001±0.000334 Jy) at λ=4.516 μm, mag_AB=14.895±0.091
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D3/2026W04_2A_0108_2.fits
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Loaded 2026W04_2A_0108_2: detector 3, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.223" (0.85px) → diameter=2.55px (radius=1.27px)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2795/3600 (77.6%) pixels available
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1381
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1381
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2058/2601 (79.1%) pixels available
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W04_2A_0108_2.fits: flux=1944.547±57.079 μJy (0.001945±0.000057 Jy) at λ=1.759 μm, mag_AB=15.678±0.032
Processing observations:  91%|█████████ | 198/218 [00:04<00:00, 44.80files/s]2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D6/2026W04_2A_0108_3.fits
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Loaded 2026W04_2A_0108_3: detector 6, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (1.355133e+00). All repaired pixels have non-zero flags.
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.615" (1.07px) → diameter=3.22px (radius=1.61px)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2981/3600 (82.8%) pixels available
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1438
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1438
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2175/2601 (83.6%) pixels available
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W04_2A_0108_3.fits: flux=4121.781±178.481 μJy (0.004122±0.000178 Jy) at λ=4.549 μm, mag_AB=14.862±0.047
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D3/2026W04_2A_0108_3.fits
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Loaded 2026W04_2A_0108_3: detector 3, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.223" (0.85px) → diameter=2.55px (radius=1.27px)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2817/3600 (78.2%) pixels available
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1214
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1214
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2073/2601 (79.7%) pixels available
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W04_2A_0108_3.fits: flux=1506.202±51.169 μJy (0.001506±0.000051 Jy) at λ=1.799 μm, mag_AB=15.955±0.037
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D3/2026W04_2A_0108_4.fits
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Loaded 2026W04_2A_0108_4: detector 3, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.223" (0.85px) → diameter=2.54px (radius=1.27px)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2782/3600 (77.3%) pixels available
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1370
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1370
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2048/2601 (78.7%) pixels available
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W04_2A_0108_4.fits: flux=1419.670±53.001 μJy (0.001420±0.000053 Jy) at λ=1.842 μm, mag_AB=16.020±0.041
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D6/2026W04_2A_0108_4.fits
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Loaded 2026W04_2A_0108_4: detector 6, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - Repaired 3 pixels with NaN variance using median variance (1.382208e+00). All repaired pixels have non-zero flags.
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.615" (1.07px) → diameter=3.22px (radius=1.61px)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2951/3600 (82.0%) pixels available
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1228
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1228
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2155/2601 (82.9%) pixels available
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W04_2A_0108_4.fits: flux=4070.757±175.531 μJy (0.004071±0.000176 Jy) at λ=4.582 μm, mag_AB=14.876±0.047
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D6/2026W04_2A_0476_1.fits
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Loaded 2026W04_2A_0476_1: detector 6, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - Repaired 2 pixels with NaN variance using median variance (1.447094e+00). All repaired pixels have non-zero flags.
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.615" (1.07px) → diameter=3.22px (radius=1.61px)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2938/3600 (81.6%) pixels available
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1355
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1355
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2154/2601 (82.8%) pixels available
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W04_2A_0476_1.fits: flux=3590.541±175.023 μJy (0.003591±0.000175 Jy) at λ=4.615 μm, mag_AB=15.012±0.053
Processing observations:  93%|█████████▎| 203/218 [00:04<00:00, 40.65files/s]2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D3/2026W04_2A_0476_1.fits
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Loaded 2026W04_2A_0476_1: detector 3, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.223" (0.85px) → diameter=2.55px (radius=1.27px)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2797/3600 (77.7%) pixels available
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2045
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2045
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2054/2601 (79.0%) pixels available
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W04_2A_0476_1.fits: flux=1447.522±51.679 μJy (0.001448±0.000052 Jy) at λ=1.884 μm, mag_AB=15.998±0.039
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D3/2026W04_2A_0476_2.fits
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Loaded 2026W04_2A_0476_2: detector 3, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.223" (0.85px) → diameter=2.55px (radius=1.27px)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2810/3600 (78.1%) pixels available
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1784
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1784
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2077/2601 (79.9%) pixels available
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W04_2A_0476_2.fits: flux=1269.104±49.920 μJy (0.001269±0.000050 Jy) at λ=1.927 μm, mag_AB=16.141±0.043
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D6/2026W04_2A_0476_2.fits
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Loaded 2026W04_2A_0476_2: detector 6, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - Repaired 2 pixels with NaN variance using median variance (1.573436e+00). All repaired pixels have non-zero flags.
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.615" (1.07px) → diameter=3.22px (radius=1.61px)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2990/3600 (83.1%) pixels available
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1544
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1544
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2170/2601 (83.4%) pixels available
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W04_2A_0476_2.fits: flux=3581.874±186.217 μJy (0.003582±0.000186 Jy) at λ=4.649 μm, mag_AB=15.015±0.056
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D6/2026W04_2A_0476_3.fits
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Loaded 2026W04_2A_0476_3: detector 6, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - Repaired 3 pixels with NaN variance using median variance (1.702935e+00). All repaired pixels have non-zero flags.
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.615" (1.07px) → diameter=3.22px (radius=1.61px)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2978/3600 (82.7%) pixels available
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1726
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1726
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2173/2601 (83.5%) pixels available
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W04_2A_0476_3.fits: flux=3388.990±183.087 μJy (0.003389±0.000183 Jy) at λ=4.683 μm, mag_AB=15.075±0.059
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D3/2026W04_2A_0476_3.fits
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Loaded 2026W04_2A_0476_3: detector 3, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (1.371398e-01). All repaired pixels have non-zero flags.
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.223" (0.85px) → diameter=2.55px (radius=1.27px)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2784/3600 (77.3%) pixels available
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1620
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1620
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2052/2601 (78.9%) pixels available
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W04_2A_0476_3.fits: flux=1205.924±47.937 μJy (0.001206±0.000048 Jy) at λ=1.971 μm, mag_AB=16.197±0.043
Processing observations:  95%|█████████▌| 208/218 [00:04<00:00, 42.14files/s]2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D3/2026W04_2A_0476_4.fits
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Loaded 2026W04_2A_0476_4: detector 3, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.223" (0.85px) → diameter=2.55px (radius=1.27px)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2808/3600 (78.0%) pixels available
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1969
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1969
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2076/2601 (79.8%) pixels available
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W04_2A_0476_4.fits: flux=1197.188±47.797 μJy (0.001197±0.000048 Jy) at λ=2.017 μm, mag_AB=16.205±0.043
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D6/2026W04_2A_0476_4.fits
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Loaded 2026W04_2A_0476_4: detector 6, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (1.863742e+00). All repaired pixels have non-zero flags.
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.615" (1.07px) → diameter=3.22px (radius=1.61px)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2943/3600 (81.8%) pixels available
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1900
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1900
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2138/2601 (82.2%) pixels available
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W04_2A_0476_4.fits: flux=4050.658±195.962 μJy (0.004051±0.000196 Jy) at λ=4.717 μm, mag_AB=14.881±0.053
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D3/2026W04_2A_0657_2.fits
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Loaded 2026W04_2A_0657_2: detector 3, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.223" (0.85px) → diameter=2.55px (radius=1.27px)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2796/3600 (77.7%) pixels available
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.0732
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.0732
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2062/2601 (79.3%) pixels available
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W04_2A_0657_2.fits: flux=1423.298±54.720 μJy (0.001423±0.000055 Jy) at λ=1.643 μm, mag_AB=16.017±0.042
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D6/2026W04_2A_0657_2.fits
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Loaded 2026W04_2A_0657_2: detector 6, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (1.308375e+00). All repaired pixels have non-zero flags.
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.615" (1.07px) → diameter=3.22px (radius=1.61px)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2968/3600 (82.4%) pixels available
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2537
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2537
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2165/2601 (83.2%) pixels available
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W04_2A_0657_2.fits: flux=3691.484±178.734 μJy (0.003691±0.000179 Jy) at λ=4.421 μm, mag_AB=14.982±0.053
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D6/2026W04_2A_0657_3.fits
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Loaded 2026W04_2A_0657_3: detector 6, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - Repaired 3 pixels with NaN variance using median variance (1.433077e+00). All repaired pixels have non-zero flags.
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.615" (1.07px) → diameter=3.22px (radius=1.61px)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2945/3600 (81.8%) pixels available
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2804
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2804
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2146/2601 (82.5%) pixels available
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W04_2A_0657_3.fits: flux=3858.379±183.096 μJy (0.003858±0.000183 Jy) at λ=4.453 μm, mag_AB=14.934±0.052
Processing observations:  98%|█████████▊| 213/218 [00:04<00:00, 41.81files/s]2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D3/2026W04_2A_0657_3.fits
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Loaded 2026W04_2A_0657_3: detector 3, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.223" (0.85px) → diameter=2.55px (radius=1.27px)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2809/3600 (78.0%) pixels available
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.1040
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.1040
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2068/2601 (79.5%) pixels available
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W04_2A_0657_3.fits: flux=1233.037±51.930 μJy (0.001233±0.000052 Jy) at λ=1.681 μm, mag_AB=16.173±0.046
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D3/2026W05_1A_0196_1.fits
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Loaded 2026W05_1A_0196_1: detector 3, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.223" (0.85px) → diameter=2.54px (radius=1.27px)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2783/3600 (77.3%) pixels available
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2223
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2223
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2055/2601 (79.0%) pixels available
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W05_1A_0196_1.fits: flux=1270.802±46.637 μJy (0.001271±0.000047 Jy) at λ=2.063 μm, mag_AB=16.140±0.040
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D6/2026W05_1A_0196_1.fits
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Loaded 2026W05_1A_0196_1: detector 6, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - Repaired 3 pixels with NaN variance using median variance (1.970570e+00). All repaired pixels have non-zero flags.
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.615" (1.07px) → diameter=3.22px (radius=1.61px)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2965/3600 (82.4%) pixels available
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 0.7969
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 0.7969
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2160/2601 (83.0%) pixels available
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W05_1A_0196_1.fits: flux=4046.226±206.278 μJy (0.004046±0.000206 Jy) at λ=4.751 μm, mag_AB=14.882±0.055
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D3/2026W05_1A_0196_2.fits
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Loaded 2026W05_1A_0196_2: detector 3, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=5.223" (0.85px) → diameter=2.55px (radius=1.27px)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2798/3600 (77.7%) pixels available
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2115
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2115
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2071/2601 (79.6%) pixels available
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W05_1A_0196_2.fits: flux=1389.922±46.762 μJy (0.001390±0.000047 Jy) at λ=2.111 μm, mag_AB=16.043±0.037
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Reading SPHEREx MEF: demo_data/cloverleaf/data/D6/2026W05_1A_0196_2.fits
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Converted units: MJy/sr → μJy/arcsec² (factor: 2.350443e+01)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Loaded 2026W05_1A_0196_2: detector 6, shape (60, 60), units μJy/arcsec²
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - Repaired 1 pixels with NaN variance using median variance (2.078181e+00). All repaired pixels have non-zero flags.
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - FWHM-based aperture: FWHM=6.615" (1.07px) → diameter=3.22px (radius=1.61px)
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2968/3600 (82.4%) pixels available
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Zodiacal scaling factor: 1.2040
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Subtracted zodiacal background with scaling factor 1.2040
2026-05-19 17:42:13 - spxquery.utils.spherex_mef - INFO - Background mask: 2162/2601 (83.1%) pixels available
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - Extracted photometry from 2026W05_1A_0196_2.fits: flux=4214.819±207.682 μJy (0.004215±0.000208 Jy) at λ=4.785 μm, mag_AB=14.838±0.053
Processing observations: 100%|██████████| 218/218 [00:04<00:00, 44.87files/s]
2026-05-19 17:42:13 - spxquery.processing.photometry - INFO - Successfully processed 217 observations
2026-05-19 17:42:13 - spxquery.processing.lightcurve - INFO - Generated light curve with 217 measurements
2026-05-19 17:42:13 - spxquery.processing.lightcurve - INFO - Saved light curve to demo_data/cloverleaf/results/lightcurve.csv
2026-05-19 17:42:13 - spxquery.core.pipeline - INFO - Marked stage 'processing' as complete
2026-05-19 17:42:13 - spxquery.core.pipeline - INFO - Saved pipeline state: stage=visualization, completed=['query', 'download', 'processing']
2026-05-19 17:42:13 - spxquery.core.pipeline - INFO - Running visualization stage
2026-05-19 17:42:13 - spxquery.core.pipeline - INFO - Filtered photometry results by bands ['D1', 'D2', 'D3', 'D4', 'D5', 'D6']: 217 -> 217 measurements
2026-05-19 17:42:13 - spxquery.visualization.plots - INFO - Quality filtering: 217 total points (204 good, 13 rejected - shown as crosses)
2026-05-19 17:42:13 - spxquery.visualization.plots - INFO - Sigma clipping: 217 -> 216 measurements (1 outliers removed)
2026-05-19 17:42:13 - spxquery.visualization.plots - INFO - Sigma clipping: 217 -> 216 measurements (1 outliers removed)

============================================================
Light Curve Summary
============================================================
Total observations: 217
Time span: 224.6 days
MJD range: 60842.27 - 61066.92
Wavelength range: 0.75 - 5.00 μm
Number of bands: 6
Upper limits: 0
Mean SNR: 25.0

Observations per band:
  D1: 36
  D2: 36
  D3: 36
  D4: 36
  D5: 36
  D6: 37
============================================================

2026-05-19 17:42:14 - spxquery.visualization.plots - INFO - Saved combined plot to demo_data/cloverleaf/results/combined_plot.png
2026-05-19 17:42:14 - spxquery.core.pipeline - INFO - Marked stage 'visualization' as complete
2026-05-19 17:42:14 - spxquery.core.pipeline - INFO - Saved pipeline state: stage=complete, completed=['query', 'download', 'processing', 'visualization']
2026-05-19 17:42:14 - spxquery.core.pipeline - INFO - Visualization saved to demo_data/cloverleaf/results/combined_plot.png
2026-05-19 17:42:14 - spxquery.core.pipeline - INFO - Saved pipeline state: stage=complete, completed=['query', 'download', 'processing', 'visualization']
2026-05-19 17:42:14 - spxquery.core.pipeline - INFO - Pipeline execution complete
FWHM-based aperture configuration ready.
  Aperture = FWHM × 3.0 (adaptive per observation)
  Fallback diameter: 3.0 pixels
Uncomment the code above to run the pipeline.
../_images/tutorials_quickstart_demo_34_8.png
[22]:
# Compare flux measurements
fig, axes = plt.subplots(1, 2, figsize=(12, 4))

# Plot 1: Flux comparison
axes[0].scatter(df_fixed["flux"], df_fwhm["flux"], alpha=0.6)
axes[0].plot([0, max(df_fixed["flux"])], [0, max(df_fwhm["flux"])], "k--", alpha=0.3)
axes[0].set_xlabel("Fixed Aperture Flux (MJy/sr)")
axes[0].set_ylabel("PSF FWHM-based Flux (MJy/sr)")
axes[0].set_title("Flux Comparison")

# Plot 2: Difference
flux_diff = (df_fwhm["flux"] - df_fixed["flux"]) / df_fixed["flux"] * 100
axes[1].hist(flux_diff, bins=20, alpha=0.7)
axes[1].set_xlabel("Relative Difference (%)")
axes[1].set_ylabel("Count")
axes[1].set_title("Flux Difference Distribution")
axes[1].axvline(0, color="k", linestyle="--", alpha=0.3)

plt.tight_layout()
plt.show()

print(f"Mean flux difference: {flux_diff.mean():.2f}%")
print(f"Std flux difference: {flux_diff.std():.2f}%")

/var/folders/z5/qygyj_xj7dq109c9rzqq2wv40000gn/T/ipykernel_73894/2193692466.py:19: UserWarning: The figure layout has changed to tight
  plt.tight_layout()
../_images/tutorials_quickstart_demo_35_1.png
Mean flux difference: -1.82%
Std flux difference: 10.04%