/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 0 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 = 7493
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1555.7+1111_daily_bin239
RA = 238.931, Dec = 11.1884
tmin = 301276801, tmax = 301536001
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='850142', job_status='RUN', time_executed='2021-09-12 21:26:29.069533', time_epoch_executed='1631507189.07' WHERE source_name='4FGL J1555.7+1111' and cadence='daily' and bin_id='239'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/850142

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/850142/ft1_4FGL_J1555.7+1111_daily_bin239.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/850142/ft2_4FGL_J1555.7+1111_daily_bin239.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/850142/ft1_4FGL_J1555.7+1111_daily_bin239.fits outfile=/scratch/kocevski/850142/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin239.fits ra=238.931 dec=11.1884 rad=12.0 tmin=301276801.0 tmax=301536001.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 4.56
user 4.30
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/850142/ft1_filtered_4FGL_J1555.7+1111_daily_bin239.fits" evtable="EVENTS" scfile=/scratch/kocevski/850142/ft2_4FGL_J1555.7+1111_daily_bin239.fits sctable="SC_DATA" outfile=/scratch/kocevski/850142/ltcube_301276801_301536001_4FGL_J1555.7+1111_daily_bin239.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/850142/ft2_4FGL_J1555.7+1111_daily_bin239.fits
.....................!
real 13.59
user 13.21
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/850142/ft1_filtered_4FGL_J1555.7+1111_daily_bin239.fits evtable="EVENTS" scfile=/scratch/kocevski/850142/ft2_4FGL_J1555.7+1111_daily_bin239.fits sctable="SC_DATA" expcube=/scratch/kocevski/850142/ltcube_301276801_301536001_4FGL_J1555.7+1111_daily_bin239.fits outfile=/scratch/kocevski/850142/expmap_301276801_301536001_4FGL_J1555.7+1111_daily_bin239.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/850142/ltcube_301276801_301536001_4FGL_J1555.7+1111_daily_bin239.fits
.....................!
real 193.05
user 187.77
sys 4.59

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/850142/ft1_filtered_4FGL_J1555.7+1111_daily_bin239.fits scfile=/scratch/kocevski/850142/ft2_4FGL_J1555.7+1111_daily_bin239.fits outfile=/scratch/kocevski/850142/cmap_301276801_301536001_4FGL_J1555.7+1111_daily_bin239.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/850142/ft1_filtered_4FGL_J1555.7+1111_daily_bin239.fits scfile=/scratch/kocevski/850142/ft2_4FGL_J1555.7+1111_daily_bin239.fits outfile=/scratch/kocevski/850142/cmap_HighResolution_301276801_301536001_4FGL_J1555.7+1111_daily_bin239.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/850142/ft1_filtered_4FGL_J1555.7+1111_daily_bin239.fits evtable="EVENTS" scfile=/scratch/kocevski/850142/ft2_4FGL_J1555.7+1111_daily_bin239.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/850142/Model_4FGL_J1555.7+1111_daily_bin239.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/850142/ft1_filtered_4FGL_J1555.7+1111_daily_bin239.fits.....................!
real 82.31
user 80.68
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.976       1.0000         .10000E-03   10000.    
     2 'Prefactor '    15.669       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.4402       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.4326       1.0000         .10000E-03   10000.    
     7 'Prefactor '    20.325       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.4350       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.4546       1.0000         .10000E-03   10000.    
    12 'norm      '    11.638       1.0000         .10000E-03   10000.    
    13 'norm      '    31.471       1.0000         .10000E-03   10000.    
    14 'norm      '    41.776       1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.5220       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .15349E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    56.024       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .19718       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2239       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .84878       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=   11308.97     FROM MIGRAD    STATUS=CONVERGED    451 CALLS     2243 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.976        20.195        .26101E-06    .80716E-05
   2  Prefactor     15.669        25.060        .58677E-06    .15860E-04
   3  Prefactor     .10000E-03    1.6138       -.12565E-07** at limit **
   4  Prefactor     8.4399        22.590        .19836E-05   -.60216E-04
   5  Prefactor     .10000E-03    12.612       -.93809E-08** at limit **
   6  norm          1.4326        1.2517       -.67052E-08    .10474E-03
   7  Prefactor     20.325        4.7497       -.18400E-07   -.71797E-04
   8  Prefactor     .10000E-03    22.708       -.19590E-06** at limit **
   9  norm          1.4350        2.6004        .47109E-06   -.16700E-03
  10  Prefactor     .10000E-03    15.869       -.61972E-07** at limit **
  11  norm          1.4548        5.6528       -.14838E-05   -.24334E-03
  12  norm          11.639        2.3993        .40163E-07    .17527E-03
  13  norm          31.472        14.171       -.15228E-06   -.46063E-04
  14  norm          41.779        81.296        .12608E-05    .10019E-04
  15  Prefactor     8.5226        10.708        .12688E-05   -.17954E-03
  16  Prefactor     .10000E-03    304.94       -.12992E-05** at limit **
  17  Prefactor     56.027        30.869       -.78186E-06   -.83001E-04
  18  Prefactor     .10000E-03    7.8739       -.12406E-06** at limit **
  19  Prefactor     .19739        3.0347        .33944E-06   -.22015E-03
  20  Normalizat    1.2240        .20222       -.52140E-06   -.16028E-04
  21  Prefactor     .84878        .89557E-01   -.14591E-07   -.67458E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.9761
  Prefactor  = 15.6689
  Prefactor  = 0.0001
  Prefactor  = 8.43989
  Prefactor  = 0.0001
  norm       = 1.43265
  Prefactor  = 20.3249
  Prefactor  = 0.0001
  norm       = 1.43499
  Prefactor  = 0.0001
  norm       = 1.45478
  norm       = 11.6386
  norm       = 31.4716
  norm       = 41.7787
  Prefactor  = 8.52258
  Prefactor  = 0.0001
  Prefactor  = 56.0272
  Prefactor  = 0.0001
  Prefactor  = 0.197392
  Normalizat = 1.22398
  Prefactor  = 0.848784
 **********
 **   18 **HESSE 
 **********

 FCN=   11308.97     FROM HESSE     STATUS=OK           323 CALLS     2566 TOTAL
                     EDM=   .80E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.976        20.196        .10714E-03   -1.4960    
   2  Prefactor     15.669        25.181        .10118E-03   -1.4916    
   3  Prefactor     .10000E-03    1.6456        .13187E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.4399        23.052        .68993E-03   -1.5127    
   5  Prefactor     .10000E-03    12.646        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.4326        1.2669        .10824E-03   -1.5469    
   7  Prefactor     20.325        4.7498        .88843E-04   -1.4806    
   8  Prefactor     .10000E-03    22.798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.4350        2.6255        .22542E-03   -1.5468    
  10  Prefactor     .10000E-03    15.881        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.4548        7.2095        .35703E-03   -1.5467    
  12  norm          11.639        2.4080        .71388E-04   -1.5026    
  13  norm          31.472        14.206        .71424E-04   -1.4585    
  14  norm          41.779        81.568        .62021E-04   -1.4414    
  15  Prefactor     8.5226        11.113        .68659E-03   -1.5124    
  16  Prefactor     .10000E-03    311.96        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     56.027        31.075        .53594E-04   -1.4210    
  18  Prefactor     .10000E-03    8.1028        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .19739        20.182        .35498E-02   -1.5619    
  20  Normalizat    1.2240        .24418        .34976E-03   -.85865    
  21  Prefactor     .84878        .10869        .18757E-03   -.97954    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.9732e-08
Minuit parameter uncertainties:
  1  20.206
  2  25.1984
  3  2.55957e-07
  4  23.0761
  5  4.04522e-06
  6  1.26688
  7  4.74984
  8  1.67297e-05
  9  2.62576
  10  4.71718e-07
  11  6.47813
  12  2.408
  13  14.2073
  14  81.7871
  15  11.1152
  16  0.000172894
  17  31.0838
  18  1.611e-05
  19  3.99223
  20  0.244411
  21  0.108722
Done.

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

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  1.164e+01  2.408e+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.488e-01  1.087e-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.224e+00  2.444e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 115.69
Ra Dec: 238.931 11.188
Photon Index (Fixed Index): 1.54 +/- 0.00
Photon Flux (Fixed Index): 1.43e-07 +/- 2.97e-08
Energy Flux (Fixed Index): 3.25e-04 +/- 6.73e-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) = 11305.2104818
delta logL = 3.75457837081

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11305.1547701
delta logL = 3.81029005904

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.6238       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9999       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1245       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87085       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=   11305.15     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      241 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.6240        24.579        .32294E-02   -.27391E-03
   2  alpha         1.9998        1.6081        .12071        .13084E-03
   3  Normalizat    1.1244        .24570        .81673E-01   -.10171E-03
   4  Prefactor     .87094        .69809E-01    .44632E-01   -.30024E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.62397
  alpha      = 1.99981
  Normalizat = 1.12437
  Prefactor  = 0.870938
 **********
 **   18 **HESSE 
 **********

 FCN=   11305.15     FROM HESSE     STATUS=OK            31 CALLS      272 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.6240        2.3034        .57925E-04   -1.5087    
   2  alpha         1.9998        .17182        .51329E-02   -.20143    
   3  Normalizat    1.1244        .23514        .36158E-03   -.88973    
   4  Prefactor     .87094        .10650        .18491E-03   -.97164    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.63358e-09
Minuit parameter uncertainties:
  1  2.30344
  2  0.171964
  3  0.235363
  4  0.106524
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/850142': 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) = 11305.1547695
delta logL = 3.8102906898

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  9.624e+00  2.303e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  2.000e+00  1.720e-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.709e-01  1.065e-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.124e+00  2.354e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 122.97
Ra Dec: 238.931 11.188
Photon Index (Free Index): 2.00 +/- 0.17
Photon Flux (Free Index): 2.33e-07 +/- 5.45e-08
Energy Flux (Free Index): 1.67e-04 +/- 4.66e-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/850142/cmap_HighResolution_301276801_301536001_4FGL_J1555.7+1111_daily_bin239.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.43e-07', energy_flux2='1.67e-04', photon_flux_error='2.97e-08', dlogl='3.81e+00', energy_flux='3.25e-04', photon_flux2='2.33e-07', job_status='DONE', time_completed='2021-09-12 21:39:02.036671', photon_index_error2='0.17', photon_index2='2.00', ts='115.69', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', energy_flux_error2='4.66e-05', EG='1.22', time_epoch_completed='1631507942.04', return_code='0', job_id='850142', GAL2='0.87', EG2='1.12', return_code2='0', energy_flux_error='6.73e-05', photon_flux_error2='5.45e-08', ts2='122.97', photon_index='1.54' WHERE bin_id='239' AND source_name='4FGL J1555.7+1111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 21:39:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0266>
Subject: Job 850142: <4FGL_J1555.7+1111_daily_bin239> in cluster <slac> Done

Job <4FGL_J1555.7+1111_daily_bin239> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 12 21:25:19 2021
Job was executed on host(s) <bullet0266>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 21:26:21 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:26:21 2021
Terminated at Sun Sep 12 21:39:02 2021
Results reported at Sun Sep 12 21:39:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1555.7+1111_daily_bin239 238.931 11.1884 301276801 301536001 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 :                                   746.24 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             351.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   761 sec.
    Turnaround time :                            823 sec.

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

