/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_J0533.3+4823_weekly_bin906
RA = 83.3338, Dec = 48.3834
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='17373509', job_status='RUN', time_executed='2025-12-16 01:27:22.026843', time_epoch_executed='1765877242.03' WHERE source_name='4FGL J0533.3+4823' and cadence='weekly' and bin_id='906'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17373509

Creating custom pfile directory:
/lscratch/kocevski/17373509/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/17373509/ft1_4FGL_J0533.3+4823_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/17373509/ft2_4FGL_J0533.3+4823_weekly_bin906.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17373509/ft1_4FGL_J0533.3+4823_weekly_bin906.fits outfile=/lscratch/kocevski/17373509/ft1_filteredMKT_4FGL_J0533.3+4823_weekly_bin906.fits ra=83.3338 dec=48.3834 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.48
user 4.39
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/17373509/ft2_4FGL_J0533.3+4823_weekly_bin906.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/17373509/ft2_4FGL_J0533.3+4823_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/17373509/ft1_filteredMKT_4FGL_J0533.3+4823_weekly_bin906.fits evtable="EVENTS" outfile="/lscratch/kocevski/17373509/ft1_filtered_4FGL_J0533.3+4823_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 1.10
user 0.19
sys 0.13

Number of photons that the gtmktime cut: 5174

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17373509/ft1_filtered_4FGL_J0533.3+4823_weekly_bin906.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17373509/ft2_4FGL_J0533.3+4823_weekly_bin906.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17373509/ltcube_786931201_787536001_4FGL_J0533.3+4823_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/17373509/ft2_4FGL_J0533.3+4823_weekly_bin906.fits
.....................!
real 23.45
user 22.49
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17373509/ft1_filtered_4FGL_J0533.3+4823_weekly_bin906.fits evtable="EVENTS" scfile=/lscratch/kocevski/17373509/ft2_4FGL_J0533.3+4823_weekly_bin906.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17373509/ltcube_786931201_787536001_4FGL_J0533.3+4823_weekly_bin906.fits outfile=/lscratch/kocevski/17373509/expmap_786931201_787536001_4FGL_J0533.3+4823_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/17373509/ltcube_786931201_787536001_4FGL_J0533.3+4823_weekly_bin906.fits
.....................!
real 59.89
user 55.52
sys 3.55

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
Extended source HB 9 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/HB9.fits is the correct path to the extended template.
Extended source G150.3+4.5 in ROI with RadialDisk spatial model.
Extended source S 147 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/S147.fits is the correct path to the extended template.
Added 162 point sources and 3 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0533.3+4823 @ 83.3338 48.3834

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/17373509/ft1_filtered_4FGL_J0533.3+4823_weekly_bin906.fits scfile=/lscratch/kocevski/17373509/ft2_4FGL_J0533.3+4823_weekly_bin906.fits outfile=/lscratch/kocevski/17373509/cmap_786931201_787536001_4FGL_J0533.3+4823_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=83.3338 yref=48.3834 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 1.07
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17373509/ft1_filtered_4FGL_J0533.3+4823_weekly_bin906.fits scfile=/lscratch/kocevski/17373509/ft2_4FGL_J0533.3+4823_weekly_bin906.fits outfile=/lscratch/kocevski/17373509/cmap_HighResolution_786931201_787536001_4FGL_J0533.3+4823_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=83.3338 yref=48.3834 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.91
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/17373509/ft1_filtered_4FGL_J0533.3+4823_weekly_bin906.fits evtable="EVENTS" scfile=/lscratch/kocevski/17373509/ft2_4FGL_J0533.3+4823_weekly_bin906.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17373509/Model_4FGL_J0533.3+4823_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 G150.3+4.5
adding source GAL_V02
adding source HB 9
adding source S 147
Working on...
/lscratch/kocevski/17373509/ft1_filtered_4FGL_J0533.3+4823_weekly_bin906.fits.....................!
real 363.62
user 360.18
sys 0.71

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/17373509/ft1_filtered_4FGL_J0533.3+4823_weekly_bin906.fits', '/lscratch/kocevski/17373509/ft2_4FGL_J0533.3+4823_weekly_bin906.fits', expMap='/lscratch/kocevski/17373509/expmap_786931201_787536001_4FGL_J0533.3+4823_weekly_bin906.fits', expCube='/lscratch/kocevski/17373509/ltcube_786931201_787536001_4FGL_J0533.3+4823_weekly_bin906.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17373509/Model_4FGL_J0533.3+4823_weekly_bin906.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0533.3+4823'

4FGL J0533.3+4823
   Spectrum: LogParabola
262         norm:  1.210e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
263        alpha:  2.323e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
264         beta:  8.664e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
265           Eb:  6.543e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/17373509/ft1_filtered_4FGL_J0533.3+4823_weekly_bin906.fits
Spacecraft file(s): /lscratch/kocevski/17373509/ft2_4FGL_J0533.3+4823_weekly_bin906.fits
Exposure map: /lscratch/kocevski/17373509/expmap_786931201_787536001_4FGL_J0533.3+4823_weekly_bin906.fits
Exposure cube: /lscratch/kocevski/17373509/ltcube_786931201_787536001_4FGL_J0533.3+4823_weekly_bin906.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/17373509/Model_4FGL_J0533.3+4823_weekly_bin906.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.734       1.0000          .0000       .10000E+07
     2 'norm      '    .96573       1.0000          .0000       .10000E+07
     3 'Prefactor '    .68240       1.0000          .0000       .10000E+07
     4 'norm      '    .82861E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    2.8846       1.0000          .0000       .10000E+07
     6 'norm      '    .90826       1.0000          .0000       .10000E+07
     7 'norm      '    1.5469       1.0000          .0000       .10000E+07
     8 'Prefactor '    2.6810       1.0000          .0000       .10000E+07
     9 'Prefactor '    .13178E-06   1.0000          .0000       .10000E+07
    10 'Normalizat'    1.2364       1.0000         .10000E-01   10.000    
    11 'Prefactor '    .96638       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5600E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   50498.55     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      688 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.735        7.4417        .29220E-07   -.44333E-03
   2  norm          .96575        .60437        .41008E-07   -.47135E-02
   3  Prefactor     .67253        8.8548       -.58446E-06    .13678E-01
   4  norm           .0000        .38272        .85382E-07** at limit **
   5  Prefactor     2.8815        19.817       -.86884E-06   -.85698E-02
   6  norm          .90832        1.2752        .24419E-06   -.53900E-02
   7  norm          1.5469        1.3225        .82228E-07   -.34936E-02
   8  Prefactor     2.6809        4.0338        .57170E-07   -.10089E-03
   9  Prefactor      .0000        6.9824       -.11438E-06** at limit **
  10  Normalizat    1.2365        .14711       -.50115E-05    .17375E-04
  11  Prefactor     .96638        .24373E-01    .96278E-06   -.43937E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.7345
  norm       = 0.965753
  Prefactor  = 0.672528
  norm       = 0
  Prefactor  = 2.8815
  norm       = 0.908317
  norm       = 1.54694
  Prefactor  = 2.68094
  Prefactor  = 0
  Normalizat = 1.23645
  Prefactor  = 0.966383
 **********
 **   18 **HESSE 
 **********

 FCN=   50498.55     FROM HESSE     STATUS=OK           140 CALLS      828 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.735        7.4468        .28045E-03   -1.5637    
   2  norm          .96575        .60699        .42548E-03   -1.5688    
   3  Prefactor     .67253        35.383        .62149E-03   -1.5692    
   4  norm           .0000        .38035        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.8815        25.777        .59813E-03   -1.5674    
   6  norm          .90832        1.2803        .45191E-03   -1.5689    
   7  norm          1.5469        1.3265        .85639E-03   -1.5683    
   8  Prefactor     2.6809        4.0420        .62206E-03   -1.5675    
   9  Prefactor      .0000        6.8692        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Normalizat    1.2365        .14265        .14567       -.85484    
  11  Prefactor     .96638        .23496E-01    .27325E-01   -.93859    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18919e-06
Minuit parameter uncertainties:
  1  7.44676
  2  0.606995
  3  9.75634
  4  2.58638e-06
  5  17.2368
  6  1.2803
  7  1.32652
  8  4.04195
  9  2.02504e-05
  10  0.142697
  11  0.0234958
Done.

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

Extracting fit parameters...

4FGL J0533.3+4823
   Spectrum: LogParabola
262         norm:  9.658e-01  6.070e-01  0.000e+00  1.000e+06 ( 1.000e-11)
263        alpha:  2.323e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
264         beta:  8.664e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
265           Eb:  6.543e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  9.664e-01  2.350e-02  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.236e+00  1.427e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.32
Ra Dec: 83.334 48.383
Photon Index (Fixed Index): 2.32 +/- 0.00
Photon Flux (Fixed Index): 4.92e-08 +/- 3.09e-08
Energy Flux (Fixed Index): 1.68e-05 +/- 1.06e-05

TS (Fixed Index): 3.32
Ra Dec: 83.334 48.383
Photon Flux Upper Limit: 1.07173642459e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.66400747182e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/17373509/likelihoodResults_786931201_787536001_4FGL_J0533.3+4823_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): 0
logL (Free Index) = 50497.5793104
delta logL = 0.966782400959

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 50497.5651864
delta logL = 0.980906379744

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .76150       1.0000          .0000       .10000E+07
     2 'alpha     '    2.9874       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2012       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96841       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5600E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   50497.57     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      251 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .76141        3.6500        .55850E-03    .92478E-01
   2  alpha         2.9873        3.6572        .42186        .34252E-03
   3  Normalizat    1.2012        .46815E-01    .14739        .16529E-03
   4  Prefactor     .96841        .76198E-02    .27296E-01   -.89357E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.761413
  alpha      = 2.98734
  Normalizat = 1.20121
  Prefactor  = 0.968413
 **********
 **   18 **HESSE 
 **********

 FCN=   50497.57     FROM HESSE     STATUS=OK            33 CALLS      284 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .76141        .65675        .89818E-05   -1.5691    
   2  alpha         2.9873        .62201        .23857E-01    .19619    
   3  Normalizat    1.2012        .14711        .65495E-03   -.86566    
   4  Prefactor     .96841        .24316E-01    .12063E-03   -.93790    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.92305e-10
Minuit parameter uncertainties:
  1  0.656751
  2  0.628884
  3  0.147158
  4  0.0243166
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 50497.5651863
delta logL = 0.980906484612

Extracting fit parameters...

4FGL J0533.3+4823
   Spectrum: LogParabola
262         norm:  7.614e-01  6.568e-01  0.000e+00  1.000e+06 ( 1.000e-11)
263        alpha:  2.987e+00  6.289e-01  0.000e+00  5.000e+00 ( 1.000e+00)
264         beta:  8.664e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
265           Eb:  6.543e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  9.684e-01  2.432e-02  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.201e+00  1.472e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.41
Ra Dec: 83.334 48.383
Photon Index (Free Index): 2.99 +/- 0.63
Photon Flux (Free Index): 8.75e-08 +/- 4.37e-08
Energy Flux (Free Index): 1.83e-05 +/- 9.41e-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/17373509/cmap_HighResolution_786931201_787536001_4FGL_J0533.3+4823_weekly_bin906.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.66e-05', comment='SUCCESS', photon_flux='4.92e-08', energy_flux2='1.83e-05', photon_flux_error='3.09e-08', dlogl='9.81e-01', energy_flux='1.68e-05', photon_flux2='8.75e-08', job_status='DONE', time_completed='2025-12-16 01:48:35.832700', photon_index_error2='0.63', photon_index2='2.99', ts='3.32', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='1.07e-07', energy_flux_error2='9.41e-06', EG='1.24', time_epoch_completed='1765878515.83', return_code='0', job_id='17373509', GAL2='0.97', EG2='1.20', return_code2='0', energy_flux_error='1.06e-05', photon_flux_error2='4.37e-08', ts2='5.41', photon_index='2.32' WHERE bin_id='906' AND source_name='4FGL J0533.3+4823' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 16 01:48:36 PST 2025

