/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 4 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 = 7469
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1104.4+0730_daily_bin115
RA = 166.117, Dec = 7.51
tmin = 269136001, tmax = 269395201
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='474997', job_status='RUN', time_executed='2021-09-03 05:53:50.793918', time_epoch_executed='1630673630.79' WHERE source_name='4FGL J1104.4+0730' and cadence='daily' and bin_id='115'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/474997

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/474997/ft1_4FGL_J1104.4+0730_daily_bin115.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/474997/ft2_4FGL_J1104.4+0730_daily_bin115.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/474997/ft1_4FGL_J1104.4+0730_daily_bin115.fits outfile=/scratch/kocevski/474997/ft1_filteredMKT_4FGL_J1104.4+0730_daily_bin115.fits ra=166.117 dec=7.51 rad=12.0 tmin=269136001.0 tmax=269395201.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 1.72
user 1.50
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/474997/ft2_4FGL_J1104.4+0730_daily_bin115.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/474997/ft1_filteredMKT_4FGL_J1104.4+0730_daily_bin115.fits evtable="EVENTS" outfile="/scratch/kocevski/474997/ft1_filtered_4FGL_J1104.4+0730_daily_bin115.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.33
sys 0.17

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/474997/ft1_filtered_4FGL_J1104.4+0730_daily_bin115.fits evtable="EVENTS" scfile=/scratch/kocevski/474997/ft2_4FGL_J1104.4+0730_daily_bin115.fits sctable="SC_DATA" expcube=/scratch/kocevski/474997/ltcube_269136001_269395201_4FGL_J1104.4+0730_daily_bin115.fits outfile=/scratch/kocevski/474997/expmap_269136001_269395201_4FGL_J1104.4+0730_daily_bin115.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/474997/ltcube_269136001_269395201_4FGL_J1104.4+0730_daily_bin115.fits
.....................!
real 192.81
user 187.33
sys 4.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=/scratch/kocevski/474997/ft1_filtered_4FGL_J1104.4+0730_daily_bin115.fits scfile=/scratch/kocevski/474997/ft2_4FGL_J1104.4+0730_daily_bin115.fits outfile=/scratch/kocevski/474997/cmap_269136001_269395201_4FGL_J1104.4+0730_daily_bin115.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.57
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/474997/ft1_filtered_4FGL_J1104.4+0730_daily_bin115.fits scfile=/scratch/kocevski/474997/ft2_4FGL_J1104.4+0730_daily_bin115.fits outfile=/scratch/kocevski/474997/cmap_HighResolution_269136001_269395201_4FGL_J1104.4+0730_daily_bin115.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.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12455E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .13182E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.1401       1.0000         .10000E-03   10000.    
     7 'norm      '    1.2046       1.0000         .10000E-03   10000.    
     8 'Prefactor '    16.407       1.0000         .10000E-03   10000.    
     9 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.1092       1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .19613E-03   1.0000         .10000E-03   10000.    
    14 'Normalizat'    .90633       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.2359       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=   7984.509     FROM MIGRAD    STATUS=CONVERGED    300 CALLS     1188 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10006E-03    85.348        .90712E-02** at limit **
   2  Prefactor     .10000E-03    23.038        .90712E-02** at limit **
   3  Prefactor     .10000E-03    8.2093        .90712E-02** at limit **
   4  Prefactor     .10000E-03    .88086        .90712E-02** at limit **
   5  Prefactor     .10001E-03    11.335        .90712E-02** at limit **
   6  Prefactor     5.1404        7.2206        .44332E-02    .36095E-03
   7  norm          1.2050        .61210        .91436E-02   -.36051E-03
   8  Prefactor     16.402        9.7556        .24720E-02    .13562E-03
   9  norm          .10000E-03    .74890        .24017E-01** at limit **
  10  Prefactor     7.1112        14.378        .37612E-02    .27971E-03
  11  norm          .10000E-03    6.6525        .90712E-02** at limit **
  12  Prefactor     .10000E-03    16.944        .90712E-02** at limit **
  13  Prefactor     .10000E-03    .72785        .42294E-01** at limit **
  14  Normalizat    .90627        .16353        .44982E-01    .15960E-03
  15  Prefactor     1.2359        .14803        .50074E-01    .32714E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100061
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100005
  Prefactor  = 5.14035
  norm       = 1.205
  Prefactor  = 16.4015
  norm       = 0.000100001
  Prefactor  = 7.11115
  norm       = 0.000100003
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Normalizat = 0.90627
  Prefactor  = 1.2359
 **********
 **   18 **HESSE 
 **********

 FCN=   7984.509     FROM HESSE     STATUS=OK           180 CALLS     1368 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10006E-03    86.285        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    23.069        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    8.2488        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    .88895        .81817E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10001E-03    11.779        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.1404        7.1911        .17733E-03   -1.5254    
   7  norm          1.2050        .61775        .40710E-04   -1.5488    
   8  Prefactor     16.402        9.9375        .98880E-04   -1.4898    
   9  norm          .10000E-03    1.7263        .14772E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.1112        14.356        .15045E-03   -1.5175    
  11  norm          .10000E-03    6.7730        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    17.009        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.0588        .14744E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    .90627        .18981        .27660E-03   -.96240    
  15  Prefactor     1.2359        .17431        .22137E-03   -.85234    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.31864e-09
Minuit parameter uncertainties:
  1  0.00460245
  2  6.83172e-05
  3  7.98999e-05
  4  5.22347e-05
  5  0.000492375
  6  7.19232
  7  0.617758
  8  9.93849
  9  7.44473e-05
  10  14.3632
  11  0.000269747
  12  0.000273562
  13  0.00012583
  14  0.189952
  15  0.174396
Done.

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

Extracting fit parameters...

4FGL J1104.4+0730
   Spectrum: PowerLaw
262    Prefactor:  7.111e+00  1.436e+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.236e+00  1.744e-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.063e-01  1.900e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/474997/likelihoodResults_269136001_269395201_4FGL_J1104.4+0730_daily_bin115.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) = 7984.50919236
delta logL = 0.00018836016261

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7984.50918144
delta logL = 0.00019927950143

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.1112       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3233       1.0000          .0000       10.000    
     3 'Normalizat'    .90665       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2358       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=   7984.509     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      191 TOTAL
                     EDM=   .89E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.2292        17.669        .37607E-02    .62051E-04
   2  Index         2.3191        1.2066        .24210E-01    .38492E-04
   3  Normalizat    .90661        .16068        .44986E-01    .28255E-04
   4  Prefactor     1.2357        .14781        .50077E-01    .13820E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.22917
  Index      = 2.31912
  Normalizat = 0.906607
  Prefactor  = 1.23571
 **********
 **   18 **HESSE 
 **********

 FCN=   7984.509     FROM HESSE     STATUS=OK            31 CALLS      222 TOTAL
                     EDM=   .75E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.2292        15.537        .15043E-03   -1.5170    
   2  Index         2.3191        1.0682        .96841E-03   -.56590    
   3  Normalizat    .90661        .18934        .27655E-03   -.96228    
   4  Prefactor     1.2357        .17419        .22139E-03   -.85239    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.48178e-12
Minuit parameter uncertainties:
  1  15.5454
  2  1.0799
  3  0.189474
  4  0.174274
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/474997': 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) = 7984.50915137
delta logL = 0.000229344939726

Extracting fit parameters...

4FGL J1104.4+0730
   Spectrum: PowerLaw
262    Prefactor:  7.229e+00  1.555e+01  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  2.319e+00  1.080e+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.236e+00  1.743e-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.066e-01  1.895e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.31
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 /scratch/kocevski/474997/cmap_HighResolution_269136001_269395201_4FGL_J1104.4+0730_daily_bin115.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.16e-03', job_status='DONE', photon_flux_upper_limit='8.01e-08', time_completed='2021-09-03 06:03:44.445901', job_id='474997', GAL2='1.24', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1630674224.45', return_code2='0', ts='0.31', comment='SUCCESS', return_code='0', GAL='1.24', dlogl='2.29e-04', ts2='0.31', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='115' AND source_name='4FGL J1104.4+0730' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 06:03:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0190>
Subject: Job 474997: <4FGL_J1104.4+0730_daily_bin115> in cluster <slac> Done

Job <4FGL_J1104.4+0730_daily_bin115> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Fri Sep  3 05:51:14 2021
Job was executed on host(s) <bullet0190>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 05:53:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep  3 05:53:37 2021
Terminated at Fri Sep  3 06:03:45 2021
Results reported at Fri Sep  3 06:03:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1104.4+0730_daily_bin115 166.117 7.51 269136001 269395201 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 :                                   590.59 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             358.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   607 sec.
    Turnaround time :                            751 sec.

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

