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

 FCN=   8156.062     FROM HESSE     STATUS=OK           165 CALLS      832 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .24813E-07    263.49        .61120E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .88818E-09    12.756        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .11102E-09    4.3669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.2257        2.3748        .56276E-03   -1.5672    
   5  Prefactor     8.5782        6.2126        .34092E-03   -1.5649    
   6  Prefactor     .14988E-08    18.293        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .36712        .25667        .85556E-03   -1.5696    
   8  norm          1.9997        1.0797        .73199E-04   -1.5680    
   9  Prefactor     .72164E-09    10.795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.0915        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .33477        1.2785        .96203E-03   -1.5696    
  12  Normalizat    .89464        .14959        .44812E-01   -.96649    
  13  Prefactor     1.0994        .13407        .37593E-01   -.89486    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24254e-08
Minuit parameter uncertainties:
  1  0.00511239
  2  0.000212844
  3  4.25929e-05
  4  2.37479
  5  6.2126
  6  0.00033222
  7  0.256674
  8  1.07968
  9  0.000174639
  10  1.55804e-06
  11  1.27845
  12  0.149661
  13  0.134115
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

/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)
/lscratch/kocevski/31281673/ltcube_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.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/31281673/ft2_4FGL_J1104.4+0730_daily_bin2178.fits
.....................!
real 8.90
user 8.26
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31281673/ft1_filtered_4FGL_J1104.4+0730_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31281673/ft2_4FGL_J1104.4+0730_daily_bin2178.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31281673/ltcube_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.fits outfile=/lscratch/kocevski/31281673/expmap_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.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/31281673/ltcube_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.fits
.....................!
real 70.30
user 65.32
sys 4.09

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

Setting source of interest to:
4FGL J1104.4+0730 @ 166.117 7.51

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31281673/ft1_filtered_4FGL_J1104.4+0730_daily_bin2178.fits scfile=/lscratch/kocevski/31281673/ft2_4FGL_J1104.4+0730_daily_bin2178.fits outfile=/lscratch/kocevski/31281673/cmap_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.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=166.117 yref=7.51 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.69
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31281673/ft1_filtered_4FGL_J1104.4+0730_daily_bin2178.fits scfile=/lscratch/kocevski/31281673/ft2_4FGL_J1104.4+0730_daily_bin2178.fits outfile=/lscratch/kocevski/31281673/cmap_HighResolution_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.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=166.117 yref=7.51 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.83
user 0.23
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31281673/ft1_filtered_4FGL_J1104.4+0730_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31281673/ft2_4FGL_J1104.4+0730_daily_bin2178.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31281673/Model_4FGL_J1104.4+0730_daily_bin2178.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on
WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.

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

Extracting fit parameters...

4FGL J1104.4+0730
   Spectrum: PowerLaw
262    Prefactor:  7.216e-10  1.746e-04  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.342e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.054e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
585    Prefactor:  1.099e+00  1.341e-01  0.000e+00  1.000e+01 ( 1.000e+00)
586        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
587        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
584   Normalization:  8.946e-01  1.497e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 166.117 7.510
Photon Flux Upper Limit: 5.32458716322e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00409835383114 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31281567/likelihoodResults_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8156.10762609
delta logL = -0.0457396376487

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8156.04135875
delta logL = 0.0205277051873

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8156.041     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      238 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .25836        2.6236        .27141E-02    .18444E-01
   2  Index         3.8545        .41085        .50000        .50575E-05
   3  Normalizat    .88582        .68532E-02    .44720E-01    .15296E-04
   4  Prefactor     1.1033        .63235E-02    .37462E-01    .56189E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.258358
  Index      = 3.85445
  Normalizat = 0.885819
  Prefactor  = 1.10326
 **********
 **   18 **HESSE 
 **********

 FCN=   8156.041     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      273 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .25836        295.95        .15581E-03   -1.5698    
   2  Index         3.8545        5.6937        .40651E-02   -.23116    
   3  Normalizat    .88582        .12024        .26017E-03   -.96960    
   4  Prefactor     1.1033        .99330E-01    .21649E-03   -.89363    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.576e-09
Minuit parameter uncertainties:
  1  17.4893
  2  29.2198
  3  0.12028
  4  0.0993462
/lscratch/kocevski/31281676/ltcube_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.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/31281676/ft2_4FGL_J1104.4+0730_daily_bin2178.fits
.....................!
real 8.75
user 8.13
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31281676/ft1_filtered_4FGL_J1104.4+0730_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31281676/ft2_4FGL_J1104.4+0730_daily_bin2178.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31281676/ltcube_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.fits outfile=/lscratch/kocevski/31281676/expmap_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.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/31281676/ltcube_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.fits
.....................!
real 67.97
user 63.23
sys 3.96

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

Setting source of interest to:
4FGL J1104.4+0730 @ 166.117 7.51

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31281676/ft1_filtered_4FGL_J1104.4+0730_daily_bin2178.fits scfile=/lscratch/kocevski/31281676/ft2_4FGL_J1104.4+0730_daily_bin2178.fits outfile=/lscratch/kocevski/31281676/cmap_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.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=166.117 yref=7.51 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.69
user 0.20
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31281676/ft1_filtered_4FGL_J1104.4+0730_daily_bin2178.fits scfile=/lscratch/kocevski/31281676/ft2_4FGL_J1104.4+0730_daily_bin2178.fits outfile=/lscratch/kocevski/31281676/cmap_HighResolution_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.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=166.117 yref=7.51 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.80
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31281676/ft1_filtered_4FGL_J1104.4+0730_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31281676/ft2_4FGL_J1104.4+0730_daily_bin2178.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31281676/Model_4FGL_J1104.4+0730_daily_bin2178.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working onshell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8156.04135058
delta logL = 0.0205358803632

Extracting fit parameters...

4FGL J1104.4+0730
   Spectrum: PowerLaw
262    Prefactor:  2.584e-01  1.749e+01  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  3.854e+00  2.922e+01  0.000e+00  1.000e+01 (-1.000e+00)
264        Scale:  1.054e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
585    Prefactor:  1.103e+00  9.935e-02  0.000e+00  1.000e+01 ( 1.000e+00)
586        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
587        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
584   Normalization:  8.858e-01  1.203e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 166.117 7.510

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/31281567/cmap_HighResolution_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.10e-03', job_status='DONE', photon_flux_upper_limit='5.32e-08', time_completed='2026-07-10 19:05:18.409362', job_id='31281567', GAL2='1.10', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1783735518.41', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='2.05e-02', ts2='0.05', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='2178' AND source_name='4FGL J1104.4+0730' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 10 19:05:18 PDT 2026

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


Performing analysis on: 4FGL_J1104.4+0730_daily_bin2178
RA = 166.117, Dec = 7.51
tmin = 803865601, tmax = 804124801
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='31281742', job_status='RUN', time_executed='2026-07-10 19:02:46.235878', time_epoch_executed='1783735366.24' WHERE source_name='4FGL J1104.4+0730' and cadence='daily' and bin_id='2178'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31281742

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31281742/ft1_4FGL_J1104.4+0730_daily_bin2178.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31281742/ft2_4FGL_J1104.4+0730_daily_bin2178.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31281742/ft1_4FGL_J1104.4+0730_daily_bin2178.fits outfile=/lscratch/kocevski/31281742/ft1_filteredMKT_4FGL_J1104.4+0730_daily_bin2178.fits ra=166.117 dec=7.51 rad=12.0 tmin=803865601.0 tmax=804124801.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.11
user 1.48
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31281742/ft2_4FGL_J1104.4+0730_daily_bin2178.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31281742/ft2_4FGL_J1104.4+0730_daily_bin2178.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/31281742/ft1_filteredMKT_4FGL_J1104.4+0730_daily_bin2178.fits evtable="EVENTS" outfile="/lscratch/kocevski/31281742/ft1_filtered_4FGL_J1104.4+0730_daily_bin2178.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 735

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31281742/ft1_filtered_4FGL_J1104.4+0730_daily_bin2178.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31281742/ft2_4FGL_J1104.4+0730_daily_bin2178.fits sctable="SC_DATA" outfile=...
/lscratch/kocevski/31281631/ft1_filtered_4FGL_J1104.4+0730_daily_bin2178.fits.....................!
real 31.34
user 29.46
sys 0.94

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31281631/ft1_filtered_4FGL_J1104.4+0730_daily_bin2178.fits', '/lscratch/kocevski/31281631/ft2_4FGL_J1104.4+0730_daily_bin2178.fits', expMap='/lscratch/kocevski/31281631/expmap_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.fits', expCube='/lscratch/kocevski/31281631/ltcube_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31281631/Model_4FGL_J1104.4+0730_daily_bin2178.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1104.4+0730'

4FGL J1104.4+0730
   Spectrum: PowerLaw
262    Prefactor:  5.865e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.342e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.054e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31281631/ft1_filtered_4FGL_J1104.4+0730_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31281631/ft2_4FGL_J1104.4+0730_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31281631/expmap_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31281631/ltcube_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31281631/Model_4FGL_J1104.4+0730_daily_bin2178.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) = 8156.18795983

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7703       1.0000          .0000       .10000E+07
     2 'Prefactor '    .62545E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .89982E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.2367       1.0000          .0000       .10000E+07
     5 'Prefactor '    8.6331       1.0000          .0000       .10000E+07
     6 'Prefactor '    .25534E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .36727       1.0000          .0000       .10000E+07
     8 'norm      '    2.0003       1.0000          .0000       .10000E+07
     9 'Prefactor '    .27822E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .14033E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .34464       1.0000          .0000       .10000E+07
    12 'Normalizat'    .89303       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0998       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5880E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8156.062     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      667 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .24813E-07    262.12        .50237E-05** at limit **
   2  Prefactor     .88818E-09    12.645        .64796E-06** at limit **
   3  Prefactor     .11102E-09    4.3241       -.53728E-06** at limit **
   4  Prefactor     3.2257        2.3574        .14212E-06    .20228E-02
   5  Prefactor     8.5782        6.2134        .18095E-06   -.11102E-02
   6  Prefactor     .14988E-08    18.595        .86142E-06** at limit **
   7  norm          .36712        .26113        .20104E-07    .14170E-01
   8  norm          1.9997        1.0786        .12769E-06   -.35311E-02
   9  Prefactor     .72164E-09    10.697       -.21843E-05** at limit **
  10  norm           .0000        2.0871       -.29065E-06** at limit **
  11  Prefactor     .33477        1.2598        .43205E-07    .88005E-03
  12  Normalizat    .89464        .16972       -.25244E-04    .21572E-04
  13  Prefactor     1.0994        .15246        .10192E-04    .10195E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.48135e-08
  Prefactor  = 8.88178e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 3.22572
  Prefactor  = 8.57819
  Prefactor  = 1.4988e-09
  norm       = 0.367122
  norm       = 1.99973
  Prefactor  = 7.21645e-10
  norm       = 0
  Prefactor  = 0.334773
  Normalizat = 0.894635
  Prefactor  = 1.09939
 **********
 **   18 **HESSE 
 **********

 FCN=   8156.062     FROM HESSE     STATUS=OK           165 CALLS      832 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .24813E-07    263.49        .61120E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .88818E-09    12.756        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .11102E-09    4.3669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.2257        2.3748        .56276E-03   -1.5672    
   5  Prefactor     8.5782        6.2126        .34092E-03   -1.5649    
   6  Prefactor     .14988E-08    18.293        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .36712        .25667        .85556E-03   -1.5696    
   8  norm          1.9997        1.0797        .73199E-04   -1.5680    
   9  Prefactor     .72164E-09    10.795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.0915        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .33477        1.2785        .96203E-03   -1.5696    
  12  Normalizat    .89464        .14959        .44812E-01   -.96649    
  13  Prefactor     1.0994        .13407        .37593E-01   -.89486    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24254e-08
Minuit parameter uncertainties:
  1  0.00511239
  2  0.000212844
  3  4.25929e-05
  4  2.37479
  5  6.2126
  6  0.00033222
  7  0.256674
  8  1.07968
  9  0.000174639
  10  1.55804e-06
  11  1.27845
  12  0.149661
  13  0.134115
/lscratch/kocevski/31281675/ltcube_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.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/31281675/ft2_4FGL_J1104.4+0730_daily_bin2178.fits
.....................!
real 9.50
user 8.61
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31281675/ft1_filtered_4FGL_J1104.4+0730_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31281675/ft2_4FGL_J1104.4+0730_daily_bin2178.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31281675/ltcube_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.fits outfile=/lscratch/kocevski/31281675/expmap_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.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/31281675/ltcube_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.fits
.....................!
real 73.25
user 67.94
sys 4.29

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

Setting source of interest to:
4FGL J1104.4+0730 @ 166.117 7.51

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31281675/ft1_filtered_4FGL_J1104.4+0730_daily_bin2178.fits scfile=/lscratch/kocevski/31281675/ft2_4FGL_J1104.4+0730_daily_bin2178.fits outfile=/lscratch/kocevski/31281675/cmap_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.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=166.117 yref=7.51 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.98
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31281675/ft1_filtered_4FGL_J1104.4+0730_daily_bin2178.fits scfile=/lscratch/kocevski/31281675/ft2_4FGL_J1104.4+0730_daily_bin2178.fits outfile=/lscratch/kocevski/31281675/cmap_HighResolution_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.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=166.117 yref=7.51 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.91
user 0.25
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31281675/ft1_filtered_4FGL_J1104.4+0730_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31281675/ft2_4FGL_J1104.4+0730_daily_bin2178.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31281675/Model_4FGL_J1104.4+0730_daily_bin2178.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working onDone.

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

Extracting fit parameters...

4FGL J1104.4+0730
   Spectrum: PowerLaw
262    Prefactor:  7.216e-10  1.746e-04  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.342e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.054e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
585    Prefactor:  1.099e+00  1.341e-01  0.000e+00  1.000e+01 ( 1.000e+00)
586        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
587        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
584   Normalization:  8.946e-01  1.497e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 166.117 7.510
Photon Flux Upper Limit: 5.32458716322e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00409835383114 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31281631/likelihoodResults_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8156.10762609
delta logL = -0.0457396376487

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8156.04135875
delta logL = 0.0205277051873

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8156.041     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      238 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .25836        2.6236        .27141E-02    .18444E-01
   2  Index         3.8545        .41085        .50000        .50575E-05
   3  Normalizat    .88582        .68532E-02    .44720E-01    .15296E-04
   4  Prefactor     1.1033        .63235E-02    .37462E-01    .56189E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.258358
  Index      = 3.85445
  Normalizat = 0.885819
  Prefactor  = 1.10326
 **********
 **   18 **HESSE 
 **********

 FCN=   8156.041     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      273 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .25836        295.95        .15581E-03   -1.5698    
   2  Index         3.8545        5.6937        .40651E-02   -.23116    
   3  Normalizat    .88582        .12024        .26017E-03   -.96960    
   4  Prefactor     1.1033        .99330E-01    .21649E-03   -.89363    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.576e-09
Minuit parameter uncertainties:
  1  17.4893
  2  29.2198
  3  0.12028
  4  0.0993462
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8156.04135058
delta logL = 0.0205358803632

Extracting fit parameters...

4FGL J1104.4+0730
   Spectrum: PowerLaw
262    Prefactor:  2.584e-01  1.749e+01  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  3.854e+00  2.922e+01  0.000e+00  1.000e+01 (-1.000e+00)
264        Scale:  1.054e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
585    Prefactor:  1.103e+00  9.935e-02  0.000e+00  1.000e+01 ( 1.000e+00)
586        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
587        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
584   Normalization:  8.858e-01  1.203e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 166.117 7.510

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/31281631/cmap_HighResolution_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.10e-03', job_status='DONE', photon_flux_upper_limit='5.32e-08', time_completed='2026-07-10 19:05:54.582338', job_id='31281631', GAL2='1.10', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1783735554.58', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='2.05e-02', ts2='0.05', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='2178' AND source_name='4FGL J1104.4+0730' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 10 19:05:55 PDT 2026

...
/lscratch/kocevski/31281673/ft1_filtered_4FGL_J1104.4+0730_daily_bin2178.fits.....................!
real 29.56
user 27.89
sys 1.02

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31281673/ft1_filtered_4FGL_J1104.4+0730_daily_bin2178.fits', '/lscratch/kocevski/31281673/ft2_4FGL_J1104.4+0730_daily_bin2178.fits', expMap='/lscratch/kocevski/31281673/expmap_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.fits', expCube='/lscratch/kocevski/31281673/ltcube_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31281673/Model_4FGL_J1104.4+0730_daily_bin2178.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1104.4+0730'

4FGL J1104.4+0730
   Spectrum: PowerLaw
262    Prefactor:  5.865e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.342e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.054e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31281673/ft1_filtered_4FGL_J1104.4+0730_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31281673/ft2_4FGL_J1104.4+0730_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31281673/expmap_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31281673/ltcube_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31281673/Model_4FGL_J1104.4+0730_daily_bin2178.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) = 8156.18795983

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7703       1.0000          .0000       .10000E+07
     2 'Prefactor '    .62545E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .89982E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.2367       1.0000          .0000       .10000E+07
     5 'Prefactor '    8.6331       1.0000          .0000       .10000E+07
     6 'Prefactor '    .25534E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .36727       1.0000          .0000       .10000E+07
     8 'norm      '    2.0003       1.0000          .0000       .10000E+07
     9 'Prefactor '    .27822E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .14033E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .34464       1.0000          .0000       .10000E+07
    12 'Normalizat'    .89303       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0998       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5880E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8156.062     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      667 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .24813E-07    262.12        .50237E-05** at limit **
   2  Prefactor     .88818E-09    12.645        .64796E-06** at limit **
   3  Prefactor     .11102E-09    4.3241       -.53728E-06** at limit **
   4  Prefactor     3.2257        2.3574        .14212E-06    .20228E-02
   5  Prefactor     8.5782        6.2134        .18095E-06   -.11102E-02
   6  Prefactor     .14988E-08    18.595        .86142E-06** at limit **
   7  norm          .36712        .26113        .20104E-07    .14170E-01
   8  norm          1.9997        1.0786        .12769E-06   -.35311E-02
   9  Prefactor     .72164E-09    10.697       -.21843E-05** at limit **
  10  norm           .0000        2.0871       -.29065E-06** at limit **
  11  Prefactor     .33477        1.2598        .43205E-07    .88005E-03
  12  Normalizat    .89464        .16972       -.25244E-04    .21572E-04
  13  Prefactor     1.0994        .15246        .10192E-04    .10195E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.48135e-08
  Prefactor  = 8.88178e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 3.22572
  Prefactor  = 8.57819
  Prefactor  = 1.4988e-09
  norm       = 0.367122
  norm       = 1.99973
  Prefactor  = 7.21645e-10
  norm       = 0
  Prefactor  = 0.334773
  Normalizat = 0.894635
  Prefactor  = 1.09939
 **********
 **   18 **HESSE 
 **********

 FCN=   8156.062     FROM HESSE     STATUS=OK           165 CALLS      832 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .24813E-07    263.49        .61120E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .88818E-09    12.756        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .11102E-09    4.3669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.2257        2.3748        .56276E-03   -1.5672    
   5  Prefactor     8.5782        6.2126        .34092E-03   -1.5649    
   6  Prefactor     .14988E-08    18.293        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .36712        .25667        .85556E-03   -1.5696    
   8  norm          1.9997        1.0797        .73199E-04   -1.5680    
   9  Prefactor     .72164E-09    10.795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.0915        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .33477        1.2785        .96203E-03   -1.5696    
  12  Normalizat    .89464        .14959        .44812E-01   -.96649    
  13  Prefactor     1.0994        .13407        .37593E-01   -.89486    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24254e-08
Minuit parameter uncertainties:
  1  0.00511239
  2  0.000212844
  3  4.25929e-05
  4  2.37479
  5  6.2126
  6  0.00033222
  7  0.256674
  8  1.07968
  9  0.000174639
  10  1.55804e-06
  11  1.27845
  12  0.149661
  13  0.134115
...
/lscratch/kocevski/31281676/ft1_filtered_4FGL_J1104.4+0730_daily_bin2178.fits.....................!
real 29.22
user 27.45
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31281676/ft1_filtered_4FGL_J1104.4+0730_daily_bin2178.fits', '/lscratch/kocevski/31281676/ft2_4FGL_J1104.4+0730_daily_bin2178.fits', expMap='/lscratch/kocevski/31281676/expmap_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.fits', expCube='/lscratch/kocevski/31281676/ltcube_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31281676/Model_4FGL_J1104.4+0730_daily_bin2178.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1104.4+0730'

4FGL J1104.4+0730
   Spectrum: PowerLaw
262    Prefactor:  5.865e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.342e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.054e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31281676/ft1_filtered_4FGL_J1104.4+0730_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31281676/ft2_4FGL_J1104.4+0730_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31281676/expmap_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31281676/ltcube_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31281676/Model_4FGL_J1104.4+0730_daily_bin2178.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) = 8156.18795983

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7703       1.0000          .0000       .10000E+07
     2 'Prefactor '    .62545E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .89982E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.2367       1.0000          .0000       .10000E+07
     5 'Prefactor '    8.6331       1.0000          .0000       .10000E+07
     6 'Prefactor '    .25534E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .36727       1.0000          .0000       .10000E+07
     8 'norm      '    2.0003       1.0000          .0000       .10000E+07
     9 'Prefactor '    .27822E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .14033E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .34464       1.0000          .0000       .10000E+07
    12 'Normalizat'    .89303       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0998       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5880E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8156.062     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      667 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .24813E-07    262.12        .50237E-05** at limit **
   2  Prefactor     .88818E-09    12.645        .64796E-06** at limit **
   3  Prefactor     .11102E-09    4.3241       -.53728E-06** at limit **
   4  Prefactor     3.2257        2.3574        .14212E-06    .20228E-02
   5  Prefactor     8.5782        6.2134        .18095E-06   -.11102E-02
   6  Prefactor     .14988E-08    18.595        .86142E-06** at limit **
   7  norm          .36712        .26113        .20104E-07    .14170E-01
   8  norm          1.9997        1.0786        .12769E-06   -.35311E-02
   9  Prefactor     .72164E-09    10.697       -.21843E-05** at limit **
  10  norm           .0000        2.0871       -.29065E-06** at limit **
  11  Prefactor     .33477        1.2598        .43205E-07    .88005E-03
  12  Normalizat    .89464        .16972       -.25244E-04    .21572E-04
  13  Prefactor     1.0994        .15246        .10192E-04    .10195E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.48135e-08
  Prefactor  = 8.88178e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 3.22572
  Prefactor  = 8.57819
  Prefactor  = 1.4988e-09
  norm       = 0.367122
  norm       = 1.99973
  Prefactor  = 7.21645e-10
  norm       = 0
  Prefactor  = 0.334773
  Normalizat = 0.894635
  Prefactor  = 1.09939
 **********
 **   18 **HESSE 
 **********

 FCN=   8156.062     FROM HESSE     STATUS=OK           165 CALLS      832 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .24813E-07    263.49        .61120E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .88818E-09    12.756        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .11102E-09    4.3669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.2257        2.3748        .56276E-03   -1.5672    
   5  Prefactor     8.5782        6.2126        .34092E-03   -1.5649    
   6  Prefactor     .14988E-08    18.293        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .36712        .25667        .85556E-03   -1.5696    
   8  norm          1.9997        1.0797        .73199E-04   -1.5680    
   9  Prefactor     .72164E-09    10.795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.0915        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .33477        1.2785        .96203E-03   -1.5696    
  12  Normalizat    .89464        .14959        .44812E-01   -.96649    
  13  Prefactor     1.0994        .13407        .37593E-01   -.89486    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24254e-08
Minuit parameter uncertainties:
  1  0.00511239
  2  0.000212844
  3  4.25929e-05
  4  2.37479
  5  6.2126
  6  0.00033222
  7  0.256674
  8  1.07968
  9  0.000174639
  10  1.55804e-06
  11  1.27845
  12  0.149661
  13  0.134115
Done.

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

Extracting fit parameters...

4FGL J1104.4+0730
   Spectrum: PowerLaw
262    Prefactor:  7.216e-10  1.746e-04  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.342e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.054e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
585    Prefactor:  1.099e+00  1.341e-01  0.000e+00  1.000e+01 ( 1.000e+00)
586        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
587        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
584   Normalization:  8.946e-01  1.497e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 166.117 7.510
Photon Flux Upper Limit: 5.32458716322e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00409835383114 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31281673/likelihoodResults_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8156.10762609
delta logL = -0.0457396376487

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8156.04135875
delta logL = 0.0205277051873

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8156.041     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      238 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .25836        2.6236        .27141E-02    .18444E-01
   2  Index         3.8545        .41085        .50000        .50575E-05
   3  Normalizat    .88582        .68532E-02    .44720E-01    .15296E-04
   4  Prefactor     1.1033        .63235E-02    .37462E-01    .56189E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.258358
  Index      = 3.85445
  Normalizat = 0.885819
  Prefactor  = 1.10326
 **********
 **   18 **HESSE 
 **********

 FCN=   8156.041     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      273 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .25836        295.95        .15581E-03   -1.5698    
   2  Index         3.8545        5.6937        .40651E-02   -.23116    
   3  Normalizat    .88582        .12024        .26017E-03   -.96960    
   4  Prefactor     1.1033        .99330E-01    .21649E-03   -.89363    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.576e-09
Minuit parameter uncertainties:
  1  17.4893
  2  29.2198
  3  0.12028
  4  0.0993462
...
/lscratch/kocevski/31281675/ft1_filtered_4FGL_J1104.4+0730_daily_bin2178.fits.....................!
real 31.89
user 29.86
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31281675/ft1_filtered_4FGL_J1104.4+0730_daily_bin2178.fits', '/lscratch/kocevski/31281675/ft2_4FGL_J1104.4+0730_daily_bin2178.fits', expMap='/lscratch/kocevski/31281675/expmap_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.fits', expCube='/lscratch/kocevski/31281675/ltcube_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31281675/Model_4FGL_J1104.4+0730_daily_bin2178.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1104.4+0730'

4FGL J1104.4+0730
   Spectrum: PowerLaw
262    Prefactor:  5.865e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.342e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.054e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31281675/ft1_filtered_4FGL_J1104.4+0730_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31281675/ft2_4FGL_J1104.4+0730_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31281675/expmap_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31281675/ltcube_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31281675/Model_4FGL_J1104.4+0730_daily_bin2178.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) = 8156.18795983

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7703       1.0000          .0000       .10000E+07
     2 'Prefactor '    .62545E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .89982E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.2367       1.0000          .0000       .10000E+07
     5 'Prefactor '    8.6331       1.0000          .0000       .10000E+07
     6 'Prefactor '    .25534E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .36727       1.0000          .0000       .10000E+07
     8 'norm      '    2.0003       1.0000          .0000       .10000E+07
     9 'Prefactor '    .27822E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .14033E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .34464       1.0000          .0000       .10000E+07
    12 'Normalizat'    .89303       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0998       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5880E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8156.062     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      667 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .24813E-07    262.12        .50237E-05** at limit **
   2  Prefactor     .88818E-09    12.645        .64796E-06** at limit **
   3  Prefactor     .11102E-09    4.3241       -.53728E-06** at limit **
   4  Prefactor     3.2257        2.3574        .14212E-06    .20228E-02
   5  Prefactor     8.5782        6.2134        .18095E-06   -.11102E-02
   6  Prefactor     .14988E-08    18.595        .86142E-06** at limit **
   7  norm          .36712        .26113        .20104E-07    .14170E-01
   8  norm          1.9997        1.0786        .12769E-06   -.35311E-02
   9  Prefactor     .72164E-09    10.697       -.21843E-05** at limit **
  10  norm           .0000        2.0871       -.29065E-06** at limit **
  11  Prefactor     .33477        1.2598        .43205E-07    .88005E-03
  12  Normalizat    .89464        .16972       -.25244E-04    .21572E-04
  13  Prefactor     1.0994        .15246        .10192E-04    .10195E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.48135e-08
  Prefactor  = 8.88178e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 3.22572
  Prefactor  = 8.57819
  Prefactor  = 1.4988e-09
  norm       = 0.367122
  norm       = 1.99973
  Prefactor  = 7.21645e-10
  norm       = 0
  Prefactor  = 0.334773
  Normalizat = 0.894635
  Prefactor  = 1.09939
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8156.04135058
delta logL = 0.0205358803632

Extracting fit parameters...

4FGL J1104.4+0730
   Spectrum: PowerLaw
262    Prefactor:  2.584e-01  1.749e+01  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  3.854e+00  2.922e+01  0.000e+00  1.000e+01 (-1.000e+00)
264        Scale:  1.054e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
585    Prefactor:  1.103e+00  9.935e-02  0.000e+00  1.000e+01 ( 1.000e+00)
586        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
587        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
584   Normalization:  8.858e-01  1.203e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 166.117 7.510

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/31281673/cmap_HighResolution_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.10e-03', job_status='DONE', photon_flux_upper_limit='5.32e-08', time_completed='2026-07-10 19:06:36.735429', job_id='31281673', GAL2='1.10', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1783735596.74', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='2.05e-02', ts2='0.05', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='2178' AND source_name='4FGL J1104.4+0730' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 10 19:06:37 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1104.4+0730
   Spectrum: PowerLaw
262    Prefactor:  7.216e-10  1.746e-04  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.342e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.054e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
585    Prefactor:  1.099e+00  1.341e-01  0.000e+00  1.000e+01 ( 1.000e+00)
586        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
587        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
584   Normalization:  8.946e-01  1.497e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 166.117 7.510
Photon Flux Upper Limit: 5.32458716322e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00409835383114 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31281676/likelihoodResults_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8156.10762609
delta logL = -0.0457396376487

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8156.04135875
delta logL = 0.0205277051873

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8156.041     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      238 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .25836        2.6236        .27141E-02    .18444E-01
   2  Index         3.8545        .41085        .50000        .50575E-05
   3  Normalizat    .88582        .68532E-02    .44720E-01    .15296E-04
   4  Prefactor     1.1033        .63235E-02    .37462E-01    .56189E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.258358
  Index      = 3.85445
  Normalizat = 0.885819
  Prefactor  = 1.10326
 **********
 **   18 **HESSE 
 **********

 FCN=   8156.041     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      273 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .25836        295.95        .15581E-03   -1.5698    
   2  Index         3.8545        5.6937        .40651E-02   -.23116    
   3  Normalizat    .88582        .12024        .26017E-03   -.96960    
   4  Prefactor     1.1033        .99330E-01    .21649E-03   -.89363    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.576e-09
Minuit parameter uncertainties:
  1  17.4893
  2  29.2198
  3  0.12028
  4  0.0993462
 **********
 **   18 **HESSE 
 **********

 FCN=   8156.062     FROM HESSE     STATUS=OK           165 CALLS      832 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .24813E-07    263.49        .61120E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .88818E-09    12.756        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .11102E-09    4.3669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.2257        2.3748        .56276E-03   -1.5672    
   5  Prefactor     8.5782        6.2126        .34092E-03   -1.5649    
   6  Prefactor     .14988E-08    18.293        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .36712        .25667        .85556E-03   -1.5696    
   8  norm          1.9997        1.0797        .73199E-04   -1.5680    
   9  Prefactor     .72164E-09    10.795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.0915        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .33477        1.2785        .96203E-03   -1.5696    
  12  Normalizat    .89464        .14959        .44812E-01   -.96649    
  13  Prefactor     1.0994        .13407        .37593E-01   -.89486    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24254e-08
Minuit parameter uncertainties:
  1  0.00511239
  2  0.000212844
  3  4.25929e-05
  4  2.37479
  5  6.2126
  6  0.00033222
  7  0.256674
  8  1.07968
  9  0.000174639
  10  1.55804e-06
  11  1.27845
  12  0.149661
  13  0.134115
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8156.04135058
delta logL = 0.0205358803632

Extracting fit parameters...

4FGL J1104.4+0730
   Spectrum: PowerLaw
262    Prefactor:  2.584e-01  1.749e+01  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  3.854e+00  2.922e+01  0.000e+00  1.000e+01 (-1.000e+00)
264        Scale:  1.054e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
585    Prefactor:  1.103e+00  9.935e-02  0.000e+00  1.000e+01 ( 1.000e+00)
586        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
587        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
584   Normalization:  8.858e-01  1.203e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 166.117 7.510

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/31281676/cmap_HighResolution_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.10e-03', job_status='DONE', photon_flux_upper_limit='5.32e-08', time_completed='2026-07-10 19:06:43.906693', job_id='31281676', GAL2='1.10', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1783735603.91', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='2.05e-02', ts2='0.05', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='2178' AND source_name='4FGL J1104.4+0730' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 10 19:06:44 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1104.4+0730
   Spectrum: PowerLaw
262    Prefactor:  7.216e-10  1.746e-04  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.342e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.054e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
585    Prefactor:  1.099e+00  1.341e-01  0.000e+00  1.000e+01 ( 1.000e+00)
586        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
587        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
584   Normalization:  8.946e-01  1.497e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 166.117 7.510
Photon Flux Upper Limit: 5.32458716322e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00409835383114 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31281675/likelihoodResults_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8156.10762609
delta logL = -0.0457396376487

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8156.04135875
delta logL = 0.0205277051873

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8156.041     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      238 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .25836        2.6236        .27141E-02    .18444E-01
   2  Index         3.8545        .41085        .50000        .50575E-05
   3  Normalizat    .88582        .68532E-02    .44720E-01    .15296E-04
   4  Prefactor     1.1033        .63235E-02    .37462E-01    .56189E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.258358
  Index      = 3.85445
  Normalizat = 0.885819
  Prefactor  = 1.10326
 **********
 **   18 **HESSE 
 **********

 FCN=   8156.041     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      273 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .25836        295.95        .15581E-03   -1.5698    
   2  Index         3.8545        5.6937        .40651E-02   -.23116    
   3  Normalizat    .88582        .12024        .26017E-03   -.96960    
   4  Prefactor     1.1033        .99330E-01    .21649E-03   -.89363    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.576e-09
Minuit parameter uncertainties:
  1  17.4893
  2  29.2198
  3  0.12028
  4  0.0993462
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8156.04135058
delta logL = 0.0205358803632

Extracting fit parameters...

4FGL J1104.4+0730
   Spectrum: PowerLaw
262    Prefactor:  2.584e-01  1.749e+01  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  3.854e+00  2.922e+01  0.000e+00  1.000e+01 (-1.000e+00)
264        Scale:  1.054e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
585    Prefactor:  1.103e+00  9.935e-02  0.000e+00  1.000e+01 ( 1.000e+00)
586        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
587        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
584   Normalization:  8.858e-01  1.203e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 166.117 7.510

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/31281675/cmap_HighResolution_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.10e-03', job_status='DONE', photon_flux_upper_limit='5.32e-08', time_completed='2026-07-10 19:07:09.103633', job_id='31281675', GAL2='1.10', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1783735629.1', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='2.05e-02', ts2='0.05', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='2178' AND source_name='4FGL J1104.4+0730' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 10 19:07:09 PDT 2026

/lscratch/kocevski/31281742/ltcube_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.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/31281742/ft2_4FGL_J1104.4+0730_daily_bin2178.fits
.....................!
real 8.96
user 8.31
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31281742/ft1_filtered_4FGL_J1104.4+0730_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31281742/ft2_4FGL_J1104.4+0730_daily_bin2178.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31281742/ltcube_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.fits outfile=/lscratch/kocevski/31281742/expmap_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.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/31281742/ltcube_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.fits
.....................!
real 71.02
user 66.09
sys 4.08

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

Setting source of interest to:
4FGL J1104.4+0730 @ 166.117 7.51

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31281742/ft1_filtered_4FGL_J1104.4+0730_daily_bin2178.fits scfile=/lscratch/kocevski/31281742/ft2_4FGL_J1104.4+0730_daily_bin2178.fits outfile=/lscratch/kocevski/31281742/cmap_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.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=166.117 yref=7.51 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.81
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31281742/ft1_filtered_4FGL_J1104.4+0730_daily_bin2178.fits scfile=/lscratch/kocevski/31281742/ft2_4FGL_J1104.4+0730_daily_bin2178.fits outfile=/lscratch/kocevski/31281742/cmap_HighResolution_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.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=166.117 yref=7.51 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.84
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31281742/ft1_filtered_4FGL_J1104.4+0730_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31281742/ft2_4FGL_J1104.4+0730_daily_bin2178.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31281742/Model_4FGL_J1104.4+0730_daily_bin2178.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working onnumber of points = 7456
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1104.4+0730_daily_bin2178
RA = 166.117, Dec = 7.51
tmin = 803865601, tmax = 804124801
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='31281915', job_status='RUN', time_executed='2026-07-10 19:05:15.345917', time_epoch_executed='1783735515.35' WHERE source_name='4FGL J1104.4+0730' and cadence='daily' and bin_id='2178'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31281915

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31281915/ft1_4FGL_J1104.4+0730_daily_bin2178.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31281915/ft2_4FGL_J1104.4+0730_daily_bin2178.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31281915/ft1_4FGL_J1104.4+0730_daily_bin2178.fits outfile=/lscratch/kocevski/31281915/ft1_filteredMKT_4FGL_J1104.4+0730_daily_bin2178.fits ra=166.117 dec=7.51 rad=12.0 tmin=803865601.0 tmax=804124801.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.09
user 1.41
sys 0.14

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31281915/ft2_4FGL_J1104.4+0730_daily_bin2178.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31281915/ft2_4FGL_J1104.4+0730_daily_bin2178.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/31281915/ft1_filteredMKT_4FGL_J1104.4+0730_daily_bin2178.fits evtable="EVENTS" outfile="/lscratch/kocevski/31281915/ft1_filtered_4FGL_J1104.4+0730_daily_bin2178.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.76
user 0.19
sys 0.14

Number of photons that the gtmktime cut: 735

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31281915/ft1_filtered_4FGL_J1104.4+0730_daily_bin2178.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31281915/ft2_4FGL_J1104.4+0730_daily_bin2178.fits sctable="SC_DATA" outfile=...
/lscratch/kocevski/31281742/ft1_filtered_4FGL_J1104.4+0730_daily_bin2178.fits.....................!
real 30.81
user 28.92
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31281742/ft1_filtered_4FGL_J1104.4+0730_daily_bin2178.fits', '/lscratch/kocevski/31281742/ft2_4FGL_J1104.4+0730_daily_bin2178.fits', expMap='/lscratch/kocevski/31281742/expmap_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.fits', expCube='/lscratch/kocevski/31281742/ltcube_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31281742/Model_4FGL_J1104.4+0730_daily_bin2178.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1104.4+0730'

4FGL J1104.4+0730
   Spectrum: PowerLaw
262    Prefactor:  5.865e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.342e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.054e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31281742/ft1_filtered_4FGL_J1104.4+0730_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31281742/ft2_4FGL_J1104.4+0730_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31281742/expmap_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31281742/ltcube_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31281742/Model_4FGL_J1104.4+0730_daily_bin2178.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) = 8156.18795983

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7703       1.0000          .0000       .10000E+07
     2 'Prefactor '    .62545E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .89982E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.2367       1.0000          .0000       .10000E+07
     5 'Prefactor '    8.6331       1.0000          .0000       .10000E+07
     6 'Prefactor '    .25534E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .36727       1.0000          .0000       .10000E+07
     8 'norm      '    2.0003       1.0000          .0000       .10000E+07
     9 'Prefactor '    .27822E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .14033E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .34464       1.0000          .0000       .10000E+07
    12 'Normalizat'    .89303       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0998       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5880E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8156.062     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      667 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .24813E-07    262.12        .50237E-05** at limit **
   2  Prefactor     .88818E-09    12.645        .64796E-06** at limit **
   3  Prefactor     .11102E-09    4.3241       -.53728E-06** at limit **
   4  Prefactor     3.2257        2.3574        .14212E-06    .20228E-02
   5  Prefactor     8.5782        6.2134        .18095E-06   -.11102E-02
   6  Prefactor     .14988E-08    18.595        .86142E-06** at limit **
   7  norm          .36712        .26113        .20104E-07    .14170E-01
   8  norm          1.9997        1.0786        .12769E-06   -.35311E-02
   9  Prefactor     .72164E-09    10.697       -.21843E-05** at limit **
  10  norm           .0000        2.0871       -.29065E-06** at limit **
  11  Prefactor     .33477        1.2598        .43205E-07    .88005E-03
  12  Normalizat    .89464        .16972       -.25244E-04    .21572E-04
  13  Prefactor     1.0994        .15246        .10192E-04    .10195E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.48135e-08
  Prefactor  = 8.88178e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 3.22572
  Prefactor  = 8.57819
  Prefactor  = 1.4988e-09
  norm       = 0.367122
  norm       = 1.99973
  Prefactor  = 7.21645e-10
  norm       = 0
  Prefactor  = 0.334773
  Normalizat = 0.894635
  Prefactor  = 1.09939
 **********
 **   18 **HESSE 
 **********

 FCN=   8156.062     FROM HESSE     STATUS=OK           165 CALLS      832 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .24813E-07    263.49        .61120E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .88818E-09    12.756        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .11102E-09    4.3669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.2257        2.3748        .56276E-03   -1.5672    
   5  Prefactor     8.5782        6.2126        .34092E-03   -1.5649    
   6  Prefactor     .14988E-08    18.293        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .36712        .25667        .85556E-03   -1.5696    
   8  norm          1.9997        1.0797        .73199E-04   -1.5680    
   9  Prefactor     .72164E-09    10.795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.0915        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .33477        1.2785        .96203E-03   -1.5696    
  12  Normalizat    .89464        .14959        .44812E-01   -.96649    
  13  Prefactor     1.0994        .13407        .37593E-01   -.89486    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24254e-08
Minuit parameter uncertainties:
  1  0.00511239
  2  0.000212844
  3  4.25929e-05
  4  2.37479
  5  6.2126
  6  0.00033222
  7  0.256674
  8  1.07968
  9  0.000174639
  10  1.55804e-06
  11  1.27845
  12  0.149661
  13  0.134115
Done.

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

Extracting fit parameters...

4FGL J1104.4+0730
   Spectrum: PowerLaw
262    Prefactor:  7.216e-10  1.746e-04  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.342e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.054e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
585    Prefactor:  1.099e+00  1.341e-01  0.000e+00  1.000e+01 ( 1.000e+00)
586        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
587        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
584   Normalization:  8.946e-01  1.497e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 166.117 7.510
Photon Flux Upper Limit: 5.32458716322e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00409835383114 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31281742/likelihoodResults_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8156.10762609
delta logL = -0.0457396376487

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8156.04135875
delta logL = 0.0205277051873

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8156.041     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      238 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .25836        2.6236        .27141E-02    .18444E-01
   2  Index         3.8545        .41085        .50000        .50575E-05
   3  Normalizat    .88582        .68532E-02    .44720E-01    .15296E-04
   4  Prefactor     1.1033        .63235E-02    .37462E-01    .56189E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.258358
  Index      = 3.85445
  Normalizat = 0.885819
  Prefactor  = 1.10326
 **********
 **   18 **HESSE 
 **********

 FCN=   8156.041     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      273 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .25836        295.95        .15581E-03   -1.5698    
   2  Index         3.8545        5.6937        .40651E-02   -.23116    
   3  Normalizat    .88582        .12024        .26017E-03   -.96960    
   4  Prefactor     1.1033        .99330E-01    .21649E-03   -.89363    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.576e-09
Minuit parameter uncertainties:
  1  17.4893
  2  29.2198
  3  0.12028
  4  0.0993462
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8156.04135058
delta logL = 0.0205358803632

Extracting fit parameters...

4FGL J1104.4+0730
   Spectrum: PowerLaw
262    Prefactor:  2.584e-01  1.749e+01  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  3.854e+00  2.922e+01  0.000e+00  1.000e+01 (-1.000e+00)
264        Scale:  1.054e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
585    Prefactor:  1.103e+00  9.935e-02  0.000e+00  1.000e+01 ( 1.000e+00)
586        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
587        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
584   Normalization:  8.858e-01  1.203e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 166.117 7.510

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/31281742/cmap_HighResolution_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.10e-03', job_status='DONE', photon_flux_upper_limit='5.32e-08', time_completed='2026-07-10 19:08:47.047559', job_id='31281742', GAL2='1.10', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1783735727.05', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='2.05e-02', ts2='0.05', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='2178' AND source_name='4FGL J1104.4+0730' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 10 19:08:47 PDT 2026

/lscratch/kocevski/31281915/ltcube_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.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/31281915/ft2_4FGL_J1104.4+0730_daily_bin2178.fits
.....................!
real 8.76
user 8.03
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31281915/ft1_filtered_4FGL_J1104.4+0730_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31281915/ft2_4FGL_J1104.4+0730_daily_bin2178.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31281915/ltcube_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.fits outfile=/lscratch/kocevski/31281915/expmap_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.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/31281915/ltcube_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.fits
.....................!
real 67.58
user 62.61
sys 3.96

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

Setting source of interest to:
4FGL J1104.4+0730 @ 166.117 7.51

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31281915/ft1_filtered_4FGL_J1104.4+0730_daily_bin2178.fits scfile=/lscratch/kocevski/31281915/ft2_4FGL_J1104.4+0730_daily_bin2178.fits outfile=/lscratch/kocevski/31281915/cmap_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.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=166.117 yref=7.51 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.84
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31281915/ft1_filtered_4FGL_J1104.4+0730_daily_bin2178.fits scfile=/lscratch/kocevski/31281915/ft2_4FGL_J1104.4+0730_daily_bin2178.fits outfile=/lscratch/kocevski/31281915/cmap_HighResolution_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.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=166.117 yref=7.51 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.88
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31281915/ft1_filtered_4FGL_J1104.4+0730_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31281915/ft2_4FGL_J1104.4+0730_daily_bin2178.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31281915/Model_4FGL_J1104.4+0730_daily_bin2178.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/31281915/ft1_filtered_4FGL_J1104.4+0730_daily_bin2178.fits.....................!
real 29.17
user 27.27
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31281915/ft1_filtered_4FGL_J1104.4+0730_daily_bin2178.fits', '/lscratch/kocevski/31281915/ft2_4FGL_J1104.4+0730_daily_bin2178.fits', expMap='/lscratch/kocevski/31281915/expmap_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.fits', expCube='/lscratch/kocevski/31281915/ltcube_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31281915/Model_4FGL_J1104.4+0730_daily_bin2178.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1104.4+0730'

4FGL J1104.4+0730
   Spectrum: PowerLaw
262    Prefactor:  5.865e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.342e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.054e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31281915/ft1_filtered_4FGL_J1104.4+0730_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31281915/ft2_4FGL_J1104.4+0730_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31281915/expmap_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31281915/ltcube_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31281915/Model_4FGL_J1104.4+0730_daily_bin2178.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) = 8156.18795983

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7703       1.0000          .0000       .10000E+07
     2 'Prefactor '    .62545E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .89982E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.2367       1.0000          .0000       .10000E+07
     5 'Prefactor '    8.6331       1.0000          .0000       .10000E+07
     6 'Prefactor '    .25534E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .36727       1.0000          .0000       .10000E+07
     8 'norm      '    2.0003       1.0000          .0000       .10000E+07
     9 'Prefactor '    .27822E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .14033E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .34464       1.0000          .0000       .10000E+07
    12 'Normalizat'    .89303       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0998       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5880E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8156.062     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      667 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .24813E-07    262.12        .50237E-05** at limit **
   2  Prefactor     .88818E-09    12.645        .64796E-06** at limit **
   3  Prefactor     .11102E-09    4.3241       -.53728E-06** at limit **
   4  Prefactor     3.2257        2.3574        .14212E-06    .20228E-02
   5  Prefactor     8.5782        6.2134        .18095E-06   -.11102E-02
   6  Prefactor     .14988E-08    18.595        .86142E-06** at limit **
   7  norm          .36712        .26113        .20104E-07    .14170E-01
   8  norm          1.9997        1.0786        .12769E-06   -.35311E-02
   9  Prefactor     .72164E-09    10.697       -.21843E-05** at limit **
  10  norm           .0000        2.0871       -.29065E-06** at limit **
  11  Prefactor     .33477        1.2598        .43205E-07    .88005E-03
  12  Normalizat    .89464        .16972       -.25244E-04    .21572E-04
  13  Prefactor     1.0994        .15246        .10192E-04    .10195E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.48135e-08
  Prefactor  = 8.88178e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 3.22572
  Prefactor  = 8.57819
  Prefactor  = 1.4988e-09
  norm       = 0.367122
  norm       = 1.99973
  Prefactor  = 7.21645e-10
  norm       = 0
  Prefactor  = 0.334773
  Normalizat = 0.894635
  Prefactor  = 1.09939
 **********
 **   18 **HESSE 
 **********

 FCN=   8156.062     FROM HESSE     STATUS=OK           165 CALLS      832 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .24813E-07    263.49        .61120E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .88818E-09    12.756        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .11102E-09    4.3669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.2257        2.3748        .56276E-03   -1.5672    
   5  Prefactor     8.5782        6.2126        .34092E-03   -1.5649    
   6  Prefactor     .14988E-08    18.293        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .36712        .25667        .85556E-03   -1.5696    
   8  norm          1.9997        1.0797        .73199E-04   -1.5680    
   9  Prefactor     .72164E-09    10.795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.0915        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .33477        1.2785        .96203E-03   -1.5696    
  12  Normalizat    .89464        .14959        .44812E-01   -.96649    
  13  Prefactor     1.0994        .13407        .37593E-01   -.89486    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24254e-08
Minuit parameter uncertainties:
  1  0.00511239
  2  0.000212844
  3  4.25929e-05
  4  2.37479
  5  6.2126
  6  0.00033222
  7  0.256674
  8  1.07968
  9  0.000174639
  10  1.55804e-06
  11  1.27845
  12  0.149661
  13  0.134115
Done.

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

Extracting fit parameters...

4FGL J1104.4+0730
   Spectrum: PowerLaw
262    Prefactor:  7.216e-10  1.746e-04  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.342e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.054e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
585    Prefactor:  1.099e+00  1.341e-01  0.000e+00  1.000e+01 ( 1.000e+00)
586        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
587        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
584   Normalization:  8.946e-01  1.497e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 166.117 7.510
Photon Flux Upper Limit: 5.32458716322e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00409835383114 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31281915/likelihoodResults_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8156.10762609
delta logL = -0.0457396376487

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8156.04135875
delta logL = 0.0205277051873

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8156.041     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      238 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .25836        2.6236        .27141E-02    .18444E-01
   2  Index         3.8545        .41085        .50000        .50575E-05
   3  Normalizat    .88582        .68532E-02    .44720E-01    .15296E-04
   4  Prefactor     1.1033        .63235E-02    .37462E-01    .56189E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.258358
  Index      = 3.85445
  Normalizat = 0.885819
  Prefactor  = 1.10326
 **********
 **   18 **HESSE 
 **********

 FCN=   8156.041     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      273 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .25836        295.95        .15581E-03   -1.5698    
   2  Index         3.8545        5.6937        .40651E-02   -.23116    
   3  Normalizat    .88582        .12024        .26017E-03   -.96960    
   4  Prefactor     1.1033        .99330E-01    .21649E-03   -.89363    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.576e-09
Minuit parameter uncertainties:
  1  17.4893
  2  29.2198
  3  0.12028
  4  0.0993462
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8156.04135058
delta logL = 0.0205358803632

Extracting fit parameters...

4FGL J1104.4+0730
   Spectrum: PowerLaw
262    Prefactor:  2.584e-01  1.749e+01  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  3.854e+00  2.922e+01  0.000e+00  1.000e+01 (-1.000e+00)
264        Scale:  1.054e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
585    Prefactor:  1.103e+00  9.935e-02  0.000e+00  1.000e+01 ( 1.000e+00)
586        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
587        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
584   Normalization:  8.858e-01  1.203e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 166.117 7.510

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/31281915/cmap_HighResolution_803865601_804124801_4FGL_J1104.4+0730_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.10e-03', job_status='DONE', photon_flux_upper_limit='5.32e-08', time_completed='2026-07-10 19:11:06.779999', job_id='31281915', GAL2='1.10', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1783735866.78', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='2.05e-02', ts2='0.05', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='2178' AND source_name='4FGL J1104.4+0730' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 10 19:11:07 PDT 2026

