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


Performing analysis on: 4FGL_J1555.7+1111_daily_bin67
RA = 238.931, Dec = 11.1884
tmin = 256694401, tmax = 256953601
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='847151', job_status='RUN', time_executed='2021-09-12 21:18:15.567837', time_epoch_executed='1631506695.57' WHERE source_name='4FGL J1555.7+1111' and cadence='daily' and bin_id='67'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/847151

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/847151/ft1_4FGL_J1555.7+1111_daily_bin67.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/847151/ft2_4FGL_J1555.7+1111_daily_bin67.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/847151/ft1_4FGL_J1555.7+1111_daily_bin67.fits outfile=/scratch/kocevski/847151/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin67.fits ra=238.931 dec=11.1884 rad=12.0 tmin=256694401.0 tmax=256953601.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.44
user 1.25
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/847151/ft2_4FGL_J1555.7+1111_daily_bin67.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/847151/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin67.fits evtable="EVENTS" outfile="/scratch/kocevski/847151/ft1_filtered_4FGL_J1555.7+1111_daily_bin67.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.51
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/847151/ft1_filtered_4FGL_J1555.7+1111_daily_bin67.fits" evtable="EVENTS" scfile=/scratch/kocevski/847151/ft2_4FGL_J1555.7+1111_daily_bin67.fits sctable="SC_DATA" outfile=/scratch/kocevski/847151/ltcube_256694401_256953601_4FGL_J1555.7+1111_daily_bin67.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/847151/ft2_4FGL_J1555.7+1111_daily_bin67.fits
.....................!
real 15.18
user 14.80
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/847151/ft1_filtered_4FGL_J1555.7+1111_daily_bin67.fits evtable="EVENTS" scfile=/scratch/kocevski/847151/ft2_4FGL_J1555.7+1111_daily_bin67.fits sctable="SC_DATA" expcube=/scratch/kocevski/847151/ltcube_256694401_256953601_4FGL_J1555.7+1111_daily_bin67.fits outfile=/scratch/kocevski/847151/expmap_256694401_256953601_4FGL_J1555.7+1111_daily_bin67.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/847151/ltcube_256694401_256953601_4FGL_J1555.7+1111_daily_bin67.fits
.....................!
real 192.39
user 187.09
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 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/847151/ft1_filtered_4FGL_J1555.7+1111_daily_bin67.fits scfile=/scratch/kocevski/847151/ft2_4FGL_J1555.7+1111_daily_bin67.fits outfile=/scratch/kocevski/847151/cmap_256694401_256953601_4FGL_J1555.7+1111_daily_bin67.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/847151/ft1_filtered_4FGL_J1555.7+1111_daily_bin67.fits scfile=/scratch/kocevski/847151/ft2_4FGL_J1555.7+1111_daily_bin67.fits outfile=/scratch/kocevski/847151/cmap_HighResolution_256694401_256953601_4FGL_J1555.7+1111_daily_bin67.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/847151/ft1_filtered_4FGL_J1555.7+1111_daily_bin67.fits evtable="EVENTS" scfile=/scratch/kocevski/847151/ft2_4FGL_J1555.7+1111_daily_bin67.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/847151/Model_4FGL_J1555.7+1111_daily_bin67.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/847151/ft1_filtered_4FGL_J1555.7+1111_daily_bin67.fits.....................!
real 85.63
user 84.22
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/847151/ft1_filtered_4FGL_J1555.7+1111_daily_bin67.fits', '/scratch/kocevski/847151/ft2_4FGL_J1555.7+1111_daily_bin67.fits', expMap='/scratch/kocevski/847151/expmap_256694401_256953601_4FGL_J1555.7+1111_daily_bin67.fits', expCube='/scratch/kocevski/847151/ltcube_256694401_256953601_4FGL_J1555.7+1111_daily_bin67.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/847151/Model_4FGL_J1555.7+1111_daily_bin67.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/847151/ft1_filtered_4FGL_J1555.7+1111_daily_bin67.fits
Spacecraft file(s): /scratch/kocevski/847151/ft2_4FGL_J1555.7+1111_daily_bin67.fits
Exposure map: /scratch/kocevski/847151/expmap_256694401_256953601_4FGL_J1555.7+1111_daily_bin67.fits
Exposure cube: /scratch/kocevski/847151/ltcube_256694401_256953601_4FGL_J1555.7+1111_daily_bin67.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/847151/Model_4FGL_J1555.7+1111_daily_bin67.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) = 11720.5305116

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0219       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .67972       1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.442       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.5265       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.4819       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    18.457       1.0000         .10000E-03   10000.    
    12 'norm      '    2.8514       1.0000         .10000E-03   10000.    
    13 'norm      '    8.7483       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.1822       1.0000         .10000E-03   10000.    
    16 'Prefactor '    162.80       1.0000         .10000E-03   10000.    
    17 'Prefactor '    28.934       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10244E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.4071       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .86368       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1477       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=   11720.53     FROM MIGRAD    STATUS=CONVERGED    444 CALLS     2206 TOTAL
                     EDM=   .98E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 14.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0057        153.95       -.32316E-04    .96066E-04
   2  Prefactor     .10000E-03    25.498       -.44294E-05** at limit **
   3  Prefactor     .68556        2.5252        .13419E-05    .11153E-02
   4  Prefactor     10.442        21.323       -.48413E-06    .13986E-04
   5  Prefactor     .10000E-03    8.0951        .11379E-06** at limit **
   6  norm          .10000E-03    .87851        .70674E-07** at limit **
   7  Prefactor     5.5268        3.5975        .48329E-07    .69986E-03
   8  Prefactor     .10000E-03    11.805        .22453E-05** at limit **
   9  norm          1.4825        2.0511       -.34879E-06    .16083E-03
  10  Prefactor     .10000E-03    11.717        .59707E-06** at limit **
  11  norm          18.458        8.1815       -.58924E-06    .34084E-03
  12  norm          2.8514        1.2990        .36863E-07    .38039E-04
  13  norm          8.7489        8.8200       -.74934E-07    .67128E-04
  14  norm          .10000E-03    29.210        .35135E-05** at limit **
  15  Prefactor     8.1827        10.579       -.29064E-06    .35848E-04
  16  Prefactor     162.81        81.718       -.78741E-06   -.11523E-04
  17  Prefactor     28.938        31.195       -.22382E-05    .12590E-04
  18  Prefactor     .10000E-03    11.155       -.22202E-05** at limit **
  19  Prefactor     3.4084        6.5439       -.30049E-06    .35748E-03
  20  Normalizat    .86361        .20783        .19998E-05    .46233E-03
  21  Prefactor     1.1477        .96776E-01    .51529E-07    .80932E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.00571
  Prefactor  = 0.000100004
  Prefactor  = 0.685561
  Prefactor  = 10.4417
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.5268
  Prefactor  = 0.000100001
  norm       = 1.48245
  Prefactor  = 0.0001
  norm       = 18.4575
  norm       = 2.85136
  norm       = 8.7489
  norm       = 0.000100002
  Prefactor  = 8.18275
  Prefactor  = 162.806
  Prefactor  = 28.9384
  Prefactor  = 0.0001
  Prefactor  = 3.40844
  Normalizat = 0.863614
  Prefactor  = 1.14774
 **********
 **   18 **HESSE 
 **********

 FCN=   11720.53     FROM HESSE     STATUS=OK           325 CALLS     2531 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0057        162.36        .86740E-02   -1.5507    
   2  Prefactor     .10000E-03    26.442        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .68556        4.1933        .29970E-02   -1.5542    
   4  Prefactor     10.442        21.332        .12399E-03   -1.5062    
   5  Prefactor     .10000E-03    8.1103        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    .91938        .19807E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.5268        3.5694        .15544E-03   -1.5238    
   8  Prefactor     .10000E-03    12.003        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.4825        2.0432        .17796E-03   -1.5464    
  10  Prefactor     .10000E-03    11.734        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          18.458        8.3347        .46613E-03   -1.4848    
  12  norm          2.8514        1.3022        .80363E-04   -1.5370    
  13  norm          8.7489        8.8175        .13552E-03   -1.5116    
  14  norm          .10000E-03    29.661        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.1827        10.584        .14016E-03   -1.5136    
  16  Prefactor     162.81        81.777        .31608E-04   -1.3149    
  17  Prefactor     28.938        31.045        .74482E-04   -1.4632    
  18  Prefactor     .10000E-03    11.294        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.4084        6.6331        .21917E-03   -1.5339    
  20  Normalizat    .86361        .23521        .41654E-03   -.97751    
  21  Prefactor     1.1477        .11101        .17384E-03   -.87955    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.5442e-09
Minuit parameter uncertainties:
  1  25.6264
  2  0.000617398
  3  3.39113
  4  21.3479
  5  6.92893e-06
  6  1.68254e-06
  7  3.5695
  8  0.000192749
  9  2.04333
  10  5.31626e-05
  11  8.33523
  12  1.30219
  13  8.81883
  14  0.000509575
  15  10.586
  16  81.8345
  17  31.0625
  18  5.63379e-05
  19  6.63453
  20  0.235494
  21  0.111034
Done.

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

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  2.851e+00  1.302e+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

GAL_V02
   Spectrum: PowerLaw
525    Prefactor:  1.148e+00  1.110e-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:  8.636e-01  2.355e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 44.68
Ra Dec: 238.931 11.188
Photon Index (Fixed Index): 1.54 +/- 0.00
Photon Flux (Fixed Index): 3.51e-08 +/- 1.60e-08
Energy Flux (Fixed Index): 7.97e-05 +/- 3.64e-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) = 11720.100356
delta logL = 0.427740520116

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11720.0124321
delta logL = 0.515664389748

Fit tolerance = 1e-08

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

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

 FCN=   11720.01     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      210 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0759        1.0353        .71666E-02   -.23141E-02
   2  alpha         1.1365        .28228        .32396       -.74502E-04
   3  Normalizat    .87098        .20097        .93710E-01    .23960E-03
   4  Prefactor     1.1495        .95766E-01    .35951E-01    .58147E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.07594
  alpha      = 1.1365
  Normalizat = 0.87098
  Prefactor  = 1.14946
 **********
 **   18 **HESSE 
 **********

 FCN=   11720.01     FROM HESSE     STATUS=OK            31 CALLS      241 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0759        1.3695        .73073E-04   -1.5420    
   2  alpha         1.1365        .38604        .13726E-01   -.57687    
   3  Normalizat    .87098        .22920        .41511E-03   -.97487    
   4  Prefactor     1.1495        .10965        .17382E-03   -.87901    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.50453e-10
Minuit parameter uncertainties:
  1  1.36949
  2  0.388257
  3  0.229454
  4  0.109675
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/847151': 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) = 11720.0124321
delta logL = 0.515664406381

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  2.076e+00  1.369e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  1.136e+00  3.883e-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:  1.149e+00  1.097e-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:  8.710e-01  2.295e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 45.66
Ra Dec: 238.931 11.188
Photon Index (Free Index): 1.14 +/- 0.39
Photon Flux (Free Index): 1.97e-08 +/- 1.36e-08
Energy Flux (Free Index): 1.38e-04 +/- 9.92e-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/847151/cmap_HighResolution_256694401_256953601_4FGL_J1555.7+1111_daily_bin67.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.51e-08', energy_flux2='1.38e-04', photon_flux_error='1.60e-08', dlogl='5.16e-01', energy_flux='7.97e-05', photon_flux2='1.97e-08', job_status='DONE', time_completed='2021-09-12 21:30:28.970747', photon_index_error2='0.39', photon_index2='1.14', ts='44.68', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', energy_flux_error2='9.92e-05', EG='0.86', time_epoch_completed='1631507428.97', return_code='0', job_id='847151', GAL2='1.15', EG2='0.87', return_code2='0', energy_flux_error='3.64e-05', photon_flux_error2='1.36e-08', ts2='45.66', photon_index='1.54' WHERE bin_id='67' AND source_name='4FGL J1555.7+1111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 21:30:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0058>
Subject: Job 847151: <4FGL_J1555.7+1111_daily_bin67> in cluster <slac> Done

Job <4FGL_J1555.7+1111_daily_bin67> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sun Sep 12 21:15:17 2021
Job was executed on host(s) <bullet0058>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 21:15:22 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:22 2021
Terminated at Sun Sep 12 21:30:29 2021
Results reported at Sun Sep 12 21:30:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1555.7+1111_daily_bin67 238.931 11.1884 256694401 256953601 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 :                                   733.04 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             309.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   907 sec.
    Turnaround time :                            912 sec.

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

