number of points = 7432
number of fields = 31
RA_SUN column already exists. File will not be modified.
/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
Done.


Performing analysis on: 4FGL_J1659.7-3131_daily_bin2190
RA = 254.945, Dec = -31.5209
tmin = 806976001, tmax = 807235201
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='33930286', job_status='RUN', time_executed='2026-08-01 19:47:37.811679', time_epoch_executed='1785638857.81' WHERE source_name='4FGL J1659.7-3131' and cadence='daily' and bin_id='2190'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33930286

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33930286/ft1_4FGL_J1659.7-3131_daily_bin2190.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33930286/ft2_4FGL_J1659.7-3131_daily_bin2190.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33930286/ft1_4FGL_J1659.7-3131_daily_bin2190.fits outfile=/lscratch/kocevski/33930286/ft1_filteredMKT_4FGL_J1659.7-3131_daily_bin2190.fits ra=254.945 dec=-31.5209 rad=12.0 tmin=806976001.0 tmax=807235201.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.67
user 1.56
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33930286/ft2_4FGL_J1659.7-3131_daily_bin2190.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33930286/ft2_4FGL_J1659.7-3131_daily_bin2190.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/33930286/ft1_filteredMKT_4FGL_J1659.7-3131_daily_bin2190.fits evtable="EVENTS" outfile="/lscratch/kocevski/33930286/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 3260

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33930286/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33930286/ft2_4FGL_J1659.7-3131_daily_bin2190.fits sctable="SC_DATA"
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).

00          .0000       .10000E+07
     2 'norm      '    6.3759       1.0000          .0000       .10000E+07
     3 'norm      '    4.0563       1.0000          .0000       .10000E+07
     4 'norm      '    4.3756       1.0000          .0000       .10000E+07
     5 'Prefactor '    .76050E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    .57794E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .30737E-05   1.0000          .0000       .10000E+07
     8 'Normalizat'    1.5339       1.0000         .10000E-01   10.000    
     9 'Prefactor '    .94120       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .2072E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   29276.36     FROM MIGRAD    STATUS=CONVERGED     75 CALLS      437 TOTAL
                     EDM=   .56E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        14.558       -.33647E-06** at limit **
   2  norm          6.4266        5.8185        .45708E-07    .19607E-03
   3  norm          4.0565        2.5917       -.57388E-07   -.41469E-03
   4  norm          4.3878        11.842       -.26330E-06   -.11439E-03
   5  Prefactor      .0000        8.2244        .51169E-07** at limit **
   6  Prefactor      .0000        31.589       -.22203E-06** at limit **
   7  norm           .0000        10.559       -.27473E-07** at limit **
   8  Normalizat    1.5332        .52009       -.64687E-06   -.12227E-05
   9  Prefactor     .94121        .27599E-01   -.15127E-07   -.37010E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 6.42662
  norm       = 4.05652
  norm       = 4.38778
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Normalizat = 1.53321
  Prefactor  = 0.941209
number of points = 7432
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1659.7-3131_daily_bin2190
RA = 254.945, Dec = -31.5209
tmin = 806976001, tmax = 807235201
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='33930461', job_status='RUN', time_executed='2026-08-01 19:48:42.639244', time_epoch_executed='1785638922.64' WHERE source_name='4FGL J1659.7-3131' and cadence='daily' and bin_id='2190'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33930461

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33930461/ft1_4FGL_J1659.7-3131_daily_bin2190.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33930461/ft2_4FGL_J1659.7-3131_daily_bin2190.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33930461/ft1_4FGL_J1659.7-3131_daily_bin2190.fits outfile=/lscratch/kocevski/33930461/ft1_filteredMKT_4FGL_J1659.7-3131_daily_bin2190.fits ra=254.945 dec=-31.5209 rad=12.0 tmin=806976001.0 tmax=807235201.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.24
user 1.47
sys 0.14

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33930461/ft2_4FGL_J1659.7-3131_daily_bin2190.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33930461/ft2_4FGL_J1659.7-3131_daily_bin2190.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/33930461/ft1_filteredMKT_4FGL_J1659.7-3131_daily_bin2190.fits evtable="EVENTS" outfile="/lscratch/kocevski/33930461/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 3260

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33930461/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33930461/ft2_4FGL_J1659.7-3131_daily_bin2190.fits sctable="SC_DATA"number of points = 7432
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1659.7-3131_daily_bin2190
RA = 254.945, Dec = -31.5209
tmin = 806976001, tmax = 807235201
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='33930487', job_status='RUN', time_executed='2026-08-01 19:48:44.887351', time_epoch_executed='1785638924.89' WHERE source_name='4FGL J1659.7-3131' and cadence='daily' and bin_id='2190'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33930487

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33930487/ft1_4FGL_J1659.7-3131_daily_bin2190.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33930487/ft2_4FGL_J1659.7-3131_daily_bin2190.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33930487/ft1_4FGL_J1659.7-3131_daily_bin2190.fits outfile=/lscratch/kocevski/33930487/ft1_filteredMKT_4FGL_J1659.7-3131_daily_bin2190.fits ra=254.945 dec=-31.5209 rad=12.0 tmin=806976001.0 tmax=807235201.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.53
user 1.58
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33930487/ft2_4FGL_J1659.7-3131_daily_bin2190.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33930487/ft2_4FGL_J1659.7-3131_daily_bin2190.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/33930487/ft1_filteredMKT_4FGL_J1659.7-3131_daily_bin2190.fits evtable="EVENTS" outfile="/lscratch/kocevski/33930487/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 3260

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33930487/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33930487/ft2_4FGL_J1659.7-3131_daily_bin2190.fits sctable="SC_DATA" outfile=/lscratch/kocevski/33930286/ltcube_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.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/33930286/ft2_4FGL_J1659.7-3131_daily_bin2190.fits
.....................!
real 9.05
user 7.64
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33930286/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits evtable="EVENTS" scfile=/lscratch/kocevski/33930286/ft2_4FGL_J1659.7-3131_daily_bin2190.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33930286/ltcube_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.fits outfile=/lscratch/kocevski/33930286/expmap_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.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/33930286/ltcube_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.fits
.....................!
real 65.03
user 59.67
sys 3.90

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 RX J1713.7-3946 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/RXJ1713_2016_250GeV.fits is the correct path to the extended template.
Extended source FHES J1626.9-2431 in ROI with RadialGaussian spatial model.
Extended source FHES J1741.6-3917 in ROI with RadialDisk spatial model.
Extended source FGES J1745.8-3028 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 W 28 in ROI with RadialDisk spatial model.
Extended source HESS J1804-216 in ROI with RadialDisk spatial model.
Extended source HESS J1614-518 in ROI with RadialDisk spatial model.
Extended source HESS J1616-508 in ROI with RadialDisk spatial model.
Extended source W 30 in ROI with RadialDisk spatial model.
Extended source HESS J1808-204 in ROI with RadialDisk spatial model.
Extended source HESS J1809-193 in ROI with RadialDisk spatial model.
Extended source HESS J1813-178 in ROI with RadialDisk spatial model.
Added 554 point sources and 17 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 J1659.7-3131 @ 254.945 -31.5209

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33930286/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits scfile=/lscratch/kocevski/33930286/ft2_4FGL_J1659.7-3131_daily_bin2190.fits outfile=/lscratch/kocevski/33930286/cmap_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.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=254.945 yref=-31.5209 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
r **********
 **   18 **HESSE 
 **********

 FCN=   29276.36     FROM HESSE     STATUS=OK           101 CALLS      538 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        14.532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.4266        5.8385        .39726E-03   -1.5657    
   3  norm          4.0565        2.6142        .50040E-03   -1.5668    
   4  norm          4.3878        11.915        .48125E-03   -1.5666    
   5  Prefactor      .0000        8.2306        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        31.520        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        10.553        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Normalizat    1.5332        .54714        .29559       -.76849    
   9  Prefactor     .94121        .28186E-01    .25771E-01   -.94716    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.41032e-07
Minuit parameter uncertainties:
  1  7.12104e-06
  2  5.83852
  3  2.61421
  4  11.9149
  5  3.52715e-06
  6  1.23071e-05
  7  1.11585e-06
  8  0.549278
  9  0.0281862
 outfile=/lscratch/kocevski/33930461/ltcube_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.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/33930461/ft2_4FGL_J1659.7-3131_daily_bin2190.fits
.....................!
real 8.34
user 7.43
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33930461/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits evtable="EVENTS" scfile=/lscratch/kocevski/33930461/ft2_4FGL_J1659.7-3131_daily_bin2190.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33930461/ltcube_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.fits outfile=/lscratch/kocevski/33930461/expmap_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.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/33930461/ltcube_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.fits
.....................!
real 63.89
user 59.02
sys 3.56

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 RX J1713.7-3946 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/RXJ1713_2016_250GeV.fits is the correct path to the extended template.
Extended source FHES J1626.9-2431 in ROI with RadialGaussian spatial model.
Extended source FHES J1741.6-3917 in ROI with RadialDisk spatial model.
Extended source FGES J1745.8-3028 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 W 28 in ROI with RadialDisk spatial model.
Extended source HESS J1804-216 in ROI with RadialDisk spatial model.
Extended source HESS J1614-518 in ROI with RadialDisk spatial model.
Extended source HESS J1616-508 in ROI with RadialDisk spatial model.
Extended source W 30 in ROI with RadialDisk spatial model.
Extended source HESS J1808-204 in ROI with RadialDisk spatial model.
Extended source HESS J1809-193 in ROI with RadialDisk spatial model.
Extended source HESS J1813-178 in ROI with RadialDisk spatial model.
Added 554 point sources and 17 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 J1659.7-3131 @ 254.945 -31.5209

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33930461/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits scfile=/lscratch/kocevski/33930461/ft2_4FGL_J1659.7-3131_daily_bin2190.fits outfile=/lscratch/kocevski/33930461/cmap_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.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=254.945 yref=-31.5209 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
r outfile=/lscratch/kocevski/33930487/ltcube_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.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/33930487/ft2_4FGL_J1659.7-3131_daily_bin2190.fits
.....................!
real 8.81
user 7.72
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33930487/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits evtable="EVENTS" scfile=/lscratch/kocevski/33930487/ft2_4FGL_J1659.7-3131_daily_bin2190.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33930487/ltcube_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.fits outfile=/lscratch/kocevski/33930487/expmap_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.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/33930487/ltcube_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.fits
.....................!
real 66.29
user 61.31
sys 3.72

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 RX J1713.7-3946 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/RXJ1713_2016_250GeV.fits is the correct path to the extended template.
Extended source FHES J1626.9-2431 in ROI with RadialGaussian spatial model.
Extended source FHES J1741.6-3917 in ROI with RadialDisk spatial model.
Extended source FGES J1745.8-3028 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 W 28 in ROI with RadialDisk spatial model.
Extended source HESS J1804-216 in ROI with RadialDisk spatial model.
Extended source HESS J1614-518 in ROI with RadialDisk spatial model.
Extended source HESS J1616-508 in ROI with RadialDisk spatial model.
Extended source W 30 in ROI with RadialDisk spatial model.
Extended source HESS J1808-204 in ROI with RadialDisk spatial model.
Extended source HESS J1809-193 in ROI with RadialDisk spatial model.
Extended source HESS J1813-178 in ROI with RadialDisk spatial model.
Added 554 point sources and 17 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 J1659.7-3131 @ 254.945 -31.5209

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33930487/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits scfile=/lscratch/kocevski/33930487/ft2_4FGL_J1659.7-3131_daily_bin2190.fits outfile=/lscratch/kocevski/33930487/cmap_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.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=254.945 yref=-31.5209 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
rnumber of points = 7432
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1659.7-3131_daily_bin2190
RA = 254.945, Dec = -31.5209
tmin = 806976001, tmax = 807235201
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='33930551', job_status='RUN', time_executed='2026-08-01 19:50:49.396467', time_epoch_executed='1785639049.4' WHERE source_name='4FGL J1659.7-3131' and cadence='daily' and bin_id='2190'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33930551

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33930551/ft1_4FGL_J1659.7-3131_daily_bin2190.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33930551/ft2_4FGL_J1659.7-3131_daily_bin2190.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33930551/ft1_4FGL_J1659.7-3131_daily_bin2190.fits outfile=/lscratch/kocevski/33930551/ft1_filteredMKT_4FGL_J1659.7-3131_daily_bin2190.fits ra=254.945 dec=-31.5209 rad=12.0 tmin=806976001.0 tmax=807235201.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.52
user 1.40
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33930551/ft2_4FGL_J1659.7-3131_daily_bin2190.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33930551/ft2_4FGL_J1659.7-3131_daily_bin2190.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/33930551/ft1_filteredMKT_4FGL_J1659.7-3131_daily_bin2190.fits evtable="EVENTS" outfile="/lscratch/kocevski/33930551/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 3260

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33930551/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33930551/ft2_4FGL_J1659.7-3131_daily_bin2190.fits sctable="SC_DATA" outfile=/lscratch/kocevski/33930551/ltcube_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.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/33930551/ft2_4FGL_J1659.7-3131_daily_bin2190.fits
.....................!
real 8.14
user 7.01
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33930551/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits evtable="EVENTS" scfile=/lscratch/kocevski/33930551/ft2_4FGL_J1659.7-3131_daily_bin2190.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33930551/ltcube_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.fits outfile=/lscratch/kocevski/33930551/expmap_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.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/33930551/ltcube_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.fits
.....................!
real 60.41
user 55.52
sys 3.55

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source RX J1713.7-3946 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/RXJ1713_2016_250GeV.fits is the correct path to the extended template.
Extended source FHES J1626.9-2431 in ROI with RadialGaussian spatial model.
Extended source FHES J1741.6-3917 in ROI with RadialDisk spatial model.
Extended source FGES J1745.8-3028 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 W 28 in ROI with RadialDisk spatial model.
Extended source HESS J1804-216 in ROI with RadialDisk spatial model.
Extended source HESS J1614-518 in ROI with RadialDisk spatial model.
Extended source HESS J1616-508 in ROI with RadialDisk spatial model.
Extended source W 30 in ROI with RadialDisk spatial model.
Extended source HESS J1808-204 in ROI with RadialDisk spatial model.
Extended source HESS J1809-193 in ROI with RadialDisk spatial model.
Extended source HESS J1813-178 in ROI with RadialDisk spatial model.
Added 554 point sources and 17 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 J1659.7-3131 @ 254.945 -31.5209

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33930551/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits scfile=/lscratch/kocevski/33930551/ft2_4FGL_J1659.7-3131_daily_bin2190.fits outfile=/lscratch/kocevski/33930551/cmap_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.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=254.945 yref=-31.5209 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
renumber of points = 7432
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1659.7-3131_daily_bin2190
RA = 254.945, Dec = -31.5209
tmin = 806976001, tmax = 807235201
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='33930629', job_status='RUN', time_executed='2026-08-01 19:51:52.746452', time_epoch_executed='1785639112.75' WHERE source_name='4FGL J1659.7-3131' and cadence='daily' and bin_id='2190'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33930629

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33930629/ft1_4FGL_J1659.7-3131_daily_bin2190.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33930629/ft2_4FGL_J1659.7-3131_daily_bin2190.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33930629/ft1_4FGL_J1659.7-3131_daily_bin2190.fits outfile=/lscratch/kocevski/33930629/ft1_filteredMKT_4FGL_J1659.7-3131_daily_bin2190.fits ra=254.945 dec=-31.5209 rad=12.0 tmin=806976001.0 tmax=807235201.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.89
user 1.54
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33930629/ft2_4FGL_J1659.7-3131_daily_bin2190.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33930629/ft2_4FGL_J1659.7-3131_daily_bin2190.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/33930629/ft1_filteredMKT_4FGL_J1659.7-3131_daily_bin2190.fits evtable="EVENTS" outfile="/lscratch/kocevski/33930629/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 3260

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33930629/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33930629/ft2_4FGL_J1659.7-3131_daily_bin2190.fits sctable="SC_DATA" outfile=/lscratch/kocevski/33930629/ltcube_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.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/33930629/ft2_4FGL_J1659.7-3131_daily_bin2190.fits
.....................!
real 8.57
user 7.50
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33930629/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits evtable="EVENTS" scfile=/lscratch/kocevski/33930629/ft2_4FGL_J1659.7-3131_daily_bin2190.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33930629/ltcube_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.fits outfile=/lscratch/kocevski/33930629/expmap_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.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/33930629/ltcube_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.fits
.....................!
real 65.13
user 60.10
sys 3.77

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 RX J1713.7-3946 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/RXJ1713_2016_250GeV.fits is the correct path to the extended template.
Extended source FHES J1626.9-2431 in ROI with RadialGaussian spatial model.
Extended source FHES J1741.6-3917 in ROI with RadialDisk spatial model.
Extended source FGES J1745.8-3028 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 W 28 in ROI with RadialDisk spatial model.
Extended source HESS J1804-216 in ROI with RadialDisk spatial model.
Extended source HESS J1614-518 in ROI with RadialDisk spatial model.
Extended source HESS J1616-508 in ROI with RadialDisk spatial model.
Extended source W 30 in ROI with RadialDisk spatial model.
Extended source HESS J1808-204 in ROI with RadialDisk spatial model.
Extended source HESS J1809-193 in ROI with RadialDisk spatial model.
Extended source HESS J1813-178 in ROI with RadialDisk spatial model.
Added 554 point sources and 17 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 J1659.7-3131 @ 254.945 -31.5209

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33930629/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits scfile=/lscratch/kocevski/33930629/ft2_4FGL_J1659.7-3131_daily_bin2190.fits outfile=/lscratch/kocevski/33930629/cmap_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.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=254.945 yref=-31.5209 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
ral 1.31
user 0.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33929694/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits scfile=/lscratch/kocevski/33929694/ft2_4FGL_J1659.7-3131_daily_bin2190.fits outfile=/lscratch/kocevski/33929694/cmap_HighResolution_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.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=254.945 yref=-31.5209 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.37
user 0.20
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33929694/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits evtable="EVENTS" scfile=/lscratch/kocevski/33929694/ft2_4FGL_J1659.7-3131_daily_bin2190.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33929694/Model_4FGL_J1659.7-3131_daily_bin2190.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 FGES J1745.8-3028
adding source FHES J1626.9-2431
adding source FHES J1741.6-3917
adding source G337.0-0.1
adding source GAL_V02
adding source HESS J1614-518
adding source HESS J1616-508
adding source HESS J1804-216
adding source HESS J1808-204
adding source HESS J1809-193
adding source HESS J1813-178
adding source RX J1713.7-3946
adding source W 28
adding source W 30
Working on...
/lscratch/kocevski/33929694/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits....................!
real 329.19
user 325.54
sys 1.02

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33929694/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits', '/lscratch/kocevski/33929694/ft2_4FGL_J1659.7-3131_daily_bin2190.fits', expMap='/lscratch/kocevski/33929694/expmap_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.fits', expCube='/lscratch/kocevski/33929694/ltcube_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33929694/Model_4FGL_J1659.7-3131_daily_bin2190.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1659.7-3131'

4FGL J1659.7-3131
   Spectrum: PowerLaw
605    Prefactor:  3.151e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
606        Index:  2.293e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
607        Scale:  1.906e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33929694/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits
Spacecraft file(s): /lscratch/kocevski/33929694/ft2_4FGL_J1659.7-3131_daily_bin2190.fits
Exposure map: /lscratch/kocevski/33929694/expmap_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.fits
Exposure cube: /lscratch/kocevski/33929694/ltcube_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33929694/Model_4FGL_J1659.7-3131_daily_bin2190.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) = 29276.4527141

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .19291E-04   1.0000Done.

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

Extracting fit parameters...

4FGL J1659.7-3131
   Spectrum: PowerLaw
605    Prefactor:  0.000e+00  3.527e-06  0.000e+00  1.000e+06 ( 1.000e-13)
606        Index:  2.293e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
607        Scale:  1.906e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
2035    Prefactor:  9.412e-01  2.819e-02  0.000e+00  1.000e+01 ( 1.000e+00)
2036        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
2037        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
2007   Normalization:  1.533e+00  5.493e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 254.945 -31.521
Photon Flux Upper Limit: 2.04603806453e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0156943273959 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33929305/likelihoodResults_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 29276.4205576
delta logL = -0.0587686849758

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 29276.3618441
delta logL = -5.51953562535e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .97118E-03   1.0000          .0000       .10000E+07
     2 'Index     '    2.9478       1.0000          .0000       10.000    
     3 'Normalizat'    1.5314       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94125       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .2072E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   29276.36     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      196 TOTAL
                     EDM=   .30E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        7.7245        .42118E-03** at limit **
   2  Index         1.9166        .86779       -.41375E-04     .0000    
   3  Normalizat    1.5332        1.0471        .59732E-05   -.72124E-05
   4  Prefactor     .94121        1.2840       -.76094E-07   -.18087E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.91662
  Normalizat = 1.53321
  Prefactor  = 0.941209
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   29276.36     FROM HESSE     STATUS=FAILED         9 CALLS      205 TOTAL
                     EDM=   .30E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        7.7245        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .38749        1.6050       -.41375E-04   -.66451    
   3  Normalizat    1.5332        1.0471        .59732E-05   -.76849    
   4  Prefactor     .94121        1.2840       -.76094E-07   -.94716    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.01319e-12
Minuit parameter uncertainties:
  1  2.62323e-05
  2  0.874975
  3  1.06252
  4  1.32942
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 29276.3617889
delta logL = 0.0

Extracting fit parameters...

4FGL J1659.7-3131
   Spectrum: PowerLaw
605    Prefactor:  0.000e+00  2.623e-05  0.000e+00  1.000e+06 ( 1.000e-13)
606        Index:  1.917e+00  8.750e-01  0.000e+00  1.000e+01 (-1.000e+00)
607        Scale:  1.906e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
2035    Prefactor:  9.412e-01  1.329e+00  0.000e+00  1.000e+01 ( 1.000e+00)
2036        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
2037        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
2007   Normalization:  1.533e+00  1.063e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 254.945 -31.521

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/33929305/cmap_HighResolution_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.57e-02', job_status='DONE', photon_flux_upper_limit='2.05e-07', time_completed='2026-08-01 19:59:09.524528', job_id='33929305', GAL2='0.94', fit_tolerance='1e-08', EG2='1.53', EG='1.53', time_epoch_completed='1785639549.52', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='2190' AND source_name='4FGL J1659.7-3131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug  1 19:59:10 PDT 2026

          .0000       .10000E+07
     2 'norm      '    6.3759       1.0000          .0000       .10000E+07
     3 'norm      '    4.0563       1.0000          .0000       .10000E+07
     4 'norm      '    4.3756       1.0000          .0000       .10000E+07
     5 'Prefactor '    .76050E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    .57794E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .30737E-05   1.0000          .0000       .10000E+07
     8 'Normalizat'    1.5339       1.0000         .10000E-01   10.000    
     9 'Prefactor '    .94120       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .2072E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   29276.36     FROM MIGRAD    STATUS=CONVERGED     75 CALLS      437 TOTAL
                     EDM=   .56E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        14.558       -.33647E-06** at limit **
   2  norm          6.4266        5.8185        .45708E-07    .19607E-03
   3  norm          4.0565        2.5917       -.57388E-07   -.41469E-03
   4  norm          4.3878        11.842       -.26330E-06   -.11439E-03
   5  Prefactor      .0000        8.2244        .51169E-07** at limit **
   6  Prefactor      .0000        31.589       -.22203E-06** at limit **
   7  norm           .0000        10.559       -.27473E-07** at limit **
   8  Normalizat    1.5332        .52009       -.64687E-06   -.12227E-05
   9  Prefactor     .94121        .27599E-01   -.15127E-07   -.37010E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 6.42662
  norm       = 4.05652
  norm       = 4.38778
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Normalizat = 1.53321
  Prefactor  = 0.941209
eal 1.48
user 0.19
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33929864/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits scfile=/lscratch/kocevski/33929864/ft2_4FGL_J1659.7-3131_daily_bin2190.fits outfile=/lscratch/kocevski/33929864/cmap_HighResolution_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.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=254.945 yref=-31.5209 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.26
user 0.19
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33929864/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits evtable="EVENTS" scfile=/lscratch/kocevski/33929864/ft2_4FGL_J1659.7-3131_daily_bin2190.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33929864/Model_4FGL_J1659.7-3131_daily_bin2190.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 FGES J1745.8-3028
adding source FHES J1626.9-2431
adding source FHES J1741.6-3917
adding source G337.0-0.1
adding source GAL_V02
adding source HESS J1614-518
adding source HESS J1616-508
adding source HESS J1804-216
adding source HESS J1808-204
adding source HESS J1809-193
adding source HESS J1813-178
adding source RX J1713.7-3946
adding source W 28
adding source W 30
Working on...
/lscratch/kocevski/33929864/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits....................!
real 331.55
user 327.55
sys 1.01

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33929864/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits', '/lscratch/kocevski/33929864/ft2_4FGL_J1659.7-3131_daily_bin2190.fits', expMap='/lscratch/kocevski/33929864/expmap_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.fits', expCube='/lscratch/kocevski/33929864/ltcube_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33929864/Model_4FGL_J1659.7-3131_daily_bin2190.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1659.7-3131'

4FGL J1659.7-3131
   Spectrum: PowerLaw
605    Prefactor:  3.151e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
606        Index:  2.293e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
607        Scale:  1.906e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33929864/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits
Spacecraft file(s): /lscratch/kocevski/33929864/ft2_4FGL_J1659.7-3131_daily_bin2190.fits
Exposure map: /lscratch/kocevski/33929864/expmap_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.fits
Exposure cube: /lscratch/kocevski/33929864/ltcube_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33929864/Model_4FGL_J1659.7-3131_daily_bin2190.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) = 29276.4527141

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .19291E-04   1.000 **********
 **   18 **HESSE 
 **********

 FCN=   29276.36     FROM HESSE     STATUS=OK           101 CALLS      538 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        14.532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.4266        5.8385        .39726E-03   -1.5657    
   3  norm          4.0565        2.6142        .50040E-03   -1.5668    
   4  norm          4.3878        11.915        .48125E-03   -1.5666    
   5  Prefactor      .0000        8.2306        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        31.520        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        10.553        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Normalizat    1.5332        .54714        .29559       -.76849    
   9  Prefactor     .94121        .28186E-01    .25771E-01   -.94716    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.41032e-07
Minuit parameter uncertainties:
  1  7.12104e-06
  2  5.83852
  3  2.61421
  4  11.9149
  5  3.52715e-06
  6  1.23071e-05
  7  1.11585e-06
  8  0.549278
  9  0.0281862
0          .0000       .10000E+07
     2 'norm      '    6.3759       1.0000          .0000       .10000E+07
     3 'norm      '    4.0563       1.0000          .0000       .10000E+07
     4 'norm      '    4.3756       1.0000          .0000       .10000E+07
     5 'Prefactor '    .76050E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    .57794E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .30737E-05   1.0000          .0000       .10000E+07
     8 'Normalizat'    1.5339       1.0000         .10000E-01   10.000    
     9 'Prefactor '    .94120       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .2072E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   29276.36     FROM MIGRAD    STATUS=CONVERGED     75 CALLS      437 TOTAL
                     EDM=   .56E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        14.558       -.33647E-06** at limit **
   2  norm          6.4266        5.8185        .45708E-07    .19607E-03
   3  norm          4.0565        2.5917       -.57388E-07   -.41469E-03
   4  norm          4.3878        11.842       -.26330E-06   -.11439E-03
   5  Prefactor      .0000        8.2244        .51169E-07** at limit **
   6  Prefactor      .0000        31.589       -.22203E-06** at limit **
   7  norm           .0000        10.559       -.27473E-07** at limit **
   8  Normalizat    1.5332        .52009       -.64687E-06   -.12227E-05
   9  Prefactor     .94121        .27599E-01   -.15127E-07   -.37010E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 6.42662
  norm       = 4.05652
  norm       = 4.38778
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Normalizat = 1.53321
  Prefactor  = 0.941209
 **********
 **   18 **HESSE 
 **********

 FCN=   29276.36     FROM HESSE     STATUS=OK           101 CALLS      538 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        14.532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.4266        5.8385        .39726E-03   -1.5657    
   3  norm          4.0565        2.6142        .50040E-03   -1.5668    
   4  norm          4.3878        11.915        .48125E-03   -1.5666    
   5  Prefactor      .0000        8.2306        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        31.520        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        10.553        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Normalizat    1.5332        .54714        .29559       -.76849    
   9  Prefactor     .94121        .28186E-01    .25771E-01   -.94716    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.41032e-07
Minuit parameter uncertainties:
  1  7.12104e-06
  2  5.83852
  3  2.61421
  4  11.9149
  5  3.52715e-06
  6  1.23071e-05
  7  1.11585e-06
  8  0.549278
  9  0.0281862
real 2.11
user 0.27
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33929856/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits scfile=/lscratch/kocevski/33929856/ft2_4FGL_J1659.7-3131_daily_bin2190.fits outfile=/lscratch/kocevski/33929856/cmap_HighResolution_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.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=254.945 yref=-31.5209 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 2.23
user 0.31
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33929856/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits evtable="EVENTS" scfile=/lscratch/kocevski/33929856/ft2_4FGL_J1659.7-3131_daily_bin2190.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33929856/Model_4FGL_J1659.7-3131_daily_bin2190.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 FGES J1745.8-3028
adding source FHES J1626.9-2431
adding source FHES J1741.6-3917
adding source G337.0-0.1
adding source GAL_V02
adding source HESS J1614-518
adding source HESS J1616-508
adding source HESS J1804-216
adding source HESS J1808-204
adding source HESS J1809-193
adding source HESS J1813-178
adding source RX J1713.7-3946
adding source W 28
adding source W 30
Working on...
/lscratch/kocevski/33929856/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits....................!
real 430.57
user 423.56
sys 1.51

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33929856/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits', '/lscratch/kocevski/33929856/ft2_4FGL_J1659.7-3131_daily_bin2190.fits', expMap='/lscratch/kocevski/33929856/expmap_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.fits', expCube='/lscratch/kocevski/33929856/ltcube_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33929856/Model_4FGL_J1659.7-3131_daily_bin2190.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1659.7-3131'

4FGL J1659.7-3131
   Spectrum: PowerLaw
605    Prefactor:  3.151e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
606        Index:  2.293e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
607        Scale:  1.906e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33929856/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits
Spacecraft file(s): /lscratch/kocevski/33929856/ft2_4FGL_J1659.7-3131_daily_bin2190.fits
Exposure map: /lscratch/kocevski/33929856/expmap_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.fits
Exposure cube: /lscratch/kocevski/33929856/ltcube_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33929856/Model_4FGL_J1659.7-3131_daily_bin2190.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) = 29276.4527141

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .19291E-04   1.00eal 1.00
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33930286/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits scfile=/lscratch/kocevski/33930286/ft2_4FGL_J1659.7-3131_daily_bin2190.fits outfile=/lscratch/kocevski/33930286/cmap_HighResolution_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.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=254.945 yref=-31.5209 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.20
user 0.20
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33930286/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits evtable="EVENTS" scfile=/lscratch/kocevski/33930286/ft2_4FGL_J1659.7-3131_daily_bin2190.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33930286/Model_4FGL_J1659.7-3131_daily_bin2190.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 FGES J1745.8-3028
adding source FHES J1626.9-2431
adding source FHES J1741.6-3917
adding source G337.0-0.1
adding source GAL_V02
adding source HESS J1614-518
adding source HESS J1616-508
adding source HESS J1804-216
adding source HESS J1808-204
adding source HESS J1809-193
adding source HESS J1813-178
adding source RX J1713.7-3946
adding source W 28
adding source W 30
Working on...
/lscratch/kocevski/33930286/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits....................!
real 339.93
user 335.74
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33930286/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits', '/lscratch/kocevski/33930286/ft2_4FGL_J1659.7-3131_daily_bin2190.fits', expMap='/lscratch/kocevski/33930286/expmap_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.fits', expCube='/lscratch/kocevski/33930286/ltcube_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33930286/Model_4FGL_J1659.7-3131_daily_bin2190.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1659.7-3131'

4FGL J1659.7-3131
   Spectrum: PowerLaw
605    Prefactor:  3.151e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
606        Index:  2.293e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
607        Scale:  1.906e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33930286/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits
Spacecraft file(s): /lscratch/kocevski/33930286/ft2_4FGL_J1659.7-3131_daily_bin2190.fits
Exposure map: /lscratch/kocevski/33930286/expmap_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.fits
Exposure cube: /lscratch/kocevski/33930286/ltcube_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33930286/Model_4FGL_J1659.7-3131_daily_bin2190.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) = 29276.4527141

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .19291E-04   1.00000          .0000       .10000E+07
     2 'norm      '    6.3759       1.0000          .0000       .10000E+07
     3 'norm      '    4.0563       1.0000          .0000       .10000E+07
     4 'norm      '    4.3756       1.0000          .0000       .10000E+07
     5 'Prefactor '    .76050E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    .57794E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .30737E-05   1.0000          .0000       .10000E+07
     8 'Normalizat'    1.5339       1.0000         .10000E-01   10.000    
     9 'Prefactor '    .94120       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .2072E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   29276.36     FROM MIGRAD    STATUS=CONVERGED     75 CALLS      437 TOTAL
                     EDM=   .56E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        14.558       -.33647E-06** at limit **
   2  norm          6.4266        5.8185        .45708E-07    .19607E-03
   3  norm          4.0565        2.5917       -.57388E-07   -.41469E-03
   4  norm          4.3878        11.842       -.26330E-06   -.11439E-03
   5  Prefactor      .0000        8.2244        .51169E-07** at limit **
   6  Prefactor      .0000        31.589       -.22203E-06** at limit **
   7  norm           .0000        10.559       -.27473E-07** at limit **
   8  Normalizat    1.5332        .52009       -.64687E-06   -.12227E-05
   9  Prefactor     .94121        .27599E-01   -.15127E-07   -.37010E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 6.42662
  norm       = 4.05652
  norm       = 4.38778
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Normalizat = 1.53321
  Prefactor  = 0.941209
eal 1.21
user 0.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33930487/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits scfile=/lscratch/kocevski/33930487/ft2_4FGL_J1659.7-3131_daily_bin2190.fits outfile=/lscratch/kocevski/33930487/cmap_HighResolution_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.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=254.945 yref=-31.5209 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.97
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33930487/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits evtable="EVENTS" scfile=/lscratch/kocevski/33930487/ft2_4FGL_J1659.7-3131_daily_bin2190.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33930487/Model_4FGL_J1659.7-3131_daily_bin2190.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 FGES J1745.8-3028
adding source FHES J1626.9-2431
adding source FHES J1741.6-3917
adding source G337.0-0.1
adding source GAL_V02
adding source HESS J1614-518
adding source HESS J1616-508
adding source HESS J1804-216
adding source HESS J1808-204
adding source HESS J1809-193
adding source HESS J1813-178
adding source RX J1713.7-3946
adding source W 28
adding source W 30
Working on...
/lscratch/kocevski/33930487/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits....................!
real 353.28
user 349.38
sys 0.98

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33930487/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits', '/lscratch/kocevski/33930487/ft2_4FGL_J1659.7-3131_daily_bin2190.fits', expMap='/lscratch/kocevski/33930487/expmap_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.fits', expCube='/lscratch/kocevski/33930487/ltcube_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33930487/Model_4FGL_J1659.7-3131_daily_bin2190.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1659.7-3131'

4FGL J1659.7-3131
   Spectrum: PowerLaw
605    Prefactor:  3.151e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
606        Index:  2.293e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
607        Scale:  1.906e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33930487/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits
Spacecraft file(s): /lscratch/kocevski/33930487/ft2_4FGL_J1659.7-3131_daily_bin2190.fits
Exposure map: /lscratch/kocevski/33930487/expmap_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.fits
Exposure cube: /lscratch/kocevski/33930487/ltcube_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33930487/Model_4FGL_J1659.7-3131_daily_bin2190.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) = 29276.4527141

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .19291E-04   1.0000          .0000       .10000E+07
     2 'norm      '    6.3759       1.0000          .0000       .10000E+07
     3 'norm      '    4.0563       1.0000          .0000       .10000E+07
     4 'norm      '    4.3756       1.0000          .0000       .10000E+07
     5 'Prefactor '    .76050E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    .57794E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .30737E-05   1.0000          .0000       .10000E+07
     8 'Normalizat'    1.5339       1.0000         .10000E-01   10.000    
     9 'Prefactor '    .94120       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .2072E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   29276.36     FROM MIGRAD    STATUS=CONVERGED     75 CALLS      437 TOTAL
                     EDM=   .56E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        14.558       -.33647E-06** at limit **
   2  norm          6.4266        5.8185        .45708E-07    .19607E-03
   3  norm          4.0565        2.5917       -.57388E-07   -.41469E-03
   4  norm          4.3878        11.842       -.26330E-06   -.11439E-03
   5  Prefactor      .0000        8.2244        .51169E-07** at limit **
   6  Prefactor      .0000        31.589       -.22203E-06** at limit **
   7  norm           .0000        10.559       -.27473E-07** at limit **
   8  Normalizat    1.5332        .52009       -.64687E-06   -.12227E-05
   9  Prefactor     .94121        .27599E-01   -.15127E-07   -.37010E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 6.42662
  norm       = 4.05652
  norm       = 4.38778
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Normalizat = 1.53321
  Prefactor  = 0.941209
eal 1.17
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33930461/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits scfile=/lscratch/kocevski/33930461/ft2_4FGL_J1659.7-3131_daily_bin2190.fits outfile=/lscratch/kocevski/33930461/cmap_HighResolution_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.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=254.945 yref=-31.5209 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.08
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33930461/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits evtable="EVENTS" scfile=/lscratch/kocevski/33930461/ft2_4FGL_J1659.7-3131_daily_bin2190.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33930461/Model_4FGL_J1659.7-3131_daily_bin2190.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 FGES J1745.8-3028
adding source FHES J1626.9-2431
adding source FHES J1741.6-3917
adding source G337.0-0.1
adding source GAL_V02
adding source HESS J1614-518
adding source HESS J1616-508
adding source HESS J1804-216
adding source HESS J1808-204
adding source HESS J1809-193
adding source HESS J1813-178
adding source RX J1713.7-3946
adding source W 28
adding source W 30
Working on...
/lscratch/kocevski/33930461/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits....................!
real 372.87
user 369.41
sys 0.79

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33930461/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits', '/lscratch/kocevski/33930461/ft2_4FGL_J1659.7-3131_daily_bin2190.fits', expMap='/lscratch/kocevski/33930461/expmap_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.fits', expCube='/lscratch/kocevski/33930461/ltcube_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33930461/Model_4FGL_J1659.7-3131_daily_bin2190.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1659.7-3131'

4FGL J1659.7-3131
   Spectrum: PowerLaw
605    Prefactor:  3.151e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
606        Index:  2.293e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
607        Scale:  1.906e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33930461/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits
Spacecraft file(s): /lscratch/kocevski/33930461/ft2_4FGL_J1659.7-3131_daily_bin2190.fits
Exposure map: /lscratch/kocevski/33930461/expmap_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.fits
Exposure cube: /lscratch/kocevski/33930461/ltcube_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33930461/Model_4FGL_J1659.7-3131_daily_bin2190.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) = 29276.4527141

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .19291E-04   1.000Done.

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

Extracting fit parameters...

4FGL J1659.7-3131
   Spectrum: PowerLaw
605    Prefactor:  0.000e+00  3.527e-06  0.000e+00  1.000e+06 ( 1.000e-13)
606        Index:  2.293e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
607        Scale:  1.906e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
2035    Prefactor:  9.412e-01  2.819e-02  0.000e+00  1.000e+01 ( 1.000e+00)
2036        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
2037        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
2007   Normalization:  1.533e+00  5.493e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 254.945 -31.521
Photon Flux Upper Limit: 2.04603806453e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0156943273959 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33929694/likelihoodResults_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 29276.4205576
delta logL = -0.0587686849758

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 29276.3618441
delta logL = -5.51953562535e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .97118E-03   1.0000          .0000       .10000E+07
     2 'Index     '    2.9478       1.0000          .0000       10.000    
     3 'Normalizat'    1.5314       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94125       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .2072E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   29276.36     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      196 TOTAL
                     EDM=   .30E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        7.7245        .42118E-03** at limit **
   2  Index         1.9166        .86779       -.41375E-04     .0000    
   3  Normalizat    1.5332        1.0471        .59732E-05   -.72124E-05
   4  Prefactor     .94121        1.2840       -.76094E-07   -.18087E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.91662
  Normalizat = 1.53321
  Prefactor  = 0.941209
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   29276.36     FROM HESSE     STATUS=FAILED         9 CALLS      205 TOTAL
                     EDM=   .30E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        7.7245        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .38749        1.6050       -.41375E-04   -.66451    
   3  Normalizat    1.5332        1.0471        .59732E-05   -.76849    
   4  Prefactor     .94121        1.2840       -.76094E-07   -.94716    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.01319e-12
Minuit parameter uncertainties:
  1  2.62323e-05
  2  0.874975
  3  1.06252
  4  1.32942
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 29276.3617889
delta logL = 0.0

Extracting fit parameters...

4FGL J1659.7-3131
   Spectrum: PowerLaw
605    Prefactor:  0.000e+00  2.623e-05  0.000e+00  1.000e+06 ( 1.000e-13)
606        Index:  1.917e+00  8.750e-01  0.000e+00  1.000e+01 (-1.000e+00)
607        Scale:  1.906e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
2035    Prefactor:  9.412e-01  1.329e+00  0.000e+00  1.000e+01 ( 1.000e+00)
2036        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
2037        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
2007   Normalization:  1.533e+00  1.063e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 254.945 -31.521

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/33929694/cmap_HighResolution_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.57e-02', job_status='DONE', photon_flux_upper_limit='2.05e-07', time_completed='2026-08-01 20:05:06.334089', job_id='33929694', GAL2='0.94', fit_tolerance='1e-08', EG2='1.53', EG='1.53', time_epoch_completed='1785639906.33', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='2190' AND source_name='4FGL J1659.7-3131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug  1 20:05:06 PDT 2026

0          .0000       .10000E+07
     2 'norm      '    6.3759       1.0000          .0000       .10000E+07
     3 'norm      '    4.0563       1.0000          .0000       .10000E+07
     4 'norm      '    4.3756       1.0000          .0000       .10000E+07
     5 'Prefactor '    .76050E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    .57794E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .30737E-05   1.0000          .0000       .10000E+07
     8 'Normalizat'    1.5339       1.0000         .10000E-01   10.000    
     9 'Prefactor '    .94120       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .2072E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   29276.36     FROM MIGRAD    STATUS=CONVERGED     75 CALLS      437 TOTAL
                     EDM=   .56E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        14.558       -.33647E-06** at limit **
   2  norm          6.4266        5.8185        .45708E-07    .19607E-03
   3  norm          4.0565        2.5917       -.57388E-07   -.41469E-03
   4  norm          4.3878        11.842       -.26330E-06   -.11439E-03
   5  Prefactor      .0000        8.2244        .51169E-07** at limit **
   6  Prefactor      .0000        31.589       -.22203E-06** at limit **
   7  norm           .0000        10.559       -.27473E-07** at limit **
   8  Normalizat    1.5332        .52009       -.64687E-06   -.12227E-05
   9  Prefactor     .94121        .27599E-01   -.15127E-07   -.37010E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 6.42662
  norm       = 4.05652
  norm       = 4.38778
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Normalizat = 1.53321
  Prefactor  = 0.941209
 **********
 **   18 **HESSE 
 **********

 FCN=   29276.36     FROM HESSE     STATUS=OK           101 CALLS      538 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        14.532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.4266        5.8385        .39726E-03   -1.5657    
   3  norm          4.0565        2.6142        .50040E-03   -1.5668    
   4  norm          4.3878        11.915        .48125E-03   -1.5666    
   5  Prefactor      .0000        8.2306        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        31.520        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        10.553        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Normalizat    1.5332        .54714        .29559       -.76849    
   9  Prefactor     .94121        .28186E-01    .25771E-01   -.94716    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.41032e-07
Minuit parameter uncertainties:
  1  7.12104e-06
  2  5.83852
  3  2.61421
  4  11.9149
  5  3.52715e-06
  6  1.23071e-05
  7  1.11585e-06
  8  0.549278
  9  0.0281862
 **********
 **   18 **HESSE 
 **********

 FCN=   29276.36     FROM HESSE     STATUS=OK           101 CALLS      538 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        14.532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.4266        5.8385        .39726E-03   -1.5657    
   3  norm          4.0565        2.6142        .50040E-03   -1.5668    
   4  norm          4.3878        11.915        .48125E-03   -1.5666    
   5  Prefactor      .0000        8.2306        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        31.520        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        10.553        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Normalizat    1.5332        .54714        .29559       -.76849    
   9  Prefactor     .94121        .28186E-01    .25771E-01   -.94716    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.41032e-07
Minuit parameter uncertainties:
  1  7.12104e-06
  2  5.83852
  3  2.61421
  4  11.9149
  5  3.52715e-06
  6  1.23071e-05
  7  1.11585e-06
  8  0.549278
  9  0.0281862
0          .0000       .10000E+07
     2 'norm      '    6.3759       1.0000          .0000       .10000E+07
     3 'norm      '    4.0563       1.0000          .0000       .10000E+07
     4 'norm      '    4.3756       1.0000          .0000       .10000E+07
     5 'Prefactor '    .76050E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    .57794E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .30737E-05   1.0000          .0000       .10000E+07
     8 'Normalizat'    1.5339       1.0000         .10000E-01   10.000    
     9 'Prefactor '    .94120       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .2072E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   29276.36     FROM MIGRAD    STATUS=CONVERGED     75 CALLS      437 TOTAL
                     EDM=   .56E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        14.558       -.33647E-06** at limit **
   2  norm          6.4266        5.8185        .45708E-07    .19607E-03
   3  norm          4.0565        2.5917       -.57388E-07   -.41469E-03
   4  norm          4.3878        11.842       -.26330E-06   -.11439E-03
   5  Prefactor      .0000        8.2244        .51169E-07** at limit **
   6  Prefactor      .0000        31.589       -.22203E-06** at limit **
   7  norm           .0000        10.559       -.27473E-07** at limit **
   8  Normalizat    1.5332        .52009       -.64687E-06   -.12227E-05
   9  Prefactor     .94121        .27599E-01   -.15127E-07   -.37010E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 6.42662
  norm       = 4.05652
  norm       = 4.38778
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Normalizat = 1.53321
  Prefactor  = 0.941209
Done.

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

Extracting fit parameters...

4FGL J1659.7-3131
   Spectrum: PowerLaw
605    Prefactor:  0.000e+00  3.527e-06  0.000e+00  1.000e+06 ( 1.000e-13)
606        Index:  2.293e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
607        Scale:  1.906e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
2035    Prefactor:  9.412e-01  2.819e-02  0.000e+00  1.000e+01 ( 1.000e+00)
2036        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
2037        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
2007   Normalization:  1.533e+00  5.493e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 254.945 -31.521
Photon Flux Upper Limit: 2.04603806453e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0156943273959 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33929864/likelihoodResults_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 29276.4205576
delta logL = -0.0587686849758

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 29276.3618441
delta logL = -5.51953562535e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .97118E-03   1.0000          .0000       .10000E+07
     2 'Index     '    2.9478       1.0000          .0000       10.000    
     3 'Normalizat'    1.5314       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94125       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .2072E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   29276.36     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      196 TOTAL
                     EDM=   .30E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        7.7245        .42118E-03** at limit **
   2  Index         1.9166        .86779       -.41375E-04     .0000    
   3  Normalizat    1.5332        1.0471        .59732E-05   -.72124E-05
   4  Prefactor     .94121        1.2840       -.76094E-07   -.18087E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.91662
  Normalizat = 1.53321
  Prefactor  = 0.941209
al 1.16
user 0.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33930551/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits scfile=/lscratch/kocevski/33930551/ft2_4FGL_J1659.7-3131_daily_bin2190.fits outfile=/lscratch/kocevski/33930551/cmap_HighResolution_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.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=254.945 yref=-31.5209 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.30
user 0.19
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33930551/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits evtable="EVENTS" scfile=/lscratch/kocevski/33930551/ft2_4FGL_J1659.7-3131_daily_bin2190.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33930551/Model_4FGL_J1659.7-3131_daily_bin2190.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 FGES J1745.8-3028
adding source FHES J1626.9-2431
adding source FHES J1741.6-3917
adding source G337.0-0.1
adding source GAL_V02
adding source HESS J1614-518
adding source HESS J1616-508
adding source HESS J1804-216
adding source HESS J1808-204
adding source HESS J1809-193
adding source HESS J1813-178
adding source RX J1713.7-3946
adding source W 28
adding source W 30
Working on...
/lscratch/kocevski/33930551/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits....................!
real 332.55
user 328.66
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33930551/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits', '/lscratch/kocevski/33930551/ft2_4FGL_J1659.7-3131_daily_bin2190.fits', expMap='/lscratch/kocevski/33930551/expmap_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.fits', expCube='/lscratch/kocevski/33930551/ltcube_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33930551/Model_4FGL_J1659.7-3131_daily_bin2190.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1659.7-3131'

4FGL J1659.7-3131
   Spectrum: PowerLaw
605    Prefactor:  3.151e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
606        Index:  2.293e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
607        Scale:  1.906e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33930551/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits
Spacecraft file(s): /lscratch/kocevski/33930551/ft2_4FGL_J1659.7-3131_daily_bin2190.fits
Exposure map: /lscratch/kocevski/33930551/expmap_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.fits
Exposure cube: /lscratch/kocevski/33930551/ltcube_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33930551/Model_4FGL_J1659.7-3131_daily_bin2190.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) = 29276.4527141

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .19291E-04   1.0000 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   29276.36     FROM HESSE     STATUS=FAILED         9 CALLS      205 TOTAL
                     EDM=   .30E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        7.7245        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .38749        1.6050       -.41375E-04   -.66451    
   3  Normalizat    1.5332        1.0471        .59732E-05   -.76849    
   4  Prefactor     .94121        1.2840       -.76094E-07   -.94716    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.01319e-12
Minuit parameter uncertainties:
  1  2.62323e-05
  2  0.874975
  3  1.06252
  4  1.32942
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 29276.3617889
delta logL = 0.0

Extracting fit parameters...

4FGL J1659.7-3131
   Spectrum: PowerLaw
605    Prefactor:  0.000e+00  2.623e-05  0.000e+00  1.000e+06 ( 1.000e-13)
606        Index:  1.917e+00  8.750e-01  0.000e+00  1.000e+01 (-1.000e+00)
607        Scale:  1.906e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
2035    Prefactor:  9.412e-01  1.329e+00  0.000e+00  1.000e+01 ( 1.000e+00)
2036        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
2037        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
2007   Normalization:  1.533e+00  1.063e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 254.945 -31.521

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/33929864/cmap_HighResolution_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.57e-02', job_status='DONE', photon_flux_upper_limit='2.05e-07', time_completed='2026-08-01 20:06:14.646646', job_id='33929864', GAL2='0.94', fit_tolerance='1e-08', EG2='1.53', EG='1.53', time_epoch_completed='1785639974.65', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='2190' AND source_name='4FGL J1659.7-3131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug  1 20:06:15 PDT 2026

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

 FCN=   29276.36     FROM HESSE     STATUS=OK           101 CALLS      538 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        14.532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.4266        5.8385        .39726E-03   -1.5657    
   3  norm          4.0565        2.6142        .50040E-03   -1.5668    
   4  norm          4.3878        11.915        .48125E-03   -1.5666    
   5  Prefactor      .0000        8.2306        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        31.520        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        10.553        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Normalizat    1.5332        .54714        .29559       -.76849    
   9  Prefactor     .94121        .28186E-01    .25771E-01   -.94716    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.41032e-07
Minuit parameter uncertainties:
  1  7.12104e-06
  2  5.83852
  3  2.61421
  4  11.9149
  5  3.52715e-06
  6  1.23071e-05
  7  1.11585e-06
  8  0.549278
  9  0.0281862
 **********
 **   18 **HESSE 
 **********

 FCN=   29276.36     FROM HESSE     STATUS=OK           101 CALLS      538 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        14.532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.4266        5.8385        .39726E-03   -1.5657    
   3  norm          4.0565        2.6142        .50040E-03   -1.5668    
   4  norm          4.3878        11.915        .48125E-03   -1.5666    
   5  Prefactor      .0000        8.2306        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        31.520        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        10.553        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Normalizat    1.5332        .54714        .29559       -.76849    
   9  Prefactor     .94121        .28186E-01    .25771E-01   -.94716    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.41032e-07
Minuit parameter uncertainties:
  1  7.12104e-06
  2  5.83852
  3  2.61421
  4  11.9149
  5  3.52715e-06
  6  1.23071e-05
  7  1.11585e-06
  8  0.549278
  9  0.0281862
          .0000       .10000E+07
     2 'norm      '    6.3759       1.0000          .0000       .10000E+07
     3 'norm      '    4.0563       1.0000          .0000       .10000E+07
     4 'norm      '    4.3756       1.0000          .0000       .10000E+07
     5 'Prefactor '    .76050E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    .57794E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .30737E-05   1.0000          .0000       .10000E+07
     8 'Normalizat'    1.5339       1.0000         .10000E-01   10.000    
     9 'Prefactor '    .94120       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .2072E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   29276.36     FROM MIGRAD    STATUS=CONVERGED     75 CALLS      437 TOTAL
                     EDM=   .56E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        14.558       -.33647E-06** at limit **
   2  norm          6.4266        5.8185        .45708E-07    .19607E-03
   3  norm          4.0565        2.5917       -.57388E-07   -.41469E-03
   4  norm          4.3878        11.842       -.26330E-06   -.11439E-03
   5  Prefactor      .0000        8.2244        .51169E-07** at limit **
   6  Prefactor      .0000        31.589       -.22203E-06** at limit **
   7  norm           .0000        10.559       -.27473E-07** at limit **
   8  Normalizat    1.5332        .52009       -.64687E-06   -.12227E-05
   9  Prefactor     .94121        .27599E-01   -.15127E-07   -.37010E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 6.42662
  norm       = 4.05652
  norm       = 4.38778
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Normalizat = 1.53321
  Prefactor  = 0.941209
 **********
 **   18 **HESSE 
 **********

 FCN=   29276.36     FROM HESSE     STATUS=OK           101 CALLS      538 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        14.532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.4266        5.8385        .39726E-03   -1.5657    
   3  norm          4.0565        2.6142        .50040E-03   -1.5668    
   4  norm          4.3878        11.915        .48125E-03   -1.5666    
   5  Prefactor      .0000        8.2306        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        31.520        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        10.553        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Normalizat    1.5332        .54714        .29559       -.76849    
   9  Prefactor     .94121        .28186E-01    .25771E-01   -.94716    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.41032e-07
Minuit parameter uncertainties:
  1  7.12104e-06
  2  5.83852
  3  2.61421
  4  11.9149
  5  3.52715e-06
  6  1.23071e-05
  7  1.11585e-06
  8  0.549278
  9  0.0281862
eal 1.55
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33930629/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits scfile=/lscratch/kocevski/33930629/ft2_4FGL_J1659.7-3131_daily_bin2190.fits outfile=/lscratch/kocevski/33930629/cmap_HighResolution_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.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=254.945 yref=-31.5209 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.51
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33930629/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits evtable="EVENTS" scfile=/lscratch/kocevski/33930629/ft2_4FGL_J1659.7-3131_daily_bin2190.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33930629/Model_4FGL_J1659.7-3131_daily_bin2190.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 FGES J1745.8-3028
adding source FHES J1626.9-2431
adding source FHES J1741.6-3917
adding source G337.0-0.1
adding source GAL_V02
adding source HESS J1614-518
adding source HESS J1616-508
adding source HESS J1804-216
adding source HESS J1808-204
adding source HESS J1809-193
adding source HESS J1813-178
adding source RX J1713.7-3946
adding source W 28
adding source W 30
Working on...
/lscratch/kocevski/33930629/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits....................!
real 356.26
user 352.19
sys 0.98

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33930629/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits', '/lscratch/kocevski/33930629/ft2_4FGL_J1659.7-3131_daily_bin2190.fits', expMap='/lscratch/kocevski/33930629/expmap_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.fits', expCube='/lscratch/kocevski/33930629/ltcube_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33930629/Model_4FGL_J1659.7-3131_daily_bin2190.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1659.7-3131'

4FGL J1659.7-3131
   Spectrum: PowerLaw
605    Prefactor:  3.151e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
606        Index:  2.293e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
607        Scale:  1.906e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33930629/ft1_filtered_4FGL_J1659.7-3131_daily_bin2190.fits
Spacecraft file(s): /lscratch/kocevski/33930629/ft2_4FGL_J1659.7-3131_daily_bin2190.fits
Exposure map: /lscratch/kocevski/33930629/expmap_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.fits
Exposure cube: /lscratch/kocevski/33930629/ltcube_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33930629/Model_4FGL_J1659.7-3131_daily_bin2190.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) = 29276.4527141

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .19291E-04   1.0000          .0000       .10000E+07
     2 'norm      '    6.3759       1.0000          .0000       .10000E+07
     3 'norm      '    4.0563       1.0000          .0000       .10000E+07
     4 'norm      '    4.3756       1.0000          .0000       .10000E+07
     5 'Prefactor '    .76050E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    .57794E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .30737E-05   1.0000          .0000       .10000E+07
     8 'Normalizat'    1.5339       1.0000         .10000E-01   10.000    
     9 'Prefactor '    .94120       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .2072E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   29276.36     FROM MIGRAD    STATUS=CONVERGED     75 CALLS      437 TOTAL
                     EDM=   .56E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        14.558       -.33647E-06** at limit **
   2  norm          6.4266        5.8185        .45708E-07    .19607E-03
   3  norm          4.0565        2.5917       -.57388E-07   -.41469E-03
   4  norm          4.3878        11.842       -.26330E-06   -.11439E-03
   5  Prefactor      .0000        8.2244        .51169E-07** at limit **
   6  Prefactor      .0000        31.589       -.22203E-06** at limit **
   7  norm           .0000        10.559       -.27473E-07** at limit **
   8  Normalizat    1.5332        .52009       -.64687E-06   -.12227E-05
   9  Prefactor     .94121        .27599E-01   -.15127E-07   -.37010E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 6.42662
  norm       = 4.05652
  norm       = 4.38778
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Normalizat = 1.53321
  Prefactor  = 0.941209
 **********
 **   18 **HESSE 
 **********

 FCN=   29276.36     FROM HESSE     STATUS=OK           101 CALLS      538 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        14.532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.4266        5.8385        .39726E-03   -1.5657    
   3  norm          4.0565        2.6142        .50040E-03   -1.5668    
   4  norm          4.3878        11.915        .48125E-03   -1.5666    
   5  Prefactor      .0000        8.2306        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        31.520        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        10.553        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Normalizat    1.5332        .54714        .29559       -.76849    
   9  Prefactor     .94121        .28186E-01    .25771E-01   -.94716    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.41032e-07
Minuit parameter uncertainties:
  1  7.12104e-06
  2  5.83852
  3  2.61421
  4  11.9149
  5  3.52715e-06
  6  1.23071e-05
  7  1.11585e-06
  8  0.549278
  9  0.0281862
Done.

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

Extracting fit parameters...

4FGL J1659.7-3131
   Spectrum: PowerLaw
605    Prefactor:  0.000e+00  3.527e-06  0.000e+00  1.000e+06 ( 1.000e-13)
606        Index:  2.293e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
607        Scale:  1.906e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
2035    Prefactor:  9.412e-01  2.819e-02  0.000e+00  1.000e+01 ( 1.000e+00)
2036        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
2037        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
2007   Normalization:  1.533e+00  5.493e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 254.945 -31.521
Photon Flux Upper Limit: 2.04603806453e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0156943273959 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33930286/likelihoodResults_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 29276.4205576
delta logL = -0.0587686849758

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 29276.3618441
delta logL = -5.51953562535e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .97118E-03   1.0000          .0000       .10000E+07
     2 'Index     '    2.9478       1.0000          .0000       10.000    
     3 'Normalizat'    1.5314       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94125       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .2072E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   29276.36     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      196 TOTAL
                     EDM=   .30E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        7.7245        .42118E-03** at limit **
   2  Index         1.9166        .86779       -.41375E-04     .0000    
   3  Normalizat    1.5332        1.0471        .59732E-05   -.72124E-05
   4  Prefactor     .94121        1.2840       -.76094E-07   -.18087E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.91662
  Normalizat = 1.53321
  Prefactor  = 0.941209
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   29276.36     FROM HESSE     STATUS=FAILED         9 CALLS      205 TOTAL
                     EDM=   .30E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        7.7245        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .38749        1.6050       -.41375E-04   -.66451    
   3  Normalizat    1.5332        1.0471        .59732E-05   -.76849    
   4  Prefactor     .94121        1.2840       -.76094E-07   -.94716    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.01319e-12
Minuit parameter uncertainties:
  1  2.62323e-05
  2  0.874975
  3  1.06252
  4  1.32942
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 29276.3617889
delta logL = 0.0

Extracting fit parameters...

4FGL J1659.7-3131
   Spectrum: PowerLaw
605    Prefactor:  0.000e+00  2.623e-05  0.000e+00  1.000e+06 ( 1.000e-13)
606        Index:  1.917e+00  8.750e-01  0.000e+00  1.000e+01 (-1.000e+00)
607        Scale:  1.906e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
2035    Prefactor:  9.412e-01  1.329e+00  0.000e+00  1.000e+01 ( 1.000e+00)
2036        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
2037        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
2007   Normalization:  1.533e+00  1.063e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 254.945 -31.521

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/33930286/cmap_HighResolution_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.57e-02', job_status='DONE', photon_flux_upper_limit='2.05e-07', time_completed='2026-08-01 20:10:17.044954', job_id='33930286', GAL2='0.94', fit_tolerance='1e-08', EG2='1.53', EG='1.53', time_epoch_completed='1785640217.04', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='2190' AND source_name='4FGL J1659.7-3131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug  1 20:10:17 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1659.7-3131
   Spectrum: PowerLaw
605    Prefactor:  0.000e+00  3.527e-06  0.000e+00  1.000e+06 ( 1.000e-13)
606        Index:  2.293e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
607        Scale:  1.906e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
2035    Prefactor:  9.412e-01  2.819e-02  0.000e+00  1.000e+01 ( 1.000e+00)
2036        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
2037        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
2007   Normalization:  1.533e+00  5.493e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 254.945 -31.521
Photon Flux Upper Limit: 2.04603806453e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0156943273959 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33930487/likelihoodResults_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 29276.4205576
delta logL = -0.0587686849758

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 29276.3618441
delta logL = -5.51953562535e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .97118E-03   1.0000          .0000       .10000E+07
     2 'Index     '    2.9478       1.0000          .0000       10.000    
     3 'Normalizat'    1.5314       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94125       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .2072E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   29276.36     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      196 TOTAL
                     EDM=   .30E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        7.7245        .42118E-03** at limit **
   2  Index         1.9166        .86779       -.41375E-04     .0000    
   3  Normalizat    1.5332        1.0471        .59732E-05   -.72124E-05
   4  Prefactor     .94121        1.2840       -.76094E-07   -.18087E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.91662
  Normalizat = 1.53321
  Prefactor  = 0.941209
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   29276.36     FROM HESSE     STATUS=FAILED         9 CALLS      205 TOTAL
                     EDM=   .30E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        7.7245        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .38749        1.6050       -.41375E-04   -.66451    
   3  Normalizat    1.5332        1.0471        .59732E-05   -.76849    
   4  Prefactor     .94121        1.2840       -.76094E-07   -.94716    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.01319e-12
Minuit parameter uncertainties:
  1  2.62323e-05
  2  0.874975
  3  1.06252
  4  1.32942
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 29276.3617889
delta logL = 0.0

Extracting fit parameters...

4FGL J1659.7-3131
   Spectrum: PowerLaw
605    Prefactor:  0.000e+00  2.623e-05  0.000e+00  1.000e+06 ( 1.000e-13)
606        Index:  1.917e+00  8.750e-01  0.000e+00  1.000e+01 (-1.000e+00)
607        Scale:  1.906e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
2035    Prefactor:  9.412e-01  1.329e+00  0.000e+00  1.000e+01 ( 1.000e+00)
2036        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
2037        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
2007   Normalization:  1.533e+00  1.063e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 254.945 -31.521

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/33930487/cmap_HighResolution_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.57e-02', job_status='DONE', photon_flux_upper_limit='2.05e-07', time_completed='2026-08-01 20:11:10.170068', job_id='33930487', GAL2='0.94', fit_tolerance='1e-08', EG2='1.53', EG='1.53', time_epoch_completed='1785640270.17', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='2190' AND source_name='4FGL J1659.7-3131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug  1 20:11:10 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1659.7-3131
   Spectrum: PowerLaw
605    Prefactor:  0.000e+00  3.527e-06  0.000e+00  1.000e+06 ( 1.000e-13)
606        Index:  2.293e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
607        Scale:  1.906e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
2035    Prefactor:  9.412e-01  2.819e-02  0.000e+00  1.000e+01 ( 1.000e+00)
2036        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
2037        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
2007   Normalization:  1.533e+00  5.493e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 254.945 -31.521
Photon Flux Upper Limit: 2.04603806453e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0156943273959 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33930461/likelihoodResults_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 29276.4205576
delta logL = -0.0587686849758

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 29276.3618441
delta logL = -5.51953562535e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .97118E-03   1.0000          .0000       .10000E+07
     2 'Index     '    2.9478       1.0000          .0000       10.000    
     3 'Normalizat'    1.5314       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94125       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .2072E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   29276.36     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      196 TOTAL
                     EDM=   .30E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        7.7245        .42118E-03** at limit **
   2  Index         1.9166        .86779       -.41375E-04     .0000    
   3  Normalizat    1.5332        1.0471        .59732E-05   -.72124E-05
   4  Prefactor     .94121        1.2840       -.76094E-07   -.18087E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.91662
  Normalizat = 1.53321
  Prefactor  = 0.941209
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   29276.36     FROM HESSE     STATUS=FAILED         9 CALLS      205 TOTAL
                     EDM=   .30E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        7.7245        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .38749        1.6050       -.41375E-04   -.66451    
   3  Normalizat    1.5332        1.0471        .59732E-05   -.76849    
   4  Prefactor     .94121        1.2840       -.76094E-07   -.94716    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.01319e-12
Minuit parameter uncertainties:
  1  2.62323e-05
  2  0.874975
  3  1.06252
  4  1.32942
Done.

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

Extracting fit parameters...

4FGL J1659.7-3131
   Spectrum: PowerLaw
605    Prefactor:  0.000e+00  3.527e-06  0.000e+00  1.000e+06 ( 1.000e-13)
606        Index:  2.293e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
607        Scale:  1.906e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
2035    Prefactor:  9.412e-01  2.819e-02  0.000e+00  1.000e+01 ( 1.000e+00)
2036        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
2037        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
2007   Normalization:  1.533e+00  5.493e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 254.945 -31.521
Photon Flux Upper Limit: 2.04603806453e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0156943273959 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33929856/likelihoodResults_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 29276.4205576
delta logL = -0.0587686849758

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 29276.3618441
delta logL = -5.51953562535e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .97118E-03   1.0000          .0000       .10000E+07
     2 'Index     '    2.9478       1.0000          .0000       10.000    
     3 'Normalizat'    1.5314       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94125       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .2072E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   29276.36     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      196 TOTAL
                     EDM=   .30E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        7.7245        .42118E-03** at limit **
   2  Index         1.9166        .86779       -.41375E-04     .0000    
   3  Normalizat    1.5332        1.0471        .59732E-05   -.72124E-05
   4  Prefactor     .94121        1.2840       -.76094E-07   -.18087E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.91662
  Normalizat = 1.53321
  Prefactor  = 0.941209
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 29276.3617889
delta logL = 0.0

Extracting fit parameters...

4FGL J1659.7-3131
   Spectrum: PowerLaw
605    Prefactor:  0.000e+00  2.623e-05  0.000e+00  1.000e+06 ( 1.000e-13)
606        Index:  1.917e+00  8.750e-01  0.000e+00  1.000e+01 (-1.000e+00)
607        Scale:  1.906e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
2035    Prefactor:  9.412e-01  1.329e+00  0.000e+00  1.000e+01 ( 1.000e+00)
2036        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
2037        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
2007   Normalization:  1.533e+00  1.063e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 254.945 -31.521

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/33930461/cmap_HighResolution_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.57e-02', job_status='DONE', photon_flux_upper_limit='2.05e-07', time_completed='2026-08-01 20:11:24.506646', job_id='33930461', GAL2='0.94', fit_tolerance='1e-08', EG2='1.53', EG='1.53', time_epoch_completed='1785640284.51', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='2190' AND source_name='4FGL J1659.7-3131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug  1 20:11:25 PDT 2026

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

 FCN=   29276.36     FROM HESSE     STATUS=FAILED         9 CALLS      205 TOTAL
                     EDM=   .30E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        7.7245        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .38749        1.6050       -.41375E-04   -.66451    
   3  Normalizat    1.5332        1.0471        .59732E-05   -.76849    
   4  Prefactor     .94121        1.2840       -.76094E-07   -.94716    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.01319e-12
Minuit parameter uncertainties:
  1  2.62323e-05
  2  0.874975
  3  1.06252
  4  1.32942
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 29276.3617889
delta logL = 0.0

Extracting fit parameters...

4FGL J1659.7-3131
   Spectrum: PowerLaw
605    Prefactor:  0.000e+00  2.623e-05  0.000e+00  1.000e+06 ( 1.000e-13)
606        Index:  1.917e+00  8.750e-01  0.000e+00  1.000e+01 (-1.000e+00)
607        Scale:  1.906e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
2035    Prefactor:  9.412e-01  1.329e+00  0.000e+00  1.000e+01 ( 1.000e+00)
2036        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
2037        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
2007   Normalization:  1.533e+00  1.063e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 254.945 -31.521

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/33929856/cmap_HighResolution_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.57e-02', job_status='DONE', photon_flux_upper_limit='2.05e-07', time_completed='2026-08-01 20:11:34.201363', job_id='33929856', GAL2='0.94', fit_tolerance='1e-08', EG2='1.53', EG='1.53', time_epoch_completed='1785640294.2', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='2190' AND source_name='4FGL J1659.7-3131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug  1 20:11:35 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1659.7-3131
   Spectrum: PowerLaw
605    Prefactor:  0.000e+00  3.527e-06  0.000e+00  1.000e+06 ( 1.000e-13)
606        Index:  2.293e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
607        Scale:  1.906e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
2035    Prefactor:  9.412e-01  2.819e-02  0.000e+00  1.000e+01 ( 1.000e+00)
2036        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
2037        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
2007   Normalization:  1.533e+00  5.493e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 254.945 -31.521
Photon Flux Upper Limit: 2.04603806453e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0156943273959 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33930551/likelihoodResults_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 29276.4205576
delta logL = -0.0587686849758

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 29276.3618441
delta logL = -5.51953562535e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .97118E-03   1.0000          .0000       .10000E+07
     2 'Index     '    2.9478       1.0000          .0000       10.000    
     3 'Normalizat'    1.5314       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94125       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .2072E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   29276.36     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      196 TOTAL
                     EDM=   .30E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        7.7245        .42118E-03** at limit **
   2  Index         1.9166        .86779       -.41375E-04     .0000    
   3  Normalizat    1.5332        1.0471        .59732E-05   -.72124E-05
   4  Prefactor     .94121        1.2840       -.76094E-07   -.18087E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.91662
  Normalizat = 1.53321
  Prefactor  = 0.941209
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   29276.36     FROM HESSE     STATUS=FAILED         9 CALLS      205 TOTAL
                     EDM=   .30E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        7.7245        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .38749        1.6050       -.41375E-04   -.66451    
   3  Normalizat    1.5332        1.0471        .59732E-05   -.76849    
   4  Prefactor     .94121        1.2840       -.76094E-07   -.94716    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.01319e-12
Minuit parameter uncertainties:
  1  2.62323e-05
  2  0.874975
  3  1.06252
  4  1.32942
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 29276.3617889
delta logL = 0.0

Extracting fit parameters...

4FGL J1659.7-3131
   Spectrum: PowerLaw
605    Prefactor:  0.000e+00  2.623e-05  0.000e+00  1.000e+06 ( 1.000e-13)
606        Index:  1.917e+00  8.750e-01  0.000e+00  1.000e+01 (-1.000e+00)
607        Scale:  1.906e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
2035    Prefactor:  9.412e-01  1.329e+00  0.000e+00  1.000e+01 ( 1.000e+00)
2036        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
2037        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
2007   Normalization:  1.533e+00  1.063e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 254.945 -31.521

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/33930551/cmap_HighResolution_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.57e-02', job_status='DONE', photon_flux_upper_limit='2.05e-07', time_completed='2026-08-01 20:12:35.609463', job_id='33930551', GAL2='0.94', fit_tolerance='1e-08', EG2='1.53', EG='1.53', time_epoch_completed='1785640355.61', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='2190' AND source_name='4FGL J1659.7-3131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug  1 20:12:36 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1659.7-3131
   Spectrum: PowerLaw
605    Prefactor:  0.000e+00  3.527e-06  0.000e+00  1.000e+06 ( 1.000e-13)
606        Index:  2.293e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
607        Scale:  1.906e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
2035    Prefactor:  9.412e-01  2.819e-02  0.000e+00  1.000e+01 ( 1.000e+00)
2036        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
2037        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
2007   Normalization:  1.533e+00  5.493e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 254.945 -31.521
Photon Flux Upper Limit: 2.04603806453e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0156943273959 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33930629/likelihoodResults_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 29276.4205576
delta logL = -0.0587686849758

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 29276.3618441
delta logL = -5.51953562535e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .97118E-03   1.0000          .0000       .10000E+07
     2 'Index     '    2.9478       1.0000          .0000       10.000    
     3 'Normalizat'    1.5314       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94125       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .2072E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   29276.36     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      196 TOTAL
                     EDM=   .30E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        7.7245        .42118E-03** at limit **
   2  Index         1.9166        .86779       -.41375E-04     .0000    
   3  Normalizat    1.5332        1.0471        .59732E-05   -.72124E-05
   4  Prefactor     .94121        1.2840       -.76094E-07   -.18087E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.91662
  Normalizat = 1.53321
  Prefactor  = 0.941209
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   29276.36     FROM HESSE     STATUS=FAILED         9 CALLS      205 TOTAL
                     EDM=   .30E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        7.7245        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .38749        1.6050       -.41375E-04   -.66451    
   3  Normalizat    1.5332        1.0471        .59732E-05   -.76849    
   4  Prefactor     .94121        1.2840       -.76094E-07   -.94716    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.01319e-12
Minuit parameter uncertainties:
  1  2.62323e-05
  2  0.874975
  3  1.06252
  4  1.32942
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 29276.3617889
delta logL = 0.0

Extracting fit parameters...

4FGL J1659.7-3131
   Spectrum: PowerLaw
605    Prefactor:  0.000e+00  2.623e-05  0.000e+00  1.000e+06 ( 1.000e-13)
606        Index:  1.917e+00  8.750e-01  0.000e+00  1.000e+01 (-1.000e+00)
607        Scale:  1.906e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
2035    Prefactor:  9.412e-01  1.329e+00  0.000e+00  1.000e+01 ( 1.000e+00)
2036        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
2037        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
2007   Normalization:  1.533e+00  1.063e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 254.945 -31.521

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/33930629/cmap_HighResolution_806976001_807235201_4FGL_J1659.7-3131_daily_bin2190.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.57e-02', job_status='DONE', photon_flux_upper_limit='2.05e-07', time_completed='2026-08-01 20:14:35.146038', job_id='33930629', GAL2='0.94', fit_tolerance='1e-08', EG2='1.53', EG='1.53', time_epoch_completed='1785640475.15', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='2190' AND source_name='4FGL J1659.7-3131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug  1 20:14:35 PDT 2026

