/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 212 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 = 7434
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1555.7+1111_daily_bin1368
RA = 238.931, Dec = 11.1884
tmin = 593913601, tmax = 594172801
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='864977', job_status='RUN', time_executed='2021-09-12 22:21:29.870159', time_epoch_executed='1631510489.87' WHERE source_name='4FGL J1555.7+1111' and cadence='daily' and bin_id='1368'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/864977

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/864977/ft1_4FGL_J1555.7+1111_daily_bin1368.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/864977/ft2_4FGL_J1555.7+1111_daily_bin1368.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/864977/ft1_4FGL_J1555.7+1111_daily_bin1368.fits outfile=/scratch/kocevski/864977/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin1368.fits ra=238.931 dec=11.1884 rad=12.0 tmin=593913601.0 tmax=594172801.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 3.63
user 3.36
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/864977/ft1_filtered_4FGL_J1555.7+1111_daily_bin1368.fits" evtable="EVENTS" scfile=/scratch/kocevski/864977/ft2_4FGL_J1555.7+1111_daily_bin1368.fits sctable="SC_DATA" outfile=/scratch/kocevski/864977/ltcube_593913601_594172801_4FGL_J1555.7+1111_daily_bin1368.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/864977/ft2_4FGL_J1555.7+1111_daily_bin1368.fits
.....................!
real 14.62
user 13.94
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/864977/ft1_filtered_4FGL_J1555.7+1111_daily_bin1368.fits evtable="EVENTS" scfile=/scratch/kocevski/864977/ft2_4FGL_J1555.7+1111_daily_bin1368.fits sctable="SC_DATA" expcube=/scratch/kocevski/864977/ltcube_593913601_594172801_4FGL_J1555.7+1111_daily_bin1368.fits outfile=/scratch/kocevski/864977/expmap_593913601_594172801_4FGL_J1555.7+1111_daily_bin1368.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/864977/ltcube_593913601_594172801_4FGL_J1555.7+1111_daily_bin1368.fits
.....................!
real 193.39
user 186.74
sys 5.97

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/864977/ft1_filtered_4FGL_J1555.7+1111_daily_bin1368.fits scfile=/scratch/kocevski/864977/ft2_4FGL_J1555.7+1111_daily_bin1368.fits outfile=/scratch/kocevski/864977/cmap_593913601_594172801_4FGL_J1555.7+1111_daily_bin1368.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/864977/ft1_filtered_4FGL_J1555.7+1111_daily_bin1368.fits scfile=/scratch/kocevski/864977/ft2_4FGL_J1555.7+1111_daily_bin1368.fits outfile=/scratch/kocevski/864977/cmap_HighResolution_593913601_594172801_4FGL_J1555.7+1111_daily_bin1368.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.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/864977/ft1_filtered_4FGL_J1555.7+1111_daily_bin1368.fits evtable="EVENTS" scfile=/scratch/kocevski/864977/ft2_4FGL_J1555.7+1111_daily_bin1368.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/864977/Model_4FGL_J1555.7+1111_daily_bin1368.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/864977/ft1_filtered_4FGL_J1555.7+1111_daily_bin1368.fits.....................!
real 61.11
user 59.68
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    34.143       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.9937       1.0000         .10000E-03   10000.    
     4 'Prefactor '    35.038       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.6858       1.0000         .10000E-03   10000.    
     6 'norm      '    .96500       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.1448       1.0000         .10000E-03   10000.    
     8 'Prefactor '    21.762       1.0000         .10000E-03   10000.    
     9 'norm      '    .10303E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    4.8769       1.0000         .10000E-03   10000.    
    13 'norm      '    7.8699       1.0000         .10000E-03   10000.    
    14 'norm      '    70.524       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2032       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .87471       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=   7696.896     FROM MIGRAD    STATUS=CONVERGED    473 CALLS     2246 TOTAL
                     EDM=   .63E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     34.133        41.229        .10101E-05    .14028E-05
   2  Prefactor     .10000E-03    59.916        .25279E-06** at limit **
   3  Prefactor     2.9957        5.1314       -.11464E-06   -.24514E-04
   4  Prefactor     35.047        32.263       -.50271E-05   -.57644E-05
   5  Prefactor     7.5350        53.915       -.16593E-05   -.17024E-06
   6  norm          .96454        1.8871        .19690E-06    .43203E-03
   7  Prefactor     3.1503        1.0982        .18867E-07   -.72299E-03
   8  Prefactor     21.764        28.841       -.16176E-05   -.61493E-05
   9  norm          .10000E-03    2.1207       -.15828E-08** at limit **
  10  Prefactor     .10000E-03    36.928       -.10511E-07** at limit **
  11  norm          .10000E-03    8.4205       -.12298E-07** at limit **
  12  norm          4.8768        1.9294       -.18331E-07   -.92372E-05
  13  norm          7.8690        12.612        .76443E-06   -.23302E-06
  14  norm          70.521        80.768       -.30412E-05   -.60335E-06
  15  Prefactor     .10000E-03    6.7592       -.87976E-08** at limit **
  16  Prefactor     .10000E-03    86.903       -.57767E-06** at limit **
  17  Prefactor     .10000E-03    11.691       -.13389E-07** at limit **
  18  Prefactor     .10000E-03    5.2620       -.16425E-07** at limit **
  19  Prefactor     .10000E-03    5.3943       -.10518E-07** at limit **
  20  Normalizat    1.2028        .23113        .10789E-05   -.35343E-04
  21  Prefactor     .87493        .10235       -.12103E-06    .57094E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 34.1328
  Prefactor  = 0.0001
  Prefactor  = 2.99565
  Prefactor  = 35.047
  Prefactor  = 7.53496
  norm       = 0.964537
  Prefactor  = 3.15031
  Prefactor  = 21.764
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 4.8768
  norm       = 7.86904
  norm       = 70.5206
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.20283
  Prefactor  = 0.874932
 **********
 **   18 **HESSE 
 **********

 FCN=   7696.896     FROM HESSE     STATUS=OK           321 CALLS     2567 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     34.133        41.237        .68580E-04   -1.4539    
   2  Prefactor     .10000E-03    60.419        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.9957        5.1252        .23462E-03   -1.5362    
   4  Prefactor     35.047        32.248        .67701E-04   -1.4523    
   5  Prefactor     7.5350        57.078        .14465E-03   -1.5159    
   6  norm          .96454        1.5433        .16355E-02   -1.5512    
   7  Prefactor     3.1503        5.2605        .11429E-02   -1.5353    
   8  Prefactor     21.764        28.753        .85861E-04   -1.4775    
   9  norm          .10000E-03    2.1345        .12454E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    36.958        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    8.5971        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.8768        1.9287        .74401E-04   -1.5266    
  13  norm          7.8690        12.621        .14293E-03   -1.5147    
  14  norm          70.521        80.785        .23901E-03   -1.4026    
  15  Prefactor     .10000E-03    6.8118        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    87.056        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    11.704        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    5.2906        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    5.4665        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2028        .28054        .33782E-03   -.86516    
  21  Prefactor     .87493        .12538        .17641E-03   -.97023    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.32695e-10
Minuit parameter uncertainties:
  1  41.2711
  2  6.73158e-05
  3  5.1259
  4  32.2638
  5  41.5319
  6  1.54336
  7  5.26124
  8  28.7712
  9  5.24855e-07
  10  9.15427e-06
  11  3.24573e-06
  12  1.92871
  13  12.6248
  14  80.911
  15  2.009e-06
  16  2.18031e-05
  17  4.87432e-06
  18  4.25043e-06
  19  4.25369e-06
  20  0.280895
  21  0.125423
Done.

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

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  4.877e+00  1.929e+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:  8.749e-01  1.254e-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.203e+00  2.809e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 38.82
Ra Dec: 238.931 11.188
Photon Index (Fixed Index): 1.54 +/- 0.00
Photon Flux (Fixed Index): 6.01e-08 +/- 2.38e-08
Energy Flux (Fixed Index): 1.36e-04 +/- 5.39e-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) = 7696.72408517
delta logL = 0.172160802446

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7696.69151695
delta logL = 0.204729027236

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.5904       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3481       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2097       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87586       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=   7696.692     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      206 TOTAL
                     EDM=   .96E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.5920        1.9188        .46968E-02   -.16476E-04
   2  alpha         1.3485        .26712        .24333       -.23983E-04
   3  Normalizat    1.2099        .22354        .76150E-01    .16133E-04
   4  Prefactor     .87575        .10179        .44697E-01    .44800E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.59199
  alpha      = 1.34854
  Normalizat = 1.20986
  Prefactor  = 0.875745
 **********
 **   18 **HESSE 
 **********

 FCN=   7696.692     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.5920        2.0396        .75432E-04   -1.5279    
   2  alpha         1.3485        .30051        .10136E-01   -.47865    
   3  Normalizat    1.2099        .27192        .33704E-03   -.86299    
   4  Prefactor     .87575        .12429        .17642E-03   -.96994    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.72667e-10
Minuit parameter uncertainties:
  1  2.0396
  2  0.30144
  3  0.272237
  4  0.124334
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/864977': 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) = 7696.69151545
delta logL = 0.204730519549

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  4.592e+00  2.040e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  1.349e+00  3.014e-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.757e-01  1.243e-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.210e+00  2.722e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 39.22
Ra Dec: 238.931 11.188
Photon Index (Free Index): 1.35 +/- 0.30
Photon Flux (Free Index): 4.76e-08 +/- 2.64e-08
Energy Flux (Free Index): 1.86e-04 +/- 1.18e-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/864977/cmap_HighResolution_593913601_594172801_4FGL_J1555.7+1111_daily_bin1368.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.01e-08', energy_flux2='1.86e-04', photon_flux_error='2.38e-08', dlogl='2.05e-01', energy_flux='1.36e-04', photon_flux2='4.76e-08', job_status='DONE', time_completed='2021-09-12 22:31:50.132738', photon_index_error2='0.30', photon_index2='1.35', ts='38.82', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='1.18e-04', EG='1.20', time_epoch_completed='1631511110.13', return_code='0', job_id='864977', GAL2='0.88', EG2='1.21', return_code2='0', energy_flux_error='5.39e-05', photon_flux_error2='2.64e-08', ts2='39.22', photon_index='1.54' WHERE bin_id='1368' AND source_name='4FGL J1555.7+1111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 22:31:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0144>
Subject: Job 864977: <4FGL_J1555.7+1111_daily_bin1368> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1555.7+1111_daily_bin1368 238.931 11.1884 593913601 594172801 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 :                                   597.12 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             277.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   844 sec.
    Turnaround time :                            973 sec.

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

