/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 17186
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0902.4+2051_weekly_bin906
RA = 135.617, Dec = 20.8503
tmin = 786931201, tmax = 787536001
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='17376906', job_status='RUN', time_executed='2025-12-16 01:50:29.098753', time_epoch_executed='1765878629.1' WHERE source_name='4FGL J0902.4+2051' and cadence='weekly' and bin_id='906'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17376906

Creating custom pfile directory:
/lscratch/kocevski/17376906/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=786931201.0 && nMetStart<787536001.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=786931201.0 && nMetStart<787536001.0' /Data/Flight/Level1/LPA

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/17376906/ft1_4FGL_J0902.4+2051_weekly_bin906.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=786931201.0 && nMetStart<787536001.0' /Data/Flight/Level1/LPA

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/17376906/ft2_4FGL_J0902.4+2051_weekly_bin906.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17376906/ft1_4FGL_J0902.4+2051_weekly_bin906.fits outfile=/lscratch/kocevski/17376906/ft1_filteredMKT_4FGL_J0902.4+2051_weekly_bin906.fits ra=135.617 dec=20.8503 rad=12.0 tmin=786931201.0 tmax=787536001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 5.90
user 5.10
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/17376906/ft2_4FGL_J0902.4+2051_weekly_bin906.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/17376906/ft2_4FGL_J0902.4+2051_weekly_bin906.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/17376906/ft1_filteredMKT_4FGL_J0902.4+2051_weekly_bin906.fits evtable="EVENTS" outfile="/lscratch/kocevski/17376906/ft1_filtered_4FGL_J0902.4+2051_weekly_bin906.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.88
user 0.23
sys 0.13

Number of photons that the gtmktime cut: 1200

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17376906/ft1_filtered_4FGL_J0902.4+2051_weekly_bin906.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17376906/ft2_4FGL_J0902.4+2051_weekly_bin906.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17376906/ltcube_786931201_787536001_4FGL_J0902.4+2051_weekly_bin906.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /lscratch/kocevski/17376906/ft2_4FGL_J0902.4+2051_weekly_bin906.fits
.....................!
real 18.52
user 17.74
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17376906/ft1_filtered_4FGL_J0902.4+2051_weekly_bin906.fits evtable="EVENTS" scfile=/lscratch/kocevski/17376906/ft2_4FGL_J0902.4+2051_weekly_bin906.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17376906/ltcube_786931201_787536001_4FGL_J0902.4+2051_weekly_bin906.fits outfile=/lscratch/kocevski/17376906/expmap_786931201_787536001_4FGL_J0902.4+2051_weekly_bin906.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/17376906/ltcube_786931201_787536001_4FGL_J0902.4+2051_weekly_bin906.fits
.....................!
real 68.71
user 63.87
sys 3.99

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 169 point sources and 0 extended sources

Setting source of interest to:
4FGL J0902.4+2051 @ 135.617 20.8503

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/17376906/ft1_filtered_4FGL_J0902.4+2051_weekly_bin906.fits scfile=/lscratch/kocevski/17376906/ft2_4FGL_J0902.4+2051_weekly_bin906.fits outfile=/lscratch/kocevski/17376906/cmap_786931201_787536001_4FGL_J0902.4+2051_weekly_bin906.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=135.617 yref=20.8503 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.89
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17376906/ft1_filtered_4FGL_J0902.4+2051_weekly_bin906.fits scfile=/lscratch/kocevski/17376906/ft2_4FGL_J0902.4+2051_weekly_bin906.fits outfile=/lscratch/kocevski/17376906/cmap_HighResolution_786931201_787536001_4FGL_J0902.4+2051_weekly_bin906.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=135.617 yref=20.8503 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.88
user 0.25
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/17376906/ft1_filtered_4FGL_J0902.4+2051_weekly_bin906.fits evtable="EVENTS" scfile=/lscratch/kocevski/17376906/ft2_4FGL_J0902.4+2051_weekly_bin906.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17376906/Model_4FGL_J0902.4+2051_weekly_bin906.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/17376906/ft1_filtered_4FGL_J0902.4+2051_weekly_bin906.fits....................!
real 45.29
user 43.53
sys 0.97

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/17376906/ft1_filtered_4FGL_J0902.4+2051_weekly_bin906.fits', '/lscratch/kocevski/17376906/ft2_4FGL_J0902.4+2051_weekly_bin906.fits', expMap='/lscratch/kocevski/17376906/expmap_786931201_787536001_4FGL_J0902.4+2051_weekly_bin906.fits', expCube='/lscratch/kocevski/17376906/ltcube_786931201_787536001_4FGL_J0902.4+2051_weekly_bin906.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17376906/Model_4FGL_J0902.4+2051_weekly_bin906.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0902.4+2051'

4FGL J0902.4+2051
   Spectrum: PowerLaw
298    Prefactor:  7.653e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
299        Index:  2.145e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
300        Scale:  1.387e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/17376906/ft1_filtered_4FGL_J0902.4+2051_weekly_bin906.fits
Spacecraft file(s): /lscratch/kocevski/17376906/ft2_4FGL_J0902.4+2051_weekly_bin906.fits
Exposure map: /lscratch/kocevski/17376906/expmap_786931201_787536001_4FGL_J0902.4+2051_weekly_bin906.fits
Exposure cube: /lscratch/kocevski/17376906/ltcube_786931201_787536001_4FGL_J0902.4+2051_weekly_bin906.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/17376906/Model_4FGL_J0902.4+2051_weekly_bin906.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 13893.3058198

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 13893.1033579

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.5038       1.0000          .0000       .10000E+07
     2 'norm      '    .27117       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.5380       1.0000          .0000       .10000E+07
     4 'Prefactor '    24.274       1.0000          .0000       .10000E+07
     5 'norm      '    .98557       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.3212       1.0000          .0000       .10000E+07
     7 'Prefactor '    .15432E-07   1.0000          .0000       .10000E+07
     8 'norm      '    1.7485       1.0000          .0000       .10000E+07
     9 'norm      '    4.0428       1.0000          .0000       .10000E+07
    10 'norm      '    .23970E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .43854E-08   1.0000          .0000       .10000E+07
    12 'Prefactor '    .19484E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    25.787       1.0000          .0000       .10000E+07
    14 'Normalizat'    .91425       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .92324       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13893.10     FROM MIGRAD    STATUS=CONVERGED     88 CALLS     1000 TOTAL
                     EDM=   .39E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.4520        12.473       -.20578E-07    .25403E-02
   2  norm          .27344        .58413        .49527E-09    .29486E-04
   3  Prefactor     3.5345        5.2053       -.34494E-07    .14719E-04
   4  Prefactor     24.268        13.104       -.30071E-08   -.20188E-01
   5  norm          .98562        .43352       -.12723E-07    .62537E-03
   6  Prefactor     1.3184        5.4744       -.29327E-07    .71056E-04
   7  Prefactor      .0000        2.3700        .60744E-07** at limit **
   8  norm          1.7485        2.3289        .35259E-07   -.44759E-04
   9  norm          4.0006        12.260       -.78192E-08   -.24821E-02
  10  norm           .0000        .77689        .26796E-07** at limit **
  11  Prefactor      .0000        .67316        .45553E-07** at limit **
  12  Prefactor      .0000        5.0303       -.11233E-06** at limit **
  13  Prefactor     25.786        9.3434       -.27533E-08    .37716E-01
  14  Normalizat    .91425        .12210       -.49612E-06    .68210E-05
  15  Prefactor     .92324        .10749        .29066E-06    .93415E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.45202
  norm       = 0.273435
  Prefactor  = 3.53448
  Prefactor  = 24.2678
  norm       = 0.985617
  Prefactor  = 1.31842
  Prefactor  = 0
  norm       = 1.7485
  norm       = 4.00063
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 25.7861
  Normalizat = 0.914253
  Prefactor  = 0.923237
 **********
 **   18 **HESSE 
 **********

 FCN=   13893.10     FROM HESSE     STATUS=OK           220 CALLS     1220 TOTAL
                     EDM=   .20E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.4520        13.290        .34352E-03   -1.5650    
   2  norm          .27344        .59212        .27455E-02   -1.5698    
   3  Prefactor     3.5345        5.3523        .53715E-03   -1.5670    
   4  Prefactor     24.268        18.675        .20301E-03   -1.5609    
   5  norm          .98562        .43636        .43254E-04   -1.5688    
   6  Prefactor     1.3184        5.6799        .95682E-03   -1.5685    
   7  Prefactor      .0000        2.3752        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.7485        2.3484        .79271E-03   -1.5682    
   9  norm          4.0006        23.600        .50126E-03   -1.5668    
  10  norm           .0000        .34920        .26157E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        .67467        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        5.0239        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     25.786        22.766        .19696E-03   -1.5606    
  14  Normalizat    .91425        .10448        .45083E-01   -.95961    
  15  Prefactor     .92324        .91616E-01    .45301E-01   -.95334    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.0085e-06
Minuit parameter uncertainties:
  1  13.2903
  2  0.592118
  3  5.35233
  4  18.6753
  5  0.436363
  6  5.47305
  7  1.07936e-07
  8  2.34841
  9  19.4336
  10  3.75665e-08
  11  5.37411e-07
  12  1.34603e-06
  13  22.7658
  14  0.104506
  15  0.0916318
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 13893.1033425

Extracting fit parameters...

4FGL J0902.4+2051
   Spectrum: PowerLaw
298    Prefactor:  1.318e+00  5.473e+00  0.000e+00  1.000e+06 ( 1.000e-13)
299        Index:  2.145e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
300        Scale:  1.387e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  9.232e-01  9.163e-02  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  9.143e-01  1.045e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.07
Ra Dec: 135.617 20.850
Photon Flux Upper Limit: 4.06806737049e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00308664429059 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/17376906/likelihoodResults_786931201_787536001_4FGL_J0902.4+2051_weekly_bin906.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13892.3572031
delta logL = 0.746139435205

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13892.245022
delta logL = 0.858320510464

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80224       1.0000          .0000       .10000E+07
     2 'Index     '    3.6808       1.0000          .0000       10.000    
     3 'Normalizat'    .86556       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94651       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13892.25     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      232 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .79762        7.5625        .52768E-03    .22731E-01
   2  Index         3.6839        1.7553        .15234        .21680E-03
   3  Normalizat    .86559        .23440E-01    .44460E-01    .30274E-04
   4  Prefactor     .94647        .20539E-01    .45595E-01    .34749E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.797617
  Index      = 3.68393
  Normalizat = 0.865593
  Prefactor  = 0.946475
 **********
 **   18 **HESSE 
 **********

 FCN=   13892.25     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      265 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .79762        22.834        .78790E-05   -1.5690    
   2  Index         3.6839        6.7554        .53322E-02   -.26635    
   3  Normalizat    .86559        .12556        .24259E-03   -.97680    
   4  Prefactor     .94647        .10632        .20703E-03   -.94536    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.0766e-06
Minuit parameter uncertainties:
  1  8.53539
  2  5.0194
  3  0.125602
  4  0.106343
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13892.2450177
delta logL = 0.858324830735

Extracting fit parameters...

4FGL J0902.4+2051
   Spectrum: PowerLaw
298    Prefactor:  7.976e-01  8.535e+00  0.000e+00  1.000e+06 ( 1.000e-13)
299        Index:  3.684e+00  5.019e+00  0.000e+00  1.000e+01 (-1.000e+00)
300        Scale:  1.387e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  9.465e-01  1.063e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  8.656e-01  1.256e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.91
Ra Dec: 135.617 20.850
Photon Index (Free Index): 3.68 +/- 5.02
Photon Flux (Free Index): 4.81e-08 +/- 4.96e-08
Energy Flux (Free Index): 7.65e-06 +/- 7.00e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/17376906/cmap_HighResolution_786931201_787536001_4FGL_J0902.4+2051_weekly_bin906.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.09e-03', comment='SUCCESS', energy_flux2='7.65e-06', dlogl='8.58e-01', photon_flux2='4.81e-08', job_status='DONE', time_completed='2025-12-16 02:00:21.784781', photon_index_error2='5.02', photon_index2='3.68', ts='0.07', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='4.07e-08', energy_flux_error2='7.00e-06', EG='0.91', time_epoch_completed='1765879221.78', return_code='0', job_id='17376906', GAL2='0.95', EG2='0.87', return_code2='102', photon_flux_error2='4.96e-08', ts2='1.91', photon_index='2.15' WHERE bin_id='906' AND source_name='4FGL J0902.4+2051' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 16 02:00:22 PST 2025

