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

 FCN=   24193.42     FROM HESSE     STATUS=OK           216 CALLS     1052 TOTAL
                     EDM=   .57E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.132        15.631        .24641E-03   -1.5628    
   2  Prefactor     4.5074        95.948        .38012E-03   -1.5666    
   3  norm          8.2078        14.988        .36183E-03   -1.5651    
   4  Prefactor      .0000        2.3688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .20469E-05    17.623        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.2708        8.1561        .34614E-03   -1.5650    
   7  Prefactor     .78140E-05    21.324        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .75229E-06    21.007        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.669        18.620        .28241E-03   -1.5637    
  10  norm          11.893        9.9496        .29095E-03   -1.5639    
  11  norm          .55511E-10    3.1597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .32752E-08    7.0295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.4835        5.0200        .47435E-03   -1.5666    
  14  Normalizat    .95923        .12245        .97328E-01   -.94409    
  15  Prefactor     .96820        .38804E-01    .30594E-01   -.93797    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.66783e-07
Minuit parameter uncertainties:
  1  15.631
  2  41.5931
  3  14.9876
  4  1.33383e-05
  5  0.012012
  6  8.15608
  7  0.0258165
  8  0.00795074
  9  18.6203
  10  9.94963
  11  2.47568e-05
  12  0.000304647
  13  5.01999
  14  0.122485
  15  0.0388048
/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
utfile=/lscratch/kocevski/31070668/ltcube_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.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/31070668/ft2_4FGL_J0354.7+8009_daily_bin2176.fits
.....................!
real 9.19
user 8.49
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31070668/ft1_filtered_4FGL_J0354.7+8009_daily_bin2176.fits evtable="EVENTS" scfile=/lscratch/kocevski/31070668/ft2_4FGL_J0354.7+8009_daily_bin2176.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31070668/ltcube_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.fits outfile=/lscratch/kocevski/31070668/expmap_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.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/31070668/ltcube_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.fits
.....................!
real 71.01
user 66.29
sys 4.02

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source HB 3 in ROI with RadialDisk spatial model.
Extended source W 3 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W3.fits is the correct path to the extended template.
Added 205 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0354.7+8009 @ 58.6919 80.1647

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31070668/ft1_filtered_4FGL_J0354.7+8009_daily_bin2176.fits scfile=/lscratch/kocevski/31070668/ft2_4FGL_J0354.7+8009_daily_bin2176.fits outfile=/lscratch/kocevski/31070668/cmap_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.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=58.6919 yref=80.1647 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.64
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31070668/ft1_filtered_4FGL_J0354.7+8009_daily_bin2176.fits scfile=/lscratch/kocevski/31070668/ft2_4FGL_J0354.7+8009_daily_bin2176.fits outfile=/lscratch/kocevski/31070668/cmap_HighResolution_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.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=58.6919 yref=80.1647 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.59
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31070668/ft1_filtered_4FGL_J0354.7+8009_daily_bin2176.fits evtable="EVENTS" scfile=/lscratch/kocevski/31
Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)

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

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

/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)
utfile=/lscratch/kocevski/31070656/ltcube_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.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/31070656/ft2_4FGL_J0354.7+8009_daily_bin2176.fits
.....................!
real 9.58
user 9.02
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31070656/ft1_filtered_4FGL_J0354.7+8009_daily_bin2176.fits evtable="EVENTS" scfile=/lscratch/kocevski/31070656/ft2_4FGL_J0354.7+8009_daily_bin2176.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31070656/ltcube_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.fits outfile=/lscratch/kocevski/31070656/expmap_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.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/31070656/ltcube_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.fits
.....................!
real 76.07
user 71.08
sys 4.26

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source HB 3 in ROI with RadialDisk spatial model.
Extended source W 3 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W3.fits is the correct path to the extended template.
Added 205 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0354.7+8009 @ 58.6919 80.1647

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31070656/ft1_filtered_4FGL_J0354.7+8009_daily_bin2176.fits scfile=/lscratch/kocevski/31070656/ft2_4FGL_J0354.7+8009_daily_bin2176.fits outfile=/lscratch/kocevski/31070656/cmap_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.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=58.6919 yref=80.1647 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.63
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31070656/ft1_filtered_4FGL_J0354.7+8009_daily_bin2176.fits scfile=/lscratch/kocevski/31070656/ft2_4FGL_J0354.7+8009_daily_bin2176.fits outfile=/lscratch/kocevski/31070656/cmap_HighResolution_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.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=58.6919 yref=80.1647 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.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31070656/ft1_filtered_4FGL_J0354.7+8009_daily_bin2176.fits evtable="EVENTS" scfile=/lscratch/kocevski/31
WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

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

 FCN=   24193.42     FROM HESSE     STATUS=OK           216 CALLS     1052 TOTAL
                     EDM=   .57E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.132        15.631        .24641E-03   -1.5628    
   2  Prefactor     4.5074        95.948        .38012E-03   -1.5666    
   3  norm          8.2078        14.988        .36183E-03   -1.5651    
   4  Prefactor      .0000        2.3688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .20469E-05    17.623        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.2708        8.1561        .34614E-03   -1.5650    
   7  Prefactor     .78140E-05    21.324        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .75229E-06    21.007        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.669        18.620        .28241E-03   -1.5637    
  10  norm          11.893        9.9496        .29095E-03   -1.5639    
  11  norm          .55511E-10    3.1597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .32752E-08    7.0295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.4835        5.0200        .47435E-03   -1.5666    
  14  Normalizat    .95923        .12245        .97328E-01   -.94409    
  15  Prefactor     .96820        .38804E-01    .30594E-01   -.93797    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.66783e-07
Minuit parameter uncertainties:
  1  15.631
  2  41.5931
  3  14.9876
  4  1.33383e-05
  5  0.012012
  6  8.15608
  7  0.0258165
  8  0.00795074
  9  18.6203
  10  9.94963
  11  2.47568e-05
  12  0.000304647
  13  5.01999
  14  0.122485
  15  0.0388048
 **********
 **   18 **HESSE 
 **********

 FCN=   24193.42     FROM HESSE     STATUS=OK           216 CALLS     1052 TOTAL
                     EDM=   .57E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.132        15.631        .24641E-03   -1.5628    
   2  Prefactor     4.5074        95.948        .38012E-03   -1.5666    
   3  norm          8.2078        14.988        .36183E-03   -1.5651    
   4  Prefactor      .0000        2.3688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .20469E-05    17.623        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.2708        8.1561        .34614E-03   -1.5650    
   7  Prefactor     .78140E-05    21.324        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .75229E-06    21.007        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.669        18.620        .28241E-03   -1.5637    
  10  norm          11.893        9.9496        .29095E-03   -1.5639    
  11  norm          .55511E-10    3.1597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .32752E-08    7.0295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.4835        5.0200        .47435E-03   -1.5666    
  14  Normalizat    .95923        .12245        .97328E-01   -.94409    
  15  Prefactor     .96820        .38804E-01    .30594E-01   -.93797    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.66783e-07
Minuit parameter uncertainties:
  1  15.631
  2  41.5931
  3  14.9876
  4  1.33383e-05
  5  0.012012
  6  8.15608
  7  0.0258165
  8  0.00795074
  9  18.6203
  10  9.94963
  11  2.47568e-05
  12  0.000304647
  13  5.01999
  14  0.122485
  15  0.0388048
 **********
 **   18 **HESSE 
 **********

 FCN=   24193.42     FROM HESSE     STATUS=OK           216 CALLS     1052 TOTAL
                     EDM=   .57E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.132        15.631        .24641E-03   -1.5628    
   2  Prefactor     4.5074        95.948        .38012E-03   -1.5666    
   3  norm          8.2078        14.988        .36183E-03   -1.5651    
   4  Prefactor      .0000        2.3688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .20469E-05    17.623        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.2708        8.1561        .34614E-03   -1.5650    
   7  Prefactor     .78140E-05    21.324        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .75229E-06    21.007        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.669        18.620        .28241E-03   -1.5637    
  10  norm          11.893        9.9496        .29095E-03   -1.5639    
  11  norm          .55511E-10    3.1597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .32752E-08    7.0295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.4835        5.0200        .47435E-03   -1.5666    
  14  Normalizat    .95923        .12245        .97328E-01   -.94409    
  15  Prefactor     .96820        .38804E-01    .30594E-01   -.93797    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.66783e-07
Minuit parameter uncertainties:
  1  15.631
  2  41.5931
  3  14.9876
  4  1.33383e-05
  5  0.012012
  6  8.15608
  7  0.0258165
  8  0.00795074
  9  18.6203
  10  9.94963
  11  2.47568e-05
  12  0.000304647
  13  5.01999
  14  0.122485
  15  0.0388048
070510/ft2_4FGL_J0354.7+8009_daily_bin2176.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31070510/Model_4FGL_J0354.7+8009_daily_bin2176.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
adding source HB 3
adding source W 3
Working on...
/lscratch/kocevski/31070510/ft1_filtered_4FGL_J0354.7+8009_daily_bin2176.fits.....................!
real 130.79
user 128.87
sys 0.79

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31070510/ft1_filtered_4FGL_J0354.7+8009_daily_bin2176.fits', '/lscratch/kocevski/31070510/ft2_4FGL_J0354.7+8009_daily_bin2176.fits', expMap='/lscratch/kocevski/31070510/expmap_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.fits', expCube='/lscratch/kocevski/31070510/ltcube_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31070510/Model_4FGL_J0354.7+8009_daily_bin2176.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0354.7+8009'

4FGL J0354.7+8009
   Spectrum: PowerLaw
234    Prefactor:  1.353e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
235        Index:  2.266e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
236        Scale:  1.581e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31070510/ft1_filtered_4FGL_J0354.7+8009_daily_bin2176.fits
Spacecraft file(s): /lscratch/kocevski/31070510/ft2_4FGL_J0354.7+8009_daily_bin2176.fits
Exposure map: /lscratch/kocevski/31070510/expmap_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.fits
Exposure cube: /lscratch/kocevski/31070510/ltcube_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31070510/Model_4FGL_J0354.7+8009_daily_bin2176.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) = 24194.2113966

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.484       1.0000          .0000       .10000E+07
     2 'Prefactor '    6.9572       1.0000          .0000       .10000E+07
     3 'norm      '    7.6712       1.0000          .0000       .10000E+07
     4 'Prefactor '    .35817E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .72387E-02   1.0000          .0000       .10000E+07
     6 'norm      '    8.3763       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10458E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10167E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    12.559       1.0000          .0000       .10000E+07
    10 'norm      '    11.834       1.0000          .0000       .10000E+07
    11 'norm      '    .55511E-09   1.0000          .0000       .10000E+07
    12 'Prefactor '    .97153E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.5006       1.0000          .0000       .10000E+07
    14 'Normalizat'    .95965       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .96769       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24193.42     FROM MIGRAD    STATUS=CONVERGED    126 CALLS      836 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.132        14.811        .29316E-07    .53086E-01
   2  Prefactor     4.5074        89.039        .72993E-06    .72521E-03
   3  norm          8.2078        14.499        .26114E-06   -.36858E-02
   4  Prefactor      .0000        2.3890       -.34903E-06** at limit **
   5  Prefactor     .20469E-05    13.897       -.14376E-08** at limit **
   6  norm          8.2708        8.1585        .56208E-07    .26409E-03
   7  Prefactor     .78140E-05    7.4158        .17111E-06** at limit **
   8  Prefactor     .75229E-06    19.711        .75232E-06** at limit **
   9  Prefactor     12.669        4.0099        .12410E-07    .29821E-01
  10  norm          11.893        9.9464        .39487E-06    .55516E-02
  11  norm          .55511E-10    3.1523        .10280E-06** at limit **
  12  Prefactor     .32752E-08    6.9705        .78192E-07** at limit **
  13  Prefactor     4.4835        5.0091        .62654E-07    .32118E-03
  14  Normalizat    .95923        .12781        .68357E-06    .47994E-04
  15  Prefactor     .96820        .41389E-01    .44653E-06    .86013E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.132
  Prefactor  = 4.50744
  norm       = 8.20779
  Prefactor  = 0
  Prefactor  = 2.04686e-06
  norm       = 8.2708
  Prefactor  = 7.81397e-06
  Prefactor  = 7.52287e-07
  Prefactor  = 12.6686
  norm       = 11.8933
  norm       = 5.55112e-11
  Prefactor  = 3.27516e-09
  Prefactor  = 4.48354
  Normalizat = 0.959225
  Prefactor  = 0.968204
number of points = 7643
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0354.7+8009_daily_bin2176
RA = 58.6919, Dec = 80.1647
tmin = 803347201, tmax = 803606401
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='31070700', job_status='RUN', time_executed='2026-07-08 18:05:16.479432', time_epoch_executed='1783559116.48' WHERE source_name='4FGL J0354.7+8009' and cadence='daily' and bin_id='2176'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31070700

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31070700/ft1_4FGL_J0354.7+8009_daily_bin2176.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31070700/ft2_4FGL_J0354.7+8009_daily_bin2176.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31070700/ft1_4FGL_J0354.7+8009_daily_bin2176.fits outfile=/lscratch/kocevski/31070700/ft1_filteredMKT_4FGL_J0354.7+8009_daily_bin2176.fits ra=58.6919 dec=80.1647 rad=12.0 tmin=803347201.0 tmax=803606401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.47
user 1.77
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31070700/ft2_4FGL_J0354.7+8009_daily_bin2176.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31070700/ft2_4FGL_J0354.7+8009_daily_bin2176.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/31070700/ft1_filteredMKT_4FGL_J0354.7+8009_daily_bin2176.fits evtable="EVENTS" outfile="/lscratch/kocevski/31070700/ft1_filtered_4FGL_J0354.7+8009_daily_bin2176.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.61
user 0.20
sys 0.14

Number of photons that the gtmktime cut: 2374

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31070700/ft1_filtered_4FGL_J0354.7+8009_daily_bin2176.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31070700/ft2_4FGL_J0354.7+8009_daily_bin2176.fits sctable="SC_DATA" o070507/ft2_4FGL_J0354.7+8009_daily_bin2176.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31070507/Model_4FGL_J0354.7+8009_daily_bin2176.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
adding source HB 3
adding source W 3
Working on...
/lscratch/kocevski/31070507/ft1_filtered_4FGL_J0354.7+8009_daily_bin2176.fits.....................!
real 132.67
user 130.24
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31070507/ft1_filtered_4FGL_J0354.7+8009_daily_bin2176.fits', '/lscratch/kocevski/31070507/ft2_4FGL_J0354.7+8009_daily_bin2176.fits', expMap='/lscratch/kocevski/31070507/expmap_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.fits', expCube='/lscratch/kocevski/31070507/ltcube_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31070507/Model_4FGL_J0354.7+8009_daily_bin2176.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0354.7+8009'

4FGL J0354.7+8009
   Spectrum: PowerLaw
234    Prefactor:  1.353e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
235        Index:  2.266e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
236        Scale:  1.581e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31070507/ft1_filtered_4FGL_J0354.7+8009_daily_bin2176.fits
Spacecraft file(s): /lscratch/kocevski/31070507/ft2_4FGL_J0354.7+8009_daily_bin2176.fits
Exposure map: /lscratch/kocevski/31070507/expmap_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.fits
Exposure cube: /lscratch/kocevski/31070507/ltcube_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31070507/Model_4FGL_J0354.7+8009_daily_bin2176.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) = 24194.2113966

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.484       1.0000          .0000       .10000E+07
     2 'Prefactor '    6.9572       1.0000          .0000       .10000E+07
     3 'norm      '    7.6712       1.0000          .0000       .10000E+07
     4 'Prefactor '    .35817E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .72387E-02   1.0000          .0000       .10000E+07
     6 'norm      '    8.3763       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10458E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10167E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    12.559       1.0000          .0000       .10000E+07
    10 'norm      '    11.834       1.0000          .0000       .10000E+07
    11 'norm      '    .55511E-09   1.0000          .0000       .10000E+07
    12 'Prefactor '    .97153E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.5006       1.0000          .0000       .10000E+07
    14 'Normalizat'    .95965       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .96769       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24193.42     FROM MIGRAD    STATUS=CONVERGED    126 CALLS      836 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.132        14.811        .29316E-07    .53086E-01
   2  Prefactor     4.5074        89.039        .72993E-06    .72521E-03
   3  norm          8.2078        14.499        .26114E-06   -.36858E-02
   4  Prefactor      .0000        2.3890       -.34903E-06** at limit **
   5  Prefactor     .20469E-05    13.897       -.14376E-08** at limit **
   6  norm          8.2708        8.1585        .56208E-07    .26409E-03
   7  Prefactor     .78140E-05    7.4158        .17111E-06** at limit **
   8  Prefactor     .75229E-06    19.711        .75232E-06** at limit **
   9  Prefactor     12.669        4.0099        .12410E-07    .29821E-01
  10  norm          11.893        9.9464        .39487E-06    .55516E-02
  11  norm          .55511E-10    3.1523        .10280E-06** at limit **
  12  Prefactor     .32752E-08    6.9705        .78192E-07** at limit **
  13  Prefactor     4.4835        5.0091        .62654E-07    .32118E-03
  14  Normalizat    .95923        .12781        .68357E-06    .47994E-04
  15  Prefactor     .96820        .41389E-01    .44653E-06    .86013E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.132
  Prefactor  = 4.50744
  norm       = 8.20779
  Prefactor  = 0
  Prefactor  = 2.04686e-06
  norm       = 8.2708
  Prefactor  = 7.81397e-06
  Prefactor  = 7.52287e-07
  Prefactor  = 12.6686
  norm       = 11.8933
  norm       = 5.55112e-11
  Prefactor  = 3.27516e-09
  Prefactor  = 4.48354
  Normalizat = 0.959225
  Prefactor  = 0.968204
070554/ft2_4FGL_J0354.7+8009_daily_bin2176.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31070554/Model_4FGL_J0354.7+8009_daily_bin2176.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
adding source HB 3
adding source W 3
Working on...
/lscratch/kocevski/31070554/ft1_filtered_4FGL_J0354.7+8009_daily_bin2176.fits.....................!
real 134.63
user 132.01
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31070554/ft1_filtered_4FGL_J0354.7+8009_daily_bin2176.fits', '/lscratch/kocevski/31070554/ft2_4FGL_J0354.7+8009_daily_bin2176.fits', expMap='/lscratch/kocevski/31070554/expmap_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.fits', expCube='/lscratch/kocevski/31070554/ltcube_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31070554/Model_4FGL_J0354.7+8009_daily_bin2176.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0354.7+8009'

4FGL J0354.7+8009
   Spectrum: PowerLaw
234    Prefactor:  1.353e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
235        Index:  2.266e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
236        Scale:  1.581e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31070554/ft1_filtered_4FGL_J0354.7+8009_daily_bin2176.fits
Spacecraft file(s): /lscratch/kocevski/31070554/ft2_4FGL_J0354.7+8009_daily_bin2176.fits
Exposure map: /lscratch/kocevski/31070554/expmap_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.fits
Exposure cube: /lscratch/kocevski/31070554/ltcube_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31070554/Model_4FGL_J0354.7+8009_daily_bin2176.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) = 24194.2113966

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.484       1.0000          .0000       .10000E+07
     2 'Prefactor '    6.9572       1.0000          .0000       .10000E+07
     3 'norm      '    7.6712       1.0000          .0000       .10000E+07
     4 'Prefactor '    .35817E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .72387E-02   1.0000          .0000       .10000E+07
     6 'norm      '    8.3763       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10458E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10167E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    12.559       1.0000          .0000       .10000E+07
    10 'norm      '    11.834       1.0000          .0000       .10000E+07
    11 'norm      '    .55511E-09   1.0000          .0000       .10000E+07
    12 'Prefactor '    .97153E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.5006       1.0000          .0000       .10000E+07
    14 'Normalizat'    .95965       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .96769       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24193.42     FROM MIGRAD    STATUS=CONVERGED    126 CALLS      836 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.132        14.811        .29316E-07    .53086E-01
   2  Prefactor     4.5074        89.039        .72993E-06    .72521E-03
   3  norm          8.2078        14.499        .26114E-06   -.36858E-02
   4  Prefactor      .0000        2.3890       -.34903E-06** at limit **
   5  Prefactor     .20469E-05    13.897       -.14376E-08** at limit **
   6  norm          8.2708        8.1585        .56208E-07    .26409E-03
   7  Prefactor     .78140E-05    7.4158        .17111E-06** at limit **
   8  Prefactor     .75229E-06    19.711        .75232E-06** at limit **
   9  Prefactor     12.669        4.0099        .12410E-07    .29821E-01
  10  norm          11.893        9.9464        .39487E-06    .55516E-02
  11  norm          .55511E-10    3.1523        .10280E-06** at limit **
  12  Prefactor     .32752E-08    6.9705        .78192E-07** at limit **
  13  Prefactor     4.4835        5.0091        .62654E-07    .32118E-03
  14  Normalizat    .95923        .12781        .68357E-06    .47994E-04
  15  Prefactor     .96820        .41389E-01    .44653E-06    .86013E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.132
  Prefactor  = 4.50744
  norm       = 8.20779
  Prefactor  = 0
  Prefactor  = 2.04686e-06
  norm       = 8.2708
  Prefactor  = 7.81397e-06
  Prefactor  = 7.52287e-07
  Prefactor  = 12.6686
  norm       = 11.8933
  norm       = 5.55112e-11
  Prefactor  = 3.27516e-09
  Prefactor  = 4.48354
  Normalizat = 0.959225
  Prefactor  = 0.968204
 **********
 **   18 **HESSE 
 **********

 FCN=   24193.42     FROM HESSE     STATUS=OK           216 CALLS     1052 TOTAL
                     EDM=   .57E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.132        15.631        .24641E-03   -1.5628    
   2  Prefactor     4.5074        95.948        .38012E-03   -1.5666    
   3  norm          8.2078        14.988        .36183E-03   -1.5651    
   4  Prefactor      .0000        2.3688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .20469E-05    17.623        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.2708        8.1561        .34614E-03   -1.5650    
   7  Prefactor     .78140E-05    21.324        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .75229E-06    21.007        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.669        18.620        .28241E-03   -1.5637    
  10  norm          11.893        9.9496        .29095E-03   -1.5639    
  11  norm          .55511E-10    3.1597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .32752E-08    7.0295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.4835        5.0200        .47435E-03   -1.5666    
  14  Normalizat    .95923        .12245        .97328E-01   -.94409    
  15  Prefactor     .96820        .38804E-01    .30594E-01   -.93797    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.66783e-07
Minuit parameter uncertainties:
  1  15.631
  2  41.5931
  3  14.9876
  4  1.33383e-05
  5  0.012012
  6  8.15608
  7  0.0258165
  8  0.00795074
  9  18.6203
  10  9.94963
  11  2.47568e-05
  12  0.000304647
  13  5.01999
  14  0.122485
  15  0.0388048
 **********
 **   18 **HESSE 
 **********

 FCN=   24193.42     FROM HESSE     STATUS=OK           216 CALLS     1052 TOTAL
                     EDM=   .57E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.132        15.631        .24641E-03   -1.5628    
   2  Prefactor     4.5074        95.948        .38012E-03   -1.5666    
   3  norm          8.2078        14.988        .36183E-03   -1.5651    
   4  Prefactor      .0000        2.3688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .20469E-05    17.623        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.2708        8.1561        .34614E-03   -1.5650    
   7  Prefactor     .78140E-05    21.324        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .75229E-06    21.007        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.669        18.620        .28241E-03   -1.5637    
  10  norm          11.893        9.9496        .29095E-03   -1.5639    
  11  norm          .55511E-10    3.1597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .32752E-08    7.0295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.4835        5.0200        .47435E-03   -1.5666    
  14  Normalizat    .95923        .12245        .97328E-01   -.94409    
  15  Prefactor     .96820        .38804E-01    .30594E-01   -.93797    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.66783e-07
Minuit parameter uncertainties:
  1  15.631
  2  41.5931
  3  14.9876
  4  1.33383e-05
  5  0.012012
  6  8.15608
  7  0.0258165
  8  0.00795074
  9  18.6203
  10  9.94963
  11  2.47568e-05
  12  0.000304647
  13  5.01999
  14  0.122485
  15  0.0388048
 **********
 **   18 **HESSE 
 **********

 FCN=   24193.42     FROM HESSE     STATUS=OK           216 CALLS     1052 TOTAL
                     EDM=   .57E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.132        15.631        .24641E-03   -1.5628    
   2  Prefactor     4.5074        95.948        .38012E-03   -1.5666    
   3  norm          8.2078        14.988        .36183E-03   -1.5651    
   4  Prefactor      .0000        2.3688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .20469E-05    17.623        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.2708        8.1561        .34614E-03   -1.5650    
   7  Prefactor     .78140E-05    21.324        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .75229E-06    21.007        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.669        18.620        .28241E-03   -1.5637    
  10  norm          11.893        9.9496        .29095E-03   -1.5639    
  11  norm          .55511E-10    3.1597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .32752E-08    7.0295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.4835        5.0200        .47435E-03   -1.5666    
  14  Normalizat    .95923        .12245        .97328E-01   -.94409    
  15  Prefactor     .96820        .38804E-01    .30594E-01   -.93797    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.66783e-07
Minuit parameter uncertainties:
  1  15.631
  2  41.5931
  3  14.9876
  4  1.33383e-05
  5  0.012012
  6  8.15608
  7  0.0258165
  8  0.00795074
  9  18.6203
  10  9.94963
  11  2.47568e-05
  12  0.000304647
  13  5.01999
  14  0.122485
  15  0.0388048
070566/ft2_4FGL_J0354.7+8009_daily_bin2176.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31070566/Model_4FGL_J0354.7+8009_daily_bin2176.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
adding source HB 3
adding source W 3
Working on...
/lscratch/kocevski/31070566/ft1_filtered_4FGL_J0354.7+8009_daily_bin2176.fits.....................!
real 135.61
user 133.36
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31070566/ft1_filtered_4FGL_J0354.7+8009_daily_bin2176.fits', '/lscratch/kocevski/31070566/ft2_4FGL_J0354.7+8009_daily_bin2176.fits', expMap='/lscratch/kocevski/31070566/expmap_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.fits', expCube='/lscratch/kocevski/31070566/ltcube_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31070566/Model_4FGL_J0354.7+8009_daily_bin2176.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0354.7+8009'

4FGL J0354.7+8009
   Spectrum: PowerLaw
234    Prefactor:  1.353e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
235        Index:  2.266e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
236        Scale:  1.581e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31070566/ft1_filtered_4FGL_J0354.7+8009_daily_bin2176.fits
Spacecraft file(s): /lscratch/kocevski/31070566/ft2_4FGL_J0354.7+8009_daily_bin2176.fits
Exposure map: /lscratch/kocevski/31070566/expmap_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.fits
Exposure cube: /lscratch/kocevski/31070566/ltcube_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31070566/Model_4FGL_J0354.7+8009_daily_bin2176.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) = 24194.2113966

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.484       1.0000          .0000       .10000E+07
     2 'Prefactor '    6.9572       1.0000          .0000       .10000E+07
     3 'norm      '    7.6712       1.0000          .0000       .10000E+07
     4 'Prefactor '    .35817E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .72387E-02   1.0000          .0000       .10000E+07
     6 'norm      '    8.3763       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10458E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10167E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    12.559       1.0000          .0000       .10000E+07
    10 'norm      '    11.834       1.0000          .0000       .10000E+07
    11 'norm      '    .55511E-09   1.0000          .0000       .10000E+07
    12 'Prefactor '    .97153E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.5006       1.0000          .0000       .10000E+07
    14 'Normalizat'    .95965       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .96769       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24193.42     FROM MIGRAD    STATUS=CONVERGED    126 CALLS      836 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.132        14.811        .29316E-07    .53086E-01
   2  Prefactor     4.5074        89.039        .72993E-06    .72521E-03
   3  norm          8.2078        14.499        .26114E-06   -.36858E-02
   4  Prefactor      .0000        2.3890       -.34903E-06** at limit **
   5  Prefactor     .20469E-05    13.897       -.14376E-08** at limit **
   6  norm          8.2708        8.1585        .56208E-07    .26409E-03
   7  Prefactor     .78140E-05    7.4158        .17111E-06** at limit **
   8  Prefactor     .75229E-06    19.711        .75232E-06** at limit **
   9  Prefactor     12.669        4.0099        .12410E-07    .29821E-01
  10  norm          11.893        9.9464        .39487E-06    .55516E-02
  11  norm          .55511E-10    3.1523        .10280E-06** at limit **
  12  Prefactor     .32752E-08    6.9705        .78192E-07** at limit **
  13  Prefactor     4.4835        5.0091        .62654E-07    .32118E-03
  14  Normalizat    .95923        .12781        .68357E-06    .47994E-04
  15  Prefactor     .96820        .41389E-01    .44653E-06    .86013E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.132
  Prefactor  = 4.50744
  norm       = 8.20779
  Prefactor  = 0
  Prefactor  = 2.04686e-06
  norm       = 8.2708
  Prefactor  = 7.81397e-06
  Prefactor  = 7.52287e-07
  Prefactor  = 12.6686
  norm       = 11.8933
  norm       = 5.55112e-11
  Prefactor  = 3.27516e-09
  Prefactor  = 4.48354
  Normalizat = 0.959225
  Prefactor  = 0.968204
utfile=/lscratch/kocevski/31070700/ltcube_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.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/31070700/ft2_4FGL_J0354.7+8009_daily_bin2176.fits
.....................!
real 9.56
user 8.88
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31070700/ft1_filtered_4FGL_J0354.7+8009_daily_bin2176.fits evtable="EVENTS" scfile=/lscratch/kocevski/31070700/ft2_4FGL_J0354.7+8009_daily_bin2176.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31070700/ltcube_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.fits outfile=/lscratch/kocevski/31070700/expmap_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.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/31070700/ltcube_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.fits
.....................!
real 77.41
user 70.95
sys 4.56

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source HB 3 in ROI with RadialDisk spatial model.
Extended source W 3 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W3.fits is the correct path to the extended template.
Added 205 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0354.7+8009 @ 58.6919 80.1647

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31070700/ft1_filtered_4FGL_J0354.7+8009_daily_bin2176.fits scfile=/lscratch/kocevski/31070700/ft2_4FGL_J0354.7+8009_daily_bin2176.fits outfile=/lscratch/kocevski/31070700/cmap_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.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=58.6919 yref=80.1647 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.85
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31070700/ft1_filtered_4FGL_J0354.7+8009_daily_bin2176.fits scfile=/lscratch/kocevski/31070700/ft2_4FGL_J0354.7+8009_daily_bin2176.fits outfile=/lscratch/kocevski/31070700/cmap_HighResolution_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.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=58.6919 yref=80.1647 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.79
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31070700/ft1_filtered_4FGL_J0354.7+8009_daily_bin2176.fits evtable="EVENTS" scfile=/lscratch/kocevski/31Done.

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

Extracting fit parameters...

4FGL J0354.7+8009
   Spectrum: PowerLaw
234    Prefactor:  7.814e-06  2.582e-02  0.000e+00  1.000e+06 ( 1.000e-13)
235        Index:  2.266e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
236        Scale:  1.581e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  9.682e-01  3.880e-02  0.000e+00  1.000e+01 ( 1.000e+00)
679        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
680        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
677   Normalization:  9.592e-01  1.225e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 58.692 80.165
Photon Flux Upper Limit: 5.26669516151e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00403202217802 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31070474/likelihoodResults_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24193.4500319
delta logL = -0.034968557331

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 24192.3264418
delta logL = 1.08862150868

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   24193.42     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      610 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .11387        .42118E-03** at limit **
   2  Index         .14010        .37058        .56112E-06     .0000    
   3  Normalizat    .95923        1.2768        .60766E-05    .39948E-04
   4  Prefactor     .96820        1.3115       -.88775E-06    .54831E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.140096
  Normalizat = 0.959225
  Prefactor  = 0.968204
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24193.42     FROM HESSE     STATUS=FAILED         9 CALLS      619 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .11387        .42118E-03   -.14056E+06
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.3323        .94430        .56112E-06   -.38670E+07
   3  Normalizat    .95923        1.2768        .60766E-05   -648.11    
   4  Prefactor     .96820        1.3115       -.88775E-06   -1722.5    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.65539e-12
Minuit parameter uncertainties:
  1  2.501e-07
  2  0.377013
  3  1.32113
  4  1.35883
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) = 24193.4150631
delta logL = 1.7812999431e-07

Extracting fit parameters...

4FGL J0354.7+8009
   Spectrum: PowerLaw
234    Prefactor:  0.000e+00  2.501e-07  0.000e+00  1.000e+06 ( 1.000e-13)
235        Index:  1.401e-01  3.770e-01  0.000e+00  1.000e+01 (-1.000e+00)
236        Scale:  1.581e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  9.682e-01  1.359e+00  0.000e+00  1.000e+01 ( 1.000e+00)
679        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
680        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
677   Normalization:  9.592e-01  1.321e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 58.692 80.165

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/31070474/cmap_HighResolution_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.03e-03', job_status='DONE', photon_flux_upper_limit='5.27e-08', time_completed='2026-07-08 18:08:01.080171', job_id='31070474', GAL2='0.97', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1783559281.08', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.78e-07', ts2='0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='2176' AND source_name='4FGL J0354.7+8009' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul  8 18:08:01 PDT 2026

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

 FCN=   24193.42     FROM HESSE     STATUS=OK           216 CALLS     1052 TOTAL
                     EDM=   .57E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.132        15.631        .24641E-03   -1.5628    
   2  Prefactor     4.5074        95.948        .38012E-03   -1.5666    
   3  norm          8.2078        14.988        .36183E-03   -1.5651    
   4  Prefactor      .0000        2.3688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .20469E-05    17.623        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.2708        8.1561        .34614E-03   -1.5650    
   7  Prefactor     .78140E-05    21.324        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .75229E-06    21.007        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.669        18.620        .28241E-03   -1.5637    
  10  norm          11.893        9.9496        .29095E-03   -1.5639    
  11  norm          .55511E-10    3.1597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .32752E-08    7.0295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.4835        5.0200        .47435E-03   -1.5666    
  14  Normalizat    .95923        .12245        .97328E-01   -.94409    
  15  Prefactor     .96820        .38804E-01    .30594E-01   -.93797    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.66783e-07
Minuit parameter uncertainties:
  1  15.631
  2  41.5931
  3  14.9876
  4  1.33383e-05
  5  0.012012
  6  8.15608
  7  0.0258165
  8  0.00795074
  9  18.6203
  10  9.94963
  11  2.47568e-05
  12  0.000304647
  13  5.01999
  14  0.122485
  15  0.0388048
Done.

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

Extracting fit parameters...

4FGL J0354.7+8009
   Spectrum: PowerLaw
234    Prefactor:  7.814e-06  2.582e-02  0.000e+00  1.000e+06 ( 1.000e-13)
235        Index:  2.266e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
236        Scale:  1.581e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  9.682e-01  3.880e-02  0.000e+00  1.000e+01 ( 1.000e+00)
679        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
680        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
677   Normalization:  9.592e-01  1.225e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 58.692 80.165
Photon Flux Upper Limit: 5.26669516151e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00403202217802 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31070466/likelihoodResults_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24193.4500319
delta logL = -0.034968557331

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 24192.3264418
delta logL = 1.08862150868

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   24193.42     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      610 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .11387        .42118E-03** at limit **
   2  Index         .14010        .37058        .56112E-06     .0000    
   3  Normalizat    .95923        1.2768        .60766E-05    .39948E-04
   4  Prefactor     .96820        1.3115       -.88775E-06    .54831E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.140096
  Normalizat = 0.959225
  Prefactor  = 0.968204
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24193.42     FROM HESSE     STATUS=FAILED         9 CALLS      619 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .11387        .42118E-03   -.14056E+06
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.3323        .94430        .56112E-06   -.38670E+07
   3  Normalizat    .95923        1.2768        .60766E-05   -648.11    
   4  Prefactor     .96820        1.3115       -.88775E-06   -1722.5    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.65539e-12
Minuit parameter uncertainties:
  1  2.501e-07
  2  0.377013
  3  1.32113
  4  1.35883
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) = 24193.4150631
delta logL = 1.7812999431e-07

Extracting fit parameters...

4FGL J0354.7+8009
   Spectrum: PowerLaw
234    Prefactor:  0.000e+00  2.501e-07  0.000e+00  1.000e+06 ( 1.000e-13)
235        Index:  1.401e-01  3.770e-01  0.000e+00  1.000e+01 (-1.000e+00)
236        Scale:  1.581e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  9.682e-01  1.359e+00  0.000e+00  1.000e+01 ( 1.000e+00)
679        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
680        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
677   Normalization:  9.592e-01  1.321e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 58.692 80.165

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/31070466/cmap_HighResolution_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.03e-03', job_status='DONE', photon_flux_upper_limit='5.27e-08', time_completed='2026-07-08 18:08:24.442424', job_id='31070466', GAL2='0.97', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1783559304.44', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.78e-07', ts2='0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='2176' AND source_name='4FGL J0354.7+8009' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul  8 18:08:24 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0354.7+8009
   Spectrum: PowerLaw
234    Prefactor:  7.814e-06  2.582e-02  0.000e+00  1.000e+06 ( 1.000e-13)
235        Index:  2.266e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
236        Scale:  1.581e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  9.682e-01  3.880e-02  0.000e+00  1.000e+01 ( 1.000e+00)
679        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
680        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
677   Normalization:  9.592e-01  1.225e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 58.692 80.165
Photon Flux Upper Limit: 5.26669516151e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00403202217802 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31070463/likelihoodResults_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24193.4500319
delta logL = -0.034968557331

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 24192.3264418
delta logL = 1.08862150868

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   24193.42     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      610 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .11387        .42118E-03** at limit **
   2  Index         .14010        .37058        .56112E-06     .0000    
   3  Normalizat    .95923        1.2768        .60766E-05    .39948E-04
   4  Prefactor     .96820        1.3115       -.88775E-06    .54831E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.140096
  Normalizat = 0.959225
  Prefactor  = 0.968204
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24193.42     FROM HESSE     STATUS=FAILED         9 CALLS      619 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .11387        .42118E-03   -.14056E+06
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.3323        .94430        .56112E-06   -.38670E+07
   3  Normalizat    .95923        1.2768        .60766E-05   -648.11    
   4  Prefactor     .96820        1.3115       -.88775E-06   -1722.5    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.65539e-12
Minuit parameter uncertainties:
  1  2.501e-07
  2  0.377013
  3  1.32113
  4  1.35883
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) = 24193.4150631
delta logL = 1.7812999431e-07

Extracting fit parameters...

4FGL J0354.7+8009
   Spectrum: PowerLaw
234    Prefactor:  0.000e+00  2.501e-07  0.000e+00  1.000e+06 ( 1.000e-13)
235        Index:  1.401e-01  3.770e-01  0.000e+00  1.000e+01 (-1.000e+00)
236        Scale:  1.581e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  9.682e-01  1.359e+00  0.000e+00  1.000e+01 ( 1.000e+00)
679        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
680        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
677   Normalization:  9.592e-01  1.321e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 58.692 80.165

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/31070463/cmap_HighResolution_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.03e-03', job_status='DONE', photon_flux_upper_limit='5.27e-08', time_completed='2026-07-08 18:08:32.186654', job_id='31070463', GAL2='0.97', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1783559312.19', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.78e-07', ts2='0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='2176' AND source_name='4FGL J0354.7+8009' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul  8 18:08:32 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0354.7+8009
   Spectrum: PowerLaw
234    Prefactor:  7.814e-06  2.582e-02  0.000e+00  1.000e+06 ( 1.000e-13)
235        Index:  2.266e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
236        Scale:  1.581e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  9.682e-01  3.880e-02  0.000e+00  1.000e+01 ( 1.000e+00)
679        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
680        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
677   Normalization:  9.592e-01  1.225e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 58.692 80.165
Photon Flux Upper Limit: 5.26669516151e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00403202217802 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31070472/likelihoodResults_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24193.4500319
delta logL = -0.034968557331

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 24192.3264418
delta logL = 1.08862150868

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   24193.42     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      610 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .11387        .42118E-03** at limit **
   2  Index         .14010        .37058        .56112E-06     .0000    
   3  Normalizat    .95923        1.2768        .60766E-05    .39948E-04
   4  Prefactor     .96820        1.3115       -.88775E-06    .54831E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.140096
  Normalizat = 0.959225
  Prefactor  = 0.968204
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24193.42     FROM HESSE     STATUS=FAILED         9 CALLS      619 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .11387        .42118E-03   -.14056E+06
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.3323        .94430        .56112E-06   -.38670E+07
   3  Normalizat    .95923        1.2768        .60766E-05   -648.11    
   4  Prefactor     .96820        1.3115       -.88775E-06   -1722.5    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.65539e-12
Minuit parameter uncertainties:
  1  2.501e-07
  2  0.377013
  3  1.32113
  4  1.35883
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) = 24193.4150631
delta logL = 1.7812999431e-07

Extracting fit parameters...

4FGL J0354.7+8009
   Spectrum: PowerLaw
234    Prefactor:  0.000e+00  2.501e-07  0.000e+00  1.000e+06 ( 1.000e-13)
235        Index:  1.401e-01  3.770e-01  0.000e+00  1.000e+01 (-1.000e+00)
236        Scale:  1.581e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  9.682e-01  1.359e+00  0.000e+00  1.000e+01 ( 1.000e+00)
679        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
680        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
677   Normalization:  9.592e-01  1.321e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 58.692 80.165

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/31070472/cmap_HighResolution_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.03e-03', job_status='DONE', photon_flux_upper_limit='5.27e-08', time_completed='2026-07-08 18:08:44.426338', job_id='31070472', GAL2='0.97', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1783559324.43', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.78e-07', ts2='0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='2176' AND source_name='4FGL J0354.7+8009' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul  8 18:08:44 PDT 2026

070652/ft2_4FGL_J0354.7+8009_daily_bin2176.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31070652/Model_4FGL_J0354.7+8009_daily_bin2176.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
adding source HB 3
adding source W 3
Working on...
/lscratch/kocevski/31070652/ft1_filtered_4FGL_J0354.7+8009_daily_bin2176.fits.....................!
real 133.42
user 131.30
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31070652/ft1_filtered_4FGL_J0354.7+8009_daily_bin2176.fits', '/lscratch/kocevski/31070652/ft2_4FGL_J0354.7+8009_daily_bin2176.fits', expMap='/lscratch/kocevski/31070652/expmap_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.fits', expCube='/lscratch/kocevski/31070652/ltcube_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31070652/Model_4FGL_J0354.7+8009_daily_bin2176.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0354.7+8009'

4FGL J0354.7+8009
   Spectrum: PowerLaw
234    Prefactor:  1.353e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
235        Index:  2.266e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
236        Scale:  1.581e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31070652/ft1_filtered_4FGL_J0354.7+8009_daily_bin2176.fits
Spacecraft file(s): /lscratch/kocevski/31070652/ft2_4FGL_J0354.7+8009_daily_bin2176.fits
Exposure map: /lscratch/kocevski/31070652/expmap_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.fits
Exposure cube: /lscratch/kocevski/31070652/ltcube_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31070652/Model_4FGL_J0354.7+8009_daily_bin2176.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) = 24194.2113966

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.484       1.0000          .0000       .10000E+07
     2 'Prefactor '    6.9572       1.0000          .0000       .10000E+07
     3 'norm      '    7.6712       1.0000          .0000       .10000E+07
     4 'Prefactor '    .35817E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .72387E-02   1.0000          .0000       .10000E+07
     6 'norm      '    8.3763       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10458E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10167E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    12.559       1.0000          .0000       .10000E+07
    10 'norm      '    11.834       1.0000          .0000       .10000E+07
    11 'norm      '    .55511E-09   1.0000          .0000       .10000E+07
    12 'Prefactor '    .97153E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.5006       1.0000          .0000       .10000E+07
    14 'Normalizat'    .95965       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .96769       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24193.42     FROM MIGRAD    STATUS=CONVERGED    126 CALLS      836 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.132        14.811        .29316E-07    .53086E-01
   2  Prefactor     4.5074        89.039        .72993E-06    .72521E-03
   3  norm          8.2078        14.499        .26114E-06   -.36858E-02
   4  Prefactor      .0000        2.3890       -.34903E-06** at limit **
   5  Prefactor     .20469E-05    13.897       -.14376E-08** at limit **
   6  norm          8.2708        8.1585        .56208E-07    .26409E-03
   7  Prefactor     .78140E-05    7.4158        .17111E-06** at limit **
   8  Prefactor     .75229E-06    19.711        .75232E-06** at limit **
   9  Prefactor     12.669        4.0099        .12410E-07    .29821E-01
  10  norm          11.893        9.9464        .39487E-06    .55516E-02
  11  norm          .55511E-10    3.1523        .10280E-06** at limit **
  12  Prefactor     .32752E-08    6.9705        .78192E-07** at limit **
  13  Prefactor     4.4835        5.0091        .62654E-07    .32118E-03
  14  Normalizat    .95923        .12781        .68357E-06    .47994E-04
  15  Prefactor     .96820        .41389E-01    .44653E-06    .86013E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.132
  Prefactor  = 4.50744
  norm       = 8.20779
  Prefactor  = 0
  Prefactor  = 2.04686e-06
  norm       = 8.2708
  Prefactor  = 7.81397e-06
  Prefactor  = 7.52287e-07
  Prefactor  = 12.6686
  norm       = 11.8933
  norm       = 5.55112e-11
  Prefactor  = 3.27516e-09
  Prefactor  = 4.48354
  Normalizat = 0.959225
  Prefactor  = 0.968204
Done.

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

Extracting fit parameters...

4FGL J0354.7+8009
   Spectrum: PowerLaw
234    Prefactor:  7.814e-06  2.582e-02  0.000e+00  1.000e+06 ( 1.000e-13)
235        Index:  2.266e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
236        Scale:  1.581e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  9.682e-01  3.880e-02  0.000e+00  1.000e+01 ( 1.000e+00)
679        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
680        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
677   Normalization:  9.592e-01  1.225e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 58.692 80.165
Photon Flux Upper Limit: 5.26669516151e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00403202217802 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31070510/likelihoodResults_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24193.4500319
delta logL = -0.034968557331

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 24192.3264418
delta logL = 1.08862150868

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   24193.42     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      610 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .11387        .42118E-03** at limit **
   2  Index         .14010        .37058        .56112E-06     .0000    
   3  Normalizat    .95923        1.2768        .60766E-05    .39948E-04
   4  Prefactor     .96820        1.3115       -.88775E-06    .54831E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.140096
  Normalizat = 0.959225
  Prefactor  = 0.968204
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24193.42     FROM HESSE     STATUS=FAILED         9 CALLS      619 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .11387        .42118E-03   -.14056E+06
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.3323        .94430        .56112E-06   -.38670E+07
   3  Normalizat    .95923        1.2768        .60766E-05   -648.11    
   4  Prefactor     .96820        1.3115       -.88775E-06   -1722.5    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.65539e-12
Minuit parameter uncertainties:
  1  2.501e-07
  2  0.377013
  3  1.32113
  4  1.35883
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) = 24193.4150631
delta logL = 1.7812999431e-07

Extracting fit parameters...

4FGL J0354.7+8009
   Spectrum: PowerLaw
234    Prefactor:  0.000e+00  2.501e-07  0.000e+00  1.000e+06 ( 1.000e-13)
235        Index:  1.401e-01  3.770e-01  0.000e+00  1.000e+01 (-1.000e+00)
236        Scale:  1.581e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  9.682e-01  1.359e+00  0.000e+00  1.000e+01 ( 1.000e+00)
679        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
680        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
677   Normalization:  9.592e-01  1.321e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 58.692 80.165

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/31070510/cmap_HighResolution_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.03e-03', job_status='DONE', photon_flux_upper_limit='5.27e-08', time_completed='2026-07-08 18:09:58.614711', job_id='31070510', GAL2='0.97', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1783559398.61', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.78e-07', ts2='0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='2176' AND source_name='4FGL J0354.7+8009' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul  8 18:09:58 PDT 2026

070668/ft2_4FGL_J0354.7+8009_daily_bin2176.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31070668/Model_4FGL_J0354.7+8009_daily_bin2176.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
adding source HB 3
adding source W 3
Working on...
/lscratch/kocevski/31070668/ft1_filtered_4FGL_J0354.7+8009_daily_bin2176.fits.....................!
real 128.10
user 125.65
sys 1.43

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31070668/ft1_filtered_4FGL_J0354.7+8009_daily_bin2176.fits', '/lscratch/kocevski/31070668/ft2_4FGL_J0354.7+8009_daily_bin2176.fits', expMap='/lscratch/kocevski/31070668/expmap_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.fits', expCube='/lscratch/kocevski/31070668/ltcube_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31070668/Model_4FGL_J0354.7+8009_daily_bin2176.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0354.7+8009'

4FGL J0354.7+8009
   Spectrum: PowerLaw
234    Prefactor:  1.353e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
235        Index:  2.266e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
236        Scale:  1.581e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31070668/ft1_filtered_4FGL_J0354.7+8009_daily_bin2176.fits
Spacecraft file(s): /lscratch/kocevski/31070668/ft2_4FGL_J0354.7+8009_daily_bin2176.fits
Exposure map: /lscratch/kocevski/31070668/expmap_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.fits
Exposure cube: /lscratch/kocevski/31070668/ltcube_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31070668/Model_4FGL_J0354.7+8009_daily_bin2176.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) = 24194.2113966

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.484       1.0000          .0000       .10000E+07
     2 'Prefactor '    6.9572       1.0000          .0000       .10000E+07
     3 'norm      '    7.6712       1.0000          .0000       .10000E+07
     4 'Prefactor '    .35817E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .72387E-02   1.0000          .0000       .10000E+07
     6 'norm      '    8.3763       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10458E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10167E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    12.559       1.0000          .0000       .10000E+07
    10 'norm      '    11.834       1.0000          .0000       .10000E+07
    11 'norm      '    .55511E-09   1.0000          .0000       .10000E+07
    12 'Prefactor '    .97153E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.5006       1.0000          .0000       .10000E+07
    14 'Normalizat'    .95965       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .96769       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24193.42     FROM MIGRAD    STATUS=CONVERGED    126 CALLS      836 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.132        14.811        .29316E-07    .53086E-01
   2  Prefactor     4.5074        89.039        .72993E-06    .72521E-03
   3  norm          8.2078        14.499        .26114E-06   -.36858E-02
   4  Prefactor      .0000        2.3890       -.34903E-06** at limit **
   5  Prefactor     .20469E-05    13.897       -.14376E-08** at limit **
   6  norm          8.2708        8.1585        .56208E-07    .26409E-03
   7  Prefactor     .78140E-05    7.4158        .17111E-06** at limit **
   8  Prefactor     .75229E-06    19.711        .75232E-06** at limit **
   9  Prefactor     12.669        4.0099        .12410E-07    .29821E-01
  10  norm          11.893        9.9464        .39487E-06    .55516E-02
  11  norm          .55511E-10    3.1523        .10280E-06** at limit **
  12  Prefactor     .32752E-08    6.9705        .78192E-07** at limit **
  13  Prefactor     4.4835        5.0091        .62654E-07    .32118E-03
  14  Normalizat    .95923        .12781        .68357E-06    .47994E-04
  15  Prefactor     .96820        .41389E-01    .44653E-06    .86013E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.132
  Prefactor  = 4.50744
  norm       = 8.20779
  Prefactor  = 0
  Prefactor  = 2.04686e-06
  norm       = 8.2708
  Prefactor  = 7.81397e-06
  Prefactor  = 7.52287e-07
  Prefactor  = 12.6686
  norm       = 11.8933
  norm       = 5.55112e-11
  Prefactor  = 3.27516e-09
  Prefactor  = 4.48354
  Normalizat = 0.959225
  Prefactor  = 0.968204
Done.

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

Extracting fit parameters...

4FGL J0354.7+8009
   Spectrum: PowerLaw
234    Prefactor:  7.814e-06  2.582e-02  0.000e+00  1.000e+06 ( 1.000e-13)
235        Index:  2.266e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
236        Scale:  1.581e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  9.682e-01  3.880e-02  0.000e+00  1.000e+01 ( 1.000e+00)
679        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
680        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
677   Normalization:  9.592e-01  1.225e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 58.692 80.165
Photon Flux Upper Limit: 5.26669516151e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00403202217802 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31070507/likelihoodResults_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24193.4500319
delta logL = -0.034968557331

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 24192.3264418
delta logL = 1.08862150868

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   24193.42     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      610 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .11387        .42118E-03** at limit **
   2  Index         .14010        .37058        .56112E-06     .0000    
   3  Normalizat    .95923        1.2768        .60766E-05    .39948E-04
   4  Prefactor     .96820        1.3115       -.88775E-06    .54831E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.140096
  Normalizat = 0.959225
  Prefactor  = 0.968204
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24193.42     FROM HESSE     STATUS=FAILED         9 CALLS      619 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .11387        .42118E-03   -.14056E+06
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.3323        .94430        .56112E-06   -.38670E+07
   3  Normalizat    .95923        1.2768        .60766E-05   -648.11    
   4  Prefactor     .96820        1.3115       -.88775E-06   -1722.5    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.65539e-12
Minuit parameter uncertainties:
  1  2.501e-07
  2  0.377013
  3  1.32113
  4  1.35883
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) = 24193.4150631
delta logL = 1.7812999431e-07

Extracting fit parameters...

4FGL J0354.7+8009
   Spectrum: PowerLaw
234    Prefactor:  0.000e+00  2.501e-07  0.000e+00  1.000e+06 ( 1.000e-13)
235        Index:  1.401e-01  3.770e-01  0.000e+00  1.000e+01 (-1.000e+00)
236        Scale:  1.581e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  9.682e-01  1.359e+00  0.000e+00  1.000e+01 ( 1.000e+00)
679        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
680        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
677   Normalization:  9.592e-01  1.321e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 58.692 80.165

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/31070507/cmap_HighResolution_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.03e-03', job_status='DONE', photon_flux_upper_limit='5.27e-08', time_completed='2026-07-08 18:10:11.567143', job_id='31070507', GAL2='0.97', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1783559411.57', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.78e-07', ts2='0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='2176' AND source_name='4FGL J0354.7+8009' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul  8 18:10:11 PDT 2026

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

 FCN=   24193.42     FROM HESSE     STATUS=OK           216 CALLS     1052 TOTAL
                     EDM=   .57E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.132        15.631        .24641E-03   -1.5628    
   2  Prefactor     4.5074        95.948        .38012E-03   -1.5666    
   3  norm          8.2078        14.988        .36183E-03   -1.5651    
   4  Prefactor      .0000        2.3688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .20469E-05    17.623        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.2708        8.1561        .34614E-03   -1.5650    
   7  Prefactor     .78140E-05    21.324        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .75229E-06    21.007        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.669        18.620        .28241E-03   -1.5637    
  10  norm          11.893        9.9496        .29095E-03   -1.5639    
  11  norm          .55511E-10    3.1597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .32752E-08    7.0295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.4835        5.0200        .47435E-03   -1.5666    
  14  Normalizat    .95923        .12245        .97328E-01   -.94409    
  15  Prefactor     .96820        .38804E-01    .30594E-01   -.93797    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.66783e-07
Minuit parameter uncertainties:
  1  15.631
  2  41.5931
  3  14.9876
  4  1.33383e-05
  5  0.012012
  6  8.15608
  7  0.0258165
  8  0.00795074
  9  18.6203
  10  9.94963
  11  2.47568e-05
  12  0.000304647
  13  5.01999
  14  0.122485
  15  0.0388048
Done.

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

Extracting fit parameters...

4FGL J0354.7+8009
   Spectrum: PowerLaw
234    Prefactor:  7.814e-06  2.582e-02  0.000e+00  1.000e+06 ( 1.000e-13)
235        Index:  2.266e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
236        Scale:  1.581e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  9.682e-01  3.880e-02  0.000e+00  1.000e+01 ( 1.000e+00)
679        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
680        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
677   Normalization:  9.592e-01  1.225e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 58.692 80.165
Photon Flux Upper Limit: 5.26669516151e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00403202217802 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31070554/likelihoodResults_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24193.4500319
delta logL = -0.034968557331

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 24192.3264418
delta logL = 1.08862150868

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   24193.42     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      610 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .11387        .42118E-03** at limit **
   2  Index         .14010        .37058        .56112E-06     .0000    
   3  Normalizat    .95923        1.2768        .60766E-05    .39948E-04
   4  Prefactor     .96820        1.3115       -.88775E-06    .54831E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.140096
  Normalizat = 0.959225
  Prefactor  = 0.968204
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24193.42     FROM HESSE     STATUS=FAILED         9 CALLS      619 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .11387        .42118E-03   -.14056E+06
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.3323        .94430        .56112E-06   -.38670E+07
   3  Normalizat    .95923        1.2768        .60766E-05   -648.11    
   4  Prefactor     .96820        1.3115       -.88775E-06   -1722.5    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.65539e-12
Minuit parameter uncertainties:
  1  2.501e-07
  2  0.377013
  3  1.32113
  4  1.35883
070656/ft2_4FGL_J0354.7+8009_daily_bin2176.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31070656/Model_4FGL_J0354.7+8009_daily_bin2176.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
adding source HB 3
adding source W 3
Working on...
/lscratch/kocevski/31070656/ft1_filtered_4FGL_J0354.7+8009_daily_bin2176.fits.....................!
real 135.52
user 132.95
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31070656/ft1_filtered_4FGL_J0354.7+8009_daily_bin2176.fits', '/lscratch/kocevski/31070656/ft2_4FGL_J0354.7+8009_daily_bin2176.fits', expMap='/lscratch/kocevski/31070656/expmap_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.fits', expCube='/lscratch/kocevski/31070656/ltcube_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31070656/Model_4FGL_J0354.7+8009_daily_bin2176.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0354.7+8009'

4FGL J0354.7+8009
   Spectrum: PowerLaw
234    Prefactor:  1.353e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
235        Index:  2.266e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
236        Scale:  1.581e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31070656/ft1_filtered_4FGL_J0354.7+8009_daily_bin2176.fits
Spacecraft file(s): /lscratch/kocevski/31070656/ft2_4FGL_J0354.7+8009_daily_bin2176.fits
Exposure map: /lscratch/kocevski/31070656/expmap_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.fits
Exposure cube: /lscratch/kocevski/31070656/ltcube_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31070656/Model_4FGL_J0354.7+8009_daily_bin2176.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) = 24194.2113966

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.484       1.0000          .0000       .10000E+07
     2 'Prefactor '    6.9572       1.0000          .0000       .10000E+07
     3 'norm      '    7.6712       1.0000          .0000       .10000E+07
     4 'Prefactor '    .35817E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .72387E-02   1.0000          .0000       .10000E+07
     6 'norm      '    8.3763       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10458E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10167E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    12.559       1.0000          .0000       .10000E+07
    10 'norm      '    11.834       1.0000          .0000       .10000E+07
    11 'norm      '    .55511E-09   1.0000          .0000       .10000E+07
    12 'Prefactor '    .97153E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.5006       1.0000          .0000       .10000E+07
    14 'Normalizat'    .95965       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .96769       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24193.42     FROM MIGRAD    STATUS=CONVERGED    126 CALLS      836 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.132        14.811        .29316E-07    .53086E-01
   2  Prefactor     4.5074        89.039        .72993E-06    .72521E-03
   3  norm          8.2078        14.499        .26114E-06   -.36858E-02
   4  Prefactor      .0000        2.3890       -.34903E-06** at limit **
   5  Prefactor     .20469E-05    13.897       -.14376E-08** at limit **
   6  norm          8.2708        8.1585        .56208E-07    .26409E-03
   7  Prefactor     .78140E-05    7.4158        .17111E-06** at limit **
   8  Prefactor     .75229E-06    19.711        .75232E-06** at limit **
   9  Prefactor     12.669        4.0099        .12410E-07    .29821E-01
  10  norm          11.893        9.9464        .39487E-06    .55516E-02
  11  norm          .55511E-10    3.1523        .10280E-06** at limit **
  12  Prefactor     .32752E-08    6.9705        .78192E-07** at limit **
  13  Prefactor     4.4835        5.0091        .62654E-07    .32118E-03
  14  Normalizat    .95923        .12781        .68357E-06    .47994E-04
  15  Prefactor     .96820        .41389E-01    .44653E-06    .86013E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.132
  Prefactor  = 4.50744
  norm       = 8.20779
  Prefactor  = 0
  Prefactor  = 2.04686e-06
  norm       = 8.2708
  Prefactor  = 7.81397e-06
  Prefactor  = 7.52287e-07
  Prefactor  = 12.6686
  norm       = 11.8933
  norm       = 5.55112e-11
  Prefactor  = 3.27516e-09
  Prefactor  = 4.48354
  Normalizat = 0.959225
  Prefactor  = 0.968204
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) = 24193.4150631
delta logL = 1.7812999431e-07

Extracting fit parameters...

4FGL J0354.7+8009
   Spectrum: PowerLaw
234    Prefactor:  0.000e+00  2.501e-07  0.000e+00  1.000e+06 ( 1.000e-13)
235        Index:  1.401e-01  3.770e-01  0.000e+00  1.000e+01 (-1.000e+00)
236        Scale:  1.581e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  9.682e-01  1.359e+00  0.000e+00  1.000e+01 ( 1.000e+00)
679        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
680        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
677   Normalization:  9.592e-01  1.321e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 58.692 80.165

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/31070554/cmap_HighResolution_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.03e-03', job_status='DONE', photon_flux_upper_limit='5.27e-08', time_completed='2026-07-08 18:10:29.793819', job_id='31070554', GAL2='0.97', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1783559429.79', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.78e-07', ts2='0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='2176' AND source_name='4FGL J0354.7+8009' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul  8 18:10:29 PDT 2026

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

 FCN=   24193.42     FROM HESSE     STATUS=OK           216 CALLS     1052 TOTAL
                     EDM=   .57E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.132        15.631        .24641E-03   -1.5628    
   2  Prefactor     4.5074        95.948        .38012E-03   -1.5666    
   3  norm          8.2078        14.988        .36183E-03   -1.5651    
   4  Prefactor      .0000        2.3688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .20469E-05    17.623        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.2708        8.1561        .34614E-03   -1.5650    
   7  Prefactor     .78140E-05    21.324        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .75229E-06    21.007        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.669        18.620        .28241E-03   -1.5637    
  10  norm          11.893        9.9496        .29095E-03   -1.5639    
  11  norm          .55511E-10    3.1597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .32752E-08    7.0295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.4835        5.0200        .47435E-03   -1.5666    
  14  Normalizat    .95923        .12245        .97328E-01   -.94409    
  15  Prefactor     .96820        .38804E-01    .30594E-01   -.93797    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.66783e-07
Minuit parameter uncertainties:
  1  15.631
  2  41.5931
  3  14.9876
  4  1.33383e-05
  5  0.012012
  6  8.15608
  7  0.0258165
  8  0.00795074
  9  18.6203
  10  9.94963
  11  2.47568e-05
  12  0.000304647
  13  5.01999
  14  0.122485
  15  0.0388048
 **********
 **   18 **HESSE 
 **********

 FCN=   24193.42     FROM HESSE     STATUS=OK           216 CALLS     1052 TOTAL
                     EDM=   .57E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.132        15.631        .24641E-03   -1.5628    
   2  Prefactor     4.5074        95.948        .38012E-03   -1.5666    
   3  norm          8.2078        14.988        .36183E-03   -1.5651    
   4  Prefactor      .0000        2.3688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .20469E-05    17.623        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.2708        8.1561        .34614E-03   -1.5650    
   7  Prefactor     .78140E-05    21.324        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .75229E-06    21.007        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.669        18.620        .28241E-03   -1.5637    
  10  norm          11.893        9.9496        .29095E-03   -1.5639    
  11  norm          .55511E-10    3.1597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .32752E-08    7.0295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.4835        5.0200        .47435E-03   -1.5666    
  14  Normalizat    .95923        .12245        .97328E-01   -.94409    
  15  Prefactor     .96820        .38804E-01    .30594E-01   -.93797    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.66783e-07
Minuit parameter uncertainties:
  1  15.631
  2  41.5931
  3  14.9876
  4  1.33383e-05
  5  0.012012
  6  8.15608
  7  0.0258165
  8  0.00795074
  9  18.6203
  10  9.94963
  11  2.47568e-05
  12  0.000304647
  13  5.01999
  14  0.122485
  15  0.0388048
Done.

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

Extracting fit parameters...

4FGL J0354.7+8009
   Spectrum: PowerLaw
234    Prefactor:  7.814e-06  2.582e-02  0.000e+00  1.000e+06 ( 1.000e-13)
235        Index:  2.266e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
236        Scale:  1.581e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  9.682e-01  3.880e-02  0.000e+00  1.000e+01 ( 1.000e+00)
679        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
680        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
677   Normalization:  9.592e-01  1.225e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 58.692 80.165
Photon Flux Upper Limit: 5.26669516151e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00403202217802 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31070566/likelihoodResults_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24193.4500319
delta logL = -0.034968557331

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 24192.3264418
delta logL = 1.08862150868

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   24193.42     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      610 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .11387        .42118E-03** at limit **
   2  Index         .14010        .37058        .56112E-06     .0000    
   3  Normalizat    .95923        1.2768        .60766E-05    .39948E-04
   4  Prefactor     .96820        1.3115       -.88775E-06    .54831E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.140096
  Normalizat = 0.959225
  Prefactor  = 0.968204
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24193.42     FROM HESSE     STATUS=FAILED         9 CALLS      619 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .11387        .42118E-03   -.14056E+06
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.3323        .94430        .56112E-06   -.38670E+07
   3  Normalizat    .95923        1.2768        .60766E-05   -648.11    
   4  Prefactor     .96820        1.3115       -.88775E-06   -1722.5    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.65539e-12
Minuit parameter uncertainties:
  1  2.501e-07
  2  0.377013
  3  1.32113
  4  1.35883
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) = 24193.4150631
delta logL = 1.7812999431e-07

Extracting fit parameters...

4FGL J0354.7+8009
   Spectrum: PowerLaw
234    Prefactor:  0.000e+00  2.501e-07  0.000e+00  1.000e+06 ( 1.000e-13)
235        Index:  1.401e-01  3.770e-01  0.000e+00  1.000e+01 (-1.000e+00)
236        Scale:  1.581e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  9.682e-01  1.359e+00  0.000e+00  1.000e+01 ( 1.000e+00)
679        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
680        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
677   Normalization:  9.592e-01  1.321e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 58.692 80.165

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/31070566/cmap_HighResolution_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.03e-03', job_status='DONE', photon_flux_upper_limit='5.27e-08', time_completed='2026-07-08 18:11:22.191656', job_id='31070566', GAL2='0.97', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1783559482.19', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.78e-07', ts2='0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='2176' AND source_name='4FGL J0354.7+8009' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul  8 18:11:22 PDT 2026

070700/ft2_4FGL_J0354.7+8009_daily_bin2176.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31070700/Model_4FGL_J0354.7+8009_daily_bin2176.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
adding source HB 3
adding source W 3
Working on...
/lscratch/kocevski/31070700/ft1_filtered_4FGL_J0354.7+8009_daily_bin2176.fits.....................!
real 135.22
user 131.17
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31070700/ft1_filtered_4FGL_J0354.7+8009_daily_bin2176.fits', '/lscratch/kocevski/31070700/ft2_4FGL_J0354.7+8009_daily_bin2176.fits', expMap='/lscratch/kocevski/31070700/expmap_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.fits', expCube='/lscratch/kocevski/31070700/ltcube_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31070700/Model_4FGL_J0354.7+8009_daily_bin2176.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0354.7+8009'

4FGL J0354.7+8009
   Spectrum: PowerLaw
234    Prefactor:  1.353e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
235        Index:  2.266e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
236        Scale:  1.581e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31070700/ft1_filtered_4FGL_J0354.7+8009_daily_bin2176.fits
Spacecraft file(s): /lscratch/kocevski/31070700/ft2_4FGL_J0354.7+8009_daily_bin2176.fits
Exposure map: /lscratch/kocevski/31070700/expmap_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.fits
Exposure cube: /lscratch/kocevski/31070700/ltcube_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31070700/Model_4FGL_J0354.7+8009_daily_bin2176.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) = 24194.2113966

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.484       1.0000          .0000       .10000E+07
     2 'Prefactor '    6.9572       1.0000          .0000       .10000E+07
     3 'norm      '    7.6712       1.0000          .0000       .10000E+07
     4 'Prefactor '    .35817E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .72387E-02   1.0000          .0000       .10000E+07
     6 'norm      '    8.3763       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10458E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10167E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    12.559       1.0000          .0000       .10000E+07
    10 'norm      '    11.834       1.0000          .0000       .10000E+07
    11 'norm      '    .55511E-09   1.0000          .0000       .10000E+07
    12 'Prefactor '    .97153E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.5006       1.0000          .0000       .10000E+07
    14 'Normalizat'    .95965       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .96769       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24193.42     FROM MIGRAD    STATUS=CONVERGED    126 CALLS      836 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.132        14.811        .29316E-07    .53086E-01
   2  Prefactor     4.5074        89.039        .72993E-06    .72521E-03
   3  norm          8.2078        14.499        .26114E-06   -.36858E-02
   4  Prefactor      .0000        2.3890       -.34903E-06** at limit **
   5  Prefactor     .20469E-05    13.897       -.14376E-08** at limit **
   6  norm          8.2708        8.1585        .56208E-07    .26409E-03
   7  Prefactor     .78140E-05    7.4158        .17111E-06** at limit **
   8  Prefactor     .75229E-06    19.711        .75232E-06** at limit **
   9  Prefactor     12.669        4.0099        .12410E-07    .29821E-01
  10  norm          11.893        9.9464        .39487E-06    .55516E-02
  11  norm          .55511E-10    3.1523        .10280E-06** at limit **
  12  Prefactor     .32752E-08    6.9705        .78192E-07** at limit **
  13  Prefactor     4.4835        5.0091        .62654E-07    .32118E-03
  14  Normalizat    .95923        .12781        .68357E-06    .47994E-04
  15  Prefactor     .96820        .41389E-01    .44653E-06    .86013E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.132
  Prefactor  = 4.50744
  norm       = 8.20779
  Prefactor  = 0
  Prefactor  = 2.04686e-06
  norm       = 8.2708
  Prefactor  = 7.81397e-06
  Prefactor  = 7.52287e-07
  Prefactor  = 12.6686
  norm       = 11.8933
  norm       = 5.55112e-11
  Prefactor  = 3.27516e-09
  Prefactor  = 4.48354
  Normalizat = 0.959225
  Prefactor  = 0.968204
Done.

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

Extracting fit parameters...

4FGL J0354.7+8009
   Spectrum: PowerLaw
234    Prefactor:  7.814e-06  2.582e-02  0.000e+00  1.000e+06 ( 1.000e-13)
235        Index:  2.266e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
236        Scale:  1.581e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  9.682e-01  3.880e-02  0.000e+00  1.000e+01 ( 1.000e+00)
679        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
680        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
677   Normalization:  9.592e-01  1.225e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 58.692 80.165
Photon Flux Upper Limit: 5.26669516151e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00403202217802 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31070652/likelihoodResults_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24193.4500319
delta logL = -0.034968557331

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 24192.3264418
delta logL = 1.08862150868

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   24193.42     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      610 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .11387        .42118E-03** at limit **
   2  Index         .14010        .37058        .56112E-06     .0000    
   3  Normalizat    .95923        1.2768        .60766E-05    .39948E-04
   4  Prefactor     .96820        1.3115       -.88775E-06    .54831E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.140096
  Normalizat = 0.959225
  Prefactor  = 0.968204
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24193.42     FROM HESSE     STATUS=FAILED         9 CALLS      619 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .11387        .42118E-03   -.14056E+06
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.3323        .94430        .56112E-06   -.38670E+07
   3  Normalizat    .95923        1.2768        .60766E-05   -648.11    
   4  Prefactor     .96820        1.3115       -.88775E-06   -1722.5    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.65539e-12
Minuit parameter uncertainties:
  1  2.501e-07
  2  0.377013
  3  1.32113
  4  1.35883
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) = 24193.4150631
delta logL = 1.7812999431e-07

Extracting fit parameters...

4FGL J0354.7+8009
   Spectrum: PowerLaw
234    Prefactor:  0.000e+00  2.501e-07  0.000e+00  1.000e+06 ( 1.000e-13)
235        Index:  1.401e-01  3.770e-01  0.000e+00  1.000e+01 (-1.000e+00)
236        Scale:  1.581e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  9.682e-01  1.359e+00  0.000e+00  1.000e+01 ( 1.000e+00)
679        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
680        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
677   Normalization:  9.592e-01  1.321e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 58.692 80.165

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/31070652/cmap_HighResolution_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.03e-03', job_status='DONE', photon_flux_upper_limit='5.27e-08', time_completed='2026-07-08 18:13:18.366408', job_id='31070652', GAL2='0.97', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1783559598.37', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.78e-07', ts2='0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='2176' AND source_name='4FGL J0354.7+8009' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul  8 18:13:18 PDT 2026

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

 FCN=   24193.42     FROM HESSE     STATUS=OK           216 CALLS     1052 TOTAL
                     EDM=   .57E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.132        15.631        .24641E-03   -1.5628    
   2  Prefactor     4.5074        95.948        .38012E-03   -1.5666    
   3  norm          8.2078        14.988        .36183E-03   -1.5651    
   4  Prefactor      .0000        2.3688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .20469E-05    17.623        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.2708        8.1561        .34614E-03   -1.5650    
   7  Prefactor     .78140E-05    21.324        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .75229E-06    21.007        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.669        18.620        .28241E-03   -1.5637    
  10  norm          11.893        9.9496        .29095E-03   -1.5639    
  11  norm          .55511E-10    3.1597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .32752E-08    7.0295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.4835        5.0200        .47435E-03   -1.5666    
  14  Normalizat    .95923        .12245        .97328E-01   -.94409    
  15  Prefactor     .96820        .38804E-01    .30594E-01   -.93797    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.66783e-07
Minuit parameter uncertainties:
  1  15.631
  2  41.5931
  3  14.9876
  4  1.33383e-05
  5  0.012012
  6  8.15608
  7  0.0258165
  8  0.00795074
  9  18.6203
  10  9.94963
  11  2.47568e-05
  12  0.000304647
  13  5.01999
  14  0.122485
  15  0.0388048
Done.

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

Extracting fit parameters...

4FGL J0354.7+8009
   Spectrum: PowerLaw
234    Prefactor:  7.814e-06  2.582e-02  0.000e+00  1.000e+06 ( 1.000e-13)
235        Index:  2.266e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
236        Scale:  1.581e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  9.682e-01  3.880e-02  0.000e+00  1.000e+01 ( 1.000e+00)
679        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
680        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
677   Normalization:  9.592e-01  1.225e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 58.692 80.165
Photon Flux Upper Limit: 5.26669516151e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00403202217802 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31070668/likelihoodResults_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24193.4500319
delta logL = -0.034968557331

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 24192.3264418
delta logL = 1.08862150868

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   24193.42     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      610 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .11387        .42118E-03** at limit **
   2  Index         .14010        .37058        .56112E-06     .0000    
   3  Normalizat    .95923        1.2768        .60766E-05    .39948E-04
   4  Prefactor     .96820        1.3115       -.88775E-06    .54831E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.140096
  Normalizat = 0.959225
  Prefactor  = 0.968204
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24193.42     FROM HESSE     STATUS=FAILED         9 CALLS      619 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .11387        .42118E-03   -.14056E+06
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.3323        .94430        .56112E-06   -.38670E+07
   3  Normalizat    .95923        1.2768        .60766E-05   -648.11    
   4  Prefactor     .96820        1.3115       -.88775E-06   -1722.5    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.65539e-12
Minuit parameter uncertainties:
  1  2.501e-07
  2  0.377013
  3  1.32113
  4  1.35883
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) = 24193.4150631
delta logL = 1.7812999431e-07

Extracting fit parameters...

4FGL J0354.7+8009
   Spectrum: PowerLaw
234    Prefactor:  0.000e+00  2.501e-07  0.000e+00  1.000e+06 ( 1.000e-13)
235        Index:  1.401e-01  3.770e-01  0.000e+00  1.000e+01 (-1.000e+00)
236        Scale:  1.581e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  9.682e-01  1.359e+00  0.000e+00  1.000e+01 ( 1.000e+00)
679        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
680        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
677   Normalization:  9.592e-01  1.321e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 58.692 80.165

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/31070668/cmap_HighResolution_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.03e-03', job_status='DONE', photon_flux_upper_limit='5.27e-08', time_completed='2026-07-08 18:13:43.847369', job_id='31070668', GAL2='0.97', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1783559623.85', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.78e-07', ts2='0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='2176' AND source_name='4FGL J0354.7+8009' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul  8 18:13:43 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0354.7+8009
   Spectrum: PowerLaw
234    Prefactor:  7.814e-06  2.582e-02  0.000e+00  1.000e+06 ( 1.000e-13)
235        Index:  2.266e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
236        Scale:  1.581e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  9.682e-01  3.880e-02  0.000e+00  1.000e+01 ( 1.000e+00)
679        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
680        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
677   Normalization:  9.592e-01  1.225e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 58.692 80.165
Photon Flux Upper Limit: 5.26669516151e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00403202217802 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31070656/likelihoodResults_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24193.4500319
delta logL = -0.034968557331

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 24192.3264418
delta logL = 1.08862150868

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   24193.42     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      610 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .11387        .42118E-03** at limit **
   2  Index         .14010        .37058        .56112E-06     .0000    
   3  Normalizat    .95923        1.2768        .60766E-05    .39948E-04
   4  Prefactor     .96820        1.3115       -.88775E-06    .54831E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.140096
  Normalizat = 0.959225
  Prefactor  = 0.968204
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24193.42     FROM HESSE     STATUS=FAILED         9 CALLS      619 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .11387        .42118E-03   -.14056E+06
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.3323        .94430        .56112E-06   -.38670E+07
   3  Normalizat    .95923        1.2768        .60766E-05   -648.11    
   4  Prefactor     .96820        1.3115       -.88775E-06   -1722.5    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.65539e-12
Minuit parameter uncertainties:
  1  2.501e-07
  2  0.377013
  3  1.32113
  4  1.35883
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) = 24193.4150631
delta logL = 1.7812999431e-07

Extracting fit parameters...

4FGL J0354.7+8009
   Spectrum: PowerLaw
234    Prefactor:  0.000e+00  2.501e-07  0.000e+00  1.000e+06 ( 1.000e-13)
235        Index:  1.401e-01  3.770e-01  0.000e+00  1.000e+01 (-1.000e+00)
236        Scale:  1.581e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  9.682e-01  1.359e+00  0.000e+00  1.000e+01 ( 1.000e+00)
679        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
680        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
677   Normalization:  9.592e-01  1.321e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 58.692 80.165

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/31070656/cmap_HighResolution_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.03e-03', job_status='DONE', photon_flux_upper_limit='5.27e-08', time_completed='2026-07-08 18:14:10.625886', job_id='31070656', GAL2='0.97', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1783559650.63', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.78e-07', ts2='0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='2176' AND source_name='4FGL J0354.7+8009' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul  8 18:14:10 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0354.7+8009
   Spectrum: PowerLaw
234    Prefactor:  7.814e-06  2.582e-02  0.000e+00  1.000e+06 ( 1.000e-13)
235        Index:  2.266e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
236        Scale:  1.581e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  9.682e-01  3.880e-02  0.000e+00  1.000e+01 ( 1.000e+00)
679        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
680        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
677   Normalization:  9.592e-01  1.225e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 58.692 80.165
Photon Flux Upper Limit: 5.26669516151e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00403202217802 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31070700/likelihoodResults_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24193.4500319
delta logL = -0.034968557331

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 24192.3264418
delta logL = 1.08862150868

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   24193.42     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      610 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .11387        .42118E-03** at limit **
   2  Index         .14010        .37058        .56112E-06     .0000    
   3  Normalizat    .95923        1.2768        .60766E-05    .39948E-04
   4  Prefactor     .96820        1.3115       -.88775E-06    .54831E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.140096
  Normalizat = 0.959225
  Prefactor  = 0.968204
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24193.42     FROM HESSE     STATUS=FAILED         9 CALLS      619 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .11387        .42118E-03   -.14056E+06
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.3323        .94430        .56112E-06   -.38670E+07
   3  Normalizat    .95923        1.2768        .60766E-05   -648.11    
   4  Prefactor     .96820        1.3115       -.88775E-06   -1722.5    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.65539e-12
Minuit parameter uncertainties:
  1  2.501e-07
  2  0.377013
  3  1.32113
  4  1.35883
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) = 24193.4150631
delta logL = 1.7812999431e-07

Extracting fit parameters...

4FGL J0354.7+8009
   Spectrum: PowerLaw
234    Prefactor:  0.000e+00  2.501e-07  0.000e+00  1.000e+06 ( 1.000e-13)
235        Index:  1.401e-01  3.770e-01  0.000e+00  1.000e+01 (-1.000e+00)
236        Scale:  1.581e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  9.682e-01  1.359e+00  0.000e+00  1.000e+01 ( 1.000e+00)
679        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
680        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
677   Normalization:  9.592e-01  1.321e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 58.692 80.165

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/31070700/cmap_HighResolution_803347201_803606401_4FGL_J0354.7+8009_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.03e-03', job_status='DONE', photon_flux_upper_limit='5.27e-08', time_completed='2026-07-08 18:16:48.525820', job_id='31070700', GAL2='0.97', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1783559808.53', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.78e-07', ts2='0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='2176' AND source_name='4FGL J0354.7+8009' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul  8 18:16:48 PDT 2026

