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


Performing analysis on: 4FGL_J0114.8+1326_daily_bin1516
RA = 18.7119, Dec = 13.4342
tmin = 632275201, tmax = 632534401
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='475866', job_status='RUN', time_executed='2021-08-13 19:26:51.879148', time_epoch_executed='1628908011.88' WHERE source_name='4FGL J0114.8+1326' and cadence='daily' and bin_id='1516'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/475866

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/475866/ft1_4FGL_J0114.8+1326_daily_bin1516.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/475866/ft2_4FGL_J0114.8+1326_daily_bin1516.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/475866/ft1_4FGL_J0114.8+1326_daily_bin1516.fits outfile=/scratch/kocevski/475866/ft1_filteredMKT_4FGL_J0114.8+1326_daily_bin1516.fits ra=18.7119 dec=13.4342 rad=12.0 tmin=632275201.0 tmax=632534401.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 5.94
user 3.53
sys 2.37

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/475866/ft1_filtered_4FGL_J0114.8+1326_daily_bin1516.fits" evtable="EVENTS" scfile=/scratch/kocevski/475866/ft2_4FGL_J0114.8+1326_daily_bin1516.fits sctable="SC_DATA" outfile=/scratch/kocevski/475866/ltcube_632275201_632534401_4FGL_J0114.8+1326_daily_bin1516.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/475866/ft2_4FGL_J0114.8+1326_daily_bin1516.fits
.....................!
real 14.37
user 11.57
sys 2.76

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/475866/ft1_filtered_4FGL_J0114.8+1326_daily_bin1516.fits evtable="EVENTS" scfile=/scratch/kocevski/475866/ft2_4FGL_J0114.8+1326_daily_bin1516.fits sctable="SC_DATA" expcube=/scratch/kocevski/475866/ltcube_632275201_632534401_4FGL_J0114.8+1326_daily_bin1516.fits outfile=/scratch/kocevski/475866/expmap_632275201_632534401_4FGL_J0114.8+1326_daily_bin1516.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/475866/ltcube_632275201_632534401_4FGL_J0114.8+1326_daily_bin1516.fits
.....................!
real 194.04
user 185.68
sys 8.03

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/475866/ft1_filtered_4FGL_J0114.8+1326_daily_bin1516.fits scfile=/scratch/kocevski/475866/ft2_4FGL_J0114.8+1326_daily_bin1516.fits outfile=/scratch/kocevski/475866/cmap_632275201_632534401_4FGL_J0114.8+1326_daily_bin1516.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 2.63
user 0.36
sys 2.24

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/475866/ft1_filtered_4FGL_J0114.8+1326_daily_bin1516.fits scfile=/scratch/kocevski/475866/ft2_4FGL_J0114.8+1326_daily_bin1516.fits outfile=/scratch/kocevski/475866/cmap_HighResolution_632275201_632534401_4FGL_J0114.8+1326_daily_bin1516.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 2.71
user 0.38
sys 2.30

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    4.7682       1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.3160       1.0000         .10000E-03   10000.    
     4 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.3065       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.5709       1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.726       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    7.8741       1.0000         .10000E-03   10000.    
    11 'Prefactor '    19.314       1.0000         .10000E-03   10000.    
    12 'norm      '    3.8973       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.9091       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    73.077       1.0000         .10000E-03   10000.    
    18 'norm      '    .10342E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.9754       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2045       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .89630       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=   6404.248     FROM MIGRAD    STATUS=CONVERGED    436 CALLS     2161 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.9167       -.33249E-07** at limit **
   2  Prefactor     4.7683        21.933       -.50627E-06   -.32300E-04
   3  Prefactor     9.3163        10.964        .17967E-06    .30321E-05
   4  norm          .10000E-03    4.6637        .11978E-07** at limit **
   5  Prefactor     1.3072        5.1173       -.22905E-05   -.96060E-03
   6  Prefactor     .10000E-03    7.6914        .43543E-07** at limit **
   7  norm          3.5710        17.333       -.78091E-06   -.64059E-04
   8  Prefactor     11.725        33.704       -.23020E-05    .20085E-04
   9  Prefactor     .10000E-03    27.595       -.43611E-06** at limit **
  10  norm          7.8742        2.9613       -.39868E-07   -.88769E-05
  11  Prefactor     19.301        36.572       -.16518E-04    .25911E-03
  12  norm          3.8977        .97756        .28460E-06   -.40768E-03
  13  Prefactor     4.9095        7.7928       -.22761E-06   -.70613E-04
  14  Prefactor     .10000E-03    3.6723        .89875E-07** at limit **
  15  Prefactor     .10000E-03    5.9394        .93670E-07** at limit **
  16  Prefactor     .10000E-03    16.180        .99526E-07** at limit **
  17  Prefactor     73.078        39.670        .71771E-06   -.34458E-04
  18  norm          .10000E-03    44.399        .60902E-06** at limit **
  19  Prefactor     4.9750        4.7868        .44479E-07    .11725E-03
  20  Normalizat    1.2047        .19186        .57148E-06    .40730E-04
  21  Prefactor     .89619        .13892        .16908E-06    .85906E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 4.76828
  Prefactor  = 9.31635
  norm       = 0.0001
  Prefactor  = 1.30716
  Prefactor  = 0.0001
  norm       = 3.57099
  Prefactor  = 11.7248
  Prefactor  = 0.0001
  norm       = 7.87417
  Prefactor  = 19.3011
  norm       = 3.89771
  Prefactor  = 4.90948
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 73.0776
  norm       = 0.0001
  Prefactor  = 4.97498
  Normalizat = 1.20465
  Prefactor  = 0.89619
 **********
 **   18 **HESSE 
 **********

 FCN=   6404.248     FROM HESSE     STATUS=OK           315 CALLS     2476 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.9247        .15467E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.7683        21.971        .18426E-03   -1.5271    
   3  Prefactor     9.3163        10.940        .13130E-03   -1.5097    
   4  norm          .10000E-03    4.7059        .16878E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.3072        5.7325        .36439E-03   -1.5479    
   6  Prefactor     .10000E-03    7.7423        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.5710        17.420        .21387E-03   -1.5330    
   8  Prefactor     11.725        33.690        .11699E-03   -1.5023    
   9  Prefactor     .10000E-03    27.602        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          7.8742        2.9652        .81744E-04   -1.5147    
  11  Prefactor     19.301        35.228        .91137E-04   -1.4829    
  12  norm          3.8977        .97493        .35971E-04   -1.5313    
  13  Prefactor     4.9095        7.7880        .18153E-03   -1.5265    
  14  Prefactor     .10000E-03    3.6856        .14977E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.9650        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    16.183        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     73.078        39.670        .46965E-04   -1.3996    
  18  norm          .10000E-03    45.545        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.9750        4.7922        .16725E-03   -1.5262    
  20  Normalizat    1.2047        .22574        .26837E-03   -.86459    
  21  Prefactor     .89619        .16355        .22001E-03   -.96274    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.69744e-09
Minuit parameter uncertainties:
  1  5.58264e-07
  2  20.4831
  3  10.9428
  4  9.38806e-07
  5  5.47546
  6  5.65441e-06
  7  15.7816
  8  33.7446
  9  2.01656e-05
  10  2.96523
  11  35.2659
  12  0.974932
  13  7.78962
  14  2.7762e-05
  15  8.09817e-06
  16  5.69042e-06
  17  39.6845
  18  0.000102036
  19  4.79255
  20  0.225924
  21  0.163638
Done.

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

Extracting fit parameters...

4FGL J0114.8+1326
   Spectrum: PowerLaw
263    Prefactor:  4.909e+00  7.790e+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

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  8.962e-01  1.636e-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.205e+00  2.259e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/475866/likelihoodResults_632275201_632534401_4FGL_J0114.8+1326_daily_bin1516.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) = 6404.21905673
delta logL = 0.028866257252

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6404.2122348
delta logL = 0.0356881858361

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.9486       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8700       1.0000          .0000       10.000    
     3 'Normalizat'    1.2082       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89437       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=   6404.212     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      263 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.9490        9.5456        .16464E-03   -.38828E-03
   2  Index         1.8704        .84916        .11468E-01   -.10219E-03
   3  Normalizat    1.2080        .22232        .26803E-03    .10057E-03
   4  Prefactor     .89460        .16064        .22017E-03    .15124E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.94904
  Index      = 1.87036
  Normalizat = 1.20803
  Prefactor  = 0.894603
 **********
 **   18 **HESSE 
 **********

 FCN=   6404.212     FROM HESSE     STATUS=OK            23 CALLS      286 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.9490        9.4225        .65856E-05   -1.5220    
   2  Index         1.8704        .83861        .45871E-03   -.67632    
   3  Normalizat    1.2080        .22249        .10721E-04   -.86355    
   4  Prefactor     .89460        .16078        .88069E-05   -.96330    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.33684e-10
Minuit parameter uncertainties:
  1  9.42488
  2  0.845209
  3  0.222666
  4  0.160862
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/475866': 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) = 6404.21223291
delta logL = 0.0356900719398

Extracting fit parameters...

4FGL J0114.8+1326
   Spectrum: PowerLaw
263    Prefactor:  5.949e+00  9.425e+00  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  1.870e+00  8.452e-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:  8.946e-01  1.609e-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.208e+00  2.227e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.66
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/475866/cmap_HighResolution_632275201_632534401_4FGL_J0114.8+1326_daily_bin1516.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.59e-03', job_status='DONE', photon_flux_upper_limit='7.39e-08', time_completed='2021-08-13 19:38:20.719271', job_id='475866', GAL2='0.89', fit_tolerance='1e-08', EG2='1.21', EG='1.20', time_epoch_completed='1628908700.72', return_code2='0', ts='0.66', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='3.57e-02', ts2='0.73', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1516' AND source_name='4FGL J0114.8+1326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 19:38:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 475866: <4FGL_J0114.8+1326_daily_bin1516> in cluster <slac> Done

Job <4FGL_J0114.8+1326_daily_bin1516> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Fri Aug 13 19:25:41 2021
Job was executed on host(s) <bullet0067>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 19:26:02 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:26:02 2021
Terminated at Fri Aug 13 19:38:21 2021
Results reported at Fri Aug 13 19:38:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0114.8+1326_daily_bin1516 18.7119 13.4342 632275201 632534401 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 :                                   714.23 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             304.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   740 sec.
    Turnaround time :                            760 sec.

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

