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


Performing analysis on: 4FGL_J1104.4+0730_daily_bin1253
RA = 166.117, Dec = 7.51
tmin = 564105601, tmax = 564364801
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='484372', job_status='RUN', time_executed='2021-09-03 06:25:31.225319', time_epoch_executed='1630675531.23' WHERE source_name='4FGL J1104.4+0730' and cadence='daily' and bin_id='1253'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/484372

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/484372/ft1_4FGL_J1104.4+0730_daily_bin1253.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/484372/ft2_4FGL_J1104.4+0730_daily_bin1253.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/484372/ft1_4FGL_J1104.4+0730_daily_bin1253.fits outfile=/scratch/kocevski/484372/ft1_filteredMKT_4FGL_J1104.4+0730_daily_bin1253.fits ra=166.117 dec=7.51 rad=12.0 tmin=564105601.0 tmax=564364801.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 4.46
user 3.06
sys 0.23

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/484372/ft1_filtered_4FGL_J1104.4+0730_daily_bin1253.fits evtable="EVENTS" scfile=/scratch/kocevski/484372/ft2_4FGL_J1104.4+0730_daily_bin1253.fits sctable="SC_DATA" expcube=/scratch/kocevski/484372/ltcube_564105601_564364801_4FGL_J1104.4+0730_daily_bin1253.fits outfile=/scratch/kocevski/484372/expmap_564105601_564364801_4FGL_J1104.4+0730_daily_bin1253.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/484372/ltcube_564105601_564364801_4FGL_J1104.4+0730_daily_bin1253.fits
.....................!
real 197.12
user 188.90
sys 4.84

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/484372/ft1_filtered_4FGL_J1104.4+0730_daily_bin1253.fits scfile=/scratch/kocevski/484372/ft2_4FGL_J1104.4+0730_daily_bin1253.fits outfile=/scratch/kocevski/484372/cmap_564105601_564364801_4FGL_J1104.4+0730_daily_bin1253.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 1.66
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/484372/ft1_filtered_4FGL_J1104.4+0730_daily_bin1253.fits scfile=/scratch/kocevski/484372/ft2_4FGL_J1104.4+0730_daily_bin1253.fits outfile=/scratch/kocevski/484372/cmap_HighResolution_564105601_564364801_4FGL_J1104.4+0730_daily_bin1253.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 1.14
user 0.38
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    108.72       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .13288E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10258E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.6792       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.699       1.0000         .10000E-03   10000.    
     9 'norm      '    .76392       1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.144       1.0000         .10000E-03   10000.    
    11 'norm      '    .10037E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    68.171       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.0335       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0258       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=   4372.804     FROM MIGRAD    STATUS=CONVERGED    263 CALLS     1312 TOTAL
                     EDM=   .82E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     108.62        86.322       -.65451E-06   -.37214E-04
   2  Prefactor     .10000E-03    69.115       -.33526E-05** at limit **
   3  Prefactor     .10000E-03    12.170       -.10992E-05** at limit **
   4  Prefactor     6.6783        4.0847       -.49763E-07   -.42918E-04
   5  Prefactor     .10000E-03    3.9889        .35684E-06** at limit **
   6  Prefactor     .10000E-03    4.4050        .26325E-06** at limit **
   7  norm          .10000E-03    .20627        .11908E-07** at limit **
   8  Prefactor     10.698        8.6433        .22872E-07   -.23660E-04
   9  norm          .76300        1.8863        .52640E-06    .22397E-03
  10  Prefactor     15.138        27.624       -.74127E-06   -.39766E-04
  11  norm          .10000E-03    3.9098       -.35792E-06** at limit **
  12  Prefactor     68.114        55.730       -.95645E-06   -.57459E-04
  13  Prefactor     .10000E-03    1.4428        .36085E-06** at limit **
  14  Normalizat    1.0344        .27043        .47573E-05   -.14994E-03
  15  Prefactor     1.0251        .22595       -.48144E-05   -.64523E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 108.62
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 6.67826
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10.698
  norm       = 0.763005
  Prefactor  = 15.1381
  norm       = 0.0001
  Prefactor  = 68.1136
  Prefactor  = 0.0001
  Normalizat = 1.03436
  Prefactor  = 1.02508
 **********
 **   18 **HESSE 
 **********

 FCN=   4372.804     FROM HESSE     STATUS=OK           182 CALLS     1494 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     108.62        86.445        .19287E-03   -1.3620    
   2  Prefactor     .10000E-03    69.890        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    12.257        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.6783        4.0824        .10015E-03   -1.5191    
   5  Prefactor     .10000E-03    4.0234        .12881E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.4326        .13559E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .20632        .18142E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     10.698        8.6401        .12249E-03   -1.5054    
   9  norm          .76300        1.9166        .13004E-03   -1.5533    
  10  Prefactor     15.138        27.624        .10292E-03   -1.4930    
  11  norm          .10000E-03    3.9234        .12783E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     68.114        55.851        .24307E-03   -1.4055    
  13  Prefactor     .10000E-03    1.4674        .77758E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.0344        .27277        .26405E-03   -.91888    
  15  Prefactor     1.0251        .22940        .23750E-03   -.91898    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71238e-10
Minuit parameter uncertainties:
  1  86.5457
  2  0.000472153
  3  6.53184e-05
  4  4.08254
  5  2.37104e-06
  6  1.00399e-05
  7  1.23571e-07
  8  8.64114
  9  1.91673
  10  27.6473
  11  1.35895e-05
  12  55.8942
  13  7.01132e-06
  14  0.273141
  15  0.229621
Done.

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

Extracting fit parameters...

4FGL J1104.4+0730
   Spectrum: PowerLaw
262    Prefactor:  1.514e+01  2.765e+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.025e+00  2.296e-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:  1.034e+00  2.731e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/484372/likelihoodResults_564105601_564364801_4FGL_J1104.4+0730_daily_bin1253.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) = 4372.77795665
delta logL = 0.0262106610289

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4372.77263218
delta logL = 0.031535135925

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.424       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6166       1.0000          .0000       10.000    
     3 'Normalizat'    1.0250       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0299       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=   4372.773     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      240 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.420        29.245        .11365E-03    .59041E-03
   2  Index         2.6167        1.2521        .94075E-02    .21746E-03
   3  Normalizat    1.0250        .25668        .26510E-03   -.51292E-03
   4  Prefactor     1.0299        .22818        .23700E-03   -.65430E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.4203
  Index      = 2.61674
  Normalizat = 1.02504
  Prefactor  = 1.02989
 **********
 **   18 **HESSE 
 **********

 FCN=   4372.773     FROM HESSE     STATUS=OK            23 CALLS      263 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.420        26.527        .22729E-04   -1.5003    
   2  Index         2.6167        1.1365        .37630E-03   -.49684    
   3  Normalizat    1.0250        .25656        .53019E-04   -.92196    
   4  Prefactor     1.0299        .22793        .47400E-04   -.91740    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.01025e-09
Minuit parameter uncertainties:
  1  26.5526
  2  1.14961
  3  0.256865
  4  0.228145
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/484372': 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) = 4372.77263217
delta logL = 0.0315351488844

Extracting fit parameters...

4FGL J1104.4+0730
   Spectrum: PowerLaw
262    Prefactor:  1.242e+01  2.655e+01  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  2.617e+00  1.150e+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.030e+00  2.281e-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:  1.025e+00  2.569e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.38
Ra Dec: 166.117 7.510

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/484372/cmap_HighResolution_564105601_564364801_4FGL_J1104.4+0730_daily_bin1253.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.12e-02', job_status='DONE', photon_flux_upper_limit='1.45e-07', time_completed='2021-09-03 06:34:18.759474', job_id='484372', GAL2='1.03', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1630676058.76', return_code2='0', ts='0.38', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='3.15e-02', ts2='0.44', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1253' AND source_name='4FGL J1104.4+0730' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 06:34:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 484372: <4FGL_J1104.4+0730_daily_bin1253> in cluster <slac> Done

Job <4FGL_J1104.4+0730_daily_bin1253> 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) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 06:21:58 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:21:58 2021
Terminated at Fri Sep  3 06:34:19 2021
Results reported at Fri Sep  3 06:34:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1104.4+0730_daily_bin1253 166.117 7.51 564105601 564364801 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 :                                   470.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             228.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   741 sec.
    Turnaround time :                            791 sec.

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

