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


Performing analysis on: 4FGL_J0115.8+2519_daily_bin1606
RA = 18.9539, Dec = 25.3324
tmin = 655603201, tmax = 655862401
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='138124', job_status='RUN', time_executed='2021-12-07 12:01:19.412311', time_epoch_executed='1638907279.41' WHERE source_name='4FGL J0115.8+2519' and cadence='daily' and bin_id='1606'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/138124

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/138124/ft1_4FGL_J0115.8+2519_daily_bin1606.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/138124/ft2_4FGL_J0115.8+2519_daily_bin1606.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/138124/ft1_4FGL_J0115.8+2519_daily_bin1606.fits outfile=/scratch/kocevski/138124/ft1_filteredMKT_4FGL_J0115.8+2519_daily_bin1606.fits ra=18.9539 dec=25.3324 rad=12.0 tmin=655603201.0 tmax=655862401.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.26
user 4.02
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/138124/ft2_4FGL_J0115.8+2519_daily_bin1606.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/138124/ft1_filteredMKT_4FGL_J0115.8+2519_daily_bin1606.fits evtable="EVENTS" outfile="/scratch/kocevski/138124/ft1_filtered_4FGL_J0115.8+2519_daily_bin1606.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/138124/ft1_filtered_4FGL_J0115.8+2519_daily_bin1606.fits" evtable="EVENTS" scfile=/scratch/kocevski/138124/ft2_4FGL_J0115.8+2519_daily_bin1606.fits sctable="SC_DATA" outfile=/scratch/kocevski/138124/ltcube_655603201_655862401_4FGL_J0115.8+2519_daily_bin1606.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/138124/ft2_4FGL_J0115.8+2519_daily_bin1606.fits
.....................!
real 14.37
user 13.97
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/138124/ft1_filtered_4FGL_J0115.8+2519_daily_bin1606.fits evtable="EVENTS" scfile=/scratch/kocevski/138124/ft2_4FGL_J0115.8+2519_daily_bin1606.fits sctable="SC_DATA" expcube=/scratch/kocevski/138124/ltcube_655603201_655862401_4FGL_J0115.8+2519_daily_bin1606.fits outfile=/scratch/kocevski/138124/expmap_655603201_655862401_4FGL_J0115.8+2519_daily_bin1606.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/138124/ltcube_655603201_655862401_4FGL_J0115.8+2519_daily_bin1606.fits
.....................!
real 192.23
user 185.79
sys 5.74

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/138124/ft1_filtered_4FGL_J0115.8+2519_daily_bin1606.fits scfile=/scratch/kocevski/138124/ft2_4FGL_J0115.8+2519_daily_bin1606.fits outfile=/scratch/kocevski/138124/cmap_655603201_655862401_4FGL_J0115.8+2519_daily_bin1606.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 0.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/138124/ft1_filtered_4FGL_J0115.8+2519_daily_bin1606.fits scfile=/scratch/kocevski/138124/ft2_4FGL_J0115.8+2519_daily_bin1606.fits outfile=/scratch/kocevski/138124/cmap_HighResolution_655603201_655862401_4FGL_J0115.8+2519_daily_bin1606.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 0.56
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    22.105       1.0000         .10000E-03   10000.    
     3 'norm      '    1.0985       1.0000         .10000E-03   10000.    
     4 'norm      '    17.399       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.6183       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .64528       1.0000         .10000E-03   10000.    
     9 'norm      '    1.6293       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .14218E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    49.301       1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.2916       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.8319       1.0000         .10000E-03   10000.    
    14 'Prefactor '    18.844       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10377E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    26.583       1.0000         .10000E-03   10000.    
    19 'norm      '    6.2383       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .12404E-01   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .36401       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1932       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=   4160.110     FROM MIGRAD    STATUS=CONVERGED    488 CALLS     2372 TOTAL
                     EDM=   .94E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    37.456        .33732E-04** at limit **
   2  Prefactor     22.079        26.118        .33519E-04    .21143E-05
   3  norm          1.0993        1.8768        .65465E-07    .21552E-04
   4  norm          17.408        10.495        .28038E-05    .29011E-06
   5  Prefactor     .10000E-03    14.803        .22131E-05** at limit **
   6  Prefactor     6.6265        13.458       -.17567E-05   -.48943E-04
   7  Prefactor     .10000E-03    14.429       -.22830E-05** at limit **
   8  norm          .64537        .50872        .18284E-07    .17953E-03
   9  norm          1.6297        1.5000        .11789E-06   -.39865E-04
  10  Prefactor     .10000E-03    70.408        .24082E-05** at limit **
  11  Prefactor     49.397        52.953       -.27309E-08    .22036E-04
  12  Prefactor     9.2891        8.6976       -.37809E-05   -.44304E-04
  13  Prefactor     8.8359        8.1204        .86276E-06   -.48555E-04
  14  Prefactor     18.854        16.113        .58791E-05    .90208E-04
  15  Prefactor     .10000E-03    26.372       -.19335E-05** at limit **
  16  Prefactor     .10000E-03    39.465       -.32383E-04** at limit **
  17  norm          .10000E-03    .19272        .22521E-07** at limit **
  18  Prefactor     26.561        15.365       -.44733E-05    .10932E-03
  19  norm          6.2404        7.2635        .64071E-06   -.45431E-04
  20  Prefactor     .10000E-03    614.46       -.12021E-03** at limit **
  21  Normalizat    .36361        .26361       -.81094E-05   -.60796E-04
  22  Prefactor     1.1931        .17486        .13426E-05    .51080E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 22.0785
  norm       = 1.09927
  norm       = 17.408
  Prefactor  = 0.0001
  Prefactor  = 6.6265
  Prefactor  = 0.0001
  norm       = 0.645366
  norm       = 1.6297
  Prefactor  = 0.0001
  Prefactor  = 49.3967
  Prefactor  = 9.28906
  Prefactor  = 8.83587
  Prefactor  = 18.8538
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 26.561
  norm       = 6.24041
  Prefactor  = 0.000100002
  Normalizat = 0.363614
  Prefactor  = 1.1931
 **********
 **   18 **HESSE 
 **********

 FCN=   4160.110     FROM HESSE     STATUS=OK           350 CALLS     2722 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    37.474        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     22.079        26.104        .85195E-04   -1.4768    
   3  norm          1.0993        1.6019        .11224E-02   -1.5498    
   4  norm          17.408        10.494        .96018E-04   -1.4873    
   5  Prefactor     .10000E-03    14.917        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.6265        13.362        .15599E-03   -1.5193    
   7  Prefactor     .10000E-03    14.440        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .64537        .51042        .39463E-04   -1.5547    
   9  norm          1.6297        1.4816        .70350E-04   -1.5453    
  10  Prefactor     .10000E-03    72.723        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     49.397        52.898        .57112E-04   -1.4301    
  12  Prefactor     9.2891        8.6918        .13148E-03   -1.5098    
  13  Prefactor     8.8359        8.0738        .13487E-03   -1.5113    
  14  Prefactor     18.854        16.041        .92265E-04   -1.4839    
  15  Prefactor     .10000E-03    26.397        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    39.473        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .19455        .27635E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     26.561        15.305        .77698E-04   -1.4677    
  19  norm          6.2404        7.2521        .16072E-03   -1.5208    
  20  Prefactor     .10000E-03    614.69        .18170E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .36361        .26603        .42257E-03   -1.1923    
  22  Prefactor     1.1931        .18112        .16901E-03   -.86544    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.92059e-10
Minuit parameter uncertainties:
  1  2.23543e-05
  2  26.1179
  3  1.60194
  4  10.4949
  5  9.66119e-05
  6  13.368
  7  2.25645e-05
  8  0.510419
  9  1.48165
  10  0.00012517
  11  52.9478
  12  8.69302
  13  8.0748
  14  16.045
  15  2.11502e-05
  16  5.61993e-06
  17  8.50286e-07
  18  15.3072
  19  7.25312
  20  0.00219624
  21  0.266961
  22  0.181213
Done.

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

Extracting fit parameters...

4FGL J0115.8+2519
   Spectrum: PowerLaw
252    Prefactor:  9.289e+00  8.693e+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.193e+00  1.812e-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:  3.636e-01  2.670e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.35
Ra Dec: 18.954 25.332
Photon Index (Fixed Index): 1.92 +/- 0.00
Photon Flux (Fixed Index): 4.85e-08 +/- 4.53e-08
Energy Flux (Fixed Index): 4.14e-05 +/- 3.87e-05

TS (Fixed Index): 2.35
Ra Dec: 18.954 25.332
Photon Flux Upper Limit: 1.40e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.05e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/138124/likelihoodResults_655603201_655862401_4FGL_J0115.8+2519_daily_bin1606.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) = 4160.0699114
delta logL = 0.039965289081

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4160.06928704
delta logL = 0.0405896435968

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.4747       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0800       1.0000          .0000       10.000    
     3 'Normalizat'    .35754       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1951       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=   4160.069     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      285 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.4755        10.083        .13845E-03   -.43791E-03
   2  Index         2.0808        .63756        .45191E-02   -.12981E-03
   3  Normalizat    .35746        .25631        .42598E-03    .53189E-04
   4  Prefactor     1.1951        .18073        .16885E-03    .20786E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.47545
  Index      = 2.08084
  Normalizat = 0.357455
  Prefactor  = 1.1951
 **********
 **   18 **HESSE 
 **********

 FCN=   4160.069     FROM HESSE     STATUS=OK            25 CALLS      310 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.4755        9.2859        .55381E-05   -1.5161    
   2  Index         2.0808        .58733        .18076E-03   -.62344    
   3  Normalizat    .35746        .25608        .17039E-04   -1.1956    
   4  Prefactor     1.1951        .18063        .33769E-04   -.86482    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.43569e-10
Minuit parameter uncertainties:
  1  9.28774
  2  0.589401
  3  0.256923
  4  0.18072
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/138124': 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) = 4160.06928452
delta logL = 0.0405921623096

Extracting fit parameters...

4FGL J0115.8+2519
   Spectrum: PowerLaw
252    Prefactor:  7.475e+00  9.288e+00  1.000e-04  1.000e+04 ( 1.000e-13)
253        Index:  2.081e+00  5.894e-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:  1.195e+00  1.807e-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:  3.575e-01  2.569e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.46
Ra Dec: 18.954 25.332
Photon Index (Free Index): 2.08 +/- 0.59
Photon Flux (Free Index): 5.60e-08 +/- 5.13e-08
Energy Flux (Free Index): 3.21e-05 +/- 3.86e-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/138124/cmap_HighResolution_655603201_655862401_4FGL_J0115.8+2519_daily_bin1606.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.05e-02', comment='SUCCESS', photon_flux='4.85e-08', energy_flux2='3.21e-05', photon_flux_error='4.53e-08', dlogl='4.06e-02', energy_flux='4.14e-05', photon_flux2='5.60e-08', job_status='DONE', time_completed='2021-12-07 12:10:15.621082', photon_index_error2='0.59', photon_index2='2.08', ts='2.35', fit_tolerance='1e-08', GAL='1.19', photon_index_error='0.00', photon_flux_upper_limit='1.40e-07', energy_flux_error2='3.86e-05', EG='0.36', time_epoch_completed='1638907815.62', return_code='0', job_id='138124', GAL2='1.20', EG2='0.36', return_code2='0', energy_flux_error='3.87e-05', photon_flux_error2='5.13e-08', ts2='2.46', photon_index='1.92' WHERE bin_id='1606' AND source_name='4FGL J0115.8+2519' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec  7 12:10:15 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0193>
Subject: Job 138124: <4FGL_J0115.8+2519_daily_bin1606> in cluster <slac> Done

Job <4FGL_J0115.8+2519_daily_bin1606> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Dec  7 12:00:20 2021
Job was executed on host(s) <bullet0193>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec  7 12:01:10 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec  7 12:01:10 2021
Terminated at Tue Dec  7 12:10:17 2021
Results reported at Tue Dec  7 12:10:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0115.8+2519_daily_bin1606 18.9539 25.3324 655603201 655862401 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 :                                   535.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             337.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   545 sec.
    Turnaround time :                            597 sec.

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

