******
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5797.039     FROM MIGRAD    STATUS=CONVERGED    160 CALLS     1656 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18657E-05    399.48       -.18505E-04** at limit **
   2  norm          2.1715        2.1055       -.65455E-06    .26673E-03
   3  Prefactor     .55511E-10    8.0390        .63793E-06** at limit **
   4  Prefactor     .15103E-04    271.38       -.34128E-04** at limit **
   5  Prefactor     1.9813        3.6544        .19198E-06    .40124E-04
   6  norm          .13678        .42056       -.12277E-06** at limit **
   7  Prefactor     .12768E-08    22.547       -.17867E-05** at limit **
   8  Prefactor     22.242        16.435       -.73357E-06   -.32927E-02
   9  Prefactor      .0000        12.563       -.21981E-06** at limit **
  10  norm           .0000        .80159       -.61968E-07** at limit **
  11  norm          2.9100        .90367       -.14547E-06   -.55634E-03
  12  Prefactor     60.503        40.527        .11265E-05   -.81722E-01
  13  Prefactor     15.794        20.967        .12965E-06   -.95629E-03
  14  Prefactor     2.8268        13.329        .42155E-05   -.79473E-03
  15  Prefactor     133.02        60.983        .33737E-05   -.73290E-01
  16  norm          .28036        .22938        .48442E-07    .77441E-02
  17  norm          9.2890        5.5202       -.33720E-06   -.17659E-02
  18  Prefactor     22.253        20.029       -.16678E-05   -.11320    
  19  Prefactor     9.4228        11.556       -.95792E-06   -.42523E-03
  20  Normalizat    .83702        .16666       -.28103E-05   -.44518E-03
  21  Prefactor     .66404        .19215       -.74451E-05   -.30082E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.86567e-06
  norm       = 2.17153
  Prefactor  = 5.55112e-11
  Prefactor  = 1.51034e-05
  Prefactor  = 1.98134
  norm       = 0.136777
  Prefactor  = 1.27676e-09
  Prefactor  = 22.2422
  Prefactor  = 0
  norm       = 0
  norm       = 2.91002
  Prefactor  = 60.503
  Prefactor  = 15.7936
  Prefactor  = 2.8268
  Prefactor  = 133.015
  norm       = 0.280356
  norm       = 9.28904
  Prefactor  = 22.2525
  Prefactor  = 9.42284
  Normalizat = 0.837021
  Prefactor  = 0.664036
ts sctable="SC_DATA" srcmdl=/lscratch/kocevski/37425552/Model_4FGL_J0319.9-3821_daily_bin2203.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 Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/37425552/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits.....................!
real 50.04
user 47.87
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37425552/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits', '/lscratch/kocevski/37425552/ft2_4FGL_J0319.9-3821_daily_bin2203.fits', expMap='/lscratch/kocevski/37425552/expmap_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits', expCube='/lscratch/kocevski/37425552/ltcube_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37425552/Model_4FGL_J0319.9-3821_daily_bin2203.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0319.9-3821'

4FGL J0319.9-3821
   Spectrum: PowerLaw
267    Prefactor:  2.804e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
268        Index:  2.469e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  9.189e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37425552/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits
Spacecraft file(s): /lscratch/kocevski/37425552/ft2_4FGL_J0319.9-3821_daily_bin2203.fits
Exposure map: /lscratch/kocevski/37425552/expmap_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits
Exposure cube: /lscratch/kocevski/37425552/ltcube_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37425552/Model_4FGL_J0319.9-3821_daily_bin2203.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) = 5797.04664078

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80235       1.0000          .0000       .10000E+07
     2 'norm      '    2.1661       1.0000          .0000       .10000E+07
     3 'Prefactor '    .89068E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .84533       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.9822       1.0000          .0000       .10000E+07
     6 'norm      '    .13668       1.0000          .0000       .10000E+07
     7 'Prefactor '    .36558E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    22.254       1.0000          .0000       .10000E+07
     9 'Prefactor '    .24213E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .17364E-06   1.0000          .0000       .10000E+07
    11 'norm      '    2.9107       1.0000          .0000       .10000E+07
    12 'Prefactor '    60.047       1.0000          .0000       .10000E+07
    13 'Prefactor '    15.316       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.9073       1.0000          .0000       .10000E+07
    15 'Prefactor '    131.77       1.0000          .0000       .10000E+07
    16 'norm      '    .28048       1.0000          .0000       .10000E+07
    17 'norm      '    9.3043       1.0000          .0000       .10000E+07
    18 'Prefactor '    22.447       1.0000          .0000       .10000E+07
    19 'Prefactor '    9.4644       1.0000          .0000       .10000E+07
    20 'Normalizat'    .83706       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .66338       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 ****/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)
******
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5797.039     FROM MIGRAD    STATUS=CONVERGED    160 CALLS     1656 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18657E-05    399.48       -.18505E-04** at limit **
   2  norm          2.1715        2.1055       -.65455E-06    .26673E-03
   3  Prefactor     .55511E-10    8.0390        .63793E-06** at limit **
   4  Prefactor     .15103E-04    271.38       -.34128E-04** at limit **
   5  Prefactor     1.9813        3.6544        .19198E-06    .40124E-04
   6  norm          .13678        .42056       -.12277E-06** at limit **
   7  Prefactor     .12768E-08    22.547       -.17867E-05** at limit **
   8  Prefactor     22.242        16.435       -.73357E-06   -.32927E-02
   9  Prefactor      .0000        12.563       -.21981E-06** at limit **
  10  norm           .0000        .80159       -.61968E-07** at limit **
  11  norm          2.9100        .90367       -.14547E-06   -.55634E-03
  12  Prefactor     60.503        40.527        .11265E-05   -.81722E-01
  13  Prefactor     15.794        20.967        .12965E-06   -.95629E-03
  14  Prefactor     2.8268        13.329        .42155E-05   -.79473E-03
  15  Prefactor     133.02        60.983        .33737E-05   -.73290E-01
  16  norm          .28036        .22938        .48442E-07    .77441E-02
  17  norm          9.2890        5.5202       -.33720E-06   -.17659E-02
  18  Prefactor     22.253        20.029       -.16678E-05   -.11320    
  19  Prefactor     9.4228        11.556       -.95792E-06   -.42523E-03
  20  Normalizat    .83702        .16666       -.28103E-05   -.44518E-03
  21  Prefactor     .66404        .19215       -.74451E-05   -.30082E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.86567e-06
  norm       = 2.17153
  Prefactor  = 5.55112e-11
  Prefactor  = 1.51034e-05
  Prefactor  = 1.98134
  norm       = 0.136777
  Prefactor  = 1.27676e-09
  Prefactor  = 22.2422
  Prefactor  = 0
  norm       = 0
  norm       = 2.91002
  Prefactor  = 60.503
  Prefactor  = 15.7936
  Prefactor  = 2.8268
  Prefactor  = 133.015
  norm       = 0.280356
  norm       = 9.28904
  Prefactor  = 22.2525
  Prefactor  = 9.42284
  Normalizat = 0.837021
  Prefactor  = 0.664036
 **********
 **   18 **HESSE 
 **********

 FCN=   5797.039     FROM HESSE     STATUS=OK           371 CALLS     2027 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18657E-05    25.607        .95505E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.1715        2.1180        .69949E-03   -1.5678    
   3  Prefactor     .55511E-10    8.0554        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .15103E-04    385.84        .49615E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.9813        3.6762        .73585E-03   -1.5680    
   6  norm          .13678        .42973        .20895E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .12768E-08    22.490        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     22.242        16.444        .21204E-03   -1.5614    
   9  Prefactor      .0000        12.464        .16774E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        .80219        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.9100        .90441        .59527E-03   -1.5674    
  12  Prefactor     60.503        45.215        .12906E-03   -1.5552    
  13  Prefactor     15.794        20.970        .25566E-03   -1.5628    
  14  Prefactor     2.8268        13.660        .59564E-03   -1.5674    
  15  Prefactor     133.02        92.287        .87122E-04   -1.5477    
  16  norm          .28036        .24035        .69420E-03   -1.5697    
  17  norm          9.2890        5.5346        .32831E-03   -1.5647    
  18  Prefactor     22.253        40.163        .21112E-03   -1.5614    
  19  Prefactor     9.4228        11.578        .32551E-03   -1.5647    
  20  Normalizat    .83702        .14158        .44092E-01   -.98710    
  21  Prefactor     .66404        .16249        .41912E-01   -1.0495    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6547e-06
Minuit parameter uncertainties:
  1  0.0138238
  2  2.11803
  3  2.9969e-05
  4  0.152685
  5  3.67623
  6  0.429731
  7  0.000336115
  8  16.4437
  9  6.00147e-06
  10  7.41862e-07
  11  0.90441
  12  45.2154
  13  20.9705
  14  12.4281
  15  92.2877
  16  0.240347
  17  5.53455
  18  40.1635
  19  11.5782
  20  0.141638
  21  0.162605
outfile=/lscratch/kocevski/37425652/ltcube_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.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/37425652/ft2_4FGL_J0319.9-3821_daily_bin2203.fits
.....................!
real 9.07
user 8.29
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37425652/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits evtable="EVENTS" scfile=/lscratch/kocevski/37425652/ft2_4FGL_J0319.9-3821_daily_bin2203.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37425652/ltcube_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits outfile=/lscratch/kocevski/37425652/expmap_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.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/37425652/ltcube_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits
.....................!
real 72.12
user 67.09
sys 4.08

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 Fornax A in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template.
Added 180 point sources and 1 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 J0319.9-3821 @ 49.9975 -38.3577

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37425652/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits scfile=/lscratch/kocevski/37425652/ft2_4FGL_J0319.9-3821_daily_bin2203.fits outfile=/lscratch/kocevski/37425652/cmap_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.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=49.9975 yref=-38.3577 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.74
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37425652/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits scfile=/lscratch/kocevski/37425652/ft2_4FGL_J0319.9-3821_daily_bin2203.fits outfile=/lscratch/kocevski/37425652/cmap_HighResolution_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.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=49.9975 yref=-38.3577 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.79
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37425652/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits evtable="EVENTS" scfile=/lscratch/kocevski/37425652/ft2_4FGL_J0319.9-3821_daily_bin2203.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37425585/Model_4FGL_J0319.9-3821_daily_bin2203.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 Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/37425585/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits.....................!
real 46.67
user 44.91
sys 0.84

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37425585/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits', '/lscratch/kocevski/37425585/ft2_4FGL_J0319.9-3821_daily_bin2203.fits', expMap='/lscratch/kocevski/37425585/expmap_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits', expCube='/lscratch/kocevski/37425585/ltcube_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37425585/Model_4FGL_J0319.9-3821_daily_bin2203.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0319.9-3821'

4FGL J0319.9-3821
   Spectrum: PowerLaw
267    Prefactor:  2.804e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
268        Index:  2.469e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  9.189e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37425585/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits
Spacecraft file(s): /lscratch/kocevski/37425585/ft2_4FGL_J0319.9-3821_daily_bin2203.fits
Exposure map: /lscratch/kocevski/37425585/expmap_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits
Exposure cube: /lscratch/kocevski/37425585/ltcube_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37425585/Model_4FGL_J0319.9-3821_daily_bin2203.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) = 5797.04664078

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80235       1.0000          .0000       .10000E+07
     2 'norm      '    2.1661       1.0000          .0000       .10000E+07
     3 'Prefactor '    .89068E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .84533       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.9822       1.0000          .0000       .10000E+07
     6 'norm      '    .13668       1.0000          .0000       .10000E+07
     7 'Prefactor '    .36558E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    22.254       1.0000          .0000       .10000E+07
     9 'Prefactor '    .24213E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .17364E-06   1.0000          .0000       .10000E+07
    11 'norm      '    2.9107       1.0000          .0000       .10000E+07
    12 'Prefactor '    60.047       1.0000          .0000       .10000E+07
    13 'Prefactor '    15.316       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.9073       1.0000          .0000       .10000E+07
    15 'Prefactor '    131.77       1.0000          .0000       .10000E+07
    16 'norm      '    .28048       1.0000          .0000       .10000E+07
    17 'norm      '    9.3043       1.0000          .0000       .10000E+07
    18 'Prefactor '    22.447       1.0000          .0000       .10000E+07
    19 'Prefactor '    9.4644       1.0000          .0000       .10000E+07
    20 'Normalizat'    .83706       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .66338       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 ****Done.

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

Extracting fit parameters...

4FGL J0319.9-3821
   Spectrum: PowerLaw
267    Prefactor:  1.277e-09  3.361e-04  0.000e+00  1.000e+06 ( 1.000e-13)
268        Index:  2.469e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  9.189e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  6.640e-01  1.626e-01  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  8.370e-01  1.416e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 49.998 -38.358
Photon Flux Upper Limit: 6.07370005427e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00471449868528 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37425531/likelihoodResults_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.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) = 5797.06116514
delta logL = -0.0224818770757

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5793.35439872
delta logL = 3.68428454449

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5797.039     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      468 TOTAL
                     EDM=   .31E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3544        .42118E-03** at limit **
   2  Index         .88340        .89511        .35603E-07     .0000    
   3  Normalizat    .83702        1.1343        .26305E-05    .27509E-05
   4  Prefactor     .66404        1.0444       -.19365E-05   -.65005E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.883398
  Normalizat = 0.837022
  Prefactor  = 0.664036
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5797.039     FROM HESSE     STATUS=FAILED         9 CALLS      477 TOTAL
                     EDM=   .31E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3544        .42118E-03   -58.119    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7926        1.6991        .35603E-07   -6788.0    
   3  Normalizat    .83702        1.1343        .26305E-05   -95.235    
   4  Prefactor     .66404        1.0444       -.19365E-05    17.800    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.13668e-13
Minuit parameter uncertainties:
  1  1.54293e-06
  2  0.910661
  3  1.16917
  4  1.07773
number of points = 7433
number of fields = 31
RA_SUN column already exists. File will not be modified.

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

Done.


Performing analysis on: 4FGL_J0319.9-3821_daily_bin2203
RA = 49.9975, Dec = -38.3577
tmin = 810345601, tmax = 810604801
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='37425752', job_status='RUN', time_executed='2026-09-09 02:44:28.314480', time_epoch_executed='1788947068.31' WHERE source_name='4FGL J0319.9-3821' and cadence='daily' and bin_id='2203'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37425752

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/37425752/ft1_4FGL_J0319.9-3821_daily_bin2203.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/37425752/ft2_4FGL_J0319.9-3821_daily_bin2203.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37425752/ft1_4FGL_J0319.9-3821_daily_bin2203.fits outfile=/lscratch/kocevski/37425752/ft1_filteredMKT_4FGL_J0319.9-3821_daily_bin2203.fits ra=49.9975 dec=-38.3577 rad=12.0 tmin=810345601.0 tmax=810604801.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 2.81
user 2.04
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37425752/ft2_4FGL_J0319.9-3821_daily_bin2203.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37425752/ft2_4FGL_J0319.9-3821_daily_bin2203.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/37425752/ft1_filteredMKT_4FGL_J0319.9-3821_daily_bin2203.fits evtable="EVENTS" outfile="/lscratch/kocevski/37425752/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.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.70
user 0.20
sys 0.12

Number of photons that the gtmktime cut: 530

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37425752/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37425752/ft2_4FGL_J0319.9-3821_daily_bin2203.fits sctable="SC_DATA" shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 5797.03868326
delta logL = 9.91349224932e-11

Extracting fit parameters...

4FGL J0319.9-3821
   Spectrum: PowerLaw
267    Prefactor:  0.000e+00  1.543e-06  0.000e+00  1.000e+06 ( 1.000e-13)
268        Index:  8.834e-01  9.107e-01  0.000e+00  1.000e+01 (-1.000e+00)
269        Scale:  9.189e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  6.640e-01  1.078e+00  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  8.370e-01  1.169e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 49.998 -38.358

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/37425531/cmap_HighResolution_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.71e-03', job_status='DONE', photon_flux_upper_limit='6.07e-08', time_completed='2026-09-09 02:45:58.432367', job_id='37425531', GAL2='0.66', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1788947158.43', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='9.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='2203' AND source_name='4FGL J0319.9-3821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  9 02:45:58 PDT 2026

******
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5797.039     FROM MIGRAD    STATUS=CONVERGED    160 CALLS     1656 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18657E-05    399.48       -.18505E-04** at limit **
   2  norm          2.1715        2.1055       -.65455E-06    .26673E-03
   3  Prefactor     .55511E-10    8.0390        .63793E-06** at limit **
   4  Prefactor     .15103E-04    271.38       -.34128E-04** at limit **
   5  Prefactor     1.9813        3.6544        .19198E-06    .40124E-04
   6  norm          .13678        .42056       -.12277E-06** at limit **
   7  Prefactor     .12768E-08    22.547       -.17867E-05** at limit **
   8  Prefactor     22.242        16.435       -.73357E-06   -.32927E-02
   9  Prefactor      .0000        12.563       -.21981E-06** at limit **
  10  norm           .0000        .80159       -.61968E-07** at limit **
  11  norm          2.9100        .90367       -.14547E-06   -.55634E-03
  12  Prefactor     60.503        40.527        .11265E-05   -.81722E-01
  13  Prefactor     15.794        20.967        .12965E-06   -.95629E-03
  14  Prefactor     2.8268        13.329        .42155E-05   -.79473E-03
  15  Prefactor     133.02        60.983        .33737E-05   -.73290E-01
  16  norm          .28036        .22938        .48442E-07    .77441E-02
  17  norm          9.2890        5.5202       -.33720E-06   -.17659E-02
  18  Prefactor     22.253        20.029       -.16678E-05   -.11320    
  19  Prefactor     9.4228        11.556       -.95792E-06   -.42523E-03
  20  Normalizat    .83702        .16666       -.28103E-05   -.44518E-03
  21  Prefactor     .66404        .19215       -.74451E-05   -.30082E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.86567e-06
  norm       = 2.17153
  Prefactor  = 5.55112e-11
  Prefactor  = 1.51034e-05
  Prefactor  = 1.98134
  norm       = 0.136777
  Prefactor  = 1.27676e-09
  Prefactor  = 22.2422
  Prefactor  = 0
  norm       = 0
  norm       = 2.91002
  Prefactor  = 60.503
  Prefactor  = 15.7936
  Prefactor  = 2.8268
  Prefactor  = 133.015
  norm       = 0.280356
  norm       = 9.28904
  Prefactor  = 22.2525
  Prefactor  = 9.42284
  Normalizat = 0.837021
  Prefactor  = 0.664036
ts sctable="SC_DATA" srcmdl=/lscratch/kocevski/37425582/Model_4FGL_J0319.9-3821_daily_bin2203.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 Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/37425582/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits.....................!
real 50.77
user 48.87
sys 0.82

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37425582/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits', '/lscratch/kocevski/37425582/ft2_4FGL_J0319.9-3821_daily_bin2203.fits', expMap='/lscratch/kocevski/37425582/expmap_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits', expCube='/lscratch/kocevski/37425582/ltcube_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37425582/Model_4FGL_J0319.9-3821_daily_bin2203.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0319.9-3821'

4FGL J0319.9-3821
   Spectrum: PowerLaw
267    Prefactor:  2.804e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
268        Index:  2.469e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  9.189e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37425582/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits
Spacecraft file(s): /lscratch/kocevski/37425582/ft2_4FGL_J0319.9-3821_daily_bin2203.fits
Exposure map: /lscratch/kocevski/37425582/expmap_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits
Exposure cube: /lscratch/kocevski/37425582/ltcube_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37425582/Model_4FGL_J0319.9-3821_daily_bin2203.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) = 5797.04664078

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80235       1.0000          .0000       .10000E+07
     2 'norm      '    2.1661       1.0000          .0000       .10000E+07
     3 'Prefactor '    .89068E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .84533       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.9822       1.0000          .0000       .10000E+07
     6 'norm      '    .13668       1.0000          .0000       .10000E+07
     7 'Prefactor '    .36558E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    22.254       1.0000          .0000       .10000E+07
     9 'Prefactor '    .24213E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .17364E-06   1.0000          .0000       .10000E+07
    11 'norm      '    2.9107       1.0000          .0000       .10000E+07
    12 'Prefactor '    60.047       1.0000          .0000       .10000E+07
    13 'Prefactor '    15.316       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.9073       1.0000          .0000       .10000E+07
    15 'Prefactor '    131.77       1.0000          .0000       .10000E+07
    16 'norm      '    .28048       1.0000          .0000       .10000E+07
    17 'norm      '    9.3043       1.0000          .0000       .10000E+07
    18 'Prefactor '    22.447       1.0000          .0000       .10000E+07
    19 'Prefactor '    9.4644       1.0000          .0000       .10000E+07
    20 'Normalizat'    .83706       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .66338       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **** **********
 **   18 **HESSE 
 **********

 FCN=   5797.039     FROM HESSE     STATUS=OK           371 CALLS     2027 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18657E-05    25.607        .95505E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.1715        2.1180        .69949E-03   -1.5678    
   3  Prefactor     .55511E-10    8.0554        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .15103E-04    385.84        .49615E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.9813        3.6762        .73585E-03   -1.5680    
   6  norm          .13678        .42973        .20895E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .12768E-08    22.490        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     22.242        16.444        .21204E-03   -1.5614    
   9  Prefactor      .0000        12.464        .16774E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        .80219        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.9100        .90441        .59527E-03   -1.5674    
  12  Prefactor     60.503        45.215        .12906E-03   -1.5552    
  13  Prefactor     15.794        20.970        .25566E-03   -1.5628    
  14  Prefactor     2.8268        13.660        .59564E-03   -1.5674    
  15  Prefactor     133.02        92.287        .87122E-04   -1.5477    
  16  norm          .28036        .24035        .69420E-03   -1.5697    
  17  norm          9.2890        5.5346        .32831E-03   -1.5647    
  18  Prefactor     22.253        40.163        .21112E-03   -1.5614    
  19  Prefactor     9.4228        11.578        .32551E-03   -1.5647    
  20  Normalizat    .83702        .14158        .44092E-01   -.98710    
  21  Prefactor     .66404        .16249        .41912E-01   -1.0495    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6547e-06
Minuit parameter uncertainties:
  1  0.0138238
  2  2.11803
  3  2.9969e-05
  4  0.152685
  5  3.67623
  6  0.429731
  7  0.000336115
  8  16.4437
  9  6.00147e-06
  10  7.41862e-07
  11  0.90441
  12  45.2154
  13  20.9705
  14  12.4281
  15  92.2877
  16  0.240347
  17  5.53455
  18  40.1635
  19  11.5782
  20  0.141638
  21  0.162605
******
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5797.039     FROM MIGRAD    STATUS=CONVERGED    160 CALLS     1656 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18657E-05    399.48       -.18505E-04** at limit **
   2  norm          2.1715        2.1055       -.65455E-06    .26673E-03
   3  Prefactor     .55511E-10    8.0390        .63793E-06** at limit **
   4  Prefactor     .15103E-04    271.38       -.34128E-04** at limit **
   5  Prefactor     1.9813        3.6544        .19198E-06    .40124E-04
   6  norm          .13678        .42056       -.12277E-06** at limit **
   7  Prefactor     .12768E-08    22.547       -.17867E-05** at limit **
   8  Prefactor     22.242        16.435       -.73357E-06   -.32927E-02
   9  Prefactor      .0000        12.563       -.21981E-06** at limit **
  10  norm           .0000        .80159       -.61968E-07** at limit **
  11  norm          2.9100        .90367       -.14547E-06   -.55634E-03
  12  Prefactor     60.503        40.527        .11265E-05   -.81722E-01
  13  Prefactor     15.794        20.967        .12965E-06   -.95629E-03
  14  Prefactor     2.8268        13.329        .42155E-05   -.79473E-03
  15  Prefactor     133.02        60.983        .33737E-05   -.73290E-01
  16  norm          .28036        .22938        .48442E-07    .77441E-02
  17  norm          9.2890        5.5202       -.33720E-06   -.17659E-02
  18  Prefactor     22.253        20.029       -.16678E-05   -.11320    
  19  Prefactor     9.4228        11.556       -.95792E-06   -.42523E-03
  20  Normalizat    .83702        .16666       -.28103E-05   -.44518E-03
  21  Prefactor     .66404        .19215       -.74451E-05   -.30082E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.86567e-06
  norm       = 2.17153
  Prefactor  = 5.55112e-11
  Prefactor  = 1.51034e-05
  Prefactor  = 1.98134
  norm       = 0.136777
  Prefactor  = 1.27676e-09
  Prefactor  = 22.2422
  Prefactor  = 0
  norm       = 0
  norm       = 2.91002
  Prefactor  = 60.503
  Prefactor  = 15.7936
  Prefactor  = 2.8268
  Prefactor  = 133.015
  norm       = 0.280356
  norm       = 9.28904
  Prefactor  = 22.2525
  Prefactor  = 9.42284
  Normalizat = 0.837021
  Prefactor  = 0.664036
outfile=/lscratch/kocevski/37425650/ltcube_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.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/37425650/ft2_4FGL_J0319.9-3821_daily_bin2203.fits
.....................!
real 9.19
user 8.18
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37425650/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits evtable="EVENTS" scfile=/lscratch/kocevski/37425650/ft2_4FGL_J0319.9-3821_daily_bin2203.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37425650/ltcube_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits outfile=/lscratch/kocevski/37425650/expmap_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.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/37425650/ltcube_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits
.....................!
real 72.73
user 67.57
sys 4.03

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 Fornax A in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template.
Added 180 point sources and 1 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 J0319.9-3821 @ 49.9975 -38.3577

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37425650/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits scfile=/lscratch/kocevski/37425650/ft2_4FGL_J0319.9-3821_daily_bin2203.fits outfile=/lscratch/kocevski/37425650/cmap_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.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=49.9975 yref=-38.3577 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.75
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37425650/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits scfile=/lscratch/kocevski/37425650/ft2_4FGL_J0319.9-3821_daily_bin2203.fits outfile=/lscratch/kocevski/37425650/cmap_HighResolution_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.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=49.9975 yref=-38.3577 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.80
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37425650/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits evtable="EVENTS" scfile=/lscratch/kocevski/37425650/ft2_4FGL_J0319.9-3821_daily_bin2203.fi **********
 **   18 **HESSE 
 **********

 FCN=   5797.039     FROM HESSE     STATUS=OK           371 CALLS     2027 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18657E-05    25.607        .95505E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.1715        2.1180        .69949E-03   -1.5678    
   3  Prefactor     .55511E-10    8.0554        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .15103E-04    385.84        .49615E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.9813        3.6762        .73585E-03   -1.5680    
   6  norm          .13678        .42973        .20895E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .12768E-08    22.490        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     22.242        16.444        .21204E-03   -1.5614    
   9  Prefactor      .0000        12.464        .16774E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        .80219        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.9100        .90441        .59527E-03   -1.5674    
  12  Prefactor     60.503        45.215        .12906E-03   -1.5552    
  13  Prefactor     15.794        20.970        .25566E-03   -1.5628    
  14  Prefactor     2.8268        13.660        .59564E-03   -1.5674    
  15  Prefactor     133.02        92.287        .87122E-04   -1.5477    
  16  norm          .28036        .24035        .69420E-03   -1.5697    
  17  norm          9.2890        5.5346        .32831E-03   -1.5647    
  18  Prefactor     22.253        40.163        .21112E-03   -1.5614    
  19  Prefactor     9.4228        11.578        .32551E-03   -1.5647    
  20  Normalizat    .83702        .14158        .44092E-01   -.98710    
  21  Prefactor     .66404        .16249        .41912E-01   -1.0495    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6547e-06
Minuit parameter uncertainties:
  1  0.0138238
  2  2.11803
  3  2.9969e-05
  4  0.152685
  5  3.67623
  6  0.429731
  7  0.000336115
  8  16.4437
  9  6.00147e-06
  10  7.41862e-07
  11  0.90441
  12  45.2154
  13  20.9705
  14  12.4281
  15  92.2877
  16  0.240347
  17  5.53455
  18  40.1635
  19  11.5782
  20  0.141638
  21  0.162605
 **********
 **   18 **HESSE 
 **********

 FCN=   5797.039     FROM HESSE     STATUS=OK           371 CALLS     2027 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18657E-05    25.607        .95505E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.1715        2.1180        .69949E-03   -1.5678    
   3  Prefactor     .55511E-10    8.0554        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .15103E-04    385.84        .49615E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.9813        3.6762        .73585E-03   -1.5680    
   6  norm          .13678        .42973        .20895E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .12768E-08    22.490        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     22.242        16.444        .21204E-03   -1.5614    
   9  Prefactor      .0000        12.464        .16774E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        .80219        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.9100        .90441        .59527E-03   -1.5674    
  12  Prefactor     60.503        45.215        .12906E-03   -1.5552    
  13  Prefactor     15.794        20.970        .25566E-03   -1.5628    
  14  Prefactor     2.8268        13.660        .59564E-03   -1.5674    
  15  Prefactor     133.02        92.287        .87122E-04   -1.5477    
  16  norm          .28036        .24035        .69420E-03   -1.5697    
  17  norm          9.2890        5.5346        .32831E-03   -1.5647    
  18  Prefactor     22.253        40.163        .21112E-03   -1.5614    
  19  Prefactor     9.4228        11.578        .32551E-03   -1.5647    
  20  Normalizat    .83702        .14158        .44092E-01   -.98710    
  21  Prefactor     .66404        .16249        .41912E-01   -1.0495    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6547e-06
Minuit parameter uncertainties:
  1  0.0138238
  2  2.11803
  3  2.9969e-05
  4  0.152685
  5  3.67623
  6  0.429731
  7  0.000336115
  8  16.4437
  9  6.00147e-06
  10  7.41862e-07
  11  0.90441
  12  45.2154
  13  20.9705
  14  12.4281
  15  92.2877
  16  0.240347
  17  5.53455
  18  40.1635
  19  11.5782
  20  0.141638
  21  0.162605
Done.

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

Extracting fit parameters...

4FGL J0319.9-3821
   Spectrum: PowerLaw
267    Prefactor:  1.277e-09  3.361e-04  0.000e+00  1.000e+06 ( 1.000e-13)
268        Index:  2.469e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  9.189e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  6.640e-01  1.626e-01  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  8.370e-01  1.416e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 49.998 -38.358
Photon Flux Upper Limit: 6.07370005427e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00471449868528 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37425550/likelihoodResults_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.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) = 5797.06116514
delta logL = -0.0224818770757

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5793.35439872
delta logL = 3.68428454449

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5797.039     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      468 TOTAL
                     EDM=   .31E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3544        .42118E-03** at limit **
   2  Index         .88340        .89511        .35603E-07     .0000    
   3  Normalizat    .83702        1.1343        .26305E-05    .27509E-05
   4  Prefactor     .66404        1.0444       -.19365E-05   -.65005E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.883398
  Normalizat = 0.837022
  Prefactor  = 0.664036
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5797.039     FROM HESSE     STATUS=FAILED         9 CALLS      477 TOTAL
                     EDM=   .31E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3544        .42118E-03   -58.119    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7926        1.6991        .35603E-07   -6788.0    
   3  Normalizat    .83702        1.1343        .26305E-05   -95.235    
   4  Prefactor     .66404        1.0444       -.19365E-05    17.800    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.13668e-13
Minuit parameter uncertainties:
  1  1.54293e-06
  2  0.910661
  3  1.16917
  4  1.07773
outfile=/lscratch/kocevski/37425696/ltcube_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.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/37425696/ft2_4FGL_J0319.9-3821_daily_bin2203.fits
.....................!
real 8.48
user 7.88
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37425696/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits evtable="EVENTS" scfile=/lscratch/kocevski/37425696/ft2_4FGL_J0319.9-3821_daily_bin2203.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37425696/ltcube_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits outfile=/lscratch/kocevski/37425696/expmap_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.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/37425696/ltcube_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits
.....................!
real 71.02
user 65.91
sys 4.21

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 Fornax A in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template.
Added 180 point sources and 1 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 J0319.9-3821 @ 49.9975 -38.3577

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37425696/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits scfile=/lscratch/kocevski/37425696/ft2_4FGL_J0319.9-3821_daily_bin2203.fits outfile=/lscratch/kocevski/37425696/cmap_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.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=49.9975 yref=-38.3577 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.79
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37425696/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits scfile=/lscratch/kocevski/37425696/ft2_4FGL_J0319.9-3821_daily_bin2203.fits outfile=/lscratch/kocevski/37425696/cmap_HighResolution_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.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=49.9975 yref=-38.3577 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.73
user 0.23
sys 0.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37425696/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits evtable="EVENTS" scfile=/lscratch/kocevski/37425696/ft2_4FGL_J0319.9-3821_daily_bin2203.fishell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 5797.03868326
delta logL = 9.91349224932e-11

Extracting fit parameters...

4FGL J0319.9-3821
   Spectrum: PowerLaw
267    Prefactor:  0.000e+00  1.543e-06  0.000e+00  1.000e+06 ( 1.000e-13)
268        Index:  8.834e-01  9.107e-01  0.000e+00  1.000e+01 (-1.000e+00)
269        Scale:  9.189e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  6.640e-01  1.078e+00  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  8.370e-01  1.169e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 49.998 -38.358

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/37425550/cmap_HighResolution_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.71e-03', job_status='DONE', photon_flux_upper_limit='6.07e-08', time_completed='2026-09-09 02:46:23.661470', job_id='37425550', GAL2='0.66', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1788947183.66', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='9.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='2203' AND source_name='4FGL J0319.9-3821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  9 02:46:23 PDT 2026

ts sctable="SC_DATA" srcmdl=/lscratch/kocevski/37425595/Model_4FGL_J0319.9-3821_daily_bin2203.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 Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/37425595/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits.....................!
real 50.29
user 48.36
sys 0.64

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37425595/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits', '/lscratch/kocevski/37425595/ft2_4FGL_J0319.9-3821_daily_bin2203.fits', expMap='/lscratch/kocevski/37425595/expmap_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits', expCube='/lscratch/kocevski/37425595/ltcube_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37425595/Model_4FGL_J0319.9-3821_daily_bin2203.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0319.9-3821'

4FGL J0319.9-3821
   Spectrum: PowerLaw
267    Prefactor:  2.804e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
268        Index:  2.469e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  9.189e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37425595/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits
Spacecraft file(s): /lscratch/kocevski/37425595/ft2_4FGL_J0319.9-3821_daily_bin2203.fits
Exposure map: /lscratch/kocevski/37425595/expmap_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits
Exposure cube: /lscratch/kocevski/37425595/ltcube_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37425595/Model_4FGL_J0319.9-3821_daily_bin2203.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) = 5797.04664078

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80235       1.0000          .0000       .10000E+07
     2 'norm      '    2.1661       1.0000          .0000       .10000E+07
     3 'Prefactor '    .89068E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .84533       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.9822       1.0000          .0000       .10000E+07
     6 'norm      '    .13668       1.0000          .0000       .10000E+07
     7 'Prefactor '    .36558E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    22.254       1.0000          .0000       .10000E+07
     9 'Prefactor '    .24213E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .17364E-06   1.0000          .0000       .10000E+07
    11 'norm      '    2.9107       1.0000          .0000       .10000E+07
    12 'Prefactor '    60.047       1.0000          .0000       .10000E+07
    13 'Prefactor '    15.316       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.9073       1.0000          .0000       .10000E+07
    15 'Prefactor '    131.77       1.0000          .0000       .10000E+07
    16 'norm      '    .28048       1.0000          .0000       .10000E+07
    17 'norm      '    9.3043       1.0000          .0000       .10000E+07
    18 'Prefactor '    22.447       1.0000          .0000       .10000E+07
    19 'Prefactor '    9.4644       1.0000          .0000       .10000E+07
    20 'Normalizat'    .83706       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .66338       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5797.039     FROM MIGRAD    STATUS=CONVERGED    160 CALLS     1656 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18657E-05    399.48       -.18505E-04** at limit **
   2  norm          2.1715        2.1055       -.65455E-06    .26673E-03
   3  Prefactor     .55511E-10    8.0390        .63793E-06** at limit **
   4  Prefactor     .15103E-04    271.38       -.34128E-04** at limit **
   5  Prefactor     1.9813        3.6544        .19198E-06    .40124E-04
   6  norm          .13678        .42056       -.12277E-06** at limit **
   7  Prefactor     .12768E-08    22.547       -.17867E-05** at limit **
   8  Prefactor     22.242        16.435       -.73357E-06   -.32927E-02
   9  Prefactor      .0000        12.563       -.21981E-06** at limit **
  10  norm           .0000        .80159       -.61968E-07** at limit **
  11  norm          2.9100        .90367       -.14547E-06   -.55634E-03
  12  Prefactor     60.503        40.527        .11265E-05   -.81722E-01
  13  Prefactor     15.794        20.967        .12965E-06   -.95629E-03
  14  Prefactor     2.8268        13.329        .42155E-05   -.79473E-03
  15  Prefactor     133.02        60.983        .33737E-05   -.73290E-01
  16  norm          .28036        .22938        .48442E-07    .77441E-02
  17  norm          9.2890        5.5202       -.33720E-06   -.17659E-02
  18  Prefactor     22.253        20.029       -.16678E-05   -.11320    
  19  Prefactor     9.4228        11.556       -.95792E-06   -.42523E-03
  20  Normalizat    .83702        .16666       -.28103E-05   -.44518E-03
  21  Prefactor     .66404        .19215       -.74451E-05   -.30082E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.86567e-06
  norm       = 2.17153
  Prefactor  = 5.55112e-11
  Prefactor  = 1.51034e-05
  Prefactor  = 1.98134
  norm       = 0.136777
  Prefactor  = 1.27676e-09
  Prefactor  = 22.2422
  Prefactor  = 0
  norm       = 0
  norm       = 2.91002
  Prefactor  = 60.503
  Prefactor  = 15.7936
  Prefactor  = 2.8268
  Prefactor  = 133.015
  norm       = 0.280356
  norm       = 9.28904
  Prefactor  = 22.2525
  Prefactor  = 9.42284
  Normalizat = 0.837021
  Prefactor  = 0.664036
Done.

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

Extracting fit parameters...

4FGL J0319.9-3821
   Spectrum: PowerLaw
267    Prefactor:  1.277e-09  3.361e-04  0.000e+00  1.000e+06 ( 1.000e-13)
268        Index:  2.469e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  9.189e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  6.640e-01  1.626e-01  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  8.370e-01  1.416e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 49.998 -38.358
Photon Flux Upper Limit: 6.07370005427e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00471449868528 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37425552/likelihoodResults_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.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) = 5797.06116514
delta logL = -0.0224818770757

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5793.35439872
delta logL = 3.68428454449

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5797.039     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      468 TOTAL
                     EDM=   .31E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3544        .42118E-03** at limit **
   2  Index         .88340        .89511        .35603E-07     .0000    
   3  Normalizat    .83702        1.1343        .26305E-05    .27509E-05
   4  Prefactor     .66404        1.0444       -.19365E-05   -.65005E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.883398
  Normalizat = 0.837022
  Prefactor  = 0.664036
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5797.039     FROM HESSE     STATUS=FAILED         9 CALLS      477 TOTAL
                     EDM=   .31E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3544        .42118E-03   -58.119    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7926        1.6991        .35603E-07   -6788.0    
   3  Normalizat    .83702        1.1343        .26305E-05   -95.235    
   4  Prefactor     .66404        1.0444       -.19365E-05    17.800    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.13668e-13
Minuit parameter uncertainties:
  1  1.54293e-06
  2  0.910661
  3  1.16917
  4  1.07773
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 5797.03868326
delta logL = 9.91349224932e-11

Extracting fit parameters...

4FGL J0319.9-3821
   Spectrum: PowerLaw
267    Prefactor:  0.000e+00  1.543e-06  0.000e+00  1.000e+06 ( 1.000e-13)
268        Index:  8.834e-01  9.107e-01  0.000e+00  1.000e+01 (-1.000e+00)
269        Scale:  9.189e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  6.640e-01  1.078e+00  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  8.370e-01  1.169e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 49.998 -38.358

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/37425552/cmap_HighResolution_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.71e-03', job_status='DONE', photon_flux_upper_limit='6.07e-08', time_completed='2026-09-09 02:46:33.888815', job_id='37425552', GAL2='0.66', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1788947193.89', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='9.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='2203' AND source_name='4FGL J0319.9-3821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  9 02:46:34 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0319.9-3821
   Spectrum: PowerLaw
267    Prefactor:  1.277e-09  3.361e-04  0.000e+00  1.000e+06 ( 1.000e-13)
268        Index:  2.469e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  9.189e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  6.640e-01  1.626e-01  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  8.370e-01  1.416e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 49.998 -38.358
Photon Flux Upper Limit: 6.07370005427e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00471449868528 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37425585/likelihoodResults_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.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) = 5797.06116514
delta logL = -0.0224818770757

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5793.35439872
delta logL = 3.68428454449

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5797.039     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      468 TOTAL
                     EDM=   .31E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3544        .42118E-03** at limit **
   2  Index         .88340        .89511        .35603E-07     .0000    
   3  Normalizat    .83702        1.1343        .26305E-05    .27509E-05
   4  Prefactor     .66404        1.0444       -.19365E-05   -.65005E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.883398
  Normalizat = 0.837022
  Prefactor  = 0.664036
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5797.039     FROM HESSE     STATUS=FAILED         9 CALLS      477 TOTAL
                     EDM=   .31E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3544        .42118E-03   -58.119    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7926        1.6991        .35603E-07   -6788.0    
   3  Normalizat    .83702        1.1343        .26305E-05   -95.235    
   4  Prefactor     .66404        1.0444       -.19365E-05    17.800    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.13668e-13
Minuit parameter uncertainties:
  1  1.54293e-06
  2  0.910661
  3  1.16917
  4  1.07773
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 5797.03868326
delta logL = 9.91349224932e-11

Extracting fit parameters...

4FGL J0319.9-3821
   Spectrum: PowerLaw
267    Prefactor:  0.000e+00  1.543e-06  0.000e+00  1.000e+06 ( 1.000e-13)
268        Index:  8.834e-01  9.107e-01  0.000e+00  1.000e+01 (-1.000e+00)
269        Scale:  9.189e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  6.640e-01  1.078e+00  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  8.370e-01  1.169e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 49.998 -38.358

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/37425585/cmap_HighResolution_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.71e-03', job_status='DONE', photon_flux_upper_limit='6.07e-08', time_completed='2026-09-09 02:46:39.726111', job_id='37425585', GAL2='0.66', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1788947199.73', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='9.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='2203' AND source_name='4FGL J0319.9-3821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  9 02:46:39 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   5797.039     FROM HESSE     STATUS=OK           371 CALLS     2027 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18657E-05    25.607        .95505E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.1715        2.1180        .69949E-03   -1.5678    
   3  Prefactor     .55511E-10    8.0554        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .15103E-04    385.84        .49615E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.9813        3.6762        .73585E-03   -1.5680    
   6  norm          .13678        .42973        .20895E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .12768E-08    22.490        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     22.242        16.444        .21204E-03   -1.5614    
   9  Prefactor      .0000        12.464        .16774E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        .80219        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.9100        .90441        .59527E-03   -1.5674    
  12  Prefactor     60.503        45.215        .12906E-03   -1.5552    
  13  Prefactor     15.794        20.970        .25566E-03   -1.5628    
  14  Prefactor     2.8268        13.660        .59564E-03   -1.5674    
  15  Prefactor     133.02        92.287        .87122E-04   -1.5477    
  16  norm          .28036        .24035        .69420E-03   -1.5697    
  17  norm          9.2890        5.5346        .32831E-03   -1.5647    
  18  Prefactor     22.253        40.163        .21112E-03   -1.5614    
  19  Prefactor     9.4228        11.578        .32551E-03   -1.5647    
  20  Normalizat    .83702        .14158        .44092E-01   -.98710    
  21  Prefactor     .66404        .16249        .41912E-01   -1.0495    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6547e-06
Minuit parameter uncertainties:
  1  0.0138238
  2  2.11803
  3  2.9969e-05
  4  0.152685
  5  3.67623
  6  0.429731
  7  0.000336115
  8  16.4437
  9  6.00147e-06
  10  7.41862e-07
  11  0.90441
  12  45.2154
  13  20.9705
  14  12.4281
  15  92.2877
  16  0.240347
  17  5.53455
  18  40.1635
  19  11.5782
  20  0.141638
  21  0.162605
Done.

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

Extracting fit parameters...

4FGL J0319.9-3821
   Spectrum: PowerLaw
267    Prefactor:  1.277e-09  3.361e-04  0.000e+00  1.000e+06 ( 1.000e-13)
268        Index:  2.469e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  9.189e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  6.640e-01  1.626e-01  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  8.370e-01  1.416e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 49.998 -38.358
Photon Flux Upper Limit: 6.07370005427e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00471449868528 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37425582/likelihoodResults_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.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) = 5797.06116514
delta logL = -0.0224818770757

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5793.35439872
delta logL = 3.68428454449

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5797.039     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      468 TOTAL
                     EDM=   .31E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3544        .42118E-03** at limit **
   2  Index         .88340        .89511        .35603E-07     .0000    
   3  Normalizat    .83702        1.1343        .26305E-05    .27509E-05
   4  Prefactor     .66404        1.0444       -.19365E-05   -.65005E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.883398
  Normalizat = 0.837022
  Prefactor  = 0.664036
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5797.039     FROM HESSE     STATUS=FAILED         9 CALLS      477 TOTAL
                     EDM=   .31E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3544        .42118E-03   -58.119    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7926        1.6991        .35603E-07   -6788.0    
   3  Normalizat    .83702        1.1343        .26305E-05   -95.235    
   4  Prefactor     .66404        1.0444       -.19365E-05    17.800    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.13668e-13
Minuit parameter uncertainties:
  1  1.54293e-06
  2  0.910661
  3  1.16917
  4  1.07773
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 5797.03868326
delta logL = 9.91349224932e-11

Extracting fit parameters...

4FGL J0319.9-3821
   Spectrum: PowerLaw
267    Prefactor:  0.000e+00  1.543e-06  0.000e+00  1.000e+06 ( 1.000e-13)
268        Index:  8.834e-01  9.107e-01  0.000e+00  1.000e+01 (-1.000e+00)
269        Scale:  9.189e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  6.640e-01  1.078e+00  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  8.370e-01  1.169e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 49.998 -38.358

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/37425582/cmap_HighResolution_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.71e-03', job_status='DONE', photon_flux_upper_limit='6.07e-08', time_completed='2026-09-09 02:46:48.129278', job_id='37425582', GAL2='0.66', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1788947208.13', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='9.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='2203' AND source_name='4FGL J0319.9-3821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  9 02:46:48 PDT 2026

outfile=/lscratch/kocevski/37425717/ltcube_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.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/37425717/ft2_4FGL_J0319.9-3821_daily_bin2203.fits
.....................!
real 9.03
user 8.22
sys 0.19

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37425717/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits evtable="EVENTS" scfile=/lscratch/kocevski/37425717/ft2_4FGL_J0319.9-3821_daily_bin2203.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37425717/ltcube_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits outfile=/lscratch/kocevski/37425717/expmap_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.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/37425717/ltcube_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits
.....................!
real 73.50
user 68.06
sys 4.16

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 Fornax A in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template.
Added 180 point sources and 1 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 J0319.9-3821 @ 49.9975 -38.3577

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37425717/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits scfile=/lscratch/kocevski/37425717/ft2_4FGL_J0319.9-3821_daily_bin2203.fits outfile=/lscratch/kocevski/37425717/cmap_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.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=49.9975 yref=-38.3577 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.69
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37425717/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits scfile=/lscratch/kocevski/37425717/ft2_4FGL_J0319.9-3821_daily_bin2203.fits outfile=/lscratch/kocevski/37425717/cmap_HighResolution_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.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=49.9975 yref=-38.3577 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.74
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37425717/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits evtable="EVENTS" scfile=/lscratch/kocevski/37425717/ft2_4FGL_J0319.9-3821_daily_bin2203.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37425622/Model_4FGL_J0319.9-3821_daily_bin2203.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 Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/37425622/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits.....................!
real 50.09
user 48.55
sys 0.64

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37425622/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits', '/lscratch/kocevski/37425622/ft2_4FGL_J0319.9-3821_daily_bin2203.fits', expMap='/lscratch/kocevski/37425622/expmap_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits', expCube='/lscratch/kocevski/37425622/ltcube_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37425622/Model_4FGL_J0319.9-3821_daily_bin2203.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0319.9-3821'

4FGL J0319.9-3821
   Spectrum: PowerLaw
267    Prefactor:  2.804e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
268        Index:  2.469e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  9.189e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37425622/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits
Spacecraft file(s): /lscratch/kocevski/37425622/ft2_4FGL_J0319.9-3821_daily_bin2203.fits
Exposure map: /lscratch/kocevski/37425622/expmap_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits
Exposure cube: /lscratch/kocevski/37425622/ltcube_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37425622/Model_4FGL_J0319.9-3821_daily_bin2203.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) = 5797.04664078

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80235       1.0000          .0000       .10000E+07
     2 'norm      '    2.1661       1.0000          .0000       .10000E+07
     3 'Prefactor '    .89068E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .84533       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.9822       1.0000          .0000       .10000E+07
     6 'norm      '    .13668       1.0000          .0000       .10000E+07
     7 'Prefactor '    .36558E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    22.254       1.0000          .0000       .10000E+07
     9 'Prefactor '    .24213E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .17364E-06   1.0000          .0000       .10000E+07
    11 'norm      '    2.9107       1.0000          .0000       .10000E+07
    12 'Prefactor '    60.047       1.0000          .0000       .10000E+07
    13 'Prefactor '    15.316       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.9073       1.0000          .0000       .10000E+07
    15 'Prefactor '    131.77       1.0000          .0000       .10000E+07
    16 'norm      '    .28048       1.0000          .0000       .10000E+07
    17 'norm      '    9.3043       1.0000          .0000       .10000E+07
    18 'Prefactor '    22.447       1.0000          .0000       .10000E+07
    19 'Prefactor '    9.4644       1.0000          .0000       .10000E+07
    20 'Normalizat'    .83706       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .66338       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 ****Done.

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

Extracting fit parameters...

4FGL J0319.9-3821
   Spectrum: PowerLaw
267    Prefactor:  1.277e-09  3.361e-04  0.000e+00  1.000e+06 ( 1.000e-13)
268        Index:  2.469e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  9.189e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  6.640e-01  1.626e-01  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  8.370e-01  1.416e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 49.998 -38.358
Photon Flux Upper Limit: 6.07370005427e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00471449868528 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37425595/likelihoodResults_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.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) = 5797.06116514
delta logL = -0.0224818770757

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5793.35439872
delta logL = 3.68428454449

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5797.039     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      468 TOTAL
                     EDM=   .31E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3544        .42118E-03** at limit **
   2  Index         .88340        .89511        .35603E-07     .0000    
   3  Normalizat    .83702        1.1343        .26305E-05    .27509E-05
   4  Prefactor     .66404        1.0444       -.19365E-05   -.65005E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.883398
  Normalizat = 0.837022
  Prefactor  = 0.664036
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5797.039     FROM HESSE     STATUS=FAILED         9 CALLS      477 TOTAL
                     EDM=   .31E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3544        .42118E-03   -58.119    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7926        1.6991        .35603E-07   -6788.0    
   3  Normalizat    .83702        1.1343        .26305E-05   -95.235    
   4  Prefactor     .66404        1.0444       -.19365E-05    17.800    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.13668e-13
Minuit parameter uncertainties:
  1  1.54293e-06
  2  0.910661
  3  1.16917
  4  1.07773
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 5797.03868326
delta logL = 9.91349224932e-11

Extracting fit parameters...

4FGL J0319.9-3821
   Spectrum: PowerLaw
267    Prefactor:  0.000e+00  1.543e-06  0.000e+00  1.000e+06 ( 1.000e-13)
268        Index:  8.834e-01  9.107e-01  0.000e+00  1.000e+01 (-1.000e+00)
269        Scale:  9.189e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  6.640e-01  1.078e+00  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  8.370e-01  1.169e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 49.998 -38.358

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/37425595/cmap_HighResolution_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.71e-03', job_status='DONE', photon_flux_upper_limit='6.07e-08', time_completed='2026-09-09 02:47:11.228996', job_id='37425595', GAL2='0.66', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1788947231.23', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='9.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='2203' AND source_name='4FGL J0319.9-3821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  9 02:47:11 PDT 2026

******
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5797.039     FROM MIGRAD    STATUS=CONVERGED    160 CALLS     1656 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18657E-05    399.48       -.18505E-04** at limit **
   2  norm          2.1715        2.1055       -.65455E-06    .26673E-03
   3  Prefactor     .55511E-10    8.0390        .63793E-06** at limit **
   4  Prefactor     .15103E-04    271.38       -.34128E-04** at limit **
   5  Prefactor     1.9813        3.6544        .19198E-06    .40124E-04
   6  norm          .13678        .42056       -.12277E-06** at limit **
   7  Prefactor     .12768E-08    22.547       -.17867E-05** at limit **
   8  Prefactor     22.242        16.435       -.73357E-06   -.32927E-02
   9  Prefactor      .0000        12.563       -.21981E-06** at limit **
  10  norm           .0000        .80159       -.61968E-07** at limit **
  11  norm          2.9100        .90367       -.14547E-06   -.55634E-03
  12  Prefactor     60.503        40.527        .11265E-05   -.81722E-01
  13  Prefactor     15.794        20.967        .12965E-06   -.95629E-03
  14  Prefactor     2.8268        13.329        .42155E-05   -.79473E-03
  15  Prefactor     133.02        60.983        .33737E-05   -.73290E-01
  16  norm          .28036        .22938        .48442E-07    .77441E-02
  17  norm          9.2890        5.5202       -.33720E-06   -.17659E-02
  18  Prefactor     22.253        20.029       -.16678E-05   -.11320    
  19  Prefactor     9.4228        11.556       -.95792E-06   -.42523E-03
  20  Normalizat    .83702        .16666       -.28103E-05   -.44518E-03
  21  Prefactor     .66404        .19215       -.74451E-05   -.30082E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.86567e-06
  norm       = 2.17153
  Prefactor  = 5.55112e-11
  Prefactor  = 1.51034e-05
  Prefactor  = 1.98134
  norm       = 0.136777
  Prefactor  = 1.27676e-09
  Prefactor  = 22.2422
  Prefactor  = 0
  norm       = 0
  norm       = 2.91002
  Prefactor  = 60.503
  Prefactor  = 15.7936
  Prefactor  = 2.8268
  Prefactor  = 133.015
  norm       = 0.280356
  norm       = 9.28904
  Prefactor  = 22.2525
  Prefactor  = 9.42284
  Normalizat = 0.837021
  Prefactor  = 0.664036
outfile=/lscratch/kocevski/37425752/ltcube_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.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/37425752/ft2_4FGL_J0319.9-3821_daily_bin2203.fits
.....................!
real 8.95
user 8.25
sys 0.19

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37425752/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits evtable="EVENTS" scfile=/lscratch/kocevski/37425752/ft2_4FGL_J0319.9-3821_daily_bin2203.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37425752/ltcube_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits outfile=/lscratch/kocevski/37425752/expmap_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.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/37425752/ltcube_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits
.....................!
real 74.34
user 69.13
sys 4.39

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 Fornax A in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template.
Added 180 point sources and 1 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 J0319.9-3821 @ 49.9975 -38.3577

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37425752/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits scfile=/lscratch/kocevski/37425752/ft2_4FGL_J0319.9-3821_daily_bin2203.fits outfile=/lscratch/kocevski/37425752/cmap_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.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=49.9975 yref=-38.3577 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.77
user 0.24
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37425752/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits scfile=/lscratch/kocevski/37425752/ft2_4FGL_J0319.9-3821_daily_bin2203.fits outfile=/lscratch/kocevski/37425752/cmap_HighResolution_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.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=49.9975 yref=-38.3577 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.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37425752/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits evtable="EVENTS" scfile=/lscratch/kocevski/37425752/ft2_4FGL_J0319.9-3821_daily_bin2203.fi **********
 **   18 **HESSE 
 **********

 FCN=   5797.039     FROM HESSE     STATUS=OK           371 CALLS     2027 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18657E-05    25.607        .95505E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.1715        2.1180        .69949E-03   -1.5678    
   3  Prefactor     .55511E-10    8.0554        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .15103E-04    385.84        .49615E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.9813        3.6762        .73585E-03   -1.5680    
   6  norm          .13678        .42973        .20895E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .12768E-08    22.490        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     22.242        16.444        .21204E-03   -1.5614    
   9  Prefactor      .0000        12.464        .16774E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        .80219        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.9100        .90441        .59527E-03   -1.5674    
  12  Prefactor     60.503        45.215        .12906E-03   -1.5552    
  13  Prefactor     15.794        20.970        .25566E-03   -1.5628    
  14  Prefactor     2.8268        13.660        .59564E-03   -1.5674    
  15  Prefactor     133.02        92.287        .87122E-04   -1.5477    
  16  norm          .28036        .24035        .69420E-03   -1.5697    
  17  norm          9.2890        5.5346        .32831E-03   -1.5647    
  18  Prefactor     22.253        40.163        .21112E-03   -1.5614    
  19  Prefactor     9.4228        11.578        .32551E-03   -1.5647    
  20  Normalizat    .83702        .14158        .44092E-01   -.98710    
  21  Prefactor     .66404        .16249        .41912E-01   -1.0495    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6547e-06
Minuit parameter uncertainties:
  1  0.0138238
  2  2.11803
  3  2.9969e-05
  4  0.152685
  5  3.67623
  6  0.429731
  7  0.000336115
  8  16.4437
  9  6.00147e-06
  10  7.41862e-07
  11  0.90441
  12  45.2154
  13  20.9705
  14  12.4281
  15  92.2877
  16  0.240347
  17  5.53455
  18  40.1635
  19  11.5782
  20  0.141638
  21  0.162605
number of points = 7433
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0319.9-3821_daily_bin2203
RA = 49.9975, Dec = -38.3577
tmin = 810345601, tmax = 810604801
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='37425828', job_status='RUN', time_executed='2026-09-09 02:45:58.314182', time_epoch_executed='1788947158.31' WHERE source_name='4FGL J0319.9-3821' and cadence='daily' and bin_id='2203'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37425828

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/37425828/ft1_4FGL_J0319.9-3821_daily_bin2203.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/37425828/ft2_4FGL_J0319.9-3821_daily_bin2203.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37425828/ft1_4FGL_J0319.9-3821_daily_bin2203.fits outfile=/lscratch/kocevski/37425828/ft1_filteredMKT_4FGL_J0319.9-3821_daily_bin2203.fits ra=49.9975 dec=-38.3577 rad=12.0 tmin=810345601.0 tmax=810604801.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 2.64
user 2.07
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37425828/ft2_4FGL_J0319.9-3821_daily_bin2203.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37425828/ft2_4FGL_J0319.9-3821_daily_bin2203.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/37425828/ft1_filteredMKT_4FGL_J0319.9-3821_daily_bin2203.fits evtable="EVENTS" outfile="/lscratch/kocevski/37425828/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.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.69
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 530

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37425828/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37425828/ft2_4FGL_J0319.9-3821_daily_bin2203.fits sctable="SC_DATA" Done.

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

Extracting fit parameters...

4FGL J0319.9-3821
   Spectrum: PowerLaw
267    Prefactor:  1.277e-09  3.361e-04  0.000e+00  1.000e+06 ( 1.000e-13)
268        Index:  2.469e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  9.189e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  6.640e-01  1.626e-01  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  8.370e-01  1.416e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 49.998 -38.358
Photon Flux Upper Limit: 6.07370005427e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00471449868528 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37425622/likelihoodResults_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.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) = 5797.06116514
delta logL = -0.0224818770757

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5793.35439872
delta logL = 3.68428454449

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5797.039     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      468 TOTAL
                     EDM=   .31E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3544        .42118E-03** at limit **
   2  Index         .88340        .89511        .35603E-07     .0000    
   3  Normalizat    .83702        1.1343        .26305E-05    .27509E-05
   4  Prefactor     .66404        1.0444       -.19365E-05   -.65005E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.883398
  Normalizat = 0.837022
  Prefactor  = 0.664036
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5797.039     FROM HESSE     STATUS=FAILED         9 CALLS      477 TOTAL
                     EDM=   .31E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3544        .42118E-03   -58.119    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7926        1.6991        .35603E-07   -6788.0    
   3  Normalizat    .83702        1.1343        .26305E-05   -95.235    
   4  Prefactor     .66404        1.0444       -.19365E-05    17.800    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.13668e-13
Minuit parameter uncertainties:
  1  1.54293e-06
  2  0.910661
  3  1.16917
  4  1.07773
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 5797.03868326
delta logL = 9.91349224932e-11

Extracting fit parameters...

4FGL J0319.9-3821
   Spectrum: PowerLaw
267    Prefactor:  0.000e+00  1.543e-06  0.000e+00  1.000e+06 ( 1.000e-13)
268        Index:  8.834e-01  9.107e-01  0.000e+00  1.000e+01 (-1.000e+00)
269        Scale:  9.189e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  6.640e-01  1.078e+00  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  8.370e-01  1.169e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 49.998 -38.358

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/37425622/cmap_HighResolution_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.71e-03', job_status='DONE', photon_flux_upper_limit='6.07e-08', time_completed='2026-09-09 02:47:55.156707', job_id='37425622', GAL2='0.66', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1788947275.16', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='9.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='2203' AND source_name='4FGL J0319.9-3821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  9 02:47:55 PDT 2026

ts sctable="SC_DATA" srcmdl=/lscratch/kocevski/37425652/Model_4FGL_J0319.9-3821_daily_bin2203.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 Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/37425652/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits.....................!
real 50.86
user 48.86
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37425652/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits', '/lscratch/kocevski/37425652/ft2_4FGL_J0319.9-3821_daily_bin2203.fits', expMap='/lscratch/kocevski/37425652/expmap_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits', expCube='/lscratch/kocevski/37425652/ltcube_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37425652/Model_4FGL_J0319.9-3821_daily_bin2203.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0319.9-3821'

4FGL J0319.9-3821
   Spectrum: PowerLaw
267    Prefactor:  2.804e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
268        Index:  2.469e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  9.189e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37425652/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits
Spacecraft file(s): /lscratch/kocevski/37425652/ft2_4FGL_J0319.9-3821_daily_bin2203.fits
Exposure map: /lscratch/kocevski/37425652/expmap_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits
Exposure cube: /lscratch/kocevski/37425652/ltcube_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37425652/Model_4FGL_J0319.9-3821_daily_bin2203.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) = 5797.04664078

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80235       1.0000          .0000       .10000E+07
     2 'norm      '    2.1661       1.0000          .0000       .10000E+07
     3 'Prefactor '    .89068E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .84533       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.9822       1.0000          .0000       .10000E+07
     6 'norm      '    .13668       1.0000          .0000       .10000E+07
     7 'Prefactor '    .36558E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    22.254       1.0000          .0000       .10000E+07
     9 'Prefactor '    .24213E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .17364E-06   1.0000          .0000       .10000E+07
    11 'norm      '    2.9107       1.0000          .0000       .10000E+07
    12 'Prefactor '    60.047       1.0000          .0000       .10000E+07
    13 'Prefactor '    15.316       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.9073       1.0000          .0000       .10000E+07
    15 'Prefactor '    131.77       1.0000          .0000       .10000E+07
    16 'norm      '    .28048       1.0000          .0000       .10000E+07
    17 'norm      '    9.3043       1.0000          .0000       .10000E+07
    18 'Prefactor '    22.447       1.0000          .0000       .10000E+07
    19 'Prefactor '    9.4644       1.0000          .0000       .10000E+07
    20 'Normalizat'    .83706       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .66338       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5797.039     FROM MIGRAD    STATUS=CONVERGED    160 CALLS     1656 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18657E-05    399.48       -.18505E-04** at limit **
   2  norm          2.1715        2.1055       -.65455E-06    .26673E-03
   3  Prefactor     .55511E-10    8.0390        .63793E-06** at limit **
   4  Prefactor     .15103E-04    271.38       -.34128E-04** at limit **
   5  Prefactor     1.9813        3.6544        .19198E-06    .40124E-04
   6  norm          .13678        .42056       -.12277E-06** at limit **
   7  Prefactor     .12768E-08    22.547       -.17867E-05** at limit **
   8  Prefactor     22.242        16.435       -.73357E-06   -.32927E-02
   9  Prefactor      .0000        12.563       -.21981E-06** at limit **
  10  norm           .0000        .80159       -.61968E-07** at limit **
  11  norm          2.9100        .90367       -.14547E-06   -.55634E-03
  12  Prefactor     60.503        40.527        .11265E-05   -.81722E-01
  13  Prefactor     15.794        20.967        .12965E-06   -.95629E-03
  14  Prefactor     2.8268        13.329        .42155E-05   -.79473E-03
  15  Prefactor     133.02        60.983        .33737E-05   -.73290E-01
  16  norm          .28036        .22938        .48442E-07    .77441E-02
  17  norm          9.2890        5.5202       -.33720E-06   -.17659E-02
  18  Prefactor     22.253        20.029       -.16678E-05   -.11320    
  19  Prefactor     9.4228        11.556       -.95792E-06   -.42523E-03
  20  Normalizat    .83702        .16666       -.28103E-05   -.44518E-03
  21  Prefactor     .66404        .19215       -.74451E-05   -.30082E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.86567e-06
  norm       = 2.17153
  Prefactor  = 5.55112e-11
  Prefactor  = 1.51034e-05
  Prefactor  = 1.98134
  norm       = 0.136777
  Prefactor  = 1.27676e-09
  Prefactor  = 22.2422
  Prefactor  = 0
  norm       = 0
  norm       = 2.91002
  Prefactor  = 60.503
  Prefactor  = 15.7936
  Prefactor  = 2.8268
  Prefactor  = 133.015
  norm       = 0.280356
  norm       = 9.28904
  Prefactor  = 22.2525
  Prefactor  = 9.42284
  Normalizat = 0.837021
  Prefactor  = 0.664036
ts sctable="SC_DATA" srcmdl=/lscratch/kocevski/37425650/Model_4FGL_J0319.9-3821_daily_bin2203.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 Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/37425650/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits.....................!
real 50.27
user 48.32
sys 0.94

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37425650/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits', '/lscratch/kocevski/37425650/ft2_4FGL_J0319.9-3821_daily_bin2203.fits', expMap='/lscratch/kocevski/37425650/expmap_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits', expCube='/lscratch/kocevski/37425650/ltcube_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37425650/Model_4FGL_J0319.9-3821_daily_bin2203.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0319.9-3821'

4FGL J0319.9-3821
   Spectrum: PowerLaw
267    Prefactor:  2.804e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
268        Index:  2.469e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  9.189e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37425650/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits
Spacecraft file(s): /lscratch/kocevski/37425650/ft2_4FGL_J0319.9-3821_daily_bin2203.fits
Exposure map: /lscratch/kocevski/37425650/expmap_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits
Exposure cube: /lscratch/kocevski/37425650/ltcube_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37425650/Model_4FGL_J0319.9-3821_daily_bin2203.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) = 5797.04664078

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80235       1.0000          .0000       .10000E+07
     2 'norm      '    2.1661       1.0000          .0000       .10000E+07
     3 'Prefactor '    .89068E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .84533       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.9822       1.0000          .0000       .10000E+07
     6 'norm      '    .13668       1.0000          .0000       .10000E+07
     7 'Prefactor '    .36558E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    22.254       1.0000          .0000       .10000E+07
     9 'Prefactor '    .24213E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .17364E-06   1.0000          .0000       .10000E+07
    11 'norm      '    2.9107       1.0000          .0000       .10000E+07
    12 'Prefactor '    60.047       1.0000          .0000       .10000E+07
    13 'Prefactor '    15.316       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.9073       1.0000          .0000       .10000E+07
    15 'Prefactor '    131.77       1.0000          .0000       .10000E+07
    16 'norm      '    .28048       1.0000          .0000       .10000E+07
    17 'norm      '    9.3043       1.0000          .0000       .10000E+07
    18 'Prefactor '    22.447       1.0000          .0000       .10000E+07
    19 'Prefactor '    9.4644       1.0000          .0000       .10000E+07
    20 'Normalizat'    .83706       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .66338       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5797.039     FROM MIGRAD    STATUS=CONVERGED    160 CALLS     1656 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18657E-05    399.48       -.18505E-04** at limit **
   2  norm          2.1715        2.1055       -.65455E-06    .26673E-03
   3  Prefactor     .55511E-10    8.0390        .63793E-06** at limit **
   4  Prefactor     .15103E-04    271.38       -.34128E-04** at limit **
   5  Prefactor     1.9813        3.6544        .19198E-06    .40124E-04
   6  norm          .13678        .42056       -.12277E-06** at limit **
   7  Prefactor     .12768E-08    22.547       -.17867E-05** at limit **
   8  Prefactor     22.242        16.435       -.73357E-06   -.32927E-02
   9  Prefactor      .0000        12.563       -.21981E-06** at limit **
  10  norm           .0000        .80159       -.61968E-07** at limit **
  11  norm          2.9100        .90367       -.14547E-06   -.55634E-03
  12  Prefactor     60.503        40.527        .11265E-05   -.81722E-01
  13  Prefactor     15.794        20.967        .12965E-06   -.95629E-03
  14  Prefactor     2.8268        13.329        .42155E-05   -.79473E-03
  15  Prefactor     133.02        60.983        .33737E-05   -.73290E-01
  16  norm          .28036        .22938        .48442E-07    .77441E-02
  17  norm          9.2890        5.5202       -.33720E-06   -.17659E-02
  18  Prefactor     22.253        20.029       -.16678E-05   -.11320    
  19  Prefactor     9.4228        11.556       -.95792E-06   -.42523E-03
  20  Normalizat    .83702        .16666       -.28103E-05   -.44518E-03
  21  Prefactor     .66404        .19215       -.74451E-05   -.30082E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.86567e-06
  norm       = 2.17153
  Prefactor  = 5.55112e-11
  Prefactor  = 1.51034e-05
  Prefactor  = 1.98134
  norm       = 0.136777
  Prefactor  = 1.27676e-09
  Prefactor  = 22.2422
  Prefactor  = 0
  norm       = 0
  norm       = 2.91002
  Prefactor  = 60.503
  Prefactor  = 15.7936
  Prefactor  = 2.8268
  Prefactor  = 133.015
  norm       = 0.280356
  norm       = 9.28904
  Prefactor  = 22.2525
  Prefactor  = 9.42284
  Normalizat = 0.837021
  Prefactor  = 0.664036
 **********
 **   18 **HESSE 
 **********

 FCN=   5797.039     FROM HESSE     STATUS=OK           371 CALLS     2027 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18657E-05    25.607        .95505E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.1715        2.1180        .69949E-03   -1.5678    
   3  Prefactor     .55511E-10    8.0554        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .15103E-04    385.84        .49615E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.9813        3.6762        .73585E-03   -1.5680    
   6  norm          .13678        .42973        .20895E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .12768E-08    22.490        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     22.242        16.444        .21204E-03   -1.5614    
   9  Prefactor      .0000        12.464        .16774E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        .80219        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.9100        .90441        .59527E-03   -1.5674    
  12  Prefactor     60.503        45.215        .12906E-03   -1.5552    
  13  Prefactor     15.794        20.970        .25566E-03   -1.5628    
  14  Prefactor     2.8268        13.660        .59564E-03   -1.5674    
  15  Prefactor     133.02        92.287        .87122E-04   -1.5477    
  16  norm          .28036        .24035        .69420E-03   -1.5697    
  17  norm          9.2890        5.5346        .32831E-03   -1.5647    
  18  Prefactor     22.253        40.163        .21112E-03   -1.5614    
  19  Prefactor     9.4228        11.578        .32551E-03   -1.5647    
  20  Normalizat    .83702        .14158        .44092E-01   -.98710    
  21  Prefactor     .66404        .16249        .41912E-01   -1.0495    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6547e-06
Minuit parameter uncertainties:
  1  0.0138238
  2  2.11803
  3  2.9969e-05
  4  0.152685
  5  3.67623
  6  0.429731
  7  0.000336115
  8  16.4437
  9  6.00147e-06
  10  7.41862e-07
  11  0.90441
  12  45.2154
  13  20.9705
  14  12.4281
  15  92.2877
  16  0.240347
  17  5.53455
  18  40.1635
  19  11.5782
  20  0.141638
  21  0.162605
ts sctable="SC_DATA" srcmdl=/lscratch/kocevski/37425696/Model_4FGL_J0319.9-3821_daily_bin2203.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 Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/37425696/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits.....................!
real 48.78
user 47.05
sys 0.94

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37425696/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits', '/lscratch/kocevski/37425696/ft2_4FGL_J0319.9-3821_daily_bin2203.fits', expMap='/lscratch/kocevski/37425696/expmap_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits', expCube='/lscratch/kocevski/37425696/ltcube_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37425696/Model_4FGL_J0319.9-3821_daily_bin2203.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0319.9-3821'

4FGL J0319.9-3821
   Spectrum: PowerLaw
267    Prefactor:  2.804e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
268        Index:  2.469e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  9.189e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37425696/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits
Spacecraft file(s): /lscratch/kocevski/37425696/ft2_4FGL_J0319.9-3821_daily_bin2203.fits
Exposure map: /lscratch/kocevski/37425696/expmap_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits
Exposure cube: /lscratch/kocevski/37425696/ltcube_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37425696/Model_4FGL_J0319.9-3821_daily_bin2203.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) = 5797.04664078

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80235       1.0000          .0000       .10000E+07
     2 'norm      '    2.1661       1.0000          .0000       .10000E+07
     3 'Prefactor '    .89068E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .84533       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.9822       1.0000          .0000       .10000E+07
     6 'norm      '    .13668       1.0000          .0000       .10000E+07
     7 'Prefactor '    .36558E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    22.254       1.0000          .0000       .10000E+07
     9 'Prefactor '    .24213E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .17364E-06   1.0000          .0000       .10000E+07
    11 'norm      '    2.9107       1.0000          .0000       .10000E+07
    12 'Prefactor '    60.047       1.0000          .0000       .10000E+07
    13 'Prefactor '    15.316       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.9073       1.0000          .0000       .10000E+07
    15 'Prefactor '    131.77       1.0000          .0000       .10000E+07
    16 'norm      '    .28048       1.0000          .0000       .10000E+07
    17 'norm      '    9.3043       1.0000          .0000       .10000E+07
    18 'Prefactor '    22.447       1.0000          .0000       .10000E+07
    19 'Prefactor '    9.4644       1.0000          .0000       .10000E+07
    20 'Normalizat'    .83706       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .66338       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **** **********
 **   18 **HESSE 
 **********

 FCN=   5797.039     FROM HESSE     STATUS=OK           371 CALLS     2027 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18657E-05    25.607        .95505E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.1715        2.1180        .69949E-03   -1.5678    
   3  Prefactor     .55511E-10    8.0554        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .15103E-04    385.84        .49615E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.9813        3.6762        .73585E-03   -1.5680    
   6  norm          .13678        .42973        .20895E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .12768E-08    22.490        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     22.242        16.444        .21204E-03   -1.5614    
   9  Prefactor      .0000        12.464        .16774E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        .80219        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.9100        .90441        .59527E-03   -1.5674    
  12  Prefactor     60.503        45.215        .12906E-03   -1.5552    
  13  Prefactor     15.794        20.970        .25566E-03   -1.5628    
  14  Prefactor     2.8268        13.660        .59564E-03   -1.5674    
  15  Prefactor     133.02        92.287        .87122E-04   -1.5477    
  16  norm          .28036        .24035        .69420E-03   -1.5697    
  17  norm          9.2890        5.5346        .32831E-03   -1.5647    
  18  Prefactor     22.253        40.163        .21112E-03   -1.5614    
  19  Prefactor     9.4228        11.578        .32551E-03   -1.5647    
  20  Normalizat    .83702        .14158        .44092E-01   -.98710    
  21  Prefactor     .66404        .16249        .41912E-01   -1.0495    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6547e-06
Minuit parameter uncertainties:
  1  0.0138238
  2  2.11803
  3  2.9969e-05
  4  0.152685
  5  3.67623
  6  0.429731
  7  0.000336115
  8  16.4437
  9  6.00147e-06
  10  7.41862e-07
  11  0.90441
  12  45.2154
  13  20.9705
  14  12.4281
  15  92.2877
  16  0.240347
  17  5.53455
  18  40.1635
  19  11.5782
  20  0.141638
  21  0.162605
******
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5797.039     FROM MIGRAD    STATUS=CONVERGED    160 CALLS     1656 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18657E-05    399.48       -.18505E-04** at limit **
   2  norm          2.1715        2.1055       -.65455E-06    .26673E-03
   3  Prefactor     .55511E-10    8.0390        .63793E-06** at limit **
   4  Prefactor     .15103E-04    271.38       -.34128E-04** at limit **
   5  Prefactor     1.9813        3.6544        .19198E-06    .40124E-04
   6  norm          .13678        .42056       -.12277E-06** at limit **
   7  Prefactor     .12768E-08    22.547       -.17867E-05** at limit **
   8  Prefactor     22.242        16.435       -.73357E-06   -.32927E-02
   9  Prefactor      .0000        12.563       -.21981E-06** at limit **
  10  norm           .0000        .80159       -.61968E-07** at limit **
  11  norm          2.9100        .90367       -.14547E-06   -.55634E-03
  12  Prefactor     60.503        40.527        .11265E-05   -.81722E-01
  13  Prefactor     15.794        20.967        .12965E-06   -.95629E-03
  14  Prefactor     2.8268        13.329        .42155E-05   -.79473E-03
  15  Prefactor     133.02        60.983        .33737E-05   -.73290E-01
  16  norm          .28036        .22938        .48442E-07    .77441E-02
  17  norm          9.2890        5.5202       -.33720E-06   -.17659E-02
  18  Prefactor     22.253        20.029       -.16678E-05   -.11320    
  19  Prefactor     9.4228        11.556       -.95792E-06   -.42523E-03
  20  Normalizat    .83702        .16666       -.28103E-05   -.44518E-03
  21  Prefactor     .66404        .19215       -.74451E-05   -.30082E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.86567e-06
  norm       = 2.17153
  Prefactor  = 5.55112e-11
  Prefactor  = 1.51034e-05
  Prefactor  = 1.98134
  norm       = 0.136777
  Prefactor  = 1.27676e-09
  Prefactor  = 22.2422
  Prefactor  = 0
  norm       = 0
  norm       = 2.91002
  Prefactor  = 60.503
  Prefactor  = 15.7936
  Prefactor  = 2.8268
  Prefactor  = 133.015
  norm       = 0.280356
  norm       = 9.28904
  Prefactor  = 22.2525
  Prefactor  = 9.42284
  Normalizat = 0.837021
  Prefactor  = 0.664036
 **********
 **   18 **HESSE 
 **********

 FCN=   5797.039     FROM HESSE     STATUS=OK           371 CALLS     2027 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18657E-05    25.607        .95505E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.1715        2.1180        .69949E-03   -1.5678    
   3  Prefactor     .55511E-10    8.0554        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .15103E-04    385.84        .49615E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.9813        3.6762        .73585E-03   -1.5680    
   6  norm          .13678        .42973        .20895E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .12768E-08    22.490        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     22.242        16.444        .21204E-03   -1.5614    
   9  Prefactor      .0000        12.464        .16774E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        .80219        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.9100        .90441        .59527E-03   -1.5674    
  12  Prefactor     60.503        45.215        .12906E-03   -1.5552    
  13  Prefactor     15.794        20.970        .25566E-03   -1.5628    
  14  Prefactor     2.8268        13.660        .59564E-03   -1.5674    
  15  Prefactor     133.02        92.287        .87122E-04   -1.5477    
  16  norm          .28036        .24035        .69420E-03   -1.5697    
  17  norm          9.2890        5.5346        .32831E-03   -1.5647    
  18  Prefactor     22.253        40.163        .21112E-03   -1.5614    
  19  Prefactor     9.4228        11.578        .32551E-03   -1.5647    
  20  Normalizat    .83702        .14158        .44092E-01   -.98710    
  21  Prefactor     .66404        .16249        .41912E-01   -1.0495    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6547e-06
Minuit parameter uncertainties:
  1  0.0138238
  2  2.11803
  3  2.9969e-05
  4  0.152685
  5  3.67623
  6  0.429731
  7  0.000336115
  8  16.4437
  9  6.00147e-06
  10  7.41862e-07
  11  0.90441
  12  45.2154
  13  20.9705
  14  12.4281
  15  92.2877
  16  0.240347
  17  5.53455
  18  40.1635
  19  11.5782
  20  0.141638
  21  0.162605
Done.

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

Extracting fit parameters...

4FGL J0319.9-3821
   Spectrum: PowerLaw
267    Prefactor:  1.277e-09  3.361e-04  0.000e+00  1.000e+06 ( 1.000e-13)
268        Index:  2.469e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  9.189e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  6.640e-01  1.626e-01  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  8.370e-01  1.416e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 49.998 -38.358
Photon Flux Upper Limit: 6.07370005427e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00471449868528 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37425652/likelihoodResults_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.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) = 5797.06116514
delta logL = -0.0224818770757

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5793.35439872
delta logL = 3.68428454449

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5797.039     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      468 TOTAL
                     EDM=   .31E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3544        .42118E-03** at limit **
   2  Index         .88340        .89511        .35603E-07     .0000    
   3  Normalizat    .83702        1.1343        .26305E-05    .27509E-05
   4  Prefactor     .66404        1.0444       -.19365E-05   -.65005E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.883398
  Normalizat = 0.837022
  Prefactor  = 0.664036
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5797.039     FROM HESSE     STATUS=FAILED         9 CALLS      477 TOTAL
                     EDM=   .31E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3544        .42118E-03   -58.119    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7926        1.6991        .35603E-07   -6788.0    
   3  Normalizat    .83702        1.1343        .26305E-05   -95.235    
   4  Prefactor     .66404        1.0444       -.19365E-05    17.800    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.13668e-13
Minuit parameter uncertainties:
  1  1.54293e-06
  2  0.910661
  3  1.16917
  4  1.07773
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 5797.03868326
delta logL = 9.91349224932e-11

Extracting fit parameters...

4FGL J0319.9-3821
   Spectrum: PowerLaw
267    Prefactor:  0.000e+00  1.543e-06  0.000e+00  1.000e+06 ( 1.000e-13)
268        Index:  8.834e-01  9.107e-01  0.000e+00  1.000e+01 (-1.000e+00)
269        Scale:  9.189e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  6.640e-01  1.078e+00  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  8.370e-01  1.169e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 49.998 -38.358

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/37425652/cmap_HighResolution_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.71e-03', job_status='DONE', photon_flux_upper_limit='6.07e-08', time_completed='2026-09-09 02:48:49.267275', job_id='37425652', GAL2='0.66', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1788947329.27', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='9.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='2203' AND source_name='4FGL J0319.9-3821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  9 02:48:49 PDT 2026

outfile=/lscratch/kocevski/37425828/ltcube_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.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/37425828/ft2_4FGL_J0319.9-3821_daily_bin2203.fits
.....................!
real 9.02
user 8.21
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37425828/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits evtable="EVENTS" scfile=/lscratch/kocevski/37425828/ft2_4FGL_J0319.9-3821_daily_bin2203.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37425828/ltcube_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits outfile=/lscratch/kocevski/37425828/expmap_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.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/37425828/ltcube_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits
.....................!
real 72.79
user 67.70
sys 4.17

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 Fornax A in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template.
Added 180 point sources and 1 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 J0319.9-3821 @ 49.9975 -38.3577

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37425828/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits scfile=/lscratch/kocevski/37425828/ft2_4FGL_J0319.9-3821_daily_bin2203.fits outfile=/lscratch/kocevski/37425828/cmap_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.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=49.9975 yref=-38.3577 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.73
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37425828/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits scfile=/lscratch/kocevski/37425828/ft2_4FGL_J0319.9-3821_daily_bin2203.fits outfile=/lscratch/kocevski/37425828/cmap_HighResolution_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.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=49.9975 yref=-38.3577 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.76
user 0.25
sys 0.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37425828/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits evtable="EVENTS" scfile=/lscratch/kocevski/37425828/ft2_4FGL_J0319.9-3821_daily_bin2203.fiDone.

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

Extracting fit parameters...

4FGL J0319.9-3821
   Spectrum: PowerLaw
267    Prefactor:  1.277e-09  3.361e-04  0.000e+00  1.000e+06 ( 1.000e-13)
268        Index:  2.469e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  9.189e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  6.640e-01  1.626e-01  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  8.370e-01  1.416e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 49.998 -38.358
Photon Flux Upper Limit: 6.07370005427e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00471449868528 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37425650/likelihoodResults_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.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) = 5797.06116514
delta logL = -0.0224818770757

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5793.35439872
delta logL = 3.68428454449

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5797.039     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      468 TOTAL
                     EDM=   .31E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3544        .42118E-03** at limit **
   2  Index         .88340        .89511        .35603E-07     .0000    
   3  Normalizat    .83702        1.1343        .26305E-05    .27509E-05
   4  Prefactor     .66404        1.0444       -.19365E-05   -.65005E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.883398
  Normalizat = 0.837022
  Prefactor  = 0.664036
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5797.039     FROM HESSE     STATUS=FAILED         9 CALLS      477 TOTAL
                     EDM=   .31E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3544        .42118E-03   -58.119    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7926        1.6991        .35603E-07   -6788.0    
   3  Normalizat    .83702        1.1343        .26305E-05   -95.235    
   4  Prefactor     .66404        1.0444       -.19365E-05    17.800    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.13668e-13
Minuit parameter uncertainties:
  1  1.54293e-06
  2  0.910661
  3  1.16917
  4  1.07773
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 5797.03868326
delta logL = 9.91349224932e-11

Extracting fit parameters...

4FGL J0319.9-3821
   Spectrum: PowerLaw
267    Prefactor:  0.000e+00  1.543e-06  0.000e+00  1.000e+06 ( 1.000e-13)
268        Index:  8.834e-01  9.107e-01  0.000e+00  1.000e+01 (-1.000e+00)
269        Scale:  9.189e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  6.640e-01  1.078e+00  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  8.370e-01  1.169e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 49.998 -38.358

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/37425650/cmap_HighResolution_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.71e-03', job_status='DONE', photon_flux_upper_limit='6.07e-08', time_completed='2026-09-09 02:48:57.954418', job_id='37425650', GAL2='0.66', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1788947337.95', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='9.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='2203' AND source_name='4FGL J0319.9-3821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  9 02:48:58 PDT 2026

ts sctable="SC_DATA" srcmdl=/lscratch/kocevski/37425717/Model_4FGL_J0319.9-3821_daily_bin2203.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 Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/37425717/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits.....................!
real 49.81
user 48.36
sys 0.62

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37425717/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits', '/lscratch/kocevski/37425717/ft2_4FGL_J0319.9-3821_daily_bin2203.fits', expMap='/lscratch/kocevski/37425717/expmap_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits', expCube='/lscratch/kocevski/37425717/ltcube_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37425717/Model_4FGL_J0319.9-3821_daily_bin2203.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0319.9-3821'

4FGL J0319.9-3821
   Spectrum: PowerLaw
267    Prefactor:  2.804e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
268        Index:  2.469e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  9.189e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37425717/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits
Spacecraft file(s): /lscratch/kocevski/37425717/ft2_4FGL_J0319.9-3821_daily_bin2203.fits
Exposure map: /lscratch/kocevski/37425717/expmap_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits
Exposure cube: /lscratch/kocevski/37425717/ltcube_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37425717/Model_4FGL_J0319.9-3821_daily_bin2203.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) = 5797.04664078

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80235       1.0000          .0000       .10000E+07
     2 'norm      '    2.1661       1.0000          .0000       .10000E+07
     3 'Prefactor '    .89068E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .84533       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.9822       1.0000          .0000       .10000E+07
     6 'norm      '    .13668       1.0000          .0000       .10000E+07
     7 'Prefactor '    .36558E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    22.254       1.0000          .0000       .10000E+07
     9 'Prefactor '    .24213E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .17364E-06   1.0000          .0000       .10000E+07
    11 'norm      '    2.9107       1.0000          .0000       .10000E+07
    12 'Prefactor '    60.047       1.0000          .0000       .10000E+07
    13 'Prefactor '    15.316       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.9073       1.0000          .0000       .10000E+07
    15 'Prefactor '    131.77       1.0000          .0000       .10000E+07
    16 'norm      '    .28048       1.0000          .0000       .10000E+07
    17 'norm      '    9.3043       1.0000          .0000       .10000E+07
    18 'Prefactor '    22.447       1.0000          .0000       .10000E+07
    19 'Prefactor '    9.4644       1.0000          .0000       .10000E+07
    20 'Normalizat'    .83706       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .66338       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 ****Done.

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

Extracting fit parameters...

4FGL J0319.9-3821
   Spectrum: PowerLaw
267    Prefactor:  1.277e-09  3.361e-04  0.000e+00  1.000e+06 ( 1.000e-13)
268        Index:  2.469e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  9.189e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  6.640e-01  1.626e-01  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  8.370e-01  1.416e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 49.998 -38.358
Photon Flux Upper Limit: 6.07370005427e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00471449868528 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37425696/likelihoodResults_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.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) = 5797.06116514
delta logL = -0.0224818770757

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5793.35439872
delta logL = 3.68428454449

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5797.039     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      468 TOTAL
                     EDM=   .31E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3544        .42118E-03** at limit **
   2  Index         .88340        .89511        .35603E-07     .0000    
   3  Normalizat    .83702        1.1343        .26305E-05    .27509E-05
   4  Prefactor     .66404        1.0444       -.19365E-05   -.65005E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.883398
  Normalizat = 0.837022
  Prefactor  = 0.664036
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5797.039     FROM HESSE     STATUS=FAILED         9 CALLS      477 TOTAL
                     EDM=   .31E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3544        .42118E-03   -58.119    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7926        1.6991        .35603E-07   -6788.0    
   3  Normalizat    .83702        1.1343        .26305E-05   -95.235    
   4  Prefactor     .66404        1.0444       -.19365E-05    17.800    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.13668e-13
Minuit parameter uncertainties:
  1  1.54293e-06
  2  0.910661
  3  1.16917
  4  1.07773
******
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5797.039     FROM MIGRAD    STATUS=CONVERGED    160 CALLS     1656 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18657E-05    399.48       -.18505E-04** at limit **
   2  norm          2.1715        2.1055       -.65455E-06    .26673E-03
   3  Prefactor     .55511E-10    8.0390        .63793E-06** at limit **
   4  Prefactor     .15103E-04    271.38       -.34128E-04** at limit **
   5  Prefactor     1.9813        3.6544        .19198E-06    .40124E-04
   6  norm          .13678        .42056       -.12277E-06** at limit **
   7  Prefactor     .12768E-08    22.547       -.17867E-05** at limit **
   8  Prefactor     22.242        16.435       -.73357E-06   -.32927E-02
   9  Prefactor      .0000        12.563       -.21981E-06** at limit **
  10  norm           .0000        .80159       -.61968E-07** at limit **
  11  norm          2.9100        .90367       -.14547E-06   -.55634E-03
  12  Prefactor     60.503        40.527        .11265E-05   -.81722E-01
  13  Prefactor     15.794        20.967        .12965E-06   -.95629E-03
  14  Prefactor     2.8268        13.329        .42155E-05   -.79473E-03
  15  Prefactor     133.02        60.983        .33737E-05   -.73290E-01
  16  norm          .28036        .22938        .48442E-07    .77441E-02
  17  norm          9.2890        5.5202       -.33720E-06   -.17659E-02
  18  Prefactor     22.253        20.029       -.16678E-05   -.11320    
  19  Prefactor     9.4228        11.556       -.95792E-06   -.42523E-03
  20  Normalizat    .83702        .16666       -.28103E-05   -.44518E-03
  21  Prefactor     .66404        .19215       -.74451E-05   -.30082E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.86567e-06
  norm       = 2.17153
  Prefactor  = 5.55112e-11
  Prefactor  = 1.51034e-05
  Prefactor  = 1.98134
  norm       = 0.136777
  Prefactor  = 1.27676e-09
  Prefactor  = 22.2422
  Prefactor  = 0
  norm       = 0
  norm       = 2.91002
  Prefactor  = 60.503
  Prefactor  = 15.7936
  Prefactor  = 2.8268
  Prefactor  = 133.015
  norm       = 0.280356
  norm       = 9.28904
  Prefactor  = 22.2525
  Prefactor  = 9.42284
  Normalizat = 0.837021
  Prefactor  = 0.664036
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 5797.03868326
delta logL = 9.91349224932e-11

Extracting fit parameters...

4FGL J0319.9-3821
   Spectrum: PowerLaw
267    Prefactor:  0.000e+00  1.543e-06  0.000e+00  1.000e+06 ( 1.000e-13)
268        Index:  8.834e-01  9.107e-01  0.000e+00  1.000e+01 (-1.000e+00)
269        Scale:  9.189e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  6.640e-01  1.078e+00  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  8.370e-01  1.169e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 49.998 -38.358

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/37425696/cmap_HighResolution_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.71e-03', job_status='DONE', photon_flux_upper_limit='6.07e-08', time_completed='2026-09-09 02:49:09.456806', job_id='37425696', GAL2='0.66', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1788947349.46', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='9.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='2203' AND source_name='4FGL J0319.9-3821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  9 02:49:09 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   5797.039     FROM HESSE     STATUS=OK           371 CALLS     2027 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18657E-05    25.607        .95505E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.1715        2.1180        .69949E-03   -1.5678    
   3  Prefactor     .55511E-10    8.0554        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .15103E-04    385.84        .49615E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.9813        3.6762        .73585E-03   -1.5680    
   6  norm          .13678        .42973        .20895E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .12768E-08    22.490        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     22.242        16.444        .21204E-03   -1.5614    
   9  Prefactor      .0000        12.464        .16774E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        .80219        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.9100        .90441        .59527E-03   -1.5674    
  12  Prefactor     60.503        45.215        .12906E-03   -1.5552    
  13  Prefactor     15.794        20.970        .25566E-03   -1.5628    
  14  Prefactor     2.8268        13.660        .59564E-03   -1.5674    
  15  Prefactor     133.02        92.287        .87122E-04   -1.5477    
  16  norm          .28036        .24035        .69420E-03   -1.5697    
  17  norm          9.2890        5.5346        .32831E-03   -1.5647    
  18  Prefactor     22.253        40.163        .21112E-03   -1.5614    
  19  Prefactor     9.4228        11.578        .32551E-03   -1.5647    
  20  Normalizat    .83702        .14158        .44092E-01   -.98710    
  21  Prefactor     .66404        .16249        .41912E-01   -1.0495    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6547e-06
Minuit parameter uncertainties:
  1  0.0138238
  2  2.11803
  3  2.9969e-05
  4  0.152685
  5  3.67623
  6  0.429731
  7  0.000336115
  8  16.4437
  9  6.00147e-06
  10  7.41862e-07
  11  0.90441
  12  45.2154
  13  20.9705
  14  12.4281
  15  92.2877
  16  0.240347
  17  5.53455
  18  40.1635
  19  11.5782
  20  0.141638
  21  0.162605
ts sctable="SC_DATA" srcmdl=/lscratch/kocevski/37425752/Model_4FGL_J0319.9-3821_daily_bin2203.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 Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/37425752/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits.....................!
real 51.31
user 49.73
sys 0.76

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37425752/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits', '/lscratch/kocevski/37425752/ft2_4FGL_J0319.9-3821_daily_bin2203.fits', expMap='/lscratch/kocevski/37425752/expmap_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits', expCube='/lscratch/kocevski/37425752/ltcube_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37425752/Model_4FGL_J0319.9-3821_daily_bin2203.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0319.9-3821'

4FGL J0319.9-3821
   Spectrum: PowerLaw
267    Prefactor:  2.804e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
268        Index:  2.469e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  9.189e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37425752/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits
Spacecraft file(s): /lscratch/kocevski/37425752/ft2_4FGL_J0319.9-3821_daily_bin2203.fits
Exposure map: /lscratch/kocevski/37425752/expmap_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits
Exposure cube: /lscratch/kocevski/37425752/ltcube_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37425752/Model_4FGL_J0319.9-3821_daily_bin2203.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) = 5797.04664078

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80235       1.0000          .0000       .10000E+07
     2 'norm      '    2.1661       1.0000          .0000       .10000E+07
     3 'Prefactor '    .89068E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .84533       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.9822       1.0000          .0000       .10000E+07
     6 'norm      '    .13668       1.0000          .0000       .10000E+07
     7 'Prefactor '    .36558E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    22.254       1.0000          .0000       .10000E+07
     9 'Prefactor '    .24213E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .17364E-06   1.0000          .0000       .10000E+07
    11 'norm      '    2.9107       1.0000          .0000       .10000E+07
    12 'Prefactor '    60.047       1.0000          .0000       .10000E+07
    13 'Prefactor '    15.316       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.9073       1.0000          .0000       .10000E+07
    15 'Prefactor '    131.77       1.0000          .0000       .10000E+07
    16 'norm      '    .28048       1.0000          .0000       .10000E+07
    17 'norm      '    9.3043       1.0000          .0000       .10000E+07
    18 'Prefactor '    22.447       1.0000          .0000       .10000E+07
    19 'Prefactor '    9.4644       1.0000          .0000       .10000E+07
    20 'Normalizat'    .83706       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .66338       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5797.039     FROM MIGRAD    STATUS=CONVERGED    160 CALLS     1656 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18657E-05    399.48       -.18505E-04** at limit **
   2  norm          2.1715        2.1055       -.65455E-06    .26673E-03
   3  Prefactor     .55511E-10    8.0390        .63793E-06** at limit **
   4  Prefactor     .15103E-04    271.38       -.34128E-04** at limit **
   5  Prefactor     1.9813        3.6544        .19198E-06    .40124E-04
   6  norm          .13678        .42056       -.12277E-06** at limit **
   7  Prefactor     .12768E-08    22.547       -.17867E-05** at limit **
   8  Prefactor     22.242        16.435       -.73357E-06   -.32927E-02
   9  Prefactor      .0000        12.563       -.21981E-06** at limit **
  10  norm           .0000        .80159       -.61968E-07** at limit **
  11  norm          2.9100        .90367       -.14547E-06   -.55634E-03
  12  Prefactor     60.503        40.527        .11265E-05   -.81722E-01
  13  Prefactor     15.794        20.967        .12965E-06   -.95629E-03
  14  Prefactor     2.8268        13.329        .42155E-05   -.79473E-03
  15  Prefactor     133.02        60.983        .33737E-05   -.73290E-01
  16  norm          .28036        .22938        .48442E-07    .77441E-02
  17  norm          9.2890        5.5202       -.33720E-06   -.17659E-02
  18  Prefactor     22.253        20.029       -.16678E-05   -.11320    
  19  Prefactor     9.4228        11.556       -.95792E-06   -.42523E-03
  20  Normalizat    .83702        .16666       -.28103E-05   -.44518E-03
  21  Prefactor     .66404        .19215       -.74451E-05   -.30082E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.86567e-06
  norm       = 2.17153
  Prefactor  = 5.55112e-11
  Prefactor  = 1.51034e-05
  Prefactor  = 1.98134
  norm       = 0.136777
  Prefactor  = 1.27676e-09
  Prefactor  = 22.2422
  Prefactor  = 0
  norm       = 0
  norm       = 2.91002
  Prefactor  = 60.503
  Prefactor  = 15.7936
  Prefactor  = 2.8268
  Prefactor  = 133.015
  norm       = 0.280356
  norm       = 9.28904
  Prefactor  = 22.2525
  Prefactor  = 9.42284
  Normalizat = 0.837021
  Prefactor  = 0.664036
Done.

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

Extracting fit parameters...

4FGL J0319.9-3821
   Spectrum: PowerLaw
267    Prefactor:  1.277e-09  3.361e-04  0.000e+00  1.000e+06 ( 1.000e-13)
268        Index:  2.469e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  9.189e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  6.640e-01  1.626e-01  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  8.370e-01  1.416e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 49.998 -38.358
Photon Flux Upper Limit: 6.07370005427e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00471449868528 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37425717/likelihoodResults_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.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) = 5797.06116514
delta logL = -0.0224818770757

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5793.35439872
delta logL = 3.68428454449

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5797.039     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      468 TOTAL
                     EDM=   .31E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3544        .42118E-03** at limit **
   2  Index         .88340        .89511        .35603E-07     .0000    
   3  Normalizat    .83702        1.1343        .26305E-05    .27509E-05
   4  Prefactor     .66404        1.0444       -.19365E-05   -.65005E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.883398
  Normalizat = 0.837022
  Prefactor  = 0.664036
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5797.039     FROM HESSE     STATUS=FAILED         9 CALLS      477 TOTAL
                     EDM=   .31E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3544        .42118E-03   -58.119    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7926        1.6991        .35603E-07   -6788.0    
   3  Normalizat    .83702        1.1343        .26305E-05   -95.235    
   4  Prefactor     .66404        1.0444       -.19365E-05    17.800    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.13668e-13
Minuit parameter uncertainties:
  1  1.54293e-06
  2  0.910661
  3  1.16917
  4  1.07773
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 5797.03868326
delta logL = 9.91349224932e-11

Extracting fit parameters...

4FGL J0319.9-3821
   Spectrum: PowerLaw
267    Prefactor:  0.000e+00  1.543e-06  0.000e+00  1.000e+06 ( 1.000e-13)
268        Index:  8.834e-01  9.107e-01  0.000e+00  1.000e+01 (-1.000e+00)
269        Scale:  9.189e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  6.640e-01  1.078e+00  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  8.370e-01  1.169e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 49.998 -38.358

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/37425717/cmap_HighResolution_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.71e-03', job_status='DONE', photon_flux_upper_limit='6.07e-08', time_completed='2026-09-09 02:49:48.433633', job_id='37425717', GAL2='0.66', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1788947388.43', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='9.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='2203' AND source_name='4FGL J0319.9-3821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  9 02:49:48 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   5797.039     FROM HESSE     STATUS=OK           371 CALLS     2027 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18657E-05    25.607        .95505E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.1715        2.1180        .69949E-03   -1.5678    
   3  Prefactor     .55511E-10    8.0554        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .15103E-04    385.84        .49615E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.9813        3.6762        .73585E-03   -1.5680    
   6  norm          .13678        .42973        .20895E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .12768E-08    22.490        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     22.242        16.444        .21204E-03   -1.5614    
   9  Prefactor      .0000        12.464        .16774E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        .80219        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.9100        .90441        .59527E-03   -1.5674    
  12  Prefactor     60.503        45.215        .12906E-03   -1.5552    
  13  Prefactor     15.794        20.970        .25566E-03   -1.5628    
  14  Prefactor     2.8268        13.660        .59564E-03   -1.5674    
  15  Prefactor     133.02        92.287        .87122E-04   -1.5477    
  16  norm          .28036        .24035        .69420E-03   -1.5697    
  17  norm          9.2890        5.5346        .32831E-03   -1.5647    
  18  Prefactor     22.253        40.163        .21112E-03   -1.5614    
  19  Prefactor     9.4228        11.578        .32551E-03   -1.5647    
  20  Normalizat    .83702        .14158        .44092E-01   -.98710    
  21  Prefactor     .66404        .16249        .41912E-01   -1.0495    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6547e-06
Minuit parameter uncertainties:
  1  0.0138238
  2  2.11803
  3  2.9969e-05
  4  0.152685
  5  3.67623
  6  0.429731
  7  0.000336115
  8  16.4437
  9  6.00147e-06
  10  7.41862e-07
  11  0.90441
  12  45.2154
  13  20.9705
  14  12.4281
  15  92.2877
  16  0.240347
  17  5.53455
  18  40.1635
  19  11.5782
  20  0.141638
  21  0.162605
Done.

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

Extracting fit parameters...

4FGL J0319.9-3821
   Spectrum: PowerLaw
267    Prefactor:  1.277e-09  3.361e-04  0.000e+00  1.000e+06 ( 1.000e-13)
268        Index:  2.469e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  9.189e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  6.640e-01  1.626e-01  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  8.370e-01  1.416e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 49.998 -38.358
Photon Flux Upper Limit: 6.07370005427e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00471449868528 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37425752/likelihoodResults_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.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) = 5797.06116514
delta logL = -0.0224818770757

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5793.35439872
delta logL = 3.68428454449

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5797.039     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      468 TOTAL
                     EDM=   .31E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3544        .42118E-03** at limit **
   2  Index         .88340        .89511        .35603E-07     .0000    
   3  Normalizat    .83702        1.1343        .26305E-05    .27509E-05
   4  Prefactor     .66404        1.0444       -.19365E-05   -.65005E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.883398
  Normalizat = 0.837022
  Prefactor  = 0.664036
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5797.039     FROM HESSE     STATUS=FAILED         9 CALLS      477 TOTAL
                     EDM=   .31E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3544        .42118E-03   -58.119    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7926        1.6991        .35603E-07   -6788.0    
   3  Normalizat    .83702        1.1343        .26305E-05   -95.235    
   4  Prefactor     .66404        1.0444       -.19365E-05    17.800    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.13668e-13
Minuit parameter uncertainties:
  1  1.54293e-06
  2  0.910661
  3  1.16917
  4  1.07773
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 5797.03868326
delta logL = 9.91349224932e-11

Extracting fit parameters...

4FGL J0319.9-3821
   Spectrum: PowerLaw
267    Prefactor:  0.000e+00  1.543e-06  0.000e+00  1.000e+06 ( 1.000e-13)
268        Index:  8.834e-01  9.107e-01  0.000e+00  1.000e+01 (-1.000e+00)
269        Scale:  9.189e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  6.640e-01  1.078e+00  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  8.370e-01  1.169e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 49.998 -38.358

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/37425752/cmap_HighResolution_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.71e-03', job_status='DONE', photon_flux_upper_limit='6.07e-08', time_completed='2026-09-09 02:50:20.692662', job_id='37425752', GAL2='0.66', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1788947420.69', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='9.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='2203' AND source_name='4FGL J0319.9-3821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  9 02:50:20 PDT 2026

ts sctable="SC_DATA" srcmdl=/lscratch/kocevski/37425828/Model_4FGL_J0319.9-3821_daily_bin2203.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 Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/37425828/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits.....................!
real 51.64
user 48.39
sys 1.04

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37425828/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits', '/lscratch/kocevski/37425828/ft2_4FGL_J0319.9-3821_daily_bin2203.fits', expMap='/lscratch/kocevski/37425828/expmap_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits', expCube='/lscratch/kocevski/37425828/ltcube_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37425828/Model_4FGL_J0319.9-3821_daily_bin2203.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0319.9-3821'

4FGL J0319.9-3821
   Spectrum: PowerLaw
267    Prefactor:  2.804e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
268        Index:  2.469e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  9.189e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37425828/ft1_filtered_4FGL_J0319.9-3821_daily_bin2203.fits
Spacecraft file(s): /lscratch/kocevski/37425828/ft2_4FGL_J0319.9-3821_daily_bin2203.fits
Exposure map: /lscratch/kocevski/37425828/expmap_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits
Exposure cube: /lscratch/kocevski/37425828/ltcube_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37425828/Model_4FGL_J0319.9-3821_daily_bin2203.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) = 5797.04664078

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80235       1.0000          .0000       .10000E+07
     2 'norm      '    2.1661       1.0000          .0000       .10000E+07
     3 'Prefactor '    .89068E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .84533       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.9822       1.0000          .0000       .10000E+07
     6 'norm      '    .13668       1.0000          .0000       .10000E+07
     7 'Prefactor '    .36558E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    22.254       1.0000          .0000       .10000E+07
     9 'Prefactor '    .24213E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .17364E-06   1.0000          .0000       .10000E+07
    11 'norm      '    2.9107       1.0000          .0000       .10000E+07
    12 'Prefactor '    60.047       1.0000          .0000       .10000E+07
    13 'Prefactor '    15.316       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.9073       1.0000          .0000       .10000E+07
    15 'Prefactor '    131.77       1.0000          .0000       .10000E+07
    16 'norm      '    .28048       1.0000          .0000       .10000E+07
    17 'norm      '    9.3043       1.0000          .0000       .10000E+07
    18 'Prefactor '    22.447       1.0000          .0000       .10000E+07
    19 'Prefactor '    9.4644       1.0000          .0000       .10000E+07
    20 'Normalizat'    .83706       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .66338       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5797.039     FROM MIGRAD    STATUS=CONVERGED    160 CALLS     1656 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18657E-05    399.48       -.18505E-04** at limit **
   2  norm          2.1715        2.1055       -.65455E-06    .26673E-03
   3  Prefactor     .55511E-10    8.0390        .63793E-06** at limit **
   4  Prefactor     .15103E-04    271.38       -.34128E-04** at limit **
   5  Prefactor     1.9813        3.6544        .19198E-06    .40124E-04
   6  norm          .13678        .42056       -.12277E-06** at limit **
   7  Prefactor     .12768E-08    22.547       -.17867E-05** at limit **
   8  Prefactor     22.242        16.435       -.73357E-06   -.32927E-02
   9  Prefactor      .0000        12.563       -.21981E-06** at limit **
  10  norm           .0000        .80159       -.61968E-07** at limit **
  11  norm          2.9100        .90367       -.14547E-06   -.55634E-03
  12  Prefactor     60.503        40.527        .11265E-05   -.81722E-01
  13  Prefactor     15.794        20.967        .12965E-06   -.95629E-03
  14  Prefactor     2.8268        13.329        .42155E-05   -.79473E-03
  15  Prefactor     133.02        60.983        .33737E-05   -.73290E-01
  16  norm          .28036        .22938        .48442E-07    .77441E-02
  17  norm          9.2890        5.5202       -.33720E-06   -.17659E-02
  18  Prefactor     22.253        20.029       -.16678E-05   -.11320    
  19  Prefactor     9.4228        11.556       -.95792E-06   -.42523E-03
  20  Normalizat    .83702        .16666       -.28103E-05   -.44518E-03
  21  Prefactor     .66404        .19215       -.74451E-05   -.30082E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.86567e-06
  norm       = 2.17153
  Prefactor  = 5.55112e-11
  Prefactor  = 1.51034e-05
  Prefactor  = 1.98134
  norm       = 0.136777
  Prefactor  = 1.27676e-09
  Prefactor  = 22.2422
  Prefactor  = 0
  norm       = 0
  norm       = 2.91002
  Prefactor  = 60.503
  Prefactor  = 15.7936
  Prefactor  = 2.8268
  Prefactor  = 133.015
  norm       = 0.280356
  norm       = 9.28904
  Prefactor  = 22.2525
  Prefactor  = 9.42284
  Normalizat = 0.837021
  Prefactor  = 0.664036
 **********
 **   18 **HESSE 
 **********

 FCN=   5797.039     FROM HESSE     STATUS=OK           371 CALLS     2027 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18657E-05    25.607        .95505E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.1715        2.1180        .69949E-03   -1.5678    
   3  Prefactor     .55511E-10    8.0554        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .15103E-04    385.84        .49615E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.9813        3.6762        .73585E-03   -1.5680    
   6  norm          .13678        .42973        .20895E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .12768E-08    22.490        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     22.242        16.444        .21204E-03   -1.5614    
   9  Prefactor      .0000        12.464        .16774E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        .80219        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.9100        .90441        .59527E-03   -1.5674    
  12  Prefactor     60.503        45.215        .12906E-03   -1.5552    
  13  Prefactor     15.794        20.970        .25566E-03   -1.5628    
  14  Prefactor     2.8268        13.660        .59564E-03   -1.5674    
  15  Prefactor     133.02        92.287        .87122E-04   -1.5477    
  16  norm          .28036        .24035        .69420E-03   -1.5697    
  17  norm          9.2890        5.5346        .32831E-03   -1.5647    
  18  Prefactor     22.253        40.163        .21112E-03   -1.5614    
  19  Prefactor     9.4228        11.578        .32551E-03   -1.5647    
  20  Normalizat    .83702        .14158        .44092E-01   -.98710    
  21  Prefactor     .66404        .16249        .41912E-01   -1.0495    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6547e-06
Minuit parameter uncertainties:
  1  0.0138238
  2  2.11803
  3  2.9969e-05
  4  0.152685
  5  3.67623
  6  0.429731
  7  0.000336115
  8  16.4437
  9  6.00147e-06
  10  7.41862e-07
  11  0.90441
  12  45.2154
  13  20.9705
  14  12.4281
  15  92.2877
  16  0.240347
  17  5.53455
  18  40.1635
  19  11.5782
  20  0.141638
  21  0.162605
Done.

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

Extracting fit parameters...

4FGL J0319.9-3821
   Spectrum: PowerLaw
267    Prefactor:  1.277e-09  3.361e-04  0.000e+00  1.000e+06 ( 1.000e-13)
268        Index:  2.469e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  9.189e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  6.640e-01  1.626e-01  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  8.370e-01  1.416e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 49.998 -38.358
Photon Flux Upper Limit: 6.07370005427e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00471449868528 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37425828/likelihoodResults_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.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) = 5797.06116514
delta logL = -0.0224818770757

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5793.35439872
delta logL = 3.68428454449

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5797.039     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      468 TOTAL
                     EDM=   .31E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3544        .42118E-03** at limit **
   2  Index         .88340        .89511        .35603E-07     .0000    
   3  Normalizat    .83702        1.1343        .26305E-05    .27509E-05
   4  Prefactor     .66404        1.0444       -.19365E-05   -.65005E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.883398
  Normalizat = 0.837022
  Prefactor  = 0.664036
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5797.039     FROM HESSE     STATUS=FAILED         9 CALLS      477 TOTAL
                     EDM=   .31E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3544        .42118E-03   -58.119    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7926        1.6991        .35603E-07   -6788.0    
   3  Normalizat    .83702        1.1343        .26305E-05   -95.235    
   4  Prefactor     .66404        1.0444       -.19365E-05    17.800    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.13668e-13
Minuit parameter uncertainties:
  1  1.54293e-06
  2  0.910661
  3  1.16917
  4  1.07773
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 5797.03868326
delta logL = 9.91349224932e-11

Extracting fit parameters...

4FGL J0319.9-3821
   Spectrum: PowerLaw
267    Prefactor:  0.000e+00  1.543e-06  0.000e+00  1.000e+06 ( 1.000e-13)
268        Index:  8.834e-01  9.107e-01  0.000e+00  1.000e+01 (-1.000e+00)
269        Scale:  9.189e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  6.640e-01  1.078e+00  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  8.370e-01  1.169e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 49.998 -38.358

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/37425828/cmap_HighResolution_810345601_810604801_4FGL_J0319.9-3821_daily_bin2203.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.71e-03', job_status='DONE', photon_flux_upper_limit='6.07e-08', time_completed='2026-09-09 02:51:42.714126', job_id='37425828', GAL2='0.66', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1788947502.71', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='9.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='2203' AND source_name='4FGL J0319.9-3821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  9 02:51:42 PDT 2026

