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


Performing analysis on: 4FGL_J1555.7+1111_daily_bin31
RA = 238.931, Dec = 11.1884
tmin = 247363201, tmax = 247622401
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='845838', job_status='RUN', time_executed='2021-09-12 21:11:01.412784', time_epoch_executed='1631506261.41' WHERE source_name='4FGL J1555.7+1111' and cadence='daily' and bin_id='31'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/845838

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/845838/ft1_4FGL_J1555.7+1111_daily_bin31.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/845838/ft2_4FGL_J1555.7+1111_daily_bin31.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/845838/ft1_4FGL_J1555.7+1111_daily_bin31.fits outfile=/scratch/kocevski/845838/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin31.fits ra=238.931 dec=11.1884 rad=12.0 tmin=247363201.0 tmax=247622401.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.48
user 1.29
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/845838/ft1_filtered_4FGL_J1555.7+1111_daily_bin31.fits" evtable="EVENTS" scfile=/scratch/kocevski/845838/ft2_4FGL_J1555.7+1111_daily_bin31.fits sctable="SC_DATA" outfile=/scratch/kocevski/845838/ltcube_247363201_247622401_4FGL_J1555.7+1111_daily_bin31.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/845838/ft2_4FGL_J1555.7+1111_daily_bin31.fits
.....................!
real 15.46
user 15.07
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/845838/ft1_filtered_4FGL_J1555.7+1111_daily_bin31.fits evtable="EVENTS" scfile=/scratch/kocevski/845838/ft2_4FGL_J1555.7+1111_daily_bin31.fits sctable="SC_DATA" expcube=/scratch/kocevski/845838/ltcube_247363201_247622401_4FGL_J1555.7+1111_daily_bin31.fits outfile=/scratch/kocevski/845838/expmap_247363201_247622401_4FGL_J1555.7+1111_daily_bin31.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/845838/ltcube_247363201_247622401_4FGL_J1555.7+1111_daily_bin31.fits
.....................!
real 192.07
user 185.61
sys 5.65

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/845838/ft1_filtered_4FGL_J1555.7+1111_daily_bin31.fits scfile=/scratch/kocevski/845838/ft2_4FGL_J1555.7+1111_daily_bin31.fits outfile=/scratch/kocevski/845838/cmap_247363201_247622401_4FGL_J1555.7+1111_daily_bin31.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.55
user 0.38
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/845838/ft1_filtered_4FGL_J1555.7+1111_daily_bin31.fits evtable="EVENTS" scfile=/scratch/kocevski/845838/ft2_4FGL_J1555.7+1111_daily_bin31.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/845838/Model_4FGL_J1555.7+1111_daily_bin31.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/845838/ft1_filtered_4FGL_J1555.7+1111_daily_bin31.fits.....................!
real 88.85
user 87.13
sys 1.33

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.867       1.0000         .10000E-03   10000.    
     2 'Prefactor '    27.226       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .87747       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    19.463       1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.7787       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    4.5763       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.5423       1.0000         .10000E-03   10000.    
    11 'norm      '    16.617       1.0000         .10000E-03   10000.    
    12 'norm      '    5.7348       1.0000         .10000E-03   10000.    
    13 'norm      '    15.761       1.0000         .10000E-03   10000.    
    14 'norm      '    52.927       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.0351       1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.9881       1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.9566       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .20508E-02   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2405       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .93654       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=   11878.46     FROM MIGRAD    STATUS=CONVERGED    442 CALLS     2240 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.881        35.144        .94024E-07   -.15043E-05
   2  Prefactor     27.227        30.781        .27306E-06   -.91515E-06
   3  Prefactor     .88048        1.7756        .11065E-05    .45602E-03
   4  Prefactor     .10000E-03    7.6995        .34663E-07** at limit **
   5  Prefactor     19.462        16.665       -.11714E-06   -.23551E-04
   6  norm          .10000E-03    .68988        .39929E-08** at limit **
   7  Prefactor     3.7773        3.7668        .25388E-06   -.26903E-03
   8  Prefactor     .10000E-03    6.4364        .15223E-07** at limit **
   9  norm          4.5765        3.2521       -.11839E-07   -.83500E-04
  10  Prefactor     2.4934        119.32       -.16192E-05   -.22733E-04
  11  norm          16.618        8.3199        .36481E-07   -.20247E-04
  12  norm          5.7349        1.7933       -.26510E-07    .64385E-04
  13  norm          15.762        11.974        .49637E-07   -.22815E-04
  14  norm          52.929        61.780        .11756E-06    .12882E-05
  15  Prefactor     4.0356        14.143        .77352E-06   -.12650E-04
  16  Prefactor     7.9978        38.407        .44808E-06    .16756E-05
  17  Prefactor     8.9567        15.766        .15634E-05   -.82092E-04
  18  Prefactor     .10000E-03    2.5584        .95295E-08** at limit **
  19  Prefactor     .10148E-03    3.9036        .84483E-06** at limit **
  20  Normalizat    1.2405        .20328       -.21297E-06   -.19529E-03
  21  Prefactor     .93654        .91267E-01   -.43167E-06   -.23553E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.8813
  Prefactor  = 27.2273
  Prefactor  = 0.880481
  Prefactor  = 0.0001
  Prefactor  = 19.4617
  norm       = 0.0001
  Prefactor  = 3.7773
  Prefactor  = 0.0001
  norm       = 4.57655
  Prefactor  = 2.49336
  norm       = 16.6179
  norm       = 5.73488
  norm       = 15.762
  norm       = 52.9289
  Prefactor  = 4.0356
  Prefactor  = 7.99783
  Prefactor  = 8.95666
  Prefactor  = 0.0001
  Prefactor  = 0.000101482
  Normalizat = 1.24049
  Prefactor  = 0.936542
 **********
 **   18 **HESSE 
 **********

 FCN=   11878.46     FROM HESSE     STATUS=OK           335 CALLS     2575 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.881        35.105        .10756E-03   -1.4963    
   2  Prefactor     27.227        31.159        .76778E-04   -1.4664    
   3  Prefactor     .88048        1.7583        .22346E-02   -1.5520    
   4  Prefactor     .10000E-03    7.7118        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     19.462        16.662        .90787E-04   -1.4825    
   6  norm          .10000E-03    .69980        .88362E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.7773        3.7105        .19495E-03   -1.5319    
   8  Prefactor     .10000E-03    6.4388        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.5765        3.2432        .15716E-03   -1.5280    
  10  Prefactor     2.4934        121.70        .25612E-03   -1.5392    
  11  norm          16.618        8.3283        .98252E-04   -1.4892    
  12  norm          5.7349        1.7927        .77963E-04   -1.5229    
  13  norm          15.762        11.986        .10088E-03   -1.4914    
  14  norm          52.929        61.822        .55131E-04   -1.4252    
  15  Prefactor     4.0356        14.159        .20074E-03   -1.5306    
  16  Prefactor     7.9978        38.389        .14186E-03   -1.5142    
  17  Prefactor     8.9567        15.545        .66963E-03   -1.5109    
  18  Prefactor     .10000E-03    2.5630        .17020E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10148E-03    4.4279        .63727E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2405        .24848        .35412E-03   -.85361    
  21  Prefactor     .93654        .11066        .18514E-03   -.94876    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.41381e-10
Minuit parameter uncertainties:
  1  35.1577
  2  31.178
  3  1.75841
  4  1.60178e-06
  5  16.6663
  6  7.43561e-07
  7  3.71072
  8  1.22901e-06
  9  3.24328
  10  34.9135
  11  8.3289
  12  1.79269
  13  11.9875
  14  61.8969
  15  14.1711
  16  35.0806
  17  15.5518
  18  2.70126e-06
  19  0.00512289
  20  0.248716
  21  0.110685
Done.

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

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  5.735e+00  1.793e+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:  9.365e-01  1.107e-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.240e+00  2.487e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 50.33
Ra Dec: 238.931 11.188
Photon Index (Fixed Index): 1.54 +/- 0.00
Photon Flux (Fixed Index): 7.07e-08 +/- 2.21e-08
Energy Flux (Fixed Index): 1.60e-04 +/- 5.01e-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) = 11877.9421849
delta logL = 0.520062502728

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11877.9417633
delta logL = 0.520484146135

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11877.94     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      245 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.7318        1.7111        .72893E-04   -.30818E-03
   2  alpha         1.7849        .23517        .86492E-02   -.22322E-04
   3  Normalizat    1.2193        .23329        .35642E-03   -.11579E-03
   4  Prefactor     .93866        .10788        .18479E-03   -.22938E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.7318
  alpha      = 1.78494
  Normalizat = 1.21927
  Prefactor  = 0.938657
 **********
 **   18 **HESSE 
 **********

 FCN=   11877.94     FROM HESSE     STATUS=OK            25 CALLS      270 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.7318        1.7001        .29157E-05   -1.5229    
   2  alpha         1.7849        .23357        .34597E-03   -.29007    
   3  Normalizat    1.2193        .23346        .14257E-04   -.86009    
   4  Prefactor     .93866        .10798        .36958E-04   -.94803    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.45354e-11
Minuit parameter uncertainties:
  1  1.7001
  2  0.233941
  3  0.233662
  4  0.108002
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/845838': 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) = 11877.9417633
delta logL = 0.520484146164

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  5.732e+00  1.700e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  1.785e+00  2.339e-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:  9.387e-01  1.080e-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.219e+00  2.337e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 51.42
Ra Dec: 238.931 11.188
Photon Index (Free Index): 1.78 +/- 0.23
Photon Flux (Free Index): 9.74e-08 +/- 3.93e-08
Energy Flux (Free Index): 1.15e-04 +/- 4.82e-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/845838/cmap_HighResolution_247363201_247622401_4FGL_J1555.7+1111_daily_bin31.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.07e-08', energy_flux2='1.15e-04', photon_flux_error='2.21e-08', dlogl='5.20e-01', energy_flux='1.60e-04', photon_flux2='9.74e-08', job_status='DONE', time_completed='2021-09-12 21:23:40.604585', photon_index_error2='0.23', photon_index2='1.78', ts='50.33', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='4.82e-05', EG='1.24', time_epoch_completed='1631507020.6', return_code='0', job_id='845838', GAL2='0.94', EG2='1.22', return_code2='0', energy_flux_error='5.01e-05', photon_flux_error2='3.93e-08', ts2='51.42', photon_index='1.54' WHERE bin_id='31' AND source_name='4FGL J1555.7+1111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 21:23:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 845838: <4FGL_J1555.7+1111_daily_bin31> in cluster <slac> Done

Job <4FGL_J1555.7+1111_daily_bin31> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Sep 12 21:10:19 2021
Job was executed on host(s) <bullet0057>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 21:10:42 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:10:42 2021
Terminated at Sun Sep 12 21:23:41 2021
Results reported at Sun Sep 12 21:23:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1555.7+1111_daily_bin31 238.931 11.1884 247363201 247622401 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 :                                   753.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             344.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   778 sec.
    Turnaround time :                            802 sec.

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

