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


Performing analysis on: 4FGL_J0114.8+1326_daily_bin33
RA = 18.7119, Dec = 13.4342
tmin = 247881601, tmax = 248140801
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='463433', job_status='RUN', time_executed='2021-08-13 18:45:17.734929', time_epoch_executed='1628905517.73' WHERE source_name='4FGL J0114.8+1326' and cadence='daily' and bin_id='33'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/463433

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/463433/ft1_4FGL_J0114.8+1326_daily_bin33.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/463433/ft2_4FGL_J0114.8+1326_daily_bin33.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/463433/ft1_4FGL_J0114.8+1326_daily_bin33.fits outfile=/scratch/kocevski/463433/ft1_filteredMKT_4FGL_J0114.8+1326_daily_bin33.fits ra=18.7119 dec=13.4342 rad=12.0 tmin=247881601.0 tmax=248140801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 4.07
user 1.21
sys 2.76

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/463433/ft2_4FGL_J0114.8+1326_daily_bin33.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/463433/ft1_filteredMKT_4FGL_J0114.8+1326_daily_bin33.fits evtable="EVENTS" outfile="/scratch/kocevski/463433/ft1_filtered_4FGL_J0114.8+1326_daily_bin33.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 3.12
user 0.31
sys 2.77

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/463433/ft1_filtered_4FGL_J0114.8+1326_daily_bin33.fits" evtable="EVENTS" scfile=/scratch/kocevski/463433/ft2_4FGL_J0114.8+1326_daily_bin33.fits sctable="SC_DATA" outfile=/scratch/kocevski/463433/ltcube_247881601_248140801_4FGL_J0114.8+1326_daily_bin33.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/463433/ft2_4FGL_J0114.8+1326_daily_bin33.fits
.....................!
real 15.64
user 12.30
sys 3.24

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/463433/ft1_filtered_4FGL_J0114.8+1326_daily_bin33.fits evtable="EVENTS" scfile=/scratch/kocevski/463433/ft2_4FGL_J0114.8+1326_daily_bin33.fits sctable="SC_DATA" expcube=/scratch/kocevski/463433/ltcube_247881601_248140801_4FGL_J0114.8+1326_daily_bin33.fits outfile=/scratch/kocevski/463433/expmap_247881601_248140801_4FGL_J0114.8+1326_daily_bin33.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/463433/ltcube_247881601_248140801_4FGL_J0114.8+1326_daily_bin33.fits
.....................!
real 195.62
user 185.90
sys 8.88

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/463433/ft1_filtered_4FGL_J0114.8+1326_daily_bin33.fits scfile=/scratch/kocevski/463433/ft2_4FGL_J0114.8+1326_daily_bin33.fits outfile=/scratch/kocevski/463433/cmap_247881601_248140801_4FGL_J0114.8+1326_daily_bin33.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 3.13
user 0.35
sys 2.70

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/463433/ft1_filtered_4FGL_J0114.8+1326_daily_bin33.fits scfile=/scratch/kocevski/463433/ft2_4FGL_J0114.8+1326_daily_bin33.fits outfile=/scratch/kocevski/463433/cmap_HighResolution_247881601_248140801_4FGL_J0114.8+1326_daily_bin33.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 3.13
user 0.37
sys 2.70

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.1535       1.0000         .10000E-03   10000.    
     4 'norm      '    1.7500       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.158       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    5.5930       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .96340       1.0000         .10000E-03   10000.    
    13 'Prefactor '    32.026       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    16.156       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    18.045       1.0000         .10000E-03   10000.    
    19 'Prefactor '    11.029       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.5322       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .64991       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.

 FCN=   8616.830     FROM MIGRAD    STATUS=CONVERGED    429 CALLS     1856 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.2024        .90712E-02** at limit **
   2  Prefactor     .10001E-03    14.104        .90712E-02** at limit **
   3  Prefactor     6.1538        8.8862        .40460E-02    .19496E-02
   4  norm          1.7499        5.5882        .79238E-02    .74325E-03
   5  Prefactor     .10000E-03    3.2938        .90712E-02** at limit **
   6  Prefactor     14.158        10.990        .26612E-02    .59115E-04
   7  norm          .10000E-03    4.0044        .90712E-02** at limit **
   8  Prefactor     .10000E-03    47.448        .90712E-02** at limit **
   9  Prefactor     .10000E-03    19.909        .90712E-02** at limit **
  10  norm          5.5929        2.0467        .42468E-02   -.35980E-04
  11  Prefactor     .10000E-03    9.1899        .90712E-02** at limit **
  12  norm          .96340        .44577        .93165E-02    .11168E-02
  13  Prefactor     32.025        15.043        .17701E-02   -.65600E-04
  14  Prefactor     .10000E-03    1.4755        .90712E-02** at limit **
  15  Prefactor     .10000E-03    5.3536        .90712E-02** at limit **
  16  Prefactor     16.156        33.793        .24911E-02    .28751E-03
  17  Prefactor     .10001E-03    14.490        .90712E-02** at limit **
  18  norm          18.045        13.452        .23571E-02    .15854E-03
  19  Prefactor     11.028        6.5498        .30160E-02    .13377E-02
  20  Normalizat    1.5322        .16845        .54825E-01    .13407E-03
  21  Prefactor     .64991        .11571        .41731E-01    .11979E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.000100007
  Prefactor  = 6.1538
  norm       = 1.74985
  Prefactor  = 0.0001
  Prefactor  = 14.1579
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100001
  norm       = 5.59293
  Prefactor  = 0.0001
  norm       = 0.963404
  Prefactor  = 32.0252
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.1557
  Prefactor  = 0.000100007
  norm       = 18.0445
  Prefactor  = 11.0285
  Normalizat = 1.5322
  Prefactor  = 0.649907
 **********
 **   18 **HESSE 
 **********

 FCN=   8616.830     FROM HESSE     STATUS=OK           313 CALLS     2169 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.2045        .13454E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10001E-03    14.171        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.1538        8.8794        .80920E-03   -1.5212    
   4  norm          1.7499        5.5338        .31695E-03   -1.5443    
   5  Prefactor     .10000E-03    3.3170        .16443E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     14.158        10.947        .10645E-03   -1.4955    
   7  norm          .10000E-03    4.0084        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    47.677        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    19.916        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.5929        2.0498        .77704E-04   -1.5235    
  11  Prefactor     .10000E-03    9.1964        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .96340        .44832        .40928E-04   -1.5512    
  13  Prefactor     32.025        15.085        .70805E-04   -1.4576    
  14  Prefactor     .10000E-03    1.4768        .11012E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.4026        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     16.156        33.795        .99644E-04   -1.4904    
  17  Prefactor     .10001E-03    14.510        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          18.045        13.453        .47143E-03   -1.4858    
  19  Prefactor     11.028        6.5493        .60320E-03   -1.5044    
  20  Normalizat    1.5322        .19666        .24241E-03   -.76878    
  21  Prefactor     .64991        .13446        .24421E-03   -1.0552    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74946e-09
Minuit parameter uncertainties:
  1  2.16959e-05
  2  0.000648887
  3  8.88126
  4  5.53544
  5  4.4973e-06
  6  10.9487
  7  2.08748e-05
  8  0.000649203
  9  0.000313325
  10  2.0498
  11  3.75369e-05
  12  0.448318
  13  15.0871
  14  3.69333e-06
  15  3.47612e-05
  16  33.835
  17  0.000630025
  18  13.455
  19  6.5497
  20  0.196761
  21  0.134525
Done.

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

Extracting fit parameters...

4FGL J0114.8+1326
   Spectrum: PowerLaw
263    Prefactor:  3.203e+01  1.509e+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:  6.499e-01  1.345e-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.532e+00  1.968e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.74
Ra Dec: 18.712 13.434
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 8.22e-08 +/- 3.87e-08
Energy Flux (Fixed Index): 4.45e-05 +/- 2.10e-05

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) = 8615.39927241
delta logL = 1.43099349494

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8615.38173834
delta logL = 1.44852755625

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.379       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8205       1.0000          .0000       10.000    
     3 'Normalizat'    1.4350       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69375       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=   8615.382     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      290 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.376        16.474        .10563E-03   -.92346E-04
   2  Index         2.8205        .61033        .32694E-02   -.50421E-04
   3  Normalizat    1.4349        .20757        .24858E-03    .32014E-05
   4  Prefactor     .69378        .13904        .23695E-03   -.36445E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.3762
  Index      = 2.82053
  Normalizat = 1.43493
  Prefactor  = 0.693782
 **********
 **   18 **HESSE 
 **********

 FCN=   8615.382     FROM HESSE     STATUS=OK            25 CALLS      315 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.376        12.633        .42251E-05   -1.4949    
   2  Index         2.8205        .46801        .13078E-03   -.45103    
   3  Normalizat    1.4349        .20465        .99433E-05   -.79624    
   4  Prefactor     .69378        .13744        .94780E-05   -1.0377    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.00999e-10
Minuit parameter uncertainties:
  1  12.6357
  2  0.46886
  3  0.204764
  4  0.13751
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/463433': 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) = 8615.38173828
delta logL = 1.44852761797

Extracting fit parameters...

4FGL J0114.8+1326
   Spectrum: PowerLaw
263    Prefactor:  1.438e+01  1.264e+01  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  2.821e+00  4.689e-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:  6.938e-01  1.375e-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.435e+00  2.048e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.86
Ra Dec: 18.712 13.434
Photon Index (Free Index): 2.82 +/- 0.47
Photon Flux (Free Index): 1.52e-07 +/- 6.29e-08
Energy Flux (Free Index): 3.37e-05 +/- 1.27e-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/463433/cmap_HighResolution_247881601_248140801_4FGL_J0114.8+1326_daily_bin33.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.22e-08', energy_flux2='3.37e-05', photon_flux_error='3.87e-08', dlogl='1.45e+00', energy_flux='4.45e-05', photon_flux2='1.52e-07', job_status='DONE', time_completed='2021-08-13 18:56:33.794014', photon_index_error2='0.47', photon_index2='2.82', ts='10.74', fit_tolerance='1e-08', GAL='0.65', photon_index_error='0.00', energy_flux_error2='1.27e-05', EG='1.53', time_epoch_completed='1628906193.79', return_code='0', job_id='463433', GAL2='0.69', EG2='1.43', return_code2='0', energy_flux_error='2.10e-05', photon_flux_error2='6.29e-08', ts2='13.86', photon_index='2.11' WHERE bin_id='33' AND source_name='4FGL J0114.8+1326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 18:56:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 463433: <4FGL_J0114.8+1326_daily_bin33> in cluster <slac> Done

Job <4FGL_J0114.8+1326_daily_bin33> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Aug 13 18:40:23 2021
Job was executed on host(s) <bullet0082>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 18:41:09 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:41:09 2021
Terminated at Fri Aug 13 18:56:35 2021
Results reported at Fri Aug 13 18:56:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0114.8+1326_daily_bin33 18.7119 13.4342 247881601 248140801 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 :                                   710.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             269.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   925 sec.
    Turnaround time :                            972 sec.

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

