/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 142 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 = 7401
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0114.8+1326_daily_bin19
RA = 18.7119, Dec = 13.4342
tmin = 244252801, tmax = 244512001
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='463414', job_status='RUN', time_executed='2021-08-13 18:43:38.682752', time_epoch_executed='1628905418.68' WHERE source_name='4FGL J0114.8+1326' and cadence='daily' and bin_id='19'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/463414

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/463414/ft1_4FGL_J0114.8+1326_daily_bin19.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/463414/ft2_4FGL_J0114.8+1326_daily_bin19.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/463414/ft1_4FGL_J0114.8+1326_daily_bin19.fits outfile=/scratch/kocevski/463414/ft1_filteredMKT_4FGL_J0114.8+1326_daily_bin19.fits ra=18.7119 dec=13.4342 rad=12.0 tmin=244252801.0 tmax=244512001.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 3.06
user 2.20
sys 0.83

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/463414/ft1_filtered_4FGL_J0114.8+1326_daily_bin19.fits" evtable="EVENTS" scfile=/scratch/kocevski/463414/ft2_4FGL_J0114.8+1326_daily_bin19.fits sctable="SC_DATA" outfile=/scratch/kocevski/463414/ltcube_244252801_244512001_4FGL_J0114.8+1326_daily_bin19.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/463414/ft2_4FGL_J0114.8+1326_daily_bin19.fits
.....................!
real 13.65
user 12.63
sys 0.95

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/463414/ft1_filtered_4FGL_J0114.8+1326_daily_bin19.fits evtable="EVENTS" scfile=/scratch/kocevski/463414/ft2_4FGL_J0114.8+1326_daily_bin19.fits sctable="SC_DATA" expcube=/scratch/kocevski/463414/ltcube_244252801_244512001_4FGL_J0114.8+1326_daily_bin19.fits outfile=/scratch/kocevski/463414/expmap_244252801_244512001_4FGL_J0114.8+1326_daily_bin19.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/463414/ltcube_244252801_244512001_4FGL_J0114.8+1326_daily_bin19.fits
.....................!
real 191.50
user 184.73
sys 6.30

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/463414/ft1_filtered_4FGL_J0114.8+1326_daily_bin19.fits scfile=/scratch/kocevski/463414/ft2_4FGL_J0114.8+1326_daily_bin19.fits outfile=/scratch/kocevski/463414/cmap_244252801_244512001_4FGL_J0114.8+1326_daily_bin19.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 1.09
user 0.36
sys 0.70

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/463414/ft1_filtered_4FGL_J0114.8+1326_daily_bin19.fits scfile=/scratch/kocevski/463414/ft2_4FGL_J0114.8+1326_daily_bin19.fits outfile=/scratch/kocevski/463414/cmap_HighResolution_244252801_244512001_4FGL_J0114.8+1326_daily_bin19.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 1.17
user 0.36
sys 0.79

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/463414/ft1_filtered_4FGL_J0114.8+1326_daily_bin19.fits', '/scratch/kocevski/463414/ft2_4FGL_J0114.8+1326_daily_bin19.fits', expMap='/scratch/kocevski/463414/expmap_244252801_244512001_4FGL_J0114.8+1326_daily_bin19.fits', expCube='/scratch/kocevski/463414/ltcube_244252801_244512001_4FGL_J0114.8+1326_daily_bin19.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/463414/Model_4FGL_J0114.8+1326_daily_bin19.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/463414/ft1_filtered_4FGL_J0114.8+1326_daily_bin19.fits
Spacecraft file(s): /scratch/kocevski/463414/ft2_4FGL_J0114.8+1326_daily_bin19.fits
Exposure map: /scratch/kocevski/463414/expmap_244252801_244512001_4FGL_J0114.8+1326_daily_bin19.fits
Exposure cube: /scratch/kocevski/463414/ltcube_244252801_244512001_4FGL_J0114.8+1326_daily_bin19.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/463414/Model_4FGL_J0114.8+1326_daily_bin19.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) = 8804.26612239

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.8891       1.0000         .10000E-03   10000.    
     2 'Prefactor '    43.818       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.4521       1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.117       1.0000         .10000E-03   10000.    
     7 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.864       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.6755       1.0000         .10000E-03   10000.    
    10 'norm      '    .36585E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.3196       1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.507       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.342       1.0000         .10000E-03   10000.    
    16 'Prefactor '    24.353       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    9.9780       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.8279       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .86338       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0199       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=   8804.251     FROM MIGRAD    STATUS=CONVERGED    468 CALLS     2230 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.8886        4.2332        .17121E-05    .10530E-03
   2  Prefactor     43.805        27.253        .35166E-04   -.58242E-04
   3  Prefactor     .10000E-03    7.2463        .36418E-06** at limit **
   4  norm          .10000E-03    1.5504        .41971E-08** at limit **
   5  Prefactor     2.4514        2.9148       -.53231E-08   -.21772E-03
   6  Prefactor     13.116        9.3919       -.32545E-05   -.12018E-03
   7  norm          .10000E-03    6.4085       -.15318E-06** at limit **
   8  Prefactor     12.844        33.302        .51534E-04   -.11174E-04
   9  Prefactor     7.9419        73.725        .73346E-04    .23447E-03
  10  norm          .17457E-01    .67384       -.21883E-05    .24008E-02
  11  Prefactor     .10000E-03    11.708       -.61260E-06** at limit **
  12  norm          1.3195        .53714        .11892E-06   -.92640E-03
  13  Prefactor     12.506        10.158       -.32181E-05   -.15352E-03
  14  Prefactor     .10000E-03    3.3749        .29522E-07** at limit **
  15  Prefactor     14.341        11.870        .50855E-05   -.11656E-03
  16  Prefactor     24.333        31.817        .29806E-04    .39310E-04
  17  Prefactor     .10000E-03    16.157        .32700E-05** at limit **
  18  norm          9.9774        10.050       -.16503E-07   -.11525E-04
  19  Prefactor     4.8278        4.8954        .15353E-06   -.20454E-03
  20  Normalizat    .86344        .15485       -.10778E-04    .60218E-03
  21  Prefactor     1.0200        .10946       -.14842E-05    .30808E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.88855
  Prefactor  = 43.8049
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.45138
  Prefactor  = 13.1156
  norm       = 0.0001
  Prefactor  = 12.8436
  Prefactor  = 7.9419
  norm       = 0.0174572
  Prefactor  = 0.0001
  norm       = 1.31952
  Prefactor  = 12.5059
  Prefactor  = 0.0001
  Prefactor  = 14.3407
  Prefactor  = 24.3334
  Prefactor  = 0.0001
  norm       = 9.9774
  Prefactor  = 4.82775
  Normalizat = 0.863444
  Prefactor  = 1.01997
 **********
 **   18 **HESSE 
 **********

 FCN=   8804.251     FROM HESSE     STATUS=OK           329 CALLS     2559 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.8886        4.2365        .19654E-03   -1.5314    
   2  Prefactor     43.805        27.166        .60564E-04   -1.4383    
   3  Prefactor     .10000E-03    7.3164        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.5509        .11410E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.4514        2.9086        .16979E-03   -1.5395    
   6  Prefactor     13.116        9.3987        .11060E-03   -1.4983    
   7  norm          .10000E-03    6.4490        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.844        33.225        .11168E-03   -1.4991    
   9  Prefactor     7.9419        80.280        .14474E-03   -1.5144    
  10  norm          .17457E-01    1.6931        .26071E-01   -1.5682    
  11  Prefactor     .10000E-03    11.727        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.3195        .53125        .42171E-04   -1.5478    
  13  Prefactor     12.506        10.163        .11327E-03   -1.5001    
  14  Prefactor     .10000E-03    3.4920        .33657E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.341        11.852        .10576E-03   -1.4950    
  16  Prefactor     24.333        31.802        .81172E-04   -1.4721    
  17  Prefactor     .10000E-03    16.182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          9.9774        10.050        .12685E-03   -1.5076    
  19  Prefactor     4.8278        4.8912        .18309E-03   -1.5268    
  20  Normalizat    .86344        .17887        .28876E-03   -.97757    
  21  Prefactor     1.0200        .12718        .19454E-03   -.92067    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.66736e-09
Minuit parameter uncertainties:
  1  4.23685
  2  27.1733
  3  1.00015e-05
  4  1.33063e-06
  5  2.90875
  6  9.3998
  7  2.32514e-05
  8  33.2731
  9  50.5883
  10  0.342866
  11  2.15554e-05
  12  0.531255
  13  10.1644
  14  7.64228e-06
  15  11.8535
  16  31.8238
  17  3.30943e-05
  18  10.0516
  19  4.89165
  20  0.178997
  21  0.12722
Done.

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

Extracting fit parameters...

4FGL J0114.8+1326
   Spectrum: PowerLaw
263    Prefactor:  1.251e+01  1.016e+01  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:  1.020e+00  1.272e-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:  8.634e-01  1.790e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.13
Ra Dec: 18.712 13.434
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 3.21e-08 +/- 2.61e-08
Energy Flux (Fixed Index): 1.74e-05 +/- 1.41e-05

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

Saving results to:
/scratch/kocevski/463414/likelihoodResults_244252801_244512001_4FGL_J0114.8+1326_daily_bin19.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) = 8804.21155946
delta logL = 0.0397394463707

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8804.20870672
delta logL = 0.0425921872247

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.900       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9355       1.0000          .0000       10.000    
     3 'Normalizat'    .87035       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0172       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=   8804.209     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      277 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.900        11.964        .10743E-03    .30921E-03
   2  Index         1.9359        .57388        .10059E-01    .53712E-04
   3  Normalizat    .87039        .17450        .28771E-03   -.37460E-04
   4  Prefactor     1.0172        .12670        .19478E-03   -.65022E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.9002
  Index      = 1.93589
  Normalizat = 0.870385
  Prefactor  = 1.01717
 **********
 **   18 **HESSE 
 **********

 FCN=   8804.209     FROM HESSE     STATUS=OK            25 CALLS      302 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.900        11.782        .42973E-05   -1.4962    
   2  Index         1.9359        .56483        .40237E-03   -.65963    
   3  Normalizat    .87039        .17453        .11508E-04   -.97509    
   4  Prefactor     1.0172        .12677        .77910E-05   -.92159    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12726e-10
Minuit parameter uncertainties:
  1  11.7836
  2  0.566767
  3  0.174639
  4  0.126808
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/463414': 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) = 8804.20870649
delta logL = 0.0425924219307

Extracting fit parameters...

4FGL J0114.8+1326
   Spectrum: PowerLaw
263    Prefactor:  1.390e+01  1.178e+01  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  1.936e+00  5.668e-01  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:  1.017e+00  1.268e-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:  8.704e-01  1.746e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.21
Ra Dec: 18.712 13.434
Photon Index (Free Index): 1.94 +/- 0.57
Photon Flux (Free Index): 2.67e-08 +/- 2.89e-08
Energy Flux (Free Index): 2.17e-05 +/- 2.48e-05

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/463414/cmap_HighResolution_244252801_244512001_4FGL_J0114.8+1326_daily_bin19.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.85e-03', comment='SUCCESS', photon_flux='3.21e-08', energy_flux2='2.17e-05', photon_flux_error='2.61e-08', dlogl='4.26e-02', energy_flux='1.74e-05', photon_flux2='2.67e-08', job_status='DONE', time_completed='2021-08-13 18:56:10.282367', photon_index_error2='0.57', photon_index2='1.94', ts='3.13', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='9.06e-08', energy_flux_error2='2.48e-05', EG='0.86', time_epoch_completed='1628906170.28', return_code='0', job_id='463414', GAL2='1.02', EG2='0.87', return_code2='0', energy_flux_error='1.41e-05', photon_flux_error2='2.89e-08', ts2='3.21', photon_index='2.11' WHERE bin_id='19' AND source_name='4FGL J0114.8+1326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 18:56:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0282>
Subject: Job 463414: <4FGL_J0114.8+1326_daily_bin19> in cluster <slac> Done

Job <4FGL_J0114.8+1326_daily_bin19> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Aug 13 18:40:22 2021
Job was executed on host(s) <bullet0282>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 18:40:56 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 18:40:56 2021
Terminated at Fri Aug 13 18:56:11 2021
Results reported at Fri Aug 13 18:56:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0114.8+1326_daily_bin19 18.7119 13.4342 244252801 244512001 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 :                                   759.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             293.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   916 sec.
    Turnaround time :                            949 sec.

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

