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


Performing analysis on: 4FGL_J0857.9-1949_daily_bin2167
RA = 134.491, Dec = -19.8175
tmin = 801014401, tmax = 801273601
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='27138083', job_status='RUN', time_executed='2026-05-24 06:29:55.015958', time_epoch_executed='1779629395.02' WHERE source_name='4FGL J0857.9-1949' and cadence='daily' and bin_id='2167'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27138083

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27138083/ft1_4FGL_J0857.9-1949_daily_bin2167.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27138083/ft2_4FGL_J0857.9-1949_daily_bin2167.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27138083/ft1_4FGL_J0857.9-1949_daily_bin2167.fits outfile=/lscratch/kocevski/27138083/ft1_filteredMKT_4FGL_J0857.9-1949_daily_bin2167.fits ra=134.491 dec=-19.8175 rad=12.0 tmin=801014401.0 tmax=801273601.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 3.45
user 2.14
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27138083/ft2_4FGL_J0857.9-1949_daily_bin2167.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27138083/ft2_4FGL_J0857.9-1949_daily_bin2167.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/27138083/ft1_filteredMKT_4FGL_J0857.9-1949_daily_bin2167.fits evtable="EVENTS" outfile="/lscratch/kocevski/27138083/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.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 2.34
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 1072

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27138083/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27138083/ft2_4FGL_J0857.9-1949_daily_bin2167.fits sctable="SC_DATA"number of points = 7514
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0857.9-1949_daily_bin2167
RA = 134.491, Dec = -19.8175
tmin = 801014401, tmax = 801273601
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='27138107', job_status='RUN', time_executed='2026-05-24 06:30:50.127947', time_epoch_executed='1779629450.13' WHERE source_name='4FGL J0857.9-1949' and cadence='daily' and bin_id='2167'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27138107

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27138107/ft1_4FGL_J0857.9-1949_daily_bin2167.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27138107/ft2_4FGL_J0857.9-1949_daily_bin2167.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27138107/ft1_4FGL_J0857.9-1949_daily_bin2167.fits outfile=/lscratch/kocevski/27138107/ft1_filteredMKT_4FGL_J0857.9-1949_daily_bin2167.fits ra=134.491 dec=-19.8175 rad=12.0 tmin=801014401.0 tmax=801273601.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.26
user 1.81
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27138107/ft2_4FGL_J0857.9-1949_daily_bin2167.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27138107/ft2_4FGL_J0857.9-1949_daily_bin2167.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/27138107/ft1_filteredMKT_4FGL_J0857.9-1949_daily_bin2167.fits evtable="EVENTS" outfile="/lscratch/kocevski/27138107/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.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.55
user 0.18
sys 0.13

Number of photons that the gtmktime cut: 1072

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27138107/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27138107/ft2_4FGL_J0857.9-1949_daily_bin2167.fits sctable="SC_DATA"/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

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

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

 outfile=/lscratch/kocevski/27138057/ltcube_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.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/27138057/ft2_4FGL_J0857.9-1949_daily_bin2167.fits
.....................!
real 9.89
user 8.15
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27138057/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits evtable="EVENTS" scfile=/lscratch/kocevski/27138057/ft2_4FGL_J0857.9-1949_daily_bin2167.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27138057/ltcube_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits outfile=/lscratch/kocevski/27138057/expmap_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.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/27138057/ltcube_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits
.....................!
real 78.83
user 72.11
sys 4.66

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

Setting source of interest to:
4FGL J0857.9-1949 @ 134.491 -19.8175

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27138057/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits scfile=/lscratch/kocevski/27138057/ft2_4FGL_J0857.9-1949_daily_bin2167.fits outfile=/lscratch/kocevski/27138057/cmap_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.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=134.491 yref=-19.8175 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.93
user 0.28
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27138057/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits scfile=/lscratch/kocevski/27138057/ft2_4FGL_J0857.9-1949_daily_bin2167.fits outfile=/lscratch/kocevski/27138057/cmap_HighResolution_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.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=134.491 yref=-19.8175 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.98
user 0.26
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27138057/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits evtable="EVENTS" scfile=/lscratch/kocevski/27138057/ft2_4FGL_J0857.9-1949_daily_bin2167.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27138057/Model_4FGL_J0857.9-1949_daily_bin2167.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/27138056/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits.....................!
real 49.83
user 48.26
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27138056/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits', '/lscratch/kocevski/27138056/ft2_4FGL_J0857.9-1949_daily_bin2167.fits', expMap='/lscratch/kocevski/27138056/expmap_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits', expCube='/lscratch/kocevski/27138056/ltcube_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27138056/Model_4FGL_J0857.9-1949_daily_bin2167.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0857.9-1949'

4FGL J0857.9-1949
   Spectrum: PowerLaw
290    Prefactor:  2.397e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
291        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
292        Scale:  6.951e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27138056/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits
Spacecraft file(s): /lscratch/kocevski/27138056/ft2_4FGL_J0857.9-1949_daily_bin2167.fits
Exposure map: /lscratch/kocevski/27138056/expmap_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits
Exposure cube: /lscratch/kocevski/27138056/ltcube_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27138056/Model_4FGL_J0857.9-1949_daily_bin2167.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) = 11270.4982503

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1054       1.0000          .0000       .10000E+07
     2 'norm      '    .28737E-03   1.0000          .0000       .10000E+07
     3 'norm      '    8.1432       1.0000          .0000       .10000E+07
     4 'norm      '    .68307E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .71569E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    28.057       1.0000          .0000       .10000E+07
     7 'norm      '    .21805E-06   1.0000          .0000       .10000E+07
     8 'norm      '    1.9351       1.0000          .0000       .10000E+07
     9 'Prefactor '    .10026E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    4.7192       1.0000          .0000       .10000E+07
    11 'Prefactor '    .63022E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .30107E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    33.308       1.0000          .0000       .10000E+07
    14 'Prefactor '    .16361E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .12143       1.0000          .0000       .10000E+07
    16 'Normalizat'    .88276       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0375       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5550E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11270.30     FROM MIGRAD    STATUS=CONVERGED    124 CALLS      985 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1053        2.0973       -.23427E-07   -.67167E-03
   2  norm          .83600E-06    19.944       -.75743E-06** at limit **
   3  norm          8.1442        3.2809        .85839E-08    .26328E-03
   4  norm           .0000        1.5716       -.98659E-07** at limit **
   5  Prefactor     .10277E-05    10.320       -.61617E-06** at limit **
   6  Prefactor     27.710        20.329       -.30307E-06    .12636    
   7  norm          .97145E-08    7.8346       -.13557E-06** at limit **
   8  norm          1.9399        2.9767       -.14697E-06   -.31139E-02
   9  Prefactor      .0000        2.9198        .17905E-06** at limit **
  10  Prefactor     4.6969        7.7156        .10162E-06    .31538E-03
  11  Prefactor      .0000        1.5677        .60155E-07** at limit **
  12  Prefactor      .0000        3.6221       -.26442E-06** at limit **
  13  Prefactor     33.186        6.0026       -.86722E-07    .33943E-02
  14  Prefactor     .15090E-05    12.250       -.12673E-07** at limit **
  15  Prefactor     .43306        55.313        .18190E-06   -.29358E-01
  16  Normalizat    .88186        .19101        .35399E-05   -.35022E-04
  17  Prefactor     1.0378        .86996E-01   -.18315E-05   -.24647E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.1053
  norm       = 8.35998e-07
  norm       = 8.14415
  norm       = 0
  Prefactor  = 1.02773e-06
  Prefactor  = 27.7098
  norm       = 9.71445e-09
  norm       = 1.9399
  Prefactor  = 0
  Prefactor  = 4.69693
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 33.1856
  Prefactor  = 1.50902e-06
  Prefactor  = 0.43306
  Normalizat = 0.881856
  Prefactor  = 1.03779
 **********
 **   18 **HESSE 
 **********

 FCN=   11270.30     FROM HESSE     STATUS=OK           259 CALLS     1244 TOTAL
                     EDM=   .77E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1053        2.6913        .48510E-02   -1.5687    
   2  norm          .83600E-06    20.800        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          8.1442        3.2791        .35110E-03   -1.5651    
   4  norm           .0000        1.5712        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10277E-05    11.351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     27.710        29.767        .18882E-03   -1.5603    
   7  norm          .97145E-08    7.7630        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.9399        2.9984        .74620E-03   -1.5680    
   9  Prefactor      .0000        2.8981        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.6969        7.7498        .46296E-03   -1.5665    
  11  Prefactor      .0000        1.5669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        3.6202        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     33.186        24.893        .17329E-03   -1.5593    
  14  Prefactor     .15090E-05    13.815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .43306        5.1769        .13386E-01   -1.5695    
  16  Normalizat    .88186        .16893        .81676E-01   -.97101    
  17  Prefactor     1.0378        .76115E-01    .40704E-01   -.91480    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.6794e-07
Minuit parameter uncertainties:
  1  2.6913
  2  0.00833986
  3  3.2791
  4  1.09966e-05
  5  0.00683112
  6  29.7676
  7  0.000549711
  8  2.99844
  9  1.23622e-05
  10  7.74977
  11  3.54019e-06
  12  1.46024e-05
  13  24.8929
  14  0.00913194
  15  2.9946
  16  0.169029
  17  0.0761232
outfile=/lscratch/kocevski/27138090/ltcube_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.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/27138090/ft2_4FGL_J0857.9-1949_daily_bin2167.fits
.....................!
real 7.37
user 6.85
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27138090/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits evtable="EVENTS" scfile=/lscratch/kocevski/27138090/ft2_4FGL_J0857.9-1949_daily_bin2167.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27138090/ltcube_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits outfile=/lscratch/kocevski/27138090/expmap_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.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/27138090/ltcube_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits
.....................!
real 61.72
user 57.56
sys 3.57

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

Setting source of interest to:
4FGL J0857.9-1949 @ 134.491 -19.8175

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27138090/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits scfile=/lscratch/kocevski/27138090/ft2_4FGL_J0857.9-1949_daily_bin2167.fits outfile=/lscratch/kocevski/27138090/cmap_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.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=134.491 yref=-19.8175 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.59
user 0.20
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27138090/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits scfile=/lscratch/kocevski/27138090/ft2_4FGL_J0857.9-1949_daily_bin2167.fits outfile=/lscratch/kocevski/27138090/cmap_HighResolution_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.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=134.491 yref=-19.8175 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.51
user 0.21
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27138090/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits evtable="EVENTS" scfile=/lscratch/kocevski/27138090/ft2_4FGL_J0857.9-1949_daily_bin2167.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27138090/Model_4FGL_J0857.9-1949_daily_bin2167.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 sourcce GAL_V02
Working on...
/lscratch/kocevski/27138058/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits.....................!
real 49.77
user 48.07
sys 0.99

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27138058/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits', '/lscratch/kocevski/27138058/ft2_4FGL_J0857.9-1949_daily_bin2167.fits', expMap='/lscratch/kocevski/27138058/expmap_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits', expCube='/lscratch/kocevski/27138058/ltcube_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27138058/Model_4FGL_J0857.9-1949_daily_bin2167.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0857.9-1949'

4FGL J0857.9-1949
   Spectrum: PowerLaw
290    Prefactor:  2.397e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
291        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
292        Scale:  6.951e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27138058/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits
Spacecraft file(s): /lscratch/kocevski/27138058/ft2_4FGL_J0857.9-1949_daily_bin2167.fits
Exposure map: /lscratch/kocevski/27138058/expmap_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits
Exposure cube: /lscratch/kocevski/27138058/ltcube_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27138058/Model_4FGL_J0857.9-1949_daily_bin2167.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) = 11270.4982503

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1054       1.0000          .0000       .10000E+07
     2 'norm      '    .28737E-03   1.0000          .0000       .10000E+07
     3 'norm      '    8.1432       1.0000          .0000       .10000E+07
     4 'norm      '    .68307E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .71569E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    28.057       1.0000          .0000       .10000E+07
     7 'norm      '    .21805E-06   1.0000          .0000       .10000E+07
     8 'norm      '    1.9351       1.0000          .0000       .10000E+07
     9 'Prefactor '    .10026E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    4.7192       1.0000          .0000       .10000E+07
    11 'Prefactor '    .63022E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .30107E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    33.308       1.0000          .0000       .10000E+07
    14 'Prefactor '    .16361E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .12143       1.0000          .0000       .10000E+07
    16 'Normalizat'    .88276       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0375       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5550E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11270.30     FROM MIGRAD    STATUS=CONVERGED    124 CALLS      985 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1053        2.0973       -.23427E-07   -.67167E-03
   2  norm          .83600E-06    19.944       -.75743E-06** at limit **
   3  norm          8.1442        3.2809        .85839E-08    .26328E-03
   4  norm           .0000        1.5716       -.98659E-07** at limit **
   5  Prefactor     .10277E-05    10.320       -.61617E-06** at limit **
   6  Prefactor     27.710        20.329       -.30307E-06    .12636    
   7  norm          .97145E-08    7.8346       -.13557E-06** at limit **
   8  norm          1.9399        2.9767       -.14697E-06   -.31139E-02
   9  Prefactor      .0000        2.9198        .17905E-06** at limit **
  10  Prefactor     4.6969        7.7156        .10162E-06    .31538E-03
  11  Prefactor      .0000        1.5677        .60155E-07** at limit **
  12  Prefactor      .0000        3.6221       -.26442E-06** at limit **
  13  Prefactor     33.186        6.0026       -.86722E-07    .33943E-02
  14  Prefactor     .15090E-05    12.250       -.12673E-07** at limit **
  15  Prefactor     .43306        55.313        .18190E-06   -.29358E-01
  16  Normalizat    .88186        .19101        .35399E-05   -.35022E-04
  17  Prefactor     1.0378        .86996E-01   -.18315E-05   -.24647E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.1053
  norm       = 8.35998e-07
  norm       = 8.14415
  norm       = 0
  Prefactor  = 1.02773e-06
  Prefactor  = 27.7098
  norm       = 9.71445e-09
  norm       = 1.9399
  Prefactor  = 0
  Prefactor  = 4.69693
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 33.1856
  Prefactor  = 1.50902e-06
  Prefactor  = 0.43306
  Normalizat = 0.881856
  Prefactor  = 1.03779
 **********
 **   18 **HESSE 
 **********

 FCN=   11270.30     FROM HESSE     STATUS=OK           259 CALLS     1244 TOTAL
                     EDM=   .77E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1053        2.6913        .48510E-02   -1.5687    
   2  norm          .83600E-06    20.800        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          8.1442        3.2791        .35110E-03   -1.5651    
   4  norm           .0000        1.5712        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10277E-05    11.351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     27.710        29.767        .18882E-03   -1.5603    
   7  norm          .97145E-08    7.7630        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.9399        2.9984        .74620E-03   -1.5680    
   9  Prefactor      .0000        2.8981        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.6969        7.7498        .46296E-03   -1.5665    
  11  Prefactor      .0000        1.5669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        3.6202        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     33.186        24.893        .17329E-03   -1.5593    
  14  Prefactor     .15090E-05    13.815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .43306        5.1769        .13386E-01   -1.5695    
  16  Normalizat    .88186        .16893        .81676E-01   -.97101    
  17  Prefactor     1.0378        .76115E-01    .40704E-01   -.91480    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.6794e-07
Minuit parameter uncertainties:
  1  2.6913
  2  0.00833986
  3  3.2791
  4  1.09966e-05
  5  0.00683112
  6  29.7676
  7  0.000549711
  8  2.99844
  9  1.23622e-05
  10  7.74977
  11  3.54019e-06
  12  1.46024e-05
  13  24.8929
  14  0.00913194
  15  2.9946
  16  0.169029
  17  0.0761232
Done.

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

Extracting fit parameters...

4FGL J0857.9-1949
   Spectrum: PowerLaw
290    Prefactor:  0.000e+00  1.236e-05  0.000e+00  1.000e+06 ( 1.000e-12)
291        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
292        Scale:  6.951e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  1.038e+00  7.612e-02  0.000e+00  1.000e+01 ( 1.000e+00)
553        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
554        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  8.819e-01  1.690e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 134.491 -19.817
Photon Flux Upper Limit: 6.66096388555e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00518789896399 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27138056/likelihoodResults_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.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) = 11270.3115113
delta logL = -0.010644044507

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11270.3008673
delta logL = -2.54658516496e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39968E-08   1.0000          .0000       .10000E+07
     2 'Index     '    2.7925       1.0000          .0000       10.000    
     3 'Normalizat'    .88186       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0378       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5550E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   11270.30     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      240 TOTAL
                     EDM=   .57E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0555        .42118E-03** at limit **
   2  Index         1.2502        .74199       -.48155E-05     .0000    
   3  Normalizat    .88185        1.2180        .41159E-05    .11538E-04
   4  Prefactor     1.0378        1.2068       -.11062E-05    .32357E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.25015
  Normalizat = 0.881855
  Prefactor  = 1.03779
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   11270.30     FROM HESSE     STATUS=FAILED         9 CALLS      249 TOTAL
                     EDM=   .57E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .11276        1.2330       -.48155E-05   -.84802    
   3  Normalizat    .88185        1.2180        .41159E-05   -.97101    
   4  Prefactor     1.0378        1.2068       -.11062E-05   -.91480    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.71385e-13
Minuit parameter uncertainties:
  1  1.77086e-06
  2  0.74836
  3  1.25946
  4  1.24077
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) = 11270.3008673
delta logL = 1.45519152284e-11

Extracting fit parameters...

4FGL J0857.9-1949
   Spectrum: PowerLaw
290    Prefactor:  0.000e+00  1.771e-06  0.000e+00  1.000e+06 ( 1.000e-12)
291        Index:  1.250e+00  7.484e-01  0.000e+00  1.000e+01 (-1.000e+00)
292        Scale:  6.951e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  1.038e+00  1.241e+00  0.000e+00  1.000e+01 ( 1.000e+00)
553        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
554        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  8.819e-01  1.259e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 134.491 -19.817

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27138056/cmap_HighResolution_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.19e-03', job_status='DONE', photon_flux_upper_limit='6.66e-08', time_completed='2026-05-24 06:32:52.964336', job_id='27138056', GAL2='1.04', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1779629572.96', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.46e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='2167' AND source_name='4FGL J0857.9-1949' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 24 06:32:53 PDT 2026

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


Performing analysis on: 4FGL_J0857.9-1949_daily_bin2167
RA = 134.491, Dec = -19.8175
tmin = 801014401, tmax = 801273601
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='27138116', job_status='RUN', time_executed='2026-05-24 06:31:49.915360', time_epoch_executed='1779629509.92' WHERE source_name='4FGL J0857.9-1949' and cadence='daily' and bin_id='2167'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27138116

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27138116/ft1_4FGL_J0857.9-1949_daily_bin2167.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27138116/ft2_4FGL_J0857.9-1949_daily_bin2167.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27138116/ft1_4FGL_J0857.9-1949_daily_bin2167.fits outfile=/lscratch/kocevski/27138116/ft1_filteredMKT_4FGL_J0857.9-1949_daily_bin2167.fits ra=134.491 dec=-19.8175 rad=12.0 tmin=801014401.0 tmax=801273601.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 3.01
user 2.22
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27138116/ft2_4FGL_J0857.9-1949_daily_bin2167.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27138116/ft2_4FGL_J0857.9-1949_daily_bin2167.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/27138116/ft1_filteredMKT_4FGL_J0857.9-1949_daily_bin2167.fits evtable="EVENTS" outfile="/lscratch/kocevski/27138116/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.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.84
user 0.23
sys 0.13

Number of photons that the gtmktime cut: 1072

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27138116/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27138116/ft2_4FGL_J0857.9-1949_daily_bin2167.fits sctable="SC_DATA"outfile=/lscratch/kocevski/27138069/ltcube_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.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/27138069/ft2_4FGL_J0857.9-1949_daily_bin2167.fits
.....................!
real 9.23
user 8.24
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27138069/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits evtable="EVENTS" scfile=/lscratch/kocevski/27138069/ft2_4FGL_J0857.9-1949_daily_bin2167.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27138069/ltcube_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits outfile=/lscratch/kocevski/27138069/expmap_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.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/27138069/ltcube_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits
.....................!
real 78.15
user 72.43
sys 4.54

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

Setting source of interest to:
4FGL J0857.9-1949 @ 134.491 -19.8175

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27138069/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits scfile=/lscratch/kocevski/27138069/ft2_4FGL_J0857.9-1949_daily_bin2167.fits outfile=/lscratch/kocevski/27138069/cmap_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.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=134.491 yref=-19.8175 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.05
user 0.22
sys 0.20

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27138069/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits scfile=/lscratch/kocevski/27138069/ft2_4FGL_J0857.9-1949_daily_bin2167.fits outfile=/lscratch/kocevski/27138069/cmap_HighResolution_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.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=134.491 yref=-19.8175 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.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27138069/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits evtable="EVENTS" scfile=/lscratch/kocevski/27138069/ft2_4FGL_J0857.9-1949_daily_bin2167.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27138069/Model_4FGL_J0857.9-1949_daily_bin2167.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 sourcDone.

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

Extracting fit parameters...

4FGL J0857.9-1949
   Spectrum: PowerLaw
290    Prefactor:  0.000e+00  1.236e-05  0.000e+00  1.000e+06 ( 1.000e-12)
291        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
292        Scale:  6.951e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  1.038e+00  7.612e-02  0.000e+00  1.000e+01 ( 1.000e+00)
553        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
554        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  8.819e-01  1.690e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 134.491 -19.817
Photon Flux Upper Limit: 6.66096388555e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00518789896399 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27138058/likelihoodResults_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.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) = 11270.3115113
delta logL = -0.010644044507

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11270.3008673
delta logL = -2.54658516496e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39968E-08   1.0000          .0000       .10000E+07
     2 'Index     '    2.7925       1.0000          .0000       10.000    
     3 'Normalizat'    .88186       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0378       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5550E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   11270.30     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      240 TOTAL
                     EDM=   .57E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0555        .42118E-03** at limit **
   2  Index         1.2502        .74199       -.48155E-05     .0000    
   3  Normalizat    .88185        1.2180        .41159E-05    .11538E-04
   4  Prefactor     1.0378        1.2068       -.11062E-05    .32357E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.25015
  Normalizat = 0.881855
  Prefactor  = 1.03779
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   11270.30     FROM HESSE     STATUS=FAILED         9 CALLS      249 TOTAL
                     EDM=   .57E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .11276        1.2330       -.48155E-05   -.84802    
   3  Normalizat    .88185        1.2180        .41159E-05   -.97101    
   4  Prefactor     1.0378        1.2068       -.11062E-05   -.91480    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.71385e-13
Minuit parameter uncertainties:
  1  1.77086e-06
  2  0.74836
  3  1.25946
  4  1.24077
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) = 11270.3008673
delta logL = 1.45519152284e-11

Extracting fit parameters...

4FGL J0857.9-1949
   Spectrum: PowerLaw
290    Prefactor:  0.000e+00  1.771e-06  0.000e+00  1.000e+06 ( 1.000e-12)
291        Index:  1.250e+00  7.484e-01  0.000e+00  1.000e+01 (-1.000e+00)
292        Scale:  6.951e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  1.038e+00  1.241e+00  0.000e+00  1.000e+01 ( 1.000e+00)
553        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
554        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  8.819e-01  1.259e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 134.491 -19.817

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27138058/cmap_HighResolution_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.19e-03', job_status='DONE', photon_flux_upper_limit='6.66e-08', time_completed='2026-05-24 06:33:18.284809', job_id='27138058', GAL2='1.04', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1779629598.28', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.46e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='2167' AND source_name='4FGL J0857.9-1949' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 24 06:33:18 PDT 2026

 outfile=/lscratch/kocevski/27138107/ltcube_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.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/27138107/ft2_4FGL_J0857.9-1949_daily_bin2167.fits
.....................!
real 7.45
user 6.90
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27138107/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits evtable="EVENTS" scfile=/lscratch/kocevski/27138107/ft2_4FGL_J0857.9-1949_daily_bin2167.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27138107/ltcube_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits outfile=/lscratch/kocevski/27138107/expmap_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.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/27138107/ltcube_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits
.....................!
real 63.76
user 59.67
sys 3.50

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

Setting source of interest to:
4FGL J0857.9-1949 @ 134.491 -19.8175

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27138107/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits scfile=/lscratch/kocevski/27138107/ft2_4FGL_J0857.9-1949_daily_bin2167.fits outfile=/lscratch/kocevski/27138107/cmap_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.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=134.491 yref=-19.8175 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.59
user 0.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27138107/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits scfile=/lscratch/kocevski/27138107/ft2_4FGL_J0857.9-1949_daily_bin2167.fits outfile=/lscratch/kocevski/27138107/cmap_HighResolution_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.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=134.491 yref=-19.8175 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.57
user 0.20
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27138107/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits evtable="EVENTS" scfile=/lscratch/kocevski/27138107/ft2_4FGL_J0857.9-1949_daily_bin2167.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27138107/Model_4FGL_J0857.9-1949_daily_bin2167.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/27138057/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits.....................!
real 54.74
user 52.02
sys 0.97

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27138057/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits', '/lscratch/kocevski/27138057/ft2_4FGL_J0857.9-1949_daily_bin2167.fits', expMap='/lscratch/kocevski/27138057/expmap_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits', expCube='/lscratch/kocevski/27138057/ltcube_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27138057/Model_4FGL_J0857.9-1949_daily_bin2167.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0857.9-1949'

4FGL J0857.9-1949
   Spectrum: PowerLaw
290    Prefactor:  2.397e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
291        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
292        Scale:  6.951e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27138057/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits
Spacecraft file(s): /lscratch/kocevski/27138057/ft2_4FGL_J0857.9-1949_daily_bin2167.fits
Exposure map: /lscratch/kocevski/27138057/expmap_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits
Exposure cube: /lscratch/kocevski/27138057/ltcube_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27138057/Model_4FGL_J0857.9-1949_daily_bin2167.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) = 11270.4982503

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1054       1.0000          .0000       .10000E+07
     2 'norm      '    .28737E-03   1.0000          .0000       .10000E+07
     3 'norm      '    8.1432       1.0000          .0000       .10000E+07
     4 'norm      '    .68307E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .71569E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    28.057       1.0000          .0000       .10000E+07
     7 'norm      '    .21805E-06   1.0000          .0000       .10000E+07
     8 'norm      '    1.9351       1.0000          .0000       .10000E+07
     9 'Prefactor '    .10026E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    4.7192       1.0000          .0000       .10000E+07
    11 'Prefactor '    .63022E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .30107E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    33.308       1.0000          .0000       .10000E+07
    14 'Prefactor '    .16361E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .12143       1.0000          .0000       .10000E+07
    16 'Normalizat'    .88276       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0375       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5550E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11270.30     FROM MIGRAD    STATUS=CONVERGED    124 CALLS      985 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1053        2.0973       -.23427E-07   -.67167E-03
   2  norm          .83600E-06    19.944       -.75743E-06** at limit **
   3  norm          8.1442        3.2809        .85839E-08    .26328E-03
   4  norm           .0000        1.5716       -.98659E-07** at limit **
   5  Prefactor     .10277E-05    10.320       -.61617E-06** at limit **
   6  Prefactor     27.710        20.329       -.30307E-06    .12636    
   7  norm          .97145E-08    7.8346       -.13557E-06** at limit **
   8  norm          1.9399        2.9767       -.14697E-06   -.31139E-02
   9  Prefactor      .0000        2.9198        .17905E-06** at limit **
  10  Prefactor     4.6969        7.7156        .10162E-06    .31538E-03
  11  Prefactor      .0000        1.5677        .60155E-07** at limit **
  12  Prefactor      .0000        3.6221       -.26442E-06** at limit **
  13  Prefactor     33.186        6.0026       -.86722E-07    .33943E-02
  14  Prefactor     .15090E-05    12.250       -.12673E-07** at limit **
  15  Prefactor     .43306        55.313        .18190E-06   -.29358E-01
  16  Normalizat    .88186        .19101        .35399E-05   -.35022E-04
  17  Prefactor     1.0378        .86996E-01   -.18315E-05   -.24647E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.1053
  norm       = 8.35998e-07
  norm       = 8.14415
  norm       = 0
  Prefactor  = 1.02773e-06
  Prefactor  = 27.7098
  norm       = 9.71445e-09
  norm       = 1.9399
  Prefactor  = 0
  Prefactor  = 4.69693
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 33.1856
  Prefactor  = 1.50902e-06
  Prefactor  = 0.43306
  Normalizat = 0.881856
  Prefactor  = 1.03779
e GAL_V02
Working on...
/lscratch/kocevski/27138090/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits.....................!
real 43.72
user 42.54
sys 0.61

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27138090/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits', '/lscratch/kocevski/27138090/ft2_4FGL_J0857.9-1949_daily_bin2167.fits', expMap='/lscratch/kocevski/27138090/expmap_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits', expCube='/lscratch/kocevski/27138090/ltcube_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27138090/Model_4FGL_J0857.9-1949_daily_bin2167.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0857.9-1949'

4FGL J0857.9-1949
   Spectrum: PowerLaw
290    Prefactor:  2.397e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
291        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
292        Scale:  6.951e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27138090/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits
Spacecraft file(s): /lscratch/kocevski/27138090/ft2_4FGL_J0857.9-1949_daily_bin2167.fits
Exposure map: /lscratch/kocevski/27138090/expmap_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits
Exposure cube: /lscratch/kocevski/27138090/ltcube_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27138090/Model_4FGL_J0857.9-1949_daily_bin2167.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) = 11270.4982503

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1054       1.0000          .0000       .10000E+07
     2 'norm      '    .28737E-03   1.0000          .0000       .10000E+07
     3 'norm      '    8.1432       1.0000          .0000       .10000E+07
     4 'norm      '    .68307E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .71569E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    28.057       1.0000          .0000       .10000E+07
     7 'norm      '    .21805E-06   1.0000          .0000       .10000E+07
     8 'norm      '    1.9351       1.0000          .0000       .10000E+07
     9 'Prefactor '    .10026E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    4.7192       1.0000          .0000       .10000E+07
    11 'Prefactor '    .63022E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .30107E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    33.308       1.0000          .0000       .10000E+07
    14 'Prefactor '    .16361E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .12143       1.0000          .0000       .10000E+07
    16 'Normalizat'    .88276       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0375       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5550E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11270.30     FROM MIGRAD    STATUS=CONVERGED    124 CALLS      985 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1053        2.0973       -.23427E-07   -.67167E-03
   2  norm          .83600E-06    19.944       -.75743E-06** at limit **
   3  norm          8.1442        3.2809        .85839E-08    .26328E-03
   4  norm           .0000        1.5716       -.98659E-07** at limit **
   5  Prefactor     .10277E-05    10.320       -.61617E-06** at limit **
   6  Prefactor     27.710        20.329       -.30307E-06    .12636    
   7  norm          .97145E-08    7.8346       -.13557E-06** at limit **
   8  norm          1.9399        2.9767       -.14697E-06   -.31139E-02
   9  Prefactor      .0000        2.9198        .17905E-06** at limit **
  10  Prefactor     4.6969        7.7156        .10162E-06    .31538E-03
  11  Prefactor      .0000        1.5677        .60155E-07** at limit **
  12  Prefactor      .0000        3.6221       -.26442E-06** at limit **
  13  Prefactor     33.186        6.0026       -.86722E-07    .33943E-02
  14  Prefactor     .15090E-05    12.250       -.12673E-07** at limit **
  15  Prefactor     .43306        55.313        .18190E-06   -.29358E-01
  16  Normalizat    .88186        .19101        .35399E-05   -.35022E-04
  17  Prefactor     1.0378        .86996E-01   -.18315E-05   -.24647E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.1053
  norm       = 8.35998e-07
  norm       = 8.14415
  norm       = 0
  Prefactor  = 1.02773e-06
  Prefactor  = 27.7098
  norm       = 9.71445e-09
  norm       = 1.9399
  Prefactor  = 0
  Prefactor  = 4.69693
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 33.1856
  Prefactor  = 1.50902e-06
  Prefactor  = 0.43306
  Normalizat = 0.881856
  Prefactor  = 1.03779
 **********
 **   18 **HESSE 
 **********

 FCN=   11270.30     FROM HESSE     STATUS=OK           259 CALLS     1244 TOTAL
                     EDM=   .77E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1053        2.6913        .48510E-02   -1.5687    
   2  norm          .83600E-06    20.800        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          8.1442        3.2791        .35110E-03   -1.5651    
   4  norm           .0000        1.5712        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10277E-05    11.351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     27.710        29.767        .18882E-03   -1.5603    
   7  norm          .97145E-08    7.7630        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.9399        2.9984        .74620E-03   -1.5680    
   9  Prefactor      .0000        2.8981        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.6969        7.7498        .46296E-03   -1.5665    
  11  Prefactor      .0000        1.5669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        3.6202        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     33.186        24.893        .17329E-03   -1.5593    
  14  Prefactor     .15090E-05    13.815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .43306        5.1769        .13386E-01   -1.5695    
  16  Normalizat    .88186        .16893        .81676E-01   -.97101    
  17  Prefactor     1.0378        .76115E-01    .40704E-01   -.91480    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.6794e-07
Minuit parameter uncertainties:
  1  2.6913
  2  0.00833986
  3  3.2791
  4  1.09966e-05
  5  0.00683112
  6  29.7676
  7  0.000549711
  8  2.99844
  9  1.23622e-05
  10  7.74977
  11  3.54019e-06
  12  1.46024e-05
  13  24.8929
  14  0.00913194
  15  2.9946
  16  0.169029
  17  0.0761232
 outfile=/lscratch/kocevski/27138083/ltcube_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.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/27138083/ft2_4FGL_J0857.9-1949_daily_bin2167.fits
.....................!
real 10.16
user 8.19
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27138083/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits evtable="EVENTS" scfile=/lscratch/kocevski/27138083/ft2_4FGL_J0857.9-1949_daily_bin2167.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27138083/ltcube_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits outfile=/lscratch/kocevski/27138083/expmap_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.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/27138083/ltcube_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits
.....................!
real 77.65
user 67.42
sys 4.37

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

Setting source of interest to:
4FGL J0857.9-1949 @ 134.491 -19.8175

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27138083/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits scfile=/lscratch/kocevski/27138083/ft2_4FGL_J0857.9-1949_daily_bin2167.fits outfile=/lscratch/kocevski/27138083/cmap_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.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=134.491 yref=-19.8175 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.11
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27138083/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits scfile=/lscratch/kocevski/27138083/ft2_4FGL_J0857.9-1949_daily_bin2167.fits outfile=/lscratch/kocevski/27138083/cmap_HighResolution_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.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=134.491 yref=-19.8175 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.24
user 0.23
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27138083/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits evtable="EVENTS" scfile=/lscratch/kocevski/27138083/ft2_4FGL_J0857.9-1949_daily_bin2167.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27138083/Model_4FGL_J0857.9-1949_daily_bin2167.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 sou **********
 **   18 **HESSE 
 **********

 FCN=   11270.30     FROM HESSE     STATUS=OK           259 CALLS     1244 TOTAL
                     EDM=   .77E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1053        2.6913        .48510E-02   -1.5687    
   2  norm          .83600E-06    20.800        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          8.1442        3.2791        .35110E-03   -1.5651    
   4  norm           .0000        1.5712        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10277E-05    11.351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     27.710        29.767        .18882E-03   -1.5603    
   7  norm          .97145E-08    7.7630        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.9399        2.9984        .74620E-03   -1.5680    
   9  Prefactor      .0000        2.8981        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.6969        7.7498        .46296E-03   -1.5665    
  11  Prefactor      .0000        1.5669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        3.6202        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     33.186        24.893        .17329E-03   -1.5593    
  14  Prefactor     .15090E-05    13.815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .43306        5.1769        .13386E-01   -1.5695    
  16  Normalizat    .88186        .16893        .81676E-01   -.97101    
  17  Prefactor     1.0378        .76115E-01    .40704E-01   -.91480    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.6794e-07
Minuit parameter uncertainties:
  1  2.6913
  2  0.00833986
  3  3.2791
  4  1.09966e-05
  5  0.00683112
  6  29.7676
  7  0.000549711
  8  2.99844
  9  1.23622e-05
  10  7.74977
  11  3.54019e-06
  12  1.46024e-05
  13  24.8929
  14  0.00913194
  15  2.9946
  16  0.169029
  17  0.0761232
Done.

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

Extracting fit parameters...

4FGL J0857.9-1949
   Spectrum: PowerLaw
290    Prefactor:  0.000e+00  1.236e-05  0.000e+00  1.000e+06 ( 1.000e-12)
291        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
292        Scale:  6.951e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  1.038e+00  7.612e-02  0.000e+00  1.000e+01 ( 1.000e+00)
553        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
554        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  8.819e-01  1.690e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 134.491 -19.817
Photon Flux Upper Limit: 6.66096388555e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00518789896399 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27138057/likelihoodResults_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.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) = 11270.3115113
delta logL = -0.010644044507

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11270.3008673
delta logL = -2.54658516496e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39968E-08   1.0000          .0000       .10000E+07
     2 'Index     '    2.7925       1.0000          .0000       10.000    
     3 'Normalizat'    .88186       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0378       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5550E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   11270.30     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      240 TOTAL
                     EDM=   .57E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0555        .42118E-03** at limit **
   2  Index         1.2502        .74199       -.48155E-05     .0000    
   3  Normalizat    .88185        1.2180        .41159E-05    .11538E-04
   4  Prefactor     1.0378        1.2068       -.11062E-05    .32357E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.25015
  Normalizat = 0.881855
  Prefactor  = 1.03779
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   11270.30     FROM HESSE     STATUS=FAILED         9 CALLS      249 TOTAL
                     EDM=   .57E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .11276        1.2330       -.48155E-05   -.84802    
   3  Normalizat    .88185        1.2180        .41159E-05   -.97101    
   4  Prefactor     1.0378        1.2068       -.11062E-05   -.91480    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.71385e-13
Minuit parameter uncertainties:
  1  1.77086e-06
  2  0.74836
  3  1.25946
  4  1.24077
Done.

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

Extracting fit parameters...

4FGL J0857.9-1949
   Spectrum: PowerLaw
290    Prefactor:  0.000e+00  1.236e-05  0.000e+00  1.000e+06 ( 1.000e-12)
291        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
292        Scale:  6.951e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  1.038e+00  7.612e-02  0.000e+00  1.000e+01 ( 1.000e+00)
553        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
554        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  8.819e-01  1.690e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 134.491 -19.817
Photon Flux Upper Limit: 6.66096388555e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00518789896399 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27138090/likelihoodResults_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.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) = 11270.3115113
delta logL = -0.010644044507

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11270.3008673
delta logL = -2.54658516496e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39968E-08   1.0000          .0000       .10000E+07
     2 'Index     '    2.7925       1.0000          .0000       10.000    
     3 'Normalizat'    .88186       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0378       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5550E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   11270.30     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      240 TOTAL
                     EDM=   .57E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0555        .42118E-03** at limit **
   2  Index         1.2502        .74199       -.48155E-05     .0000    
   3  Normalizat    .88185        1.2180        .41159E-05    .11538E-04
   4  Prefactor     1.0378        1.2068       -.11062E-05    .32357E-04
                               ERR DEF=  .500    
Final values: 
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) = 11270.3008673
delta logL = 1.45519152284e-11

Extracting fit parameters...

4FGL J0857.9-1949
   Spectrum: PowerLaw
290    Prefactor:  0.000e+00  1.771e-06  0.000e+00  1.000e+06 ( 1.000e-12)
291        Index:  1.250e+00  7.484e-01  0.000e+00  1.000e+01 (-1.000e+00)
292        Scale:  6.951e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  1.038e+00  1.241e+00  0.000e+00  1.000e+01 ( 1.000e+00)
553        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
554        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  8.819e-01  1.259e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 134.491 -19.817

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27138057/cmap_HighResolution_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.19e-03', job_status='DONE', photon_flux_upper_limit='6.66e-08', time_completed='2026-05-24 06:34:22.039334', job_id='27138057', GAL2='1.04', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1779629662.04', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.46e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='2167' AND source_name='4FGL J0857.9-1949' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 24 06:34:22 PDT 2026

 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   11270.30     FROM HESSE     STATUS=FAILED         9 CALLS      249 TOTAL
                     EDM=   .57E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .11276        1.2330       -.48155E-05   -.84802    
   3  Normalizat    .88185        1.2180        .41159E-05   -.97101    
   4  Prefactor     1.0378        1.2068       -.11062E-05   -.91480    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.71385e-13
Minuit parameter uncertainties:
  1  1.77086e-06
  2  0.74836
  3  1.25946
  4  1.24077
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) = 11270.3008673
delta logL = 1.45519152284e-11

Extracting fit parameters...

4FGL J0857.9-1949
   Spectrum: PowerLaw
290    Prefactor:  0.000e+00  1.771e-06  0.000e+00  1.000e+06 ( 1.000e-12)
291        Index:  1.250e+00  7.484e-01  0.000e+00  1.000e+01 (-1.000e+00)
292        Scale:  6.951e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  1.038e+00  1.241e+00  0.000e+00  1.000e+01 ( 1.000e+00)
553        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
554        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  8.819e-01  1.259e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 134.491 -19.817

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27138090/cmap_HighResolution_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.19e-03', job_status='DONE', photon_flux_upper_limit='6.66e-08', time_completed='2026-05-24 06:34:24.263913', job_id='27138090', GAL2='1.04', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1779629664.26', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.46e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='2167' AND source_name='4FGL J0857.9-1949' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 24 06:34:24 PDT 2026

ce GAL_V02
Working on...
/lscratch/kocevski/27138107/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits.....................!
real 44.55
user 43.00
sys 0.82

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27138107/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits', '/lscratch/kocevski/27138107/ft2_4FGL_J0857.9-1949_daily_bin2167.fits', expMap='/lscratch/kocevski/27138107/expmap_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits', expCube='/lscratch/kocevski/27138107/ltcube_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27138107/Model_4FGL_J0857.9-1949_daily_bin2167.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0857.9-1949'

4FGL J0857.9-1949
   Spectrum: PowerLaw
290    Prefactor:  2.397e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
291        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
292        Scale:  6.951e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27138107/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits
Spacecraft file(s): /lscratch/kocevski/27138107/ft2_4FGL_J0857.9-1949_daily_bin2167.fits
Exposure map: /lscratch/kocevski/27138107/expmap_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits
Exposure cube: /lscratch/kocevski/27138107/ltcube_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27138107/Model_4FGL_J0857.9-1949_daily_bin2167.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) = 11270.4982503

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1054       1.0000          .0000       .10000E+07
     2 'norm      '    .28737E-03   1.0000          .0000       .10000E+07
     3 'norm      '    8.1432       1.0000          .0000       .10000E+07
     4 'norm      '    .68307E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .71569E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    28.057       1.0000          .0000       .10000E+07
     7 'norm      '    .21805E-06   1.0000          .0000       .10000E+07
     8 'norm      '    1.9351       1.0000          .0000       .10000E+07
     9 'Prefactor '    .10026E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    4.7192       1.0000          .0000       .10000E+07
    11 'Prefactor '    .63022E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .30107E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    33.308       1.0000          .0000       .10000E+07
    14 'Prefactor '    .16361E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .12143       1.0000          .0000       .10000E+07
    16 'Normalizat'    .88276       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0375       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5550E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11270.30     FROM MIGRAD    STATUS=CONVERGED    124 CALLS      985 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1053        2.0973       -.23427E-07   -.67167E-03
   2  norm          .83600E-06    19.944       -.75743E-06** at limit **
   3  norm          8.1442        3.2809        .85839E-08    .26328E-03
   4  norm           .0000        1.5716       -.98659E-07** at limit **
   5  Prefactor     .10277E-05    10.320       -.61617E-06** at limit **
   6  Prefactor     27.710        20.329       -.30307E-06    .12636    
   7  norm          .97145E-08    7.8346       -.13557E-06** at limit **
   8  norm          1.9399        2.9767       -.14697E-06   -.31139E-02
   9  Prefactor      .0000        2.9198        .17905E-06** at limit **
  10  Prefactor     4.6969        7.7156        .10162E-06    .31538E-03
  11  Prefactor      .0000        1.5677        .60155E-07** at limit **
  12  Prefactor      .0000        3.6221       -.26442E-06** at limit **
  13  Prefactor     33.186        6.0026       -.86722E-07    .33943E-02
  14  Prefactor     .15090E-05    12.250       -.12673E-07** at limit **
  15  Prefactor     .43306        55.313        .18190E-06   -.29358E-01
  16  Normalizat    .88186        .19101        .35399E-05   -.35022E-04
  17  Prefactor     1.0378        .86996E-01   -.18315E-05   -.24647E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.1053
  norm       = 8.35998e-07
  norm       = 8.14415
  norm       = 0
  Prefactor  = 1.02773e-06
  Prefactor  = 27.7098
  norm       = 9.71445e-09
  norm       = 1.9399
  Prefactor  = 0
  Prefactor  = 4.69693
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 33.1856
  Prefactor  = 1.50902e-06
  Prefactor  = 0.43306
  Normalizat = 0.881856
  Prefactor  = 1.03779
e GAL_V02
Working on...
/lscratch/kocevski/27138069/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits.....................!
real 55.05
user 52.57
sys 1.04

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27138069/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits', '/lscratch/kocevski/27138069/ft2_4FGL_J0857.9-1949_daily_bin2167.fits', expMap='/lscratch/kocevski/27138069/expmap_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits', expCube='/lscratch/kocevski/27138069/ltcube_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27138069/Model_4FGL_J0857.9-1949_daily_bin2167.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0857.9-1949'

4FGL J0857.9-1949
   Spectrum: PowerLaw
290    Prefactor:  2.397e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
291        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
292        Scale:  6.951e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27138069/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits
Spacecraft file(s): /lscratch/kocevski/27138069/ft2_4FGL_J0857.9-1949_daily_bin2167.fits
Exposure map: /lscratch/kocevski/27138069/expmap_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits
Exposure cube: /lscratch/kocevski/27138069/ltcube_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27138069/Model_4FGL_J0857.9-1949_daily_bin2167.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) = 11270.4982503

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1054       1.0000          .0000       .10000E+07
     2 'norm      '    .28737E-03   1.0000          .0000       .10000E+07
     3 'norm      '    8.1432       1.0000          .0000       .10000E+07
     4 'norm      '    .68307E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .71569E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    28.057       1.0000          .0000       .10000E+07
     7 'norm      '    .21805E-06   1.0000          .0000       .10000E+07
     8 'norm      '    1.9351       1.0000          .0000       .10000E+07
     9 'Prefactor '    .10026E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    4.7192       1.0000          .0000       .10000E+07
    11 'Prefactor '    .63022E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .30107E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    33.308       1.0000          .0000       .10000E+07
    14 'Prefactor '    .16361E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .12143       1.0000          .0000       .10000E+07
    16 'Normalizat'    .88276       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0375       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5550E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11270.30     FROM MIGRAD    STATUS=CONVERGED    124 CALLS      985 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1053        2.0973       -.23427E-07   -.67167E-03
   2  norm          .83600E-06    19.944       -.75743E-06** at limit **
   3  norm          8.1442        3.2809        .85839E-08    .26328E-03
   4  norm           .0000        1.5716       -.98659E-07** at limit **
   5  Prefactor     .10277E-05    10.320       -.61617E-06** at limit **
   6  Prefactor     27.710        20.329       -.30307E-06    .12636    
   7  norm          .97145E-08    7.8346       -.13557E-06** at limit **
   8  norm          1.9399        2.9767       -.14697E-06   -.31139E-02
   9  Prefactor      .0000        2.9198        .17905E-06** at limit **
  10  Prefactor     4.6969        7.7156        .10162E-06    .31538E-03
  11  Prefactor      .0000        1.5677        .60155E-07** at limit **
  12  Prefactor      .0000        3.6221       -.26442E-06** at limit **
  13  Prefactor     33.186        6.0026       -.86722E-07    .33943E-02
  14  Prefactor     .15090E-05    12.250       -.12673E-07** at limit **
  15  Prefactor     .43306        55.313        .18190E-06   -.29358E-01
  16  Normalizat    .88186        .19101        .35399E-05   -.35022E-04
  17  Prefactor     1.0378        .86996E-01   -.18315E-05   -.24647E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.1053
  norm       = 8.35998e-07
  norm       = 8.14415
  norm       = 0
  Prefactor  = 1.02773e-06
  Prefactor  = 27.7098
  norm       = 9.71445e-09
  norm       = 1.9399
  Prefactor  = 0
  Prefactor  = 4.69693
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 33.1856
  Prefactor  = 1.50902e-06
  Prefactor  = 0.43306
  Normalizat = 0.881856
  Prefactor  = 1.03779
 **********
 **   18 **HESSE 
 **********

 FCN=   11270.30     FROM HESSE     STATUS=OK           259 CALLS     1244 TOTAL
                     EDM=   .77E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1053        2.6913        .48510E-02   -1.5687    
   2  norm          .83600E-06    20.800        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          8.1442        3.2791        .35110E-03   -1.5651    
   4  norm           .0000        1.5712        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10277E-05    11.351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     27.710        29.767        .18882E-03   -1.5603    
   7  norm          .97145E-08    7.7630        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.9399        2.9984        .74620E-03   -1.5680    
   9  Prefactor      .0000        2.8981        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.6969        7.7498        .46296E-03   -1.5665    
  11  Prefactor      .0000        1.5669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        3.6202        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     33.186        24.893        .17329E-03   -1.5593    
  14  Prefactor     .15090E-05    13.815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .43306        5.1769        .13386E-01   -1.5695    
  16  Normalizat    .88186        .16893        .81676E-01   -.97101    
  17  Prefactor     1.0378        .76115E-01    .40704E-01   -.91480    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.6794e-07
Minuit parameter uncertainties:
  1  2.6913
  2  0.00833986
  3  3.2791
  4  1.09966e-05
  5  0.00683112
  6  29.7676
  7  0.000549711
  8  2.99844
  9  1.23622e-05
  10  7.74977
  11  3.54019e-06
  12  1.46024e-05
  13  24.8929
  14  0.00913194
  15  2.9946
  16  0.169029
  17  0.0761232
 **********
 **   18 **HESSE 
 **********

 FCN=   11270.30     FROM HESSE     STATUS=OK           259 CALLS     1244 TOTAL
                     EDM=   .77E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1053        2.6913        .48510E-02   -1.5687    
   2  norm          .83600E-06    20.800        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          8.1442        3.2791        .35110E-03   -1.5651    
   4  norm           .0000        1.5712        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10277E-05    11.351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     27.710        29.767        .18882E-03   -1.5603    
   7  norm          .97145E-08    7.7630        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.9399        2.9984        .74620E-03   -1.5680    
   9  Prefactor      .0000        2.8981        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.6969        7.7498        .46296E-03   -1.5665    
  11  Prefactor      .0000        1.5669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        3.6202        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     33.186        24.893        .17329E-03   -1.5593    
  14  Prefactor     .15090E-05    13.815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .43306        5.1769        .13386E-01   -1.5695    
  16  Normalizat    .88186        .16893        .81676E-01   -.97101    
  17  Prefactor     1.0378        .76115E-01    .40704E-01   -.91480    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.6794e-07
Minuit parameter uncertainties:
  1  2.6913
  2  0.00833986
  3  3.2791
  4  1.09966e-05
  5  0.00683112
  6  29.7676
  7  0.000549711
  8  2.99844
  9  1.23622e-05
  10  7.74977
  11  3.54019e-06
  12  1.46024e-05
  13  24.8929
  14  0.00913194
  15  2.9946
  16  0.169029
  17  0.0761232
rce GAL_V02
Working on...
/lscratch/kocevski/27138083/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits.....................!
real 54.37
user 49.17
sys 0.62

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27138083/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits', '/lscratch/kocevski/27138083/ft2_4FGL_J0857.9-1949_daily_bin2167.fits', expMap='/lscratch/kocevski/27138083/expmap_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits', expCube='/lscratch/kocevski/27138083/ltcube_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27138083/Model_4FGL_J0857.9-1949_daily_bin2167.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0857.9-1949'

4FGL J0857.9-1949
   Spectrum: PowerLaw
290    Prefactor:  2.397e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
291        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
292        Scale:  6.951e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27138083/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits
Spacecraft file(s): /lscratch/kocevski/27138083/ft2_4FGL_J0857.9-1949_daily_bin2167.fits
Exposure map: /lscratch/kocevski/27138083/expmap_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits
Exposure cube: /lscratch/kocevski/27138083/ltcube_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27138083/Model_4FGL_J0857.9-1949_daily_bin2167.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) = 11270.4982503

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1054       1.0000          .0000       .10000E+07
     2 'norm      '    .28737E-03   1.0000          .0000       .10000E+07
     3 'norm      '    8.1432       1.0000          .0000       .10000E+07
     4 'norm      '    .68307E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .71569E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    28.057       1.0000          .0000       .10000E+07
     7 'norm      '    .21805E-06   1.0000          .0000       .10000E+07
     8 'norm      '    1.9351       1.0000          .0000       .10000E+07
     9 'Prefactor '    .10026E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    4.7192       1.0000          .0000       .10000E+07
    11 'Prefactor '    .63022E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .30107E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    33.308       1.0000          .0000       .10000E+07
    14 'Prefactor '    .16361E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .12143       1.0000          .0000       .10000E+07
    16 'Normalizat'    .88276       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0375       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5550E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11270.30     FROM MIGRAD    STATUS=CONVERGED    124 CALLS      985 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1053        2.0973       -.23427E-07   -.67167E-03
   2  norm          .83600E-06    19.944       -.75743E-06** at limit **
   3  norm          8.1442        3.2809        .85839E-08    .26328E-03
   4  norm           .0000        1.5716       -.98659E-07** at limit **
   5  Prefactor     .10277E-05    10.320       -.61617E-06** at limit **
   6  Prefactor     27.710        20.329       -.30307E-06    .12636    
   7  norm          .97145E-08    7.8346       -.13557E-06** at limit **
   8  norm          1.9399        2.9767       -.14697E-06   -.31139E-02
   9  Prefactor      .0000        2.9198        .17905E-06** at limit **
  10  Prefactor     4.6969        7.7156        .10162E-06    .31538E-03
  11  Prefactor      .0000        1.5677        .60155E-07** at limit **
  12  Prefactor      .0000        3.6221       -.26442E-06** at limit **
  13  Prefactor     33.186        6.0026       -.86722E-07    .33943E-02
  14  Prefactor     .15090E-05    12.250       -.12673E-07** at limit **
  15  Prefactor     .43306        55.313        .18190E-06   -.29358E-01
  16  Normalizat    .88186        .19101        .35399E-05   -.35022E-04
  17  Prefactor     1.0378        .86996E-01   -.18315E-05   -.24647E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.1053
  norm       = 8.35998e-07
  norm       = 8.14415
  norm       = 0
  Prefactor  = 1.02773e-06
  Prefactor  = 27.7098
  norm       = 9.71445e-09
  norm       = 1.9399
  Prefactor  = 0
  Prefactor  = 4.69693
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 33.1856
  Prefactor  = 1.50902e-06
  Prefactor  = 0.43306
  Normalizat = 0.881856
  Prefactor  = 1.03779
Done.

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

Extracting fit parameters...

4FGL J0857.9-1949
   Spectrum: PowerLaw
290    Prefactor:  0.000e+00  1.236e-05  0.000e+00  1.000e+06 ( 1.000e-12)
291        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
292        Scale:  6.951e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  1.038e+00  7.612e-02  0.000e+00  1.000e+01 ( 1.000e+00)
553        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
554        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  8.819e-01  1.690e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 134.491 -19.817
Photon Flux Upper Limit: 6.66096388555e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00518789896399 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27138107/likelihoodResults_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.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) = 11270.3115113
delta logL = -0.010644044507

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11270.3008673
delta logL = -2.54658516496e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39968E-08   1.0000          .0000       .10000E+07
     2 'Index     '    2.7925       1.0000          .0000       10.000    
     3 'Normalizat'    .88186       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0378       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5550E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   11270.30     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      240 TOTAL
                     EDM=   .57E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0555        .42118E-03** at limit **
   2  Index         1.2502        .74199       -.48155E-05     .0000    
   3  Normalizat    .88185        1.2180        .41159E-05    .11538E-04
   4  Prefactor     1.0378        1.2068       -.11062E-05    .32357E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.25015
  Normalizat = 0.881855
  Prefactor  = 1.03779
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   11270.30     FROM HESSE     STATUS=FAILED         9 CALLS      249 TOTAL
                     EDM=   .57E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .11276        1.2330       -.48155E-05   -.84802    
   3  Normalizat    .88185        1.2180        .41159E-05   -.97101    
   4  Prefactor     1.0378        1.2068       -.11062E-05   -.91480    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.71385e-13
Minuit parameter uncertainties:
  1  1.77086e-06
  2  0.74836
  3  1.25946
  4  1.24077
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) = 11270.3008673
delta logL = 1.45519152284e-11

Extracting fit parameters...

4FGL J0857.9-1949
   Spectrum: PowerLaw
290    Prefactor:  0.000e+00  1.771e-06  0.000e+00  1.000e+06 ( 1.000e-12)
291        Index:  1.250e+00  7.484e-01  0.000e+00  1.000e+01 (-1.000e+00)
292        Scale:  6.951e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  1.038e+00  1.241e+00  0.000e+00  1.000e+01 ( 1.000e+00)
553        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
554        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  8.819e-01  1.259e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 134.491 -19.817

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27138107/cmap_HighResolution_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.19e-03', job_status='DONE', photon_flux_upper_limit='6.66e-08', time_completed='2026-05-24 06:35:14.609526', job_id='27138107', GAL2='1.04', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1779629714.61', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.46e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='2167' AND source_name='4FGL J0857.9-1949' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 24 06:35:14 PDT 2026

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

 FCN=   11270.30     FROM HESSE     STATUS=OK           259 CALLS     1244 TOTAL
                     EDM=   .77E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1053        2.6913        .48510E-02   -1.5687    
   2  norm          .83600E-06    20.800        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          8.1442        3.2791        .35110E-03   -1.5651    
   4  norm           .0000        1.5712        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10277E-05    11.351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     27.710        29.767        .18882E-03   -1.5603    
   7  norm          .97145E-08    7.7630        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.9399        2.9984        .74620E-03   -1.5680    
   9  Prefactor      .0000        2.8981        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.6969        7.7498        .46296E-03   -1.5665    
  11  Prefactor      .0000        1.5669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        3.6202        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     33.186        24.893        .17329E-03   -1.5593    
  14  Prefactor     .15090E-05    13.815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .43306        5.1769        .13386E-01   -1.5695    
  16  Normalizat    .88186        .16893        .81676E-01   -.97101    
  17  Prefactor     1.0378        .76115E-01    .40704E-01   -.91480    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.6794e-07
Minuit parameter uncertainties:
  1  2.6913
  2  0.00833986
  3  3.2791
  4  1.09966e-05
  5  0.00683112
  6  29.7676
  7  0.000549711
  8  2.99844
  9  1.23622e-05
  10  7.74977
  11  3.54019e-06
  12  1.46024e-05
  13  24.8929
  14  0.00913194
  15  2.9946
  16  0.169029
  17  0.0761232
Done.

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

Extracting fit parameters...

4FGL J0857.9-1949
   Spectrum: PowerLaw
290    Prefactor:  0.000e+00  1.236e-05  0.000e+00  1.000e+06 ( 1.000e-12)
291        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
292        Scale:  6.951e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  1.038e+00  7.612e-02  0.000e+00  1.000e+01 ( 1.000e+00)
553        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
554        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  8.819e-01  1.690e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 134.491 -19.817
Photon Flux Upper Limit: 6.66096388555e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00518789896399 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27138069/likelihoodResults_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.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) = 11270.3115113
delta logL = -0.010644044507

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11270.3008673
delta logL = -2.54658516496e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39968E-08   1.0000          .0000       .10000E+07
     2 'Index     '    2.7925       1.0000          .0000       10.000    
     3 'Normalizat'    .88186       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0378       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5550E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   11270.30     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      240 TOTAL
                     EDM=   .57E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0555        .42118E-03** at limit **
   2  Index         1.2502        .74199       -.48155E-05     .0000    
   3  Normalizat    .88185        1.2180        .41159E-05    .11538E-04
   4  Prefactor     1.0378        1.2068       -.11062E-05    .32357E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.25015
  Normalizat = 0.881855
  Prefactor  = 1.03779
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   11270.30     FROM HESSE     STATUS=FAILED         9 CALLS      249 TOTAL
                     EDM=   .57E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .11276        1.2330       -.48155E-05   -.84802    
   3  Normalizat    .88185        1.2180        .41159E-05   -.97101    
   4  Prefactor     1.0378        1.2068       -.11062E-05   -.91480    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.71385e-13
Minuit parameter uncertainties:
  1  1.77086e-06
  2  0.74836
  3  1.25946
  4  1.24077
 outfile=/lscratch/kocevski/27138116/ltcube_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.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/27138116/ft2_4FGL_J0857.9-1949_daily_bin2167.fits
.....................!
real 9.55
user 8.56
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27138116/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits evtable="EVENTS" scfile=/lscratch/kocevski/27138116/ft2_4FGL_J0857.9-1949_daily_bin2167.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27138116/ltcube_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits outfile=/lscratch/kocevski/27138116/expmap_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.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/27138116/ltcube_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits
.....................!
real 79.11
user 71.57
sys 4.52

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

Setting source of interest to:
4FGL J0857.9-1949 @ 134.491 -19.8175

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27138116/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits scfile=/lscratch/kocevski/27138116/ft2_4FGL_J0857.9-1949_daily_bin2167.fits outfile=/lscratch/kocevski/27138116/cmap_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.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=134.491 yref=-19.8175 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.06
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27138116/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits scfile=/lscratch/kocevski/27138116/ft2_4FGL_J0857.9-1949_daily_bin2167.fits outfile=/lscratch/kocevski/27138116/cmap_HighResolution_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.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=134.491 yref=-19.8175 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.60
user 0.25
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27138116/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits evtable="EVENTS" scfile=/lscratch/kocevski/27138116/ft2_4FGL_J0857.9-1949_daily_bin2167.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27138116/Model_4FGL_J0857.9-1949_daily_bin2167.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 sourshell-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) = 11270.3008673
delta logL = 1.45519152284e-11

Extracting fit parameters...

4FGL J0857.9-1949
   Spectrum: PowerLaw
290    Prefactor:  0.000e+00  1.771e-06  0.000e+00  1.000e+06 ( 1.000e-12)
291        Index:  1.250e+00  7.484e-01  0.000e+00  1.000e+01 (-1.000e+00)
292        Scale:  6.951e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  1.038e+00  1.241e+00  0.000e+00  1.000e+01 ( 1.000e+00)
553        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
554        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  8.819e-01  1.259e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 134.491 -19.817

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27138069/cmap_HighResolution_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.19e-03', job_status='DONE', photon_flux_upper_limit='6.66e-08', time_completed='2026-05-24 06:35:29.924536', job_id='27138069', GAL2='1.04', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1779629729.92', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.46e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='2167' AND source_name='4FGL J0857.9-1949' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 24 06:35:30 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0857.9-1949
   Spectrum: PowerLaw
290    Prefactor:  0.000e+00  1.236e-05  0.000e+00  1.000e+06 ( 1.000e-12)
291        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
292        Scale:  6.951e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  1.038e+00  7.612e-02  0.000e+00  1.000e+01 ( 1.000e+00)
553        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
554        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  8.819e-01  1.690e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 134.491 -19.817
Photon Flux Upper Limit: 6.66096388555e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00518789896399 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27138083/likelihoodResults_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.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) = 11270.3115113
delta logL = -0.010644044507

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11270.3008673
delta logL = -2.54658516496e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39968E-08   1.0000          .0000       .10000E+07
     2 'Index     '    2.7925       1.0000          .0000       10.000    
     3 'Normalizat'    .88186       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0378       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5550E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   11270.30     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      240 TOTAL
                     EDM=   .57E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0555        .42118E-03** at limit **
   2  Index         1.2502        .74199       -.48155E-05     .0000    
   3  Normalizat    .88185        1.2180        .41159E-05    .11538E-04
   4  Prefactor     1.0378        1.2068       -.11062E-05    .32357E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.25015
  Normalizat = 0.881855
  Prefactor  = 1.03779
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   11270.30     FROM HESSE     STATUS=FAILED         9 CALLS      249 TOTAL
                     EDM=   .57E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .11276        1.2330       -.48155E-05   -.84802    
   3  Normalizat    .88185        1.2180        .41159E-05   -.97101    
   4  Prefactor     1.0378        1.2068       -.11062E-05   -.91480    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.71385e-13
Minuit parameter uncertainties:
  1  1.77086e-06
  2  0.74836
  3  1.25946
  4  1.24077
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) = 11270.3008673
delta logL = 1.45519152284e-11

Extracting fit parameters...

4FGL J0857.9-1949
   Spectrum: PowerLaw
290    Prefactor:  0.000e+00  1.771e-06  0.000e+00  1.000e+06 ( 1.000e-12)
291        Index:  1.250e+00  7.484e-01  0.000e+00  1.000e+01 (-1.000e+00)
292        Scale:  6.951e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  1.038e+00  1.241e+00  0.000e+00  1.000e+01 ( 1.000e+00)
553        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
554        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  8.819e-01  1.259e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 134.491 -19.817

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27138083/cmap_HighResolution_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.19e-03', job_status='DONE', photon_flux_upper_limit='6.66e-08', time_completed='2026-05-24 06:35:58.830897', job_id='27138083', GAL2='1.04', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1779629758.83', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.46e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='2167' AND source_name='4FGL J0857.9-1949' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 24 06:35:58 PDT 2026

ce GAL_V02
Working on...
/lscratch/kocevski/27138116/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits.....................!
real 57.00
user 51.68
sys 0.89

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27138116/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits', '/lscratch/kocevski/27138116/ft2_4FGL_J0857.9-1949_daily_bin2167.fits', expMap='/lscratch/kocevski/27138116/expmap_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits', expCube='/lscratch/kocevski/27138116/ltcube_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27138116/Model_4FGL_J0857.9-1949_daily_bin2167.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0857.9-1949'

4FGL J0857.9-1949
   Spectrum: PowerLaw
290    Prefactor:  2.397e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
291        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
292        Scale:  6.951e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27138116/ft1_filtered_4FGL_J0857.9-1949_daily_bin2167.fits
Spacecraft file(s): /lscratch/kocevski/27138116/ft2_4FGL_J0857.9-1949_daily_bin2167.fits
Exposure map: /lscratch/kocevski/27138116/expmap_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits
Exposure cube: /lscratch/kocevski/27138116/ltcube_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27138116/Model_4FGL_J0857.9-1949_daily_bin2167.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) = 11270.4982503

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1054       1.0000          .0000       .10000E+07
     2 'norm      '    .28737E-03   1.0000          .0000       .10000E+07
     3 'norm      '    8.1432       1.0000          .0000       .10000E+07
     4 'norm      '    .68307E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .71569E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    28.057       1.0000          .0000       .10000E+07
     7 'norm      '    .21805E-06   1.0000          .0000       .10000E+07
     8 'norm      '    1.9351       1.0000          .0000       .10000E+07
     9 'Prefactor '    .10026E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    4.7192       1.0000          .0000       .10000E+07
    11 'Prefactor '    .63022E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .30107E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    33.308       1.0000          .0000       .10000E+07
    14 'Prefactor '    .16361E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .12143       1.0000          .0000       .10000E+07
    16 'Normalizat'    .88276       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0375       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5550E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11270.30     FROM MIGRAD    STATUS=CONVERGED    124 CALLS      985 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1053        2.0973       -.23427E-07   -.67167E-03
   2  norm          .83600E-06    19.944       -.75743E-06** at limit **
   3  norm          8.1442        3.2809        .85839E-08    .26328E-03
   4  norm           .0000        1.5716       -.98659E-07** at limit **
   5  Prefactor     .10277E-05    10.320       -.61617E-06** at limit **
   6  Prefactor     27.710        20.329       -.30307E-06    .12636    
   7  norm          .97145E-08    7.8346       -.13557E-06** at limit **
   8  norm          1.9399        2.9767       -.14697E-06   -.31139E-02
   9  Prefactor      .0000        2.9198        .17905E-06** at limit **
  10  Prefactor     4.6969        7.7156        .10162E-06    .31538E-03
  11  Prefactor      .0000        1.5677        .60155E-07** at limit **
  12  Prefactor      .0000        3.6221       -.26442E-06** at limit **
  13  Prefactor     33.186        6.0026       -.86722E-07    .33943E-02
  14  Prefactor     .15090E-05    12.250       -.12673E-07** at limit **
  15  Prefactor     .43306        55.313        .18190E-06   -.29358E-01
  16  Normalizat    .88186        .19101        .35399E-05   -.35022E-04
  17  Prefactor     1.0378        .86996E-01   -.18315E-05   -.24647E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.1053
  norm       = 8.35998e-07
  norm       = 8.14415
  norm       = 0
  Prefactor  = 1.02773e-06
  Prefactor  = 27.7098
  norm       = 9.71445e-09
  norm       = 1.9399
  Prefactor  = 0
  Prefactor  = 4.69693
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 33.1856
  Prefactor  = 1.50902e-06
  Prefactor  = 0.43306
  Normalizat = 0.881856
  Prefactor  = 1.03779
 **********
 **   18 **HESSE 
 **********

 FCN=   11270.30     FROM HESSE     STATUS=OK           259 CALLS     1244 TOTAL
                     EDM=   .77E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1053        2.6913        .48510E-02   -1.5687    
   2  norm          .83600E-06    20.800        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          8.1442        3.2791        .35110E-03   -1.5651    
   4  norm           .0000        1.5712        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10277E-05    11.351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     27.710        29.767        .18882E-03   -1.5603    
   7  norm          .97145E-08    7.7630        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.9399        2.9984        .74620E-03   -1.5680    
   9  Prefactor      .0000        2.8981        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.6969        7.7498        .46296E-03   -1.5665    
  11  Prefactor      .0000        1.5669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        3.6202        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     33.186        24.893        .17329E-03   -1.5593    
  14  Prefactor     .15090E-05    13.815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .43306        5.1769        .13386E-01   -1.5695    
  16  Normalizat    .88186        .16893        .81676E-01   -.97101    
  17  Prefactor     1.0378        .76115E-01    .40704E-01   -.91480    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.6794e-07
Minuit parameter uncertainties:
  1  2.6913
  2  0.00833986
  3  3.2791
  4  1.09966e-05
  5  0.00683112
  6  29.7676
  7  0.000549711
  8  2.99844
  9  1.23622e-05
  10  7.74977
  11  3.54019e-06
  12  1.46024e-05
  13  24.8929
  14  0.00913194
  15  2.9946
  16  0.169029
  17  0.0761232
Done.

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

Extracting fit parameters...

4FGL J0857.9-1949
   Spectrum: PowerLaw
290    Prefactor:  0.000e+00  1.236e-05  0.000e+00  1.000e+06 ( 1.000e-12)
291        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
292        Scale:  6.951e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  1.038e+00  7.612e-02  0.000e+00  1.000e+01 ( 1.000e+00)
553        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
554        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  8.819e-01  1.690e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 134.491 -19.817
Photon Flux Upper Limit: 6.66096388555e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00518789896399 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27138116/likelihoodResults_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.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) = 11270.3115113
delta logL = -0.010644044507

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11270.3008673
delta logL = -2.54658516496e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39968E-08   1.0000          .0000       .10000E+07
     2 'Index     '    2.7925       1.0000          .0000       10.000    
     3 'Normalizat'    .88186       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0378       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5550E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   11270.30     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      240 TOTAL
                     EDM=   .57E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0555        .42118E-03** at limit **
   2  Index         1.2502        .74199       -.48155E-05     .0000    
   3  Normalizat    .88185        1.2180        .41159E-05    .11538E-04
   4  Prefactor     1.0378        1.2068       -.11062E-05    .32357E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.25015
  Normalizat = 0.881855
  Prefactor  = 1.03779
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   11270.30     FROM HESSE     STATUS=FAILED         9 CALLS      249 TOTAL
                     EDM=   .57E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .11276        1.2330       -.48155E-05   -.84802    
   3  Normalizat    .88185        1.2180        .41159E-05   -.97101    
   4  Prefactor     1.0378        1.2068       -.11062E-05   -.91480    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.71385e-13
Minuit parameter uncertainties:
  1  1.77086e-06
  2  0.74836
  3  1.25946
  4  1.24077
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) = 11270.3008673
delta logL = 1.45519152284e-11

Extracting fit parameters...

4FGL J0857.9-1949
   Spectrum: PowerLaw
290    Prefactor:  0.000e+00  1.771e-06  0.000e+00  1.000e+06 ( 1.000e-12)
291        Index:  1.250e+00  7.484e-01  0.000e+00  1.000e+01 (-1.000e+00)
292        Scale:  6.951e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  1.038e+00  1.241e+00  0.000e+00  1.000e+01 ( 1.000e+00)
553        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
554        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  8.819e-01  1.259e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 134.491 -19.817

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27138116/cmap_HighResolution_801014401_801273601_4FGL_J0857.9-1949_daily_bin2167.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.19e-03', job_status='DONE', photon_flux_upper_limit='6.66e-08', time_completed='2026-05-24 06:37:49.943365', job_id='27138116', GAL2='1.04', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1779629869.94', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.46e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='2167' AND source_name='4FGL J0857.9-1949' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 24 06:37:50 PDT 2026

