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


Performing analysis on: 4FGL_J1555.7+1111_daily_bin97
RA = 238.931, Dec = 11.1884
tmin = 264470401, tmax = 264729601
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='847197', job_status='RUN', time_executed='2021-09-12 21:17:56.730974', time_epoch_executed='1631506676.73' WHERE source_name='4FGL J1555.7+1111' and cadence='daily' and bin_id='97'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/847197

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/847197/ft1_4FGL_J1555.7+1111_daily_bin97.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/847197/ft2_4FGL_J1555.7+1111_daily_bin97.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/847197/ft1_4FGL_J1555.7+1111_daily_bin97.fits outfile=/scratch/kocevski/847197/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin97.fits ra=238.931 dec=11.1884 rad=12.0 tmin=264470401.0 tmax=264729601.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.58
user 1.39
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/847197/ft2_4FGL_J1555.7+1111_daily_bin97.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/847197/ft2_4FGL_J1555.7+1111_daily_bin97.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/847197/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin97.fits evtable="EVENTS" outfile="/scratch/kocevski/847197/ft1_filtered_4FGL_J1555.7+1111_daily_bin97.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.52
user 0.35
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/847197/ft1_filtered_4FGL_J1555.7+1111_daily_bin97.fits" evtable="EVENTS" scfile=/scratch/kocevski/847197/ft2_4FGL_J1555.7+1111_daily_bin97.fits sctable="SC_DATA" outfile=/scratch/kocevski/847197/ltcube_264470401_264729601_4FGL_J1555.7+1111_daily_bin97.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/847197/ft2_4FGL_J1555.7+1111_daily_bin97.fits
.....................!
real 14.99
user 14.54
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/847197/ft1_filtered_4FGL_J1555.7+1111_daily_bin97.fits evtable="EVENTS" scfile=/scratch/kocevski/847197/ft2_4FGL_J1555.7+1111_daily_bin97.fits sctable="SC_DATA" expcube=/scratch/kocevski/847197/ltcube_264470401_264729601_4FGL_J1555.7+1111_daily_bin97.fits outfile=/scratch/kocevski/847197/expmap_264470401_264729601_4FGL_J1555.7+1111_daily_bin97.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/847197/ltcube_264470401_264729601_4FGL_J1555.7+1111_daily_bin97.fits
.....................!
real 191.81
user 185.77
sys 5.33

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

Setting source of interest to:
4FGL J1555.7+1111 @ 238.931 11.1884

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/847197/ft1_filtered_4FGL_J1555.7+1111_daily_bin97.fits scfile=/scratch/kocevski/847197/ft2_4FGL_J1555.7+1111_daily_bin97.fits outfile=/scratch/kocevski/847197/cmap_264470401_264729601_4FGL_J1555.7+1111_daily_bin97.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=238.931 yref=11.1884 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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/847197/ft1_filtered_4FGL_J1555.7+1111_daily_bin97.fits scfile=/scratch/kocevski/847197/ft2_4FGL_J1555.7+1111_daily_bin97.fits outfile=/scratch/kocevski/847197/cmap_HighResolution_264470401_264729601_4FGL_J1555.7+1111_daily_bin97.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=238.931 yref=11.1884 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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/847197/ft1_filtered_4FGL_J1555.7+1111_daily_bin97.fits evtable="EVENTS" scfile=/scratch/kocevski/847197/ft2_4FGL_J1555.7+1111_daily_bin97.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/847197/Model_4FGL_J1555.7+1111_daily_bin97.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/847197/ft1_filtered_4FGL_J1555.7+1111_daily_bin97.fits.....................!
real 91.28
user 89.63
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/847197/ft1_filtered_4FGL_J1555.7+1111_daily_bin97.fits', '/scratch/kocevski/847197/ft2_4FGL_J1555.7+1111_daily_bin97.fits', expMap='/scratch/kocevski/847197/expmap_264470401_264729601_4FGL_J1555.7+1111_daily_bin97.fits', expCube='/scratch/kocevski/847197/ltcube_264470401_264729601_4FGL_J1555.7+1111_daily_bin97.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/847197/Model_4FGL_J1555.7+1111_daily_bin97.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1555.7+1111'

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  3.843e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  1.541e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
267         beta:  6.792e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
268           Eb:  1.802e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/847197/ft1_filtered_4FGL_J1555.7+1111_daily_bin97.fits
Spacecraft file(s): /scratch/kocevski/847197/ft2_4FGL_J1555.7+1111_daily_bin97.fits
Exposure map: /scratch/kocevski/847197/expmap_264470401_264729601_4FGL_J1555.7+1111_daily_bin97.fits
Exposure cube: /scratch/kocevski/847197/ltcube_264470401_264729601_4FGL_J1555.7+1111_daily_bin97.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/847197/Model_4FGL_J1555.7+1111_daily_bin97.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) = 12892.9037039

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.625       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10567E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    37.587       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.6755       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.6247       1.0000         .10000E-03   10000.    
     8 'Prefactor '    36.763       1.0000         .10000E-03   10000.    
     9 'norm      '    .15897       1.0000         .10000E-03   10000.    
    10 'Prefactor '    28.561       1.0000         .10000E-03   10000.    
    11 'norm      '    19.858       1.0000         .10000E-03   10000.    
    12 'norm      '    1.0548       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    15.400       1.0000         .10000E-03   10000.    
    15 'Prefactor '    11.368       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.6054       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.5009       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.4233       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .88614       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12892.80     FROM MIGRAD    STATUS=CONVERGED    447 CALLS     2285 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.625        26.280        .63182E-07   -.82144E-07
   2  Prefactor     .10000E-03    12.538       -.43939E-07** at limit **
   3  Prefactor     .10000E-03    3.7506       -.23304E-07** at limit **
   4  Prefactor     37.586        33.951        .68044E-07    .56918E-05
   5  Prefactor     .10000E-03    5.3329        .11009E-07** at limit **
   6  norm          1.6756        3.0811        .81963E-07   -.58753E-04
   7  Prefactor     1.6251        2.8136        .22768E-06   -.20292E-04
   8  Prefactor     36.758        40.729        .84551E-06    .87682E-05
   9  norm          .15800        .99908        .33613E-07   -.20829E-03
  10  Prefactor     28.562        27.232       -.13553E-06   -.11646E-05
  11  norm          19.858        8.7540       -.21655E-08    .25222E-04
  12  norm          1.0548        .79169       -.13899E-07    .91973E-05
  13  norm          .10000E-03    4.0003       -.65247E-08** at limit **
  14  norm          15.432        51.217       -.83213E-05   -.16976E-05
  15  Prefactor     11.367        11.236        .21853E-07    .13107E-05
  16  Prefactor     .10000E-03    24.508       -.21803E-07** at limit **
  17  Prefactor     .10000E-03    7.0230       -.20964E-07** at limit **
  18  Prefactor     3.6052        5.1495       -.47312E-07   -.71057E-06
  19  Prefactor     2.5010        3.5372        .15663E-05    .30210E-06
  20  Normalizat    1.4234        .19079        .59671E-06    .25435E-05
  21  Prefactor     .88608        .85821E-01   -.43312E-06    .15962E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.625
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 37.5856
  Prefactor  = 0.0001
  norm       = 1.67556
  Prefactor  = 1.62506
  Prefactor  = 36.7575
  norm       = 0.158004
  Prefactor  = 28.562
  norm       = 19.8576
  norm       = 1.05478
  norm       = 0.0001
  norm       = 15.432
  Prefactor  = 11.3669
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.60521
  Prefactor  = 2.501
  Normalizat = 1.42342
  Prefactor  = 0.886081
 **********
 **   18 **HESSE 
 **********

 FCN=   12892.80     FROM HESSE     STATUS=OK           329 CALLS     2614 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.625        26.282        .10132E-03   -1.4917    
   2  Prefactor     .10000E-03    12.588        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.9012        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     37.586        34.034        .65373E-04   -1.4481    
   5  Prefactor     .10000E-03    5.3375        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.6756        3.0314        .23827E-03   -1.5449    
   7  Prefactor     1.6251        2.7929        .23843E-03   -1.5453    
   8  Prefactor     36.758        40.486        .66099E-04   -1.4495    
   9  norm          .15800        2.5548        .21965E-02   -1.5628    
  10  Prefactor     28.562        27.234        .74965E-04   -1.4639    
  11  norm          19.858        8.6887        .89879E-04   -1.4816    
  12  norm          1.0548        .80376        .84857E-04   -1.5503    
  13  norm          .10000E-03    4.0176        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          15.432        51.245        .10206E-03   -1.4922    
  15  Prefactor     11.367        11.250        .11882E-03   -1.5034    
  16  Prefactor     .10000E-03    24.549        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    7.0291        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.6052        5.1382        .21280E-03   -1.5328    
  19  Prefactor     2.5010        3.5431        .12365E-02   -1.5392    
  20  Normalizat    1.4234        .23071        .33586E-03   -.79954    
  21  Prefactor     .88608        .10337        .18868E-03   -.96629    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02097e-07
Minuit parameter uncertainties:
  1  26.3014
  2  5.78648e-06
  3  3.84785e-06
  4  34.0512
  5  9.02237e-07
  6  3.03164
  7  2.7931
  8  40.5167
  9  1.27037
  10  27.246
  11  8.68929
  12  0.803768
  13  1.34731e-06
  14  51.3917
  15  11.2526
  16  3.48716e-08
  17  1.49278e-06
  18  5.13879
  19  3.54335
  20  0.230877
  21  0.103392
Done.

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

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  1.055e+00  8.038e-01  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  1.541e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
267         beta:  6.792e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
268           Eb:  1.802e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
525    Prefactor:  8.861e-01  1.034e-01  0.000e+00  1.000e+01 ( 1.000e+00)
526        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
527        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
524   Normalization:  1.423e+00  2.309e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.82
Ra Dec: 238.931 11.188
Photon Index (Fixed Index): 1.54 +/- 0.00
Photon Flux (Fixed Index): 1.30e-08 +/- 9.90e-09
Energy Flux (Fixed Index): 2.95e-05 +/- 2.25e-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) = 12890.2835741
delta logL = 2.51229898739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12890.2732483
delta logL = 2.52262482406

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11296       1.0000         .10000E-03   10000.    
     2 'alpha     '    .14083       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4249       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88847       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12890.27     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      236 TOTAL
                     EDM=   .13E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11267        .83866E-01   -.78247E-08   -.48579E-03
   2  alpha         .14006        .81993E-01   -.12908E-05    .24567E-05
   3  Normalizat    1.4249        .18299       -.13219E-08   -.76973E-05
   4  Prefactor     .88845        .83949E-01    .52146E-09   -.15283E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.112668
  alpha      = 0.140056
  Normalizat = 1.42495
  Prefactor  = 0.888448
 **********
 **   18 **HESSE 
 **********

 FCN=   12890.27     FROM HESSE     STATUS=OK            35 CALLS      271 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11267        .25352        .24673E-03   -1.5641    
   2  alpha         .14006        .98921        .40138E-01   -1.2345    
   3  Normalizat    1.4249        .22087        .33569E-03   -.79910    
   4  Prefactor     .88845        .10144        .18847E-03   -.96546    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.31959e-10
Minuit parameter uncertainties:
  1  0.253519
  2  0.784634
  3  0.221023
  4  0.101462
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/847197': 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) = 12890.2732472
delta logL = 2.52262586216

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  1.127e-01  2.535e-01  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  1.401e-01  7.846e-01  0.000e+00  5.000e+00 ( 1.000e+00)
267         beta:  6.792e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
268           Eb:  1.802e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
525    Prefactor:  8.884e-01  1.015e-01  0.000e+00  1.000e+01 ( 1.000e+00)
526        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
527        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
524   Normalization:  1.425e+00  2.210e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.86
Ra Dec: 238.931 11.188
Photon Index (Free Index): 0.14 +/- 0.78
Photon Flux (Free Index): 4.13e-09 +/- 3.12e-09
Energy Flux (Free Index): 1.53e-04 +/- 1.36e-04

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/847197/cmap_HighResolution_264470401_264729601_4FGL_J1555.7+1111_daily_bin97.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.30e-08', energy_flux2='1.53e-04', photon_flux_error='9.90e-09', dlogl='2.52e+00', energy_flux='2.95e-05', photon_flux2='4.13e-09', job_status='DONE', time_completed='2021-09-12 21:31:17.145816', photon_index_error2='0.78', photon_index2='0.14', ts='7.82', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', energy_flux_error2='1.36e-04', EG='1.42', time_epoch_completed='1631507477.15', return_code='0', job_id='847197', GAL2='0.89', EG2='1.42', return_code2='0', energy_flux_error='2.25e-05', photon_flux_error2='3.12e-09', ts2='12.86', photon_index='1.54' WHERE bin_id='97' AND source_name='4FGL J1555.7+1111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 21:31:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 847197: <4FGL_J1555.7+1111_daily_bin97> in cluster <slac> Done

Job <4FGL_J1555.7+1111_daily_bin97> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sun Sep 12 21:15:21 2021
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 21:15:40 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 21:15:40 2021
Terminated at Sun Sep 12 21:31:17 2021
Results reported at Sun Sep 12 21:31:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1555.7+1111_daily_bin97 238.931 11.1884 264470401 264729601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1555.7+1111 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   798.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             276.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   937 sec.
    Turnaround time :                            956 sec.

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

