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


Performing analysis on: 4FGL_J1555.7+1111_daily_bin1468
RA = 238.931, Dec = 11.1884
tmin = 619833601, tmax = 620092801
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='866218', job_status='RUN', time_executed='2021-09-12 22:23:27.757036', time_epoch_executed='1631510607.76' WHERE source_name='4FGL J1555.7+1111' and cadence='daily' and bin_id='1468'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/866218

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/866218/ft1_4FGL_J1555.7+1111_daily_bin1468.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/866218/ft2_4FGL_J1555.7+1111_daily_bin1468.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/866218/ft1_4FGL_J1555.7+1111_daily_bin1468.fits outfile=/scratch/kocevski/866218/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin1468.fits ra=238.931 dec=11.1884 rad=12.0 tmin=619833601.0 tmax=620092801.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.45
user 3.23
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/866218/ft2_4FGL_J1555.7+1111_daily_bin1468.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/866218/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin1468.fits evtable="EVENTS" outfile="/scratch/kocevski/866218/ft1_filtered_4FGL_J1555.7+1111_daily_bin1468.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/866218/ft1_filtered_4FGL_J1555.7+1111_daily_bin1468.fits" evtable="EVENTS" scfile=/scratch/kocevski/866218/ft2_4FGL_J1555.7+1111_daily_bin1468.fits sctable="SC_DATA" outfile=/scratch/kocevski/866218/ltcube_619833601_620092801_4FGL_J1555.7+1111_daily_bin1468.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/866218/ft2_4FGL_J1555.7+1111_daily_bin1468.fits
.....................!
real 13.82
user 13.40
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/866218/ft1_filtered_4FGL_J1555.7+1111_daily_bin1468.fits evtable="EVENTS" scfile=/scratch/kocevski/866218/ft2_4FGL_J1555.7+1111_daily_bin1468.fits sctable="SC_DATA" expcube=/scratch/kocevski/866218/ltcube_619833601_620092801_4FGL_J1555.7+1111_daily_bin1468.fits outfile=/scratch/kocevski/866218/expmap_619833601_620092801_4FGL_J1555.7+1111_daily_bin1468.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/866218/ltcube_619833601_620092801_4FGL_J1555.7+1111_daily_bin1468.fits
.....................!
real 194.40
user 188.03
sys 4.49

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/866218/ft1_filtered_4FGL_J1555.7+1111_daily_bin1468.fits scfile=/scratch/kocevski/866218/ft2_4FGL_J1555.7+1111_daily_bin1468.fits outfile=/scratch/kocevski/866218/cmap_619833601_620092801_4FGL_J1555.7+1111_daily_bin1468.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/866218/ft1_filtered_4FGL_J1555.7+1111_daily_bin1468.fits scfile=/scratch/kocevski/866218/ft2_4FGL_J1555.7+1111_daily_bin1468.fits outfile=/scratch/kocevski/866218/cmap_HighResolution_619833601_620092801_4FGL_J1555.7+1111_daily_bin1468.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.53
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/866218/ft1_filtered_4FGL_J1555.7+1111_daily_bin1468.fits evtable="EVENTS" scfile=/scratch/kocevski/866218/ft2_4FGL_J1555.7+1111_daily_bin1468.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/866218/Model_4FGL_J1555.7+1111_daily_bin1468.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/866218/ft1_filtered_4FGL_J1555.7+1111_daily_bin1468.fits.....................!
real 62.49
user 61.08
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    64.570       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.102       1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.442       1.0000         .10000E-03   10000.    
     6 'norm      '    .45985E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .44748E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .15506       1.0000         .10000E-03   10000.    
    12 'norm      '    5.9553       1.0000         .10000E-03   10000.    
    13 'norm      '    16.709       1.0000         .10000E-03   10000.    
    14 'norm      '    .13096E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.8450       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    12.383       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.717       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.5182       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .86268       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=   8091.108     FROM MIGRAD    STATUS=CONVERGED    455 CALLS     2241 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    26.304       -.21689E-06** at limit **
   2  Prefactor     64.571        38.092       -.85646E-06    .54451E-04
   3  Prefactor     .10000E-03    1.4002       -.13296E-07** at limit **
   4  Prefactor     14.112        33.417       -.12721E-05    .35409E-04
   5  Prefactor     12.467        23.253       -.11575E-05    .18307E-04
   6  norm          .10000E-03    2.6658        .81525E-06** at limit **
   7  Prefactor     .10000E-03    1.6582        .86256E-08** at limit **
   8  Prefactor     .10000E-03    13.821       -.13573E-05** at limit **
   9  norm          .10000E-03    1.8485       -.24097E-06** at limit **
  10  Prefactor     .10000E-03    26.389       -.77464E-07** at limit **
  11  norm          .17677        57.470       -.64567E-05    .29946E-04
  12  norm          5.9548        2.0040        .25855E-06    .53692E-03
  13  norm          16.709        12.426       -.15289E-06    .74985E-04
  14  norm          .10000E-03    187.13        .86784E-05** at limit **
  15  Prefactor     6.8451        8.6304       -.10632E-05   -.36021E-04
  16  Prefactor     .10000E-03    37.699        .56002E-06** at limit **
  17  Prefactor     12.365        26.200       -.10915E-05   -.34288E-05
  18  Prefactor     .10000E-03    3.3901        .81265E-06** at limit **
  19  Prefactor     10.716        7.9695       -.23692E-06    .21411E-04
  20  Normalizat    1.5182        .26949        .53411E-05    .15250E-03
  21  Prefactor     .86269        .11429       -.12110E-05    .75793E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 64.5713
  Prefactor  = 0.0001
  Prefactor  = 14.1125
  Prefactor  = 12.467
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.176775
  norm       = 5.95484
  norm       = 16.7088
  norm       = 0.000100004
  Prefactor  = 6.84508
  Prefactor  = 0.0001
  Prefactor  = 12.365
  Prefactor  = 0.0001
  Prefactor  = 10.7163
  Normalizat = 1.51823
  Prefactor  = 0.862692
 **********
 **   18 **HESSE 
 **********

 FCN=   8091.108     FROM HESSE     STATUS=OK           321 CALLS     2562 TOTAL
                     EDM=   .92E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    26.353        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     64.571        38.206        .49942E-04   -1.4099    
   3  Prefactor     .10000E-03    1.4079        .10394E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     14.112        33.477        .10666E-03   -1.4956    
   5  Prefactor     12.467        22.934        .11356E-03   -1.5002    
   6  norm          .10000E-03    18.162        .18243E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.6705        .11306E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    13.872        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    8.7900        .23293E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    26.433        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .17677        62.122        .38663E-02   -1.5624    
  12  norm          5.9548        2.0135        .71613E-04   -1.5220    
  13  norm          16.709        12.424        .97982E-04   -1.4890    
  14  norm          .10000E-03    191.28        .20574E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.8451        8.6282        .15335E-03   -1.5185    
  16  Prefactor     .10000E-03    37.732        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     12.365        26.287        .11383E-03   -1.5005    
  18  Prefactor     .10000E-03    3.3957        .16166E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     10.716        7.9828        .12239E-03   -1.5053    
  20  Normalizat    1.5182        .29679        .32471E-03   -.77267    
  21  Prefactor     .86269        .13122        .19230E-03   -.97457    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.20395e-10
Minuit parameter uncertainties:
  1  4.35577e-05
  2  38.22
  3  2.94304e-06
  4  33.5218
  5  22.9498
  6  0.000180985
  7  5.21707e-06
  8  4.25151e-05
  9  1.27924e-05
  10  2.76249e-05
  11  6.63278
  12  2.01352
  13  12.4262
  14  0.00170962
  15  8.62972
  16  4.59469e-05
  17  26.3114
  18  7.40211e-06
  19  7.98362
  20  0.297129
  21  0.13127
Done.

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

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  5.955e+00  2.014e+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.627e-01  1.313e-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.518e+00  2.971e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 57.64
Ra Dec: 238.931 11.188
Photon Index (Fixed Index): 1.54 +/- 0.00
Photon Flux (Fixed Index): 7.34e-08 +/- 2.48e-08
Energy Flux (Fixed Index): 1.66e-04 +/- 5.63e-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) = 8090.99905997
delta logL = 0.108672285068

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8090.9812863
delta logL = 0.126445947033

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.7167       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3944       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5313       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86068       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=   8090.981     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      205 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.7180        2.0143        .41999E-02   -.65834E-04
   2  alpha         1.3947        .26083        .24001       -.45323E-04
   3  Normalizat    1.5313        .22976        .73146E-01   -.69550E-06
   4  Prefactor     .86065        .10630        .44502E-01   -.12233E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 5.71802
  alpha      = 1.39472
  Normalizat = 1.53126
  Prefactor  = 0.860654
 **********
 **   18 **HESSE 
 **********

 FCN=   8090.981     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .82E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.7180        2.0800        .72065E-04   -1.5230    
   2  alpha         1.3947        .28798        .98716E-02   -.45795    
   3  Normalizat    1.5313        .27579        .32365E-03   -.76904    
   4  Prefactor     .86065        .12795        .19256E-03   -.97530    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.1617e-12
Minuit parameter uncertainties:
  1  2.08004
  2  0.288782
  3  0.27606
  4  0.127992
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/866218': 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) = 8090.98128569
delta logL = 0.126446556369

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  5.718e+00  2.080e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  1.395e+00  2.888e-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.607e-01  1.280e-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.531e+00  2.761e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 57.88
Ra Dec: 238.931 11.188
Photon Index (Free Index): 1.39 +/- 0.29
Photon Flux (Free Index): 6.13e-08 +/- 3.00e-08
Energy Flux (Free Index): 2.10e-04 +/- 1.23e-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/866218/cmap_HighResolution_619833601_620092801_4FGL_J1555.7+1111_daily_bin1468.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.34e-08', energy_flux2='2.10e-04', photon_flux_error='2.48e-08', dlogl='1.26e-01', energy_flux='1.66e-04', photon_flux2='6.13e-08', job_status='DONE', time_completed='2021-09-12 22:34:11.243058', photon_index_error2='0.29', photon_index2='1.39', ts='57.64', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='1.23e-04', EG='1.52', time_epoch_completed='1631511251.24', return_code='0', job_id='866218', GAL2='0.86', EG2='1.53', return_code2='0', energy_flux_error='5.63e-05', photon_flux_error2='3.00e-08', ts2='57.88', photon_index='1.54' WHERE bin_id='1468' AND source_name='4FGL J1555.7+1111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 22:34:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0205>
Subject: Job 866218: <4FGL_J1555.7+1111_daily_bin1468> in cluster <slac> Done

Job <4FGL_J1555.7+1111_daily_bin1468> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 22:20:25 2021
Job was executed on host(s) <bullet0205>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 22:20:53 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:20:53 2021
Terminated at Sun Sep 12 22:34:12 2021
Results reported at Sun Sep 12 22:34:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1555.7+1111_daily_bin1468 238.931 11.1884 619833601 620092801 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 :                                   620.00 sec.
    Max Memory :                                 1018 MB
    Average Memory :                             285.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   798 sec.
    Turnaround time :                            827 sec.

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

