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


Performing analysis on: 4FGL_J0115.8+2519_daily_bin1462
RA = 18.9539, Dec = 25.3324
tmin = 618278401, tmax = 618537601
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='504136', job_status='RUN', time_executed='2021-08-13 20:56:20.447879', time_epoch_executed='1628913380.45' WHERE source_name='4FGL J0115.8+2519' and cadence='daily' and bin_id='1462'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/504136

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/504136/ft1_4FGL_J0115.8+2519_daily_bin1462.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/504136/ft2_4FGL_J0115.8+2519_daily_bin1462.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/504136/ft1_4FGL_J0115.8+2519_daily_bin1462.fits outfile=/scratch/kocevski/504136/ft1_filteredMKT_4FGL_J0115.8+2519_daily_bin1462.fits ra=18.9539 dec=25.3324 rad=12.0 tmin=618278401.0 tmax=618537601.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 6.15
user 3.50
sys 2.58

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/504136/ft1_filtered_4FGL_J0115.8+2519_daily_bin1462.fits" evtable="EVENTS" scfile=/scratch/kocevski/504136/ft2_4FGL_J0115.8+2519_daily_bin1462.fits sctable="SC_DATA" outfile=/scratch/kocevski/504136/ltcube_618278401_618537601_4FGL_J0115.8+2519_daily_bin1462.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/504136/ft2_4FGL_J0115.8+2519_daily_bin1462.fits
.....................!
real 14.65
user 11.50
sys 3.00

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/504136/ft1_filtered_4FGL_J0115.8+2519_daily_bin1462.fits evtable="EVENTS" scfile=/scratch/kocevski/504136/ft2_4FGL_J0115.8+2519_daily_bin1462.fits sctable="SC_DATA" expcube=/scratch/kocevski/504136/ltcube_618278401_618537601_4FGL_J0115.8+2519_daily_bin1462.fits outfile=/scratch/kocevski/504136/expmap_618278401_618537601_4FGL_J0115.8+2519_daily_bin1462.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/504136/ltcube_618278401_618537601_4FGL_J0115.8+2519_daily_bin1462.fits
.....................!
real 196.03
user 187.01
sys 8.23

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/504136/ft1_filtered_4FGL_J0115.8+2519_daily_bin1462.fits scfile=/scratch/kocevski/504136/ft2_4FGL_J0115.8+2519_daily_bin1462.fits outfile=/scratch/kocevski/504136/cmap_618278401_618537601_4FGL_J0115.8+2519_daily_bin1462.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 2.88
user 0.36
sys 2.48

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/504136/ft1_filtered_4FGL_J0115.8+2519_daily_bin1462.fits scfile=/scratch/kocevski/504136/ft2_4FGL_J0115.8+2519_daily_bin1462.fits outfile=/scratch/kocevski/504136/cmap_HighResolution_618278401_618537601_4FGL_J0115.8+2519_daily_bin1462.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 2.92
user 0.37
sys 2.48

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    125.33       1.0000         .10000E-03   10000.    
     3 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    12.365       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.414       1.0000         .10000E-03   10000.    
     8 'norm      '    2.7413       1.0000         .10000E-03   10000.    
     9 'norm      '    1.1587       1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.776       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.4994       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .21979E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    19.416       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    31.514       1.0000         .10000E-03   10000.    
    17 'norm      '    .58569       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .13685E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    102.83       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .73798       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2807       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=   7549.979     FROM MIGRAD    STATUS=CONVERGED    480 CALLS     2398 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    26.807        .18559E-06** at limit **
   2  Prefactor     125.32        48.621       -.56380E-07    .16767E-04
   3  norm          .10000E-03    1.6133        .53174E-06** at limit **
   4  norm          12.368        9.1264        .86933E-07    .62579E-04
   5  Prefactor     .10000E-03    11.095        .44516E-06** at limit **
   6  Prefactor     .10000E-03    7.2918        .32334E-06** at limit **
   7  Prefactor     12.414        14.453       -.41904E-06   -.50497E-04
   8  norm          2.7412        .86538       -.18544E-07    .45623E-03
   9  norm          1.1589        1.0318        .64911E-08    .14403E-03
  10  Prefactor     13.772        16.573       -.80583E-07    .75837E-05
  11  Prefactor     2.4963        53.210        .19306E-06    .70345E-04
  12  Prefactor     .10003E-03    5.2025       -.20981E-05** at limit **
  13  Prefactor     .10000E-03    3.6765        .21046E-07** at limit **
  14  Prefactor     19.416        12.822       -.21677E-07    .21544E-03
  15  Prefactor     .10000E-03    22.180       -.35945E-06** at limit **
  16  Prefactor     31.414        66.235        .20692E-05    .29185E-04
  17  norm          .58520        .48157       -.41356E-06   -.32425E-02
  18  Prefactor     .10001E-03    4.6365       -.49516E-06** at limit **
  19  norm          .10000E-03    1.1689       -.35386E-08** at limit **
  20  Prefactor     102.67        135.57        .19712E-06    .56756E-05
  21  Normalizat    .73831        .20797       -.98731E-06    .22823E-03
  22  Prefactor     1.2806        .13839        .10871E-05    .46898E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 125.324
  norm       = 0.0001
  norm       = 12.368
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.4142
  norm       = 2.74124
  norm       = 1.15885
  Prefactor  = 13.7723
  Prefactor  = 2.49627
  Prefactor  = 0.000100027
  Prefactor  = 0.0001
  Prefactor  = 19.4157
  Prefactor  = 0.0001
  Prefactor  = 31.4144
  norm       = 0.585203
  Prefactor  = 0.000100015
  norm       = 0.0001
  Prefactor  = 102.667
  Normalizat = 0.738309
  Prefactor  = 1.28057
 **********
 **   18 **HESSE 
 **********

 FCN=   7549.979     FROM HESSE     STATUS=OK           346 CALLS     2744 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    26.843        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     125.32        48.609        .35956E-04   -1.3464    
   3  norm          .10000E-03    2.6284        .20589E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          12.368        9.1210        .11392E-03   -1.5004    
   5  Prefactor     .10000E-03    11.193        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.3339        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     12.414        14.464        .56847E-03   -1.5003    
   8  norm          2.7412        .86363        .42988E-04   -1.5377    
   9  norm          1.1589        1.0343        .79869E-04   -1.5493    
  10  Prefactor     13.772        16.568        .10792E-03   -1.4966    
  11  Prefactor     2.4963        51.523        .25850E-03   -1.5392    
  12  Prefactor     .10003E-03    10.644        .28015E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.7149        .16256E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     19.416        12.782        .90897E-04   -1.4826    
  15  Prefactor     .10000E-03    22.272        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     31.414        66.505        .71375E-04   -1.4586    
  17  norm          .58520        .50394        .55811E-03   -1.5555    
  18  Prefactor     .10001E-03    41.520        .35369E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.1699        .91745E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     102.67        135.55        .19826E-03   -1.3678    
  21  Normalizat    .73831        .22782        .36010E-03   -1.0240    
  22  Prefactor     1.2806        .15276        .19237E-03   -.83886    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.47144e-09
Minuit parameter uncertainties:
  1  3.71866e-05
  2  48.6247
  3  2.97719e-05
  4  9.12203
  5  4.94008e-05
  6  2.35178e-05
  7  14.4678
  8  0.863635
  9  1.03431
  10  16.574
  11  22.7037
  12  0.00106241
  13  1.28517e-06
  14  12.7837
  15  6.44719e-05
  16  66.6623
  17  0.503948
  18  0.00157025
  19  1.46584e-07
  20  135.962
  21  0.228114
  22  0.152811
Done.

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

Extracting fit parameters...

4FGL J0115.8+2519
   Spectrum: PowerLaw
252    Prefactor:  1.000e-04  1.062e-03  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.281e+00  1.528e-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:  7.383e-01  2.281e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/504136/likelihoodResults_618278401_618537601_4FGL_J0115.8+2519_daily_bin1462.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): 102
logL (Free Index) = 7549.97942609
delta logL = -0.000444386548224

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7549.97898248
delta logL = -7.80713889981e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11508E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8720       1.0000          .0000       10.000    
     3 'Normalizat'    .73812       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2807       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=   7549.979     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      230 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .72854E-01    .52525E-01** at limit **
   2  Index         1.8357        5.9154        .50000        .16632E-04
   3  Normalizat    .73831        .77821E-03    .81327E-01   -.35923E-03
   4  Prefactor     1.2806        .53487E-03    .32954E-01   -.74501E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.83567
  Normalizat = 0.738308
  Prefactor  = 1.28057
 **********
 **   18 **HESSE 
 **********

 FCN=   7549.979     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      263 TOTAL
                     EDM=   .93E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    21.426        .28993E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8357        5.8147        .50000       -.68525    
   3  Normalizat    .73831        .65706E-02    .36010E-03   -1.0240    
   4  Prefactor     1.2806        .45271E-02    .19237E-03   -.83887    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.2853e-08
Minuit parameter uncertainties:
  1  6.30463e-05
  2  71.5275
  3  0.00657061
  4  0.00452715
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/504136': 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): 102
logL (Free Index) = 7549.97898116
delta logL = 5.38452695764e-07

Extracting fit parameters...

4FGL J0115.8+2519
   Spectrum: PowerLaw
252    Prefactor:  1.000e-04  6.305e-05  1.000e-04  1.000e+04 ( 1.000e-13)
253        Index:  1.836e+00  7.153e+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.281e+00  4.527e-03  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:  7.383e-01  6.571e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/504136/cmap_HighResolution_618278401_618537601_4FGL_J0115.8+2519_daily_bin1462.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.02e-03', job_status='DONE', photon_flux_upper_limit='5.40e-08', time_completed='2021-08-13 21:08:52.646632', job_id='504136', GAL2='1.28', fit_tolerance='1e-08', EG2='0.74', EG='0.74', time_epoch_completed='1628914132.65', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.28', dlogl='5.38e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.92' WHERE bin_id='1462' AND source_name='4FGL J0115.8+2519' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 21:08:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0295>
Subject: Job 504136: <4FGL_J0115.8+2519_daily_bin1462> in cluster <slac> Done

Job <4FGL_J0115.8+2519_daily_bin1462> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Aug 13 20:55:25 2021
Job was executed on host(s) <bullet0295>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 20:55:34 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:55:34 2021
Terminated at Fri Aug 13 21:08:53 2021
Results reported at Fri Aug 13 21:08:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0115.8+2519_daily_bin1462 18.9539 25.3324 618278401 618537601 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 :                                   785.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             343.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   799 sec.
    Turnaround time :                            808 sec.

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

