/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 144 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 = 7433
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1104.4+0730_daily_bin1259
RA = 166.117, Dec = 7.51
tmin = 565660801, tmax = 565920001
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='484381', job_status='RUN', time_executed='2021-09-03 06:24:34.338328', time_epoch_executed='1630675474.34' WHERE source_name='4FGL J1104.4+0730' and cadence='daily' and bin_id='1259'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/484381

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/484381/ft1_4FGL_J1104.4+0730_daily_bin1259.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/484381/ft2_4FGL_J1104.4+0730_daily_bin1259.fits


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

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

Done.
real 3.58
user 3.33
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/484381/ft2_4FGL_J1104.4+0730_daily_bin1259.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/484381/ft1_filteredMKT_4FGL_J1104.4+0730_daily_bin1259.fits evtable="EVENTS" outfile="/scratch/kocevski/484381/ft1_filtered_4FGL_J1104.4+0730_daily_bin1259.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.57
user 0.36
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/484381/ft1_filtered_4FGL_J1104.4+0730_daily_bin1259.fits" evtable="EVENTS" scfile=/scratch/kocevski/484381/ft2_4FGL_J1104.4+0730_daily_bin1259.fits sctable="SC_DATA" outfile=/scratch/kocevski/484381/ltcube_565660801_565920001_4FGL_J1104.4+0730_daily_bin1259.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/484381/ft2_4FGL_J1104.4+0730_daily_bin1259.fits
.....................!
real 17.39
user 16.91
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/484381/ft1_filtered_4FGL_J1104.4+0730_daily_bin1259.fits evtable="EVENTS" scfile=/scratch/kocevski/484381/ft2_4FGL_J1104.4+0730_daily_bin1259.fits sctable="SC_DATA" expcube=/scratch/kocevski/484381/ltcube_565660801_565920001_4FGL_J1104.4+0730_daily_bin1259.fits outfile=/scratch/kocevski/484381/expmap_565660801_565920001_4FGL_J1104.4+0730_daily_bin1259.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/484381/ltcube_565660801_565920001_4FGL_J1104.4+0730_daily_bin1259.fits
.....................!
real 192.18
user 187.06
sys 4.37

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/484381/ft1_filtered_4FGL_J1104.4+0730_daily_bin1259.fits scfile=/scratch/kocevski/484381/ft2_4FGL_J1104.4+0730_daily_bin1259.fits outfile=/scratch/kocevski/484381/cmap_565660801_565920001_4FGL_J1104.4+0730_daily_bin1259.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.97
user 0.42
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/484381/ft1_filtered_4FGL_J1104.4+0730_daily_bin1259.fits scfile=/scratch/kocevski/484381/ft2_4FGL_J1104.4+0730_daily_bin1259.fits outfile=/scratch/kocevski/484381/cmap_HighResolution_565660801_565920001_4FGL_J1104.4+0730_daily_bin1259.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.59
user 0.40
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/484381/ft1_filtered_4FGL_J1104.4+0730_daily_bin1259.fits', '/scratch/kocevski/484381/ft2_4FGL_J1104.4+0730_daily_bin1259.fits', expMap='/scratch/kocevski/484381/expmap_565660801_565920001_4FGL_J1104.4+0730_daily_bin1259.fits', expCube='/scratch/kocevski/484381/ltcube_565660801_565920001_4FGL_J1104.4+0730_daily_bin1259.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/484381/Model_4FGL_J1104.4+0730_daily_bin1259.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/484381/ft1_filtered_4FGL_J1104.4+0730_daily_bin1259.fits
Spacecraft file(s): /scratch/kocevski/484381/ft2_4FGL_J1104.4+0730_daily_bin1259.fits
Exposure map: /scratch/kocevski/484381/expmap_565660801_565920001_4FGL_J1104.4+0730_daily_bin1259.fits
Exposure cube: /scratch/kocevski/484381/ltcube_565660801_565920001_4FGL_J1104.4+0730_daily_bin1259.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/484381/Model_4FGL_J1104.4+0730_daily_bin1259.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) = 6146.22939762

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    63.728       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .13171E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10266E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.4920       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .61803E-01   1.0000         .10000E-03   10000.    
     7 'norm      '    .60097       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .25600       1.0000         .10000E-03   10000.    
     9 'norm      '    .10045E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.284       1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10267E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.2124       1.0000         .10000E-03   10000.    
    14 'Normalizat'    .78785       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.3941       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=   6146.223     FROM MIGRAD    STATUS=CONVERGED    501 CALLS     1607 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     63.780        65.947        .25134E-03   -.15609E-03
   2  Prefactor     .10000E-03    19.472        .18142E-02** at limit **
   3  Prefactor     .10000E-03    5.9563        .18142E-02** at limit **
   4  Prefactor     2.4896        3.2699        .15199E-03   -.48156E-03
   5  Prefactor     .10000E-03    1.6979        .99622E-03** at limit **
   6  Prefactor     .46533E-01    8.0579        .53178E-01    .23729E-03
   7  norm          .60302        .65826        .48193E-04    .79475E-03
   8  Prefactor     .22175        116.73        .39010E-02    .69480E-04
   9  norm          .10000E-03    .44046        .50216E-03** at limit **
  10  Prefactor     10.274        10.772        .12495E-03   -.20290E-04
  11  norm          .10000E-03    6.8330        .18142E-02** at limit **
  12  Prefactor     .10000E-03    30.405        .18142E-02** at limit **
  13  Prefactor     2.2123        2.2057        .11257E-03    .23076E-03
  14  Normalizat    .78782        .21489        .29440E-03   -.16265E-03
  15  Prefactor     1.3944        .19919        .21472E-03   -.33143E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 63.7804
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.48963
  Prefactor  = 0.0001
  Prefactor  = 0.0465329
  norm       = 0.603022
  Prefactor  = 0.221745
  norm       = 0.0001
  Prefactor  = 10.2744
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.21234
  Normalizat = 0.787816
  Prefactor  = 1.39442
 **********
 **   18 **HESSE 
 **********

 FCN=   6146.223     FROM HESSE     STATUS=OK           178 CALLS     1785 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     63.780        65.942        .10054E-04   -1.4109    
   2  Prefactor     .10000E-03    19.472        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    5.9565        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.4896        3.2676        .60796E-05   -1.5392    
   5  Prefactor     .10000E-03    1.6980        .19924E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .46533E-01    7.3395        .55836E-01   -1.5665    
   7  norm          .60302        .59737        .19277E-05   -1.5553    
   8  Prefactor     .22175        96.571        .15604E-03   -1.5614    
   9  norm          .10000E-03    .44049        .10043E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     10.274        10.772        .49979E-05   -1.5067    
  11  norm          .10000E-03    6.8351        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    30.410        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.2123        2.2056        .45029E-05   -1.5410    
  14  Normalizat    .78782        .21496        .11776E-04   -1.0052    
  15  Prefactor     1.3944        .19930        .42944E-04   -.80541    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.20732e-10
Minuit parameter uncertainties:
  1  66.0178
  2  0.000171811
  3  5.52553e-05
  4  3.26781
  5  8.21035e-06
  6  1.1677
  7  0.597374
  8  9.26804
  9  7.86345e-06
  10  10.7741
  11  7.35878e-05
  12  0.000181461
  13  2.20565
  14  0.215196
  15  0.199413
Done.

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

Extracting fit parameters...

4FGL J1104.4+0730
   Spectrum: PowerLaw
262    Prefactor:  1.027e+01  1.077e+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.394e+00  1.994e-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:  7.878e-01  2.152e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.78
Ra Dec: 166.117 7.510
Photon Index (Fixed Index): 2.34 +/- 0.00
Photon Flux (Fixed Index): 1.91e-08 +/- 2.00e-08
Energy Flux (Fixed Index): 6.77e-06 +/- 7.10e-06

TS (Fixed Index): 2.78
Ra Dec: 166.117 7.510
Photon Flux Upper Limit: 7.97e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.14e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/484381/likelihoodResults_565660801_565920001_4FGL_J1104.4+0730_daily_bin1259.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) = 6145.8199676
delta logL = 0.402645418039

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6145.79945604
delta logL = 0.423156978312

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.861       1.0000         .10000E-03   10000.    
     2 'Index     '    1.6377       1.0000          .0000       10.000    
     3 'Normalizat'    .79921       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3886       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=   6145.799     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      249 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.867        13.829        .11170E-03   -.20357E-05
   2  Index         1.6377        .67842        .10938E-01   -.73242E-05
   3  Normalizat    .79924        .21019        .29243E-03   -.43658E-04
   4  Prefactor     1.3886        .19866        .21507E-03    .34941E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.8671
  Index      = 1.63774
  Normalizat = 0.799238
  Prefactor  = 1.38863
 **********
 **   18 **HESSE 
 **********

 FCN=   6145.799     FROM HESSE     STATUS=OK            25 CALLS      274 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.867        13.939        .44678E-05   -1.4990    
   2  Index         1.6377        .68400        .43754E-03   -.73752    
   3  Normalizat    .79924        .21035        .11697E-04   -1.0010    
   4  Prefactor     1.3886        .19882        .43014E-04   -.80709    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.79306e-11
Minuit parameter uncertainties:
  1  13.943
  2  0.687953
  3  0.210568
  4  0.198934
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/484381': 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) = 6145.79945587
delta logL = 0.423157150643

Extracting fit parameters...

4FGL J1104.4+0730
   Spectrum: PowerLaw
262    Prefactor:  1.287e+01  1.394e+01  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  1.638e+00  6.880e-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.389e+00  1.989e-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:  7.992e-01  2.106e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.63
Ra Dec: 166.117 7.510
Photon Index (Free Index): 1.64 +/- 0.69
Photon Flux (Free Index): 9.44e-09 +/- 1.29e-08
Energy Flux (Free Index): 1.89e-05 +/- 3.26e-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/484381/cmap_HighResolution_565660801_565920001_4FGL_J1104.4+0730_daily_bin1259.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.14e-03', comment='SUCCESS', photon_flux='1.91e-08', energy_flux2='1.89e-05', photon_flux_error='2.00e-08', dlogl='4.23e-01', energy_flux='6.77e-06', photon_flux2='9.44e-09', job_status='DONE', time_completed='2021-09-03 06:34:03.808000', photon_index_error2='0.69', photon_index2='1.64', ts='2.78', fit_tolerance='1e-08', GAL='1.39', photon_index_error='0.00', photon_flux_upper_limit='7.97e-08', energy_flux_error2='3.26e-05', EG='0.79', time_epoch_completed='1630676043.81', return_code='0', job_id='484381', GAL2='1.39', EG2='0.80', return_code2='0', energy_flux_error='7.10e-06', photon_flux_error2='1.29e-08', ts2='3.63', photon_index='2.34' WHERE bin_id='1259' AND source_name='4FGL J1104.4+0730' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 06:34:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 484381: <4FGL_J1104.4+0730_daily_bin1259> in cluster <slac> Done

Job <4FGL_J1104.4+0730_daily_bin1259> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep  3 06:21:08 2021
Job was executed on host(s) <bullet0214>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 06:22:00 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep  3 06:22:00 2021
Terminated at Fri Sep  3 06:34:05 2021
Results reported at Fri Sep  3 06:34:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1104.4+0730_daily_bin1259 166.117 7.51 565660801 565920001 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 :                                   562.38 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             315.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   725 sec.
    Turnaround time :                            777 sec.

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

