/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_J0303.6+4716_weekly_bin906
RA = 45.9098, Dec = 47.2759
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='17373151', job_status='RUN', time_executed='2025-12-16 01:12:38.167516', time_epoch_executed='1765876358.17' WHERE source_name='4FGL J0303.6+4716' and cadence='weekly' and bin_id='906'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17373151

Creating custom pfile directory:
/lscratch/kocevski/17373151/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/17373151/ft1_4FGL_J0303.6+4716_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/17373151/ft2_4FGL_J0303.6+4716_weekly_bin906.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17373151/ft1_4FGL_J0303.6+4716_weekly_bin906.fits outfile=/lscratch/kocevski/17373151/ft1_filteredMKT_4FGL_J0303.6+4716_weekly_bin906.fits ra=45.9098 dec=47.2759 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.89
user 4.67
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/17373151/ft2_4FGL_J0303.6+4716_weekly_bin906.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/17373151/ft2_4FGL_J0303.6+4716_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/17373151/ft1_filteredMKT_4FGL_J0303.6+4716_weekly_bin906.fits evtable="EVENTS" outfile="/lscratch/kocevski/17373151/ft1_filtered_4FGL_J0303.6+4716_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.26
user 0.22
sys 0.12

Number of photons that the gtmktime cut: 6079

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17373151/ft1_filtered_4FGL_J0303.6+4716_weekly_bin906.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17373151/ft2_4FGL_J0303.6+4716_weekly_bin906.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17373151/ltcube_786931201_787536001_4FGL_J0303.6+4716_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/17373151/ft2_4FGL_J0303.6+4716_weekly_bin906.fits
.....................!
real 17.27
user 16.14
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17373151/ft1_filtered_4FGL_J0303.6+4716_weekly_bin906.fits evtable="EVENTS" scfile=/lscratch/kocevski/17373151/ft2_4FGL_J0303.6+4716_weekly_bin906.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17373151/ltcube_786931201_787536001_4FGL_J0303.6+4716_weekly_bin906.fits outfile=/lscratch/kocevski/17373151/expmap_786931201_787536001_4FGL_J0303.6+4716_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/17373151/ltcube_786931201_787536001_4FGL_J0303.6+4716_weekly_bin906.fits
.....................!
real 64.50
user 59.37
sys 3.94

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 3 in ROI with RadialDisk spatial model.
Extended source W 3 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W3.fits is the correct path to the extended template.
Extended source G150.3+4.5 in ROI with RadialDisk spatial model.
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.
Added 179 point sources and 4 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 J0303.6+4716 @ 45.9098 47.2759

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/17373151/ft1_filtered_4FGL_J0303.6+4716_weekly_bin906.fits scfile=/lscratch/kocevski/17373151/ft2_4FGL_J0303.6+4716_weekly_bin906.fits outfile=/lscratch/kocevski/17373151/cmap_786931201_787536001_4FGL_J0303.6+4716_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=45.9098 yref=47.2759 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.29
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17373151/ft1_filtered_4FGL_J0303.6+4716_weekly_bin906.fits scfile=/lscratch/kocevski/17373151/ft2_4FGL_J0303.6+4716_weekly_bin906.fits outfile=/lscratch/kocevski/17373151/cmap_HighResolution_786931201_787536001_4FGL_J0303.6+4716_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=45.9098 yref=47.2759 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.31
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/17373151/ft1_filtered_4FGL_J0303.6+4716_weekly_bin906.fits evtable="EVENTS" scfile=/lscratch/kocevski/17373151/ft2_4FGL_J0303.6+4716_weekly_bin906.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17373151/Model_4FGL_J0303.6+4716_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 3
adding source HB 9
adding source W 3
Working on...
/lscratch/kocevski/17373151/ft1_filtered_4FGL_J0303.6+4716_weekly_bin906.fits.....................!
real 324.63
user 321.40
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/17373151/ft1_filtered_4FGL_J0303.6+4716_weekly_bin906.fits', '/lscratch/kocevski/17373151/ft2_4FGL_J0303.6+4716_weekly_bin906.fits', expMap='/lscratch/kocevski/17373151/expmap_786931201_787536001_4FGL_J0303.6+4716_weekly_bin906.fits', expCube='/lscratch/kocevski/17373151/ltcube_786931201_787536001_4FGL_J0303.6+4716_weekly_bin906.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17373151/Model_4FGL_J0303.6+4716_weekly_bin906.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0303.6+4716'

4FGL J0303.6+4716
   Spectrum: LogParabola
312         norm:  3.413e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
313        alpha:  2.097e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
314         beta:  7.937e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
315           Eb:  9.673e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/17373151/ft1_filtered_4FGL_J0303.6+4716_weekly_bin906.fits
Spacecraft file(s): /lscratch/kocevski/17373151/ft2_4FGL_J0303.6+4716_weekly_bin906.fits
Exposure map: /lscratch/kocevski/17373151/expmap_786931201_787536001_4FGL_J0303.6+4716_weekly_bin906.fits
Exposure cube: /lscratch/kocevski/17373151/ltcube_786931201_787536001_4FGL_J0303.6+4716_weekly_bin906.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/17373151/Model_4FGL_J0303.6+4716_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) = 57562.6493831

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.5472       1.0000          .0000       .10000E+07
     2 'norm      '    .72206       1.0000          .0000       .10000E+07
     3 'Prefactor '    .74190E-05   1.0000          .0000       .10000E+07
     4 'norm      '    3.6528       1.0000          .0000       .10000E+07
     5 'norm      '    2.4301       1.0000          .0000       .10000E+07
     6 'Prefactor '    .72602       1.0000          .0000       .10000E+07
     7 'norm      '    3.0371       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.0616       1.0000          .0000       .10000E+07
     9 'norm      '    2.5292       1.0000          .0000       .10000E+07
    10 'Prefactor '    .17730E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    10.388       1.0000          .0000       .10000E+07
    12 'norm      '    .10038E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.4580       1.0000          .0000       .10000E+07
    14 'norm      '    30.478       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.1078       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .99610       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   57561.77     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      893 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.4297        1.2207       -.43837E-06    .10733    
   2  norm          .72197        .19605        .25059E-07   -.99652E-02
   3  Prefactor     .55511E-10    .94262       -.14513E-05** at limit **
   4  norm          3.6499        2.6856       -.41188E-05   -.13155E-01
   5  norm          2.4380        6.8592       -.17940E-04    .26078E-02
   6  Prefactor     .72859        1.2290        .46692E-06    .57430E-02
   7  norm          3.0378        1.8312        .30896E-07   -.41616E-02
   8  Prefactor     4.0614        6.1345        .37369E-05   -.50522E-02
   9  norm          2.5285        .41410        .42409E-08    .95449E-02
  10  Prefactor     .20539E-08    9.6273       -.31867E-05** at limit **
  11  Prefactor     10.407        1.0039        .35526E-07    .31045E-02
  12  norm          .32752E-08    16.784       -.47558E-05** at limit **
  13  Prefactor     1.4602        1.5723       -.61695E-07    .52865E-03
  14  norm          30.468        1.2935       -.64203E-06    .75841E-01
  15  Normalizat    1.1080        .13349        .14694E-04   -.53212E-05
  16  Prefactor     .99609        .22128E-01   -.97092E-06    .32633E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.42968
  norm       = 0.721969
  Prefactor  = 5.55112e-11
  norm       = 3.64991
  norm       = 2.43804
  Prefactor  = 0.728589
  norm       = 3.03781
  Prefactor  = 4.06143
  norm       = 2.52853
  Prefactor  = 2.05391e-09
  Prefactor  = 10.4068
  norm       = 3.27516e-09
  Prefactor  = 1.46022
  norm       = 30.4679
  Normalizat = 1.10796
  Prefactor  = 0.99609
 **********
 **   18 **HESSE 
 **********

 FCN=   57561.77     FROM HESSE     STATUS=OK           243 CALLS     1136 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.4297        22.877        .32409E-03   -1.5647    
   2  norm          .72197        .19744        .58935E-03   -1.5691    
   3  Prefactor     .55511E-10    .94404        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.6499        2.6961        .52829E-03   -1.5670    
   5  norm          2.4380        7.0075        .65618E-03   -1.5677    
   6  Prefactor     .72859        1.2500        .58621E-03   -1.5691    
   7  norm          3.0378        1.8329        .58198E-03   -1.5673    
   8  Prefactor     4.0614        6.2168        .50006E-03   -1.5668    
   9  norm          2.5285        .41529        .64201E-03   -1.5676    
  10  Prefactor     .20539E-08    9.6683        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     10.407        12.706        .31062E-03   -1.5643    
  12  norm          .32752E-08    16.821        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.4602        1.5939        .89106E-03   -1.5684    
  14  norm          30.468        6.3695        .18116E-03   -1.5598    
  15  Normalizat    1.1080        .13330        .15491       -.89497    
  16  Prefactor     .99609        .22115E-01    .28388E-01   -.92860    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05241e-06
Minuit parameter uncertainties:
  1  22.8769
  2  0.197442
  3  1.74117e-05
  4  2.69613
  5  7.00755
  6  1.24997
  7  1.83285
  8  6.2168
  9  0.415294
  10  0.000282647
  11  12.7063
  12  0.000470293
  13  1.59391
  14  6.36951
  15  0.13334
  16  0.022115
Done.

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

Extracting fit parameters...

4FGL J0303.6+4716
   Spectrum: LogParabola
312         norm:  3.038e+00  1.833e+00  0.000e+00  1.000e+06 ( 1.000e-12)
313        alpha:  2.097e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
314         beta:  7.937e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
315           Eb:  9.673e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
619    Prefactor:  9.961e-01  2.212e-02  0.000e+00  1.000e+01 ( 1.000e+00)
620        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
621        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
614   Normalization:  1.108e+00  1.333e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.43
Ra Dec: 45.910 47.276
Photon Index (Fixed Index): 2.10 +/- 0.00
Photon Flux (Fixed Index): 2.64e-08 +/- 1.59e-08
Energy Flux (Fixed Index): 1.34e-05 +/- 8.08e-06

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) = 57561.5512702
delta logL = 0.223297885845

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 57561.4813031
delta logL = 0.29326490988

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   57561.48     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      223 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0814        1.4984        .71530E-03   -.10099E-02
   2  alpha         1.5558        .38084        .45662       -.32091E-03
   3  Normalizat    1.1203        .12253        .15420        .20548E-03
   4  Prefactor     .99605        .21319E-01    .28390E-01   -.93048E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.0814
  alpha      = 1.55577
  Normalizat = 1.12026
  Prefactor  = 0.996049
 **********
 **   18 **HESSE 
 **********

 FCN=   57561.48     FROM HESSE     STATUS=OK            33 CALLS      256 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0814        2.2496        .24297E-04   -1.5679    
   2  alpha         1.5558        .67780        .38550E-01   -.38730    
   3  Normalizat    1.1203        .12433        .68565E-03   -.89104    
   4  Prefactor     .99605        .21780E-01    .12547E-03   -.92861    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46941e-07
Minuit parameter uncertainties:
  1  2.24963
  2  0.687877
  3  0.124359
  4  0.0217804
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) = 57561.4813031
delta logL = 0.293264983331

Extracting fit parameters...

4FGL J0303.6+4716
   Spectrum: LogParabola
312         norm:  2.081e+00  2.250e+00  0.000e+00  1.000e+06 ( 1.000e-12)
313        alpha:  1.556e+00  6.879e-01  0.000e+00  5.000e+00 ( 1.000e+00)
314         beta:  7.937e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
315           Eb:  9.673e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
619    Prefactor:  9.960e-01  2.178e-02  0.000e+00  1.000e+01 ( 1.000e+00)
620        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
621        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
614   Normalization:  1.120e+00  1.244e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.00
Ra Dec: 45.910 47.276
Photon Index (Free Index): 1.56 +/- 0.69
Photon Flux (Free Index): 1.04e-08 +/- 1.52e-08
Energy Flux (Free Index): 1.70e-05 +/- 1.53e-05

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/17373151/cmap_HighResolution_786931201_787536001_4FGL_J0303.6+4716_weekly_bin906.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.64e-08', energy_flux2='1.70e-05', photon_flux_error='1.59e-08', dlogl='2.93e-01', energy_flux='1.34e-05', photon_flux2='1.04e-08', job_status='DONE', time_completed='2025-12-16 01:36:10.555231', photon_index_error2='0.69', photon_index2='1.56', ts='7.43', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='1.53e-05', EG='1.11', time_epoch_completed='1765877770.56', return_code='0', job_id='17373151', GAL2='1.00', EG2='1.12', return_code2='0', energy_flux_error='8.08e-06', photon_flux_error2='1.52e-08', ts2='8.00', photon_index='2.10' WHERE bin_id='906' AND source_name='4FGL J0303.6+4716' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 16 01:36:11 PST 2025

