/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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)


Waiting 232 seconds before starting...
Proceeding.

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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

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


Performing analysis on: 4FGL_J1104.4+0730_daily_bin1602
RA = 166.117, Dec = 7.51
tmin = 654566401, tmax = 654825601
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='856185', job_status='RUN', time_executed='2021-10-02 00:06:18.570027', time_epoch_executed='1633158378.57' WHERE source_name='4FGL J1104.4+0730' and cadence='daily' and bin_id='1602'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/856185

Creating custom pfile directory:
/scratch/kocevski/856185/pfiles/

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=654566401.0 && nMetStart<654825601.0' /Data/Flight/Reprocess/P305

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=654566401.0 && nMetStart<654825601.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/856185/ft1_4FGL_J1104.4+0730_daily_bin1602.fits


Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=654566401.0 && nMetStart<654825601.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/856185/ft2_4FGL_J1104.4+0730_daily_bin1602.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/856185/ft1_4FGL_J1104.4+0730_daily_bin1602.fits outfile=/scratch/kocevski/856185/ft1_filteredMKT_4FGL_J1104.4+0730_daily_bin1602.fits ra=166.117 dec=7.51 rad=12.0 tmin=654566401.0 tmax=654825601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.03
user 4.79
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/856185/ft2_4FGL_J1104.4+0730_daily_bin1602.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/856185/ft2_4FGL_J1104.4+0730_daily_bin1602.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/856185/ft1_filteredMKT_4FGL_J1104.4+0730_daily_bin1602.fits evtable="EVENTS" outfile="/scratch/kocevski/856185/ft1_filtered_4FGL_J1104.4+0730_daily_bin1602.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('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/856185/ft1_filtered_4FGL_J1104.4+0730_daily_bin1602.fits" evtable="EVENTS" scfile=/scratch/kocevski/856185/ft2_4FGL_J1104.4+0730_daily_bin1602.fits sctable="SC_DATA" outfile=/scratch/kocevski/856185/ltcube_654566401_654825601_4FGL_J1104.4+0730_daily_bin1602.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 /scratch/kocevski/856185/ft2_4FGL_J1104.4+0730_daily_bin1602.fits
.....................!
real 16.37
user 16.01
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/856185/ft1_filtered_4FGL_J1104.4+0730_daily_bin1602.fits evtable="EVENTS" scfile=/scratch/kocevski/856185/ft2_4FGL_J1104.4+0730_daily_bin1602.fits sctable="SC_DATA" expcube=/scratch/kocevski/856185/ltcube_654566401_654825601_4FGL_J1104.4+0730_daily_bin1602.fits outfile=/scratch/kocevski/856185/expmap_654566401_654825601_4FGL_J1104.4+0730_daily_bin1602.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 /scratch/kocevski/856185/ltcube_654566401_654825601_4FGL_J1104.4+0730_daily_bin1602.fits
.....................!
real 190.42
user 185.21
sys 4.89

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=/scratch/kocevski/856185/ft1_filtered_4FGL_J1104.4+0730_daily_bin1602.fits scfile=/scratch/kocevski/856185/ft2_4FGL_J1104.4+0730_daily_bin1602.fits outfile=/scratch/kocevski/856185/cmap_654566401_654825601_4FGL_J1104.4+0730_daily_bin1602.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.65
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/856185/ft1_filtered_4FGL_J1104.4+0730_daily_bin1602.fits scfile=/scratch/kocevski/856185/ft2_4FGL_J1104.4+0730_daily_bin1602.fits outfile=/scratch/kocevski/856185/cmap_HighResolution_654566401_654825601_4FGL_J1104.4+0730_daily_bin1602.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.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/856185/ft1_filtered_4FGL_J1104.4+0730_daily_bin1602.fits evtable="EVENTS" scfile=/scratch/kocevski/856185/ft2_4FGL_J1104.4+0730_daily_bin1602.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/856185/Model_4FGL_J1104.4+0730_daily_bin1602.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...
/scratch/kocevski/856185/ft1_filtered_4FGL_J1104.4+0730_daily_bin1602.fits.....................!
real 59.30
user 58.01
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/856185/ft1_filtered_4FGL_J1104.4+0730_daily_bin1602.fits', '/scratch/kocevski/856185/ft2_4FGL_J1104.4+0730_daily_bin1602.fits', expMap='/scratch/kocevski/856185/expmap_654566401_654825601_4FGL_J1104.4+0730_daily_bin1602.fits', expCube='/scratch/kocevski/856185/ltcube_654566401_654825601_4FGL_J1104.4+0730_daily_bin1602.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/856185/Model_4FGL_J1104.4+0730_daily_bin1602.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  1.000e-04  1.000e+04 ( 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): /scratch/kocevski/856185/ft1_filtered_4FGL_J1104.4+0730_daily_bin1602.fits
Spacecraft file(s): /scratch/kocevski/856185/ft2_4FGL_J1104.4+0730_daily_bin1602.fits
Exposure map: /scratch/kocevski/856185/expmap_654566401_654825601_4FGL_J1104.4+0730_daily_bin1602.fits
Exposure cube: /scratch/kocevski/856185/ltcube_654566401_654825601_4FGL_J1104.4+0730_daily_bin1602.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/856185/Model_4FGL_J1104.4+0730_daily_bin1602.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) = 6056.36337262

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16033E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .61178E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .46656E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.809       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.9147       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .70391       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.0164       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    23.850       1.0000         .10000E-03   10000.    
    11 'norm      '    .10068E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    38.765       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.7710       1.0000         .10000E-03   10000.    
    14 'Normalizat'    .99523       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.2894       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6056.354     FROM MIGRAD    STATUS=CONVERGED    303 CALLS     1379 TOTAL
                     EDM=   .45E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    33.231       -.36873E-06** at limit **
   2  Prefactor     .10000E-03    430.30       -.26338E-03** at limit **
   3  Prefactor     .10119E-03    17.104        .46801E-05** at limit **
   4  Prefactor     10.808        5.1139        .33928E-06    .22095E-03
   5  Prefactor     5.9206        7.8020       -.18563E-05   -.21666E-03
   6  Prefactor     .10000E-03    4.7468        .30159E-06** at limit **
   7  norm          .70423        .68942        .23785E-07    .38748E-03
   8  Prefactor     6.0050        12.820       -.46903E-06   -.31633E-04
   9  norm          .10000E-03    1.0547        .66596E-06** at limit **
  10  Prefactor     23.871        25.940       -.40134E-04   -.21814E-04
  11  norm          .10000E-03    6.8860       -.85386E-08** at limit **
  12  Prefactor     38.726        40.965       -.65464E-05    .10575E-04
  13  Prefactor     2.7702        3.2311       -.88170E-06   -.47770E-03
  14  Normalizat    .99528        .21548        .72815E-05   -.19312E-04
  15  Prefactor     1.2894        .17870        .17422E-05    .25010E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.000101195
  Prefactor  = 10.8078
  Prefactor  = 5.92062
  Prefactor  = 0.0001
  norm       = 0.704228
  Prefactor  = 6.00505
  norm       = 0.000100001
  Prefactor  = 23.8711
  norm       = 0.0001
  Prefactor  = 38.7261
  Prefactor  = 2.77016
  Normalizat = 0.99528
  Prefactor  = 1.28938
 **********
 **   18 **HESSE 
 **********

 FCN=   6056.354     FROM HESSE     STATUS=OK           194 CALLS     1573 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    33.244        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    432.89        .18911E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10119E-03    20.418        .99297E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.808        5.1216        .11355E-03   -1.5050    
   5  Prefactor     5.9206        7.8219        .16512E-03   -1.5221    
   6  Prefactor     .10000E-03    4.7606        .16548E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .70423        .67224        .53165E-04   -1.5540    
   8  Prefactor     6.0050        12.502        .16370E-03   -1.5218    
   9  norm          .10000E-03    2.0127        .15213E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     23.871        26.001        .82023E-04   -1.4730    
  11  norm          .10000E-03    6.9100        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     38.726        41.065        .64376E-04   -1.4463    
  13  Prefactor     2.7702        3.2209        .14321E-03   -1.5375    
  14  Normalizat    .99528        .24933        .30534E-03   -.93189    
  15  Prefactor     1.2894        .20902        .24038E-03   -.83623    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22825e-09
Minuit parameter uncertainties:
  1  1.60189e-05
  2  0.00217178
  3  0.00988118
  4  5.12176
  5  7.82322
  6  5.51853e-05
  7  0.672246
  8  12.5075
  9  9.0893e-05
  10  26.0133
  11  3.21667e-06
  12  41.0948
  13  3.2211
  14  0.249627
  15  0.20916
Done.

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

Extracting fit parameters...

4FGL J1104.4+0730
   Spectrum: PowerLaw
262    Prefactor:  2.387e+01  2.601e+01  1.000e-04  1.000e+04 ( 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.289e+00  2.092e-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:  9.953e-01  2.496e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.22
Ra Dec: 166.117 7.510
Photon Index (Fixed Index): 2.34 +/- 0.00
Photon Flux (Fixed Index): 4.43e-08 +/- 4.82e-08
Energy Flux (Fixed Index): 1.57e-05 +/- 1.71e-05

TS (Fixed Index): 1.22
Ra Dec: 166.117 7.510
Photon Flux Upper Limit: 1.52e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.17e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/856185/likelihoodResults_654566401_654825601_4FGL_J1104.4+0730_daily_bin1602.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) = 6056.35360003
delta logL = 0.000562344454011

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6056.35333666
delta logL = 0.000825711317702

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.295       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3857       1.0000          .0000       10.000    
     3 'Normalizat'    .99289       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2903       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6056.353     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      253 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.278        31.563        .82992E-04   -.42109E-03
   2  Index         2.3900        1.2372        .82214E-02   -.23827E-03
   3  Normalizat    .99259        .24629        .30570E-03   -.20714E-02
   4  Prefactor     1.2907        .21118        .24027E-03   -.30999E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.2777
  Index      = 2.39003
  Normalizat = 0.992587
  Prefactor  = 1.29073
 **********
 **   18 **HESSE 
 **********

 FCN=   6056.353     FROM HESSE     STATUS=OK            23 CALLS      276 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.278        29.781        .16598E-04   -1.4743    
   2  Index         2.3900        1.1654        .32886E-03   -.54919    
   3  Normalizat    .99259        .24516        .61140E-04   -.93279    
   4  Prefactor     1.2907        .21071        .48054E-04   -.83583    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11389e-08
Minuit parameter uncertainties:
  1  29.8001
  2  1.18036
  3  0.245443
  4  0.210851
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/856185': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6056.35332258
delta logL = 0.000839788833218

Extracting fit parameters...

4FGL J1104.4+0730
   Spectrum: PowerLaw
262    Prefactor:  2.328e+01  2.980e+01  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  2.390e+00  1.180e+00  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.291e+00  2.109e-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:  9.926e-01  2.454e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.22
Ra Dec: 166.117 7.510
Photon Index (Free Index): 2.39 +/- 1.18
Photon Flux (Free Index): 4.67e-08 +/- 7.65e-08
Energy Flux (Free Index): 1.55e-05 +/- 1.75e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/856185/cmap_HighResolution_654566401_654825601_4FGL_J1104.4+0730_daily_bin1602.png

Cleaning up...

** Nuclear option initiated! **
rmdir /scratch/kocevski/856185

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.17e-02', comment='SUCCESS', photon_flux='4.43e-08', energy_flux2='1.55e-05', photon_flux_error='4.82e-08', dlogl='8.40e-04', energy_flux='1.57e-05', photon_flux2='4.67e-08', job_status='DONE', time_completed='2021-10-02 00:15:24.120690', photon_index_error2='1.18', photon_index2='2.39', ts='1.22', fit_tolerance='1e-08', GAL='1.29', photon_index_error='0.00', photon_flux_upper_limit='1.52e-07', energy_flux_error2='1.75e-05', EG='1.00', time_epoch_completed='1633158924.12', return_code='0', job_id='856185', GAL2='1.29', EG2='0.99', return_code2='0', energy_flux_error='1.71e-05', photon_flux_error2='7.65e-08', ts2='1.22', photon_index='2.34' WHERE bin_id='1602' AND source_name='4FGL J1104.4+0730' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct  2 00:15:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 856185: <4FGL_J1104.4+0730_daily_bin1602> in cluster <slac> Done

Job <4FGL_J1104.4+0730_daily_bin1602> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Oct  2 00:02:16 2021
Job was executed on host(s) <bullet0064>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Oct  2 00:02:17 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Oct  2 00:02:17 2021
Terminated at Sat Oct  2 00:15:24 2021
Results reported at Sat Oct  2 00:15:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1104.4+0730_daily_bin1602 166.117 7.51 654566401 654825601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1104.4+0730 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   546.17 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             250.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   787 sec.
    Turnaround time :                            788 sec.

The output (if any) is above this job summary.

