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


Performing analysis on: 4FGL_J1555.7+1111_daily_bin77
RA = 238.931, Dec = 11.1884
tmin = 259286401, tmax = 259545601
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='847166', job_status='RUN', time_executed='2021-09-12 21:17:58.049459', time_epoch_executed='1631506678.05' WHERE source_name='4FGL J1555.7+1111' and cadence='daily' and bin_id='77'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/847166

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/847166/ft1_4FGL_J1555.7+1111_daily_bin77.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/847166/ft2_4FGL_J1555.7+1111_daily_bin77.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/847166/ft1_4FGL_J1555.7+1111_daily_bin77.fits outfile=/scratch/kocevski/847166/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin77.fits ra=238.931 dec=11.1884 rad=12.0 tmin=259286401.0 tmax=259545601.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 2.30
user 2.08
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/847166/ft1_filtered_4FGL_J1555.7+1111_daily_bin77.fits" evtable="EVENTS" scfile=/scratch/kocevski/847166/ft2_4FGL_J1555.7+1111_daily_bin77.fits sctable="SC_DATA" outfile=/scratch/kocevski/847166/ltcube_259286401_259545601_4FGL_J1555.7+1111_daily_bin77.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/847166/ft2_4FGL_J1555.7+1111_daily_bin77.fits
.....................!
real 15.89
user 15.47
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/847166/ft1_filtered_4FGL_J1555.7+1111_daily_bin77.fits evtable="EVENTS" scfile=/scratch/kocevski/847166/ft2_4FGL_J1555.7+1111_daily_bin77.fits sctable="SC_DATA" expcube=/scratch/kocevski/847166/ltcube_259286401_259545601_4FGL_J1555.7+1111_daily_bin77.fits outfile=/scratch/kocevski/847166/expmap_259286401_259545601_4FGL_J1555.7+1111_daily_bin77.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/847166/ltcube_259286401_259545601_4FGL_J1555.7+1111_daily_bin77.fits
.....................!
real 192.48
user 186.45
sys 5.48

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/847166/ft1_filtered_4FGL_J1555.7+1111_daily_bin77.fits scfile=/scratch/kocevski/847166/ft2_4FGL_J1555.7+1111_daily_bin77.fits outfile=/scratch/kocevski/847166/cmap_259286401_259545601_4FGL_J1555.7+1111_daily_bin77.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/847166/ft1_filtered_4FGL_J1555.7+1111_daily_bin77.fits scfile=/scratch/kocevski/847166/ft2_4FGL_J1555.7+1111_daily_bin77.fits outfile=/scratch/kocevski/847166/cmap_HighResolution_259286401_259545601_4FGL_J1555.7+1111_daily_bin77.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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/847166/ft1_filtered_4FGL_J1555.7+1111_daily_bin77.fits evtable="EVENTS" scfile=/scratch/kocevski/847166/ft2_4FGL_J1555.7+1111_daily_bin77.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/847166/Model_4FGL_J1555.7+1111_daily_bin77.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/847166/ft1_filtered_4FGL_J1555.7+1111_daily_bin77.fits.....................!
real 97.41
user 95.81
sys 1.31

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22013E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.003       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11893E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .16803E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.399       1.0000         .10000E-03   10000.    
     6 'norm      '    .10186E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10671E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .20943E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10286E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .66920E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    9.5499       1.0000         .10000E-03   10000.    
    12 'norm      '    2.0509       1.0000         .10000E-03   10000.    
    13 'norm      '    31.933       1.0000         .10000E-03   10000.    
    14 'norm      '    209.15       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.5058       1.0000         .10000E-03   10000.    
    16 'Prefactor '    88.492       1.0000         .10000E-03   10000.    
    17 'Prefactor '    22.506       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.4676       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .43345E-01   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.4180       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .90960       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=   13433.77     FROM MIGRAD    STATUS=CONVERGED    505 CALLS     2281 TOTAL
                     EDM=   .41E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.405       -.86144E-07** at limit **
   2  Prefactor     12.967        24.430       -.57624E-07    .83529E-05
   3  Prefactor     .10000E-03    1.5216       -.25991E-06** at limit **
   4  Prefactor     .10000E-03    8.5236       -.47661E-07** at limit **
   5  Prefactor     16.354        15.499        .11939E-06    .13082E-04
   6  norm          .10000E-03    .69167       -.43798E-08** at limit **
   7  Prefactor     .10000E-03    2.0070       -.94789E-07** at limit **
   8  Prefactor     .10000E-03    10.503        .42012E-08** at limit **
   9  norm          .10000E-03    1.1107       -.35597E-07** at limit **
  10  Prefactor     .10000E-03    17.917        .37259E-08** at limit **
  11  norm          9.5510        7.4695       -.26627E-06    .12404E-05
  12  norm          2.0502        1.0914        .20012E-07    .79021E-05
  13  norm          31.873        13.653       -.63804E-07    .54012E-05
  14  norm          209.54        111.21       -.89328E-05   -.27140E-04
  15  Prefactor     2.5027        8.4856       -.97736E-07   -.27118E-05
  16  Prefactor     88.280        66.922       -.44240E-05   -.20487E-04
  17  Prefactor     22.633        24.353       -.79606E-06   -.98367E-05
  18  Prefactor     2.4683        6.6855        .30725E-05   -.34308E-04
  19  Prefactor     .10002E-03    2.8770       -.18692E-06** at limit **
  20  Normalizat    1.4181        .19220        .17402E-05   -.51515E-04
  21  Prefactor     .90964        .86777E-01   -.89231E-06    .12970E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 12.9665
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.354
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 9.55101
  norm       = 2.05025
  norm       = 31.8733
  norm       = 209.54
  Prefactor  = 2.50266
  Prefactor  = 88.2804
  Prefactor  = 22.6326
  Prefactor  = 2.46825
  Prefactor  = 0.000100018
  Normalizat = 1.41812
  Prefactor  = 0.90964
 **********
 **   18 **HESSE 
 **********

 FCN=   13433.77     FROM HESSE     STATUS=OK           329 CALLS     2610 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.442        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.967        24.694        .11108E-03   -1.4988    
   3  Prefactor     .10000E-03    3.3906        .27601E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    8.5405        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     16.354        15.496        .98902E-04   -1.4899    
   6  norm          .10000E-03    .69877        .94067E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.0711        .32030E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    10.519        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.1273        .11924E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    17.933        .21005E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          9.5510        7.4656        .12968E-03   -1.5090    
  12  norm          2.0502        1.0903        .85271E-04   -1.5422    
  13  norm          31.873        13.676        .70907E-04   -1.4578    
  14  norm          209.54        111.73        .13976E-03   -1.2803    
  15  Prefactor     2.5027        8.4759        .25814E-03   -1.5392    
  16  Prefactor     88.280        67.029        .21356E-03   -1.3826    
  17  Prefactor     22.633        24.365        .84432E-04   -1.4756    
  18  Prefactor     2.4683        6.7923        .13016E-02   -1.5394    
  19  Prefactor     .10002E-03    4.9435        .62216E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.4181        .23169        .33775E-03   -.80106    
  21  Prefactor     .90964        .10423        .18835E-03   -.95805    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.39771e-10
Minuit parameter uncertainties:
  1  1.69878e-06
  2  24.7137
  3  4.31175e-05
  4  3.52318e-06
  5  15.4996
  6  6.75304e-08
  7  6.30495e-07
  8  3.14983e-06
  9  3.52552e-07
  10  3.00061e-06
  11  7.46638
  12  1.09027
  13  13.6775
  14  111.842
  15  8.47995
  16  67.0861
  17  24.3754
  18  6.79443
  19  0.000595174
  20  0.231866
  21  0.10425
Done.

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

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  2.050e+00  1.090e+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.096e-01  1.042e-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.418e+00  2.319e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 16.03
Ra Dec: 238.931 11.188
Photon Index (Fixed Index): 1.54 +/- 0.00
Photon Flux (Fixed Index): 2.53e-08 +/- 1.34e-08
Energy Flux (Fixed Index): 5.73e-05 +/- 3.05e-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) = 13433.7453611
delta logL = 0.0278313417475

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13433.743944
delta logL = 0.0292483866288

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1062       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6458       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4149       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90979       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=   13433.74     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      240 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1062        1.0853        .84103E-04   -.11244E-02
   2  alpha         1.6458        .43103        .17334E-01   -.50769E-04
   3  Normalizat    1.4149        .21864        .33804E-03   -.46844E-03
   4  Prefactor     .90980        .10077        .18831E-03   -.90266E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.10623
  alpha      = 1.6458
  Normalizat = 1.41493
  Prefactor  = 0.909796
 **********
 **   18 **HESSE 
 **********

 FCN=   13433.74     FROM HESSE     STATUS=OK            23 CALLS      263 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1062        1.0891        .16821E-04   -1.5418    
   2  alpha         1.6458        .43246        .69335E-03   -.34870    
   3  Normalizat    1.4149        .21878        .67608E-04   -.80198    
   4  Prefactor     .90980        .10086        .37661E-04   -.95800    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.48399e-10
Minuit parameter uncertainties:
  1  1.08916
  2  0.434936
  3  0.218921
  4  0.10088
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/847166': 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) = 13433.743944
delta logL = 0.0292483925841

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  2.106e+00  1.089e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  1.646e+00  4.349e-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.098e-01  1.009e-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.415e+00  2.189e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 16.10
Ra Dec: 238.931 11.188
Photon Index (Free Index): 1.65 +/- 0.43
Photon Flux (Free Index): 2.94e-08 +/- 2.38e-08
Energy Flux (Free Index): 5.00e-05 +/- 3.78e-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/847166/cmap_HighResolution_259286401_259545601_4FGL_J1555.7+1111_daily_bin77.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.53e-08', energy_flux2='5.00e-05', photon_flux_error='1.34e-08', dlogl='2.92e-02', energy_flux='5.73e-05', photon_flux2='2.94e-08', job_status='DONE', time_completed='2021-09-12 21:31:51.648597', photon_index_error2='0.43', photon_index2='1.65', ts='16.03', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='3.78e-05', EG='1.42', time_epoch_completed='1631507511.65', return_code='0', job_id='847166', GAL2='0.91', EG2='1.41', return_code2='0', energy_flux_error='3.05e-05', photon_flux_error2='2.38e-08', ts2='16.10', photon_index='1.54' WHERE bin_id='77' AND source_name='4FGL J1555.7+1111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 21:31:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0230>
Subject: Job 847166: <4FGL_J1555.7+1111_daily_bin77> in cluster <slac> Done

Job <4FGL_J1555.7+1111_daily_bin77> 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) <bullet0230>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 21:15:25 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:25 2021
Terminated at Sun Sep 12 21:31:52 2021
Results reported at Sun Sep 12 21:31:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1555.7+1111_daily_bin77 238.931 11.1884 259286401 259545601 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 :                                   829.56 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             278.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   986 sec.
    Turnaround time :                            994 sec.

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

