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


Performing analysis on: 4FGL_J1613.6+3411_weekly_bin945
RA = 243.421, Dec = 34.1982
tmin = 810518401, tmax = 811123201
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='38316173', job_status='RUN', time_executed='2026-09-15 12:39:28.773533', time_epoch_executed='1789501168.77' WHERE source_name='4FGL J1613.6+3411' and cadence='weekly' and bin_id='945'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38316173

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38316173/ft1_4FGL_J1613.6+3411_weekly_bin945.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38316173/ft2_4FGL_J1613.6+3411_weekly_bin945.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38316173/ft1_4FGL_J1613.6+3411_weekly_bin945.fits outfile=/lscratch/kocevski/38316173/ft1_filteredMKT_4FGL_J1613.6+3411_weekly_bin945.fits ra=243.421 dec=34.1982 rad=12.0 tmin=810518401.0 tmax=811123201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.92
user 5.34
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38316173/ft2_4FGL_J1613.6+3411_weekly_bin945.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38316173/ft2_4FGL_J1613.6+3411_weekly_bin945.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/38316173/ft1_filteredMKT_4FGL_J1613.6+3411_weekly_bin945.fits evtable="EVENTS" outfile="/lscratch/kocevski/38316173/ft1_filtered_4FGL_J1613.6+3411_weekly_bin945.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1418

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38316173/ft1_filtered_4FGL_J1613.6+3411_weekly_bin945.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38316173/ft2_4FGL_J1613.6+3411_weekly_bin945.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).

Done.


Performing analysis on: 4FGL_J1613.6+3411_weekly_bin945
RA = 243.421, Dec = 34.1982
tmin = 810518401, tmax = 811123201
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='38316158', job_status='RUN', time_executed='2026-09-15 12:39:15.319704', time_epoch_executed='1789501155.32' WHERE source_name='4FGL J1613.6+3411' and cadence='weekly' and bin_id='945'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38316158

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38316158/ft1_4FGL_J1613.6+3411_weekly_bin945.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38316158/ft2_4FGL_J1613.6+3411_weekly_bin945.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38316158/ft1_4FGL_J1613.6+3411_weekly_bin945.fits outfile=/lscratch/kocevski/38316158/ft1_filteredMKT_4FGL_J1613.6+3411_weekly_bin945.fits ra=243.421 dec=34.1982 rad=12.0 tmin=810518401.0 tmax=811123201.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 6.42
user 5.83
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38316158/ft2_4FGL_J1613.6+3411_weekly_bin945.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38316158/ft2_4FGL_J1613.6+3411_weekly_bin945.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/38316158/ft1_filteredMKT_4FGL_J1613.6+3411_weekly_bin945.fits evtable="EVENTS" outfile="/lscratch/kocevski/38316158/ft1_filtered_4FGL_J1613.6+3411_weekly_bin945.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1418

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38316158/ft1_filtered_4FGL_J1613.6+3411_weekly_bin945.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38316158/ft2_4FGL_J1613.6+3411_weekly_bin945.fits sctable="SC_DATA"/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)
 outfile=/lscratch/kocevski/38316006/ltcube_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.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/38316006/ft2_4FGL_J1613.6+3411_weekly_bin945.fits
.....................!
real 18.69
user 17.97
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38316006/ft1_filtered_4FGL_J1613.6+3411_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38316006/ft2_4FGL_J1613.6+3411_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38316006/ltcube_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.fits outfile=/lscratch/kocevski/38316006/expmap_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.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/38316006/ltcube_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.fits
.....................!
real 71.00
user 66.01
sys 4.12

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

Setting source of interest to:
4FGL J1613.6+3411 @ 243.421 34.1982

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38316006/ft1_filtered_4FGL_J1613.6+3411_weekly_bin945.fits scfile=/lscratch/kocevski/38316006/ft2_4FGL_J1613.6+3411_weekly_bin945.fits outfile=/lscratch/kocevski/38316006/cmap_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.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=243.421 yref=34.1982 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.71
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38316006/ft1_filtered_4FGL_J1613.6+3411_weekly_bin945.fits scfile=/lscratch/kocevski/38316006/ft2_4FGL_J1613.6+3411_weekly_bin945.fits outfile=/lscratch/kocevski/38316006/cmap_HighResolution_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.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=243.421 yref=34.1982 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.72
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38316006/ft1_filtered_4FGL_J1613.6+3411_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38316006/ft2_4FGL_J1613.6+3411_weekly_bin945.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38316006/Model_4FGL_J1613.6+3411_weekly_bin945.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 sourc **********
 **   18 **HESSE 
 **********

 FCN=   15330.14     FROM HESSE     STATUS=OK           363 CALLS     1705 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     59.568        40.755        .12959E-03   -1.5554    
   2  norm          1.9542        .68723        .74196E-03   -1.5680    
   3  Prefactor      .0000        1.6777        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .38858E-09    11.429        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .44409E-09    4.4148        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        .42660        .31597E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .27756E-09    5.0846        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.7618        2.4053        .78915E-03   -1.5681    
   9  Prefactor      .0000        1.4419        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.5123        1.6624        .64420E-03   -1.5676    
  11  norm          .79680E-01    .54658E-01    .48445E-03   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    2.9289        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.4673        6.6297        .39435E-03   -1.5657    
  14  norm          32.744        23.862        .17501E-03   -1.5594    
  15  Prefactor     1.3745        .58213        .92885E-03   -1.5685    
  16  Prefactor      .0000        .41211        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        1.9824        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .55761        1.4818        .73059E-03   -1.5693    
  19  norm          5.4822        1.2712        .42888E-03   -1.5661    
  20  Normalizat    1.0054        .10725        .46235E-01   -.92848    
  21  Prefactor     .84408        .83162E-01    .44288E-01   -.98123    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51477e-07
Minuit parameter uncertainties:
  1  40.7554
  2  0.687232
  3  3.50775e-06
  4  0.000132092
  5  9.0371e-05
  6  2.68466e-06
  7  7.30784e-05
  8  2.40531
  9  9.78067e-06
  10  1.66237
  11  0.0546585
  12  2.77877e-05
  13  6.62973
  14  23.8618
  15  0.582131
  16  1.67604e-06
  17  2.71527e-06
  18  1.48178
  19  1.27119
  20  0.107278
  21  0.0831743

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

 outfile=/lscratch/kocevski/38316029/ltcube_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.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/38316029/ft2_4FGL_J1613.6+3411_weekly_bin945.fits
.....................!
real 18.59
user 18.02
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38316029/ft1_filtered_4FGL_J1613.6+3411_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38316029/ft2_4FGL_J1613.6+3411_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38316029/ltcube_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.fits outfile=/lscratch/kocevski/38316029/expmap_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.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/38316029/ltcube_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.fits
.....................!
real 74.09
user 68.14
sys 4.28

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

Setting source of interest to:
4FGL J1613.6+3411 @ 243.421 34.1982

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38316029/ft1_filtered_4FGL_J1613.6+3411_weekly_bin945.fits scfile=/lscratch/kocevski/38316029/ft2_4FGL_J1613.6+3411_weekly_bin945.fits outfile=/lscratch/kocevski/38316029/cmap_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.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=243.421 yref=34.1982 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.63
user 0.26
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38316029/ft1_filtered_4FGL_J1613.6+3411_weekly_bin945.fits scfile=/lscratch/kocevski/38316029/ft2_4FGL_J1613.6+3411_weekly_bin945.fits outfile=/lscratch/kocevski/38316029/cmap_HighResolution_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.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=243.421 yref=34.1982 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.64
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38316029/ft1_filtered_4FGL_J1613.6+3411_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38316029/ft2_4FGL_J1613.6+3411_weekly_bin945.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38316029/Model_4FGL_J1613.6+3411_weekly_bin945.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourcDone.

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

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  0.000e+00  9.781e-06  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  8.441e-01  8.317e-02  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.005e+00  1.073e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 243.421 34.198
Photon Flux Upper Limit: 3.98825350617e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00308949012744 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38315720/likelihoodResults_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.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) = 15330.1763351
delta logL = -0.032451562347

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15330.143884
delta logL = -4.16530383518e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   15330.14     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      245 TOTAL
                     EDM=   .58E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.1522        .42118E-03** at limit **
   2  Index         2.1628        .93012        .19674E-04     .0000    
   3  Normalizat    1.0054        1.3347       -.92858E-05    .41874E-04
   4  Prefactor     .84408        1.1914        .69591E-05    .56829E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.16283
  Normalizat = 1.00545
  Prefactor  = 0.844083
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15330.14     FROM HESSE     STATUS=FAILED         9 CALLS      254 TOTAL
                     EDM=   .58E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.1522        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .51400        1.7222        .19674E-04   -.60339    
   3  Normalizat    1.0054        1.3347       -.92858E-05   -.92848    
   4  Prefactor     .84408        1.1914        .69591E-05   -.98123    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.79098e-13
Minuit parameter uncertainties:
  1  2.75912e-07
  2  0.938215
  3  1.38345
  4  1.23122
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) = 15330.1438836
delta logL = 1.27329258248e-11

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  0.000e+00  2.759e-07  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.163e+00  9.382e-01  0.000e+00  1.000e+01 (-1.000e+00)
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  8.441e-01  1.231e+00  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.005e+00  1.383e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 243.421 34.198

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/38315720/cmap_HighResolution_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.09e-03', job_status='DONE', photon_flux_upper_limit='3.99e-08', time_completed='2026-09-15 12:41:16.976467', job_id='38315720', GAL2='0.84', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1789501276.98', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='1.27e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='945' AND source_name='4FGL J1613.6+3411' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 12:41:17 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  0.000e+00  9.781e-06  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  8.441e-01  8.317e-02  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.005e+00  1.073e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 243.421 34.198
Photon Flux Upper Limit: 3.98825350617e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00308949012744 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38315662/likelihoodResults_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.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) = 15330.1763351
delta logL = -0.032451562347

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15330.143884
delta logL = -4.16530383518e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   15330.14     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      245 TOTAL
                     EDM=   .58E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.1522        .42118E-03** at limit **
   2  Index         2.1628        .93012        .19674E-04     .0000    
   3  Normalizat    1.0054        1.3347       -.92858E-05    .41874E-04
   4  Prefactor     .84408        1.1914        .69591E-05    .56829E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.16283
  Normalizat = 1.00545
  Prefactor  = 0.844083
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15330.14     FROM HESSE     STATUS=FAILED         9 CALLS      254 TOTAL
                     EDM=   .58E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.1522        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .51400        1.7222        .19674E-04   -.60339    
   3  Normalizat    1.0054        1.3347       -.92858E-05   -.92848    
   4  Prefactor     .84408        1.1914        .69591E-05   -.98123    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.79098e-13
Minuit parameter uncertainties:
  1  2.75912e-07
  2  0.938215
  3  1.38345
  4  1.23122
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) = 15330.1438836
delta logL = 1.27329258248e-11

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  0.000e+00  2.759e-07  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.163e+00  9.382e-01  0.000e+00  1.000e+01 (-1.000e+00)
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  8.441e-01  1.231e+00  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.005e+00  1.383e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 243.421 34.198

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/38315662/cmap_HighResolution_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.09e-03', job_status='DONE', photon_flux_upper_limit='3.99e-08', time_completed='2026-09-15 12:42:05.214189', job_id='38315662', GAL2='0.84', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1789501325.21', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='1.27e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='945' AND source_name='4FGL J1613.6+3411' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 12:42:05 PDT 2026

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


Performing analysis on: 4FGL_J1613.6+3411_weekly_bin945
RA = 243.421, Dec = 34.1982
tmin = 810518401, tmax = 811123201
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='38316242', job_status='RUN', time_executed='2026-09-15 12:40:59.339265', time_epoch_executed='1789501259.34' WHERE source_name='4FGL J1613.6+3411' and cadence='weekly' and bin_id='945'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38316242

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38316242/ft1_4FGL_J1613.6+3411_weekly_bin945.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38316242/ft2_4FGL_J1613.6+3411_weekly_bin945.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38316242/ft1_4FGL_J1613.6+3411_weekly_bin945.fits outfile=/lscratch/kocevski/38316242/ft1_filteredMKT_4FGL_J1613.6+3411_weekly_bin945.fits ra=243.421 dec=34.1982 rad=12.0 tmin=810518401.0 tmax=811123201.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 6.31
user 5.81
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38316242/ft2_4FGL_J1613.6+3411_weekly_bin945.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38316242/ft2_4FGL_J1613.6+3411_weekly_bin945.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/38316242/ft1_filteredMKT_4FGL_J1613.6+3411_weekly_bin945.fits evtable="EVENTS" outfile="/lscratch/kocevski/38316242/ft1_filtered_4FGL_J1613.6+3411_weekly_bin945.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1418

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38316242/ft1_filtered_4FGL_J1613.6+3411_weekly_bin945.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38316242/ft2_4FGL_J1613.6+3411_weekly_bin945.fits sctable="SC_DATA" outfile=/lscratch/kocevski/38316173/ltcube_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.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/38316173/ft2_4FGL_J1613.6+3411_weekly_bin945.fits
.....................!
real 17.99
user 17.35
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38316173/ft1_filtered_4FGL_J1613.6+3411_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38316173/ft2_4FGL_J1613.6+3411_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38316173/ltcube_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.fits outfile=/lscratch/kocevski/38316173/expmap_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.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/38316173/ltcube_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.fits
.....................!
real 69.25
user 64.71
sys 3.99

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

Setting source of interest to:
4FGL J1613.6+3411 @ 243.421 34.1982

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38316173/ft1_filtered_4FGL_J1613.6+3411_weekly_bin945.fits scfile=/lscratch/kocevski/38316173/ft2_4FGL_J1613.6+3411_weekly_bin945.fits outfile=/lscratch/kocevski/38316173/cmap_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.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=243.421 yref=34.1982 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.62
user 0.23
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38316173/ft1_filtered_4FGL_J1613.6+3411_weekly_bin945.fits scfile=/lscratch/kocevski/38316173/ft2_4FGL_J1613.6+3411_weekly_bin945.fits outfile=/lscratch/kocevski/38316173/cmap_HighResolution_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.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=243.421 yref=34.1982 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.65
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38316173/ft1_filtered_4FGL_J1613.6+3411_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38316173/ft2_4FGL_J1613.6+3411_weekly_bin945.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38316173/Model_4FGL_J1613.6+3411_weekly_bin945.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 sourc outfile=/lscratch/kocevski/38316158/ltcube_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.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/38316158/ft2_4FGL_J1613.6+3411_weekly_bin945.fits
.....................!
real 20.03
user 19.20
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38316158/ft1_filtered_4FGL_J1613.6+3411_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38316158/ft2_4FGL_J1613.6+3411_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38316158/ltcube_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.fits outfile=/lscratch/kocevski/38316158/expmap_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.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/38316158/ltcube_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.fits
.....................!
real 75.23
user 70.08
sys 4.29

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

Setting source of interest to:
4FGL J1613.6+3411 @ 243.421 34.1982

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38316158/ft1_filtered_4FGL_J1613.6+3411_weekly_bin945.fits scfile=/lscratch/kocevski/38316158/ft2_4FGL_J1613.6+3411_weekly_bin945.fits outfile=/lscratch/kocevski/38316158/cmap_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.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=243.421 yref=34.1982 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.80
user 0.26
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38316158/ft1_filtered_4FGL_J1613.6+3411_weekly_bin945.fits scfile=/lscratch/kocevski/38316158/ft2_4FGL_J1613.6+3411_weekly_bin945.fits outfile=/lscratch/kocevski/38316158/cmap_HighResolution_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.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=243.421 yref=34.1982 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.65
user 0.26
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38316158/ft1_filtered_4FGL_J1613.6+3411_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38316158/ft2_4FGL_J1613.6+3411_weekly_bin945.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38316158/Model_4FGL_J1613.6+3411_weekly_bin945.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/38316006/ft1_filtered_4FGL_J1613.6+3411_weekly_bin945.fits.....................!
real 41.51
user 39.73
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38316006/ft1_filtered_4FGL_J1613.6+3411_weekly_bin945.fits', '/lscratch/kocevski/38316006/ft2_4FGL_J1613.6+3411_weekly_bin945.fits', expMap='/lscratch/kocevski/38316006/expmap_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.fits', expCube='/lscratch/kocevski/38316006/ltcube_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38316006/Model_4FGL_J1613.6+3411_weekly_bin945.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1613.6+3411'

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  2.261e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38316006/ft1_filtered_4FGL_J1613.6+3411_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38316006/ft2_4FGL_J1613.6+3411_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38316006/expmap_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38316006/ltcube_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38316006/Model_4FGL_J1613.6+3411_weekly_bin945.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) = 15330.2391723

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    59.554       1.0000          .0000       .10000E+07
     2 'norm      '    1.9542       1.0000          .0000       .10000E+07
     3 'Prefactor '    .21746E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .26467E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .18374E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    .82562E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11775E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    1.7615       1.0000          .0000       .10000E+07
     9 'Prefactor '    .24955E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.5134       1.0000          .0000       .10000E+07
    11 'norm      '    .79680E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .68600E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.4692       1.0000          .0000       .10000E+07
    14 'norm      '    32.658       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.3747       1.0000          .0000       .10000E+07
    16 'Prefactor '    .24314E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    .27048E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .55820       1.0000          .0000       .10000E+07
    19 'norm      '    5.4826       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0055       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .84407       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15330.14     FROM MIGRAD    STATUS=CONVERGED    136 CALLS     1342 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     59.568        2.4784       -.91022E-09   -.32124E-01
   2  norm          1.9542        .68471        .63018E-07    .14860E-01
   3  Prefactor      .0000        1.6761        .95486E-07** at limit **
   4  Prefactor     .38858E-09    11.395       -.27657E-06** at limit **
   5  norm          .44409E-09    4.4246       -.36527E-07** at limit **
   6  Prefactor      .0000        1.2679        .49087E-07** at limit **
   7  Prefactor     .27756E-09    5.0759       -.21907E-06** at limit **
   8  Prefactor     1.7618        2.3866       -.36748E-07   -.71972E-03
   9  Prefactor      .0000        1.4535        .11381E-06** at limit **
  10  Prefactor     2.5123        1.6569       -.61785E-07   -.47215E-02
  11  norm          .79680E-01    .51225E-01   -.18132E-08** at limit **
  12  norm          .55511E-10    2.9251       -.23795E-07** at limit **
  13  Prefactor     6.4673        1.9494        .21276E-07   -.12744    
  14  norm          32.744        22.920       -.18289E-07   -.18359E-01
  15  Prefactor     1.3745        .56887       -.64937E-09   -.28086E-02
  16  Prefactor      .0000        .42310        .40430E-07** at limit **
  17  Prefactor      .0000        1.9773        .84049E-07** at limit **
  18  Prefactor     .55761        1.4636        .13578E-06    .12484E-02
  19  norm          5.4822        1.2705       -.28288E-07   -.61573E-02
  20  Normalizat    1.0054        .12553       -.33774E-05   -.19546E-03
  21  Prefactor     .84408        .97756E-01    .18920E-05   -.10124E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 59.5676
  norm       = 1.95415
  Prefactor  = 0
  Prefactor  = 3.88578e-10
  norm       = 4.44089e-10
  Prefactor  = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 1.76177
  Prefactor  = 0
  Prefactor  = 2.51228
  norm       = 0.0796804
  norm       = 5.55112e-11
  Prefactor  = 6.46729
  norm       = 32.7436
  Prefactor  = 1.3745
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0.55761
  norm       = 5.48215
  Normalizat = 1.00544
  Prefactor  = 0.844083
e GAL_V02
Working on...
/lscratch/kocevski/38316029/ft1_filtered_4FGL_J1613.6+3411_weekly_bin945.fits.....................!
real 42.68
user 41.51
sys 0.67

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38316029/ft1_filtered_4FGL_J1613.6+3411_weekly_bin945.fits', '/lscratch/kocevski/38316029/ft2_4FGL_J1613.6+3411_weekly_bin945.fits', expMap='/lscratch/kocevski/38316029/expmap_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.fits', expCube='/lscratch/kocevski/38316029/ltcube_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38316029/Model_4FGL_J1613.6+3411_weekly_bin945.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1613.6+3411'

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  2.261e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38316029/ft1_filtered_4FGL_J1613.6+3411_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38316029/ft2_4FGL_J1613.6+3411_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38316029/expmap_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38316029/ltcube_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38316029/Model_4FGL_J1613.6+3411_weekly_bin945.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) = 15330.2391723

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    59.554       1.0000          .0000       .10000E+07
     2 'norm      '    1.9542       1.0000          .0000       .10000E+07
     3 'Prefactor '    .21746E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .26467E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .18374E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    .82562E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11775E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    1.7615       1.0000          .0000       .10000E+07
     9 'Prefactor '    .24955E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.5134       1.0000          .0000       .10000E+07
    11 'norm      '    .79680E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .68600E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.4692       1.0000          .0000       .10000E+07
    14 'norm      '    32.658       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.3747       1.0000          .0000       .10000E+07
    16 'Prefactor '    .24314E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    .27048E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .55820       1.0000          .0000       .10000E+07
    19 'norm      '    5.4826       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0055       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .84407       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15330.14     FROM MIGRAD    STATUS=CONVERGED    136 CALLS     1342 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     59.568        2.4784       -.91022E-09   -.32124E-01
   2  norm          1.9542        .68471        .63018E-07    .14860E-01
   3  Prefactor      .0000        1.6761        .95486E-07** at limit **
   4  Prefactor     .38858E-09    11.395       -.27657E-06** at limit **
   5  norm          .44409E-09    4.4246       -.36527E-07** at limit **
   6  Prefactor      .0000        1.2679        .49087E-07** at limit **
   7  Prefactor     .27756E-09    5.0759       -.21907E-06** at limit **
   8  Prefactor     1.7618        2.3866       -.36748E-07   -.71972E-03
   9  Prefactor      .0000        1.4535        .11381E-06** at limit **
  10  Prefactor     2.5123        1.6569       -.61785E-07   -.47215E-02
  11  norm          .79680E-01    .51225E-01   -.18132E-08** at limit **
  12  norm          .55511E-10    2.9251       -.23795E-07** at limit **
  13  Prefactor     6.4673        1.9494        .21276E-07   -.12744    
  14  norm          32.744        22.920       -.18289E-07   -.18359E-01
  15  Prefactor     1.3745        .56887       -.64937E-09   -.28086E-02
  16  Prefactor      .0000        .42310        .40430E-07** at limit **
  17  Prefactor      .0000        1.9773        .84049E-07** at limit **
  18  Prefactor     .55761        1.4636        .13578E-06    .12484E-02
  19  norm          5.4822        1.2705       -.28288E-07   -.61573E-02
  20  Normalizat    1.0054        .12553       -.33774E-05   -.19546E-03
  21  Prefactor     .84408        .97756E-01    .18920E-05   -.10124E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 59.5676
  norm       = 1.95415
  Prefactor  = 0
  Prefactor  = 3.88578e-10
  norm       = 4.44089e-10
  Prefactor  = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 1.76177
  Prefactor  = 0
  Prefactor  = 2.51228
  norm       = 0.0796804
  norm       = 5.55112e-11
  Prefactor  = 6.46729
  norm       = 32.7436
  Prefactor  = 1.3745
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0.55761
  norm       = 5.48215
  Normalizat = 1.00544
  Prefactor  = 0.844083
 **********
 **   18 **HESSE 
 **********

 FCN=   15330.14     FROM HESSE     STATUS=OK           363 CALLS     1705 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     59.568        40.755        .12959E-03   -1.5554    
   2  norm          1.9542        .68723        .74196E-03   -1.5680    
   3  Prefactor      .0000        1.6777        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .38858E-09    11.429        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .44409E-09    4.4148        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        .42660        .31597E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .27756E-09    5.0846        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.7618        2.4053        .78915E-03   -1.5681    
   9  Prefactor      .0000        1.4419        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.5123        1.6624        .64420E-03   -1.5676    
  11  norm          .79680E-01    .54658E-01    .48445E-03   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    2.9289        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.4673        6.6297        .39435E-03   -1.5657    
  14  norm          32.744        23.862        .17501E-03   -1.5594    
  15  Prefactor     1.3745        .58213        .92885E-03   -1.5685    
  16  Prefactor      .0000        .41211        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        1.9824        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .55761        1.4818        .73059E-03   -1.5693    
  19  norm          5.4822        1.2712        .42888E-03   -1.5661    
  20  Normalizat    1.0054        .10725        .46235E-01   -.92848    
  21  Prefactor     .84408        .83162E-01    .44288E-01   -.98123    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51477e-07
Minuit parameter uncertainties:
  1  40.7554
  2  0.687232
  3  3.50775e-06
  4  0.000132092
  5  9.0371e-05
  6  2.68466e-06
  7  7.30784e-05
  8  2.40531
  9  9.78067e-06
  10  1.66237
  11  0.0546585
  12  2.77877e-05
  13  6.62973
  14  23.8618
  15  0.582131
  16  1.67604e-06
  17  2.71527e-06
  18  1.48178
  19  1.27119
  20  0.107278
  21  0.0831743
 **********
 **   18 **HESSE 
 **********

 FCN=   15330.14     FROM HESSE     STATUS=OK           363 CALLS     1705 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     59.568        40.755        .12959E-03   -1.5554    
   2  norm          1.9542        .68723        .74196E-03   -1.5680    
   3  Prefactor      .0000        1.6777        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .38858E-09    11.429        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .44409E-09    4.4148        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        .42660        .31597E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .27756E-09    5.0846        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.7618        2.4053        .78915E-03   -1.5681    
   9  Prefactor      .0000        1.4419        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.5123        1.6624        .64420E-03   -1.5676    
  11  norm          .79680E-01    .54658E-01    .48445E-03   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    2.9289        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.4673        6.6297        .39435E-03   -1.5657    
  14  norm          32.744        23.862        .17501E-03   -1.5594    
  15  Prefactor     1.3745        .58213        .92885E-03   -1.5685    
  16  Prefactor      .0000        .41211        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        1.9824        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .55761        1.4818        .73059E-03   -1.5693    
  19  norm          5.4822        1.2712        .42888E-03   -1.5661    
  20  Normalizat    1.0054        .10725        .46235E-01   -.92848    
  21  Prefactor     .84408        .83162E-01    .44288E-01   -.98123    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51477e-07
Minuit parameter uncertainties:
  1  40.7554
  2  0.687232
  3  3.50775e-06
  4  0.000132092
  5  9.0371e-05
  6  2.68466e-06
  7  7.30784e-05
  8  2.40531
  9  9.78067e-06
  10  1.66237
  11  0.0546585
  12  2.77877e-05
  13  6.62973
  14  23.8618
  15  0.582131
  16  1.67604e-06
  17  2.71527e-06
  18  1.48178
  19  1.27119
  20  0.107278
  21  0.0831743
 outfile=/lscratch/kocevski/38316242/ltcube_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.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/38316242/ft2_4FGL_J1613.6+3411_weekly_bin945.fits
.....................!
real 18.43
user 17.83
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38316242/ft1_filtered_4FGL_J1613.6+3411_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38316242/ft2_4FGL_J1613.6+3411_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38316242/ltcube_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.fits outfile=/lscratch/kocevski/38316242/expmap_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.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/38316242/ltcube_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.fits
.....................!
real 69.66
user 64.90
sys 4.03

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

Setting source of interest to:
4FGL J1613.6+3411 @ 243.421 34.1982

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38316242/ft1_filtered_4FGL_J1613.6+3411_weekly_bin945.fits scfile=/lscratch/kocevski/38316242/ft2_4FGL_J1613.6+3411_weekly_bin945.fits outfile=/lscratch/kocevski/38316242/cmap_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.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=243.421 yref=34.1982 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.76
user 0.23
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38316242/ft1_filtered_4FGL_J1613.6+3411_weekly_bin945.fits scfile=/lscratch/kocevski/38316242/ft2_4FGL_J1613.6+3411_weekly_bin945.fits outfile=/lscratch/kocevski/38316242/cmap_HighResolution_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.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=243.421 yref=34.1982 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.67
user 0.23
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38316242/ft1_filtered_4FGL_J1613.6+3411_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38316242/ft2_4FGL_J1613.6+3411_weekly_bin945.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38316242/Model_4FGL_J1613.6+3411_weekly_bin945.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourcDone.

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

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  0.000e+00  9.781e-06  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  8.441e-01  8.317e-02  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.005e+00  1.073e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 243.421 34.198
Photon Flux Upper Limit: 3.98825350617e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00308949012744 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38316006/likelihoodResults_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.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) = 15330.1763351
delta logL = -0.032451562347

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15330.143884
delta logL = -4.16530383518e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   15330.14     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      245 TOTAL
                     EDM=   .58E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.1522        .42118E-03** at limit **
   2  Index         2.1628        .93012        .19674E-04     .0000    
   3  Normalizat    1.0054        1.3347       -.92858E-05    .41874E-04
   4  Prefactor     .84408        1.1914        .69591E-05    .56829E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.16283
  Normalizat = 1.00545
  Prefactor  = 0.844083
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15330.14     FROM HESSE     STATUS=FAILED         9 CALLS      254 TOTAL
                     EDM=   .58E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.1522        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .51400        1.7222        .19674E-04   -.60339    
   3  Normalizat    1.0054        1.3347       -.92858E-05   -.92848    
   4  Prefactor     .84408        1.1914        .69591E-05   -.98123    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.79098e-13
Minuit parameter uncertainties:
  1  2.75912e-07
  2  0.938215
  3  1.38345
  4  1.23122
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) = 15330.1438836
delta logL = 1.27329258248e-11

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  0.000e+00  2.759e-07  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.163e+00  9.382e-01  0.000e+00  1.000e+01 (-1.000e+00)
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  8.441e-01  1.231e+00  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.005e+00  1.383e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 243.421 34.198

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/38316006/cmap_HighResolution_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.09e-03', job_status='DONE', photon_flux_upper_limit='3.99e-08', time_completed='2026-09-15 12:44:54.921480', job_id='38316006', GAL2='0.84', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1789501494.92', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='1.27e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='945' AND source_name='4FGL J1613.6+3411' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 12:44:55 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  0.000e+00  9.781e-06  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  8.441e-01  8.317e-02  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.005e+00  1.073e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 243.421 34.198
Photon Flux Upper Limit: 3.98825350617e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00308949012744 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38316029/likelihoodResults_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.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) = 15330.1763351
delta logL = -0.032451562347

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15330.143884
delta logL = -4.16530383518e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   15330.14     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      245 TOTAL
                     EDM=   .58E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.1522        .42118E-03** at limit **
   2  Index         2.1628        .93012        .19674E-04     .0000    
   3  Normalizat    1.0054        1.3347       -.92858E-05    .41874E-04
   4  Prefactor     .84408        1.1914        .69591E-05    .56829E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.16283
  Normalizat = 1.00545
  Prefactor  = 0.844083
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15330.14     FROM HESSE     STATUS=FAILED         9 CALLS      254 TOTAL
                     EDM=   .58E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.1522        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .51400        1.7222        .19674E-04   -.60339    
   3  Normalizat    1.0054        1.3347       -.92858E-05   -.92848    
   4  Prefactor     .84408        1.1914        .69591E-05   -.98123    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.79098e-13
Minuit parameter uncertainties:
  1  2.75912e-07
  2  0.938215
  3  1.38345
  4  1.23122
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) = 15330.1438836
delta logL = 1.27329258248e-11

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  0.000e+00  2.759e-07  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.163e+00  9.382e-01  0.000e+00  1.000e+01 (-1.000e+00)
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  8.441e-01  1.231e+00  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.005e+00  1.383e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 243.421 34.198

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/38316029/cmap_HighResolution_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.09e-03', job_status='DONE', photon_flux_upper_limit='3.99e-08', time_completed='2026-09-15 12:45:17.668049', job_id='38316029', GAL2='0.84', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1789501517.67', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='1.27e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='945' AND source_name='4FGL J1613.6+3411' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 12:45:17 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/38316173/ft1_filtered_4FGL_J1613.6+3411_weekly_bin945.fits.....................!
real 41.11
user 39.48
sys 0.92

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38316173/ft1_filtered_4FGL_J1613.6+3411_weekly_bin945.fits', '/lscratch/kocevski/38316173/ft2_4FGL_J1613.6+3411_weekly_bin945.fits', expMap='/lscratch/kocevski/38316173/expmap_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.fits', expCube='/lscratch/kocevski/38316173/ltcube_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38316173/Model_4FGL_J1613.6+3411_weekly_bin945.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1613.6+3411'

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  2.261e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38316173/ft1_filtered_4FGL_J1613.6+3411_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38316173/ft2_4FGL_J1613.6+3411_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38316173/expmap_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38316173/ltcube_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38316173/Model_4FGL_J1613.6+3411_weekly_bin945.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) = 15330.2391723

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    59.554       1.0000          .0000       .10000E+07
     2 'norm      '    1.9542       1.0000          .0000       .10000E+07
     3 'Prefactor '    .21746E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .26467E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .18374E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    .82562E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11775E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    1.7615       1.0000          .0000       .10000E+07
     9 'Prefactor '    .24955E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.5134       1.0000          .0000       .10000E+07
    11 'norm      '    .79680E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .68600E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.4692       1.0000          .0000       .10000E+07
    14 'norm      '    32.658       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.3747       1.0000          .0000       .10000E+07
    16 'Prefactor '    .24314E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    .27048E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .55820       1.0000          .0000       .10000E+07
    19 'norm      '    5.4826       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0055       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .84407       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15330.14     FROM MIGRAD    STATUS=CONVERGED    136 CALLS     1342 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     59.568        2.4784       -.91022E-09   -.32124E-01
   2  norm          1.9542        .68471        .63018E-07    .14860E-01
   3  Prefactor      .0000        1.6761        .95486E-07** at limit **
   4  Prefactor     .38858E-09    11.395       -.27657E-06** at limit **
   5  norm          .44409E-09    4.4246       -.36527E-07** at limit **
   6  Prefactor      .0000        1.2679        .49087E-07** at limit **
   7  Prefactor     .27756E-09    5.0759       -.21907E-06** at limit **
   8  Prefactor     1.7618        2.3866       -.36748E-07   -.71972E-03
   9  Prefactor      .0000        1.4535        .11381E-06** at limit **
  10  Prefactor     2.5123        1.6569       -.61785E-07   -.47215E-02
  11  norm          .79680E-01    .51225E-01   -.18132E-08** at limit **
  12  norm          .55511E-10    2.9251       -.23795E-07** at limit **
  13  Prefactor     6.4673        1.9494        .21276E-07   -.12744    
  14  norm          32.744        22.920       -.18289E-07   -.18359E-01
  15  Prefactor     1.3745        .56887       -.64937E-09   -.28086E-02
  16  Prefactor      .0000        .42310        .40430E-07** at limit **
  17  Prefactor      .0000        1.9773        .84049E-07** at limit **
  18  Prefactor     .55761        1.4636        .13578E-06    .12484E-02
  19  norm          5.4822        1.2705       -.28288E-07   -.61573E-02
  20  Normalizat    1.0054        .12553       -.33774E-05   -.19546E-03
  21  Prefactor     .84408        .97756E-01    .18920E-05   -.10124E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 59.5676
  norm       = 1.95415
  Prefactor  = 0
  Prefactor  = 3.88578e-10
  norm       = 4.44089e-10
  Prefactor  = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 1.76177
  Prefactor  = 0
  Prefactor  = 2.51228
  norm       = 0.0796804
  norm       = 5.55112e-11
  Prefactor  = 6.46729
  norm       = 32.7436
  Prefactor  = 1.3745
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0.55761
  norm       = 5.48215
  Normalizat = 1.00544
  Prefactor  = 0.844083
e GAL_V02
Working on...
/lscratch/kocevski/38316158/ft1_filtered_4FGL_J1613.6+3411_weekly_bin945.fits.....................!
real 43.96
user 42.06
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38316158/ft1_filtered_4FGL_J1613.6+3411_weekly_bin945.fits', '/lscratch/kocevski/38316158/ft2_4FGL_J1613.6+3411_weekly_bin945.fits', expMap='/lscratch/kocevski/38316158/expmap_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.fits', expCube='/lscratch/kocevski/38316158/ltcube_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38316158/Model_4FGL_J1613.6+3411_weekly_bin945.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1613.6+3411'

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  2.261e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38316158/ft1_filtered_4FGL_J1613.6+3411_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38316158/ft2_4FGL_J1613.6+3411_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38316158/expmap_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38316158/ltcube_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38316158/Model_4FGL_J1613.6+3411_weekly_bin945.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) = 15330.2391723

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    59.554       1.0000          .0000       .10000E+07
     2 'norm      '    1.9542       1.0000          .0000       .10000E+07
     3 'Prefactor '    .21746E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .26467E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .18374E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    .82562E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11775E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    1.7615       1.0000          .0000       .10000E+07
     9 'Prefactor '    .24955E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.5134       1.0000          .0000       .10000E+07
    11 'norm      '    .79680E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .68600E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.4692       1.0000          .0000       .10000E+07
    14 'norm      '    32.658       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.3747       1.0000          .0000       .10000E+07
    16 'Prefactor '    .24314E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    .27048E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .55820       1.0000          .0000       .10000E+07
    19 'norm      '    5.4826       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0055       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .84407       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15330.14     FROM MIGRAD    STATUS=CONVERGED    136 CALLS     1342 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     59.568        2.4784       -.91022E-09   -.32124E-01
   2  norm          1.9542        .68471        .63018E-07    .14860E-01
   3  Prefactor      .0000        1.6761        .95486E-07** at limit **
   4  Prefactor     .38858E-09    11.395       -.27657E-06** at limit **
   5  norm          .44409E-09    4.4246       -.36527E-07** at limit **
   6  Prefactor      .0000        1.2679        .49087E-07** at limit **
   7  Prefactor     .27756E-09    5.0759       -.21907E-06** at limit **
   8  Prefactor     1.7618        2.3866       -.36748E-07   -.71972E-03
   9  Prefactor      .0000        1.4535        .11381E-06** at limit **
  10  Prefactor     2.5123        1.6569       -.61785E-07   -.47215E-02
  11  norm          .79680E-01    .51225E-01   -.18132E-08** at limit **
  12  norm          .55511E-10    2.9251       -.23795E-07** at limit **
  13  Prefactor     6.4673        1.9494        .21276E-07   -.12744    
  14  norm          32.744        22.920       -.18289E-07   -.18359E-01
  15  Prefactor     1.3745        .56887       -.64937E-09   -.28086E-02
  16  Prefactor      .0000        .42310        .40430E-07** at limit **
  17  Prefactor      .0000        1.9773        .84049E-07** at limit **
  18  Prefactor     .55761        1.4636        .13578E-06    .12484E-02
  19  norm          5.4822        1.2705       -.28288E-07   -.61573E-02
  20  Normalizat    1.0054        .12553       -.33774E-05   -.19546E-03
  21  Prefactor     .84408        .97756E-01    .18920E-05   -.10124E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 59.5676
  norm       = 1.95415
  Prefactor  = 0
  Prefactor  = 3.88578e-10
  norm       = 4.44089e-10
  Prefactor  = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 1.76177
  Prefactor  = 0
  Prefactor  = 2.51228
  norm       = 0.0796804
  norm       = 5.55112e-11
  Prefactor  = 6.46729
  norm       = 32.7436
  Prefactor  = 1.3745
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0.55761
  norm       = 5.48215
  Normalizat = 1.00544
  Prefactor  = 0.844083
 **********
 **   18 **HESSE 
 **********

 FCN=   15330.14     FROM HESSE     STATUS=OK           363 CALLS     1705 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     59.568        40.755        .12959E-03   -1.5554    
   2  norm          1.9542        .68723        .74196E-03   -1.5680    
   3  Prefactor      .0000        1.6777        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .38858E-09    11.429        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .44409E-09    4.4148        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        .42660        .31597E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .27756E-09    5.0846        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.7618        2.4053        .78915E-03   -1.5681    
   9  Prefactor      .0000        1.4419        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.5123        1.6624        .64420E-03   -1.5676    
  11  norm          .79680E-01    .54658E-01    .48445E-03   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    2.9289        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.4673        6.6297        .39435E-03   -1.5657    
  14  norm          32.744        23.862        .17501E-03   -1.5594    
  15  Prefactor     1.3745        .58213        .92885E-03   -1.5685    
  16  Prefactor      .0000        .41211        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        1.9824        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .55761        1.4818        .73059E-03   -1.5693    
  19  norm          5.4822        1.2712        .42888E-03   -1.5661    
  20  Normalizat    1.0054        .10725        .46235E-01   -.92848    
  21  Prefactor     .84408        .83162E-01    .44288E-01   -.98123    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51477e-07
Minuit parameter uncertainties:
  1  40.7554
  2  0.687232
  3  3.50775e-06
  4  0.000132092
  5  9.0371e-05
  6  2.68466e-06
  7  7.30784e-05
  8  2.40531
  9  9.78067e-06
  10  1.66237
  11  0.0546585
  12  2.77877e-05
  13  6.62973
  14  23.8618
  15  0.582131
  16  1.67604e-06
  17  2.71527e-06
  18  1.48178
  19  1.27119
  20  0.107278
  21  0.0831743
 **********
 **   18 **HESSE 
 **********

 FCN=   15330.14     FROM HESSE     STATUS=OK           363 CALLS     1705 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     59.568        40.755        .12959E-03   -1.5554    
   2  norm          1.9542        .68723        .74196E-03   -1.5680    
   3  Prefactor      .0000        1.6777        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .38858E-09    11.429        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .44409E-09    4.4148        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        .42660        .31597E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .27756E-09    5.0846        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.7618        2.4053        .78915E-03   -1.5681    
   9  Prefactor      .0000        1.4419        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.5123        1.6624        .64420E-03   -1.5676    
  11  norm          .79680E-01    .54658E-01    .48445E-03   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    2.9289        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.4673        6.6297        .39435E-03   -1.5657    
  14  norm          32.744        23.862        .17501E-03   -1.5594    
  15  Prefactor     1.3745        .58213        .92885E-03   -1.5685    
  16  Prefactor      .0000        .41211        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        1.9824        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .55761        1.4818        .73059E-03   -1.5693    
  19  norm          5.4822        1.2712        .42888E-03   -1.5661    
  20  Normalizat    1.0054        .10725        .46235E-01   -.92848    
  21  Prefactor     .84408        .83162E-01    .44288E-01   -.98123    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51477e-07
Minuit parameter uncertainties:
  1  40.7554
  2  0.687232
  3  3.50775e-06
  4  0.000132092
  5  9.0371e-05
  6  2.68466e-06
  7  7.30784e-05
  8  2.40531
  9  9.78067e-06
  10  1.66237
  11  0.0546585
  12  2.77877e-05
  13  6.62973
  14  23.8618
  15  0.582131
  16  1.67604e-06
  17  2.71527e-06
  18  1.48178
  19  1.27119
  20  0.107278
  21  0.0831743
e GAL_V02
Working on...
/lscratch/kocevski/38316242/ft1_filtered_4FGL_J1613.6+3411_weekly_bin945.fits.....................!
real 41.09
user 39.92
sys 0.67

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38316242/ft1_filtered_4FGL_J1613.6+3411_weekly_bin945.fits', '/lscratch/kocevski/38316242/ft2_4FGL_J1613.6+3411_weekly_bin945.fits', expMap='/lscratch/kocevski/38316242/expmap_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.fits', expCube='/lscratch/kocevski/38316242/ltcube_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38316242/Model_4FGL_J1613.6+3411_weekly_bin945.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1613.6+3411'

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  2.261e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38316242/ft1_filtered_4FGL_J1613.6+3411_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38316242/ft2_4FGL_J1613.6+3411_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38316242/expmap_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38316242/ltcube_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38316242/Model_4FGL_J1613.6+3411_weekly_bin945.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) = 15330.2391723

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    59.554       1.0000          .0000       .10000E+07
     2 'norm      '    1.9542       1.0000          .0000       .10000E+07
     3 'Prefactor '    .21746E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .26467E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .18374E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    .82562E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11775E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    1.7615       1.0000          .0000       .10000E+07
     9 'Prefactor '    .24955E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.5134       1.0000          .0000       .10000E+07
    11 'norm      '    .79680E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .68600E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.4692       1.0000          .0000       .10000E+07
    14 'norm      '    32.658       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.3747       1.0000          .0000       .10000E+07
    16 'Prefactor '    .24314E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    .27048E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .55820       1.0000          .0000       .10000E+07
    19 'norm      '    5.4826       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0055       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .84407       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15330.14     FROM MIGRAD    STATUS=CONVERGED    136 CALLS     1342 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     59.568        2.4784       -.91022E-09   -.32124E-01
   2  norm          1.9542        .68471        .63018E-07    .14860E-01
   3  Prefactor      .0000        1.6761        .95486E-07** at limit **
   4  Prefactor     .38858E-09    11.395       -.27657E-06** at limit **
   5  norm          .44409E-09    4.4246       -.36527E-07** at limit **
   6  Prefactor      .0000        1.2679        .49087E-07** at limit **
   7  Prefactor     .27756E-09    5.0759       -.21907E-06** at limit **
   8  Prefactor     1.7618        2.3866       -.36748E-07   -.71972E-03
   9  Prefactor      .0000        1.4535        .11381E-06** at limit **
  10  Prefactor     2.5123        1.6569       -.61785E-07   -.47215E-02
  11  norm          .79680E-01    .51225E-01   -.18132E-08** at limit **
  12  norm          .55511E-10    2.9251       -.23795E-07** at limit **
  13  Prefactor     6.4673        1.9494        .21276E-07   -.12744    
  14  norm          32.744        22.920       -.18289E-07   -.18359E-01
  15  Prefactor     1.3745        .56887       -.64937E-09   -.28086E-02
  16  Prefactor      .0000        .42310        .40430E-07** at limit **
  17  Prefactor      .0000        1.9773        .84049E-07** at limit **
  18  Prefactor     .55761        1.4636        .13578E-06    .12484E-02
  19  norm          5.4822        1.2705       -.28288E-07   -.61573E-02
  20  Normalizat    1.0054        .12553       -.33774E-05   -.19546E-03
  21  Prefactor     .84408        .97756E-01    .18920E-05   -.10124E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 59.5676
  norm       = 1.95415
  Prefactor  = 0
  Prefactor  = 3.88578e-10
  norm       = 4.44089e-10
  Prefactor  = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 1.76177
  Prefactor  = 0
  Prefactor  = 2.51228
  norm       = 0.0796804
  norm       = 5.55112e-11
  Prefactor  = 6.46729
  norm       = 32.7436
  Prefactor  = 1.3745
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0.55761
  norm       = 5.48215
  Normalizat = 1.00544
  Prefactor  = 0.844083
Done.

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

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  0.000e+00  9.781e-06  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  8.441e-01  8.317e-02  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.005e+00  1.073e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 243.421 34.198
Photon Flux Upper Limit: 3.98825350617e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00308949012744 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38316173/likelihoodResults_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.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) = 15330.1763351
delta logL = -0.032451562347

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15330.143884
delta logL = -4.16530383518e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   15330.14     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      245 TOTAL
                     EDM=   .58E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.1522        .42118E-03** at limit **
   2  Index         2.1628        .93012        .19674E-04     .0000    
   3  Normalizat    1.0054        1.3347       -.92858E-05    .41874E-04
   4  Prefactor     .84408        1.1914        .69591E-05    .56829E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.16283
  Normalizat = 1.00545
  Prefactor  = 0.844083
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15330.14     FROM HESSE     STATUS=FAILED         9 CALLS      254 TOTAL
                     EDM=   .58E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.1522        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .51400        1.7222        .19674E-04   -.60339    
   3  Normalizat    1.0054        1.3347       -.92858E-05   -.92848    
   4  Prefactor     .84408        1.1914        .69591E-05   -.98123    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.79098e-13
Minuit parameter uncertainties:
  1  2.75912e-07
  2  0.938215
  3  1.38345
  4  1.23122
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) = 15330.1438836
delta logL = 1.27329258248e-11

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  0.000e+00  2.759e-07  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.163e+00  9.382e-01  0.000e+00  1.000e+01 (-1.000e+00)
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  8.441e-01  1.231e+00  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.005e+00  1.383e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 243.421 34.198

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/38316173/cmap_HighResolution_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.09e-03', job_status='DONE', photon_flux_upper_limit='3.99e-08', time_completed='2026-09-15 12:46:58.861044', job_id='38316173', GAL2='0.84', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1789501618.86', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='1.27e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='945' AND source_name='4FGL J1613.6+3411' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 12:46:58 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  0.000e+00  9.781e-06  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  8.441e-01  8.317e-02  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.005e+00  1.073e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 243.421 34.198
Photon Flux Upper Limit: 3.98825350617e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00308949012744 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38316158/likelihoodResults_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.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) = 15330.1763351
delta logL = -0.032451562347

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15330.143884
delta logL = -4.16530383518e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   15330.14     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      245 TOTAL
                     EDM=   .58E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.1522        .42118E-03** at limit **
   2  Index         2.1628        .93012        .19674E-04     .0000    
   3  Normalizat    1.0054        1.3347       -.92858E-05    .41874E-04
   4  Prefactor     .84408        1.1914        .69591E-05    .56829E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.16283
  Normalizat = 1.00545
  Prefactor  = 0.844083
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15330.14     FROM HESSE     STATUS=FAILED         9 CALLS      254 TOTAL
                     EDM=   .58E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.1522        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .51400        1.7222        .19674E-04   -.60339    
   3  Normalizat    1.0054        1.3347       -.92858E-05   -.92848    
   4  Prefactor     .84408        1.1914        .69591E-05   -.98123    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.79098e-13
Minuit parameter uncertainties:
  1  2.75912e-07
  2  0.938215
  3  1.38345
  4  1.23122
 **********
 **   18 **HESSE 
 **********

 FCN=   15330.14     FROM HESSE     STATUS=OK           363 CALLS     1705 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     59.568        40.755        .12959E-03   -1.5554    
   2  norm          1.9542        .68723        .74196E-03   -1.5680    
   3  Prefactor      .0000        1.6777        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .38858E-09    11.429        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .44409E-09    4.4148        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        .42660        .31597E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .27756E-09    5.0846        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.7618        2.4053        .78915E-03   -1.5681    
   9  Prefactor      .0000        1.4419        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.5123        1.6624        .64420E-03   -1.5676    
  11  norm          .79680E-01    .54658E-01    .48445E-03   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    2.9289        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.4673        6.6297        .39435E-03   -1.5657    
  14  norm          32.744        23.862        .17501E-03   -1.5594    
  15  Prefactor     1.3745        .58213        .92885E-03   -1.5685    
  16  Prefactor      .0000        .41211        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        1.9824        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .55761        1.4818        .73059E-03   -1.5693    
  19  norm          5.4822        1.2712        .42888E-03   -1.5661    
  20  Normalizat    1.0054        .10725        .46235E-01   -.92848    
  21  Prefactor     .84408        .83162E-01    .44288E-01   -.98123    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51477e-07
Minuit parameter uncertainties:
  1  40.7554
  2  0.687232
  3  3.50775e-06
  4  0.000132092
  5  9.0371e-05
  6  2.68466e-06
  7  7.30784e-05
  8  2.40531
  9  9.78067e-06
  10  1.66237
  11  0.0546585
  12  2.77877e-05
  13  6.62973
  14  23.8618
  15  0.582131
  16  1.67604e-06
  17  2.71527e-06
  18  1.48178
  19  1.27119
  20  0.107278
  21  0.0831743
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) = 15330.1438836
delta logL = 1.27329258248e-11

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  0.000e+00  2.759e-07  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.163e+00  9.382e-01  0.000e+00  1.000e+01 (-1.000e+00)
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  8.441e-01  1.231e+00  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.005e+00  1.383e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 243.421 34.198

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/38316158/cmap_HighResolution_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.09e-03', job_status='DONE', photon_flux_upper_limit='3.99e-08', time_completed='2026-09-15 12:47:25.533053', job_id='38316158', GAL2='0.84', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1789501645.53', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='1.27e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='945' AND source_name='4FGL J1613.6+3411' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 12:47:25 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  0.000e+00  9.781e-06  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  8.441e-01  8.317e-02  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.005e+00  1.073e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 243.421 34.198
Photon Flux Upper Limit: 3.98825350617e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00308949012744 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38316242/likelihoodResults_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.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) = 15330.1763351
delta logL = -0.032451562347

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15330.143884
delta logL = -4.16530383518e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   15330.14     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      245 TOTAL
                     EDM=   .58E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.1522        .42118E-03** at limit **
   2  Index         2.1628        .93012        .19674E-04     .0000    
   3  Normalizat    1.0054        1.3347       -.92858E-05    .41874E-04
   4  Prefactor     .84408        1.1914        .69591E-05    .56829E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.16283
  Normalizat = 1.00545
  Prefactor  = 0.844083
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15330.14     FROM HESSE     STATUS=FAILED         9 CALLS      254 TOTAL
                     EDM=   .58E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.1522        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .51400        1.7222        .19674E-04   -.60339    
   3  Normalizat    1.0054        1.3347       -.92858E-05   -.92848    
   4  Prefactor     .84408        1.1914        .69591E-05   -.98123    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.79098e-13
Minuit parameter uncertainties:
  1  2.75912e-07
  2  0.938215
  3  1.38345
  4  1.23122
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) = 15330.1438836
delta logL = 1.27329258248e-11

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  0.000e+00  2.759e-07  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.163e+00  9.382e-01  0.000e+00  1.000e+01 (-1.000e+00)
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  8.441e-01  1.231e+00  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.005e+00  1.383e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 243.421 34.198

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/38316242/cmap_HighResolution_810518401_811123201_4FGL_J1613.6+3411_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.09e-03', job_status='DONE', photon_flux_upper_limit='3.99e-08', time_completed='2026-09-15 12:48:30.274692', job_id='38316242', GAL2='0.84', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1789501710.27', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='1.27e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='945' AND source_name='4FGL J1613.6+3411' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 12:48:30 PDT 2026

