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


Performing analysis on: 4FGL_J0115.8+2519_daily_bin1589
RA = 18.9539, Dec = 25.3324
tmin = 651196801, tmax = 651456001
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='880335', job_status='RUN', time_executed='2021-08-24 00:02:10.227274', time_epoch_executed='1629788530.23' WHERE source_name='4FGL J0115.8+2519' and cadence='daily' and bin_id='1589'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/880335

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/880335/ft1_4FGL_J0115.8+2519_daily_bin1589.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/880335/ft2_4FGL_J0115.8+2519_daily_bin1589.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/880335/ft1_4FGL_J0115.8+2519_daily_bin1589.fits outfile=/scratch/kocevski/880335/ft1_filteredMKT_4FGL_J0115.8+2519_daily_bin1589.fits ra=18.9539 dec=25.3324 rad=12.0 tmin=651196801.0 tmax=651456001.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 8.57
user 3.38
sys 5.11

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/880335/ft2_4FGL_J0115.8+2519_daily_bin1589.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/880335/ft1_filteredMKT_4FGL_J0115.8+2519_daily_bin1589.fits evtable="EVENTS" outfile="/scratch/kocevski/880335/ft1_filtered_4FGL_J0115.8+2519_daily_bin1589.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 5.38
user 0.34
sys 5.01

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/880335/ft1_filtered_4FGL_J0115.8+2519_daily_bin1589.fits" evtable="EVENTS" scfile=/scratch/kocevski/880335/ft2_4FGL_J0115.8+2519_daily_bin1589.fits sctable="SC_DATA" outfile=/scratch/kocevski/880335/ltcube_651196801_651456001_4FGL_J0115.8+2519_daily_bin1589.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/880335/ft2_4FGL_J0115.8+2519_daily_bin1589.fits
.....................!
real 19.65
user 13.72
sys 5.84

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/880335/ft1_filtered_4FGL_J0115.8+2519_daily_bin1589.fits evtable="EVENTS" scfile=/scratch/kocevski/880335/ft2_4FGL_J0115.8+2519_daily_bin1589.fits sctable="SC_DATA" expcube=/scratch/kocevski/880335/ltcube_651196801_651456001_4FGL_J0115.8+2519_daily_bin1589.fits outfile=/scratch/kocevski/880335/expmap_651196801_651456001_4FGL_J0115.8+2519_daily_bin1589.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/880335/ltcube_651196801_651456001_4FGL_J0115.8+2519_daily_bin1589.fits
.....................!
real 198.20
user 186.68
sys 10.81

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/880335/ft1_filtered_4FGL_J0115.8+2519_daily_bin1589.fits scfile=/scratch/kocevski/880335/ft2_4FGL_J0115.8+2519_daily_bin1589.fits outfile=/scratch/kocevski/880335/cmap_651196801_651456001_4FGL_J0115.8+2519_daily_bin1589.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 5.64
user 0.39
sys 4.92

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/880335/ft1_filtered_4FGL_J0115.8+2519_daily_bin1589.fits scfile=/scratch/kocevski/880335/ft2_4FGL_J0115.8+2519_daily_bin1589.fits outfile=/scratch/kocevski/880335/cmap_HighResolution_651196801_651456001_4FGL_J0115.8+2519_daily_bin1589.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 5.36
user 0.40
sys 4.90

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.1057       1.0000         .10000E-03   10000.    
     3 'norm      '    4.4533       1.0000         .10000E-03   10000.    
     4 'norm      '    11.125       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.408       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.9076       1.0000         .10000E-03   10000.    
     9 'norm      '    2.7944       1.0000         .10000E-03   10000.    
    10 'Prefactor '    37.880       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.4455       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .88722       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.9655       1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.4145       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    61.453       1.0000         .10000E-03   10000.    
    17 'norm      '    1.9309       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    2.6546       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10514E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0121       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .99515       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=   8136.147     FROM MIGRAD    STATUS=CONVERGED    485 CALLS     2387 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    19.970       -.19364E-06** at limit **
   2  Prefactor     9.0316        28.576        .78774E-05    .32969E-03
   3  norm          4.4533        2.4328        .21104E-07   -.16669E-05
   4  norm          11.126        9.0091        .47096E-07    .12864E-04
   5  Prefactor     .10000E-03    4.4381        .69385E-07** at limit **
   6  Prefactor     10.408        12.457        .66034E-06    .99480E-04
   7  Prefactor     .10000E-03    21.279       -.25805E-06** at limit **
   8  norm          1.9075        .67327       -.12413E-07   -.38209E-03
   9  norm          2.7943        1.4154       -.17200E-06   -.22009E-03
  10  Prefactor     37.881        21.507       -.63262E-07   -.12015E-03
  11  Prefactor     9.4447        25.679       -.17085E-05   -.63850E-04
  12  Prefactor     .88289        4.8732        .24871E-05   -.29256E-03
  13  Prefactor     7.9664        6.9439        .25072E-05   -.94225E-03
  14  Prefactor     7.4152        10.234        .12188E-06   -.53957E-04
  15  Prefactor     .10000E-03    59.453        .76509E-07** at limit **
  16  Prefactor     61.449        51.289       -.44786E-06   -.59681E-04
  17  norm          1.9308        .66127        .12572E-07   -.19550E-04
  18  Prefactor     .10000E-03    2.9431        .47643E-07** at limit **
  19  norm          2.6543        3.4040        .19701E-06   -.62682E-04
  20  Prefactor     .10006E-03    257.69       -.10433E-04** at limit **
  21  Normalizat    1.0119        .19112       -.23792E-05    .64452E-04
  22  Prefactor     .99536        .11959        .44044E-06   -.12683E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 9.03161
  norm       = 4.45326
  norm       = 11.126
  Prefactor  = 0.0001
  Prefactor  = 10.4082
  Prefactor  = 0.0001
  norm       = 1.90753
  norm       = 2.79431
  Prefactor  = 37.8812
  Prefactor  = 9.44467
  Prefactor  = 0.88289
  Prefactor  = 7.9664
  Prefactor  = 7.41518
  Prefactor  = 0.0001
  Prefactor  = 61.4494
  norm       = 1.93084
  Prefactor  = 0.0001
  norm       = 2.65433
  Prefactor  = 0.000100059
  Normalizat = 1.01185
  Prefactor  = 0.995359
 **********
 **   18 **HESSE 
 **********

 FCN=   8136.147     FROM HESSE     STATUS=OK           342 CALLS     2729 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    19.983        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.0316        30.356        .13282E-03   -1.5107    
   3  norm          4.4533        2.4326        .10083E-03   -1.5286    
   4  norm          11.126        9.0063        .12012E-03   -1.5041    
   5  Prefactor     .10000E-03    4.4466        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.408        12.462        .12420E-03   -1.5063    
   7  Prefactor     .10000E-03    21.335        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.9075        .67302        .42017E-04   -1.5432    
   9  norm          2.7943        1.4118        .70947E-04   -1.5374    
  10  Prefactor     37.881        21.552        .65120E-04   -1.4476    
  11  Prefactor     9.4447        25.429        .13040E-03   -1.5093    
  12  Prefactor     .88289        4.9096        .37101E-03   -1.5520    
  13  Prefactor     7.9664        7.1416        .71033E-03   -1.5143    
  14  Prefactor     7.4152        10.204        .14729E-03   -1.5163    
  15  Prefactor     .10000E-03    60.067        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     61.449        51.317        .51185E-04   -1.4139    
  17  norm          1.9308        .66038        .41046E-04   -1.5430    
  18  Prefactor     .10000E-03    2.9525        .15112E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.6543        3.3906        .18339E-03   -1.5382    
  20  Prefactor     .10006E-03    265.12        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0119        .22122        .30862E-03   -.92634    
  22  Prefactor     .99536        .13986        .20484E-03   -.92884    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.07451e-09
Minuit parameter uncertainties:
  1  4.83829e-05
  2  30.408
  3  2.43264
  4  9.00742
  5  5.35325e-06
  6  12.4654
  7  3.86051e-05
  8  0.673022
  9  1.41182
  10  21.5561
  11  25.4584
  12  4.16427
  13  7.14239
  14  10.2063
  15  7.18223e-05
  16  51.3543
  17  0.660378
  18  7.05878e-06
  19  3.39089
  20  0.00792147
  21  0.221422
  22  0.139914
Done.

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

Extracting fit parameters...

4FGL J0115.8+2519
   Spectrum: PowerLaw
252    Prefactor:  8.829e-01  4.164e+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.954e-01  1.399e-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.012e+00  2.214e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/880335/likelihoodResults_651196801_651456001_4FGL_J0115.8+2519_daily_bin1589.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) = 8136.09682172
delta logL = 0.0498573761424

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8136.09668791
delta logL = 0.0499911856141

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .84939       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3435       1.0000          .0000       10.000    
     3 'Normalizat'    1.0079       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99492       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=   8136.097     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      212 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .84950        37.946        .12623E-01    .11015E-02
   2  Index         2.3437        1.9397        .24127        .56916E-04
   3  Normalizat    1.0079        .24193E-01    .69874E-01    .42782E-04
   4  Prefactor     .99492        .15933E-01    .46204E-01    .38638E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.849497
  Index      = 2.34372
  Normalizat = 1.00791
  Prefactor  = 0.994917
 **********
 **   18 **HESSE 
 **********

 FCN=   8136.097     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .84950        3.3432        .21778E-03   -1.5524    
   2  Index         2.3437        1.4427        .84010E-02   -.56008    
   3  Normalizat    1.0079        .20866        .30911E-03   -.92766    
   4  Prefactor     .99492        .13821        .20485E-03   -.92899    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.86593e-10
Minuit parameter uncertainties:
  1  3.34389
  2  1.47215
  3  0.208833
  4  0.138255
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/880335': 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) = 8136.09668787
delta logL = 0.0499912254245

Extracting fit parameters...

4FGL J0115.8+2519
   Spectrum: PowerLaw
252    Prefactor:  8.495e-01  3.344e+00  1.000e-04  1.000e+04 ( 1.000e-13)
253        Index:  2.344e+00  1.472e+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:  9.949e-01  1.383e-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.008e+00  2.088e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.05
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/880335/cmap_HighResolution_651196801_651456001_4FGL_J0115.8+2519_daily_bin1589.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.75e-03', job_status='DONE', photon_flux_upper_limit='6.37e-08', time_completed='2021-08-24 00:15:41.490550', job_id='880335', GAL2='0.99', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1629789341.49', return_code2='0', ts='0.05', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='5.00e-02', ts2='0.15', photon_index_error='0.00', photon_index='1.92' WHERE bin_id='1589' AND source_name='4FGL J0115.8+2519' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 00:15:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0288>
Subject: Job 880335: <4FGL_J0115.8+2519_daily_bin1589> in cluster <slac> Done

Job <4FGL_J0115.8+2519_daily_bin1589> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Aug 24 00:00:37 2021
Job was executed on host(s) <bullet0288>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 24 00:00:38 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 24 00:00:38 2021
Terminated at Tue Aug 24 00:15:43 2021
Results reported at Tue Aug 24 00:15:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0115.8+2519_daily_bin1589 18.9539 25.3324 651196801 651456001 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 :                                   890.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             312.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   904 sec.
    Turnaround time :                            906 sec.

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

