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


Performing analysis on: 4FGL_J0115.8+2519_daily_bin83
RA = 18.9539, Dec = 25.3324
tmin = 260841601, tmax = 261100801
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='497978', job_status='RUN', time_executed='2021-08-13 20:39:45.998812', time_epoch_executed='1628912386.0' WHERE source_name='4FGL J0115.8+2519' and cadence='daily' and bin_id='83'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/497978

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/497978/ft1_4FGL_J0115.8+2519_daily_bin83.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/497978/ft2_4FGL_J0115.8+2519_daily_bin83.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/497978/ft1_4FGL_J0115.8+2519_daily_bin83.fits outfile=/scratch/kocevski/497978/ft1_filteredMKT_4FGL_J0115.8+2519_daily_bin83.fits ra=18.9539 dec=25.3324 rad=12.0 tmin=260841601.0 tmax=261100801.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 9.26
user 1.38
sys 7.77

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/497978/ft2_4FGL_J0115.8+2519_daily_bin83.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/497978/ft2_4FGL_J0115.8+2519_daily_bin83.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/497978/ft1_filteredMKT_4FGL_J0115.8+2519_daily_bin83.fits evtable="EVENTS" outfile="/scratch/kocevski/497978/ft1_filtered_4FGL_J0115.8+2519_daily_bin83.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 8.29
user 0.32
sys 7.87

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/497978/ft1_filtered_4FGL_J0115.8+2519_daily_bin83.fits" evtable="EVENTS" scfile=/scratch/kocevski/497978/ft2_4FGL_J0115.8+2519_daily_bin83.fits sctable="SC_DATA" outfile=/scratch/kocevski/497978/ltcube_260841601_261100801_4FGL_J0115.8+2519_daily_bin83.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/497978/ft2_4FGL_J0115.8+2519_daily_bin83.fits
.....................!
real 24.37
user 15.36
sys 8.89

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/497978/ft1_filtered_4FGL_J0115.8+2519_daily_bin83.fits evtable="EVENTS" scfile=/scratch/kocevski/497978/ft2_4FGL_J0115.8+2519_daily_bin83.fits sctable="SC_DATA" expcube=/scratch/kocevski/497978/ltcube_260841601_261100801_4FGL_J0115.8+2519_daily_bin83.fits outfile=/scratch/kocevski/497978/expmap_260841601_261100801_4FGL_J0115.8+2519_daily_bin83.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/497978/ltcube_260841601_261100801_4FGL_J0115.8+2519_daily_bin83.fits
.....................!
real 202.30
user 186.46
sys 15.40

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 170 point sources and 0 extended sources

Setting source of interest to:
4FGL J0115.8+2519 @ 18.9539 25.3324

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/497978/ft1_filtered_4FGL_J0115.8+2519_daily_bin83.fits scfile=/scratch/kocevski/497978/ft2_4FGL_J0115.8+2519_daily_bin83.fits outfile=/scratch/kocevski/497978/cmap_260841601_261100801_4FGL_J0115.8+2519_daily_bin83.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=18.9539 yref=25.3324 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 8.18
user 0.38
sys 7.75

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/497978/ft1_filtered_4FGL_J0115.8+2519_daily_bin83.fits scfile=/scratch/kocevski/497978/ft2_4FGL_J0115.8+2519_daily_bin83.fits outfile=/scratch/kocevski/497978/cmap_HighResolution_260841601_261100801_4FGL_J0115.8+2519_daily_bin83.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=18.9539 yref=25.3324 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 8.15
user 0.39
sys 7.72

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/497978/ft1_filtered_4FGL_J0115.8+2519_daily_bin83.fits evtable="EVENTS" scfile=/scratch/kocevski/497978/ft2_4FGL_J0115.8+2519_daily_bin83.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/497978/Model_4FGL_J0115.8+2519_daily_bin83.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/497978/ft1_filtered_4FGL_J0115.8+2519_daily_bin83.fits.....................!
real 76.63
user 65.35
sys 11.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/497978/ft1_filtered_4FGL_J0115.8+2519_daily_bin83.fits', '/scratch/kocevski/497978/ft2_4FGL_J0115.8+2519_daily_bin83.fits', expMap='/scratch/kocevski/497978/expmap_260841601_261100801_4FGL_J0115.8+2519_daily_bin83.fits', expCube='/scratch/kocevski/497978/ltcube_260841601_261100801_4FGL_J0115.8+2519_daily_bin83.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/497978/Model_4FGL_J0115.8+2519_daily_bin83.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0115.8+2519'

4FGL J0115.8+2519
   Spectrum: PowerLaw
252    Prefactor:  2.767e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
253        Index:  1.918e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
254        Scale:  2.499e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/497978/ft1_filtered_4FGL_J0115.8+2519_daily_bin83.fits
Spacecraft file(s): /scratch/kocevski/497978/ft2_4FGL_J0115.8+2519_daily_bin83.fits
Exposure map: /scratch/kocevski/497978/expmap_260841601_261100801_4FGL_J0115.8+2519_daily_bin83.fits
Exposure cube: /scratch/kocevski/497978/ltcube_260841601_261100801_4FGL_J0115.8+2519_daily_bin83.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/497978/Model_4FGL_J0115.8+2519_daily_bin83.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) = 6249.2305043

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .63432       1.0000         .10000E-03   10000.    
     4 'norm      '    3.0825       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.5818       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.9489       1.0000         .10000E-03   10000.    
     9 'norm      '    .61144       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.470       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.456       1.0000         .10000E-03   10000.    
    16 'Prefactor '    31.569       1.0000         .10000E-03   10000.    
    17 'norm      '    1.3401       1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.6711       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    194.00       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2271       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .92680       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6249.230     FROM MIGRAD    STATUS=CONVERGED    471 CALLS     2829 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    22.228        .69786E-06** at limit **
   2  Prefactor     .10000E-03    9.2834        .82394E-06** at limit **
   3  norm          .63463        1.9925        .75202E-06   -.16937E-03
   4  norm          3.0826        5.4838       -.29229E-06   -.14525E-04
   5  Prefactor     3.5800        11.977        .94837E-05   -.46108E-03
   6  Prefactor     .10000E-03    6.5821       -.87568E-06** at limit **
   7  Prefactor     .10000E-03    50.095       -.51964E-06** at limit **
   8  norm          1.9488        .82744       -.13227E-08   -.21440E-03
   9  norm          .61167        1.1771        .36023E-06    .89753E-04
  10  Prefactor     .10000E-03    13.325        .50471E-06** at limit **
  11  Prefactor     .10000E-03    13.938       -.81997E-06** at limit **
  12  Prefactor     11.469        5.8764        .59653E-07   -.27136E-04
  13  Prefactor     .10000E-03    7.6604       -.95011E-06** at limit **
  14  Prefactor     .10000E-03    6.6730        .12048E-05** at limit **
  15  Prefactor     13.458        34.937        .13049E-05   -.48885E-07
  16  Prefactor     31.502        91.755       -.18389E-04   -.25101E-03
  17  norm          1.3401        .74435        .25280E-06    .81564E-04
  18  Prefactor     9.6713        11.451        .20437E-05   -.26149E-03
  19  norm          .10000E-03    2.7448       -.38539E-07** at limit **
  20  Prefactor     194.01        227.27        .85542E-06    .65623E-05
  21  Normalizat    1.2272        .20770       -.89347E-06   -.64793E-04
  22  Prefactor     .92673        .13429       -.48578E-06   -.63867E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.634631
  norm       = 3.08257
  Prefactor  = 3.58001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.94879
  norm       = 0.611671
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.4694
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 13.4582
  Prefactor  = 31.502
  norm       = 1.34013
  Prefactor  = 9.67125
  norm       = 0.0001
  Prefactor  = 194.009
  Normalizat = 1.22719
  Prefactor  = 0.926727
 **********
 **   18 **HESSE 
 **********

 FCN=   6249.230     FROM HESSE     STATUS=OK           344 CALLS     3173 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.248        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.3081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .63463        1.9603        .19196E-03   -1.5549    
   4  norm          3.0826        5.4665        .23101E-03   -1.5357    
   5  Prefactor     3.5800        12.500        .10676E-02   -1.5330    
   6  Prefactor     .10000E-03    6.6385        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    50.298        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.9488        .82520        .44766E-04   -1.5429    
   9  norm          .61167        1.1094        .11328E-02   -1.5552    
  10  Prefactor     .10000E-03    13.412        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    13.962        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.469        5.8751        .11829E-03   -1.5031    
  13  Prefactor     .10000E-03    7.9615        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.7927        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     13.458        34.943        .10919E-03   -1.4974    
  16  Prefactor     31.502        98.954        .71314E-04   -1.4585    
  17  norm          1.3401        .74843        .46425E-04   -1.5476    
  18  Prefactor     9.6713        11.490        .64430E-03   -1.5086    
  19  norm          .10000E-03    2.7822        .12790E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     194.01        227.41        .29001E-04   -1.2913    
  21  Normalizat    1.2272        .24458        .27963E-03   -.85767    
  22  Prefactor     .92673        .15844        .20809E-03   -.95213    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.32282e-09
Minuit parameter uncertainties:
  1  0.000122719
  2  9.4296e-05
  3  1.96052
  4  5.4674
  5  12.5092
  6  9.33999e-05
  7  0.000148999
  8  0.825206
  9  1.10941
  10  5.52714e-05
  11  0.000116171
  12  5.87538
  13  7.5209e-05
  14  0.000162852
  15  34.996
  16  99.4754
  17  0.748436
  18  11.4922
  19  3.77559e-06
  20  228.457
  21  0.244813
  22  0.158515
Done.

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

Extracting fit parameters...

4FGL J0115.8+2519
   Spectrum: PowerLaw
252    Prefactor:  1.147e+01  5.875e+00  1.000e-04  1.000e+04 ( 1.000e-13)
253        Index:  1.918e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
254        Scale:  2.499e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
539    Prefactor:  9.267e-01  1.585e-01  0.000e+00  1.000e+01 ( 1.000e+00)
540        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
541        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
538   Normalization:  1.227e+00  2.448e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.41
Ra Dec: 18.954 25.332
Photon Index (Fixed Index): 1.92 +/- 0.00
Photon Flux (Fixed Index): 5.98e-08 +/- 3.06e-08
Energy Flux (Fixed Index): 5.11e-05 +/- 2.62e-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) = 6249.08304641
delta logL = 0.147180946872

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6249.08182415
delta logL = 0.148403208262

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.514       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7105       1.0000          .0000       10.000    
     3 'Normalizat'    1.2389       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92394       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5420E+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=   6249.082     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      267 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.514        7.7359        .10896E-03   -.92012E-03
   2  Index         1.7105        .38149        .55994E-02   -.28330E-03
   3  Normalizat    1.2389        .23631        .27859E-03    .12238E-03
   4  Prefactor     .92396        .15575        .20843E-03    .19525E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.5143
  Index      = 1.71048
  Normalizat = 1.23889
  Prefactor  = 0.92396
 **********
 **   18 **HESSE 
 **********

 FCN=   6249.082     FROM HESSE     STATUS=OK            23 CALLS      290 TOTAL
                     EDM=   .92E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.514        7.6495        .21792E-04   -1.4973    
   2  Index         1.7105        .37717        .22397E-03   -.71803    
   3  Normalizat    1.2389        .23646        .11143E-04   -.85409    
   4  Prefactor     .92396        .15588        .41686E-04   -.95309    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.17028e-10
Minuit parameter uncertainties:
  1  7.65007
  2  0.3778
  3  0.236668
  4  0.155956
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/497978': 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) = 6249.08182413
delta logL = 0.148403226513

Extracting fit parameters...

4FGL J0115.8+2519
   Spectrum: PowerLaw
252    Prefactor:  1.351e+01  7.650e+00  1.000e-04  1.000e+04 ( 1.000e-13)
253        Index:  1.710e+00  3.778e-01  0.000e+00  1.000e+01 (-1.000e+00)
254        Scale:  2.499e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
539    Prefactor:  9.240e-01  1.560e-01  0.000e+00  1.000e+01 ( 1.000e+00)
540        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
541        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
538   Normalization:  1.239e+00  2.367e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.72
Ra Dec: 18.954 25.332
Photon Index (Free Index): 1.71 +/- 0.38
Photon Flux (Free Index): 4.64e-08 +/- 3.42e-08
Energy Flux (Free Index): 7.33e-05 +/- 6.39e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/497978/cmap_HighResolution_260841601_261100801_4FGL_J0115.8+2519_daily_bin83.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.98e-08', energy_flux2='7.33e-05', photon_flux_error='3.06e-08', dlogl='1.48e-01', energy_flux='5.11e-05', photon_flux2='4.64e-08', job_status='DONE', time_completed='2021-08-13 20:51:56.502542', photon_index_error2='0.38', photon_index2='1.71', ts='14.41', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='6.39e-05', EG='1.23', time_epoch_completed='1628913116.5', return_code='0', job_id='497978', GAL2='0.92', EG2='1.24', return_code2='0', energy_flux_error='2.62e-05', photon_flux_error2='3.42e-08', ts2='14.72', photon_index='1.92' WHERE bin_id='83' AND source_name='4FGL J0115.8+2519' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 20:51:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0158>
Subject: Job 497978: <4FGL_J0115.8+2519_daily_bin83> in cluster <slac> Done

Job <4FGL_J0115.8+2519_daily_bin83> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Fri Aug 13 20:35:24 2021
Job was executed on host(s) <bullet0158>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 20:35:40 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 20:35:40 2021
Terminated at Fri Aug 13 20:51:58 2021
Results reported at Fri Aug 13 20:51:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0115.8+2519_daily_bin83 18.9539 25.3324 260841601 261100801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0115.8+2519 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   850.30 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             271.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   977 sec.
    Turnaround time :                            994 sec.

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

