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


Performing analysis on: 4FGL_J1103.0+1157_daily_bin72
RA = 165.772, Dec = 11.9654
tmin = 257990401, tmax = 258249601
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='436746', job_status='RUN', time_executed='2021-09-03 03:50:33.420954', time_epoch_executed='1630666233.42' WHERE source_name='4FGL J1103.0+1157' and cadence='daily' and bin_id='72'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/436746

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/436746/ft1_4FGL_J1103.0+1157_daily_bin72.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/436746/ft2_4FGL_J1103.0+1157_daily_bin72.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/436746/ft1_4FGL_J1103.0+1157_daily_bin72.fits outfile=/scratch/kocevski/436746/ft1_filteredMKT_4FGL_J1103.0+1157_daily_bin72.fits ra=165.772 dec=11.9654 rad=12.0 tmin=257990401.0 tmax=258249601.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.40
user 1.24
sys 0.15

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/436746/ft2_4FGL_J1103.0+1157_daily_bin72.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/436746/ft1_filteredMKT_4FGL_J1103.0+1157_daily_bin72.fits evtable="EVENTS" outfile="/scratch/kocevski/436746/ft1_filtered_4FGL_J1103.0+1157_daily_bin72.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.34
sys 0.14

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/436746/ft1_filtered_4FGL_J1103.0+1157_daily_bin72.fits evtable="EVENTS" scfile=/scratch/kocevski/436746/ft2_4FGL_J1103.0+1157_daily_bin72.fits sctable="SC_DATA" expcube=/scratch/kocevski/436746/ltcube_257990401_258249601_4FGL_J1103.0+1157_daily_bin72.fits outfile=/scratch/kocevski/436746/expmap_257990401_258249601_4FGL_J1103.0+1157_daily_bin72.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/436746/ltcube_257990401_258249601_4FGL_J1103.0+1157_daily_bin72.fits
.....................!
real 192.69
user 187.20
sys 5.10

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/436746/ft1_filtered_4FGL_J1103.0+1157_daily_bin72.fits scfile=/scratch/kocevski/436746/ft2_4FGL_J1103.0+1157_daily_bin72.fits outfile=/scratch/kocevski/436746/cmap_257990401_258249601_4FGL_J1103.0+1157_daily_bin72.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/436746/ft1_filtered_4FGL_J1103.0+1157_daily_bin72.fits scfile=/scratch/kocevski/436746/ft2_4FGL_J1103.0+1157_daily_bin72.fits outfile=/scratch/kocevski/436746/cmap_HighResolution_257990401_258249601_4FGL_J1103.0+1157_daily_bin72.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.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/436746/ft1_filtered_4FGL_J1103.0+1157_daily_bin72.fits', '/scratch/kocevski/436746/ft2_4FGL_J1103.0+1157_daily_bin72.fits', expMap='/scratch/kocevski/436746/expmap_257990401_258249601_4FGL_J1103.0+1157_daily_bin72.fits', expCube='/scratch/kocevski/436746/ltcube_257990401_258249601_4FGL_J1103.0+1157_daily_bin72.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/436746/Model_4FGL_J1103.0+1157_daily_bin72.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/436746/ft1_filtered_4FGL_J1103.0+1157_daily_bin72.fits
Spacecraft file(s): /scratch/kocevski/436746/ft2_4FGL_J1103.0+1157_daily_bin72.fits
Exposure map: /scratch/kocevski/436746/expmap_257990401_258249601_4FGL_J1103.0+1157_daily_bin72.fits
Exposure cube: /scratch/kocevski/436746/ltcube_257990401_258249601_4FGL_J1103.0+1157_daily_bin72.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/436746/Model_4FGL_J1103.0+1157_daily_bin72.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) = 6492.64294598

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.024       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.2552       1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.0751       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.7583       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.0283       1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.817       1.0000         .10000E-03   10000.    
     9 'Prefactor '    21.926       1.0000         .10000E-03   10000.    
    10 'norm      '    .79580       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.6256       1.0000         .10000E-03   10000.    
    13 'norm      '    .12390E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10346E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .18637E-02   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .94385       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1252       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=   6491.655     FROM MIGRAD    STATUS=CONVERGED    584 CALLS     1654 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.034        10.815        .11099E-03   -.30523E-03
   2  Prefactor     5.2561        2.8344        .95579E-04    .88971E-04
   3  Prefactor     9.0782        7.8358        .13304E-03    .27515E-04
   4  Prefactor     .10000E-03    2.4404        .12254E-02** at limit **
   5  Prefactor     1.7452        10.674        .31604E-03   -.16151E-04
   6  Prefactor     .10000E-03    7.1022        .18142E-02** at limit **
   7  norm          2.0285        .68962        .34319E-04    .67082E-03
   8  Prefactor     10.814        8.5831        .12182E-03   -.41063E-04
   9  Prefactor     21.914        17.670        .85541E-04   -.34624E-03
  10  norm          .79695        1.3283        .11332E-03    .92018E-03
  11  Prefactor     .10000E-03    5.4892        .18142E-02** at limit **
  12  Prefactor     6.6306        6.4382        .15590E-03    .11354E-03
  13  norm          .10000E-03    59.507        .46667E-02** at limit **
  14  Prefactor     .10000E-03    7.8813        .18142E-02** at limit **
  15  Prefactor     .10000E-03    44.102        .13163    ** at limit **
  16  Normalizat    .94337        .22323        .26824E-03    .23658E-03
  17  Prefactor     1.1254        .19842        .23875E-03    .75014E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.0341
  Prefactor  = 5.25613
  Prefactor  = 9.07819
  Prefactor  = 0.0001
  Prefactor  = 1.74519
  Prefactor  = 0.000100002
  norm       = 2.02852
  Prefactor  = 10.8137
  Prefactor  = 21.9141
  norm       = 0.796953
  Prefactor  = 0.0001
  Prefactor  = 6.63064
  norm       = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.94337
  Prefactor  = 1.12542
 **********
 **   18 **HESSE 
 **********

 FCN=   6491.655     FROM HESSE     STATUS=OK           215 CALLS     1869 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.034        10.814        .44397E-05   -1.4986    
   2  Prefactor     5.2561        2.8343        .38232E-05   -1.5249    
   3  Prefactor     9.0782        7.8353        .53218E-05   -1.5105    
   4  Prefactor     .10000E-03    2.4406        .24509E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.7452        10.654        .12642E-04   -1.5444    
   6  Prefactor     .10000E-03    7.1033        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.0285        .68965        .13727E-05   -1.5423    
   8  Prefactor     10.814        8.5833        .48727E-05   -1.5050    
   9  Prefactor     21.914        17.662        .17108E-04   -1.4771    
  10  norm          .79695        1.3280        .45328E-05   -1.5529    
  11  Prefactor     .10000E-03    5.4894        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.6306        6.4380        .62359E-05   -1.5193    
  13  norm          .10000E-03    60.504        .93333E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    7.8837        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    43.611        .13251       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .94337        .22338        .10730E-04   -.94953    
  17  Prefactor     1.1254        .19860        .47750E-04   -.88658    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88208e-09
Minuit parameter uncertainties:
  1  10.8154
  2  2.83442
  3  7.83614
  4  1.40924e-05
  5  8.62614
  6  0.00026646
  7  0.68965
  8  8.58432
  9  17.6661
  10  1.32806
  11  1.10819e-05
  12  6.43872
  13  0.000756391
  14  4.28639e-06
  15  0.000148276
  16  0.2236
  17  0.198734
Done.

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

Extracting fit parameters...

4FGL J1103.0+1157
   Spectrum: LogParabola
267         norm:  7.970e-01  1.328e+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.125e+00  1.987e-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:  9.434e-01  2.236e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.43
Ra Dec: 165.772 11.965
Photon Flux Upper Limit: 9.88e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.27e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/436746/likelihoodResults_257990401_258249601_4FGL_J1103.0+1157_daily_bin72.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) = 6491.22541382
delta logL = 0.429495424964

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6491.22428259
delta logL = 0.430626654355

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .74658       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.2994       1.0000          .0000       5.0000    
     3 'Normalizat'    .89816       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1522       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.

 FCN=   6491.224     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      207 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .74592        13.235        .12239E-01    .12235E-02
   2  alpha         3.2998        3.8928        .44189        .40777E-04
   3  Normalizat    .89825        .44222E-01    .44878E-01    .14904E-04
   4  Prefactor     1.1521        .43371E-01    .53445E-01    .21362E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.745922
  alpha      = 3.29978
  Normalizat = 0.89825
  Prefactor  = 1.1521
 **********
 **   18 **HESSE 
 **********

 FCN=   6491.224     FROM HESSE     STATUS=OK            33 CALLS      240 TOTAL
                     EDM=   .93E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .74592        1.2815        .63929E-04   -1.5535    
   2  alpha         3.2998        1.3175        .22404E-01    .32564    
   3  Normalizat    .89825        .21141        .27412E-03   -.96522    
   4  Prefactor     1.1521        .19913        .23630E-03   -.87818    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.32623e-09
Minuit parameter uncertainties:
  1  1.28154
  2  1.3971
  3  0.211605
  4  0.199262
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/436746': 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) = 6491.22428231
delta logL = 0.430626930152

Extracting fit parameters...

4FGL J1103.0+1157
   Spectrum: LogParabola
267         norm:  7.459e-01  1.282e+00  1.000e-04  1.000e+04 ( 1.000e-11)
268        alpha:  3.300e+00  1.397e+00  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.152e+00  1.993e-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:  8.982e-01  2.116e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.35
Ra Dec: 165.772 11.965
Photon Index (Free Index): 3.30 +/- 1.40
Photon Flux (Free Index): 5.41e-08 +/- 5.33e-08
Energy Flux (Free Index): 9.83e-06 +/- 9.97e-06

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/436746/cmap_HighResolution_257990401_258249601_4FGL_J1103.0+1157_daily_bin72.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.27e-05', comment='SUCCESS', energy_flux2='9.83e-06', dlogl='4.31e-01', photon_flux2='5.41e-08', job_status='DONE', time_completed='2021-09-03 04:00:04.929920', photon_index_error2='1.40', photon_index2='3.30', ts='0.43', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', photon_flux_upper_limit='9.88e-08', energy_flux_error2='9.97e-06', EG='0.94', time_epoch_completed='1630666804.93', return_code='0', job_id='436746', GAL2='1.15', EG2='0.90', return_code2='0', photon_flux_error2='5.33e-08', ts2='1.35', photon_index='2.30' WHERE bin_id='72' AND source_name='4FGL J1103.0+1157' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 04:00:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0116>
Subject: Job 436746: <4FGL_J1103.0+1157_daily_bin72> in cluster <slac> Done

Job <4FGL_J1103.0+1157_daily_bin72> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep  3 03:46:26 2021
Job was executed on host(s) <bullet0116>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 03:46:44 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:44 2021
Terminated at Fri Sep  3 04:00:05 2021
Results reported at Fri Sep  3 04:00:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1103.0+1157_daily_bin72 165.772 11.9654 257990401 258249601 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 :                                   570.13 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             258.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   801 sec.
    Turnaround time :                            819 sec.

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

