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


Performing analysis on: 4FGL_J0114.8+1326_daily_bin1010
RA = 18.7119, Dec = 13.4342
tmin = 501120001, tmax = 501379201
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='472973', job_status='RUN', time_executed='2021-08-13 19:20:44.651769', time_epoch_executed='1628907644.65' WHERE source_name='4FGL J0114.8+1326' and cadence='daily' and bin_id='1010'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/472973

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/472973/ft1_4FGL_J0114.8+1326_daily_bin1010.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/472973/ft2_4FGL_J0114.8+1326_daily_bin1010.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/472973/ft1_4FGL_J0114.8+1326_daily_bin1010.fits outfile=/scratch/kocevski/472973/ft1_filteredMKT_4FGL_J0114.8+1326_daily_bin1010.fits ra=18.7119 dec=13.4342 rad=12.0 tmin=501120001.0 tmax=501379201.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.45
user 3.28
sys 4.09

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/472973/ft2_4FGL_J0114.8+1326_daily_bin1010.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/472973/ft2_4FGL_J0114.8+1326_daily_bin1010.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/472973/ft1_filteredMKT_4FGL_J0114.8+1326_daily_bin1010.fits evtable="EVENTS" outfile="/scratch/kocevski/472973/ft1_filtered_4FGL_J0114.8+1326_daily_bin1010.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.51
user 0.33
sys 4.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/472973/ft1_filtered_4FGL_J0114.8+1326_daily_bin1010.fits" evtable="EVENTS" scfile=/scratch/kocevski/472973/ft2_4FGL_J0114.8+1326_daily_bin1010.fits sctable="SC_DATA" outfile=/scratch/kocevski/472973/ltcube_501120001_501379201_4FGL_J0114.8+1326_daily_bin1010.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/472973/ft2_4FGL_J0114.8+1326_daily_bin1010.fits
.....................!
real 17.28
user 12.41
sys 4.81

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/472973/ft1_filtered_4FGL_J0114.8+1326_daily_bin1010.fits evtable="EVENTS" scfile=/scratch/kocevski/472973/ft2_4FGL_J0114.8+1326_daily_bin1010.fits sctable="SC_DATA" expcube=/scratch/kocevski/472973/ltcube_501120001_501379201_4FGL_J0114.8+1326_daily_bin1010.fits outfile=/scratch/kocevski/472973/expmap_501120001_501379201_4FGL_J0114.8+1326_daily_bin1010.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/472973/ltcube_501120001_501379201_4FGL_J0114.8+1326_daily_bin1010.fits
.....................!
real 195.56
user 185.31
sys 9.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 J0114.8+1326 @ 18.7119 13.4342

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/472973/ft1_filtered_4FGL_J0114.8+1326_daily_bin1010.fits scfile=/scratch/kocevski/472973/ft2_4FGL_J0114.8+1326_daily_bin1010.fits outfile=/scratch/kocevski/472973/cmap_501120001_501379201_4FGL_J0114.8+1326_daily_bin1010.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.7119 yref=13.4342 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.38
sys 4.07

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/472973/ft1_filtered_4FGL_J0114.8+1326_daily_bin1010.fits scfile=/scratch/kocevski/472973/ft2_4FGL_J0114.8+1326_daily_bin1010.fits outfile=/scratch/kocevski/472973/cmap_HighResolution_501120001_501379201_4FGL_J0114.8+1326_daily_bin1010.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.7119 yref=13.4342 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.47
user 0.38
sys 4.06

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/472973/ft1_filtered_4FGL_J0114.8+1326_daily_bin1010.fits evtable="EVENTS" scfile=/scratch/kocevski/472973/ft2_4FGL_J0114.8+1326_daily_bin1010.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/472973/Model_4FGL_J0114.8+1326_daily_bin1010.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/472973/ft1_filtered_4FGL_J0114.8+1326_daily_bin1010.fits.....................!
real 73.60
user 67.56
sys 5.86

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/472973/ft1_filtered_4FGL_J0114.8+1326_daily_bin1010.fits', '/scratch/kocevski/472973/ft2_4FGL_J0114.8+1326_daily_bin1010.fits', expMap='/scratch/kocevski/472973/expmap_501120001_501379201_4FGL_J0114.8+1326_daily_bin1010.fits', expCube='/scratch/kocevski/472973/ltcube_501120001_501379201_4FGL_J0114.8+1326_daily_bin1010.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/472973/Model_4FGL_J0114.8+1326_daily_bin1010.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0114.8+1326'

4FGL J0114.8+1326
   Spectrum: PowerLaw
263    Prefactor:  5.554e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  2.106e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
265        Scale:  1.461e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/472973/ft1_filtered_4FGL_J0114.8+1326_daily_bin1010.fits
Spacecraft file(s): /scratch/kocevski/472973/ft2_4FGL_J0114.8+1326_daily_bin1010.fits
Exposure map: /scratch/kocevski/472973/expmap_501120001_501379201_4FGL_J0114.8+1326_daily_bin1010.fits
Exposure cube: /scratch/kocevski/472973/ltcube_501120001_501379201_4FGL_J0114.8+1326_daily_bin1010.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/472973/Model_4FGL_J0114.8+1326_daily_bin1010.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) = 6206.02361827

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10340E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    54.818       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10182E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .17464E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.4134       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.4864       1.0000         .10000E-03   10000.    
     7 'norm      '    .10125E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .29547E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .21536E-02   1.0000         .10000E-03   10000.    
    10 'norm      '    10.602       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10138E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .93176       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10219E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10303E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.7708       1.0000         .10000E-03   10000.    
    16 'Prefactor '    17.363       1.0000         .10000E-03   10000.    
    17 'Prefactor '    41.589       1.0000         .10000E-03   10000.    
    18 'norm      '    5.7994       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.3464       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1004       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .80514       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6206.014     FROM MIGRAD    STATUS=CONVERGED    456 CALLS     2198 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.1916       -.10701E-08** at limit **
   2  Prefactor     54.848        32.129        .51469E-05   -.20942E-04
   3  Prefactor     .10000E-03    4.3203       -.14505E-07** at limit **
   4  norm          .10000E-03    5.7796       -.21411E-06** at limit **
   5  Prefactor     2.4010        5.4933       -.19137E-06   -.53785E-03
   6  Prefactor     3.5292        12.081        .53510E-05   -.12739E-03
   7  norm          .10000E-03    19.503        .20917E-05** at limit **
   8  Prefactor     .10000E-03    21.936       -.97248E-05** at limit **
   9  Prefactor     .10000E-03    188.36        .44423E-04** at limit **
  10  norm          10.600        3.0832       -.15459E-06   -.86869E-03
  11  Prefactor     .10000E-03    10.140        .17182E-06** at limit **
  12  norm          .93258        .58259        .62296E-07   -.52652E-03
  13  Prefactor     .10000E-03    3.4477        .70201E-07** at limit **
  14  Prefactor     .10000E-03    3.7810        .47179E-07** at limit **
  15  Prefactor     8.6405        13.336       -.23597E-05   -.10193E-03
  16  Prefactor     17.402        45.678        .43012E-04   -.10417E-04
  17  Prefactor     41.628        42.934        .28121E-04   -.95456E-05
  18  norm          5.7848        10.365       -.18780E-05   -.12904E-02
  19  Prefactor     7.3567        5.9091        .78921E-06   -.35033E-04
  20  Normalizat    1.1005        .19106       -.14804E-05   -.17206E-03
  21  Prefactor     .80519        .13180       -.29530E-05   -.35859E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 54.8482
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.40104
  Prefactor  = 3.52919
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.6001
  Prefactor  = 0.0001
  norm       = 0.932575
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.64046
  Prefactor  = 17.4025
  Prefactor  = 41.6277
  norm       = 5.78482
  Prefactor  = 7.35667
  Normalizat = 1.10048
  Prefactor  = 0.805194
 **********
 **   18 **HESSE 
 **********

 FCN=   6206.014     FROM HESSE     STATUS=OK           317 CALLS     2515 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.1992        .15752E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     54.848        32.127        .54176E-04   -1.4225    
   3  Prefactor     .10000E-03    4.3232        .15991E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    5.8453        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.4010        5.4754        .26351E-03   -1.5398    
   6  Prefactor     3.5292        12.035        .21655E-03   -1.5332    
   7  norm          .10000E-03    19.784        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    21.933        .21396E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    189.37        .20161E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          10.600        3.0916        .71732E-04   -1.5057    
  11  Prefactor     .10000E-03    10.143        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .93258        .57887        .45625E-04   -1.5515    
  13  Prefactor     .10000E-03    3.4517        .14285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.8316        .14955E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.6405        13.314        .13535E-03   -1.5120    
  16  Prefactor     17.402        45.468        .96118E-04   -1.4873    
  17  Prefactor     41.628        42.779        .62160E-04   -1.4417    
  18  norm          5.7848        10.472        .83387E-03   -1.5227    
  19  Prefactor     7.3567        5.9087        .14798E-03   -1.5165    
  20  Normalizat    1.1005        .22828        .26750E-03   -.89737    
  21  Prefactor     .80519        .15718        .21139E-03   -.99537    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.85763e-09
Minuit parameter uncertainties:
  1  2.92416e-06
  2  32.1374
  3  7.88567e-06
  4  3.81059e-05
  5  5.47655
  6  12.0428
  7  8.29945e-05
  8  5.12455e-05
  9  6.5255e-05
  10  3.0916
  11  4.24996e-06
  12  0.578878
  13  8.55458e-06
  14  1.02872e-05
  15  13.3187
  16  45.5587
  17  42.8109
  18  10.475
  19  5.90912
  20  0.228482
  21  0.157265
Done.

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

Extracting fit parameters...

4FGL J0114.8+1326
   Spectrum: PowerLaw
263    Prefactor:  1.000e-04  8.555e-06  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  2.106e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
265        Scale:  1.461e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  8.052e-01  1.573e-01  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  1.100e+00  2.285e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 18.712 13.434
Photon Flux Upper Limit: 4.63e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.50e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/472973/likelihoodResults_501120001_501379201_4FGL_J0114.8+1326_daily_bin1010.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) = 6206.01542274
delta logL = -0.00137258325594

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6206.01405
delta logL = 1.54112967721e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0880       1.0000          .0000       10.000    
     3 'Normalizat'    1.1005       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80521       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+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=   6206.014     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      241 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10107E-03    42.186        .14475E-02** at limit **
   2  Index         2.0362        8.1799        .50000        .35697E-04
   3  Normalizat    1.1005        .16702E-01    .26750E-03    .50702E-04
   4  Prefactor     .80519        .11534E-01    .21139E-03    .35925E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101074
  Index      = 2.03618
  Normalizat = 1.10048
  Prefactor  = 0.805192
 **********
 **   18 **HESSE 
 **********

 FCN=   6206.014     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      270 TOTAL
                     EDM=   .44E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10107E-03    175.13        .28951E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0362        6.3961        .50000       -.63449    
   3  Normalizat    1.1005        .35622E-01    .10700E-04   -.89736    
   4  Prefactor     .80519        .24599E-01    .84557E-05   -.99537    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.40298e-08
Minuit parameter uncertainties:
  1  0.0275149
  2  440.085
  3  0.0356232
  4  0.0245995
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/472973': 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) = 6206.01404961
delta logL = 5.42556335859e-07

Extracting fit parameters...

4FGL J0114.8+1326
   Spectrum: PowerLaw
263    Prefactor:  1.011e-04  2.751e-02  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  2.036e+00  4.401e+02  0.000e+00  1.000e+01 (-1.000e+00)
265        Scale:  1.461e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  8.052e-01  2.460e-02  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  1.100e+00  3.562e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 18.712 13.434

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/472973/cmap_HighResolution_501120001_501379201_4FGL_J0114.8+1326_daily_bin1010.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.50e-03', job_status='DONE', photon_flux_upper_limit='4.63e-08', time_completed='2021-08-13 19:31:54.714227', job_id='472973', GAL2='0.81', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1628908314.71', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='5.43e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1010' AND source_name='4FGL J0114.8+1326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 19:31:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0122>
Subject: Job 472973: <4FGL_J0114.8+1326_daily_bin1010> in cluster <slac> Done

Job <4FGL_J0114.8+1326_daily_bin1010> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Fri Aug 13 19:15:34 2021
Job was executed on host(s) <bullet0122>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 19:16:38 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 19:16:38 2021
Terminated at Fri Aug 13 19:31:55 2021
Results reported at Fri Aug 13 19:31:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0114.8+1326_daily_bin1010 18.7119 13.4342 501120001 501379201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0114.8+1326 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   730.11 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             292.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   918 sec.
    Turnaround time :                            981 sec.

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

