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


Performing analysis on: 4FGL_J1103.0+1157_daily_bin53
RA = 165.772, Dec = 11.9654
tmin = 253065601, tmax = 253324801
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='436709', job_status='RUN', time_executed='2021-09-03 03:50:18.236828', time_epoch_executed='1630666218.24' WHERE source_name='4FGL J1103.0+1157' and cadence='daily' and bin_id='53'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/436709

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/436709/ft1_4FGL_J1103.0+1157_daily_bin53.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/436709/ft2_4FGL_J1103.0+1157_daily_bin53.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/436709/ft1_4FGL_J1103.0+1157_daily_bin53.fits outfile=/scratch/kocevski/436709/ft1_filteredMKT_4FGL_J1103.0+1157_daily_bin53.fits ra=165.772 dec=11.9654 rad=12.0 tmin=253065601.0 tmax=253324801.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.41
user 1.24
sys 0.16

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/436709/ft2_4FGL_J1103.0+1157_daily_bin53.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/436709/ft2_4FGL_J1103.0+1157_daily_bin53.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/436709/ft1_filteredMKT_4FGL_J1103.0+1157_daily_bin53.fits evtable="EVENTS" outfile="/scratch/kocevski/436709/ft1_filtered_4FGL_J1103.0+1157_daily_bin53.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.49
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/436709/ft1_filtered_4FGL_J1103.0+1157_daily_bin53.fits" evtable="EVENTS" scfile=/scratch/kocevski/436709/ft2_4FGL_J1103.0+1157_daily_bin53.fits sctable="SC_DATA" outfile=/scratch/kocevski/436709/ltcube_253065601_253324801_4FGL_J1103.0+1157_daily_bin53.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/436709/ft2_4FGL_J1103.0+1157_daily_bin53.fits
.....................!
real 13.54
user 13.16
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/436709/ft1_filtered_4FGL_J1103.0+1157_daily_bin53.fits evtable="EVENTS" scfile=/scratch/kocevski/436709/ft2_4FGL_J1103.0+1157_daily_bin53.fits sctable="SC_DATA" expcube=/scratch/kocevski/436709/ltcube_253065601_253324801_4FGL_J1103.0+1157_daily_bin53.fits outfile=/scratch/kocevski/436709/expmap_253065601_253324801_4FGL_J1103.0+1157_daily_bin53.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/436709/ltcube_253065601_253324801_4FGL_J1103.0+1157_daily_bin53.fits
.....................!
real 189.54
user 185.30
sys 3.85

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 185 point sources and 0 extended sources

Setting source of interest to:
4FGL J1103.0+1157 @ 165.772 11.9654

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/436709/ft1_filtered_4FGL_J1103.0+1157_daily_bin53.fits scfile=/scratch/kocevski/436709/ft2_4FGL_J1103.0+1157_daily_bin53.fits outfile=/scratch/kocevski/436709/cmap_253065601_253324801_4FGL_J1103.0+1157_daily_bin53.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=165.772 yref=11.9654 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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/436709/ft1_filtered_4FGL_J1103.0+1157_daily_bin53.fits scfile=/scratch/kocevski/436709/ft2_4FGL_J1103.0+1157_daily_bin53.fits outfile=/scratch/kocevski/436709/cmap_HighResolution_253065601_253324801_4FGL_J1103.0+1157_daily_bin53.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=165.772 yref=11.9654 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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/436709/ft1_filtered_4FGL_J1103.0+1157_daily_bin53.fits evtable="EVENTS" scfile=/scratch/kocevski/436709/ft2_4FGL_J1103.0+1157_daily_bin53.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/436709/Model_4FGL_J1103.0+1157_daily_bin53.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/436709/ft1_filtered_4FGL_J1103.0+1157_daily_bin53.fits.....................!
real 68.44
user 67.04
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/436709/ft1_filtered_4FGL_J1103.0+1157_daily_bin53.fits', '/scratch/kocevski/436709/ft2_4FGL_J1103.0+1157_daily_bin53.fits', expMap='/scratch/kocevski/436709/expmap_253065601_253324801_4FGL_J1103.0+1157_daily_bin53.fits', expCube='/scratch/kocevski/436709/ltcube_253065601_253324801_4FGL_J1103.0+1157_daily_bin53.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/436709/Model_4FGL_J1103.0+1157_daily_bin53.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1103.0+1157'

4FGL J1103.0+1157
   Spectrum: LogParabola
267         norm:  1.011e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
268        alpha:  2.297e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
269         beta:  9.765e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
270           Eb:  4.926e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/436709/ft1_filtered_4FGL_J1103.0+1157_daily_bin53.fits
Spacecraft file(s): /scratch/kocevski/436709/ft2_4FGL_J1103.0+1157_daily_bin53.fits
Exposure map: /scratch/kocevski/436709/expmap_253065601_253324801_4FGL_J1103.0+1157_daily_bin53.fits
Exposure cube: /scratch/kocevski/436709/ltcube_253065601_253324801_4FGL_J1103.0+1157_daily_bin53.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/436709/Model_4FGL_J1103.0+1157_daily_bin53.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) = 7686.31857376

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.8142       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10179E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.3745       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.8715       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .57506       1.0000         .10000E-03   10000.    
     7 'norm      '    1.4887       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.1799       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.8252       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .38915       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.3047       1.0000         .10000E-03   10000.    
    13 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.9855       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.1109       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0475       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5840E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7685.433     FROM MIGRAD    STATUS=CONVERGED    354 CALLS     1623 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.9224         .0000    ** at limit **
   2  Prefactor     1.8144        1.9203         .0000        .10204E-03
   3  Prefactor     .10000E-03    4.0767         .0000    ** at limit **
   4  Prefactor     9.3748        8.3546         .0000       -.29403E-02
   5  Prefactor     4.8595        9.2844         .0000       -.23494E-02
   6  Prefactor     .60761        9.7861         .0000       -.87858E-04
   7  norm          1.4898        .66700         .0000        .25975E-03
   8  Prefactor     1.1532        14.115         .0000        .24224E-01
   9  Prefactor     .10000E-03    7.0883         .0000    ** at limit **
  10  norm          1.8243        1.1610         .0000        .29366E-03
  11  Prefactor     .41770        11.532         .0000        .24944E-03
  12  Prefactor     7.2944        5.8491         .0000       -.18980E-02
  13  norm          .10000E-03    2.9571         .0000    ** at limit **
  14  Prefactor     .10000E-03    1.9562         .0000    ** at limit **
  15  Prefactor     4.9952        38.970         .0000       -.94698E-03
  16  Normalizat    1.1108        .17101         .0000        .20814E-04
  17  Prefactor     1.0476        .15366         .0000        .19463E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.81438
  Prefactor  = 0.0001
  Prefactor  = 9.37475
  Prefactor  = 4.85948
  Prefactor  = 0.607612
  norm       = 1.48983
  Prefactor  = 1.15319
  Prefactor  = 0.0001
  norm       = 1.82434
  Prefactor  = 0.417699
  Prefactor  = 7.2944
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.99516
  Normalizat = 1.11077
  Prefactor  = 1.04755
 **********
 **   18 **HESSE 
 **********

 FCN=   7685.433     FROM HESSE     STATUS=OK           229 CALLS     1852 TOTAL
                     EDM=   .37E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.9300        .14633E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.8144        1.9135        .11916E-03   -1.5439    
   3  Prefactor     .10000E-03    12.092        .33476E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.3748        8.2934        .13089E-03   -1.5096    
   5  Prefactor     4.8595        9.4836        .18225E-03   -1.5267    
   6  Prefactor     .60761        42.909        .42719E-02   -1.5552    
   7  norm          1.4898        .66137        .38197E-04   -1.5464    
   8  Prefactor     1.1532        14.238        .21049E-02   -1.5493    
   9  Prefactor     .10000E-03    7.1110        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.8243        1.1575        .71568E-04   -1.5438    
  11  Prefactor     .41770        134.77        .56040E-02   -1.5579    
  12  Prefactor     7.2944        5.8518        .14840E-03   -1.5168    
  13  norm          .10000E-03    2.9616        .14721E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.9570        .11974E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.9952        39.027        .18011E-03   -1.5261    
  16  Normalizat    1.1108        .19867        .25036E-03   -.89407    
  17  Prefactor     1.0476        .18048        .24500E-03   -.91161    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.65475e-08
Minuit parameter uncertainties:
  1  7.70981e-08
  2  1.91358
  3  2.16887e-06
  4  8.29437
  5  9.48656
  6  10.2189
  7  0.661377
  8  8.10612
  9  2.32819e-05
  10  1.15752
  11  15.0383
  12  5.85223
  13  8.07128e-07
  14  2.56858e-07
  15  27.9494
  16  0.198805
  17  0.180589
Done.

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

Extracting fit parameters...

4FGL J1103.0+1157
   Spectrum: LogParabola
267         norm:  1.824e+00  1.158e+00  1.000e-04  1.000e+04 ( 1.000e-11)
268        alpha:  2.297e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
269         beta:  9.765e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
270           Eb:  4.926e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
581    Prefactor:  1.048e+00  1.806e-01  0.000e+00  1.000e+01 ( 1.000e+00)
582        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
583        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
580   Normalization:  1.111e+00  1.988e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.07
Ra Dec: 165.772 11.965
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 4.87e-08 +/- 3.09e-08
Energy Flux (Fixed Index): 1.61e-05 +/- 1.02e-05

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) = 7685.42910662
delta logL = 0.00397539076403

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7685.42876659
delta logL = 0.00431541470607

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8369       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3654       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1064       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0501       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5840E+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=   7685.429     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      235 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8369        1.1445        .70628E-04    .13070E-03
   2  alpha         2.3654        .71946        .19318E-01    .13955E-04
   3  Normalizat    1.1063        .19344        .25080E-03    .22393E-04
   4  Prefactor     1.0502        .18027        .24473E-03    .35816E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.83692
  alpha      = 2.3654
  Normalizat = 1.10631
  Prefactor  = 1.05019
 **********
 **   18 **HESSE 
 **********

 FCN=   7685.429     FROM HESSE     STATUS=OK            23 CALLS      258 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8369        1.1464        .28251E-05   -1.5437    
   2  alpha         2.3654        .71984        .77274E-03   -.53866E-01
   3  Normalizat    1.1063        .19368        .10032E-04   -.89549    
   4  Prefactor     1.0502        .18043        .97892E-05   -.91075    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.90536e-11
Minuit parameter uncertainties:
  1  1.14645
  2  0.730212
  3  0.193803
  4  0.180535
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/436709': 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) = 7685.42876657
delta logL = 0.00431544408093

Extracting fit parameters...

4FGL J1103.0+1157
   Spectrum: LogParabola
267         norm:  1.837e+00  1.146e+00  1.000e-04  1.000e+04 ( 1.000e-11)
268        alpha:  2.365e+00  7.302e-01  0.000e+00  5.000e+00 ( 1.000e+00)
269         beta:  9.765e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
270           Eb:  4.926e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
581    Prefactor:  1.050e+00  1.805e-01  0.000e+00  1.000e+01 ( 1.000e+00)
582        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
583        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
580   Normalization:  1.106e+00  1.938e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.07
Ra Dec: 165.772 11.965
Photon Index (Free Index): 2.37 +/- 0.73
Photon Flux (Free Index): 5.19e-08 +/- 4.68e-08
Energy Flux (Free Index): 1.60e-05 +/- 1.00e-05

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/436709/cmap_HighResolution_253065601_253324801_4FGL_J1103.0+1157_daily_bin53.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.87e-08', energy_flux2='1.60e-05', photon_flux_error='3.09e-08', dlogl='4.32e-03', energy_flux='1.61e-05', photon_flux2='5.19e-08', job_status='DONE', time_completed='2021-09-03 03:59:42.206428', photon_index_error2='0.73', photon_index2='2.37', ts='7.07', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='1.00e-05', EG='1.11', time_epoch_completed='1630666782.21', return_code='0', job_id='436709', GAL2='1.05', EG2='1.11', return_code2='0', energy_flux_error='1.02e-05', photon_flux_error2='4.68e-08', ts2='7.07', photon_index='2.30' WHERE bin_id='53' AND source_name='4FGL J1103.0+1157' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 03:59:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 436709: <4FGL_J1103.0+1157_daily_bin53> in cluster <slac> Done

Job <4FGL_J1103.0+1157_daily_bin53> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep  3 03:46:23 2021
Job was executed on host(s) <bullet0268>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 03:46:40 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep  3 03:46:40 2021
Terminated at Fri Sep  3 03:59:42 2021
Results reported at Fri Sep  3 03:59:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1103.0+1157_daily_bin53 165.772 11.9654 253065601 253324801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1103.0+1157 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   563.33 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             287.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   782 sec.
    Turnaround time :                            799 sec.

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

