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


Performing analysis on: 4FGL_J1555.7+1111_daily_bin78
RA = 238.931, Dec = 11.1884
tmin = 259545601, tmax = 259804801
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='847167', job_status='RUN', time_executed='2021-09-12 21:18:31.700190', time_epoch_executed='1631506711.7' WHERE source_name='4FGL J1555.7+1111' and cadence='daily' and bin_id='78'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/847167

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/847167/ft1_4FGL_J1555.7+1111_daily_bin78.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/847167/ft2_4FGL_J1555.7+1111_daily_bin78.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/847167/ft1_4FGL_J1555.7+1111_daily_bin78.fits outfile=/scratch/kocevski/847167/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin78.fits ra=238.931 dec=11.1884 rad=12.0 tmin=259545601.0 tmax=259804801.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.72
user 1.51
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/847167/ft2_4FGL_J1555.7+1111_daily_bin78.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/847167/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin78.fits evtable="EVENTS" outfile="/scratch/kocevski/847167/ft1_filtered_4FGL_J1555.7+1111_daily_bin78.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.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/847167/ft1_filtered_4FGL_J1555.7+1111_daily_bin78.fits" evtable="EVENTS" scfile=/scratch/kocevski/847167/ft2_4FGL_J1555.7+1111_daily_bin78.fits sctable="SC_DATA" outfile=/scratch/kocevski/847167/ltcube_259545601_259804801_4FGL_J1555.7+1111_daily_bin78.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/847167/ft2_4FGL_J1555.7+1111_daily_bin78.fits
.....................!
real 15.99
user 15.43
sys 0.43

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/847167/ft1_filtered_4FGL_J1555.7+1111_daily_bin78.fits evtable="EVENTS" scfile=/scratch/kocevski/847167/ft2_4FGL_J1555.7+1111_daily_bin78.fits sctable="SC_DATA" expcube=/scratch/kocevski/847167/ltcube_259545601_259804801_4FGL_J1555.7+1111_daily_bin78.fits outfile=/scratch/kocevski/847167/expmap_259545601_259804801_4FGL_J1555.7+1111_daily_bin78.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/847167/ltcube_259545601_259804801_4FGL_J1555.7+1111_daily_bin78.fits
.....................!
real 192.99
user 186.62
sys 5.32

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/847167/ft1_filtered_4FGL_J1555.7+1111_daily_bin78.fits scfile=/scratch/kocevski/847167/ft2_4FGL_J1555.7+1111_daily_bin78.fits outfile=/scratch/kocevski/847167/cmap_259545601_259804801_4FGL_J1555.7+1111_daily_bin78.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/847167/ft1_filtered_4FGL_J1555.7+1111_daily_bin78.fits scfile=/scratch/kocevski/847167/ft2_4FGL_J1555.7+1111_daily_bin78.fits outfile=/scratch/kocevski/847167/cmap_HighResolution_259545601_259804801_4FGL_J1555.7+1111_daily_bin78.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.55
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/847167/ft1_filtered_4FGL_J1555.7+1111_daily_bin78.fits evtable="EVENTS" scfile=/scratch/kocevski/847167/ft2_4FGL_J1555.7+1111_daily_bin78.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/847167/Model_4FGL_J1555.7+1111_daily_bin78.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/847167/ft1_filtered_4FGL_J1555.7+1111_daily_bin78.fits.....................!
real 88.21
user 86.73
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10472E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .88099E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.1583       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .16194E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.5582       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.2762       1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.2612       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .19181E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.1817       1.0000         .10000E-03   10000.    
    12 'norm      '    3.9396       1.0000         .10000E-03   10000.    
    13 'norm      '    5.3027       1.0000         .10000E-03   10000.    
    14 'norm      '    9.2268       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.1781       1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.2165       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .18361E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.0568       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10135E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.7801       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .73109       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=   11994.04     FROM MIGRAD    STATUS=CONVERGED    459 CALLS     1897 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    16.110        .48701E-05** at limit **
   2  Prefactor     .10000E-03    17.664       -.45094E-05** at limit **
   3  Prefactor     2.1650        3.3584        .22239E-06   -.22369E-02
   4  Prefactor     .10000E-03    6.6182       -.10943E-06** at limit **
   5  Prefactor     .10000E-03    8.5040       -.60689E-07** at limit **
   6  norm          2.5567        1.6094        .49477E-07    .81749E-04
   7  Prefactor     1.2780        2.4004       -.28711E-06   -.11616E-03
   8  Prefactor     9.3236        15.271       -.98225E-05   -.22536E-04
   9  norm          .10000E-03    1.0816       -.46679E-07** at limit **
  10  Prefactor     .10000E-03    43.283       -.56534E-05** at limit **
  11  norm          1.1830        2.4847        .10411E-06   -.24523E-02
  12  norm          3.9389        1.5461       -.31211E-07    .74498E-04
  13  norm          5.3092        7.2219        .47015E-07   -.14772E-03
  14  norm          9.1773        67.373       -.74888E-04   -.52291E-05
  15  Prefactor     1.2165        25.743        .12174E-04   -.66686E-04
  16  Prefactor     9.1082        30.711        .31607E-05    .27678E-05
  17  Prefactor     .10000E-03    14.424       -.16534E-05** at limit **
  18  Prefactor     8.1067        7.1893       -.93088E-06    .94657E-05
  19  Prefactor     .10000E-03    1.7506       -.14999E-06** at limit **
  20  Normalizat    1.7802        .19072       -.94186E-06    .44341E-04
  21  Prefactor     .73100        .85731E-01    .10545E-05   -.27909E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.16498
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.55671
  Prefactor  = 1.27802
  Prefactor  = 9.32362
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.18303
  norm       = 3.9389
  norm       = 5.30921
  norm       = 9.17725
  Prefactor  = 1.21645
  Prefactor  = 9.10818
  Prefactor  = 0.0001
  Prefactor  = 8.10667
  Prefactor  = 0.0001
  Normalizat = 1.78017
  Prefactor  = 0.730995
 **********
 **   18 **HESSE 
 **********

 FCN=   11994.04     FROM HESSE     STATUS=OK           321 CALLS     2218 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    16.138        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    17.743        .20843E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.1650        3.7660        .13433E-02   -1.5414    
   4  Prefactor     .10000E-03    6.6251        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.5210        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.5567        1.6127        .10700E-03   -1.5388    
   7  Prefactor     1.2780        2.3632        .22278E-03   -1.5482    
   8  Prefactor     9.3236        15.275        .13169E-03   -1.5097    
   9  norm          .10000E-03    1.0969        .11119E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    43.369        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.1830        5.1644        .21019E-02   -1.5490    
  12  norm          3.9389        1.5561        .82421E-04   -1.5311    
  13  norm          5.3092        7.2206        .87268E-03   -1.5247    
  14  norm          9.1773        67.637        .13194E-03   -1.5102    
  15  Prefactor     1.2165        26.464        .42159E-03   -1.5487    
  16  Prefactor     9.1082        30.719        .13201E-03   -1.5104    
  17  Prefactor     .10000E-03    14.466        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     8.1067        7.1903        .14125E-03   -1.5138    
  19  Prefactor     .10000E-03    1.7556        .14148E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.7802        .22992        .30415E-03   -.70182    
  21  Prefactor     .73100        .10340        .20013E-03   -1.0232    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54063e-08
Minuit parameter uncertainties:
  1  5.30428e-07
  2  8.89676e-06
  3  3.76646
  4  1.72013e-05
  5  1.32132e-06
  6  1.61273
  7  2.36338
  8  15.2818
  9  3.80026e-08
  10  7.69822e-06
  11  4.94403
  12  1.55609
  13  7.22179
  14  49.9077
  15  11.3529
  16  30.7723
  17  8.9635e-06
  18  7.19103
  19  1.45619e-06
  20  0.230061
  21  0.103424
Done.

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

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  3.939e+00  1.556e+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:  7.310e-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.780e+00  2.301e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 41.78
Ra Dec: 238.931 11.188
Photon Index (Fixed Index): 1.54 +/- 0.00
Photon Flux (Fixed Index): 4.85e-08 +/- 1.92e-08
Energy Flux (Fixed Index): 1.10e-04 +/- 4.35e-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) = 11994.0236278
delta logL = 0.0145870996566

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11994.0226709
delta logL = 0.0155439825357

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0038       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5979       1.0000          .0000       5.0000    
     3 'Normalizat'    1.7776       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73076       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=   11994.02     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      202 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0038        30.029        .50388E-02    .10413E-02
   2  alpha         1.5978        3.2222        .32102        .29972E-04
   3  Normalizat    1.7776        .23808        .68793E-01    .37412E-03
   4  Prefactor     .73075        .62579E-01    .42809E-01    .64444E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.00375
  alpha      = 1.59783
  Normalizat = 1.77764
  Prefactor  = 0.730754
 **********
 **   18 **HESSE 
 **********

 FCN=   11994.02     FROM HESSE     STATUS=OK            29 CALLS      231 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0038        1.5589        .81797E-04   -1.5308    
   2  alpha         1.5978        .31629        .11418E-01   -.36920    
   3  Normalizat    1.7776        .22731        .30430E-03   -.70249    
   4  Prefactor     .73075        .10195        .20013E-03   -1.0233    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.91406e-10
Minuit parameter uncertainties:
  1  1.55893
  2  0.317271
  3  0.227445
  4  0.101976
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/847167': 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) = 11994.0226708
delta logL = 0.0155440044928

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  4.004e+00  1.559e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  1.598e+00  3.173e-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:  7.308e-01  1.020e-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.778e+00  2.274e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 41.81
Ra Dec: 238.931 11.188
Photon Index (Free Index): 1.60 +/- 0.32
Photon Flux (Free Index): 5.27e-08 +/- 3.09e-08
Energy Flux (Free Index): 1.02e-04 +/- 5.91e-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/847167/cmap_HighResolution_259545601_259804801_4FGL_J1555.7+1111_daily_bin78.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.85e-08', energy_flux2='1.02e-04', photon_flux_error='1.92e-08', dlogl='1.55e-02', energy_flux='1.10e-04', photon_flux2='5.27e-08', job_status='DONE', time_completed='2021-09-12 21:30:22.274514', photon_index_error2='0.32', photon_index2='1.60', ts='41.78', fit_tolerance='1e-08', GAL='0.73', photon_index_error='0.00', energy_flux_error2='5.91e-05', EG='1.78', time_epoch_completed='1631507422.27', return_code='0', job_id='847167', GAL2='0.73', EG2='1.78', return_code2='0', energy_flux_error='4.35e-05', photon_flux_error2='3.09e-08', ts2='41.81', photon_index='1.54' WHERE bin_id='78' AND source_name='4FGL J1555.7+1111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 21:30:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 847167: <4FGL_J1555.7+1111_daily_bin78> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1555.7+1111_daily_bin78 238.931 11.1884 259545601 259804801 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 :                                   710.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             299.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   896 sec.
    Turnaround time :                            905 sec.

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

