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

 FCN=   7950.379     FROM HESSE     STATUS=OK           672 CALLS     3757 TOTAL
                     EDM=   .87E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27131E-01    1.3836        .87891E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .54250E-01    .11197E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        23.323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        11.025        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        2.5611        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.1281        198.06        .75031E-03   -1.5679    
   7  Prefactor     1.5321        1.2162        .86125E-03   -1.5683    
   8  Prefactor     .73099        1.0940        .58225E-03   -1.5691    
   9  Prefactor     3.5837        2.9099        .53365E-03   -1.5670    
  10  Prefactor      .0000        .86506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.2269        1.4254        .68853E-03   -1.5678    
  12  norm           .0000        .17224        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.0738        5.8156        .11036E-02   -1.5687    
  14  norm           .0000        .36413        .29098E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        7.2132        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .61661        1.3141        .67852E-03   -1.5692    
  17  Prefactor      .0000        6.7657        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.8390        4.2322        .45787E-03   -1.5664    
  19  Prefactor      .0000        27.679        .16935E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     68.550        85.105        .12126E-03   -1.5542    
  21  norm          4.6407        6.1714        .46688E-03   -1.5665    
  22  Prefactor     3.1795        131.30        .58143E-03   -1.5672    
  23  Prefactor     6.7776        9.2048        .38514E-03   -1.5656    
  24  Prefactor      .0000        2.3801        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm           .0000        .51577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm           .0000        130.79        .76214E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          2.7309        7.1791        .61420E-03   -1.5675    
  28  Prefactor     10.005        6.6120        .31656E-03   -1.5645    
  29  Normalizat    1.1760        .19911        .63252E-01   -.87347    
  30  Prefactor     .95687        .13054        .45728E-01   -.94181    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.67176e-08
Minuit parameter uncertainties:
  1  0.3875
  2  5.88783e-08
  3  3.04659e-05
  4  3.14701e-06
  5  2.21631e-06
  6  41.062
  7  1.2162
  8  1.09399
  9  2.90991
  10  3.84928e-07
  11  1.42538
  12  6.10556e-08
  13  4.99786
  14  2.18098e-07
  15  1.48728e-05
  16  1.31413
  17  6.20637e-06
  18  4.23222
  19  4.26885e-06
  20  85.1063
  21  6.17143
  22  40.8651
  23  9.20484
  24  1.08325e-06
  25  2.36505e-08
  26  7.3952e-05
  27  7.17908
  28  6.61198
  29  0.19924
  30  0.13058
      .0000       .10000E+07
    27 'norm      '    2.7451       1.0000          .0000       .10000E+07
    28 'Prefactor '    10.004       1.0000          .0000       .10000E+07
    29 'Normalizat'    1.1757       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .95702       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=   7950.379     FROM MIGRAD    STATUS=CONVERGED    242 CALLS     3085 TOTAL
                     EDM=   .20E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27131E-01    155.09       -.67007E-06** at limit **
   2  norm           .0000        .35012       -.54877E-08** at limit **
   3  norm           .0000        23.381       -.84094E-07** at limit **
   4  Prefactor      .0000        10.997        .48605E-07** at limit **
   5  Prefactor      .0000        2.5759       -.42994E-07** at limit **
   6  norm          2.1281        180.50        .31545E-05   -.11634E-02
   7  Prefactor     1.5321        1.2037        .80480E-08   -.19105E-02
   8  Prefactor     .73099        1.0805        .26796E-07   -.98925E-03
   9  Prefactor     3.5837        2.9152        .13125E-07   -.26484E-03
  10  Prefactor      .0000        .86595       -.68871E-07** at limit **
  11  norm          2.2269        1.4215       -.66065E-07    .78461E-03
  12  norm           .0000        .17200        .69822E-08** at limit **
  13  Prefactor     1.0738        5.4425       -.11335E-06    .11287E-04
  14  norm           .0000        1.5507        .17153E-08** at limit **
  15  norm           .0000        7.2300        .31139E-06** at limit **
  16  norm          .61661        1.2841       -.19861E-07   -.70142E-04
  17  Prefactor      .0000        6.9768        .15151E-06** at limit **
  18  norm          4.8390        4.2304       -.22226E-07   -.23199E-04
  19  Prefactor      .0000        27.740        .82255E-07** at limit **
  20  Prefactor     68.550        85.544        .39065E-06   -.97049E-03
  21  norm          4.6407        5.9502        .97921E-08   -.31155E-03
  22  Prefactor     3.1795        10.772        .74525E-06    .47853E-02
  23  Prefactor     6.7776        9.1964       -.27994E-07    .59275E-04
  24  Prefactor      .0000        2.3777        .92439E-07** at limit **
  25  norm           .0000        .51607        .10381E-07** at limit **
  26  norm           .0000        131.29       -.58027E-06** at limit **
  27  norm          2.7309        7.1618       -.69551E-07    .65053E-04
  28  Prefactor     10.005        6.6110       -.47773E-07    .11635E-03
  29  Normalizat    1.1760        .24449        .54924E-05   -.40746E-04
  30  Prefactor     .95687        .16107       -.33380E-05   -.25139E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0271308
  norm       = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 2.12814
  Prefactor  = 1.53213
  Prefactor  = 0.730993
  Prefactor  = 3.58369
  Prefactor  = 0
  norm       = 2.22692
  norm       = 0
  Prefactor  = 1.07377
  norm       = 0
  norm       = 0
  norm       = 0.616613
  Prefactor  = 0
  norm       = 4.83897
  Prefactor  = 0
  Prefactor  = 68.5497
  norm       = 4.6407
  Prefactor  = 3.17946
  Prefactor  = 6.77759
  Prefactor  = 0
  norm       = 0
  norm       = 0
  norm       = 2.73087
  Prefactor  = 10.0049
  Normalizat = 1.17603
  Prefactor  = 0.956869
/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).

tfile=/lscratch/kocevski/31579491/ltcube_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.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/31579491/ft2_4FGL_J1724.2+4005_daily_bin2181.fits
.....................!
real 8.53
user 7.84
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31579491/ft1_filtered_4FGL_J1724.2+4005_daily_bin2181.fits evtable="EVENTS" scfile=/lscratch/kocevski/31579491/ft2_4FGL_J1724.2+4005_daily_bin2181.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31579491/ltcube_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.fits outfile=/lscratch/kocevski/31579491/expmap_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.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/31579491/ltcube_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.fits
.....................!
real 71.32
user 66.65
sys 3.98

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/31579491/ft1_filtered_4FGL_J1724.2+4005_daily_bin2181.fits scfile=/lscratch/kocevski/31579491/ft2_4FGL_J1724.2+4005_daily_bin2181.fits outfile=/lscratch/kocevski/31579491/cmap_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.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.78
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31579491/ft1_filtered_4FGL_J1724.2+4005_daily_bin2181.fits scfile=/lscratch/kocevski/31579491/ft2_4FGL_J1724.2+4005_daily_bin2181.fits outfile=/lscratch/kocevski/31579491/cmap_HighResolution_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.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.68
user 0.25
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31579491/ft1_filtered_4FGL_J1724.2+4005_daily_bin2181.fits evtable="EVENTS" scfile=/lscratch/kocevski/31579491/ft2_4FGL_J1724.2+4005_daily_bin2181.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31579491/Model_4FGL_J1724.2+4005_daily_bin2181.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/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

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


Performing analysis on: 4FGL_J1724.2+4005_daily_bin2181
RA = 261.051, Dec = 40.0891
tmin = 804643201, tmax = 804902401
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='31579542', job_status='RUN', time_executed='2026-07-13 17:18:13.429946', time_epoch_executed='1783988293.43' WHERE source_name='4FGL J1724.2+4005' and cadence='daily' and bin_id='2181'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31579542

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31579542/ft1_4FGL_J1724.2+4005_daily_bin2181.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31579542/ft2_4FGL_J1724.2+4005_daily_bin2181.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31579542/ft1_4FGL_J1724.2+4005_daily_bin2181.fits outfile=/lscratch/kocevski/31579542/ft1_filteredMKT_4FGL_J1724.2+4005_daily_bin2181.fits ra=261.051 dec=40.0891 rad=12.0 tmin=804643201.0 tmax=804902401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.43
user 2.87
sys 0.17

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

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

Number of photons that the gtmktime cut: 742

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31579542/ft1_filtered_4FGL_J1724.2+4005_daily_bin2181.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31579542/ft2_4FGL_J1724.2+4005_daily_bin2181.fits sctable="SC_DATA" ou **********
 **   18 **HESSE 
 **********

 FCN=   7950.379     FROM HESSE     STATUS=OK           672 CALLS     3757 TOTAL
                     EDM=   .87E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27131E-01    1.3836        .87891E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .54250E-01    .11197E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        23.323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        11.025        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        2.5611        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.1281        198.06        .75031E-03   -1.5679    
   7  Prefactor     1.5321        1.2162        .86125E-03   -1.5683    
   8  Prefactor     .73099        1.0940        .58225E-03   -1.5691    
   9  Prefactor     3.5837        2.9099        .53365E-03   -1.5670    
  10  Prefactor      .0000        .86506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.2269        1.4254        .68853E-03   -1.5678    
  12  norm           .0000        .17224        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.0738        5.8156        .11036E-02   -1.5687    
  14  norm           .0000        .36413        .29098E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        7.2132        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .61661        1.3141        .67852E-03   -1.5692    
  17  Prefactor      .0000        6.7657        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.8390        4.2322        .45787E-03   -1.5664    
  19  Prefactor      .0000        27.679        .16935E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     68.550        85.105        .12126E-03   -1.5542    
  21  norm          4.6407        6.1714        .46688E-03   -1.5665    
  22  Prefactor     3.1795        131.30        .58143E-03   -1.5672    
  23  Prefactor     6.7776        9.2048        .38514E-03   -1.5656    
  24  Prefactor      .0000        2.3801        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm           .0000        .51577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm           .0000        130.79        .76214E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          2.7309        7.1791        .61420E-03   -1.5675    
  28  Prefactor     10.005        6.6120        .31656E-03   -1.5645    
  29  Normalizat    1.1760        .19911        .63252E-01   -.87347    
  30  Prefactor     .95687        .13054        .45728E-01   -.94181    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.67176e-08
Minuit parameter uncertainties:
  1  0.3875
  2  5.88783e-08
  3  3.04659e-05
  4  3.14701e-06
  5  2.21631e-06
  6  41.062
  7  1.2162
  8  1.09399
  9  2.90991
  10  3.84928e-07
  11  1.42538
  12  6.10556e-08
  13  4.99786
  14  2.18098e-07
  15  1.48728e-05
  16  1.31413
  17  6.20637e-06
  18  4.23222
  19  4.26885e-06
  20  85.1063
  21  6.17143
  22  40.8651
  23  9.20484
  24  1.08325e-06
  25  2.36505e-08
  26  7.3952e-05
  27  7.17908
  28  6.61198
  29  0.19924
  30  0.13058
_V02
Working on...
/lscratch/kocevski/31579225/ft1_filtered_4FGL_J1724.2+4005_daily_bin2181.fits.....................!
real 27.83
user 26.16
sys 0.87

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31579225/ft1_filtered_4FGL_J1724.2+4005_daily_bin2181.fits', '/lscratch/kocevski/31579225/ft2_4FGL_J1724.2+4005_daily_bin2181.fits', expMap='/lscratch/kocevski/31579225/expmap_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.fits', expCube='/lscratch/kocevski/31579225/ltcube_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31579225/Model_4FGL_J1724.2+4005_daily_bin2181.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/31579225/ft1_filtered_4FGL_J1724.2+4005_daily_bin2181.fits
Spacecraft file(s): /lscratch/kocevski/31579225/ft2_4FGL_J1724.2+4005_daily_bin2181.fits
Exposure map: /lscratch/kocevski/31579225/expmap_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.fits
Exposure cube: /lscratch/kocevski/31579225/ltcube_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31579225/Model_4FGL_J1724.2+4005_daily_bin2181.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) = 7950.37992003

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29296E-01   1.0000          .0000       .10000E+07
     2 'norm      '    .75669E-05   1.0000          .0000       .10000E+07
     3 'norm      '    .18044E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .13204E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .48477E-04   1.0000          .0000       .10000E+07
     6 'norm      '    1.9170       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.5336       1.0000          .0000       .10000E+07
     8 'Prefactor '    .73101       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.5827       1.0000          .0000       .10000E+07
    10 'Prefactor '    .10547E-08   1.0000          .0000       .10000E+07
    11 'norm      '    2.2279       1.0000          .0000       .10000E+07
    12 'norm      '    .43299E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.1255       1.0000          .0000       .10000E+07
    14 'norm      '    .14127E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .25919E-05   1.0000          .0000       .10000E+07
    16 'norm      '    .61549       1.0000          .0000       .10000E+07
    17 'Prefactor '    .27117E-02   1.0000          .0000       .10000E+07
    18 'norm      '    4.8224       1.0000          .0000       .10000E+07
    19 'Prefactor '    .21575E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    68.012       1.0000          .0000       .10000E+07
    21 'norm      '    4.6422       1.0000          .0000       .10000E+07
    22 'Prefactor '    3.0426       1.0000          .0000       .10000E+07
    23 'Prefactor '    6.7786       1.0000          .0000       .10000E+07
    24 'Prefactor '    .87902E-04   1.0000          .0000       .10000E+07
    25 'norm      '    .30288E-05   1.0000          .0000       .10000E+07
    26 'norm      '    .52520       1.0000    Done.

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

Extracting fit parameters...

4FGL J1724.2+4005
   Spectrum: LogParabola
330         norm:  0.000e+00  1.487e-05  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:  9.569e-01  1.306e-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:  1.176e+00  1.992e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 261.051 40.089
Photon Flux Upper Limit: 6.49674661605e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/31579149/likelihoodResults_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.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) = 7950.44991467
delta logL = -0.0707510207521

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7950.37916406
delta logL = -4.15438080381e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .20134E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    3.6713       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1762       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95675       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=   7950.379     FROM MIGRAD    STATUS=CONVERGED     38 CALLS      200 TOTAL
                     EDM=   .13E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        8.1722       -.10189E-06** at limit **
   2  alpha         2.4324        3.6592       -.32261E-05     .0000    
   3  Normalizat    1.1760        .22594       -.45904E-05    .15227E-03
   4  Prefactor     .95687        .15635        .31532E-05    .16522E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.43239
  Normalizat = 1.17603
  Prefactor  = 0.956868
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7950.379     FROM HESSE     STATUS=FAILED        11 CALLS      211 TOTAL
                     EDM=   .13E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        8.1188        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.2210        1.2194       -.32261E-05   -.27049E-01
   3  Normalizat    1.1760        1.1150       -.45904E-05   -.87347    
   4  Prefactor     .95687        1.2987        .31532E-05   -.94181    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.29857e-11
Minuit parameter uncertainties:
  1  1.71399e-05
  2  1.22907
  3  1.1388
  4  1.34503
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 7950.37916365
delta logL = -1.00044417195e-11

Extracting fit parameters...

4FGL J1724.2+4005
   Spectrum: LogParabola
330         norm:  0.000e+00  1.714e-05  0.000e+00  1.000e+06 ( 1.000e-12)
331        alpha:  2.432e+00  1.229e+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:  9.569e-01  1.345e+00  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:  1.176e+00  1.139e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 261.051 40.089

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/31579149/cmap_HighResolution_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='6.50e-08', time_completed='2026-07-13 17:20:07.523842', job_id='31579149', GAL2='0.96', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1783988407.52', return_code2='101', ts='0.00', return_code='0', GAL='0.96', dlogl='-1.00e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='2181' AND source_name='4FGL J1724.2+4005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 13 17:20:07 PDT 2026

      .0000       .10000E+07
    27 'norm      '    2.7451       1.0000          .0000       .10000E+07
    28 'Prefactor '    10.004       1.0000          .0000       .10000E+07
    29 'Normalizat'    1.1757       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .95702       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=   7950.379     FROM MIGRAD    STATUS=CONVERGED    242 CALLS     3085 TOTAL
                     EDM=   .20E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27131E-01    155.09       -.67007E-06** at limit **
   2  norm           .0000        .35012       -.54877E-08** at limit **
   3  norm           .0000        23.381       -.84094E-07** at limit **
   4  Prefactor      .0000        10.997        .48605E-07** at limit **
   5  Prefactor      .0000        2.5759       -.42994E-07** at limit **
   6  norm          2.1281        180.50        .31545E-05   -.11634E-02
   7  Prefactor     1.5321        1.2037        .80480E-08   -.19105E-02
   8  Prefactor     .73099        1.0805        .26796E-07   -.98925E-03
   9  Prefactor     3.5837        2.9152        .13125E-07   -.26484E-03
  10  Prefactor      .0000        .86595       -.68871E-07** at limit **
  11  norm          2.2269        1.4215       -.66065E-07    .78461E-03
  12  norm           .0000        .17200        .69822E-08** at limit **
  13  Prefactor     1.0738        5.4425       -.11335E-06    .11287E-04
  14  norm           .0000        1.5507        .17153E-08** at limit **
  15  norm           .0000        7.2300        .31139E-06** at limit **
  16  norm          .61661        1.2841       -.19861E-07   -.70142E-04
  17  Prefactor      .0000        6.9768        .15151E-06** at limit **
  18  norm          4.8390        4.2304       -.22226E-07   -.23199E-04
  19  Prefactor      .0000        27.740        .82255E-07** at limit **
  20  Prefactor     68.550        85.544        .39065E-06   -.97049E-03
  21  norm          4.6407        5.9502        .97921E-08   -.31155E-03
  22  Prefactor     3.1795        10.772        .74525E-06    .47853E-02
  23  Prefactor     6.7776        9.1964       -.27994E-07    .59275E-04
  24  Prefactor      .0000        2.3777        .92439E-07** at limit **
  25  norm           .0000        .51607        .10381E-07** at limit **
  26  norm           .0000        131.29       -.58027E-06** at limit **
  27  norm          2.7309        7.1618       -.69551E-07    .65053E-04
  28  Prefactor     10.005        6.6110       -.47773E-07    .11635E-03
  29  Normalizat    1.1760        .24449        .54924E-05   -.40746E-04
  30  Prefactor     .95687        .16107       -.33380E-05   -.25139E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0271308
  norm       = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 2.12814
  Prefactor  = 1.53213
  Prefactor  = 0.730993
  Prefactor  = 3.58369
  Prefactor  = 0
  norm       = 2.22692
  norm       = 0
  Prefactor  = 1.07377
  norm       = 0
  norm       = 0
  norm       = 0.616613
  Prefactor  = 0
  norm       = 4.83897
  Prefactor  = 0
  Prefactor  = 68.5497
  norm       = 4.6407
  Prefactor  = 3.17946
  Prefactor  = 6.77759
  Prefactor  = 0
  norm       = 0
  norm       = 0
  norm       = 2.73087
  Prefactor  = 10.0049
  Normalizat = 1.17603
  Prefactor  = 0.956869
number of points = 7587
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1724.2+4005_daily_bin2181
RA = 261.051, Dec = 40.0891
tmin = 804643201, tmax = 804902401
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='31579656', job_status='RUN', time_executed='2026-07-13 17:19:15.907415', time_epoch_executed='1783988355.91' WHERE source_name='4FGL J1724.2+4005' and cadence='daily' and bin_id='2181'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31579656

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31579656/ft1_4FGL_J1724.2+4005_daily_bin2181.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31579656/ft2_4FGL_J1724.2+4005_daily_bin2181.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31579656/ft1_4FGL_J1724.2+4005_daily_bin2181.fits outfile=/lscratch/kocevski/31579656/ft1_filteredMKT_4FGL_J1724.2+4005_daily_bin2181.fits ra=261.051 dec=40.0891 rad=12.0 tmin=804643201.0 tmax=804902401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.22
user 2.74
sys 0.16

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

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

Number of photons that the gtmktime cut: 742

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

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

Extracting fit parameters...

4FGL J1724.2+4005
   Spectrum: LogParabola
330         norm:  0.000e+00  1.487e-05  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:  9.569e-01  1.306e-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:  1.176e+00  1.992e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 261.051 40.089
Photon Flux Upper Limit: 6.49674661605e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/31579185/likelihoodResults_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.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) = 7950.44991467
delta logL = -0.0707510207521

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7950.37916406
delta logL = -4.15438080381e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .20134E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    3.6713       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1762       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95675       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=   7950.379     FROM MIGRAD    STATUS=CONVERGED     38 CALLS      200 TOTAL
                     EDM=   .13E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        8.1722       -.10189E-06** at limit **
   2  alpha         2.4324        3.6592       -.32261E-05     .0000    
   3  Normalizat    1.1760        .22594       -.45904E-05    .15227E-03
   4  Prefactor     .95687        .15635        .31532E-05    .16522E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.43239
  Normalizat = 1.17603
  Prefactor  = 0.956868
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7950.379     FROM HESSE     STATUS=FAILED        11 CALLS      211 TOTAL
                     EDM=   .13E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        8.1188        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.2210        1.2194       -.32261E-05   -.27049E-01
   3  Normalizat    1.1760        1.1150       -.45904E-05   -.87347    
   4  Prefactor     .95687        1.2987        .31532E-05   -.94181    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.29857e-11
Minuit parameter uncertainties:
  1  1.71399e-05
  2  1.22907
  3  1.1388
  4  1.34503
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 7950.37916365
delta logL = -1.00044417195e-11

Extracting fit parameters...

4FGL J1724.2+4005
   Spectrum: LogParabola
330         norm:  0.000e+00  1.714e-05  0.000e+00  1.000e+06 ( 1.000e-12)
331        alpha:  2.432e+00  1.229e+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:  9.569e-01  1.345e+00  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:  1.176e+00  1.139e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 261.051 40.089

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/31579185/cmap_HighResolution_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='6.50e-08', time_completed='2026-07-13 17:20:47.936746', job_id='31579185', GAL2='0.96', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1783988447.94', return_code2='101', ts='0.00', return_code='0', GAL='0.96', dlogl='-1.00e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='2181' AND source_name='4FGL J1724.2+4005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 13 17:20:48 PDT 2026

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

 FCN=   7950.379     FROM HESSE     STATUS=OK           672 CALLS     3757 TOTAL
                     EDM=   .87E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27131E-01    1.3836        .87891E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .54250E-01    .11197E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        23.323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        11.025        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        2.5611        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.1281        198.06        .75031E-03   -1.5679    
   7  Prefactor     1.5321        1.2162        .86125E-03   -1.5683    
   8  Prefactor     .73099        1.0940        .58225E-03   -1.5691    
   9  Prefactor     3.5837        2.9099        .53365E-03   -1.5670    
  10  Prefactor      .0000        .86506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.2269        1.4254        .68853E-03   -1.5678    
  12  norm           .0000        .17224        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.0738        5.8156        .11036E-02   -1.5687    
  14  norm           .0000        .36413        .29098E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        7.2132        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .61661        1.3141        .67852E-03   -1.5692    
  17  Prefactor      .0000        6.7657        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.8390        4.2322        .45787E-03   -1.5664    
  19  Prefactor      .0000        27.679        .16935E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     68.550        85.105        .12126E-03   -1.5542    
  21  norm          4.6407        6.1714        .46688E-03   -1.5665    
  22  Prefactor     3.1795        131.30        .58143E-03   -1.5672    
  23  Prefactor     6.7776        9.2048        .38514E-03   -1.5656    
  24  Prefactor      .0000        2.3801        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm           .0000        .51577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm           .0000        130.79        .76214E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          2.7309        7.1791        .61420E-03   -1.5675    
  28  Prefactor     10.005        6.6120        .31656E-03   -1.5645    
  29  Normalizat    1.1760        .19911        .63252E-01   -.87347    
  30  Prefactor     .95687        .13054        .45728E-01   -.94181    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.67176e-08
Minuit parameter uncertainties:
  1  0.3875
  2  5.88783e-08
  3  3.04659e-05
  4  3.14701e-06
  5  2.21631e-06
  6  41.062
  7  1.2162
  8  1.09399
  9  2.90991
  10  3.84928e-07
  11  1.42538
  12  6.10556e-08
  13  4.99786
  14  2.18098e-07
  15  1.48728e-05
  16  1.31413
  17  6.20637e-06
  18  4.23222
  19  4.26885e-06
  20  85.1063
  21  6.17143
  22  40.8651
  23  9.20484
  24  1.08325e-06
  25  2.36505e-08
  26  7.3952e-05
  27  7.17908
  28  6.61198
  29  0.19924
  30  0.13058
_V02
Working on...
/lscratch/kocevski/31579282/ft1_filtered_4FGL_J1724.2+4005_daily_bin2181.fits.....................!
real 28.22
user 26.55
sys 0.92

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31579282/ft1_filtered_4FGL_J1724.2+4005_daily_bin2181.fits', '/lscratch/kocevski/31579282/ft2_4FGL_J1724.2+4005_daily_bin2181.fits', expMap='/lscratch/kocevski/31579282/expmap_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.fits', expCube='/lscratch/kocevski/31579282/ltcube_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31579282/Model_4FGL_J1724.2+4005_daily_bin2181.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/31579282/ft1_filtered_4FGL_J1724.2+4005_daily_bin2181.fits
Spacecraft file(s): /lscratch/kocevski/31579282/ft2_4FGL_J1724.2+4005_daily_bin2181.fits
Exposure map: /lscratch/kocevski/31579282/expmap_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.fits
Exposure cube: /lscratch/kocevski/31579282/ltcube_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31579282/Model_4FGL_J1724.2+4005_daily_bin2181.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) = 7950.37992003

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29296E-01   1.0000          .0000       .10000E+07
     2 'norm      '    .75669E-05   1.0000          .0000       .10000E+07
     3 'norm      '    .18044E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .13204E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .48477E-04   1.0000          .0000       .10000E+07
     6 'norm      '    1.9170       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.5336       1.0000          .0000       .10000E+07
     8 'Prefactor '    .73101       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.5827       1.0000          .0000       .10000E+07
    10 'Prefactor '    .10547E-08   1.0000          .0000       .10000E+07
    11 'norm      '    2.2279       1.0000          .0000       .10000E+07
    12 'norm      '    .43299E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.1255       1.0000          .0000       .10000E+07
    14 'norm      '    .14127E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .25919E-05   1.0000          .0000       .10000E+07
    16 'norm      '    .61549       1.0000          .0000       .10000E+07
    17 'Prefactor '    .27117E-02   1.0000          .0000       .10000E+07
    18 'norm      '    4.8224       1.0000          .0000       .10000E+07
    19 'Prefactor '    .21575E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    68.012       1.0000          .0000       .10000E+07
    21 'norm      '    4.6422       1.0000          .0000       .10000E+07
    22 'Prefactor '    3.0426       1.0000          .0000       .10000E+07
    23 'Prefactor '    6.7786       1.0000          .0000       .10000E+07
    24 'Prefactor '    .87902E-04   1.0000          .0000       .10000E+07
    25 'norm      '    .30288E-05   1.0000          .0000       .10000E+07
    26 'norm      '    .52520       1.0000          .0000       .10000E+07
    27 'norm      '    2.7451       1.0000          .0000       .10000E+07
    28 'Prefactor '    10.004       1.0000          .0000       .10000E+07
    29 'Normalizat'    1.1757       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .95702       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=   7950.379     FROM MIGRAD    STATUS=CONVERGED    242 CALLS     3085 TOTAL
                     EDM=   .20E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27131E-01    155.09       -.67007E-06** at limit **
   2  norm           .0000        .35012       -.54877E-08** at limit **
   3  norm           .0000        23.381       -.84094E-07** at limit **
   4  Prefactor      .0000        10.997        .48605E-07** at limit **
   5  Prefactor      .0000        2.5759       -.42994E-07** at limit **
   6  norm          2.1281        180.50        .31545E-05   -.11634E-02
   7  Prefactor     1.5321        1.2037        .80480E-08   -.19105E-02
   8  Prefactor     .73099        1.0805        .26796E-07   -.98925E-03
   9  Prefactor     3.5837        2.9152        .13125E-07   -.26484E-03
  10  Prefactor      .0000        .86595       -.68871E-07** at limit **
  11  norm          2.2269        1.4215       -.66065E-07    .78461E-03
  12  norm           .0000        .17200        .69822E-08** at limit **
  13  Prefactor     1.0738        5.4425       -.11335E-06    .11287E-04
  14  norm           .0000        1.5507        .17153E-08** at limit **
  15  norm           .0000        7.2300        .31139E-06** at limit **
  16  norm          .61661        1.2841       -.19861E-07   -.70142E-04
  17  Prefactor      .0000        6.9768        .15151E-06** at limit **
  18  norm          4.8390        4.2304       -.22226E-07   -.23199E-04
  19  Prefactor      .0000        27.740        .82255E-07** at limit **
  20  Prefactor     68.550        85.544        .39065E-06   -.97049E-03
  21  norm          4.6407        5.9502        .97921E-08   -.31155E-03
  22  Prefactor     3.1795        10.772        .74525E-06    .47853E-02
  23  Prefactor     6.7776        9.1964       -.27994E-07    .59275E-04
  24  Prefactor      .0000        2.3777        .92439E-07** at limit **
  25  norm           .0000        .51607        .10381E-07** at limit **
  26  norm           .0000        131.29       -.58027E-06** at limit **
  27  norm          2.7309        7.1618       -.69551E-07    .65053E-04
  28  Prefactor     10.005        6.6110       -.47773E-07    .11635E-03
  29  Normalizat    1.1760        .24449        .54924E-05   -.40746E-04
  30  Prefactor     .95687        .16107       -.33380E-05   -.25139E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0271308
  norm       = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 2.12814
  Prefactor  = 1.53213
  Prefactor  = 0.730993
  Prefactor  = 3.58369
  Prefactor  = 0
  norm       = 2.22692
  norm       = 0
  Prefactor  = 1.07377
  norm       = 0
  norm       = 0
  norm       = 0.616613
  Prefactor  = 0
  norm       = 4.83897
  Prefactor  = 0
  Prefactor  = 68.5497
  norm       = 4.6407
  Prefactor  = 3.17946
  Prefactor  = 6.77759
  Prefactor  = 0
  norm       = 0
  norm       = 0
  norm       = 2.73087
  Prefactor  = 10.0049
  Normalizat = 1.17603
  Prefactor  = 0.956869
tfile=/lscratch/kocevski/31579542/ltcube_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.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/31579542/ft2_4FGL_J1724.2+4005_daily_bin2181.fits
.....................!
real 8.80
user 8.00
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31579542/ft1_filtered_4FGL_J1724.2+4005_daily_bin2181.fits evtable="EVENTS" scfile=/lscratch/kocevski/31579542/ft2_4FGL_J1724.2+4005_daily_bin2181.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31579542/ltcube_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.fits outfile=/lscratch/kocevski/31579542/expmap_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.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/31579542/ltcube_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.fits
.....................!
real 71.85
user 66.96
sys 4.15

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/31579542/ft1_filtered_4FGL_J1724.2+4005_daily_bin2181.fits scfile=/lscratch/kocevski/31579542/ft2_4FGL_J1724.2+4005_daily_bin2181.fits outfile=/lscratch/kocevski/31579542/cmap_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.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.83
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31579542/ft1_filtered_4FGL_J1724.2+4005_daily_bin2181.fits scfile=/lscratch/kocevski/31579542/ft2_4FGL_J1724.2+4005_daily_bin2181.fits outfile=/lscratch/kocevski/31579542/cmap_HighResolution_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.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.84
user 0.25
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31579542/ft1_filtered_4FGL_J1724.2+4005_daily_bin2181.fits evtable="EVENTS" scfile=/lscratch/kocevski/31579542/ft2_4FGL_J1724.2+4005_daily_bin2181.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31579542/Model_4FGL_J1724.2+4005_daily_bin2181.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 GALDone.

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

Extracting fit parameters...

4FGL J1724.2+4005
   Spectrum: LogParabola
330         norm:  0.000e+00  1.487e-05  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:  9.569e-01  1.306e-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:  1.176e+00  1.992e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 261.051 40.089
Photon Flux Upper Limit: 6.49674661605e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/31579225/likelihoodResults_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.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) = 7950.44991467
delta logL = -0.0707510207521

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7950.37916406
delta logL = -4.15438080381e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .20134E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    3.6713       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1762       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95675       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=   7950.379     FROM MIGRAD    STATUS=CONVERGED     38 CALLS      200 TOTAL
                     EDM=   .13E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        8.1722       -.10189E-06** at limit **
   2  alpha         2.4324        3.6592       -.32261E-05     .0000    
   3  Normalizat    1.1760        .22594       -.45904E-05    .15227E-03
   4  Prefactor     .95687        .15635        .31532E-05    .16522E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.43239
  Normalizat = 1.17603
  Prefactor  = 0.956868
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7950.379     FROM HESSE     STATUS=FAILED        11 CALLS      211 TOTAL
                     EDM=   .13E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        8.1188        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.2210        1.2194       -.32261E-05   -.27049E-01
   3  Normalizat    1.1760        1.1150       -.45904E-05   -.87347    
   4  Prefactor     .95687        1.2987        .31532E-05   -.94181    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.29857e-11
Minuit parameter uncertainties:
  1  1.71399e-05
  2  1.22907
  3  1.1388
  4  1.34503
 **********
 **   18 **HESSE 
 **********

 FCN=   7950.379     FROM HESSE     STATUS=OK           672 CALLS     3757 TOTAL
                     EDM=   .87E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27131E-01    1.3836        .87891E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .54250E-01    .11197E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        23.323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        11.025        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        2.5611        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.1281        198.06        .75031E-03   -1.5679    
   7  Prefactor     1.5321        1.2162        .86125E-03   -1.5683    
   8  Prefactor     .73099        1.0940        .58225E-03   -1.5691    
   9  Prefactor     3.5837        2.9099        .53365E-03   -1.5670    
  10  Prefactor      .0000        .86506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.2269        1.4254        .68853E-03   -1.5678    
  12  norm           .0000        .17224        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.0738        5.8156        .11036E-02   -1.5687    
  14  norm           .0000        .36413        .29098E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        7.2132        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .61661        1.3141        .67852E-03   -1.5692    
  17  Prefactor      .0000        6.7657        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.8390        4.2322        .45787E-03   -1.5664    
  19  Prefactor      .0000        27.679        .16935E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     68.550        85.105        .12126E-03   -1.5542    
  21  norm          4.6407        6.1714        .46688E-03   -1.5665    
  22  Prefactor     3.1795        131.30        .58143E-03   -1.5672    
  23  Prefactor     6.7776        9.2048        .38514E-03   -1.5656    
  24  Prefactor      .0000        2.3801        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm           .0000        .51577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm           .0000        130.79        .76214E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          2.7309        7.1791        .61420E-03   -1.5675    
  28  Prefactor     10.005        6.6120        .31656E-03   -1.5645    
  29  Normalizat    1.1760        .19911        .63252E-01   -.87347    
  30  Prefactor     .95687        .13054        .45728E-01   -.94181    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.67176e-08
Minuit parameter uncertainties:
  1  0.3875
  2  5.88783e-08
  3  3.04659e-05
  4  3.14701e-06
  5  2.21631e-06
  6  41.062
  7  1.2162
  8  1.09399
  9  2.90991
  10  3.84928e-07
  11  1.42538
  12  6.10556e-08
  13  4.99786
  14  2.18098e-07
  15  1.48728e-05
  16  1.31413
  17  6.20637e-06
  18  4.23222
  19  4.26885e-06
  20  85.1063
  21  6.17143
  22  40.8651
  23  9.20484
  24  1.08325e-06
  25  2.36505e-08
  26  7.3952e-05
  27  7.17908
  28  6.61198
  29  0.19924
  30  0.13058
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 7950.37916365
delta logL = -1.00044417195e-11

Extracting fit parameters...

4FGL J1724.2+4005
   Spectrum: LogParabola
330         norm:  0.000e+00  1.714e-05  0.000e+00  1.000e+06 ( 1.000e-12)
331        alpha:  2.432e+00  1.229e+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:  9.569e-01  1.345e+00  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:  1.176e+00  1.139e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 261.051 40.089

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/31579225/cmap_HighResolution_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='6.50e-08', time_completed='2026-07-13 17:21:57.046874', job_id='31579225', GAL2='0.96', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1783988517.05', return_code2='101', ts='0.00', return_code='0', GAL='0.96', dlogl='-1.00e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='2181' AND source_name='4FGL J1724.2+4005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 13 17:21:57 PDT 2026

tfile=/lscratch/kocevski/31579656/ltcube_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.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/31579656/ft2_4FGL_J1724.2+4005_daily_bin2181.fits
.....................!
real 8.35
user 7.70
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31579656/ft1_filtered_4FGL_J1724.2+4005_daily_bin2181.fits evtable="EVENTS" scfile=/lscratch/kocevski/31579656/ft2_4FGL_J1724.2+4005_daily_bin2181.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31579656/ltcube_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.fits outfile=/lscratch/kocevski/31579656/expmap_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.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/31579656/ltcube_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.fits
.....................!
real 69.36
user 64.60
sys 3.99

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 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/31579656/ft1_filtered_4FGL_J1724.2+4005_daily_bin2181.fits scfile=/lscratch/kocevski/31579656/ft2_4FGL_J1724.2+4005_daily_bin2181.fits outfile=/lscratch/kocevski/31579656/cmap_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.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.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31579656/ft1_filtered_4FGL_J1724.2+4005_daily_bin2181.fits scfile=/lscratch/kocevski/31579656/ft2_4FGL_J1724.2+4005_daily_bin2181.fits outfile=/lscratch/kocevski/31579656/cmap_HighResolution_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.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.58
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31579656/ft1_filtered_4FGL_J1724.2+4005_daily_bin2181.fits evtable="EVENTS" scfile=/lscratch/kocevski/31579656/ft2_4FGL_J1724.2+4005_daily_bin2181.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31579656/Model_4FGL_J1724.2+4005_daily_bin2181.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/31579491/ft1_filtered_4FGL_J1724.2+4005_daily_bin2181.fits.....................!
real 28.34
user 26.14
sys 1.64

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31579491/ft1_filtered_4FGL_J1724.2+4005_daily_bin2181.fits', '/lscratch/kocevski/31579491/ft2_4FGL_J1724.2+4005_daily_bin2181.fits', expMap='/lscratch/kocevski/31579491/expmap_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.fits', expCube='/lscratch/kocevski/31579491/ltcube_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31579491/Model_4FGL_J1724.2+4005_daily_bin2181.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/31579491/ft1_filtered_4FGL_J1724.2+4005_daily_bin2181.fits
Spacecraft file(s): /lscratch/kocevski/31579491/ft2_4FGL_J1724.2+4005_daily_bin2181.fits
Exposure map: /lscratch/kocevski/31579491/expmap_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.fits
Exposure cube: /lscratch/kocevski/31579491/ltcube_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31579491/Model_4FGL_J1724.2+4005_daily_bin2181.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) = 7950.37992003

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29296E-01   1.0000          .0000       .10000E+07
     2 'norm      '    .75669E-05   1.0000          .0000       .10000E+07
     3 'norm      '    .18044E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .13204E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .48477E-04   1.0000          .0000       .10000E+07
     6 'norm      '    1.9170       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.5336       1.0000          .0000       .10000E+07
     8 'Prefactor '    .73101       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.5827       1.0000          .0000       .10000E+07
    10 'Prefactor '    .10547E-08   1.0000          .0000       .10000E+07
    11 'norm      '    2.2279       1.0000          .0000       .10000E+07
    12 'norm      '    .43299E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.1255       1.0000          .0000       .10000E+07
    14 'norm      '    .14127E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .25919E-05   1.0000          .0000       .10000E+07
    16 'norm      '    .61549       1.0000          .0000       .10000E+07
    17 'Prefactor '    .27117E-02   1.0000          .0000       .10000E+07
    18 'norm      '    4.8224       1.0000          .0000       .10000E+07
    19 'Prefactor '    .21575E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    68.012       1.0000          .0000       .10000E+07
    21 'norm      '    4.6422       1.0000          .0000       .10000E+07
    22 'Prefactor '    3.0426       1.0000          .0000       .10000E+07
    23 'Prefactor '    6.7786       1.0000          .0000       .10000E+07
    24 'Prefactor '    .87902E-04   1.0000          .0000       .10000E+07
    25 'norm      '    .30288E-05   1.0000          .0000       .10000E+07
    26 'norm      '    .52520       1.0000          .0000       .10000E+07
    27 'norm      '    2.7451       1.0000          .0000       .10000E+07
    28 'Prefactor '    10.004       1.0000          .0000       .10000E+07
    29 'Normalizat'    1.1757       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .95702       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=   7950.379     FROM MIGRAD    STATUS=CONVERGED    242 CALLS     3085 TOTAL
                     EDM=   .20E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27131E-01    155.09       -.67007E-06** at limit **
   2  norm           .0000        .35012       -.54877E-08** at limit **
   3  norm           .0000        23.381       -.84094E-07** at limit **
   4  Prefactor      .0000        10.997        .48605E-07** at limit **
   5  Prefactor      .0000        2.5759       -.42994E-07** at limit **
   6  norm          2.1281        180.50        .31545E-05   -.11634E-02
   7  Prefactor     1.5321        1.2037        .80480E-08   -.19105E-02
   8  Prefactor     .73099        1.0805        .26796E-07   -.98925E-03
   9  Prefactor     3.5837        2.9152        .13125E-07   -.26484E-03
  10  Prefactor      .0000        .86595       -.68871E-07** at limit **
  11  norm          2.2269        1.4215       -.66065E-07    .78461E-03
  12  norm           .0000        .17200        .69822E-08** at limit **
  13  Prefactor     1.0738        5.4425       -.11335E-06    .11287E-04
  14  norm           .0000        1.5507        .17153E-08** at limit **
  15  norm           .0000        7.2300        .31139E-06** at limit **
  16  norm          .61661        1.2841       -.19861E-07   -.70142E-04
  17  Prefactor      .0000        6.9768        .15151E-06** at limit **
  18  norm          4.8390        4.2304       -.22226E-07   -.23199E-04
  19  Prefactor      .0000        27.740        .82255E-07** at limit **
  20  Prefactor     68.550        85.544        .39065E-06   -.97049E-03
  21  norm          4.6407        5.9502        .97921E-08   -.31155E-03
  22  Prefactor     3.1795        10.772        .74525E-06    .47853E-02
  23  Prefactor     6.7776        9.1964       -.27994E-07    .59275E-04
  24  Prefactor      .0000        2.3777        .92439E-07** at limit **
  25  norm           .0000        .51607        .10381E-07** at limit **
  26  norm           .0000        131.29       -.58027E-06** at limit **
  27  norm          2.7309        7.1618       -.69551E-07    .65053E-04
  28  Prefactor     10.005        6.6110       -.47773E-07    .11635E-03
  29  Normalizat    1.1760        .24449        .54924E-05   -.40746E-04
  30  Prefactor     .95687        .16107       -.33380E-05   -.25139E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0271308
  norm       = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 2.12814
  Prefactor  = 1.53213
  Prefactor  = 0.730993
  Prefactor  = 3.58369
  Prefactor  = 0
  norm       = 2.22692
  norm       = 0
  Prefactor  = 1.07377
  norm       = 0
  norm       = 0
  norm       = 0.616613
  Prefactor  = 0
  norm       = 4.83897
  Prefactor  = 0
  Prefactor  = 68.5497
  norm       = 4.6407
  Prefactor  = 3.17946
  Prefactor  = 6.77759
  Prefactor  = 0
  norm       = 0
  norm       = 0
  norm       = 2.73087
  Prefactor  = 10.0049
  Normalizat = 1.17603
  Prefactor  = 0.956869
Done.

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

Extracting fit parameters...

4FGL J1724.2+4005
   Spectrum: LogParabola
330         norm:  0.000e+00  1.487e-05  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:  9.569e-01  1.306e-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:  1.176e+00  1.992e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 261.051 40.089
Photon Flux Upper Limit: 6.49674661605e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/31579282/likelihoodResults_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.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) = 7950.44991467
delta logL = -0.0707510207521

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7950.37916406
delta logL = -4.15438080381e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .20134E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    3.6713       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1762       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95675       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=   7950.379     FROM MIGRAD    STATUS=CONVERGED     38 CALLS      200 TOTAL
                     EDM=   .13E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        8.1722       -.10189E-06** at limit **
   2  alpha         2.4324        3.6592       -.32261E-05     .0000    
   3  Normalizat    1.1760        .22594       -.45904E-05    .15227E-03
   4  Prefactor     .95687        .15635        .31532E-05    .16522E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.43239
  Normalizat = 1.17603
  Prefactor  = 0.956868
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7950.379     FROM HESSE     STATUS=FAILED        11 CALLS      211 TOTAL
                     EDM=   .13E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        8.1188        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.2210        1.2194       -.32261E-05   -.27049E-01
   3  Normalizat    1.1760        1.1150       -.45904E-05   -.87347    
   4  Prefactor     .95687        1.2987        .31532E-05   -.94181    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.29857e-11
Minuit parameter uncertainties:
  1  1.71399e-05
  2  1.22907
  3  1.1388
  4  1.34503
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 7950.37916365
delta logL = -1.00044417195e-11

Extracting fit parameters...

4FGL J1724.2+4005
   Spectrum: LogParabola
330         norm:  0.000e+00  1.714e-05  0.000e+00  1.000e+06 ( 1.000e-12)
331        alpha:  2.432e+00  1.229e+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:  9.569e-01  1.345e+00  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:  1.176e+00  1.139e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 261.051 40.089

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/31579282/cmap_HighResolution_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='6.50e-08', time_completed='2026-07-13 17:22:57.515605', job_id='31579282', GAL2='0.96', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1783988577.52', return_code2='101', ts='0.00', return_code='0', GAL='0.96', dlogl='-1.00e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='2181' AND source_name='4FGL J1724.2+4005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 13 17:22:57 PDT 2026

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

 FCN=   7950.379     FROM HESSE     STATUS=OK           672 CALLS     3757 TOTAL
                     EDM=   .87E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27131E-01    1.3836        .87891E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .54250E-01    .11197E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        23.323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        11.025        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        2.5611        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.1281        198.06        .75031E-03   -1.5679    
   7  Prefactor     1.5321        1.2162        .86125E-03   -1.5683    
   8  Prefactor     .73099        1.0940        .58225E-03   -1.5691    
   9  Prefactor     3.5837        2.9099        .53365E-03   -1.5670    
  10  Prefactor      .0000        .86506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.2269        1.4254        .68853E-03   -1.5678    
  12  norm           .0000        .17224        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.0738        5.8156        .11036E-02   -1.5687    
  14  norm           .0000        .36413        .29098E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        7.2132        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .61661        1.3141        .67852E-03   -1.5692    
  17  Prefactor      .0000        6.7657        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.8390        4.2322        .45787E-03   -1.5664    
  19  Prefactor      .0000        27.679        .16935E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     68.550        85.105        .12126E-03   -1.5542    
  21  norm          4.6407        6.1714        .46688E-03   -1.5665    
  22  Prefactor     3.1795        131.30        .58143E-03   -1.5672    
  23  Prefactor     6.7776        9.2048        .38514E-03   -1.5656    
  24  Prefactor      .0000        2.3801        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm           .0000        .51577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm           .0000        130.79        .76214E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          2.7309        7.1791        .61420E-03   -1.5675    
  28  Prefactor     10.005        6.6120        .31656E-03   -1.5645    
  29  Normalizat    1.1760        .19911        .63252E-01   -.87347    
  30  Prefactor     .95687        .13054        .45728E-01   -.94181    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.67176e-08
Minuit parameter uncertainties:
  1  0.3875
  2  5.88783e-08
  3  3.04659e-05
  4  3.14701e-06
  5  2.21631e-06
  6  41.062
  7  1.2162
  8  1.09399
  9  2.90991
  10  3.84928e-07
  11  1.42538
  12  6.10556e-08
  13  4.99786
  14  2.18098e-07
  15  1.48728e-05
  16  1.31413
  17  6.20637e-06
  18  4.23222
  19  4.26885e-06
  20  85.1063
  21  6.17143
  22  40.8651
  23  9.20484
  24  1.08325e-06
  25  2.36505e-08
  26  7.3952e-05
  27  7.17908
  28  6.61198
  29  0.19924
  30  0.13058
Done.

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

Extracting fit parameters...

4FGL J1724.2+4005
   Spectrum: LogParabola
330         norm:  0.000e+00  1.487e-05  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:  9.569e-01  1.306e-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:  1.176e+00  1.992e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 261.051 40.089
Photon Flux Upper Limit: 6.49674661605e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/31579491/likelihoodResults_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.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) = 7950.44991467
delta logL = -0.0707510207521

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7950.37916406
delta logL = -4.15438080381e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .20134E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    3.6713       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1762       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95675       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=   7950.379     FROM MIGRAD    STATUS=CONVERGED     38 CALLS      200 TOTAL
                     EDM=   .13E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        8.1722       -.10189E-06** at limit **
   2  alpha         2.4324        3.6592       -.32261E-05     .0000    
   3  Normalizat    1.1760        .22594       -.45904E-05    .15227E-03
   4  Prefactor     .95687        .15635        .31532E-05    .16522E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.43239
  Normalizat = 1.17603
  Prefactor  = 0.956868
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7950.379     FROM HESSE     STATUS=FAILED        11 CALLS      211 TOTAL
                     EDM=   .13E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        8.1188        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.2210        1.2194       -.32261E-05   -.27049E-01
   3  Normalizat    1.1760        1.1150       -.45904E-05   -.87347    
   4  Prefactor     .95687        1.2987        .31532E-05   -.94181    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.29857e-11
Minuit parameter uncertainties:
  1  1.71399e-05
  2  1.22907
  3  1.1388
  4  1.34503
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 7950.37916365
delta logL = -1.00044417195e-11

Extracting fit parameters...

4FGL J1724.2+4005
   Spectrum: LogParabola
330         norm:  0.000e+00  1.714e-05  0.000e+00  1.000e+06 ( 1.000e-12)
331        alpha:  2.432e+00  1.229e+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:  9.569e-01  1.345e+00  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:  1.176e+00  1.139e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 261.051 40.089

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/31579491/cmap_HighResolution_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='6.50e-08', time_completed='2026-07-13 17:24:21.645306', job_id='31579491', GAL2='0.96', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1783988661.65', return_code2='101', ts='0.00', return_code='0', GAL='0.96', dlogl='-1.00e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='2181' AND source_name='4FGL J1724.2+4005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 13 17:24:21 PDT 2026

_V02
Working on...
/lscratch/kocevski/31579542/ft1_filtered_4FGL_J1724.2+4005_daily_bin2181.fits.....................!
real 27.76
user 25.87
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31579542/ft1_filtered_4FGL_J1724.2+4005_daily_bin2181.fits', '/lscratch/kocevski/31579542/ft2_4FGL_J1724.2+4005_daily_bin2181.fits', expMap='/lscratch/kocevski/31579542/expmap_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.fits', expCube='/lscratch/kocevski/31579542/ltcube_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31579542/Model_4FGL_J1724.2+4005_daily_bin2181.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/31579542/ft1_filtered_4FGL_J1724.2+4005_daily_bin2181.fits
Spacecraft file(s): /lscratch/kocevski/31579542/ft2_4FGL_J1724.2+4005_daily_bin2181.fits
Exposure map: /lscratch/kocevski/31579542/expmap_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.fits
Exposure cube: /lscratch/kocevski/31579542/ltcube_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31579542/Model_4FGL_J1724.2+4005_daily_bin2181.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) = 7950.37992003

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29296E-01   1.0000          .0000       .10000E+07
     2 'norm      '    .75669E-05   1.0000          .0000       .10000E+07
     3 'norm      '    .18044E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .13204E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .48477E-04   1.0000          .0000       .10000E+07
     6 'norm      '    1.9170       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.5336       1.0000          .0000       .10000E+07
     8 'Prefactor '    .73101       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.5827       1.0000          .0000       .10000E+07
    10 'Prefactor '    .10547E-08   1.0000          .0000       .10000E+07
    11 'norm      '    2.2279       1.0000          .0000       .10000E+07
    12 'norm      '    .43299E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.1255       1.0000          .0000       .10000E+07
    14 'norm      '    .14127E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .25919E-05   1.0000          .0000       .10000E+07
    16 'norm      '    .61549       1.0000          .0000       .10000E+07
    17 'Prefactor '    .27117E-02   1.0000          .0000       .10000E+07
    18 'norm      '    4.8224       1.0000          .0000       .10000E+07
    19 'Prefactor '    .21575E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    68.012       1.0000          .0000       .10000E+07
    21 'norm      '    4.6422       1.0000          .0000       .10000E+07
    22 'Prefactor '    3.0426       1.0000          .0000       .10000E+07
    23 'Prefactor '    6.7786       1.0000          .0000       .10000E+07
    24 'Prefactor '    .87902E-04   1.0000          .0000       .10000E+07
    25 'norm      '    .30288E-05   1.0000          .0000       .10000E+07
    26 'norm      '    .52520       1.0000          .0000       .10000E+07
    27 'norm      '    2.7451       1.0000          .0000       .10000E+07
    28 'Prefactor '    10.004       1.0000          .0000       .10000E+07
    29 'Normalizat'    1.1757       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .95702       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=   7950.379     FROM MIGRAD    STATUS=CONVERGED    242 CALLS     3085 TOTAL
                     EDM=   .20E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27131E-01    155.09       -.67007E-06** at limit **
   2  norm           .0000        .35012       -.54877E-08** at limit **
   3  norm           .0000        23.381       -.84094E-07** at limit **
   4  Prefactor      .0000        10.997        .48605E-07** at limit **
   5  Prefactor      .0000        2.5759       -.42994E-07** at limit **
   6  norm          2.1281        180.50        .31545E-05   -.11634E-02
   7  Prefactor     1.5321        1.2037        .80480E-08   -.19105E-02
   8  Prefactor     .73099        1.0805        .26796E-07   -.98925E-03
   9  Prefactor     3.5837        2.9152        .13125E-07   -.26484E-03
  10  Prefactor      .0000        .86595       -.68871E-07** at limit **
  11  norm          2.2269        1.4215       -.66065E-07    .78461E-03
  12  norm           .0000        .17200        .69822E-08** at limit **
  13  Prefactor     1.0738        5.4425       -.11335E-06    .11287E-04
  14  norm           .0000        1.5507        .17153E-08** at limit **
  15  norm           .0000        7.2300        .31139E-06** at limit **
  16  norm          .61661        1.2841       -.19861E-07   -.70142E-04
  17  Prefactor      .0000        6.9768        .15151E-06** at limit **
  18  norm          4.8390        4.2304       -.22226E-07   -.23199E-04
  19  Prefactor      .0000        27.740        .82255E-07** at limit **
  20  Prefactor     68.550        85.544        .39065E-06   -.97049E-03
  21  norm          4.6407        5.9502        .97921E-08   -.31155E-03
  22  Prefactor     3.1795        10.772        .74525E-06    .47853E-02
  23  Prefactor     6.7776        9.1964       -.27994E-07    .59275E-04
  24  Prefactor      .0000        2.3777        .92439E-07** at limit **
  25  norm           .0000        .51607        .10381E-07** at limit **
  26  norm           .0000        131.29       -.58027E-06** at limit **
  27  norm          2.7309        7.1618       -.69551E-07    .65053E-04
  28  Prefactor     10.005        6.6110       -.47773E-07    .11635E-03
  29  Normalizat    1.1760        .24449        .54924E-05   -.40746E-04
  30  Prefactor     .95687        .16107       -.33380E-05   -.25139E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0271308
  norm       = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 2.12814
  Prefactor  = 1.53213
  Prefactor  = 0.730993
  Prefactor  = 3.58369
  Prefactor  = 0
  norm       = 2.22692
  norm       = 0
  Prefactor  = 1.07377
  norm       = 0
  norm       = 0
  norm       = 0.616613
  Prefactor  = 0
  norm       = 4.83897
  Prefactor  = 0
  Prefactor  = 68.5497
  norm       = 4.6407
  Prefactor  = 3.17946
  Prefactor  = 6.77759
  Prefactor  = 0
  norm       = 0
  norm       = 0
  norm       = 2.73087
  Prefactor  = 10.0049
  Normalizat = 1.17603
  Prefactor  = 0.956869
_V02
Working on...
/lscratch/kocevski/31579656/ft1_filtered_4FGL_J1724.2+4005_daily_bin2181.fits.....................!
real 26.67
user 25.17
sys 0.98

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31579656/ft1_filtered_4FGL_J1724.2+4005_daily_bin2181.fits', '/lscratch/kocevski/31579656/ft2_4FGL_J1724.2+4005_daily_bin2181.fits', expMap='/lscratch/kocevski/31579656/expmap_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.fits', expCube='/lscratch/kocevski/31579656/ltcube_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31579656/Model_4FGL_J1724.2+4005_daily_bin2181.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/31579656/ft1_filtered_4FGL_J1724.2+4005_daily_bin2181.fits
Spacecraft file(s): /lscratch/kocevski/31579656/ft2_4FGL_J1724.2+4005_daily_bin2181.fits
Exposure map: /lscratch/kocevski/31579656/expmap_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.fits
Exposure cube: /lscratch/kocevski/31579656/ltcube_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31579656/Model_4FGL_J1724.2+4005_daily_bin2181.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) = 7950.37992003

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29296E-01   1.0000          .0000       .10000E+07
     2 'norm      '    .75669E-05   1.0000          .0000       .10000E+07
     3 'norm      '    .18044E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .13204E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .48477E-04   1.0000          .0000       .10000E+07
     6 'norm      '    1.9170       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.5336       1.0000          .0000       .10000E+07
     8 'Prefactor '    .73101       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.5827       1.0000          .0000       .10000E+07
    10 'Prefactor '    .10547E-08   1.0000          .0000       .10000E+07
    11 'norm      '    2.2279       1.0000          .0000       .10000E+07
    12 'norm      '    .43299E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.1255       1.0000          .0000       .10000E+07
    14 'norm      '    .14127E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .25919E-05   1.0000          .0000       .10000E+07
    16 'norm      '    .61549       1.0000          .0000       .10000E+07
    17 'Prefactor '    .27117E-02   1.0000          .0000       .10000E+07
    18 'norm      '    4.8224       1.0000          .0000       .10000E+07
    19 'Prefactor '    .21575E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    68.012       1.0000          .0000       .10000E+07
    21 'norm      '    4.6422       1.0000          .0000       .10000E+07
    22 'Prefactor '    3.0426       1.0000          .0000       .10000E+07
    23 'Prefactor '    6.7786       1.0000          .0000       .10000E+07
    24 'Prefactor '    .87902E-04   1.0000          .0000       .10000E+07
    25 'norm      '    .30288E-05   1.0000          .0000       .10000E+07
    26 'norm      '    .52520       1.0000     **********
 **   18 **HESSE 
 **********

 FCN=   7950.379     FROM HESSE     STATUS=OK           672 CALLS     3757 TOTAL
                     EDM=   .87E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27131E-01    1.3836        .87891E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .54250E-01    .11197E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        23.323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        11.025        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        2.5611        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.1281        198.06        .75031E-03   -1.5679    
   7  Prefactor     1.5321        1.2162        .86125E-03   -1.5683    
   8  Prefactor     .73099        1.0940        .58225E-03   -1.5691    
   9  Prefactor     3.5837        2.9099        .53365E-03   -1.5670    
  10  Prefactor      .0000        .86506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.2269        1.4254        .68853E-03   -1.5678    
  12  norm           .0000        .17224        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.0738        5.8156        .11036E-02   -1.5687    
  14  norm           .0000        .36413        .29098E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        7.2132        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .61661        1.3141        .67852E-03   -1.5692    
  17  Prefactor      .0000        6.7657        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.8390        4.2322        .45787E-03   -1.5664    
  19  Prefactor      .0000        27.679        .16935E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     68.550        85.105        .12126E-03   -1.5542    
  21  norm          4.6407        6.1714        .46688E-03   -1.5665    
  22  Prefactor     3.1795        131.30        .58143E-03   -1.5672    
  23  Prefactor     6.7776        9.2048        .38514E-03   -1.5656    
  24  Prefactor      .0000        2.3801        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm           .0000        .51577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm           .0000        130.79        .76214E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          2.7309        7.1791        .61420E-03   -1.5675    
  28  Prefactor     10.005        6.6120        .31656E-03   -1.5645    
  29  Normalizat    1.1760        .19911        .63252E-01   -.87347    
  30  Prefactor     .95687        .13054        .45728E-01   -.94181    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.67176e-08
Minuit parameter uncertainties:
  1  0.3875
  2  5.88783e-08
  3  3.04659e-05
  4  3.14701e-06
  5  2.21631e-06
  6  41.062
  7  1.2162
  8  1.09399
  9  2.90991
  10  3.84928e-07
  11  1.42538
  12  6.10556e-08
  13  4.99786
  14  2.18098e-07
  15  1.48728e-05
  16  1.31413
  17  6.20637e-06
  18  4.23222
  19  4.26885e-06
  20  85.1063
  21  6.17143
  22  40.8651
  23  9.20484
  24  1.08325e-06
  25  2.36505e-08
  26  7.3952e-05
  27  7.17908
  28  6.61198
  29  0.19924
  30  0.13058
      .0000       .10000E+07
    27 'norm      '    2.7451       1.0000          .0000       .10000E+07
    28 'Prefactor '    10.004       1.0000          .0000       .10000E+07
    29 'Normalizat'    1.1757       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .95702       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=   7950.379     FROM MIGRAD    STATUS=CONVERGED    242 CALLS     3085 TOTAL
                     EDM=   .20E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27131E-01    155.09       -.67007E-06** at limit **
   2  norm           .0000        .35012       -.54877E-08** at limit **
   3  norm           .0000        23.381       -.84094E-07** at limit **
   4  Prefactor      .0000        10.997        .48605E-07** at limit **
   5  Prefactor      .0000        2.5759       -.42994E-07** at limit **
   6  norm          2.1281        180.50        .31545E-05   -.11634E-02
   7  Prefactor     1.5321        1.2037        .80480E-08   -.19105E-02
   8  Prefactor     .73099        1.0805        .26796E-07   -.98925E-03
   9  Prefactor     3.5837        2.9152        .13125E-07   -.26484E-03
  10  Prefactor      .0000        .86595       -.68871E-07** at limit **
  11  norm          2.2269        1.4215       -.66065E-07    .78461E-03
  12  norm           .0000        .17200        .69822E-08** at limit **
  13  Prefactor     1.0738        5.4425       -.11335E-06    .11287E-04
  14  norm           .0000        1.5507        .17153E-08** at limit **
  15  norm           .0000        7.2300        .31139E-06** at limit **
  16  norm          .61661        1.2841       -.19861E-07   -.70142E-04
  17  Prefactor      .0000        6.9768        .15151E-06** at limit **
  18  norm          4.8390        4.2304       -.22226E-07   -.23199E-04
  19  Prefactor      .0000        27.740        .82255E-07** at limit **
  20  Prefactor     68.550        85.544        .39065E-06   -.97049E-03
  21  norm          4.6407        5.9502        .97921E-08   -.31155E-03
  22  Prefactor     3.1795        10.772        .74525E-06    .47853E-02
  23  Prefactor     6.7776        9.1964       -.27994E-07    .59275E-04
  24  Prefactor      .0000        2.3777        .92439E-07** at limit **
  25  norm           .0000        .51607        .10381E-07** at limit **
  26  norm           .0000        131.29       -.58027E-06** at limit **
  27  norm          2.7309        7.1618       -.69551E-07    .65053E-04
  28  Prefactor     10.005        6.6110       -.47773E-07    .11635E-03
  29  Normalizat    1.1760        .24449        .54924E-05   -.40746E-04
  30  Prefactor     .95687        .16107       -.33380E-05   -.25139E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0271308
  norm       = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 2.12814
  Prefactor  = 1.53213
  Prefactor  = 0.730993
  Prefactor  = 3.58369
  Prefactor  = 0
  norm       = 2.22692
  norm       = 0
  Prefactor  = 1.07377
  norm       = 0
  norm       = 0
  norm       = 0.616613
  Prefactor  = 0
  norm       = 4.83897
  Prefactor  = 0
  Prefactor  = 68.5497
  norm       = 4.6407
  Prefactor  = 3.17946
  Prefactor  = 6.77759
  Prefactor  = 0
  norm       = 0
  norm       = 0
  norm       = 2.73087
  Prefactor  = 10.0049
  Normalizat = 1.17603
  Prefactor  = 0.956869
 **********
 **   18 **HESSE 
 **********

 FCN=   7950.379     FROM HESSE     STATUS=OK           672 CALLS     3757 TOTAL
                     EDM=   .87E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27131E-01    1.3836        .87891E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .54250E-01    .11197E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        23.323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        11.025        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        2.5611        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.1281        198.06        .75031E-03   -1.5679    
   7  Prefactor     1.5321        1.2162        .86125E-03   -1.5683    
   8  Prefactor     .73099        1.0940        .58225E-03   -1.5691    
   9  Prefactor     3.5837        2.9099        .53365E-03   -1.5670    
  10  Prefactor      .0000        .86506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.2269        1.4254        .68853E-03   -1.5678    
  12  norm           .0000        .17224        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.0738        5.8156        .11036E-02   -1.5687    
  14  norm           .0000        .36413        .29098E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        7.2132        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .61661        1.3141        .67852E-03   -1.5692    
  17  Prefactor      .0000        6.7657        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.8390        4.2322        .45787E-03   -1.5664    
  19  Prefactor      .0000        27.679        .16935E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     68.550        85.105        .12126E-03   -1.5542    
  21  norm          4.6407        6.1714        .46688E-03   -1.5665    
  22  Prefactor     3.1795        131.30        .58143E-03   -1.5672    
  23  Prefactor     6.7776        9.2048        .38514E-03   -1.5656    
  24  Prefactor      .0000        2.3801        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm           .0000        .51577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm           .0000        130.79        .76214E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          2.7309        7.1791        .61420E-03   -1.5675    
  28  Prefactor     10.005        6.6120        .31656E-03   -1.5645    
  29  Normalizat    1.1760        .19911        .63252E-01   -.87347    
  30  Prefactor     .95687        .13054        .45728E-01   -.94181    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.67176e-08
Minuit parameter uncertainties:
  1  0.3875
  2  5.88783e-08
  3  3.04659e-05
  4  3.14701e-06
  5  2.21631e-06
  6  41.062
  7  1.2162
  8  1.09399
  9  2.90991
  10  3.84928e-07
  11  1.42538
  12  6.10556e-08
  13  4.99786
  14  2.18098e-07
  15  1.48728e-05
  16  1.31413
  17  6.20637e-06
  18  4.23222
  19  4.26885e-06
  20  85.1063
  21  6.17143
  22  40.8651
  23  9.20484
  24  1.08325e-06
  25  2.36505e-08
  26  7.3952e-05
  27  7.17908
  28  6.61198
  29  0.19924
  30  0.13058
Done.

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

Extracting fit parameters...

4FGL J1724.2+4005
   Spectrum: LogParabola
330         norm:  0.000e+00  1.487e-05  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:  9.569e-01  1.306e-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:  1.176e+00  1.992e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 261.051 40.089
Photon Flux Upper Limit: 6.49674661605e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/31579542/likelihoodResults_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.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) = 7950.44991467
delta logL = -0.0707510207521

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7950.37916406
delta logL = -4.15438080381e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .20134E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    3.6713       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1762       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95675       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=   7950.379     FROM MIGRAD    STATUS=CONVERGED     38 CALLS      200 TOTAL
                     EDM=   .13E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        8.1722       -.10189E-06** at limit **
   2  alpha         2.4324        3.6592       -.32261E-05     .0000    
   3  Normalizat    1.1760        .22594       -.45904E-05    .15227E-03
   4  Prefactor     .95687        .15635        .31532E-05    .16522E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.43239
  Normalizat = 1.17603
  Prefactor  = 0.956868
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7950.379     FROM HESSE     STATUS=FAILED        11 CALLS      211 TOTAL
                     EDM=   .13E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        8.1188        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.2210        1.2194       -.32261E-05   -.27049E-01
   3  Normalizat    1.1760        1.1150       -.45904E-05   -.87347    
   4  Prefactor     .95687        1.2987        .31532E-05   -.94181    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.29857e-11
Minuit parameter uncertainties:
  1  1.71399e-05
  2  1.22907
  3  1.1388
  4  1.34503
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 7950.37916365
delta logL = -1.00044417195e-11

Extracting fit parameters...

4FGL J1724.2+4005
   Spectrum: LogParabola
330         norm:  0.000e+00  1.714e-05  0.000e+00  1.000e+06 ( 1.000e-12)
331        alpha:  2.432e+00  1.229e+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:  9.569e-01  1.345e+00  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:  1.176e+00  1.139e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 261.051 40.089

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/31579542/cmap_HighResolution_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='6.50e-08', time_completed='2026-07-13 17:26:33.036328', job_id='31579542', GAL2='0.96', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1783988793.04', return_code2='101', ts='0.00', return_code='0', GAL='0.96', dlogl='-1.00e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='2181' AND source_name='4FGL J1724.2+4005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 13 17:26:33 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1724.2+4005
   Spectrum: LogParabola
330         norm:  0.000e+00  1.487e-05  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:  9.569e-01  1.306e-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:  1.176e+00  1.992e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 261.051 40.089
Photon Flux Upper Limit: 6.49674661605e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/31579656/likelihoodResults_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.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) = 7950.44991467
delta logL = -0.0707510207521

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7950.37916406
delta logL = -4.15438080381e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .20134E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    3.6713       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1762       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95675       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=   7950.379     FROM MIGRAD    STATUS=CONVERGED     38 CALLS      200 TOTAL
                     EDM=   .13E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        8.1722       -.10189E-06** at limit **
   2  alpha         2.4324        3.6592       -.32261E-05     .0000    
   3  Normalizat    1.1760        .22594       -.45904E-05    .15227E-03
   4  Prefactor     .95687        .15635        .31532E-05    .16522E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.43239
  Normalizat = 1.17603
  Prefactor  = 0.956868
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7950.379     FROM HESSE     STATUS=FAILED        11 CALLS      211 TOTAL
                     EDM=   .13E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        8.1188        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.2210        1.2194       -.32261E-05   -.27049E-01
   3  Normalizat    1.1760        1.1150       -.45904E-05   -.87347    
   4  Prefactor     .95687        1.2987        .31532E-05   -.94181    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.29857e-11
Minuit parameter uncertainties:
  1  1.71399e-05
  2  1.22907
  3  1.1388
  4  1.34503
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 7950.37916365
delta logL = -1.00044417195e-11

Extracting fit parameters...

4FGL J1724.2+4005
   Spectrum: LogParabola
330         norm:  0.000e+00  1.714e-05  0.000e+00  1.000e+06 ( 1.000e-12)
331        alpha:  2.432e+00  1.229e+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:  9.569e-01  1.345e+00  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:  1.176e+00  1.139e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 261.051 40.089

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/31579656/cmap_HighResolution_804643201_804902401_4FGL_J1724.2+4005_daily_bin2181.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='6.50e-08', time_completed='2026-07-13 17:27:21.083425', job_id='31579656', GAL2='0.96', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1783988841.08', return_code2='101', ts='0.00', return_code='0', GAL='0.96', dlogl='-1.00e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='2181' AND source_name='4FGL J1724.2+4005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 13 17:27:21 PDT 2026

