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


Performing analysis on: 4FGL_J0115.8+2519_daily_bin1188
RA = 18.9539, Dec = 25.3324
tmin = 547257601, tmax = 547516801
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='502693', job_status='RUN', time_executed='2021-08-13 20:52:14.791839', time_epoch_executed='1628913134.79' WHERE source_name='4FGL J0115.8+2519' and cadence='daily' and bin_id='1188'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/502693

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/502693/ft1_4FGL_J0115.8+2519_daily_bin1188.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/502693/ft2_4FGL_J0115.8+2519_daily_bin1188.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/502693/ft1_4FGL_J0115.8+2519_daily_bin1188.fits outfile=/scratch/kocevski/502693/ft1_filteredMKT_4FGL_J0115.8+2519_daily_bin1188.fits ra=18.9539 dec=25.3324 rad=12.0 tmin=547257601.0 tmax=547516801.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 7.66
user 3.35
sys 4.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/502693/ft2_4FGL_J0115.8+2519_daily_bin1188.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/502693/ft1_filteredMKT_4FGL_J0115.8+2519_daily_bin1188.fits evtable="EVENTS" outfile="/scratch/kocevski/502693/ft1_filtered_4FGL_J0115.8+2519_daily_bin1188.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 4.47
user 0.33
sys 4.11

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/502693/ft1_filtered_4FGL_J0115.8+2519_daily_bin1188.fits" evtable="EVENTS" scfile=/scratch/kocevski/502693/ft2_4FGL_J0115.8+2519_daily_bin1188.fits sctable="SC_DATA" outfile=/scratch/kocevski/502693/ltcube_547257601_547516801_4FGL_J0115.8+2519_daily_bin1188.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/502693/ft2_4FGL_J0115.8+2519_daily_bin1188.fits
.....................!
real 16.79
user 11.77
sys 4.94

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/502693/ft1_filtered_4FGL_J0115.8+2519_daily_bin1188.fits evtable="EVENTS" scfile=/scratch/kocevski/502693/ft2_4FGL_J0115.8+2519_daily_bin1188.fits sctable="SC_DATA" expcube=/scratch/kocevski/502693/ltcube_547257601_547516801_4FGL_J0115.8+2519_daily_bin1188.fits outfile=/scratch/kocevski/502693/expmap_547257601_547516801_4FGL_J0115.8+2519_daily_bin1188.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/502693/ltcube_547257601_547516801_4FGL_J0115.8+2519_daily_bin1188.fits
.....................!
real 196.09
user 185.05
sys 10.51

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/502693/ft1_filtered_4FGL_J0115.8+2519_daily_bin1188.fits scfile=/scratch/kocevski/502693/ft2_4FGL_J0115.8+2519_daily_bin1188.fits outfile=/scratch/kocevski/502693/cmap_547257601_547516801_4FGL_J0115.8+2519_daily_bin1188.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 4.48
user 0.36
sys 4.05

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/502693/ft1_filtered_4FGL_J0115.8+2519_daily_bin1188.fits scfile=/scratch/kocevski/502693/ft2_4FGL_J0115.8+2519_daily_bin1188.fits outfile=/scratch/kocevski/502693/cmap_HighResolution_547257601_547516801_4FGL_J0115.8+2519_daily_bin1188.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 4.57
user 0.39
sys 4.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/502693/ft1_filtered_4FGL_J0115.8+2519_daily_bin1188.fits', '/scratch/kocevski/502693/ft2_4FGL_J0115.8+2519_daily_bin1188.fits', expMap='/scratch/kocevski/502693/expmap_547257601_547516801_4FGL_J0115.8+2519_daily_bin1188.fits', expCube='/scratch/kocevski/502693/ltcube_547257601_547516801_4FGL_J0115.8+2519_daily_bin1188.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/502693/Model_4FGL_J0115.8+2519_daily_bin1188.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/502693/ft1_filtered_4FGL_J0115.8+2519_daily_bin1188.fits
Spacecraft file(s): /scratch/kocevski/502693/ft2_4FGL_J0115.8+2519_daily_bin1188.fits
Exposure map: /scratch/kocevski/502693/expmap_547257601_547516801_4FGL_J0115.8+2519_daily_bin1188.fits
Exposure cube: /scratch/kocevski/502693/ltcube_547257601_547516801_4FGL_J0115.8+2519_daily_bin1188.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/502693/Model_4FGL_J0115.8+2519_daily_bin1188.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) = 8268.15028633

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.002       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .74656       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.7367       1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.400       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.6911       1.0000         .10000E-03   10000.    
     9 'norm      '    .49280       1.0000         .10000E-03   10000.    
    10 'Prefactor '    64.466       1.0000         .10000E-03   10000.    
    11 'Prefactor '    39.385       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.4413       1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.4402       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.6223       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .82986       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .15492E-01   1.0000         .10000E-03   10000.    
    19 'norm      '    6.2977       1.0000         .10000E-03   10000.    
    20 'Prefactor '    190.52       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .99669       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0150       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=   8268.097     FROM MIGRAD    STATUS=CONVERGED    492 CALLS     2442 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.001        41.956       -.26566E-06   -.36633E-05
   2  Prefactor     .10000E-03    14.679       -.25184E-06** at limit **
   3  norm          .74590        1.6627       -.61000E-06   -.29618E-03
   4  norm          .10000E-03    2.5963       -.58514E-07** at limit **
   5  Prefactor     4.7368        15.732        .11822E-06   -.98499E-05
   6  Prefactor     16.401        12.645        .81578E-06    .74013E-04
   7  Prefactor     .10000E-03    54.549       -.25341E-05** at limit **
   8  norm          1.6911        .72980       -.67730E-07   -.13440E-03
   9  norm          .49281        1.0219       -.47817E-06    .21972E-03
  10  Prefactor     64.465        37.589       -.13980E-06   -.40043E-05
  11  Prefactor     39.371        44.516       -.81482E-06   -.39958E-04
  12  Prefactor     2.4431        4.8858        .13374E-06    .13641E-03
  13  Prefactor     9.4408        8.5206        .21203E-05    .50720E-03
  14  Prefactor     1.6240        16.907       -.63112E-06   -.20654E-04
  15  Prefactor     .10000E-03    42.523       -.14447E-05** at limit **
  16  Prefactor     .10001E-03    132.00        .70508E-05** at limit **
  17  norm          .83003        .65182       -.12372E-07    .64461E-03
  18  Prefactor     .10000E-03    174.41       -.20195E-04** at limit **
  19  norm          6.2978        5.6816        .33396E-07    .65254E-04
  20  Prefactor     190.51        192.25       -.88158E-06    .47202E-05
  21  Normalizat    .99662        .22420       -.39196E-05    .48652E-03
  22  Prefactor     1.0150        .13121        .35120E-05    .15122E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.0014
  Prefactor  = 0.0001
  norm       = 0.745896
  norm       = 0.0001
  Prefactor  = 4.73679
  Prefactor  = 16.4012
  Prefactor  = 0.0001
  norm       = 1.69112
  norm       = 0.49281
  Prefactor  = 64.4654
  Prefactor  = 39.3713
  Prefactor  = 2.4431
  Prefactor  = 9.44079
  Prefactor  = 1.62398
  Prefactor  = 0.000100001
  Prefactor  = 0.000100012
  norm       = 0.830028
  Prefactor  = 0.000100002
  norm       = 6.29779
  Prefactor  = 190.509
  Normalizat = 0.996616
  Prefactor  = 1.01504
 **********
 **   18 **HESSE 
 **********

 FCN=   8268.097     FROM HESSE     STATUS=OK           358 CALLS     2800 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.001        41.983        .85393E-04   -1.4770    
   2  Prefactor     .10000E-03    14.703        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .74590        1.6244        .16835E-03   -1.5535    
   4  norm          .10000E-03    2.5971        .14306E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.7368        15.820        .18488E-03   -1.5273    
   6  Prefactor     16.401        12.645        .98901E-04   -1.4898    
   7  Prefactor     .10000E-03    54.934        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.6911        .72682        .48606E-04   -1.5448    
   9  norm          .49281        1.0260        .12516E-03   -1.5568    
  10  Prefactor     64.465        37.617        .49982E-04   -1.4100    
  11  Prefactor     39.371        44.821        .63868E-04   -1.4452    
  12  Prefactor     2.4431        4.9205        .12262E-02   -1.5395    
  13  Prefactor     9.4408        8.4879        .13043E-03   -1.5093    
  14  Prefactor     1.6240        16.892        .33224E-03   -1.5453    
  15  Prefactor     .10000E-03    43.092        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10001E-03    134.52        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .83003        .63035        .61621E-03   -1.5526    
  18  Prefactor     .10000E-03    7.2655        .71252E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          6.2978        5.6787        .15995E-03   -1.5206    
  20  Prefactor     190.51        192.30        .14630E-03   -1.2939    
  21  Normalizat    .99662        .24082        .31908E-03   -.93144    
  22  Prefactor     1.0150        .13880        .20034E-03   -.92230    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24282e-09
Minuit parameter uncertainties:
  1  42.0391
  2  7.42826e-06
  3  1.62448
  4  3.13456e-06
  5  15.8341
  6  12.6469
  7  0.000245395
  8  0.72682
  9  1.02601
  10  37.6311
  11  44.8592
  12  4.92131
  13  8.48899
  14  10.4787
  15  0.000304749
  16  0.00250133
  17  0.630357
  18  0.000240134
  19  5.67915
  20  192.937
  21  0.241083
  22  0.138851
Done.

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

Extracting fit parameters...

4FGL J0115.8+2519
   Spectrum: PowerLaw
252    Prefactor:  2.443e+00  4.921e+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:  1.015e+00  1.389e-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:  9.966e-01  2.411e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.41
Ra Dec: 18.954 25.332
Photon Flux Upper Limit: 7.22e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.38e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/502693/likelihoodResults_547257601_547516801_4FGL_J0115.8+2519_daily_bin1188.txt

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) = 8267.94312496
delta logL = 0.154318401941

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8267.93864065
delta logL = 0.15880271172

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6687       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4499       1.0000          .0000       10.000    
     3 'Normalizat'    .98211       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0178       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.

 FCN=   8267.939     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      282 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6680        64.951        .81598E-02    .96647E-03
   2  Index         2.4501        6.2250        .11857        .17291E-03
   3  Normalizat    .98194        .61064E-01    .72575E-01    .35789E-04
   4  Prefactor     1.0180        .33562E-01    .42367E-01    .20281E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66802
  Index      = 2.45014
  Normalizat = 0.981936
  Prefactor  = 1.01798
 **********
 **   18 **HESSE 
 **********

 FCN=   8267.939     FROM HESSE     STATUS=OK            33 CALLS      315 TOTAL
                     EDM=   .60E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6680        4.5968        .15023E-03   -1.5450    
   2  Index         2.4501        1.2983        .95236E-02   -.53515    
   3  Normalizat    .98194        .21682        .32111E-03   -.93638    
   4  Prefactor     1.0180        .13591        .20000E-03   -.92133    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.98266e-11
Minuit parameter uncertainties:
  1  4.59781
  2  1.31887
  3  0.217014
  4  0.135952
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/502693': 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) = 8267.93863953
delta logL = 0.158803828786

Extracting fit parameters...

4FGL J0115.8+2519
   Spectrum: PowerLaw
252    Prefactor:  1.668e+00  4.598e+00  1.000e-04  1.000e+04 ( 1.000e-13)
253        Index:  2.450e+00  1.319e+00  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:  1.018e+00  1.360e-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:  9.819e-01  2.170e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.41
Ra Dec: 18.954 25.332

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/502693/cmap_HighResolution_547257601_547516801_4FGL_J0115.8+2519_daily_bin1188.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.38e-03', job_status='DONE', photon_flux_upper_limit='7.22e-08', time_completed='2021-08-13 21:05:45.830722', job_id='502693', GAL2='1.02', fit_tolerance='1e-08', EG2='0.98', EG='1.00', time_epoch_completed='1628913945.83', return_code2='0', ts='0.41', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='1.59e-01', ts2='0.73', photon_index_error='0.00', photon_index='1.92' WHERE bin_id='1188' AND source_name='4FGL J0115.8+2519' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 21:05:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0011>
Subject: Job 502693: <4FGL_J0115.8+2519_daily_bin1188> in cluster <slac> Done

Job <4FGL_J0115.8+2519_daily_bin1188> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Aug 13 20:50:29 2021
Job was executed on host(s) <bullet0011>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 20:50:59 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:50:59 2021
Terminated at Fri Aug 13 21:05:47 2021
Results reported at Fri Aug 13 21:05:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0115.8+2519_daily_bin1188 18.9539 25.3324 547257601 547516801 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 :                                   864.09 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             308.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   887 sec.
    Turnaround time :                            918 sec.

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

