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

 FCN=   10606.85     FROM HESSE     STATUS=OK           339 CALLS     1877 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.791        12.218        .27219E-03   -1.5634    
   2  Prefactor     15.075        37.321        .25129E-03   -1.5630    
   3  norm          .16653E-09    12.121        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     27.180        17.741        .18944E-03   -1.5604    
   5  Prefactor     .35971E-07    55.942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        6.6306        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     25.078        32.656        .19907E-03   -1.5608    
   8  Prefactor     15.100        22.355        .25638E-03   -1.5630    
   9  Prefactor     .18563E-06    67.503        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.5137        3.9843        .47367E-03   -1.5665    
  11  norm          6.1672        4.6243        .40432E-03   -1.5658    
  12  norm          1.0038        1.2595        .11182E-02   -1.5688    
  13  Prefactor     95.850        94.799        .11397E-03   -1.5512    
  14  Prefactor     16.347        40.941        .24313E-03   -1.5627    
  15  Prefactor     .11102E-09    30.725        .16466E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          14.409        10.882        .26289E-03   -1.5632    
  17  Prefactor     9.3091        16.263        .33125E-03   -1.5647    
  18  norm          2.1847        1.3109        .69640E-03   -1.5678    
  19  Normalizat    1.3040        .27339        .10249       -.83447    
  20  Prefactor     .92327        .79676E-01    .45288E-01   -.95333    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.93441e-07
Minuit parameter uncertainties:
  1  12.218
  2  37.322
  3  8.98935e-05
  4  17.7412
  5  0.00283799
  6  1.51405e-05
  7  32.6566
  8  22.355
  9  0.00708001
  10  3.9843
  11  4.62431
  12  1.25951
  13  94.8006
  14  40.9416
  15  0.000117438
  16  10.8817
  17  16.2629
  18  1.31086
  19  0.273695
  20  0.0796861
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

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

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

number of points = 7570
number of fields = 31
RA_SUN column already exists. File will not be modified.
 outfile=/lscratch/kocevski/31706982/ltcube_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.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/31706982/ft2_4FGL_J1842.4-5840_daily_bin2183.fits
.....................!
real 7.39
user 6.81
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31706982/ft1_filtered_4FGL_J1842.4-5840_daily_bin2183.fits evtable="EVENTS" scfile=/lscratch/kocevski/31706982/ft2_4FGL_J1842.4-5840_daily_bin2183.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31706982/ltcube_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.fits outfile=/lscratch/kocevski/31706982/expmap_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.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/31706982/ltcube_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.fits
.....................!
real 60.02
user 55.88
sys 3.47

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J1642.1-5428 in ROI with RadialDisk spatial model.
Extended source HESS J1614-518 in ROI with RadialDisk spatial model.
Extended source FGES J1631.6-4756 in ROI with RadialDisk spatial model.
Extended source FGES J1633.0-4746 in ROI with RadialDisk spatial model.
Extended source G337.0-0.1 in ROI with RadialDisk spatial model.
Extended source FGES J1652.2-4633 in ROI with RadialDisk spatial model.
Extended source FGES J1655.5-4737 in ROI with RadialDisk spatial model.
Extended source FHES J1741.6-3917 in ROI with RadialDisk spatial model.
Added 290 point sources and 8 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1842.4-5840 @ 280.611 -58.6802

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31706982/ft1_filtered_4FGL_J1842.4-5840_daily_bin2183.fits scfile=/lscratch/kocevski/31706982/ft2_4FGL_J1842.4-5840_daily_bin2183.fits outfile=/lscratch/kocevski/31706982/cmap_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.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=280.611 yref=-58.6802 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.71
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31706982/ft1_filtered_4FGL_J1842.4-5840_daily_bin2183.fits scfile=/lscratch/kocevski/31706982/ft2_4FGL_J1842.4-5840_daily_bin2183.fits outfile=/lscratch/kocevski/31706982/cmap_HighResolution_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.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=280.611 yref=-58.6802 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=noDone.


Performing analysis on: 4FGL_J1842.4-5840_daily_bin2183
RA = 280.611, Dec = -58.6802
tmin = 805161601, tmax = 805420801
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='31707113', job_status='RUN', time_executed='2026-07-14 22:10:01.822274', time_epoch_executed='1784092201.82' WHERE source_name='4FGL J1842.4-5840' and cadence='daily' and bin_id='2183'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31707113

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31707113/ft1_4FGL_J1842.4-5840_daily_bin2183.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31707113/ft2_4FGL_J1842.4-5840_daily_bin2183.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31707113/ft1_4FGL_J1842.4-5840_daily_bin2183.fits outfile=/lscratch/kocevski/31707113/ft1_filteredMKT_4FGL_J1842.4-5840_daily_bin2183.fits ra=280.611 dec=-58.6802 rad=12.0 tmin=805161601.0 tmax=805420801.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.50
user 1.93
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31707113/ft2_4FGL_J1842.4-5840_daily_bin2183.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31707113/ft2_4FGL_J1842.4-5840_daily_bin2183.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/31707113/ft1_filteredMKT_4FGL_J1842.4-5840_daily_bin2183.fits evtable="EVENTS" outfile="/lscratch/kocevski/31707113/ft1_filtered_4FGL_J1842.4-5840_daily_bin2183.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1051

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31707113/ft1_filtered_4FGL_J1842.4-5840_daily_bin2183.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31707113/ft2_4FGL_J1842.4-5840_daily_bin2183.fits sctable="SC_DATA"number of points = 7570
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1842.4-5840_daily_bin2183
RA = 280.611, Dec = -58.6802
tmin = 805161601, tmax = 805420801
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='31707158', job_status='RUN', time_executed='2026-07-14 22:10:56.570237', time_epoch_executed='1784092256.57' WHERE source_name='4FGL J1842.4-5840' and cadence='daily' and bin_id='2183'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31707158

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31707158/ft1_4FGL_J1842.4-5840_daily_bin2183.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31707158/ft2_4FGL_J1842.4-5840_daily_bin2183.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31707158/ft1_4FGL_J1842.4-5840_daily_bin2183.fits outfile=/lscratch/kocevski/31707158/ft1_filteredMKT_4FGL_J1842.4-5840_daily_bin2183.fits ra=280.611 dec=-58.6802 rad=12.0 tmin=805161601.0 tmax=805420801.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.37
user 1.85
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31707158/ft2_4FGL_J1842.4-5840_daily_bin2183.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31707158/ft2_4FGL_J1842.4-5840_daily_bin2183.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/31707158/ft1_filteredMKT_4FGL_J1842.4-5840_daily_bin2183.fits evtable="EVENTS" outfile="/lscratch/kocevski/31707158/ft1_filtered_4FGL_J1842.4-5840_daily_bin2183.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.87
user 0.19
sys 0.12

Number of photons that the gtmktime cut: 1051

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31707158/ft1_filtered_4FGL_J1842.4-5840_daily_bin2183.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31707158/ft2_4FGL_J1842.4-5840_daily_bin2183.fits sctable="SC_DATA" mode="ql"

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

This is gtbin version HEAD
real 0.62
user 0.23
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31706768/ft1_filtered_4FGL_J1842.4-5840_daily_bin2183.fits evtable="EVENTS" scfile=/lscratch/kocevski/31706768/ft2_4FGL_J1842.4-5840_daily_bin2183.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31706768/Model_4FGL_J1842.4-5840_daily_bin2183.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 FGES J1631.6-4756
adding source FGES J1633.0-4746
adding source FGES J1652.2-4633
adding source FGES J1655.5-4737
adding source FHES J1642.1-5428
adding source FHES J1741.6-3917
adding source G337.0-0.1
adding source GAL_V02
adding source HESS J1614-518
Working on...
/lscratch/kocevski/31706768/ft1_filtered_4FGL_J1842.4-5840_daily_bin2183.fits.....................!
real 40.69
user 38.83
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31706768/ft1_filtered_4FGL_J1842.4-5840_daily_bin2183.fits', '/lscratch/kocevski/31706768/ft2_4FGL_J1842.4-5840_daily_bin2183.fits', expMap='/lscratch/kocevski/31706768/expmap_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.fits', expCube='/lscratch/kocevski/31706768/ltcube_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31706768/Model_4FGL_J1842.4-5840_daily_bin2183.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1842.4-5840'

4FGL J1842.4-5840
   Spectrum: PowerLaw
708    Prefactor:  5.229e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-15)
709        Index:  1.682e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
710        Scale:  7.602e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31706768/ft1_filtered_4FGL_J1842.4-5840_daily_bin2183.fits
Spacecraft file(s): /lscratch/kocevski/31706768/ft2_4FGL_J1842.4-5840_daily_bin2183.fits
Exposure map: /lscratch/kocevski/31706768/expmap_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.fits
Exposure cube: /lscratch/kocevski/31706768/ltcube_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31706768/Model_4FGL_J1842.4-5840_daily_bin2183.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) = 10607.3573983

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.516       1.0000          .0000       .10000E+07
     2 'Prefactor '    15.852       1.0000          .0000       .10000E+07
     3 'norm      '    .16451E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    27.875       1.0000          .0000       .10000E+07
     5 'Prefactor '    .13116E-01   1.0000          .0000       .10000E+07
     6 'norm      '    .87819E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    25.244       1.0000          .0000       .10000E+07
     8 'Prefactor '    15.230       1.0000          .0000       .10000E+07
     9 'Prefactor '    .61789E-04   1.0000          .0000       .10000E+07
    10 'norm      '    4.5131       1.0000          .0000       .10000E+07
    11 'norm      '    6.1582       1.0000          .0000       .10000E+07
    12 'norm      '    1.1124       1.0000          .0000       .10000E+07
    13 'Prefactor '    76.993       1.0000          .0000       .10000E+07
    14 'Prefactor '    16.932       1.0000          .0000 mode="ql"

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

This is gtbin version HEAD
real 0.68
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31706769/ft1_filtered_4FGL_J1842.4-5840_daily_bin2183.fits evtable="EVENTS" scfile=/lscratch/kocevski/31706769/ft2_4FGL_J1842.4-5840_daily_bin2183.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31706769/Model_4FGL_J1842.4-5840_daily_bin2183.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 FGES J1631.6-4756
adding source FGES J1633.0-4746
adding source FGES J1652.2-4633
adding source FGES J1655.5-4737
adding source FHES J1642.1-5428
adding source FHES J1741.6-3917
adding source G337.0-0.1
adding source GAL_V02
adding source HESS J1614-518
Working on...
/lscratch/kocevski/31706769/ft1_filtered_4FGL_J1842.4-5840_daily_bin2183.fits.....................!
real 41.63
user 39.44
sys 1.45

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31706769/ft1_filtered_4FGL_J1842.4-5840_daily_bin2183.fits', '/lscratch/kocevski/31706769/ft2_4FGL_J1842.4-5840_daily_bin2183.fits', expMap='/lscratch/kocevski/31706769/expmap_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.fits', expCube='/lscratch/kocevski/31706769/ltcube_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31706769/Model_4FGL_J1842.4-5840_daily_bin2183.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1842.4-5840'

4FGL J1842.4-5840
   Spectrum: PowerLaw
708    Prefactor:  5.229e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-15)
709        Index:  1.682e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
710        Scale:  7.602e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31706769/ft1_filtered_4FGL_J1842.4-5840_daily_bin2183.fits
Spacecraft file(s): /lscratch/kocevski/31706769/ft2_4FGL_J1842.4-5840_daily_bin2183.fits
Exposure map: /lscratch/kocevski/31706769/expmap_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.fits
Exposure cube: /lscratch/kocevski/31706769/ltcube_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31706769/Model_4FGL_J1842.4-5840_daily_bin2183.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) = 10607.3573983

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.516       1.0000          .0000       .10000E+07
     2 'Prefactor '    15.852       1.0000          .0000       .10000E+07
     3 'norm      '    .16451E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    27.875       1.0000          .0000       .10000E+07
     5 'Prefactor '    .13116E-01   1.0000          .0000       .10000E+07
     6 'norm      '    .87819E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    25.244       1.0000          .0000       .10000E+07
     8 'Prefactor '    15.230       1.0000          .0000       .10000E+07
     9 'Prefactor '    .61789E-04   1.0000          .0000       .10000E+07
    10 'norm      '    4.5131       1.0000          .0000       .10000E+07
    11 'norm      '    6.1582       1.0000          .0000       .10000E+07
    12 'norm      '    1.1124       1.0000          .0000       .10000E+07
    13 'Prefactor '    76.993       1.0000          .0000       .10000E+07
    14 'Prefactor '    16.932       1.0000          .0000Done.

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

Extracting fit parameters...

4FGL J1842.4-5840
   Spectrum: PowerLaw
708    Prefactor:  1.110e-10  1.174e-04  0.000e+00  1.000e+06 ( 1.000e-15)
709        Index:  1.682e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
710        Scale:  7.602e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1036    Prefactor:  9.233e-01  7.969e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1037        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1038        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1012   Normalization:  1.304e+00  2.737e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 280.611 -58.680
Photon Flux Upper Limit: 3.5994707392e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0026217814532 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31706569/likelihoodResults_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.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) = 10606.8699598
delta logL = -0.015521131776

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10606.85444
delta logL = -1.31650995172e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .37958E-04   1.0000          .0000       .10000E+07
     2 'Index     '    .25482       1.0000          .0000       10.000    
     3 'Normalizat'    1.3037       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92331       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1043E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10606.85     FROM MIGRAD    STATUS=CONVERGED     73 CALLS      252 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .39524E-07    25.529        .42118E-03** at limit **
   2  Index         .24631        5.4411        .36112       -.17000E-08
   3  Normalizat    1.3040        .25992        .10249       -.38061E-03
   4  Prefactor     .92328        .77330E-01    .45301E-01   -.18092E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.95239e-08
  Index      = 0.246308
  Normalizat = 1.30399
  Prefactor  = 0.923276
 mode="ql"

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

This is gtbin version HEAD
real 0.70
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31706767/ft1_filtered_4FGL_J1842.4-5840_daily_bin2183.fits evtable="EVENTS" scfile=/lscratch/kocevski/31706767/ft2_4FGL_J1842.4-5840_daily_bin2183.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31706767/Model_4FGL_J1842.4-5840_daily_bin2183.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 FGES J1631.6-4756
adding source FGES J1633.0-4746
adding source FGES J1652.2-4633
adding source FGES J1655.5-4737
adding source FHES J1642.1-5428
adding source FHES J1741.6-3917
adding source G337.0-0.1
adding source GAL_V02
adding source HESS J1614-518
Working on...
/lscratch/kocevski/31706767/ft1_filtered_4FGL_J1842.4-5840_daily_bin2183.fits.....................!
real 40.54
user 39.14
sys 0.74

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31706767/ft1_filtered_4FGL_J1842.4-5840_daily_bin2183.fits', '/lscratch/kocevski/31706767/ft2_4FGL_J1842.4-5840_daily_bin2183.fits', expMap='/lscratch/kocevski/31706767/expmap_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.fits', expCube='/lscratch/kocevski/31706767/ltcube_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31706767/Model_4FGL_J1842.4-5840_daily_bin2183.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1842.4-5840'

4FGL J1842.4-5840
   Spectrum: PowerLaw
708    Prefactor:  5.229e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-15)
709        Index:  1.682e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
710        Scale:  7.602e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31706767/ft1_filtered_4FGL_J1842.4-5840_daily_bin2183.fits
Spacecraft file(s): /lscratch/kocevski/31706767/ft2_4FGL_J1842.4-5840_daily_bin2183.fits
Exposure map: /lscratch/kocevski/31706767/expmap_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.fits
Exposure cube: /lscratch/kocevski/31706767/ltcube_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31706767/Model_4FGL_J1842.4-5840_daily_bin2183.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) = 10607.3573983

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.516       1.0000          .0000       .10000E+07
     2 'Prefactor '    15.852       1.0000          .0000       .10000E+07
     3 'norm      '    .16451E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    27.875       1.0000          .0000       .10000E+07
     5 'Prefactor '    .13116E-01   1.0000          .0000       .10000E+07
     6 'norm      '    .87819E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    25.244       1.0000          .0000       .10000E+07
     8 'Prefactor '    15.230       1.0000          .0000       .10000E+07
     9 'Prefactor '    .61789E-04   1.0000          .0000       .10000E+07
    10 'norm      '    4.5131       1.0000          .0000       .10000E+07
    11 'norm      '    6.1582       1.0000          .0000       .10000E+07
    12 'norm      '    1.1124       1.0000          .0000       .10000E+07
    13 'Prefactor '    76.993       1.0000          .0000       .10000E+07
    14 'Prefactor '    16.932       1.0000          .0000 **********
 **   18 **HESSE 
 **********

 FCN=   10606.85     FROM HESSE     STATUS=OK            31 CALLS      283 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .39524E-07    25.510        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .24631        5.4405        .50000       -1.2556    
   3  Normalizat    1.3040        .30657        .45417E-03   -.83447    
   4  Prefactor     .92328        .91465E-01    .15630E-03   -.95332    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.60952e-09
Minuit parameter uncertainties:
  1  0.00200821
  2  1.54998
  3  0.307003
  4  0.0914802
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10606.8544387
delta logL = -1.30057742354e-09

Extracting fit parameters...

4FGL J1842.4-5840
   Spectrum: PowerLaw
708    Prefactor:  3.952e-08  2.008e-03  0.000e+00  1.000e+06 ( 1.000e-15)
709        Index:  2.463e-01  1.550e+00  0.000e+00  1.000e+01 (-1.000e+00)
710        Scale:  7.602e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1036    Prefactor:  9.233e-01  9.148e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1037        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1038        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1012   Normalization:  1.304e+00  3.070e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 280.611 -58.680

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/31706569/cmap_HighResolution_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.62e-03', job_status='DONE', photon_flux_upper_limit='3.60e-08', time_completed='2026-07-14 22:12:30.514430', job_id='31706569', GAL2='0.92', fit_tolerance='1e-08', EG2='1.30', EG='1.30', time_epoch_completed='1784092350.51', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='-1.30e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.68' WHERE bin_id='2183' AND source_name='4FGL J1842.4-5840' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul 14 22:12:30 PDT 2026

 outfile=/lscratch/kocevski/31707113/ltcube_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.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/31707113/ft2_4FGL_J1842.4-5840_daily_bin2183.fits
.....................!
real 8.06
user 7.43
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31707113/ft1_filtered_4FGL_J1842.4-5840_daily_bin2183.fits evtable="EVENTS" scfile=/lscratch/kocevski/31707113/ft2_4FGL_J1842.4-5840_daily_bin2183.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31707113/ltcube_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.fits outfile=/lscratch/kocevski/31707113/expmap_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.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/31707113/ltcube_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.fits
.....................!
real 65.19
user 60.59
sys 3.85

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J1642.1-5428 in ROI with RadialDisk spatial model.
Extended source HESS J1614-518 in ROI with RadialDisk spatial model.
Extended source FGES J1631.6-4756 in ROI with RadialDisk spatial model.
Extended source FGES J1633.0-4746 in ROI with RadialDisk spatial model.
Extended source G337.0-0.1 in ROI with RadialDisk spatial model.
Extended source FGES J1652.2-4633 in ROI with RadialDisk spatial model.
Extended source FGES J1655.5-4737 in ROI with RadialDisk spatial model.
Extended source FHES J1741.6-3917 in ROI with RadialDisk spatial model.
Added 290 point sources and 8 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1842.4-5840 @ 280.611 -58.6802

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31707113/ft1_filtered_4FGL_J1842.4-5840_daily_bin2183.fits scfile=/lscratch/kocevski/31707113/ft2_4FGL_J1842.4-5840_daily_bin2183.fits outfile=/lscratch/kocevski/31707113/cmap_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.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=280.611 yref=-58.6802 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.66
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31707113/ft1_filtered_4FGL_J1842.4-5840_daily_bin2183.fits scfile=/lscratch/kocevski/31707113/ft2_4FGL_J1842.4-5840_daily_bin2183.fits outfile=/lscratch/kocevski/31707113/cmap_HighResolution_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.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=280.611 yref=-58.6802 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       .10000E+07
    15 'Prefactor '    .29709E-01   1.0000          .0000       .10000E+07
    16 'norm      '    14.487       1.0000          .0000       .10000E+07
    17 'Prefactor '    9.1409       1.0000          .0000       .10000E+07
    18 'norm      '    2.1832       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.3087       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .92226       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1043E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10606.85     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1538 TOTAL
                     EDM=   .99E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.791        12.213        .14447E-06    .44784E-03
   2  Prefactor     15.075        8.7105       -.95763E-07   -.29351E-02
   3  norm          .16653E-09    12.091       -.11494E-06** at limit **
   4  Prefactor     27.180        17.395        .58124E-06    .34251E-02
   5  Prefactor     .35971E-07    55.875       -.39587E-06** at limit **
   6  norm           .0000        6.6357        .14059E-06** at limit **
   7  Prefactor     25.078        7.4619       -.11114E-07    .37712E-02
   8  Prefactor     15.100        12.265        .10174E-06   -.33925E-02
   9  Prefactor     .18563E-06    63.368       -.15919E-05** at limit **
  10  norm          4.5137        3.9820       -.37847E-06   -.25296E-04
  11  norm          6.1672        4.6109       -.16685E-06    .34872E-03
  12  norm          1.0038        1.1919       -.26701E-06    .38426E-02
  13  Prefactor     95.850        93.059        .56805E-06   -.11345E-02
  14  Prefactor     16.347        6.1065        .83913E-07   -.42088E-01
  15  Prefactor     .11102E-09    31.056        .27074E-05** at limit **
  16  norm          14.409        10.889        .50450E-08    .12315E-02
  17  Prefactor     9.3091        16.175       -.13332E-05   -.53668E-02
  18  norm          2.1847        1.3113        .10223E-06   -.24015E-02
  19  Normalizat    1.3040        .32107        .96369E-06    .46379E-05
  20  Prefactor     .92327        .95340E-01   -.23850E-05   -.11612E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.7913
  Prefactor  = 15.0747
  norm       = 1.66533e-10
  Prefactor  = 27.1799
  Prefactor  = 3.59712e-08
  norm       = 0
  Prefactor  = 25.0776
  Prefactor  = 15.0997
  Prefactor  = 1.85629e-07
  norm       = 4.51368
  norm       = 6.16718
  norm       = 1.00383
  Prefactor  = 95.8502
  Prefactor  = 16.3466
  Prefactor  = 1.11022e-10
  norm       = 14.409
  Prefactor  = 9.30914
  norm       = 2.18468
  Normalizat = 1.304
  Prefactor  = 0.923273
       .10000E+07
    15 'Prefactor '    .29709E-01   1.0000          .0000       .10000E+07
    16 'norm      '    14.487       1.0000          .0000       .10000E+07
    17 'Prefactor '    9.1409       1.0000          .0000       .10000E+07
    18 'norm      '    2.1832       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.3087       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .92226       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1043E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10606.85     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1538 TOTAL
                     EDM=   .99E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.791        12.213        .14447E-06    .44784E-03
   2  Prefactor     15.075        8.7105       -.95763E-07   -.29351E-02
   3  norm          .16653E-09    12.091       -.11494E-06** at limit **
   4  Prefactor     27.180        17.395        .58124E-06    .34251E-02
   5  Prefactor     .35971E-07    55.875       -.39587E-06** at limit **
   6  norm           .0000        6.6357        .14059E-06** at limit **
   7  Prefactor     25.078        7.4619       -.11114E-07    .37712E-02
   8  Prefactor     15.100        12.265        .10174E-06   -.33925E-02
   9  Prefactor     .18563E-06    63.368       -.15919E-05** at limit **
  10  norm          4.5137        3.9820       -.37847E-06   -.25296E-04
  11  norm          6.1672        4.6109       -.16685E-06    .34872E-03
  12  norm          1.0038        1.1919       -.26701E-06    .38426E-02
  13  Prefactor     95.850        93.059        .56805E-06   -.11345E-02
  14  Prefactor     16.347        6.1065        .83913E-07   -.42088E-01
  15  Prefactor     .11102E-09    31.056        .27074E-05** at limit **
  16  norm          14.409        10.889        .50450E-08    .12315E-02
  17  Prefactor     9.3091        16.175       -.13332E-05   -.53668E-02
  18  norm          2.1847        1.3113        .10223E-06   -.24015E-02
  19  Normalizat    1.3040        .32107        .96369E-06    .46379E-05
  20  Prefactor     .92327        .95340E-01   -.23850E-05   -.11612E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.7913
  Prefactor  = 15.0747
  norm       = 1.66533e-10
  Prefactor  = 27.1799
  Prefactor  = 3.59712e-08
  norm       = 0
  Prefactor  = 25.0776
  Prefactor  = 15.0997
  Prefactor  = 1.85629e-07
  norm       = 4.51368
  norm       = 6.16718
  norm       = 1.00383
  Prefactor  = 95.8502
  Prefactor  = 16.3466
  Prefactor  = 1.11022e-10
  norm       = 14.409
  Prefactor  = 9.30914
  norm       = 2.18468
  Normalizat = 1.304
  Prefactor  = 0.923273
       .10000E+07
    15 'Prefactor '    .29709E-01   1.0000          .0000       .10000E+07
    16 'norm      '    14.487       1.0000          .0000       .10000E+07
    17 'Prefactor '    9.1409       1.0000          .0000       .10000E+07
    18 'norm      '    2.1832       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.3087       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .92226       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1043E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10606.85     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1538 TOTAL
                     EDM=   .99E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.791        12.213        .14447E-06    .44784E-03
   2  Prefactor     15.075        8.7105       -.95763E-07   -.29351E-02
   3  norm          .16653E-09    12.091       -.11494E-06** at limit **
   4  Prefactor     27.180        17.395        .58124E-06    .34251E-02
   5  Prefactor     .35971E-07    55.875       -.39587E-06** at limit **
   6  norm           .0000        6.6357        .14059E-06** at limit **
   7  Prefactor     25.078        7.4619       -.11114E-07    .37712E-02
   8  Prefactor     15.100        12.265        .10174E-06   -.33925E-02
   9  Prefactor     .18563E-06    63.368       -.15919E-05** at limit **
  10  norm          4.5137        3.9820       -.37847E-06   -.25296E-04
  11  norm          6.1672        4.6109       -.16685E-06    .34872E-03
  12  norm          1.0038        1.1919       -.26701E-06    .38426E-02
  13  Prefactor     95.850        93.059        .56805E-06   -.11345E-02
  14  Prefactor     16.347        6.1065        .83913E-07   -.42088E-01
  15  Prefactor     .11102E-09    31.056        .27074E-05** at limit **
  16  norm          14.409        10.889        .50450E-08    .12315E-02
  17  Prefactor     9.3091        16.175       -.13332E-05   -.53668E-02
  18  norm          2.1847        1.3113        .10223E-06   -.24015E-02
  19  Normalizat    1.3040        .32107        .96369E-06    .46379E-05
  20  Prefactor     .92327        .95340E-01   -.23850E-05   -.11612E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.7913
  Prefactor  = 15.0747
  norm       = 1.66533e-10
  Prefactor  = 27.1799
  Prefactor  = 3.59712e-08
  norm       = 0
  Prefactor  = 25.0776
  Prefactor  = 15.0997
  Prefactor  = 1.85629e-07
  norm       = 4.51368
  norm       = 6.16718
  norm       = 1.00383
  Prefactor  = 95.8502
  Prefactor  = 16.3466
  Prefactor  = 1.11022e-10
  norm       = 14.409
  Prefactor  = 9.30914
  norm       = 2.18468
  Normalizat = 1.304
  Prefactor  = 0.923273
 **********
 **   18 **HESSE 
 **********

 FCN=   10606.85     FROM HESSE     STATUS=OK           339 CALLS     1877 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.791        12.218        .27219E-03   -1.5634    
   2  Prefactor     15.075        37.321        .25129E-03   -1.5630    
   3  norm          .16653E-09    12.121        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     27.180        17.741        .18944E-03   -1.5604    
   5  Prefactor     .35971E-07    55.942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        6.6306        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     25.078        32.656        .19907E-03   -1.5608    
   8  Prefactor     15.100        22.355        .25638E-03   -1.5630    
   9  Prefactor     .18563E-06    67.503        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.5137        3.9843        .47367E-03   -1.5665    
  11  norm          6.1672        4.6243        .40432E-03   -1.5658    
  12  norm          1.0038        1.2595        .11182E-02   -1.5688    
  13  Prefactor     95.850        94.799        .11397E-03   -1.5512    
  14  Prefactor     16.347        40.941        .24313E-03   -1.5627    
  15  Prefactor     .11102E-09    30.725        .16466E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          14.409        10.882        .26289E-03   -1.5632    
  17  Prefactor     9.3091        16.263        .33125E-03   -1.5647    
  18  norm          2.1847        1.3109        .69640E-03   -1.5678    
  19  Normalizat    1.3040        .27339        .10249       -.83447    
  20  Prefactor     .92327        .79676E-01    .45288E-01   -.95333    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.93441e-07
Minuit parameter uncertainties:
  1  12.218
  2  37.322
  3  8.98935e-05
  4  17.7412
  5  0.00283799
  6  1.51405e-05
  7  32.6566
  8  22.355
  9  0.00708001
  10  3.9843
  11  4.62431
  12  1.25951
  13  94.8006
  14  40.9416
  15  0.000117438
  16  10.8817
  17  16.2629
  18  1.31086
  19  0.273695
  20  0.0796861
 **********
 **   18 **HESSE 
 **********

 FCN=   10606.85     FROM HESSE     STATUS=OK           339 CALLS     1877 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.791        12.218        .27219E-03   -1.5634    
   2  Prefactor     15.075        37.321        .25129E-03   -1.5630    
   3  norm          .16653E-09    12.121        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     27.180        17.741        .18944E-03   -1.5604    
   5  Prefactor     .35971E-07    55.942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        6.6306        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     25.078        32.656        .19907E-03   -1.5608    
   8  Prefactor     15.100        22.355        .25638E-03   -1.5630    
   9  Prefactor     .18563E-06    67.503        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.5137        3.9843        .47367E-03   -1.5665    
  11  norm          6.1672        4.6243        .40432E-03   -1.5658    
  12  norm          1.0038        1.2595        .11182E-02   -1.5688    
  13  Prefactor     95.850        94.799        .11397E-03   -1.5512    
  14  Prefactor     16.347        40.941        .24313E-03   -1.5627    
  15  Prefactor     .11102E-09    30.725        .16466E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          14.409        10.882        .26289E-03   -1.5632    
  17  Prefactor     9.3091        16.263        .33125E-03   -1.5647    
  18  norm          2.1847        1.3109        .69640E-03   -1.5678    
  19  Normalizat    1.3040        .27339        .10249       -.83447    
  20  Prefactor     .92327        .79676E-01    .45288E-01   -.95333    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.93441e-07
Minuit parameter uncertainties:
  1  12.218
  2  37.322
  3  8.98935e-05
  4  17.7412
  5  0.00283799
  6  1.51405e-05
  7  32.6566
  8  22.355
  9  0.00708001
  10  3.9843
  11  4.62431
  12  1.25951
  13  94.8006
  14  40.9416
  15  0.000117438
  16  10.8817
  17  16.2629
  18  1.31086
  19  0.273695
  20  0.0796861
 outfile=/lscratch/kocevski/31707158/ltcube_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.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/31707158/ft2_4FGL_J1842.4-5840_daily_bin2183.fits
.....................!
real 7.47
user 6.92
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31707158/ft1_filtered_4FGL_J1842.4-5840_daily_bin2183.fits evtable="EVENTS" scfile=/lscratch/kocevski/31707158/ft2_4FGL_J1842.4-5840_daily_bin2183.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31707158/ltcube_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.fits outfile=/lscratch/kocevski/31707158/expmap_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.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/31707158/ltcube_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.fits
.....................!
real 61.28
user 57.04
sys 3.63

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J1642.1-5428 in ROI with RadialDisk spatial model.
Extended source HESS J1614-518 in ROI with RadialDisk spatial model.
Extended source FGES J1631.6-4756 in ROI with RadialDisk spatial model.
Extended source FGES J1633.0-4746 in ROI with RadialDisk spatial model.
Extended source G337.0-0.1 in ROI with RadialDisk spatial model.
Extended source FGES J1652.2-4633 in ROI with RadialDisk spatial model.
Extended source FGES J1655.5-4737 in ROI with RadialDisk spatial model.
Extended source FHES J1741.6-3917 in ROI with RadialDisk spatial model.
Added 290 point sources and 8 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1842.4-5840 @ 280.611 -58.6802

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31707158/ft1_filtered_4FGL_J1842.4-5840_daily_bin2183.fits scfile=/lscratch/kocevski/31707158/ft2_4FGL_J1842.4-5840_daily_bin2183.fits outfile=/lscratch/kocevski/31707158/cmap_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.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=280.611 yref=-58.6802 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.58
user 0.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31707158/ft1_filtered_4FGL_J1842.4-5840_daily_bin2183.fits scfile=/lscratch/kocevski/31707158/ft2_4FGL_J1842.4-5840_daily_bin2183.fits outfile=/lscratch/kocevski/31707158/cmap_HighResolution_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.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=280.611 yref=-58.6802 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 **********
 **   18 **HESSE 
 **********

 FCN=   10606.85     FROM HESSE     STATUS=OK           339 CALLS     1877 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.791        12.218        .27219E-03   -1.5634    
   2  Prefactor     15.075        37.321        .25129E-03   -1.5630    
   3  norm          .16653E-09    12.121        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     27.180        17.741        .18944E-03   -1.5604    
   5  Prefactor     .35971E-07    55.942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        6.6306        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     25.078        32.656        .19907E-03   -1.5608    
   8  Prefactor     15.100        22.355        .25638E-03   -1.5630    
   9  Prefactor     .18563E-06    67.503        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.5137        3.9843        .47367E-03   -1.5665    
  11  norm          6.1672        4.6243        .40432E-03   -1.5658    
  12  norm          1.0038        1.2595        .11182E-02   -1.5688    
  13  Prefactor     95.850        94.799        .11397E-03   -1.5512    
  14  Prefactor     16.347        40.941        .24313E-03   -1.5627    
  15  Prefactor     .11102E-09    30.725        .16466E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          14.409        10.882        .26289E-03   -1.5632    
  17  Prefactor     9.3091        16.263        .33125E-03   -1.5647    
  18  norm          2.1847        1.3109        .69640E-03   -1.5678    
  19  Normalizat    1.3040        .27339        .10249       -.83447    
  20  Prefactor     .92327        .79676E-01    .45288E-01   -.95333    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.93441e-07
Minuit parameter uncertainties:
  1  12.218
  2  37.322
  3  8.98935e-05
  4  17.7412
  5  0.00283799
  6  1.51405e-05
  7  32.6566
  8  22.355
  9  0.00708001
  10  3.9843
  11  4.62431
  12  1.25951
  13  94.8006
  14  40.9416
  15  0.000117438
  16  10.8817
  17  16.2629
  18  1.31086
  19  0.273695
  20  0.0796861
 mode="ql"

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

This is gtbin version HEAD
real 0.70
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31706934/ft1_filtered_4FGL_J1842.4-5840_daily_bin2183.fits evtable="EVENTS" scfile=/lscratch/kocevski/31706934/ft2_4FGL_J1842.4-5840_daily_bin2183.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31706934/Model_4FGL_J1842.4-5840_daily_bin2183.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 FGES J1631.6-4756
adding source FGES J1633.0-4746
adding source FGES J1652.2-4633
adding source FGES J1655.5-4737
adding source FHES J1642.1-5428
adding source FHES J1741.6-3917
adding source G337.0-0.1
adding source GAL_V02
adding source HESS J1614-518
Working on...
/lscratch/kocevski/31706934/ft1_filtered_4FGL_J1842.4-5840_daily_bin2183.fits.....................!
real 41.08
user 39.01
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31706934/ft1_filtered_4FGL_J1842.4-5840_daily_bin2183.fits', '/lscratch/kocevski/31706934/ft2_4FGL_J1842.4-5840_daily_bin2183.fits', expMap='/lscratch/kocevski/31706934/expmap_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.fits', expCube='/lscratch/kocevski/31706934/ltcube_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31706934/Model_4FGL_J1842.4-5840_daily_bin2183.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1842.4-5840'

4FGL J1842.4-5840
   Spectrum: PowerLaw
708    Prefactor:  5.229e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-15)
709        Index:  1.682e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
710        Scale:  7.602e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31706934/ft1_filtered_4FGL_J1842.4-5840_daily_bin2183.fits
Spacecraft file(s): /lscratch/kocevski/31706934/ft2_4FGL_J1842.4-5840_daily_bin2183.fits
Exposure map: /lscratch/kocevski/31706934/expmap_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.fits
Exposure cube: /lscratch/kocevski/31706934/ltcube_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31706934/Model_4FGL_J1842.4-5840_daily_bin2183.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) = 10607.3573983

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.516       1.0000          .0000       .10000E+07
     2 'Prefactor '    15.852       1.0000          .0000       .10000E+07
     3 'norm      '    .16451E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    27.875       1.0000          .0000       .10000E+07
     5 'Prefactor '    .13116E-01   1.0000          .0000       .10000E+07
     6 'norm      '    .87819E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    25.244       1.0000          .0000       .10000E+07
     8 'Prefactor '    15.230       1.0000          .0000       .10000E+07
     9 'Prefactor '    .61789E-04   1.0000          .0000       .10000E+07
    10 'norm      '    4.5131       1.0000          .0000       .10000E+07
    11 'norm      '    6.1582       1.0000          .0000       .10000E+07
    12 'norm      '    1.1124       1.0000          .0000       .10000E+07
    13 'Prefactor '    76.993       1.0000          .0000       .10000E+07
    14 'Prefactor '    16.932       1.0000          .0000       .10000E+07
    15 'Prefactor '    .29709E-01   1.0000          .0000       .10000E+07
    16 'norm      '    14.487       1.0000          .0000       .10000E+07
    17 'Prefactor '    9.1409       1.0000          .0000       .10000E+07
    18 'norm      '    2.1832       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.3087       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .92226       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1043E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10606.85     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1538 TOTAL
                     EDM=   .99E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.791        12.213        .14447E-06    .44784E-03
   2  Prefactor     15.075        8.7105       -.95763E-07   -.29351E-02
   3  norm          .16653E-09    12.091       -.11494E-06** at limit **
   4  Prefactor     27.180        17.395        .58124E-06    .34251E-02
   5  Prefactor     .35971E-07    55.875       -.39587E-06** at limit **
   6  norm           .0000        6.6357        .14059E-06** at limit **
   7  Prefactor     25.078        7.4619       -.11114E-07    .37712E-02
   8  Prefactor     15.100        12.265        .10174E-06   -.33925E-02
   9  Prefactor     .18563E-06    63.368       -.15919E-05** at limit **
  10  norm          4.5137        3.9820       -.37847E-06   -.25296E-04
  11  norm          6.1672        4.6109       -.16685E-06    .34872E-03
  12  norm          1.0038        1.1919       -.26701E-06    .38426E-02
  13  Prefactor     95.850        93.059        .56805E-06   -.11345E-02
  14  Prefactor     16.347        6.1065        .83913E-07   -.42088E-01
  15  Prefactor     .11102E-09    31.056        .27074E-05** at limit **
  16  norm          14.409        10.889        .50450E-08    .12315E-02
  17  Prefactor     9.3091        16.175       -.13332E-05   -.53668E-02
  18  norm          2.1847        1.3113        .10223E-06   -.24015E-02
  19  Normalizat    1.3040        .32107        .96369E-06    .46379E-05
  20  Prefactor     .92327        .95340E-01   -.23850E-05   -.11612E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.7913
  Prefactor  = 15.0747
  norm       = 1.66533e-10
  Prefactor  = 27.1799
  Prefactor  = 3.59712e-08
  norm       = 0
  Prefactor  = 25.0776
  Prefactor  = 15.0997
  Prefactor  = 1.85629e-07
  norm       = 4.51368
  norm       = 6.16718
  norm       = 1.00383
  Prefactor  = 95.8502
  Prefactor  = 16.3466
  Prefactor  = 1.11022e-10
  norm       = 14.409
  Prefactor  = 9.30914
  norm       = 2.18468
  Normalizat = 1.304
  Prefactor  = 0.923273
 mode="ql"

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

This is gtbin version HEAD
real 0.71
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31706982/ft1_filtered_4FGL_J1842.4-5840_daily_bin2183.fits evtable="EVENTS" scfile=/lscratch/kocevski/31706982/ft2_4FGL_J1842.4-5840_daily_bin2183.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31706982/Model_4FGL_J1842.4-5840_daily_bin2183.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 FGES J1631.6-4756
adding source FGES J1633.0-4746
adding source FGES J1652.2-4633
adding source FGES J1655.5-4737
adding source FHES J1642.1-5428
adding source FHES J1741.6-3917
adding source G337.0-0.1
adding source GAL_V02
adding source HESS J1614-518
Working on...
/lscratch/kocevski/31706982/ft1_filtered_4FGL_J1842.4-5840_daily_bin2183.fits.....................!
real 35.79
user 34.24
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31706982/ft1_filtered_4FGL_J1842.4-5840_daily_bin2183.fits', '/lscratch/kocevski/31706982/ft2_4FGL_J1842.4-5840_daily_bin2183.fits', expMap='/lscratch/kocevski/31706982/expmap_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.fits', expCube='/lscratch/kocevski/31706982/ltcube_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31706982/Model_4FGL_J1842.4-5840_daily_bin2183.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1842.4-5840'

4FGL J1842.4-5840
   Spectrum: PowerLaw
708    Prefactor:  5.229e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-15)
709        Index:  1.682e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
710        Scale:  7.602e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31706982/ft1_filtered_4FGL_J1842.4-5840_daily_bin2183.fits
Spacecraft file(s): /lscratch/kocevski/31706982/ft2_4FGL_J1842.4-5840_daily_bin2183.fits
Exposure map: /lscratch/kocevski/31706982/expmap_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.fits
Exposure cube: /lscratch/kocevski/31706982/ltcube_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31706982/Model_4FGL_J1842.4-5840_daily_bin2183.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) = 10607.3573983

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.516       1.0000          .0000       .10000E+07
     2 'Prefactor '    15.852       1.0000          .0000       .10000E+07
     3 'norm      '    .16451E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    27.875       1.0000          .0000       .10000E+07
     5 'Prefactor '    .13116E-01   1.0000          .0000       .10000E+07
     6 'norm      '    .87819E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    25.244       1.0000          .0000       .10000E+07
     8 'Prefactor '    15.230       1.0000          .0000       .10000E+07
     9 'Prefactor '    .61789E-04   1.0000          .0000       .10000E+07
    10 'norm      '    4.5131       1.0000          .0000       .10000E+07
    11 'norm      '    6.1582       1.0000          .0000       .10000E+07
    12 'norm      '    1.1124       1.0000          .0000       .10000E+07
    13 'Prefactor '    76.993       1.0000          .0000       .10000E+07
    14 'Prefactor '    16.932       1.0000          .0000Done.

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

Extracting fit parameters...

4FGL J1842.4-5840
   Spectrum: PowerLaw
708    Prefactor:  1.110e-10  1.174e-04  0.000e+00  1.000e+06 ( 1.000e-15)
709        Index:  1.682e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
710        Scale:  7.602e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1036    Prefactor:  9.233e-01  7.969e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1037        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1038        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1012   Normalization:  1.304e+00  2.737e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 280.611 -58.680
Photon Flux Upper Limit: 3.5994707392e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0026217814532 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31706768/likelihoodResults_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.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) = 10606.8699598
delta logL = -0.015521131776

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10606.85444
delta logL = -1.31650995172e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .37958E-04   1.0000          .0000       .10000E+07
     2 'Index     '    .25482       1.0000          .0000       10.000    
     3 'Normalizat'    1.3037       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92331       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1043E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10606.85     FROM MIGRAD    STATUS=CONVERGED     73 CALLS      252 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .39524E-07    25.529        .42118E-03** at limit **
   2  Index         .24631        5.4411        .36112       -.17000E-08
   3  Normalizat    1.3040        .25992        .10249       -.38061E-03
   4  Prefactor     .92328        .77330E-01    .45301E-01   -.18092E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.95239e-08
  Index      = 0.246308
  Normalizat = 1.30399
  Prefactor  = 0.923276
Done.

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

Extracting fit parameters...

4FGL J1842.4-5840
   Spectrum: PowerLaw
708    Prefactor:  1.110e-10  1.174e-04  0.000e+00  1.000e+06 ( 1.000e-15)
709        Index:  1.682e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
710        Scale:  7.602e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1036    Prefactor:  9.233e-01  7.969e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1037        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1038        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1012   Normalization:  1.304e+00  2.737e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 280.611 -58.680
Photon Flux Upper Limit: 3.5994707392e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0026217814532 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31706769/likelihoodResults_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.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) = 10606.8699598
delta logL = -0.015521131776

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10606.85444
delta logL = -1.31650995172e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .37958E-04   1.0000          .0000       .10000E+07
     2 'Index     '    .25482       1.0000          .0000       10.000    
     3 'Normalizat'    1.3037       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92331       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1043E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10606.85     FROM MIGRAD    STATUS=CONVERGED     73 CALLS      252 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .39524E-07    25.529        .42118E-03** at limit **
   2  Index         .24631        5.4411        .36112       -.17000E-08
   3  Normalizat    1.3040        .25992        .10249       -.38061E-03
   4  Prefactor     .92328        .77330E-01    .45301E-01   -.18092E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.95239e-08
  Index      = 0.246308
  Normalizat = 1.30399
  Prefactor  = 0.923276
       .10000E+07
    15 'Prefactor '    .29709E-01   1.0000          .0000       .10000E+07
    16 'norm      '    14.487       1.0000          .0000       .10000E+07
    17 'Prefactor '    9.1409       1.0000          .0000       .10000E+07
    18 'norm      '    2.1832       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.3087       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .92226       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1043E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10606.85     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1538 TOTAL
                     EDM=   .99E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.791        12.213        .14447E-06    .44784E-03
   2  Prefactor     15.075        8.7105       -.95763E-07   -.29351E-02
   3  norm          .16653E-09    12.091       -.11494E-06** at limit **
   4  Prefactor     27.180        17.395        .58124E-06    .34251E-02
   5  Prefactor     .35971E-07    55.875       -.39587E-06** at limit **
   6  norm           .0000        6.6357        .14059E-06** at limit **
   7  Prefactor     25.078        7.4619       -.11114E-07    .37712E-02
   8  Prefactor     15.100        12.265        .10174E-06   -.33925E-02
   9  Prefactor     .18563E-06    63.368       -.15919E-05** at limit **
  10  norm          4.5137        3.9820       -.37847E-06   -.25296E-04
  11  norm          6.1672        4.6109       -.16685E-06    .34872E-03
  12  norm          1.0038        1.1919       -.26701E-06    .38426E-02
  13  Prefactor     95.850        93.059        .56805E-06   -.11345E-02
  14  Prefactor     16.347        6.1065        .83913E-07   -.42088E-01
  15  Prefactor     .11102E-09    31.056        .27074E-05** at limit **
  16  norm          14.409        10.889        .50450E-08    .12315E-02
  17  Prefactor     9.3091        16.175       -.13332E-05   -.53668E-02
  18  norm          2.1847        1.3113        .10223E-06   -.24015E-02
  19  Normalizat    1.3040        .32107        .96369E-06    .46379E-05
  20  Prefactor     .92327        .95340E-01   -.23850E-05   -.11612E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.7913
  Prefactor  = 15.0747
  norm       = 1.66533e-10
  Prefactor  = 27.1799
  Prefactor  = 3.59712e-08
  norm       = 0
  Prefactor  = 25.0776
  Prefactor  = 15.0997
  Prefactor  = 1.85629e-07
  norm       = 4.51368
  norm       = 6.16718
  norm       = 1.00383
  Prefactor  = 95.8502
  Prefactor  = 16.3466
  Prefactor  = 1.11022e-10
  norm       = 14.409
  Prefactor  = 9.30914
  norm       = 2.18468
  Normalizat = 1.304
  Prefactor  = 0.923273
 **********
 **   18 **HESSE 
 **********

 FCN=   10606.85     FROM HESSE     STATUS=OK            31 CALLS      283 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .39524E-07    25.510        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .24631        5.4405        .50000       -1.2556    
   3  Normalizat    1.3040        .30657        .45417E-03   -.83447    
   4  Prefactor     .92328        .91465E-01    .15630E-03   -.95332    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.60952e-09
Minuit parameter uncertainties:
  1  0.00200821
  2  1.54998
  3  0.307003
  4  0.0914802
 **********
 **   18 **HESSE 
 **********

 FCN=   10606.85     FROM HESSE     STATUS=OK            31 CALLS      283 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .39524E-07    25.510        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .24631        5.4405        .50000       -1.2556    
   3  Normalizat    1.3040        .30657        .45417E-03   -.83447    
   4  Prefactor     .92328        .91465E-01    .15630E-03   -.95332    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.60952e-09
Minuit parameter uncertainties:
  1  0.00200821
  2  1.54998
  3  0.307003
  4  0.0914802
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10606.8544387
delta logL = -1.30057742354e-09

Extracting fit parameters...

4FGL J1842.4-5840
   Spectrum: PowerLaw
708    Prefactor:  3.952e-08  2.008e-03  0.000e+00  1.000e+06 ( 1.000e-15)
709        Index:  2.463e-01  1.550e+00  0.000e+00  1.000e+01 (-1.000e+00)
710        Scale:  7.602e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1036    Prefactor:  9.233e-01  9.148e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1037        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1038        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1012   Normalization:  1.304e+00  3.070e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 280.611 -58.680

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/31706768/cmap_HighResolution_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.62e-03', job_status='DONE', photon_flux_upper_limit='3.60e-08', time_completed='2026-07-14 22:15:00.559556', job_id='31706768', GAL2='0.92', fit_tolerance='1e-08', EG2='1.30', EG='1.30', time_epoch_completed='1784092500.56', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='-1.30e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.68' WHERE bin_id='2183' AND source_name='4FGL J1842.4-5840' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul 14 22:15:00 PDT 2026

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10606.8544387
delta logL = -1.30057742354e-09

Extracting fit parameters...

4FGL J1842.4-5840
   Spectrum: PowerLaw
708    Prefactor:  3.952e-08  2.008e-03  0.000e+00  1.000e+06 ( 1.000e-15)
709        Index:  2.463e-01  1.550e+00  0.000e+00  1.000e+01 (-1.000e+00)
710        Scale:  7.602e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1036    Prefactor:  9.233e-01  9.148e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1037        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1038        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1012   Normalization:  1.304e+00  3.070e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 280.611 -58.680

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/31706769/cmap_HighResolution_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.62e-03', job_status='DONE', photon_flux_upper_limit='3.60e-08', time_completed='2026-07-14 22:15:01.193301', job_id='31706769', GAL2='0.92', fit_tolerance='1e-08', EG2='1.30', EG='1.30', time_epoch_completed='1784092501.19', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='-1.30e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.68' WHERE bin_id='2183' AND source_name='4FGL J1842.4-5840' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul 14 22:15:01 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1842.4-5840
   Spectrum: PowerLaw
708    Prefactor:  1.110e-10  1.174e-04  0.000e+00  1.000e+06 ( 1.000e-15)
709        Index:  1.682e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
710        Scale:  7.602e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1036    Prefactor:  9.233e-01  7.969e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1037        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1038        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1012   Normalization:  1.304e+00  2.737e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 280.611 -58.680
Photon Flux Upper Limit: 3.5994707392e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0026217814532 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31706767/likelihoodResults_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.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) = 10606.8699598
delta logL = -0.015521131776

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10606.85444
delta logL = -1.31650995172e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .37958E-04   1.0000          .0000       .10000E+07
     2 'Index     '    .25482       1.0000          .0000       10.000    
     3 'Normalizat'    1.3037       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92331       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1043E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10606.85     FROM MIGRAD    STATUS=CONVERGED     73 CALLS      252 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .39524E-07    25.529        .42118E-03** at limit **
   2  Index         .24631        5.4411        .36112       -.17000E-08
   3  Normalizat    1.3040        .25992        .10249       -.38061E-03
   4  Prefactor     .92328        .77330E-01    .45301E-01   -.18092E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.95239e-08
  Index      = 0.246308
  Normalizat = 1.30399
  Prefactor  = 0.923276
 **********
 **   18 **HESSE 
 **********

 FCN=   10606.85     FROM HESSE     STATUS=OK           339 CALLS     1877 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.791        12.218        .27219E-03   -1.5634    
   2  Prefactor     15.075        37.321        .25129E-03   -1.5630    
   3  norm          .16653E-09    12.121        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     27.180        17.741        .18944E-03   -1.5604    
   5  Prefactor     .35971E-07    55.942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        6.6306        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     25.078        32.656        .19907E-03   -1.5608    
   8  Prefactor     15.100        22.355        .25638E-03   -1.5630    
   9  Prefactor     .18563E-06    67.503        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.5137        3.9843        .47367E-03   -1.5665    
  11  norm          6.1672        4.6243        .40432E-03   -1.5658    
  12  norm          1.0038        1.2595        .11182E-02   -1.5688    
  13  Prefactor     95.850        94.799        .11397E-03   -1.5512    
  14  Prefactor     16.347        40.941        .24313E-03   -1.5627    
  15  Prefactor     .11102E-09    30.725        .16466E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          14.409        10.882        .26289E-03   -1.5632    
  17  Prefactor     9.3091        16.263        .33125E-03   -1.5647    
  18  norm          2.1847        1.3109        .69640E-03   -1.5678    
  19  Normalizat    1.3040        .27339        .10249       -.83447    
  20  Prefactor     .92327        .79676E-01    .45288E-01   -.95333    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.93441e-07
Minuit parameter uncertainties:
  1  12.218
  2  37.322
  3  8.98935e-05
  4  17.7412
  5  0.00283799
  6  1.51405e-05
  7  32.6566
  8  22.355
  9  0.00708001
  10  3.9843
  11  4.62431
  12  1.25951
  13  94.8006
  14  40.9416
  15  0.000117438
  16  10.8817
  17  16.2629
  18  1.31086
  19  0.273695
  20  0.0796861
 **********
 **   18 **HESSE 
 **********

 FCN=   10606.85     FROM HESSE     STATUS=OK            31 CALLS      283 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .39524E-07    25.510        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .24631        5.4405        .50000       -1.2556    
   3  Normalizat    1.3040        .30657        .45417E-03   -.83447    
   4  Prefactor     .92328        .91465E-01    .15630E-03   -.95332    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.60952e-09
Minuit parameter uncertainties:
  1  0.00200821
  2  1.54998
  3  0.307003
  4  0.0914802
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10606.8544387
delta logL = -1.30057742354e-09

Extracting fit parameters...

4FGL J1842.4-5840
   Spectrum: PowerLaw
708    Prefactor:  3.952e-08  2.008e-03  0.000e+00  1.000e+06 ( 1.000e-15)
709        Index:  2.463e-01  1.550e+00  0.000e+00  1.000e+01 (-1.000e+00)
710        Scale:  7.602e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1036    Prefactor:  9.233e-01  9.148e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1037        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1038        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1012   Normalization:  1.304e+00  3.070e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 280.611 -58.680

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/31706767/cmap_HighResolution_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.62e-03', job_status='DONE', photon_flux_upper_limit='3.60e-08', time_completed='2026-07-14 22:15:11.948251', job_id='31706767', GAL2='0.92', fit_tolerance='1e-08', EG2='1.30', EG='1.30', time_epoch_completed='1784092511.95', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='-1.30e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.68' WHERE bin_id='2183' AND source_name='4FGL J1842.4-5840' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul 14 22:15:12 PDT 2026

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

 FCN=   10606.85     FROM HESSE     STATUS=OK           339 CALLS     1877 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.791        12.218        .27219E-03   -1.5634    
   2  Prefactor     15.075        37.321        .25129E-03   -1.5630    
   3  norm          .16653E-09    12.121        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     27.180        17.741        .18944E-03   -1.5604    
   5  Prefactor     .35971E-07    55.942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        6.6306        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     25.078        32.656        .19907E-03   -1.5608    
   8  Prefactor     15.100        22.355        .25638E-03   -1.5630    
   9  Prefactor     .18563E-06    67.503        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.5137        3.9843        .47367E-03   -1.5665    
  11  norm          6.1672        4.6243        .40432E-03   -1.5658    
  12  norm          1.0038        1.2595        .11182E-02   -1.5688    
  13  Prefactor     95.850        94.799        .11397E-03   -1.5512    
  14  Prefactor     16.347        40.941        .24313E-03   -1.5627    
  15  Prefactor     .11102E-09    30.725        .16466E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          14.409        10.882        .26289E-03   -1.5632    
  17  Prefactor     9.3091        16.263        .33125E-03   -1.5647    
  18  norm          2.1847        1.3109        .69640E-03   -1.5678    
  19  Normalizat    1.3040        .27339        .10249       -.83447    
  20  Prefactor     .92327        .79676E-01    .45288E-01   -.95333    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.93441e-07
Minuit parameter uncertainties:
  1  12.218
  2  37.322
  3  8.98935e-05
  4  17.7412
  5  0.00283799
  6  1.51405e-05
  7  32.6566
  8  22.355
  9  0.00708001
  10  3.9843
  11  4.62431
  12  1.25951
  13  94.8006
  14  40.9416
  15  0.000117438
  16  10.8817
  17  16.2629
  18  1.31086
  19  0.273695
  20  0.0796861
 mode="ql"

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

This is gtbin version HEAD
real 0.65
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31707113/ft1_filtered_4FGL_J1842.4-5840_daily_bin2183.fits evtable="EVENTS" scfile=/lscratch/kocevski/31707113/ft2_4FGL_J1842.4-5840_daily_bin2183.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31707113/Model_4FGL_J1842.4-5840_daily_bin2183.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 FGES J1631.6-4756
adding source FGES J1633.0-4746
adding source FGES J1652.2-4633
adding source FGES J1655.5-4737
adding source FHES J1642.1-5428
adding source FHES J1741.6-3917
adding source G337.0-0.1
adding source GAL_V02
adding source HESS J1614-518
Working on...
/lscratch/kocevski/31707113/ft1_filtered_4FGL_J1842.4-5840_daily_bin2183.fits.....................!
real 37.60
user 36.30
sys 0.68

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31707113/ft1_filtered_4FGL_J1842.4-5840_daily_bin2183.fits', '/lscratch/kocevski/31707113/ft2_4FGL_J1842.4-5840_daily_bin2183.fits', expMap='/lscratch/kocevski/31707113/expmap_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.fits', expCube='/lscratch/kocevski/31707113/ltcube_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31707113/Model_4FGL_J1842.4-5840_daily_bin2183.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1842.4-5840'

4FGL J1842.4-5840
   Spectrum: PowerLaw
708    Prefactor:  5.229e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-15)
709        Index:  1.682e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
710        Scale:  7.602e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31707113/ft1_filtered_4FGL_J1842.4-5840_daily_bin2183.fits
Spacecraft file(s): /lscratch/kocevski/31707113/ft2_4FGL_J1842.4-5840_daily_bin2183.fits
Exposure map: /lscratch/kocevski/31707113/expmap_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.fits
Exposure cube: /lscratch/kocevski/31707113/ltcube_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31707113/Model_4FGL_J1842.4-5840_daily_bin2183.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) = 10607.3573983

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.516       1.0000          .0000       .10000E+07
     2 'Prefactor '    15.852       1.0000          .0000       .10000E+07
     3 'norm      '    .16451E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    27.875       1.0000          .0000       .10000E+07
     5 'Prefactor '    .13116E-01   1.0000          .0000       .10000E+07
     6 'norm      '    .87819E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    25.244       1.0000          .0000       .10000E+07
     8 'Prefactor '    15.230       1.0000          .0000       .10000E+07
     9 'Prefactor '    .61789E-04   1.0000          .0000       .10000E+07
    10 'norm      '    4.5131       1.0000          .0000       .10000E+07
    11 'norm      '    6.1582       1.0000          .0000       .10000E+07
    12 'norm      '    1.1124       1.0000          .0000       .10000E+07
    13 'Prefactor '    76.993       1.0000          .0000       .10000E+07
    14 'Prefactor '    16.932       1.0000          .0000       .10000E+07
    15 'Prefactor '    .29709E-01   1.0000          .0000       .10000E+07
    16 'norm      '    14.487       1.0000          .0000       .10000E+07
    17 'Prefactor '    9.1409       1.0000          .0000       .10000E+07
    18 'norm      '    2.1832       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.3087       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .92226       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1043E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10606.85     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1538 TOTAL
                     EDM=   .99E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.791        12.213        .14447E-06    .44784E-03
   2  Prefactor     15.075        8.7105       -.95763E-07   -.29351E-02
   3  norm          .16653E-09    12.091       -.11494E-06** at limit **
   4  Prefactor     27.180        17.395        .58124E-06    .34251E-02
   5  Prefactor     .35971E-07    55.875       -.39587E-06** at limit **
   6  norm           .0000        6.6357        .14059E-06** at limit **
   7  Prefactor     25.078        7.4619       -.11114E-07    .37712E-02
   8  Prefactor     15.100        12.265        .10174E-06   -.33925E-02
   9  Prefactor     .18563E-06    63.368       -.15919E-05** at limit **
  10  norm          4.5137        3.9820       -.37847E-06   -.25296E-04
  11  norm          6.1672        4.6109       -.16685E-06    .34872E-03
  12  norm          1.0038        1.1919       -.26701E-06    .38426E-02
  13  Prefactor     95.850        93.059        .56805E-06   -.11345E-02
  14  Prefactor     16.347        6.1065        .83913E-07   -.42088E-01
  15  Prefactor     .11102E-09    31.056        .27074E-05** at limit **
  16  norm          14.409        10.889        .50450E-08    .12315E-02
  17  Prefactor     9.3091        16.175       -.13332E-05   -.53668E-02
  18  norm          2.1847        1.3113        .10223E-06   -.24015E-02
  19  Normalizat    1.3040        .32107        .96369E-06    .46379E-05
  20  Prefactor     .92327        .95340E-01   -.23850E-05   -.11612E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.7913
  Prefactor  = 15.0747
  norm       = 1.66533e-10
  Prefactor  = 27.1799
  Prefactor  = 3.59712e-08
  norm       = 0
  Prefactor  = 25.0776
  Prefactor  = 15.0997
  Prefactor  = 1.85629e-07
  norm       = 4.51368
  norm       = 6.16718
  norm       = 1.00383
  Prefactor  = 95.8502
  Prefactor  = 16.3466
  Prefactor  = 1.11022e-10
  norm       = 14.409
  Prefactor  = 9.30914
  norm       = 2.18468
  Normalizat = 1.304
  Prefactor  = 0.923273
 **********
 **   18 **HESSE 
 **********

 FCN=   10606.85     FROM HESSE     STATUS=OK           339 CALLS     1877 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.791        12.218        .27219E-03   -1.5634    
   2  Prefactor     15.075        37.321        .25129E-03   -1.5630    
   3  norm          .16653E-09    12.121        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     27.180        17.741        .18944E-03   -1.5604    
   5  Prefactor     .35971E-07    55.942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        6.6306        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     25.078        32.656        .19907E-03   -1.5608    
   8  Prefactor     15.100        22.355        .25638E-03   -1.5630    
   9  Prefactor     .18563E-06    67.503        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.5137        3.9843        .47367E-03   -1.5665    
  11  norm          6.1672        4.6243        .40432E-03   -1.5658    
  12  norm          1.0038        1.2595        .11182E-02   -1.5688    
  13  Prefactor     95.850        94.799        .11397E-03   -1.5512    
  14  Prefactor     16.347        40.941        .24313E-03   -1.5627    
  15  Prefactor     .11102E-09    30.725        .16466E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          14.409        10.882        .26289E-03   -1.5632    
  17  Prefactor     9.3091        16.263        .33125E-03   -1.5647    
  18  norm          2.1847        1.3109        .69640E-03   -1.5678    
  19  Normalizat    1.3040        .27339        .10249       -.83447    
  20  Prefactor     .92327        .79676E-01    .45288E-01   -.95333    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.93441e-07
Minuit parameter uncertainties:
  1  12.218
  2  37.322
  3  8.98935e-05
  4  17.7412
  5  0.00283799
  6  1.51405e-05
  7  32.6566
  8  22.355
  9  0.00708001
  10  3.9843
  11  4.62431
  12  1.25951
  13  94.8006
  14  40.9416
  15  0.000117438
  16  10.8817
  17  16.2629
  18  1.31086
  19  0.273695
  20  0.0796861
Done.

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

Extracting fit parameters...

4FGL J1842.4-5840
   Spectrum: PowerLaw
708    Prefactor:  1.110e-10  1.174e-04  0.000e+00  1.000e+06 ( 1.000e-15)
709        Index:  1.682e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
710        Scale:  7.602e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1036    Prefactor:  9.233e-01  7.969e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1037        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1038        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1012   Normalization:  1.304e+00  2.737e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 280.611 -58.680
Photon Flux Upper Limit: 3.5994707392e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0026217814532 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31706934/likelihoodResults_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.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) = 10606.8699598
delta logL = -0.015521131776

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10606.85444
delta logL = -1.31650995172e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .37958E-04   1.0000          .0000       .10000E+07
     2 'Index     '    .25482       1.0000          .0000       10.000    
     3 'Normalizat'    1.3037       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92331       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1043E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10606.85     FROM MIGRAD    STATUS=CONVERGED     73 CALLS      252 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .39524E-07    25.529        .42118E-03** at limit **
   2  Index         .24631        5.4411        .36112       -.17000E-08
   3  Normalizat    1.3040        .25992        .10249       -.38061E-03
   4  Prefactor     .92328        .77330E-01    .45301E-01   -.18092E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.95239e-08
  Index      = 0.246308
  Normalizat = 1.30399
  Prefactor  = 0.923276
 mode="ql"

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

This is gtbin version HEAD
real 0.69
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31707158/ft1_filtered_4FGL_J1842.4-5840_daily_bin2183.fits evtable="EVENTS" scfile=/lscratch/kocevski/31707158/ft2_4FGL_J1842.4-5840_daily_bin2183.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31707158/Model_4FGL_J1842.4-5840_daily_bin2183.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 FGES J1631.6-4756
adding source FGES J1633.0-4746
adding source FGES J1652.2-4633
adding source FGES J1655.5-4737
adding source FHES J1642.1-5428
adding source FHES J1741.6-3917
adding source G337.0-0.1
adding source GAL_V02
adding source HESS J1614-518
Working on...
/lscratch/kocevski/31707158/ft1_filtered_4FGL_J1842.4-5840_daily_bin2183.fits.....................!
real 36.61
user 34.97
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31707158/ft1_filtered_4FGL_J1842.4-5840_daily_bin2183.fits', '/lscratch/kocevski/31707158/ft2_4FGL_J1842.4-5840_daily_bin2183.fits', expMap='/lscratch/kocevski/31707158/expmap_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.fits', expCube='/lscratch/kocevski/31707158/ltcube_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31707158/Model_4FGL_J1842.4-5840_daily_bin2183.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1842.4-5840'

4FGL J1842.4-5840
   Spectrum: PowerLaw
708    Prefactor:  5.229e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-15)
709        Index:  1.682e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
710        Scale:  7.602e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31707158/ft1_filtered_4FGL_J1842.4-5840_daily_bin2183.fits
Spacecraft file(s): /lscratch/kocevski/31707158/ft2_4FGL_J1842.4-5840_daily_bin2183.fits
Exposure map: /lscratch/kocevski/31707158/expmap_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.fits
Exposure cube: /lscratch/kocevski/31707158/ltcube_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31707158/Model_4FGL_J1842.4-5840_daily_bin2183.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) = 10607.3573983

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.516       1.0000          .0000       .10000E+07
     2 'Prefactor '    15.852       1.0000          .0000       .10000E+07
     3 'norm      '    .16451E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    27.875       1.0000          .0000       .10000E+07
     5 'Prefactor '    .13116E-01   1.0000          .0000       .10000E+07
     6 'norm      '    .87819E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    25.244       1.0000          .0000       .10000E+07
     8 'Prefactor '    15.230       1.0000          .0000       .10000E+07
     9 'Prefactor '    .61789E-04   1.0000          .0000       .10000E+07
    10 'norm      '    4.5131       1.0000          .0000       .10000E+07
    11 'norm      '    6.1582       1.0000          .0000       .10000E+07
    12 'norm      '    1.1124       1.0000          .0000       .10000E+07
    13 'Prefactor '    76.993       1.0000          .0000       .10000E+07
    14 'Prefactor '    16.932       1.0000          .0000 **********
 **   18 **HESSE 
 **********

 FCN=   10606.85     FROM HESSE     STATUS=OK            31 CALLS      283 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .39524E-07    25.510        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .24631        5.4405        .50000       -1.2556    
   3  Normalizat    1.3040        .30657        .45417E-03   -.83447    
   4  Prefactor     .92328        .91465E-01    .15630E-03   -.95332    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.60952e-09
Minuit parameter uncertainties:
  1  0.00200821
  2  1.54998
  3  0.307003
  4  0.0914802
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10606.8544387
delta logL = -1.30057742354e-09

Extracting fit parameters...

4FGL J1842.4-5840
   Spectrum: PowerLaw
708    Prefactor:  3.952e-08  2.008e-03  0.000e+00  1.000e+06 ( 1.000e-15)
709        Index:  2.463e-01  1.550e+00  0.000e+00  1.000e+01 (-1.000e+00)
710        Scale:  7.602e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1036    Prefactor:  9.233e-01  9.148e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1037        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1038        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1012   Normalization:  1.304e+00  3.070e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 280.611 -58.680

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/31706934/cmap_HighResolution_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.62e-03', job_status='DONE', photon_flux_upper_limit='3.60e-08', time_completed='2026-07-14 22:16:53.256448', job_id='31706934', GAL2='0.92', fit_tolerance='1e-08', EG2='1.30', EG='1.30', time_epoch_completed='1784092613.26', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='-1.30e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.68' WHERE bin_id='2183' AND source_name='4FGL J1842.4-5840' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul 14 22:16:53 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1842.4-5840
   Spectrum: PowerLaw
708    Prefactor:  1.110e-10  1.174e-04  0.000e+00  1.000e+06 ( 1.000e-15)
709        Index:  1.682e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
710        Scale:  7.602e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1036    Prefactor:  9.233e-01  7.969e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1037        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1038        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1012   Normalization:  1.304e+00  2.737e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 280.611 -58.680
Photon Flux Upper Limit: 3.5994707392e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0026217814532 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31706982/likelihoodResults_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.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) = 10606.8699598
delta logL = -0.015521131776

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10606.85444
delta logL = -1.31650995172e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .37958E-04   1.0000          .0000       .10000E+07
     2 'Index     '    .25482       1.0000          .0000       10.000    
     3 'Normalizat'    1.3037       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92331       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1043E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10606.85     FROM MIGRAD    STATUS=CONVERGED     73 CALLS      252 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .39524E-07    25.529        .42118E-03** at limit **
   2  Index         .24631        5.4411        .36112       -.17000E-08
   3  Normalizat    1.3040        .25992        .10249       -.38061E-03
   4  Prefactor     .92328        .77330E-01    .45301E-01   -.18092E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.95239e-08
  Index      = 0.246308
  Normalizat = 1.30399
  Prefactor  = 0.923276
       .10000E+07
    15 'Prefactor '    .29709E-01   1.0000          .0000       .10000E+07
    16 'norm      '    14.487       1.0000          .0000       .10000E+07
    17 'Prefactor '    9.1409       1.0000          .0000       .10000E+07
    18 'norm      '    2.1832       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.3087       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .92226       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1043E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10606.85     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1538 TOTAL
                     EDM=   .99E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.791        12.213        .14447E-06    .44784E-03
   2  Prefactor     15.075        8.7105       -.95763E-07   -.29351E-02
   3  norm          .16653E-09    12.091       -.11494E-06** at limit **
   4  Prefactor     27.180        17.395        .58124E-06    .34251E-02
   5  Prefactor     .35971E-07    55.875       -.39587E-06** at limit **
   6  norm           .0000        6.6357        .14059E-06** at limit **
   7  Prefactor     25.078        7.4619       -.11114E-07    .37712E-02
   8  Prefactor     15.100        12.265        .10174E-06   -.33925E-02
   9  Prefactor     .18563E-06    63.368       -.15919E-05** at limit **
  10  norm          4.5137        3.9820       -.37847E-06   -.25296E-04
  11  norm          6.1672        4.6109       -.16685E-06    .34872E-03
  12  norm          1.0038        1.1919       -.26701E-06    .38426E-02
  13  Prefactor     95.850        93.059        .56805E-06   -.11345E-02
  14  Prefactor     16.347        6.1065        .83913E-07   -.42088E-01
  15  Prefactor     .11102E-09    31.056        .27074E-05** at limit **
  16  norm          14.409        10.889        .50450E-08    .12315E-02
  17  Prefactor     9.3091        16.175       -.13332E-05   -.53668E-02
  18  norm          2.1847        1.3113        .10223E-06   -.24015E-02
  19  Normalizat    1.3040        .32107        .96369E-06    .46379E-05
  20  Prefactor     .92327        .95340E-01   -.23850E-05   -.11612E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.7913
  Prefactor  = 15.0747
  norm       = 1.66533e-10
  Prefactor  = 27.1799
  Prefactor  = 3.59712e-08
  norm       = 0
  Prefactor  = 25.0776
  Prefactor  = 15.0997
  Prefactor  = 1.85629e-07
  norm       = 4.51368
  norm       = 6.16718
  norm       = 1.00383
  Prefactor  = 95.8502
  Prefactor  = 16.3466
  Prefactor  = 1.11022e-10
  norm       = 14.409
  Prefactor  = 9.30914
  norm       = 2.18468
  Normalizat = 1.304
  Prefactor  = 0.923273
 **********
 **   18 **HESSE 
 **********

 FCN=   10606.85     FROM HESSE     STATUS=OK            31 CALLS      283 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .39524E-07    25.510        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .24631        5.4405        .50000       -1.2556    
   3  Normalizat    1.3040        .30657        .45417E-03   -.83447    
   4  Prefactor     .92328        .91465E-01    .15630E-03   -.95332    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.60952e-09
Minuit parameter uncertainties:
  1  0.00200821
  2  1.54998
  3  0.307003
  4  0.0914802
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10606.8544387
delta logL = -1.30057742354e-09

Extracting fit parameters...

4FGL J1842.4-5840
   Spectrum: PowerLaw
708    Prefactor:  3.952e-08  2.008e-03  0.000e+00  1.000e+06 ( 1.000e-15)
709        Index:  2.463e-01  1.550e+00  0.000e+00  1.000e+01 (-1.000e+00)
710        Scale:  7.602e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1036    Prefactor:  9.233e-01  9.148e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1037        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1038        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1012   Normalization:  1.304e+00  3.070e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 280.611 -58.680

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/31706982/cmap_HighResolution_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.62e-03', job_status='DONE', photon_flux_upper_limit='3.60e-08', time_completed='2026-07-14 22:17:11.386593', job_id='31706982', GAL2='0.92', fit_tolerance='1e-08', EG2='1.30', EG='1.30', time_epoch_completed='1784092631.39', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='-1.30e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.68' WHERE bin_id='2183' AND source_name='4FGL J1842.4-5840' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul 14 22:17:11 PDT 2026

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

 FCN=   10606.85     FROM HESSE     STATUS=OK           339 CALLS     1877 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.791        12.218        .27219E-03   -1.5634    
   2  Prefactor     15.075        37.321        .25129E-03   -1.5630    
   3  norm          .16653E-09    12.121        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     27.180        17.741        .18944E-03   -1.5604    
   5  Prefactor     .35971E-07    55.942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        6.6306        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     25.078        32.656        .19907E-03   -1.5608    
   8  Prefactor     15.100        22.355        .25638E-03   -1.5630    
   9  Prefactor     .18563E-06    67.503        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.5137        3.9843        .47367E-03   -1.5665    
  11  norm          6.1672        4.6243        .40432E-03   -1.5658    
  12  norm          1.0038        1.2595        .11182E-02   -1.5688    
  13  Prefactor     95.850        94.799        .11397E-03   -1.5512    
  14  Prefactor     16.347        40.941        .24313E-03   -1.5627    
  15  Prefactor     .11102E-09    30.725        .16466E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          14.409        10.882        .26289E-03   -1.5632    
  17  Prefactor     9.3091        16.263        .33125E-03   -1.5647    
  18  norm          2.1847        1.3109        .69640E-03   -1.5678    
  19  Normalizat    1.3040        .27339        .10249       -.83447    
  20  Prefactor     .92327        .79676E-01    .45288E-01   -.95333    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.93441e-07
Minuit parameter uncertainties:
  1  12.218
  2  37.322
  3  8.98935e-05
  4  17.7412
  5  0.00283799
  6  1.51405e-05
  7  32.6566
  8  22.355
  9  0.00708001
  10  3.9843
  11  4.62431
  12  1.25951
  13  94.8006
  14  40.9416
  15  0.000117438
  16  10.8817
  17  16.2629
  18  1.31086
  19  0.273695
  20  0.0796861
Done.

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

Extracting fit parameters...

4FGL J1842.4-5840
   Spectrum: PowerLaw
708    Prefactor:  1.110e-10  1.174e-04  0.000e+00  1.000e+06 ( 1.000e-15)
709        Index:  1.682e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
710        Scale:  7.602e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1036    Prefactor:  9.233e-01  7.969e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1037        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1038        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1012   Normalization:  1.304e+00  2.737e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 280.611 -58.680
Photon Flux Upper Limit: 3.5994707392e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0026217814532 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31707113/likelihoodResults_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.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) = 10606.8699598
delta logL = -0.015521131776

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10606.85444
delta logL = -1.31650995172e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .37958E-04   1.0000          .0000       .10000E+07
     2 'Index     '    .25482       1.0000          .0000       10.000    
     3 'Normalizat'    1.3037       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92331       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1043E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10606.85     FROM MIGRAD    STATUS=CONVERGED     73 CALLS      252 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .39524E-07    25.529        .42118E-03** at limit **
   2  Index         .24631        5.4411        .36112       -.17000E-08
   3  Normalizat    1.3040        .25992        .10249       -.38061E-03
   4  Prefactor     .92328        .77330E-01    .45301E-01   -.18092E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.95239e-08
  Index      = 0.246308
  Normalizat = 1.30399
  Prefactor  = 0.923276
 **********
 **   18 **HESSE 
 **********

 FCN=   10606.85     FROM HESSE     STATUS=OK            31 CALLS      283 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .39524E-07    25.510        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .24631        5.4405        .50000       -1.2556    
   3  Normalizat    1.3040        .30657        .45417E-03   -.83447    
   4  Prefactor     .92328        .91465E-01    .15630E-03   -.95332    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.60952e-09
Minuit parameter uncertainties:
  1  0.00200821
  2  1.54998
  3  0.307003
  4  0.0914802
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10606.8544387
delta logL = -1.30057742354e-09

Extracting fit parameters...

4FGL J1842.4-5840
   Spectrum: PowerLaw
708    Prefactor:  3.952e-08  2.008e-03  0.000e+00  1.000e+06 ( 1.000e-15)
709        Index:  2.463e-01  1.550e+00  0.000e+00  1.000e+01 (-1.000e+00)
710        Scale:  7.602e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1036    Prefactor:  9.233e-01  9.148e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1037        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1038        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1012   Normalization:  1.304e+00  3.070e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 280.611 -58.680

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/31707113/cmap_HighResolution_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.62e-03', job_status='DONE', photon_flux_upper_limit='3.60e-08', time_completed='2026-07-14 22:18:22.089692', job_id='31707113', GAL2='0.92', fit_tolerance='1e-08', EG2='1.30', EG='1.30', time_epoch_completed='1784092702.09', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='-1.30e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.68' WHERE bin_id='2183' AND source_name='4FGL J1842.4-5840' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul 14 22:18:22 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1842.4-5840
   Spectrum: PowerLaw
708    Prefactor:  1.110e-10  1.174e-04  0.000e+00  1.000e+06 ( 1.000e-15)
709        Index:  1.682e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
710        Scale:  7.602e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1036    Prefactor:  9.233e-01  7.969e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1037        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1038        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1012   Normalization:  1.304e+00  2.737e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 280.611 -58.680
Photon Flux Upper Limit: 3.5994707392e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0026217814532 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31707158/likelihoodResults_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.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) = 10606.8699598
delta logL = -0.015521131776

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10606.85444
delta logL = -1.31650995172e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .37958E-04   1.0000          .0000       .10000E+07
     2 'Index     '    .25482       1.0000          .0000       10.000    
     3 'Normalizat'    1.3037       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92331       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1043E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10606.85     FROM MIGRAD    STATUS=CONVERGED     73 CALLS      252 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .39524E-07    25.529        .42118E-03** at limit **
   2  Index         .24631        5.4411        .36112       -.17000E-08
   3  Normalizat    1.3040        .25992        .10249       -.38061E-03
   4  Prefactor     .92328        .77330E-01    .45301E-01   -.18092E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.95239e-08
  Index      = 0.246308
  Normalizat = 1.30399
  Prefactor  = 0.923276
 **********
 **   18 **HESSE 
 **********

 FCN=   10606.85     FROM HESSE     STATUS=OK            31 CALLS      283 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .39524E-07    25.510        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .24631        5.4405        .50000       -1.2556    
   3  Normalizat    1.3040        .30657        .45417E-03   -.83447    
   4  Prefactor     .92328        .91465E-01    .15630E-03   -.95332    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.60952e-09
Minuit parameter uncertainties:
  1  0.00200821
  2  1.54998
  3  0.307003
  4  0.0914802
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10606.8544387
delta logL = -1.30057742354e-09

Extracting fit parameters...

4FGL J1842.4-5840
   Spectrum: PowerLaw
708    Prefactor:  3.952e-08  2.008e-03  0.000e+00  1.000e+06 ( 1.000e-15)
709        Index:  2.463e-01  1.550e+00  0.000e+00  1.000e+01 (-1.000e+00)
710        Scale:  7.602e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1036    Prefactor:  9.233e-01  9.148e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1037        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1038        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1012   Normalization:  1.304e+00  3.070e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 280.611 -58.680

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/31707158/cmap_HighResolution_805161601_805420801_4FGL_J1842.4-5840_daily_bin2183.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.62e-03', job_status='DONE', photon_flux_upper_limit='3.60e-08', time_completed='2026-07-14 22:19:21.252931', job_id='31707158', GAL2='0.92', fit_tolerance='1e-08', EG2='1.30', EG='1.30', time_epoch_completed='1784092761.25', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='-1.30e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.68' WHERE bin_id='2183' AND source_name='4FGL J1842.4-5840' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul 14 22:19:21 PDT 2026

