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


Performing analysis on: 4FGL_J1724.2+4005_weekly_bin931
RA = 261.051, Dec = 40.0891
tmin = 802051201, tmax = 802656001
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='28172585', job_status='RUN', time_executed='2026-06-09 15:49:33.672091', time_epoch_executed='1781045373.67' WHERE source_name='4FGL J1724.2+4005' and cadence='weekly' and bin_id='931'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/28172585

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/28172585/ft1_4FGL_J1724.2+4005_weekly_bin931.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/28172585/ft2_4FGL_J1724.2+4005_weekly_bin931.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/28172585/ft1_4FGL_J1724.2+4005_weekly_bin931.fits outfile=/lscratch/kocevski/28172585/ft1_filteredMKT_4FGL_J1724.2+4005_weekly_bin931.fits ra=261.051 dec=40.0891 rad=12.0 tmin=802051201.0 tmax=802656001.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 4.89
user 4.02
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28172585/ft2_4FGL_J1724.2+4005_weekly_bin931.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/28172585/ft2_4FGL_J1724.2+4005_weekly_bin931.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/28172585/ft1_filteredMKT_4FGL_J1724.2+4005_weekly_bin931.fits evtable="EVENTS" outfile="/lscratch/kocevski/28172585/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.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.81
user 0.19
sys 0.13

Number of photons that the gtmktime cut: 1784

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/28172585/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28172585/ft2_4FGL_J1724.2+4005_weekly_bin931.fits sctable="SC_DATA"Done.


Performing analysis on: 4FGL_J1724.2+4005_weekly_bin931
RA = 261.051, Dec = 40.0891
tmin = 802051201, tmax = 802656001
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='28172584', job_status='RUN', time_executed='2026-06-09 15:49:33.672291', time_epoch_executed='1781045373.67' WHERE source_name='4FGL J1724.2+4005' and cadence='weekly' and bin_id='931'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/28172584

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/28172584/ft1_4FGL_J1724.2+4005_weekly_bin931.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/28172584/ft2_4FGL_J1724.2+4005_weekly_bin931.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/28172584/ft1_4FGL_J1724.2+4005_weekly_bin931.fits outfile=/lscratch/kocevski/28172584/ft1_filteredMKT_4FGL_J1724.2+4005_weekly_bin931.fits ra=261.051 dec=40.0891 rad=12.0 tmin=802051201.0 tmax=802656001.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 4.65
user 4.02
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28172584/ft2_4FGL_J1724.2+4005_weekly_bin931.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/28172584/ft2_4FGL_J1724.2+4005_weekly_bin931.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/28172584/ft1_filteredMKT_4FGL_J1724.2+4005_weekly_bin931.fits evtable="EVENTS" outfile="/lscratch/kocevski/28172584/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.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.68
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 1784

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/28172584/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28172584/ft2_4FGL_J1724.2+4005_weekly_bin931.fits sctable="SC_DATA" outfile=/lscratch/kocevski/28172550/ltcube_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.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/28172550/ft2_4FGL_J1724.2+4005_weekly_bin931.fits
.....................!
real 19.00
user 18.20
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28172550/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28172550/ft2_4FGL_J1724.2+4005_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28172550/ltcube_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.fits outfile=/lscratch/kocevski/28172550/expmap_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.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/28172550/ltcube_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.fits
.....................!
real 69.10
user 64.13
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 216 point sources and 0 extended sources

Setting source of interest to:
4FGL J1724.2+4005 @ 261.051 40.0891

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/28172550/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits scfile=/lscratch/kocevski/28172550/ft2_4FGL_J1724.2+4005_weekly_bin931.fits outfile=/lscratch/kocevski/28172550/cmap_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.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=261.051 yref=40.0891 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.84
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/28172550/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits scfile=/lscratch/kocevski/28172550/ft2_4FGL_J1724.2+4005_weekly_bin931.fits outfile=/lscratch/kocevski/28172550/cmap_HighResolution_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.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=261.051 yref=40.0891 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.18
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28172550/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28172550/ft2_4FGL_J1724.2+4005_weekly_bin931.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28172550/Model_4FGL_J1724.2+4005_weekly_bin931.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/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
/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
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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


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).


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

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

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

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

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


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



 GAL_V02
Working on...
/lscratch/kocevski/28172523/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits.....................!
real 49.41
user 47.46
sys 0.92

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28172523/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits', '/lscratch/kocevski/28172523/ft2_4FGL_J1724.2+4005_weekly_bin931.fits', expMap='/lscratch/kocevski/28172523/expmap_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.fits', expCube='/lscratch/kocevski/28172523/ltcube_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28172523/Model_4FGL_J1724.2+4005_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1724.2+4005'

4FGL J1724.2+4005
   Spectrum: LogParabola
330         norm:  4.785e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
331        alpha:  2.332e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
332         beta:  1.393e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
333           Eb:  5.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28172523/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28172523/ft2_4FGL_J1724.2+4005_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28172523/expmap_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28172523/ltcube_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28172523/Model_4FGL_J1724.2+4005_weekly_bin931.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) = 19054.2262674

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8050       1.0000          .0000       .10000E+07
     2 'norm      '    .16588E-01   1.0000          .0000       .10000E+07
     3 'norm      '    .31290E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .48724E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .30763E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .14876E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.1827       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.1734       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.4098       1.0000          .0000       .10000E+07
    10 'Prefactor '    .69347       1.0000          .0000       .10000E+07
    11 'norm      '    7.7914       1.0000          .0000       .10000E+07
    12 'norm      '    .31197E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.2283       1.0000          .0000       .10000E+07
    14 'norm      '    .31036E-06   1.0000          .0000       .10000E+07
    15 'norm      '    5.4484       1.0000          .0000       .10000E+07
    16 'norm      '    1.3256       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.0288       1.0000          .0000       .10000E+07
    18 'norm      '    .22315E-07   1.0000          .0000       .10000E+07
    19 'Prefactor '    35.953       1.0000          .0000       .10000E+07
    20 'Prefactor '    .39260E-02   1.0000          .0000       .10000E+07
    21 'norm      '    5.9310       1.0000          .0000       .10000E+07
    22 'Prefactor '    29.553       1.0000          .0000       .10000E+07
    23 'Prefactor '    .73616E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .30146E-03   1.0000          .0000       .10000E+07
    25 'norm      '    .16008E-05   1.0000          .0000       .10000E+07
    26 'norm      '    .12281E-05   1.0000          .0000       .10000E+07
    27 'norm      '    1.1523       1.0000          .0000       .10000E+07
    28 'Prefactor '    2.4172       1.0000          .0000       .10000E+07
    29 'Normalizat'    .73486       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.1413       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19054.22     FROM MIGRAD    STATUS=CONVERGED    184 CALLS     2900 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8060        1.5432       -.20497E-07    .24247E-03
   2  norm          .16626E-01    .30902E-01   -.38258E-08** at limit **
   3  norm           .0000        1.7841        .22834E-07** at limit **
   4  Prefactor      .0000        1.7098        .57800E-07** at limit **
   5  Prefactor      .0000        2.8187        .64238E-07** at limit **
   6  norm          .44409E-09    8.3358       -.16372E-06** at limit **
   7  Prefactor     1.1821        1.0556        .13229E-07    .28836E-04
   8  Prefactor     4.1730        1.2576       -.37685E-08    .17254E-03
   9  Prefactor     4.4088        2.2104        .45795E-07   -.79858E-03
  10  Prefactor     .69401        1.1759        .42952E-07   -.22010E-03
  11  norm          7.7916        1.5048       -.54998E-09    .17342E-03
  12  norm           .0000        .44840        .57167E-07** at limit **
  13  Prefactor     4.2723        3.7316        .52275E-08    .94644E-04
  14  norm           .0000        1.1087        .11484E-06** at limit **
  15  norm          5.4469        4.9341       -.19398E-07    .71023E-04
  16  norm          1.3252        .96994        .17065E-07   -.18503E-03
  17  Prefactor     1.0289        1.2192       -.44040E-07    .52380E-03
  18  norm           .0000        1.1568       -.35215E-07** at limit **
  19  Prefactor     35.869        4.2690       -.66840E-08    .53323E-01
  20  Prefactor     .10691E-06    17.485       -.27296E-06** at limit **
  21  norm          5.9441        3.3827        .28340E-07   -.45686E-03
  22  Prefactor     29.519        7.9043       -.13743E-07    .62403E-01
  23  Prefactor     .19984E-07    12.422       -.59138E-07** at limit **
  24  Prefactor      .0000        3.1072       -.26489E-07** at limit **
  25  norm           .0000        .85002        .12493E-06** at limit **
  26  norm          .15393E-06    14.656       -.13105E-06** at limit **
  27  norm          1.1505        3.9678       -.40482E-07    .56215E-04
  28  Prefactor     2.4171        2.9401       -.41750E-07    .22934E-03
  29  Normalizat    .73449        .14953       -.22435E-05    .32464E-04
  30  Prefactor     1.1414        .10059        .76866E-06    .44149E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.80599
  norm       = 0.0166263
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 4.44089e-10
  Prefactor  = 1.1821
  Prefactor  = 4.17302
  Prefactor  = 4.40875
  Prefactor  = 0.694009
  norm       = 7.7916
  norm       = 0
  Prefactor  = 4.27226
  norm       = 0
  norm       = 5.44691
  norm       = 1.32521
  Prefactor  = 1.02887
  norm       = 0
  Prefactor  = 35.8688
  Prefactor  = 1.06914e-07
  norm       = 5.94412
  Prefactor  = 29.5185
  Prefactor  = 1.9984e-08
  Prefactor  = 0
  norm       = 0
  norm       = 1.53932e-07
  norm       = 1.1505
  Prefactor  = 2.41709
  Normalizat = 0.734487
  Prefactor  = 1.14139
 outfile=/lscratch/kocevski/28172584/ltcube_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.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/28172584/ft2_4FGL_J1724.2+4005_weekly_bin931.fits
.....................!
real 15.63
user 15.02
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28172584/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28172584/ft2_4FGL_J1724.2+4005_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28172584/ltcube_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.fits outfile=/lscratch/kocevski/28172584/expmap_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.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/28172584/ltcube_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.fits
.....................!
real 60.01
user 55.88
sys 3.44

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 216 point sources and 0 extended sources

Setting source of interest to:
4FGL J1724.2+4005 @ 261.051 40.0891

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/28172584/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits scfile=/lscratch/kocevski/28172584/ft2_4FGL_J1724.2+4005_weekly_bin931.fits outfile=/lscratch/kocevski/28172584/cmap_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.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=261.051 yref=40.0891 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.75
user 0.21
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/28172584/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits scfile=/lscratch/kocevski/28172584/ft2_4FGL_J1724.2+4005_weekly_bin931.fits outfile=/lscratch/kocevski/28172584/cmap_HighResolution_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.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=261.051 yref=40.0891 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.79
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28172584/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28172584/ft2_4FGL_J1724.2+4005_weekly_bin931.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28172584/Model_4FGL_J1724.2+4005_weekly_bin931.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/28172585/ltcube_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.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/28172585/ft2_4FGL_J1724.2+4005_weekly_bin931.fits
.....................!
real 15.81
user 15.21
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28172585/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28172585/ft2_4FGL_J1724.2+4005_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28172585/ltcube_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.fits outfile=/lscratch/kocevski/28172585/expmap_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.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/28172585/ltcube_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.fits
.....................!
real 59.96
user 55.87
sys 3.44

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 216 point sources and 0 extended sources

Setting source of interest to:
4FGL J1724.2+4005 @ 261.051 40.0891

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/28172585/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits scfile=/lscratch/kocevski/28172585/ft2_4FGL_J1724.2+4005_weekly_bin931.fits outfile=/lscratch/kocevski/28172585/cmap_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.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=261.051 yref=40.0891 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.75
user 0.20
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/28172585/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits scfile=/lscratch/kocevski/28172585/ft2_4FGL_J1724.2+4005_weekly_bin931.fits outfile=/lscratch/kocevski/28172585/cmap_HighResolution_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.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=261.051 yref=40.0891 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.78
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28172585/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28172585/ft2_4FGL_J1724.2+4005_weekly_bin931.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28172585/Model_4FGL_J1724.2+4005_weekly_bin931.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=   19054.22     FROM HESSE     STATUS=OK           666 CALLS     3566 TOTAL
                     EDM=   .65E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8060        1.5396        .77760E-03   -1.5681    
   2  norm          .16626E-01    .33245E-01    .75609E-03   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        1.7838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.7093        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        2.7767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .44409E-09    8.3468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.1821        1.0720        .10500E-02   -1.5686    
   8  Prefactor     4.1730        1.2630        .49311E-03   -1.5667    
   9  Prefactor     4.4088        2.2414        .47933E-03   -1.5666    
  10  Prefactor     .69401        1.1938        .61240E-03   -1.5691    
  11  norm          7.7916        1.5048        .35900E-03   -1.5652    
  12  norm           .0000        .18319        .18811E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.2723        3.8114        .48980E-03   -1.5667    
  14  norm           .0000        .13438        .27749E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.4469        5.0272        .43025E-03   -1.5661    
  16  norm          1.3252        .99441        .95439E-03   -1.5685    
  17  Prefactor     1.0289        1.2492        .12548E-02   -1.5688    
  18  norm           .0000        1.1576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     35.869        37.853        .16679E-03   -1.5588    
  20  Prefactor     .10691E-06    18.025        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          5.9441        3.4253        .41209E-03   -1.5659    
  22  Prefactor     29.519        28.494        .18398E-03   -1.5599    
  23  Prefactor     .19984E-07    12.425        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor      .0000        3.0990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm           .0000        .82708        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .15393E-06    15.407        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          1.1505        3.9874        .10768E-02   -1.5687    
  28  Prefactor     2.4171        2.9495        .65810E-03   -1.5677    
  29  Normalizat    .73449        .13058        .75568E-01   -1.0255    
  30  Prefactor     1.1414        .85802E-01    .36194E-01   -.88154    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.45785e-06
Minuit parameter uncertainties:
  1  1.53964
  2  0.0332448
  3  6.5991e-07
  4  6.76826e-07
  5  2.18523e-06
  6  0.000121781
  7  1.07203
  8  1.26303
  9  2.24139
  10  1.19385
  11  1.50478
  12  4.17799e-07
  13  3.81142
  14  9.90352e-07
  15  5.02718
  16  0.994413
  17  1.24921
  18  7.79022e-07
  19  37.8532
  20  0.00277659
  21  3.42528
  22  28.4943
  23  0.000996875
  24  3.15861e-06
  25  2.33397e-06
  26  0.00308008
  27  3.98737
  28  2.9495
  29  0.130635
  30  0.0858122
number of points = 17382
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1724.2+4005_weekly_bin931
RA = 261.051, Dec = 40.0891
tmin = 802051201, tmax = 802656001
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='28172600', job_status='RUN', time_executed='2026-06-09 15:52:12.771233', time_epoch_executed='1781045532.77' WHERE source_name='4FGL J1724.2+4005' and cadence='weekly' and bin_id='931'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/28172600

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/28172600/ft1_4FGL_J1724.2+4005_weekly_bin931.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/28172600/ft2_4FGL_J1724.2+4005_weekly_bin931.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/28172600/ft1_4FGL_J1724.2+4005_weekly_bin931.fits outfile=/lscratch/kocevski/28172600/ft1_filteredMKT_4FGL_J1724.2+4005_weekly_bin931.fits ra=261.051 dec=40.0891 rad=12.0 tmin=802051201.0 tmax=802656001.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 4.64
user 4.02
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28172600/ft2_4FGL_J1724.2+4005_weekly_bin931.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/28172600/ft2_4FGL_J1724.2+4005_weekly_bin931.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/28172600/ft1_filteredMKT_4FGL_J1724.2+4005_weekly_bin931.fits evtable="EVENTS" outfile="/lscratch/kocevski/28172600/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1784

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/28172600/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28172600/ft2_4FGL_J1724.2+4005_weekly_bin931.fits sctable="SC_DATA"number of points = 17382
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1724.2+4005_weekly_bin931
RA = 261.051, Dec = 40.0891
tmin = 802051201, tmax = 802656001
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='28172851', job_status='RUN', time_executed='2026-06-09 15:52:13.188273', time_epoch_executed='1781045533.19' WHERE source_name='4FGL J1724.2+4005' and cadence='weekly' and bin_id='931'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/28172851

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/28172851/ft1_4FGL_J1724.2+4005_weekly_bin931.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/28172851/ft2_4FGL_J1724.2+4005_weekly_bin931.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/28172851/ft1_4FGL_J1724.2+4005_weekly_bin931.fits outfile=/lscratch/kocevski/28172851/ft1_filteredMKT_4FGL_J1724.2+4005_weekly_bin931.fits ra=261.051 dec=40.0891 rad=12.0 tmin=802051201.0 tmax=802656001.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 4.81
user 4.12
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28172851/ft2_4FGL_J1724.2+4005_weekly_bin931.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/28172851/ft2_4FGL_J1724.2+4005_weekly_bin931.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/28172851/ft1_filteredMKT_4FGL_J1724.2+4005_weekly_bin931.fits evtable="EVENTS" outfile="/lscratch/kocevski/28172851/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.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.72
user 0.19
sys 0.14

Number of photons that the gtmktime cut: 1784

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/28172851/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28172851/ft2_4FGL_J1724.2+4005_weekly_bin931.fits sctable="SC_DATA"number of points = 17382
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1724.2+4005_weekly_bin931
RA = 261.051, Dec = 40.0891
tmin = 802051201, tmax = 802656001
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='28172891', job_status='RUN', time_executed='2026-06-09 15:52:13.179872', time_epoch_executed='1781045533.18' WHERE source_name='4FGL J1724.2+4005' and cadence='weekly' and bin_id='931'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/28172891

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/28172891/ft1_4FGL_J1724.2+4005_weekly_bin931.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/28172891/ft2_4FGL_J1724.2+4005_weekly_bin931.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/28172891/ft1_4FGL_J1724.2+4005_weekly_bin931.fits outfile=/lscratch/kocevski/28172891/ft1_filteredMKT_4FGL_J1724.2+4005_weekly_bin931.fits ra=261.051 dec=40.0891 rad=12.0 tmin=802051201.0 tmax=802656001.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 4.76
user 4.12
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28172891/ft2_4FGL_J1724.2+4005_weekly_bin931.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/28172891/ft2_4FGL_J1724.2+4005_weekly_bin931.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/28172891/ft1_filteredMKT_4FGL_J1724.2+4005_weekly_bin931.fits evtable="EVENTS" outfile="/lscratch/kocevski/28172891/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.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.77
user 0.21
sys 0.15

Number of photons that the gtmktime cut: 1784

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/28172891/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28172891/ft2_4FGL_J1724.2+4005_weekly_bin931.fits sctable="SC_DATA"Done.

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

Extracting fit parameters...

4FGL J1724.2+4005
   Spectrum: LogParabola
330         norm:  5.447e+00  5.027e+00  0.000e+00  1.000e+06 ( 1.000e-12)
331        alpha:  2.332e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
332         beta:  1.393e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
333           Eb:  5.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
701    Prefactor:  1.141e+00  8.581e-02  0.000e+00  1.000e+01 ( 1.000e+00)
702        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
703        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
700   Normalization:  7.345e-01  1.306e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.55
Ra Dec: 261.051 40.089
Photon Index (Fixed Index): 2.33 +/- 0.00
Photon Flux (Fixed Index): 2.05e-08 +/- 1.89e-08
Energy Flux (Fixed Index): 6.72e-06 +/- 6.20e-06

TS (Fixed Index): 1.55
Ra Dec: 261.051 40.089
Photon Flux Upper Limit: 5.86729800901e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.92236300035e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28172523/likelihoodResults_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.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) = 19053.2958182
delta logL = 0.924914986161

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19053.2905728
delta logL = 0.930160439111

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0406       1.0000          .0000       .10000E+07
     2 'alpha     '    3.5431       1.0000          .0000       5.0000    
     3 'Normalizat'    .69366       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1596       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19053.29     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      244 TOTAL
                     EDM=   .88E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0381        27.138        .58163E-03    .17362E-01
   2  alpha         3.5452        4.2430        .46968        .15382E-03
   3  Normalizat    .69366        .35244E-01    .77576E-01    .84276E-04
   4  Prefactor     1.1596        .23942E-01    .35665E-01   -.34901E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.0381
  alpha      = 3.54522
  Normalizat = 0.69366
  Prefactor  = 1.15957
 **********
 **   18 **HESSE 
 **********

 FCN=   19053.29     FROM HESSE     STATUS=OK            33 CALLS      277 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0381        15.413        .13845E-04   -1.5673    
   2  alpha         3.5452        4.1474        .23684E-01    .43134    
   3  Normalizat    .69366        .15381        .34344E-03   -1.0414    
   4  Prefactor     1.1596        .10715        .19075E-03   -.87585    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29658e-09
Minuit parameter uncertainties:
  1  13.6861
  2  3.52161
  3  0.153904
  4  0.107173
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19053.290567
delta logL = 0.930166256298

Extracting fit parameters...

4FGL J1724.2+4005
   Spectrum: LogParabola
330         norm:  3.038e+00  1.369e+01  0.000e+00  1.000e+06 ( 1.000e-12)
331        alpha:  3.545e+00  3.522e+00  0.000e+00  5.000e+00 ( 1.000e+00)
332         beta:  1.393e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
333           Eb:  5.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
701    Prefactor:  1.160e+00  1.072e-01  0.000e+00  1.000e+01 ( 1.000e+00)
702        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
703        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
700   Normalization:  6.937e-01  1.539e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.51
Ra Dec: 261.051 40.089
Photon Index (Free Index): 3.55 +/- 3.52
Photon Flux (Free Index): 4.79e-08 +/- 3.13e-08
Energy Flux (Free Index): 8.33e-06 +/- 7.92e-06

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/28172523/cmap_HighResolution_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.92e-05', comment='SUCCESS', photon_flux='2.05e-08', energy_flux2='8.33e-06', photon_flux_error='1.89e-08', dlogl='9.30e-01', energy_flux='6.72e-06', photon_flux2='4.79e-08', job_status='DONE', time_completed='2026-06-09 15:56:42.781733', photon_index_error2='3.52', photon_index2='3.55', ts='1.55', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', photon_flux_upper_limit='5.87e-08', energy_flux_error2='7.92e-06', EG='0.73', time_epoch_completed='1781045802.78', return_code='0', job_id='28172523', GAL2='1.16', EG2='0.69', return_code2='0', energy_flux_error='6.20e-06', photon_flux_error2='3.13e-08', ts2='3.51', photon_index='2.33' WHERE bin_id='931' AND source_name='4FGL J1724.2+4005' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 15:56:43 PDT 2026

 outfile=/lscratch/kocevski/28172600/ltcube_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.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/28172600/ft2_4FGL_J1724.2+4005_weekly_bin931.fits
.....................!
real 19.88
user 18.92
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28172600/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28172600/ft2_4FGL_J1724.2+4005_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28172600/ltcube_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.fits outfile=/lscratch/kocevski/28172600/expmap_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.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/28172600/ltcube_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.fits
.....................!
real 65.25
user 60.52
sys 3.75

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 216 point sources and 0 extended sources

Setting source of interest to:
4FGL J1724.2+4005 @ 261.051 40.0891

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/28172600/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits scfile=/lscratch/kocevski/28172600/ft2_4FGL_J1724.2+4005_weekly_bin931.fits outfile=/lscratch/kocevski/28172600/cmap_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.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=261.051 yref=40.0891 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.81
user 0.22
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/28172600/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits scfile=/lscratch/kocevski/28172600/ft2_4FGL_J1724.2+4005_weekly_bin931.fits outfile=/lscratch/kocevski/28172600/cmap_HighResolution_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.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=261.051 yref=40.0891 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.77
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28172600/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28172600/ft2_4FGL_J1724.2+4005_weekly_bin931.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28172600/Model_4FGL_J1724.2+4005_weekly_bin931.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/28172891/ltcube_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.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/28172891/ft2_4FGL_J1724.2+4005_weekly_bin931.fits
.....................!
real 19.48
user 18.38
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28172891/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28172891/ft2_4FGL_J1724.2+4005_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28172891/ltcube_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.fits outfile=/lscratch/kocevski/28172891/expmap_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.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/28172891/ltcube_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.fits
.....................!
real 61.09
user 56.70
sys 3.59

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 216 point sources and 0 extended sources

Setting source of interest to:
4FGL J1724.2+4005 @ 261.051 40.0891

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/28172891/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits scfile=/lscratch/kocevski/28172891/ft2_4FGL_J1724.2+4005_weekly_bin931.fits outfile=/lscratch/kocevski/28172891/cmap_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.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=261.051 yref=40.0891 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.74
user 0.21
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/28172891/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits scfile=/lscratch/kocevski/28172891/ft2_4FGL_J1724.2+4005_weekly_bin931.fits outfile=/lscratch/kocevski/28172891/cmap_HighResolution_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.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=261.051 yref=40.0891 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.70
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28172891/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28172891/ft2_4FGL_J1724.2+4005_weekly_bin931.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28172891/Model_4FGL_J1724.2+4005_weekly_bin931.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/28172851/ltcube_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.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/28172851/ft2_4FGL_J1724.2+4005_weekly_bin931.fits
.....................!
real 23.58
user 22.77
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28172851/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28172851/ft2_4FGL_J1724.2+4005_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28172851/ltcube_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.fits outfile=/lscratch/kocevski/28172851/expmap_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.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/28172851/ltcube_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.fits
.....................!
real 60.71
user 56.45
sys 3.51

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 216 point sources and 0 extended sources

Setting source of interest to:
4FGL J1724.2+4005 @ 261.051 40.0891

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/28172851/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits scfile=/lscratch/kocevski/28172851/ft2_4FGL_J1724.2+4005_weekly_bin931.fits outfile=/lscratch/kocevski/28172851/cmap_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.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=261.051 yref=40.0891 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.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/28172851/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits scfile=/lscratch/kocevski/28172851/ft2_4FGL_J1724.2+4005_weekly_bin931.fits outfile=/lscratch/kocevski/28172851/cmap_HighResolution_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.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=261.051 yref=40.0891 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.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28172851/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28172851/ft2_4FGL_J1724.2+4005_weekly_bin931.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28172851/Model_4FGL_J1724.2+4005_weekly_bin931.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/28172550/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits.....................!
real 54.07
user 51.86
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28172550/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits', '/lscratch/kocevski/28172550/ft2_4FGL_J1724.2+4005_weekly_bin931.fits', expMap='/lscratch/kocevski/28172550/expmap_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.fits', expCube='/lscratch/kocevski/28172550/ltcube_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28172550/Model_4FGL_J1724.2+4005_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1724.2+4005'

4FGL J1724.2+4005
   Spectrum: LogParabola
330         norm:  4.785e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
331        alpha:  2.332e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
332         beta:  1.393e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
333           Eb:  5.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28172550/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28172550/ft2_4FGL_J1724.2+4005_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28172550/expmap_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28172550/ltcube_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28172550/Model_4FGL_J1724.2+4005_weekly_bin931.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) = 19054.2262674

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8050       1.0000          .0000       .10000E+07
     2 'norm      '    .16588E-01   1.0000          .0000       .10000E+07
     3 'norm      '    .31290E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .48724E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .30763E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .14876E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.1827       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.1734       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.4098       1.0000          .0000       .10000E+07
    10 'Prefactor '    .69347       1.0000          .0000       .10000E+07
    11 'norm      '    7.7914       1.0000          .0000       .10000E+07
    12 'norm      '    .31197E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.2283       1.0000          .0000       .10000E+07
    14 'norm      '    .31036E-06   1.0000          .0000       .10000E+07
    15 'norm      '    5.4484       1.0000          .0000       .10000E+07
    16 'norm      '    1.3256       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.0288       1.0000          .0000       .10000E+07
    18 'norm      '    .22315E-07   1.0000          .0000       .10000E+07
    19 'Prefactor '    35.953       1.0000          .0000       .10000E+07
    20 'Prefactor '    .39260E-02   1.0000          .0000       .10000E+07
    21 'norm      '    5.9310       1.0000          .0000       .10000E+07
    22 'Prefactor '    29.553       1.0000          .0000       .10000E+07
    23 'Prefactor '    .73616E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .30146E-03   1.0000          .0000       .10000E+07
    25 'norm      '    .16008E-05   1.0000          .0000       .10000E+07
    26 'norm      '    .12281E-05   1.0000          .0000       .10000E+07
    27 'norm      '    1.1523       1.0000          .0000       .10000E+07
    28 'Prefactor '    2.4172       1.0000          .0000       .10000E+07
    29 'Normalizat'    .73486       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.1413       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19054.22     FROM MIGRAD    STATUS=CONVERGED    184 CALLS     2900 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8060        1.5432       -.20497E-07    .24247E-03
   2  norm          .16626E-01    .30902E-01   -.38258E-08** at limit **
   3  norm           .0000        1.7841        .22834E-07** at limit **
   4  Prefactor      .0000        1.7098        .57800E-07** at limit **
   5  Prefactor      .0000        2.8187        .64238E-07** at limit **
   6  norm          .44409E-09    8.3358       -.16372E-06** at limit **
   7  Prefactor     1.1821        1.0556        .13229E-07    .28836E-04
   8  Prefactor     4.1730        1.2576       -.37685E-08    .17254E-03
   9  Prefactor     4.4088        2.2104        .45795E-07   -.79858E-03
  10  Prefactor     .69401        1.1759        .42952E-07   -.22010E-03
  11  norm          7.7916        1.5048       -.54998E-09    .17342E-03
  12  norm           .0000        .44840        .57167E-07** at limit **
  13  Prefactor     4.2723        3.7316        .52275E-08    .94644E-04
  14  norm           .0000        1.1087        .11484E-06** at limit **
  15  norm          5.4469        4.9341       -.19398E-07    .71023E-04
  16  norm          1.3252        .96994        .17065E-07   -.18503E-03
  17  Prefactor     1.0289        1.2192       -.44040E-07    .52380E-03
  18  norm           .0000        1.1568       -.35215E-07** at limit **
  19  Prefactor     35.869        4.2690       -.66840E-08    .53323E-01
  20  Prefactor     .10691E-06    17.485       -.27296E-06** at limit **
  21  norm          5.9441        3.3827        .28340E-07   -.45686E-03
  22  Prefactor     29.519        7.9043       -.13743E-07    .62403E-01
  23  Prefactor     .19984E-07    12.422       -.59138E-07** at limit **
  24  Prefactor      .0000        3.1072       -.26489E-07** at limit **
  25  norm           .0000        .85002        .12493E-06** at limit **
  26  norm          .15393E-06    14.656       -.13105E-06** at limit **
  27  norm          1.1505        3.9678       -.40482E-07    .56215E-04
  28  Prefactor     2.4171        2.9401       -.41750E-07    .22934E-03
  29  Normalizat    .73449        .14953       -.22435E-05    .32464E-04
  30  Prefactor     1.1414        .10059        .76866E-06    .44149E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.80599
  norm       = 0.0166263
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 4.44089e-10
  Prefactor  = 1.1821
  Prefactor  = 4.17302
  Prefactor  = 4.40875
  Prefactor  = 0.694009
  norm       = 7.7916
  norm       = 0
  Prefactor  = 4.27226
  norm       = 0
  norm       = 5.44691
  norm       = 1.32521
  Prefactor  = 1.02887
  norm       = 0
  Prefactor  = 35.8688
  Prefactor  = 1.06914e-07
  norm       = 5.94412
  Prefactor  = 29.5185
  Prefactor  = 1.9984e-08
  Prefactor  = 0
  norm       = 0
  norm       = 1.53932e-07
  norm       = 1.1505
  Prefactor  = 2.41709
  Normalizat = 0.734487
  Prefactor  = 1.14139
e GAL_V02
Working on...
/lscratch/kocevski/28172584/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits.....................!
real 47.25
user 45.42
sys 0.59

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28172584/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits', '/lscratch/kocevski/28172584/ft2_4FGL_J1724.2+4005_weekly_bin931.fits', expMap='/lscratch/kocevski/28172584/expmap_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.fits', expCube='/lscratch/kocevski/28172584/ltcube_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28172584/Model_4FGL_J1724.2+4005_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1724.2+4005'

4FGL J1724.2+4005
   Spectrum: LogParabola
330         norm:  4.785e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
331        alpha:  2.332e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
332         beta:  1.393e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
333           Eb:  5.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28172584/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28172584/ft2_4FGL_J1724.2+4005_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28172584/expmap_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28172584/ltcube_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28172584/Model_4FGL_J1724.2+4005_weekly_bin931.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) = 19054.2262674

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8050       1.0000          .0000       .10000E+07
     2 'norm      '    .16588E-01   1.0000          .0000       .10000E+07
     3 'norm      '    .31290E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .48724E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .30763E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .14876E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.1827       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.1734       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.4098       1.0000          .0000       .10000E+07
    10 'Prefactor '    .69347       1.0000          .0000       .10000E+07
    11 'norm      '    7.7914       1.0000          .0000       .10000E+07
    12 'norm      '    .31197E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.2283       1.0000          .0000       .10000E+07
    14 'norm      '    .31036E-06   1.0000          .0000       .10000E+07
    15 'norm      '    5.4484       1.0000          .0000       .10000E+07
    16 'norm      '    1.3256       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.0288       1.0000          .0000       .10000E+07
    18 'norm      '    .22315E-07   1.0000          .0000       .10000E+07
    19 'Prefactor '    35.953       1.0000          .0000       .10000E+07
    20 'Prefactor '    .39260E-02   1.0000          .0000       .10000E+07
    21 'norm      '    5.9310       1.0000          .0000       .10000E+07
    22 'Prefactor '    29.553       1.0000          .0000       .10000E+07
    23 'Prefactor '    .73616E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .30146E-03   1.0000          .0000       .10000E+07
    25 'norm      '    .16008E-05   1.0000          .0000       .10000E+07
    26 'norm      '    .12281E-05   1.000e GAL_V02
Working on...
/lscratch/kocevski/28172585/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits.....................!
real 47.36
user 45.31
sys 0.84

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28172585/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits', '/lscratch/kocevski/28172585/ft2_4FGL_J1724.2+4005_weekly_bin931.fits', expMap='/lscratch/kocevski/28172585/expmap_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.fits', expCube='/lscratch/kocevski/28172585/ltcube_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28172585/Model_4FGL_J1724.2+4005_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1724.2+4005'

4FGL J1724.2+4005
   Spectrum: LogParabola
330         norm:  4.785e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
331        alpha:  2.332e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
332         beta:  1.393e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
333           Eb:  5.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28172585/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28172585/ft2_4FGL_J1724.2+4005_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28172585/expmap_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28172585/ltcube_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28172585/Model_4FGL_J1724.2+4005_weekly_bin931.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) = 19054.2262674

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8050       1.0000          .0000       .10000E+07
     2 'norm      '    .16588E-01   1.0000          .0000       .10000E+07
     3 'norm      '    .31290E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .48724E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .30763E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .14876E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.1827       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.1734       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.4098       1.0000          .0000       .10000E+07
    10 'Prefactor '    .69347       1.0000          .0000       .10000E+07
    11 'norm      '    7.7914       1.0000          .0000       .10000E+07
    12 'norm      '    .31197E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.2283       1.0000          .0000       .10000E+07
    14 'norm      '    .31036E-06   1.0000          .0000       .10000E+07
    15 'norm      '    5.4484       1.0000          .0000       .10000E+07
    16 'norm      '    1.3256       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.0288       1.0000          .0000       .10000E+07
    18 'norm      '    .22315E-07   1.0000          .0000       .10000E+07
    19 'Prefactor '    35.953       1.0000          .0000       .10000E+07
    20 'Prefactor '    .39260E-02   1.0000          .0000       .10000E+07
    21 'norm      '    5.9310       1.0000          .0000       .10000E+07
    22 'Prefactor '    29.553       1.0000          .0000       .10000E+07
    23 'Prefactor '    .73616E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .30146E-03   1.0000          .0000       .10000E+07
    25 'norm      '    .16008E-05   1.0000          .0000       .10000E+07
    26 'norm      '    .12281E-05   1.0000          .0000       .10000E+07
    27 'norm      '    1.1523       1.0000          .0000       .10000E+07
    28 'Prefactor '    2.4172       1.0000          .0000       .10000E+07
    29 'Normalizat'    .73486       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.1413       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19054.22     FROM MIGRAD    STATUS=CONVERGED    184 CALLS     2900 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8060        1.5432       -.20497E-07    .24247E-03
   2  norm          .16626E-01    .30902E-01   -.38258E-08** at limit **
   3  norm           .0000        1.7841        .22834E-07** at limit **
   4  Prefactor      .0000        1.7098        .57800E-07** at limit **
   5  Prefactor      .0000        2.8187        .64238E-07** at limit **
   6  norm          .44409E-09    8.3358       -.16372E-06** at limit **
   7  Prefactor     1.1821        1.0556        .13229E-07    .28836E-04
   8  Prefactor     4.1730        1.2576       -.37685E-08    .17254E-03
   9  Prefactor     4.4088        2.2104        .45795E-07   -.79858E-03
  10  Prefactor     .69401        1.1759        .42952E-07   -.22010E-03
  11  norm          7.7916        1.5048       -.54998E-09    .17342E-03
  12  norm           .0000        .44840        .57167E-07** at limit **
  13  Prefactor     4.2723        3.7316        .52275E-08    .94644E-04
  14  norm           .0000        1.1087        .11484E-06** at limit **
  15  norm          5.4469        4.9341       -.19398E-07    .71023E-04
  16  norm          1.3252        .96994        .17065E-07   -.18503E-03
  17  Prefactor     1.0289        1.2192       -.44040E-07    .52380E-03
  18  norm           .0000        1.1568       -.35215E-07** at limit **
  19  Prefactor     35.869        4.2690       -.66840E-08    .53323E-01
  20  Prefactor     .10691E-06    17.485       -.27296E-06** at limit **
  21  norm          5.9441        3.3827        .28340E-07   -.45686E-03
  22  Prefactor     29.519        7.9043       -.13743E-07    .62403E-01
  23  Prefactor     .19984E-07    12.422       -.59138E-07** at limit **
  24  Prefactor      .0000        3.1072       -.26489E-07** at limit **
  25  norm           .0000        .85002        .12493E-06** at limit **
  26  norm          .15393E-06    14.656       -.13105E-06** at limit **
  27  norm          1.1505        3.9678       -.40482E-07    .56215E-04
  28  Prefactor     2.4171        2.9401       -.41750E-07    .22934E-03
  29  Normalizat    .73449        .14953       -.22435E-05    .32464E-04
  30  Prefactor     1.1414        .10059        .76866E-06    .44149E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.80599
  norm       = 0.0166263
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 4.44089e-10
  Prefactor  = 1.1821
  Prefactor  = 4.17302
  Prefactor  = 4.40875
  Prefactor  = 0.694009
  norm       = 7.7916
  norm       = 0
  Prefactor  = 4.27226
  norm       = 0
  norm       = 5.44691
  norm       = 1.32521
  Prefactor  = 1.02887
  norm       = 0
  Prefactor  = 35.8688
  Prefactor  = 1.06914e-07
  norm       = 5.94412
  Prefactor  = 29.5185
  Prefactor  = 1.9984e-08
  Prefactor  = 0
  norm       = 0
  norm       = 1.53932e-07
  norm       = 1.1505
  Prefactor  = 2.41709
  Normalizat = 0.734487
  Prefactor  = 1.14139
0          .0000       .10000E+07
    27 'norm      '    1.1523       1.0000          .0000       .10000E+07
    28 'Prefactor '    2.4172       1.0000          .0000       .10000E+07
    29 'Normalizat'    .73486       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.1413       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19054.22     FROM MIGRAD    STATUS=CONVERGED    184 CALLS     2900 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8060        1.5432       -.20497E-07    .24247E-03
   2  norm          .16626E-01    .30902E-01   -.38258E-08** at limit **
   3  norm           .0000        1.7841        .22834E-07** at limit **
   4  Prefactor      .0000        1.7098        .57800E-07** at limit **
   5  Prefactor      .0000        2.8187        .64238E-07** at limit **
   6  norm          .44409E-09    8.3358       -.16372E-06** at limit **
   7  Prefactor     1.1821        1.0556        .13229E-07    .28836E-04
   8  Prefactor     4.1730        1.2576       -.37685E-08    .17254E-03
   9  Prefactor     4.4088        2.2104        .45795E-07   -.79858E-03
  10  Prefactor     .69401        1.1759        .42952E-07   -.22010E-03
  11  norm          7.7916        1.5048       -.54998E-09    .17342E-03
  12  norm           .0000        .44840        .57167E-07** at limit **
  13  Prefactor     4.2723        3.7316        .52275E-08    .94644E-04
  14  norm           .0000        1.1087        .11484E-06** at limit **
  15  norm          5.4469        4.9341       -.19398E-07    .71023E-04
  16  norm          1.3252        .96994        .17065E-07   -.18503E-03
  17  Prefactor     1.0289        1.2192       -.44040E-07    .52380E-03
  18  norm           .0000        1.1568       -.35215E-07** at limit **
  19  Prefactor     35.869        4.2690       -.66840E-08    .53323E-01
  20  Prefactor     .10691E-06    17.485       -.27296E-06** at limit **
  21  norm          5.9441        3.3827        .28340E-07   -.45686E-03
  22  Prefactor     29.519        7.9043       -.13743E-07    .62403E-01
  23  Prefactor     .19984E-07    12.422       -.59138E-07** at limit **
  24  Prefactor      .0000        3.1072       -.26489E-07** at limit **
  25  norm           .0000        .85002        .12493E-06** at limit **
  26  norm          .15393E-06    14.656       -.13105E-06** at limit **
  27  norm          1.1505        3.9678       -.40482E-07    .56215E-04
  28  Prefactor     2.4171        2.9401       -.41750E-07    .22934E-03
  29  Normalizat    .73449        .14953       -.22435E-05    .32464E-04
  30  Prefactor     1.1414        .10059        .76866E-06    .44149E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.80599
  norm       = 0.0166263
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 4.44089e-10
  Prefactor  = 1.1821
  Prefactor  = 4.17302
  Prefactor  = 4.40875
  Prefactor  = 0.694009
  norm       = 7.7916
  norm       = 0
  Prefactor  = 4.27226
  norm       = 0
  norm       = 5.44691
  norm       = 1.32521
  Prefactor  = 1.02887
  norm       = 0
  Prefactor  = 35.8688
  Prefactor  = 1.06914e-07
  norm       = 5.94412
  Prefactor  = 29.5185
  Prefactor  = 1.9984e-08
  Prefactor  = 0
  norm       = 0
  norm       = 1.53932e-07
  norm       = 1.1505
  Prefactor  = 2.41709
  Normalizat = 0.734487
  Prefactor  = 1.14139
 **********
 **   18 **HESSE 
 **********

 FCN=   19054.22     FROM HESSE     STATUS=OK           666 CALLS     3566 TOTAL
                     EDM=   .65E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8060        1.5396        .77760E-03   -1.5681    
   2  norm          .16626E-01    .33245E-01    .75609E-03   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        1.7838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.7093        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        2.7767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .44409E-09    8.3468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.1821        1.0720        .10500E-02   -1.5686    
   8  Prefactor     4.1730        1.2630        .49311E-03   -1.5667    
   9  Prefactor     4.4088        2.2414        .47933E-03   -1.5666    
  10  Prefactor     .69401        1.1938        .61240E-03   -1.5691    
  11  norm          7.7916        1.5048        .35900E-03   -1.5652    
  12  norm           .0000        .18319        .18811E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.2723        3.8114        .48980E-03   -1.5667    
  14  norm           .0000        .13438        .27749E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.4469        5.0272        .43025E-03   -1.5661    
  16  norm          1.3252        .99441        .95439E-03   -1.5685    
  17  Prefactor     1.0289        1.2492        .12548E-02   -1.5688    
  18  norm           .0000        1.1576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     35.869        37.853        .16679E-03   -1.5588    
  20  Prefactor     .10691E-06    18.025        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          5.9441        3.4253        .41209E-03   -1.5659    
  22  Prefactor     29.519        28.494        .18398E-03   -1.5599    
  23  Prefactor     .19984E-07    12.425        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor      .0000        3.0990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm           .0000        .82708        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .15393E-06    15.407        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          1.1505        3.9874        .10768E-02   -1.5687    
  28  Prefactor     2.4171        2.9495        .65810E-03   -1.5677    
  29  Normalizat    .73449        .13058        .75568E-01   -1.0255    
  30  Prefactor     1.1414        .85802E-01    .36194E-01   -.88154    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.45785e-06
Minuit parameter uncertainties:
  1  1.53964
  2  0.0332448
  3  6.5991e-07
  4  6.76826e-07
  5  2.18523e-06
  6  0.000121781
  7  1.07203
  8  1.26303
  9  2.24139
  10  1.19385
  11  1.50478
  12  4.17799e-07
  13  3.81142
  14  9.90352e-07
  15  5.02718
  16  0.994413
  17  1.24921
  18  7.79022e-07
  19  37.8532
  20  0.00277659
  21  3.42528
  22  28.4943
  23  0.000996875
  24  3.15861e-06
  25  2.33397e-06
  26  0.00308008
  27  3.98737
  28  2.9495
  29  0.130635
  30  0.0858122
 **********
 **   18 **HESSE 
 **********

 FCN=   19054.22     FROM HESSE     STATUS=OK           666 CALLS     3566 TOTAL
                     EDM=   .65E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8060        1.5396        .77760E-03   -1.5681    
   2  norm          .16626E-01    .33245E-01    .75609E-03   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        1.7838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.7093        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        2.7767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .44409E-09    8.3468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.1821        1.0720        .10500E-02   -1.5686    
   8  Prefactor     4.1730        1.2630        .49311E-03   -1.5667    
   9  Prefactor     4.4088        2.2414        .47933E-03   -1.5666    
  10  Prefactor     .69401        1.1938        .61240E-03   -1.5691    
  11  norm          7.7916        1.5048        .35900E-03   -1.5652    
  12  norm           .0000        .18319        .18811E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.2723        3.8114        .48980E-03   -1.5667    
  14  norm           .0000        .13438        .27749E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.4469        5.0272        .43025E-03   -1.5661    
  16  norm          1.3252        .99441        .95439E-03   -1.5685    
  17  Prefactor     1.0289        1.2492        .12548E-02   -1.5688    
  18  norm           .0000        1.1576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     35.869        37.853        .16679E-03   -1.5588    
  20  Prefactor     .10691E-06    18.025        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          5.9441        3.4253        .41209E-03   -1.5659    
  22  Prefactor     29.519        28.494        .18398E-03   -1.5599    
  23  Prefactor     .19984E-07    12.425        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor      .0000        3.0990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm           .0000        .82708        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .15393E-06    15.407        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          1.1505        3.9874        .10768E-02   -1.5687    
  28  Prefactor     2.4171        2.9495        .65810E-03   -1.5677    
  29  Normalizat    .73449        .13058        .75568E-01   -1.0255    
  30  Prefactor     1.1414        .85802E-01    .36194E-01   -.88154    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.45785e-06
Minuit parameter uncertainties:
  1  1.53964
  2  0.0332448
  3  6.5991e-07
  4  6.76826e-07
  5  2.18523e-06
  6  0.000121781
  7  1.07203
  8  1.26303
  9  2.24139
  10  1.19385
  11  1.50478
  12  4.17799e-07
  13  3.81142
  14  9.90352e-07
  15  5.02718
  16  0.994413
  17  1.24921
  18  7.79022e-07
  19  37.8532
  20  0.00277659
  21  3.42528
  22  28.4943
  23  0.000996875
  24  3.15861e-06
  25  2.33397e-06
  26  0.00308008
  27  3.98737
  28  2.9495
  29  0.130635
  30  0.0858122
 **********
 **   18 **HESSE 
 **********

 FCN=   19054.22     FROM HESSE     STATUS=OK           666 CALLS     3566 TOTAL
                     EDM=   .65E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8060        1.5396        .77760E-03   -1.5681    
   2  norm          .16626E-01    .33245E-01    .75609E-03   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        1.7838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.7093        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        2.7767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .44409E-09    8.3468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.1821        1.0720        .10500E-02   -1.5686    
   8  Prefactor     4.1730        1.2630        .49311E-03   -1.5667    
   9  Prefactor     4.4088        2.2414        .47933E-03   -1.5666    
  10  Prefactor     .69401        1.1938        .61240E-03   -1.5691    
  11  norm          7.7916        1.5048        .35900E-03   -1.5652    
  12  norm           .0000        .18319        .18811E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.2723        3.8114        .48980E-03   -1.5667    
  14  norm           .0000        .13438        .27749E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.4469        5.0272        .43025E-03   -1.5661    
  16  norm          1.3252        .99441        .95439E-03   -1.5685    
  17  Prefactor     1.0289        1.2492        .12548E-02   -1.5688    
  18  norm           .0000        1.1576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     35.869        37.853        .16679E-03   -1.5588    
  20  Prefactor     .10691E-06    18.025        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          5.9441        3.4253        .41209E-03   -1.5659    
  22  Prefactor     29.519        28.494        .18398E-03   -1.5599    
  23  Prefactor     .19984E-07    12.425        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor      .0000        3.0990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm           .0000        .82708        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .15393E-06    15.407        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          1.1505        3.9874        .10768E-02   -1.5687    
  28  Prefactor     2.4171        2.9495        .65810E-03   -1.5677    
  29  Normalizat    .73449        .13058        .75568E-01   -1.0255    
  30  Prefactor     1.1414        .85802E-01    .36194E-01   -.88154    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.45785e-06
Minuit parameter uncertainties:
  1  1.53964
  2  0.0332448
  3  6.5991e-07
  4  6.76826e-07
  5  2.18523e-06
  6  0.000121781
  7  1.07203
  8  1.26303
  9  2.24139
  10  1.19385
  11  1.50478
  12  4.17799e-07
  13  3.81142
  14  9.90352e-07
  15  5.02718
  16  0.994413
  17  1.24921
  18  7.79022e-07
  19  37.8532
  20  0.00277659
  21  3.42528
  22  28.4943
  23  0.000996875
  24  3.15861e-06
  25  2.33397e-06
  26  0.00308008
  27  3.98737
  28  2.9495
  29  0.130635
  30  0.0858122
Done.

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

Extracting fit parameters...

4FGL J1724.2+4005
   Spectrum: LogParabola
330         norm:  5.447e+00  5.027e+00  0.000e+00  1.000e+06 ( 1.000e-12)
331        alpha:  2.332e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
332         beta:  1.393e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
333           Eb:  5.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
701    Prefactor:  1.141e+00  8.581e-02  0.000e+00  1.000e+01 ( 1.000e+00)
702        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
703        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
700   Normalization:  7.345e-01  1.306e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.55
Ra Dec: 261.051 40.089
Photon Index (Fixed Index): 2.33 +/- 0.00
Photon Flux (Fixed Index): 2.05e-08 +/- 1.89e-08
Energy Flux (Fixed Index): 6.72e-06 +/- 6.20e-06

TS (Fixed Index): 1.55
Ra Dec: 261.051 40.089
Photon Flux Upper Limit: 5.86729800901e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.92236300035e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28172550/likelihoodResults_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.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) = 19053.2958182
delta logL = 0.924914986161

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19053.2905728
delta logL = 0.930160439111

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0406       1.0000          .0000       .10000E+07
     2 'alpha     '    3.5431       1.0000          .0000       5.0000    
     3 'Normalizat'    .69366       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1596       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19053.29     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      244 TOTAL
                     EDM=   .88E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0381        27.138        .58163E-03    .17362E-01
   2  alpha         3.5452        4.2430        .46968        .15382E-03
   3  Normalizat    .69366        .35244E-01    .77576E-01    .84276E-04
   4  Prefactor     1.1596        .23942E-01    .35665E-01   -.34901E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.0381
  alpha      = 3.54522
  Normalizat = 0.69366
  Prefactor  = 1.15957
 **********
 **   18 **HESSE 
 **********

 FCN=   19053.29     FROM HESSE     STATUS=OK            33 CALLS      277 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0381        15.413        .13845E-04   -1.5673    
   2  alpha         3.5452        4.1474        .23684E-01    .43134    
   3  Normalizat    .69366        .15381        .34344E-03   -1.0414    
   4  Prefactor     1.1596        .10715        .19075E-03   -.87585    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29658e-09
Minuit parameter uncertainties:
  1  13.6861
  2  3.52161
  3  0.153904
  4  0.107173
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19053.290567
delta logL = 0.930166256298

Extracting fit parameters...

4FGL J1724.2+4005
   Spectrum: LogParabola
330         norm:  3.038e+00  1.369e+01  0.000e+00  1.000e+06 ( 1.000e-12)
331        alpha:  3.545e+00  3.522e+00  0.000e+00  5.000e+00 ( 1.000e+00)
332         beta:  1.393e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
333           Eb:  5.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
701    Prefactor:  1.160e+00  1.072e-01  0.000e+00  1.000e+01 ( 1.000e+00)
702        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
703        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
700   Normalization:  6.937e-01  1.539e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.51
Ra Dec: 261.051 40.089
Photon Index (Free Index): 3.55 +/- 3.52
Photon Flux (Free Index): 4.79e-08 +/- 3.13e-08
Energy Flux (Free Index): 8.33e-06 +/- 7.92e-06

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/28172550/cmap_HighResolution_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.92e-05', comment='SUCCESS', photon_flux='2.05e-08', energy_flux2='8.33e-06', photon_flux_error='1.89e-08', dlogl='9.30e-01', energy_flux='6.72e-06', photon_flux2='4.79e-08', job_status='DONE', time_completed='2026-06-09 16:03:44.698300', photon_index_error2='3.52', photon_index2='3.55', ts='1.55', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', photon_flux_upper_limit='5.87e-08', energy_flux_error2='7.92e-06', EG='0.73', time_epoch_completed='1781046224.7', return_code='0', job_id='28172550', GAL2='1.16', EG2='0.69', return_code2='0', energy_flux_error='6.20e-06', photon_flux_error2='3.13e-08', ts2='3.51', photon_index='2.33' WHERE bin_id='931' AND source_name='4FGL J1724.2+4005' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 16:03:44 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1724.2+4005
   Spectrum: LogParabola
330         norm:  5.447e+00  5.027e+00  0.000e+00  1.000e+06 ( 1.000e-12)
331        alpha:  2.332e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
332         beta:  1.393e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
333           Eb:  5.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
701    Prefactor:  1.141e+00  8.581e-02  0.000e+00  1.000e+01 ( 1.000e+00)
702        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
703        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
700   Normalization:  7.345e-01  1.306e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.55
Ra Dec: 261.051 40.089
Photon Index (Fixed Index): 2.33 +/- 0.00
Photon Flux (Fixed Index): 2.05e-08 +/- 1.89e-08
Energy Flux (Fixed Index): 6.72e-06 +/- 6.20e-06

TS (Fixed Index): 1.55
Ra Dec: 261.051 40.089
Photon Flux Upper Limit: 5.86729800901e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.92236300035e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28172584/likelihoodResults_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.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) = 19053.2958182
delta logL = 0.924914986161

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19053.2905728
delta logL = 0.930160439111

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0406       1.0000          .0000       .10000E+07
     2 'alpha     '    3.5431       1.0000          .0000       5.0000    
     3 'Normalizat'    .69366       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1596       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19053.29     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      244 TOTAL
                     EDM=   .88E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0381        27.138        .58163E-03    .17362E-01
   2  alpha         3.5452        4.2430        .46968        .15382E-03
   3  Normalizat    .69366        .35244E-01    .77576E-01    .84276E-04
   4  Prefactor     1.1596        .23942E-01    .35665E-01   -.34901E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.0381
  alpha      = 3.54522
  Normalizat = 0.69366
  Prefactor  = 1.15957
 **********
 **   18 **HESSE 
 **********

 FCN=   19053.29     FROM HESSE     STATUS=OK            33 CALLS      277 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0381        15.413        .13845E-04   -1.5673    
   2  alpha         3.5452        4.1474        .23684E-01    .43134    
   3  Normalizat    .69366        .15381        .34344E-03   -1.0414    
   4  Prefactor     1.1596        .10715        .19075E-03   -.87585    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29658e-09
Minuit parameter uncertainties:
  1  13.6861
  2  3.52161
  3  0.153904
  4  0.107173
e GAL_V02
Working on...
/lscratch/kocevski/28172891/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits.....................!
real 49.55
user 47.59
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28172891/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits', '/lscratch/kocevski/28172891/ft2_4FGL_J1724.2+4005_weekly_bin931.fits', expMap='/lscratch/kocevski/28172891/expmap_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.fits', expCube='/lscratch/kocevski/28172891/ltcube_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28172891/Model_4FGL_J1724.2+4005_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1724.2+4005'

4FGL J1724.2+4005
   Spectrum: LogParabola
330         norm:  4.785e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
331        alpha:  2.332e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
332         beta:  1.393e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
333           Eb:  5.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28172891/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28172891/ft2_4FGL_J1724.2+4005_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28172891/expmap_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28172891/ltcube_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28172891/Model_4FGL_J1724.2+4005_weekly_bin931.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) = 19054.2262674

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8050       1.0000          .0000       .10000E+07
     2 'norm      '    .16588E-01   1.0000          .0000       .10000E+07
     3 'norm      '    .31290E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .48724E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .30763E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .14876E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.1827       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.1734       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.4098       1.0000          .0000       .10000E+07
    10 'Prefactor '    .69347       1.0000          .0000       .10000E+07
    11 'norm      '    7.7914       1.0000          .0000       .10000E+07
    12 'norm      '    .31197E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.2283       1.0000          .0000       .10000E+07
    14 'norm      '    .31036E-06   1.0000          .0000       .10000E+07
    15 'norm      '    5.4484       1.0000          .0000       .10000E+07
    16 'norm      '    1.3256       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.0288       1.0000          .0000       .10000E+07
    18 'norm      '    .22315E-07   1.0000          .0000       .10000E+07
    19 'Prefactor '    35.953       1.0000          .0000       .10000E+07
    20 'Prefactor '    .39260E-02   1.0000          .0000       .10000E+07
    21 'norm      '    5.9310       1.0000          .0000       .10000E+07
    22 'Prefactor '    29.553       1.0000          .0000       .10000E+07
    23 'Prefactor '    .73616E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .30146E-03   1.0000          .0000       .10000E+07
    25 'norm      '    .16008E-05   1.0000          .0000       .10000E+07
    26 'norm      '    .12281E-05   1.000shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19053.290567
delta logL = 0.930166256298

Extracting fit parameters...

4FGL J1724.2+4005
   Spectrum: LogParabola
330         norm:  3.038e+00  1.369e+01  0.000e+00  1.000e+06 ( 1.000e-12)
331        alpha:  3.545e+00  3.522e+00  0.000e+00  5.000e+00 ( 1.000e+00)
332         beta:  1.393e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
333           Eb:  5.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
701    Prefactor:  1.160e+00  1.072e-01  0.000e+00  1.000e+01 ( 1.000e+00)
702        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
703        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
700   Normalization:  6.937e-01  1.539e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.51
Ra Dec: 261.051 40.089
Photon Index (Free Index): 3.55 +/- 3.52
Photon Flux (Free Index): 4.79e-08 +/- 3.13e-08
Energy Flux (Free Index): 8.33e-06 +/- 7.92e-06

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/28172584/cmap_HighResolution_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.92e-05', comment='SUCCESS', photon_flux='2.05e-08', energy_flux2='8.33e-06', photon_flux_error='1.89e-08', dlogl='9.30e-01', energy_flux='6.72e-06', photon_flux2='4.79e-08', job_status='DONE', time_completed='2026-06-09 16:04:13.692634', photon_index_error2='3.52', photon_index2='3.55', ts='1.55', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', photon_flux_upper_limit='5.87e-08', energy_flux_error2='7.92e-06', EG='0.73', time_epoch_completed='1781046253.69', return_code='0', job_id='28172584', GAL2='1.16', EG2='0.69', return_code2='0', energy_flux_error='6.20e-06', photon_flux_error2='3.13e-08', ts2='3.51', photon_index='2.33' WHERE bin_id='931' AND source_name='4FGL J1724.2+4005' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 16:04:13 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1724.2+4005
   Spectrum: LogParabola
330         norm:  5.447e+00  5.027e+00  0.000e+00  1.000e+06 ( 1.000e-12)
331        alpha:  2.332e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
332         beta:  1.393e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
333           Eb:  5.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
701    Prefactor:  1.141e+00  8.581e-02  0.000e+00  1.000e+01 ( 1.000e+00)
702        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
703        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
700   Normalization:  7.345e-01  1.306e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.55
Ra Dec: 261.051 40.089
Photon Index (Fixed Index): 2.33 +/- 0.00
Photon Flux (Fixed Index): 2.05e-08 +/- 1.89e-08
Energy Flux (Fixed Index): 6.72e-06 +/- 6.20e-06

TS (Fixed Index): 1.55
Ra Dec: 261.051 40.089
Photon Flux Upper Limit: 5.86729800901e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.92236300035e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28172585/likelihoodResults_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.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) = 19053.2958182
delta logL = 0.924914986161

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19053.2905728
delta logL = 0.930160439111

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0406       1.0000          .0000       .10000E+07
     2 'alpha     '    3.5431       1.0000          .0000       5.0000    
     3 'Normalizat'    .69366       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1596       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19053.29     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      244 TOTAL
                     EDM=   .88E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0381        27.138        .58163E-03    .17362E-01
   2  alpha         3.5452        4.2430        .46968        .15382E-03
   3  Normalizat    .69366        .35244E-01    .77576E-01    .84276E-04
   4  Prefactor     1.1596        .23942E-01    .35665E-01   -.34901E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.0381
  alpha      = 3.54522
  Normalizat = 0.69366
  Prefactor  = 1.15957
 **********
 **   18 **HESSE 
 **********

 FCN=   19053.29     FROM HESSE     STATUS=OK            33 CALLS      277 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0381        15.413        .13845E-04   -1.5673    
   2  alpha         3.5452        4.1474        .23684E-01    .43134    
   3  Normalizat    .69366        .15381        .34344E-03   -1.0414    
   4  Prefactor     1.1596        .10715        .19075E-03   -.87585    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29658e-09
Minuit parameter uncertainties:
  1  13.6861
  2  3.52161
  3  0.153904
  4  0.107173
e GAL_V02
Working on...
/lscratch/kocevski/28172851/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits.....................!
real 49.42
user 47.21
sys 1.38

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28172851/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits', '/lscratch/kocevski/28172851/ft2_4FGL_J1724.2+4005_weekly_bin931.fits', expMap='/lscratch/kocevski/28172851/expmap_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.fits', expCube='/lscratch/kocevski/28172851/ltcube_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28172851/Model_4FGL_J1724.2+4005_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1724.2+4005'

4FGL J1724.2+4005
   Spectrum: LogParabola
330         norm:  4.785e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
331        alpha:  2.332e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
332         beta:  1.393e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
333           Eb:  5.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28172851/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28172851/ft2_4FGL_J1724.2+4005_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28172851/expmap_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28172851/ltcube_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28172851/Model_4FGL_J1724.2+4005_weekly_bin931.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) = 19054.2262674

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8050       1.0000          .0000       .10000E+07
     2 'norm      '    .16588E-01   1.0000          .0000       .10000E+07
     3 'norm      '    .31290E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .48724E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .30763E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .14876E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.1827       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.1734       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.4098       1.0000          .0000       .10000E+07
    10 'Prefactor '    .69347       1.0000          .0000       .10000E+07
    11 'norm      '    7.7914       1.0000          .0000       .10000E+07
    12 'norm      '    .31197E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.2283       1.0000          .0000       .10000E+07
    14 'norm      '    .31036E-06   1.0000          .0000       .10000E+07
    15 'norm      '    5.4484       1.0000          .0000       .10000E+07
    16 'norm      '    1.3256       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.0288       1.0000          .0000       .10000E+07
    18 'norm      '    .22315E-07   1.0000          .0000       .10000E+07
    19 'Prefactor '    35.953       1.0000          .0000       .10000E+07
    20 'Prefactor '    .39260E-02   1.0000          .0000       .10000E+07
    21 'norm      '    5.9310       1.0000          .0000       .10000E+07
    22 'Prefactor '    29.553       1.0000          .0000       .10000E+07
    23 'Prefactor '    .73616E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .30146E-03   1.0000          .0000       .10000E+07
    25 'norm      '    .16008E-05   1.0000          .0000       .10000E+07
    26 'norm      '    .12281E-05   1.000shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19053.290567
delta logL = 0.930166256298

Extracting fit parameters...

4FGL J1724.2+4005
   Spectrum: LogParabola
330         norm:  3.038e+00  1.369e+01  0.000e+00  1.000e+06 ( 1.000e-12)
331        alpha:  3.545e+00  3.522e+00  0.000e+00  5.000e+00 ( 1.000e+00)
332         beta:  1.393e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
333           Eb:  5.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
701    Prefactor:  1.160e+00  1.072e-01  0.000e+00  1.000e+01 ( 1.000e+00)
702        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
703        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
700   Normalization:  6.937e-01  1.539e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.51
Ra Dec: 261.051 40.089
Photon Index (Free Index): 3.55 +/- 3.52
Photon Flux (Free Index): 4.79e-08 +/- 3.13e-08
Energy Flux (Free Index): 8.33e-06 +/- 7.92e-06

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/28172585/cmap_HighResolution_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.92e-05', comment='SUCCESS', photon_flux='2.05e-08', energy_flux2='8.33e-06', photon_flux_error='1.89e-08', dlogl='9.30e-01', energy_flux='6.72e-06', photon_flux2='4.79e-08', job_status='DONE', time_completed='2026-06-09 16:04:25.827990', photon_index_error2='3.52', photon_index2='3.55', ts='1.55', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', photon_flux_upper_limit='5.87e-08', energy_flux_error2='7.92e-06', EG='0.73', time_epoch_completed='1781046265.83', return_code='0', job_id='28172585', GAL2='1.16', EG2='0.69', return_code2='0', energy_flux_error='6.20e-06', photon_flux_error2='3.13e-08', ts2='3.51', photon_index='2.33' WHERE bin_id='931' AND source_name='4FGL J1724.2+4005' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 16:04:25 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/28172600/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits.....................!
real 50.55
user 49.04
sys 0.63

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28172600/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits', '/lscratch/kocevski/28172600/ft2_4FGL_J1724.2+4005_weekly_bin931.fits', expMap='/lscratch/kocevski/28172600/expmap_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.fits', expCube='/lscratch/kocevski/28172600/ltcube_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28172600/Model_4FGL_J1724.2+4005_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1724.2+4005'

4FGL J1724.2+4005
   Spectrum: LogParabola
330         norm:  4.785e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
331        alpha:  2.332e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
332         beta:  1.393e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
333           Eb:  5.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28172600/ft1_filtered_4FGL_J1724.2+4005_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28172600/ft2_4FGL_J1724.2+4005_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28172600/expmap_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28172600/ltcube_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28172600/Model_4FGL_J1724.2+4005_weekly_bin931.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) = 19054.2262674

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8050       1.0000          .0000       .10000E+07
     2 'norm      '    .16588E-01   1.0000          .0000       .10000E+07
     3 'norm      '    .31290E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .48724E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .30763E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .14876E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.1827       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.1734       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.4098       1.0000          .0000       .10000E+07
    10 'Prefactor '    .69347       1.0000          .0000       .10000E+07
    11 'norm      '    7.7914       1.0000          .0000       .10000E+07
    12 'norm      '    .31197E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.2283       1.0000          .0000       .10000E+07
    14 'norm      '    .31036E-06   1.0000          .0000       .10000E+07
    15 'norm      '    5.4484       1.0000          .0000       .10000E+07
    16 'norm      '    1.3256       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.0288       1.0000          .0000       .10000E+07
    18 'norm      '    .22315E-07   1.0000          .0000       .10000E+07
    19 'Prefactor '    35.953       1.0000          .0000       .10000E+07
    20 'Prefactor '    .39260E-02   1.0000          .0000       .10000E+07
    21 'norm      '    5.9310       1.0000          .0000       .10000E+07
    22 'Prefactor '    29.553       1.0000          .0000       .10000E+07
    23 'Prefactor '    .73616E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .30146E-03   1.0000          .0000       .10000E+07
    25 'norm      '    .16008E-05   1.0000          .0000       .10000E+07
    26 'norm      '    .12281E-05   1.0000          .0000       .10000E+07
    27 'norm      '    1.1523       1.0000          .0000       .10000E+07
    28 'Prefactor '    2.4172       1.0000          .0000       .10000E+07
    29 'Normalizat'    .73486       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.1413       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19054.22     FROM MIGRAD    STATUS=CONVERGED    184 CALLS     2900 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8060        1.5432       -.20497E-07    .24247E-03
   2  norm          .16626E-01    .30902E-01   -.38258E-08** at limit **
   3  norm           .0000        1.7841        .22834E-07** at limit **
   4  Prefactor      .0000        1.7098        .57800E-07** at limit **
   5  Prefactor      .0000        2.8187        .64238E-07** at limit **
   6  norm          .44409E-09    8.3358       -.16372E-06** at limit **
   7  Prefactor     1.1821        1.0556        .13229E-07    .28836E-04
   8  Prefactor     4.1730        1.2576       -.37685E-08    .17254E-03
   9  Prefactor     4.4088        2.2104        .45795E-07   -.79858E-03
  10  Prefactor     .69401        1.1759        .42952E-07   -.22010E-03
  11  norm          7.7916        1.5048       -.54998E-09    .17342E-03
  12  norm           .0000        .44840        .57167E-07** at limit **
  13  Prefactor     4.2723        3.7316        .52275E-08    .94644E-04
  14  norm           .0000        1.1087        .11484E-06** at limit **
  15  norm          5.4469        4.9341       -.19398E-07    .71023E-04
  16  norm          1.3252        .96994        .17065E-07   -.18503E-03
  17  Prefactor     1.0289        1.2192       -.44040E-07    .52380E-03
  18  norm           .0000        1.1568       -.35215E-07** at limit **
  19  Prefactor     35.869        4.2690       -.66840E-08    .53323E-01
  20  Prefactor     .10691E-06    17.485       -.27296E-06** at limit **
  21  norm          5.9441        3.3827        .28340E-07   -.45686E-03
  22  Prefactor     29.519        7.9043       -.13743E-07    .62403E-01
  23  Prefactor     .19984E-07    12.422       -.59138E-07** at limit **
  24  Prefactor      .0000        3.1072       -.26489E-07** at limit **
  25  norm           .0000        .85002        .12493E-06** at limit **
  26  norm          .15393E-06    14.656       -.13105E-06** at limit **
  27  norm          1.1505        3.9678       -.40482E-07    .56215E-04
  28  Prefactor     2.4171        2.9401       -.41750E-07    .22934E-03
  29  Normalizat    .73449        .14953       -.22435E-05    .32464E-04
  30  Prefactor     1.1414        .10059        .76866E-06    .44149E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.80599
  norm       = 0.0166263
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 4.44089e-10
  Prefactor  = 1.1821
  Prefactor  = 4.17302
  Prefactor  = 4.40875
  Prefactor  = 0.694009
  norm       = 7.7916
  norm       = 0
  Prefactor  = 4.27226
  norm       = 0
  norm       = 5.44691
  norm       = 1.32521
  Prefactor  = 1.02887
  norm       = 0
  Prefactor  = 35.8688
  Prefactor  = 1.06914e-07
  norm       = 5.94412
  Prefactor  = 29.5185
  Prefactor  = 1.9984e-08
  Prefactor  = 0
  norm       = 0
  norm       = 1.53932e-07
  norm       = 1.1505
  Prefactor  = 2.41709
  Normalizat = 0.734487
  Prefactor  = 1.14139
0          .0000       .10000E+07
    27 'norm      '    1.1523       1.0000          .0000       .10000E+07
    28 'Prefactor '    2.4172       1.0000          .0000       .10000E+07
    29 'Normalizat'    .73486       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.1413       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19054.22     FROM MIGRAD    STATUS=CONVERGED    184 CALLS     2900 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8060        1.5432       -.20497E-07    .24247E-03
   2  norm          .16626E-01    .30902E-01   -.38258E-08** at limit **
   3  norm           .0000        1.7841        .22834E-07** at limit **
   4  Prefactor      .0000        1.7098        .57800E-07** at limit **
   5  Prefactor      .0000        2.8187        .64238E-07** at limit **
   6  norm          .44409E-09    8.3358       -.16372E-06** at limit **
   7  Prefactor     1.1821        1.0556        .13229E-07    .28836E-04
   8  Prefactor     4.1730        1.2576       -.37685E-08    .17254E-03
   9  Prefactor     4.4088        2.2104        .45795E-07   -.79858E-03
  10  Prefactor     .69401        1.1759        .42952E-07   -.22010E-03
  11  norm          7.7916        1.5048       -.54998E-09    .17342E-03
  12  norm           .0000        .44840        .57167E-07** at limit **
  13  Prefactor     4.2723        3.7316        .52275E-08    .94644E-04
  14  norm           .0000        1.1087        .11484E-06** at limit **
  15  norm          5.4469        4.9341       -.19398E-07    .71023E-04
  16  norm          1.3252        .96994        .17065E-07   -.18503E-03
  17  Prefactor     1.0289        1.2192       -.44040E-07    .52380E-03
  18  norm           .0000        1.1568       -.35215E-07** at limit **
  19  Prefactor     35.869        4.2690       -.66840E-08    .53323E-01
  20  Prefactor     .10691E-06    17.485       -.27296E-06** at limit **
  21  norm          5.9441        3.3827        .28340E-07   -.45686E-03
  22  Prefactor     29.519        7.9043       -.13743E-07    .62403E-01
  23  Prefactor     .19984E-07    12.422       -.59138E-07** at limit **
  24  Prefactor      .0000        3.1072       -.26489E-07** at limit **
  25  norm           .0000        .85002        .12493E-06** at limit **
  26  norm          .15393E-06    14.656       -.13105E-06** at limit **
  27  norm          1.1505        3.9678       -.40482E-07    .56215E-04
  28  Prefactor     2.4171        2.9401       -.41750E-07    .22934E-03
  29  Normalizat    .73449        .14953       -.22435E-05    .32464E-04
  30  Prefactor     1.1414        .10059        .76866E-06    .44149E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.80599
  norm       = 0.0166263
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 4.44089e-10
  Prefactor  = 1.1821
  Prefactor  = 4.17302
  Prefactor  = 4.40875
  Prefactor  = 0.694009
  norm       = 7.7916
  norm       = 0
  Prefactor  = 4.27226
  norm       = 0
  norm       = 5.44691
  norm       = 1.32521
  Prefactor  = 1.02887
  norm       = 0
  Prefactor  = 35.8688
  Prefactor  = 1.06914e-07
  norm       = 5.94412
  Prefactor  = 29.5185
  Prefactor  = 1.9984e-08
  Prefactor  = 0
  norm       = 0
  norm       = 1.53932e-07
  norm       = 1.1505
  Prefactor  = 2.41709
  Normalizat = 0.734487
  Prefactor  = 1.14139
0          .0000       .10000E+07
    27 'norm      '    1.1523       1.0000          .0000       .10000E+07
    28 'Prefactor '    2.4172       1.0000          .0000       .10000E+07
    29 'Normalizat'    .73486       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.1413       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19054.22     FROM MIGRAD    STATUS=CONVERGED    184 CALLS     2900 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8060        1.5432       -.20497E-07    .24247E-03
   2  norm          .16626E-01    .30902E-01   -.38258E-08** at limit **
   3  norm           .0000        1.7841        .22834E-07** at limit **
   4  Prefactor      .0000        1.7098        .57800E-07** at limit **
   5  Prefactor      .0000        2.8187        .64238E-07** at limit **
   6  norm          .44409E-09    8.3358       -.16372E-06** at limit **
   7  Prefactor     1.1821        1.0556        .13229E-07    .28836E-04
   8  Prefactor     4.1730        1.2576       -.37685E-08    .17254E-03
   9  Prefactor     4.4088        2.2104        .45795E-07   -.79858E-03
  10  Prefactor     .69401        1.1759        .42952E-07   -.22010E-03
  11  norm          7.7916        1.5048       -.54998E-09    .17342E-03
  12  norm           .0000        .44840        .57167E-07** at limit **
  13  Prefactor     4.2723        3.7316        .52275E-08    .94644E-04
  14  norm           .0000        1.1087        .11484E-06** at limit **
  15  norm          5.4469        4.9341       -.19398E-07    .71023E-04
  16  norm          1.3252        .96994        .17065E-07   -.18503E-03
  17  Prefactor     1.0289        1.2192       -.44040E-07    .52380E-03
  18  norm           .0000        1.1568       -.35215E-07** at limit **
  19  Prefactor     35.869        4.2690       -.66840E-08    .53323E-01
  20  Prefactor     .10691E-06    17.485       -.27296E-06** at limit **
  21  norm          5.9441        3.3827        .28340E-07   -.45686E-03
  22  Prefactor     29.519        7.9043       -.13743E-07    .62403E-01
  23  Prefactor     .19984E-07    12.422       -.59138E-07** at limit **
  24  Prefactor      .0000        3.1072       -.26489E-07** at limit **
  25  norm           .0000        .85002        .12493E-06** at limit **
  26  norm          .15393E-06    14.656       -.13105E-06** at limit **
  27  norm          1.1505        3.9678       -.40482E-07    .56215E-04
  28  Prefactor     2.4171        2.9401       -.41750E-07    .22934E-03
  29  Normalizat    .73449        .14953       -.22435E-05    .32464E-04
  30  Prefactor     1.1414        .10059        .76866E-06    .44149E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.80599
  norm       = 0.0166263
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 4.44089e-10
  Prefactor  = 1.1821
  Prefactor  = 4.17302
  Prefactor  = 4.40875
  Prefactor  = 0.694009
  norm       = 7.7916
  norm       = 0
  Prefactor  = 4.27226
  norm       = 0
  norm       = 5.44691
  norm       = 1.32521
  Prefactor  = 1.02887
  norm       = 0
  Prefactor  = 35.8688
  Prefactor  = 1.06914e-07
  norm       = 5.94412
  Prefactor  = 29.5185
  Prefactor  = 1.9984e-08
  Prefactor  = 0
  norm       = 0
  norm       = 1.53932e-07
  norm       = 1.1505
  Prefactor  = 2.41709
  Normalizat = 0.734487
  Prefactor  = 1.14139
 **********
 **   18 **HESSE 
 **********

 FCN=   19054.22     FROM HESSE     STATUS=OK           666 CALLS     3566 TOTAL
                     EDM=   .65E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8060        1.5396        .77760E-03   -1.5681    
   2  norm          .16626E-01    .33245E-01    .75609E-03   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        1.7838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.7093        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        2.7767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .44409E-09    8.3468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.1821        1.0720        .10500E-02   -1.5686    
   8  Prefactor     4.1730        1.2630        .49311E-03   -1.5667    
   9  Prefactor     4.4088        2.2414        .47933E-03   -1.5666    
  10  Prefactor     .69401        1.1938        .61240E-03   -1.5691    
  11  norm          7.7916        1.5048        .35900E-03   -1.5652    
  12  norm           .0000        .18319        .18811E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.2723        3.8114        .48980E-03   -1.5667    
  14  norm           .0000        .13438        .27749E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.4469        5.0272        .43025E-03   -1.5661    
  16  norm          1.3252        .99441        .95439E-03   -1.5685    
  17  Prefactor     1.0289        1.2492        .12548E-02   -1.5688    
  18  norm           .0000        1.1576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     35.869        37.853        .16679E-03   -1.5588    
  20  Prefactor     .10691E-06    18.025        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          5.9441        3.4253        .41209E-03   -1.5659    
  22  Prefactor     29.519        28.494        .18398E-03   -1.5599    
  23  Prefactor     .19984E-07    12.425        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor      .0000        3.0990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm           .0000        .82708        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .15393E-06    15.407        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          1.1505        3.9874        .10768E-02   -1.5687    
  28  Prefactor     2.4171        2.9495        .65810E-03   -1.5677    
  29  Normalizat    .73449        .13058        .75568E-01   -1.0255    
  30  Prefactor     1.1414        .85802E-01    .36194E-01   -.88154    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.45785e-06
Minuit parameter uncertainties:
  1  1.53964
  2  0.0332448
  3  6.5991e-07
  4  6.76826e-07
  5  2.18523e-06
  6  0.000121781
  7  1.07203
  8  1.26303
  9  2.24139
  10  1.19385
  11  1.50478
  12  4.17799e-07
  13  3.81142
  14  9.90352e-07
  15  5.02718
  16  0.994413
  17  1.24921
  18  7.79022e-07
  19  37.8532
  20  0.00277659
  21  3.42528
  22  28.4943
  23  0.000996875
  24  3.15861e-06
  25  2.33397e-06
  26  0.00308008
  27  3.98737
  28  2.9495
  29  0.130635
  30  0.0858122
 **********
 **   18 **HESSE 
 **********

 FCN=   19054.22     FROM HESSE     STATUS=OK           666 CALLS     3566 TOTAL
                     EDM=   .65E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8060        1.5396        .77760E-03   -1.5681    
   2  norm          .16626E-01    .33245E-01    .75609E-03   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        1.7838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.7093        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        2.7767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .44409E-09    8.3468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.1821        1.0720        .10500E-02   -1.5686    
   8  Prefactor     4.1730        1.2630        .49311E-03   -1.5667    
   9  Prefactor     4.4088        2.2414        .47933E-03   -1.5666    
  10  Prefactor     .69401        1.1938        .61240E-03   -1.5691    
  11  norm          7.7916        1.5048        .35900E-03   -1.5652    
  12  norm           .0000        .18319        .18811E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.2723        3.8114        .48980E-03   -1.5667    
  14  norm           .0000        .13438        .27749E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.4469        5.0272        .43025E-03   -1.5661    
  16  norm          1.3252        .99441        .95439E-03   -1.5685    
  17  Prefactor     1.0289        1.2492        .12548E-02   -1.5688    
  18  norm           .0000        1.1576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     35.869        37.853        .16679E-03   -1.5588    
  20  Prefactor     .10691E-06    18.025        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          5.9441        3.4253        .41209E-03   -1.5659    
  22  Prefactor     29.519        28.494        .18398E-03   -1.5599    
  23  Prefactor     .19984E-07    12.425        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor      .0000        3.0990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm           .0000        .82708        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .15393E-06    15.407        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          1.1505        3.9874        .10768E-02   -1.5687    
  28  Prefactor     2.4171        2.9495        .65810E-03   -1.5677    
  29  Normalizat    .73449        .13058        .75568E-01   -1.0255    
  30  Prefactor     1.1414        .85802E-01    .36194E-01   -.88154    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.45785e-06
Minuit parameter uncertainties:
  1  1.53964
  2  0.0332448
  3  6.5991e-07
  4  6.76826e-07
  5  2.18523e-06
  6  0.000121781
  7  1.07203
  8  1.26303
  9  2.24139
  10  1.19385
  11  1.50478
  12  4.17799e-07
  13  3.81142
  14  9.90352e-07
  15  5.02718
  16  0.994413
  17  1.24921
  18  7.79022e-07
  19  37.8532
  20  0.00277659
  21  3.42528
  22  28.4943
  23  0.000996875
  24  3.15861e-06
  25  2.33397e-06
  26  0.00308008
  27  3.98737
  28  2.9495
  29  0.130635
  30  0.0858122
 **********
 **   18 **HESSE 
 **********

 FCN=   19054.22     FROM HESSE     STATUS=OK           666 CALLS     3566 TOTAL
                     EDM=   .65E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8060        1.5396        .77760E-03   -1.5681    
   2  norm          .16626E-01    .33245E-01    .75609E-03   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        1.7838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.7093        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        2.7767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .44409E-09    8.3468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.1821        1.0720        .10500E-02   -1.5686    
   8  Prefactor     4.1730        1.2630        .49311E-03   -1.5667    
   9  Prefactor     4.4088        2.2414        .47933E-03   -1.5666    
  10  Prefactor     .69401        1.1938        .61240E-03   -1.5691    
  11  norm          7.7916        1.5048        .35900E-03   -1.5652    
  12  norm           .0000        .18319        .18811E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.2723        3.8114        .48980E-03   -1.5667    
  14  norm           .0000        .13438        .27749E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.4469        5.0272        .43025E-03   -1.5661    
  16  norm          1.3252        .99441        .95439E-03   -1.5685    
  17  Prefactor     1.0289        1.2492        .12548E-02   -1.5688    
  18  norm           .0000        1.1576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     35.869        37.853        .16679E-03   -1.5588    
  20  Prefactor     .10691E-06    18.025        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          5.9441        3.4253        .41209E-03   -1.5659    
  22  Prefactor     29.519        28.494        .18398E-03   -1.5599    
  23  Prefactor     .19984E-07    12.425        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor      .0000        3.0990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm           .0000        .82708        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .15393E-06    15.407        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          1.1505        3.9874        .10768E-02   -1.5687    
  28  Prefactor     2.4171        2.9495        .65810E-03   -1.5677    
  29  Normalizat    .73449        .13058        .75568E-01   -1.0255    
  30  Prefactor     1.1414        .85802E-01    .36194E-01   -.88154    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.45785e-06
Minuit parameter uncertainties:
  1  1.53964
  2  0.0332448
  3  6.5991e-07
  4  6.76826e-07
  5  2.18523e-06
  6  0.000121781
  7  1.07203
  8  1.26303
  9  2.24139
  10  1.19385
  11  1.50478
  12  4.17799e-07
  13  3.81142
  14  9.90352e-07
  15  5.02718
  16  0.994413
  17  1.24921
  18  7.79022e-07
  19  37.8532
  20  0.00277659
  21  3.42528
  22  28.4943
  23  0.000996875
  24  3.15861e-06
  25  2.33397e-06
  26  0.00308008
  27  3.98737
  28  2.9495
  29  0.130635
  30  0.0858122
Done.

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

Extracting fit parameters...

4FGL J1724.2+4005
   Spectrum: LogParabola
330         norm:  5.447e+00  5.027e+00  0.000e+00  1.000e+06 ( 1.000e-12)
331        alpha:  2.332e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
332         beta:  1.393e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
333           Eb:  5.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
701    Prefactor:  1.141e+00  8.581e-02  0.000e+00  1.000e+01 ( 1.000e+00)
702        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
703        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
700   Normalization:  7.345e-01  1.306e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.55
Ra Dec: 261.051 40.089
Photon Index (Fixed Index): 2.33 +/- 0.00
Photon Flux (Fixed Index): 2.05e-08 +/- 1.89e-08
Energy Flux (Fixed Index): 6.72e-06 +/- 6.20e-06

TS (Fixed Index): 1.55
Ra Dec: 261.051 40.089
Photon Flux Upper Limit: 5.86729800901e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.92236300035e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28172891/likelihoodResults_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.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) = 19053.2958182
delta logL = 0.924914986161

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19053.2905728
delta logL = 0.930160439111

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0406       1.0000          .0000       .10000E+07
     2 'alpha     '    3.5431       1.0000          .0000       5.0000    
     3 'Normalizat'    .69366       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1596       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19053.29     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      244 TOTAL
                     EDM=   .88E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0381        27.138        .58163E-03    .17362E-01
   2  alpha         3.5452        4.2430        .46968        .15382E-03
   3  Normalizat    .69366        .35244E-01    .77576E-01    .84276E-04
   4  Prefactor     1.1596        .23942E-01    .35665E-01   -.34901E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.0381
  alpha      = 3.54522
  Normalizat = 0.69366
  Prefactor  = 1.15957
 **********
 **   18 **HESSE 
 **********

 FCN=   19053.29     FROM HESSE     STATUS=OK            33 CALLS      277 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0381        15.413        .13845E-04   -1.5673    
   2  alpha         3.5452        4.1474        .23684E-01    .43134    
   3  Normalizat    .69366        .15381        .34344E-03   -1.0414    
   4  Prefactor     1.1596        .10715        .19075E-03   -.87585    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29658e-09
Minuit parameter uncertainties:
  1  13.6861
  2  3.52161
  3  0.153904
  4  0.107173
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19053.290567
delta logL = 0.930166256298

Extracting fit parameters...

4FGL J1724.2+4005
   Spectrum: LogParabola
330         norm:  3.038e+00  1.369e+01  0.000e+00  1.000e+06 ( 1.000e-12)
331        alpha:  3.545e+00  3.522e+00  0.000e+00  5.000e+00 ( 1.000e+00)
332         beta:  1.393e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
333           Eb:  5.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
701    Prefactor:  1.160e+00  1.072e-01  0.000e+00  1.000e+01 ( 1.000e+00)
702        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
703        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
700   Normalization:  6.937e-01  1.539e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.51
Ra Dec: 261.051 40.089
Photon Index (Free Index): 3.55 +/- 3.52
Photon Flux (Free Index): 4.79e-08 +/- 3.13e-08
Energy Flux (Free Index): 8.33e-06 +/- 7.92e-06

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/28172891/cmap_HighResolution_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.92e-05', comment='SUCCESS', photon_flux='2.05e-08', energy_flux2='8.33e-06', photon_flux_error='1.89e-08', dlogl='9.30e-01', energy_flux='6.72e-06', photon_flux2='4.79e-08', job_status='DONE', time_completed='2026-06-09 16:08:18.918461', photon_index_error2='3.52', photon_index2='3.55', ts='1.55', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', photon_flux_upper_limit='5.87e-08', energy_flux_error2='7.92e-06', EG='0.73', time_epoch_completed='1781046498.92', return_code='0', job_id='28172891', GAL2='1.16', EG2='0.69', return_code2='0', energy_flux_error='6.20e-06', photon_flux_error2='3.13e-08', ts2='3.51', photon_index='2.33' WHERE bin_id='931' AND source_name='4FGL J1724.2+4005' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 16:08:18 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1724.2+4005
   Spectrum: LogParabola
330         norm:  5.447e+00  5.027e+00  0.000e+00  1.000e+06 ( 1.000e-12)
331        alpha:  2.332e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
332         beta:  1.393e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
333           Eb:  5.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
701    Prefactor:  1.141e+00  8.581e-02  0.000e+00  1.000e+01 ( 1.000e+00)
702        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
703        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
700   Normalization:  7.345e-01  1.306e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.55
Ra Dec: 261.051 40.089
Photon Index (Fixed Index): 2.33 +/- 0.00
Photon Flux (Fixed Index): 2.05e-08 +/- 1.89e-08
Energy Flux (Fixed Index): 6.72e-06 +/- 6.20e-06

TS (Fixed Index): 1.55
Ra Dec: 261.051 40.089
Photon Flux Upper Limit: 5.86729800901e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.92236300035e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28172851/likelihoodResults_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.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) = 19053.2958182
delta logL = 0.924914986161

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19053.2905728
delta logL = 0.930160439111

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0406       1.0000          .0000       .10000E+07
     2 'alpha     '    3.5431       1.0000          .0000       5.0000    
     3 'Normalizat'    .69366       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1596       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19053.29     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      244 TOTAL
                     EDM=   .88E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0381        27.138        .58163E-03    .17362E-01
   2  alpha         3.5452        4.2430        .46968        .15382E-03
   3  Normalizat    .69366        .35244E-01    .77576E-01    .84276E-04
   4  Prefactor     1.1596        .23942E-01    .35665E-01   -.34901E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.0381
  alpha      = 3.54522
  Normalizat = 0.69366
  Prefactor  = 1.15957
 **********
 **   18 **HESSE 
 **********

 FCN=   19053.29     FROM HESSE     STATUS=OK            33 CALLS      277 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0381        15.413        .13845E-04   -1.5673    
   2  alpha         3.5452        4.1474        .23684E-01    .43134    
   3  Normalizat    .69366        .15381        .34344E-03   -1.0414    
   4  Prefactor     1.1596        .10715        .19075E-03   -.87585    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29658e-09
Minuit parameter uncertainties:
  1  13.6861
  2  3.52161
  3  0.153904
  4  0.107173
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19053.290567
delta logL = 0.930166256298

Extracting fit parameters...

4FGL J1724.2+4005
   Spectrum: LogParabola
330         norm:  3.038e+00  1.369e+01  0.000e+00  1.000e+06 ( 1.000e-12)
331        alpha:  3.545e+00  3.522e+00  0.000e+00  5.000e+00 ( 1.000e+00)
332         beta:  1.393e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
333           Eb:  5.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
701    Prefactor:  1.160e+00  1.072e-01  0.000e+00  1.000e+01 ( 1.000e+00)
702        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
703        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
700   Normalization:  6.937e-01  1.539e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.51
Ra Dec: 261.051 40.089
Photon Index (Free Index): 3.55 +/- 3.52
Photon Flux (Free Index): 4.79e-08 +/- 3.13e-08
Energy Flux (Free Index): 8.33e-06 +/- 7.92e-06

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/28172851/cmap_HighResolution_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.92e-05', comment='SUCCESS', photon_flux='2.05e-08', energy_flux2='8.33e-06', photon_flux_error='1.89e-08', dlogl='9.30e-01', energy_flux='6.72e-06', photon_flux2='4.79e-08', job_status='DONE', time_completed='2026-06-09 16:08:38.898664', photon_index_error2='3.52', photon_index2='3.55', ts='1.55', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', photon_flux_upper_limit='5.87e-08', energy_flux_error2='7.92e-06', EG='0.73', time_epoch_completed='1781046518.9', return_code='0', job_id='28172851', GAL2='1.16', EG2='0.69', return_code2='0', energy_flux_error='6.20e-06', photon_flux_error2='3.13e-08', ts2='3.51', photon_index='2.33' WHERE bin_id='931' AND source_name='4FGL J1724.2+4005' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 16:08:38 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1724.2+4005
   Spectrum: LogParabola
330         norm:  5.447e+00  5.027e+00  0.000e+00  1.000e+06 ( 1.000e-12)
331        alpha:  2.332e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
332         beta:  1.393e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
333           Eb:  5.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
701    Prefactor:  1.141e+00  8.581e-02  0.000e+00  1.000e+01 ( 1.000e+00)
702        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
703        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
700   Normalization:  7.345e-01  1.306e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.55
Ra Dec: 261.051 40.089
Photon Index (Fixed Index): 2.33 +/- 0.00
Photon Flux (Fixed Index): 2.05e-08 +/- 1.89e-08
Energy Flux (Fixed Index): 6.72e-06 +/- 6.20e-06

TS (Fixed Index): 1.55
Ra Dec: 261.051 40.089
Photon Flux Upper Limit: 5.86729800901e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.92236300035e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28172600/likelihoodResults_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.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) = 19053.2958182
delta logL = 0.924914986161

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19053.2905728
delta logL = 0.930160439111

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0406       1.0000          .0000       .10000E+07
     2 'alpha     '    3.5431       1.0000          .0000       5.0000    
     3 'Normalizat'    .69366       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1596       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19053.29     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      244 TOTAL
                     EDM=   .88E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0381        27.138        .58163E-03    .17362E-01
   2  alpha         3.5452        4.2430        .46968        .15382E-03
   3  Normalizat    .69366        .35244E-01    .77576E-01    .84276E-04
   4  Prefactor     1.1596        .23942E-01    .35665E-01   -.34901E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.0381
  alpha      = 3.54522
  Normalizat = 0.69366
  Prefactor  = 1.15957
 **********
 **   18 **HESSE 
 **********

 FCN=   19053.29     FROM HESSE     STATUS=OK            33 CALLS      277 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0381        15.413        .13845E-04   -1.5673    
   2  alpha         3.5452        4.1474        .23684E-01    .43134    
   3  Normalizat    .69366        .15381        .34344E-03   -1.0414    
   4  Prefactor     1.1596        .10715        .19075E-03   -.87585    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29658e-09
Minuit parameter uncertainties:
  1  13.6861
  2  3.52161
  3  0.153904
  4  0.107173
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19053.290567
delta logL = 0.930166256298

Extracting fit parameters...

4FGL J1724.2+4005
   Spectrum: LogParabola
330         norm:  3.038e+00  1.369e+01  0.000e+00  1.000e+06 ( 1.000e-12)
331        alpha:  3.545e+00  3.522e+00  0.000e+00  5.000e+00 ( 1.000e+00)
332         beta:  1.393e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
333           Eb:  5.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
701    Prefactor:  1.160e+00  1.072e-01  0.000e+00  1.000e+01 ( 1.000e+00)
702        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
703        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
700   Normalization:  6.937e-01  1.539e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.51
Ra Dec: 261.051 40.089
Photon Index (Free Index): 3.55 +/- 3.52
Photon Flux (Free Index): 4.79e-08 +/- 3.13e-08
Energy Flux (Free Index): 8.33e-06 +/- 7.92e-06

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/28172600/cmap_HighResolution_802051201_802656001_4FGL_J1724.2+4005_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.92e-05', comment='SUCCESS', photon_flux='2.05e-08', energy_flux2='8.33e-06', photon_flux_error='1.89e-08', dlogl='9.30e-01', energy_flux='6.72e-06', photon_flux2='4.79e-08', job_status='DONE', time_completed='2026-06-09 16:09:09.385817', photon_index_error2='3.52', photon_index2='3.55', ts='1.55', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', photon_flux_upper_limit='5.87e-08', energy_flux_error2='7.92e-06', EG='0.73', time_epoch_completed='1781046549.39', return_code='0', job_id='28172600', GAL2='1.16', EG2='0.69', return_code2='0', energy_flux_error='6.20e-06', photon_flux_error2='3.13e-08', ts2='3.51', photon_index='2.33' WHERE bin_id='931' AND source_name='4FGL J1724.2+4005' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 16:09:09 PDT 2026

