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


Performing analysis on: 4FGL_J0114.8+1326_daily_bin45
RA = 18.7119, Dec = 13.4342
tmin = 250992001, tmax = 251251201
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='463451', job_status='RUN', time_executed='2021-08-13 18:45:08.560543', time_epoch_executed='1628905508.56' WHERE source_name='4FGL J0114.8+1326' and cadence='daily' and bin_id='45'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/463451

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/463451/ft1_4FGL_J0114.8+1326_daily_bin45.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/463451/ft2_4FGL_J0114.8+1326_daily_bin45.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/463451/ft1_4FGL_J0114.8+1326_daily_bin45.fits outfile=/scratch/kocevski/463451/ft1_filteredMKT_4FGL_J0114.8+1326_daily_bin45.fits ra=18.7119 dec=13.4342 rad=12.0 tmin=250992001.0 tmax=251251201.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 1.99
user 1.24
sys 0.72

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/463451/ft2_4FGL_J0114.8+1326_daily_bin45.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/463451/ft1_filteredMKT_4FGL_J0114.8+1326_daily_bin45.fits evtable="EVENTS" outfile="/scratch/kocevski/463451/ft1_filtered_4FGL_J0114.8+1326_daily_bin45.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.04
user 0.34
sys 0.68

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/463451/ft1_filtered_4FGL_J0114.8+1326_daily_bin45.fits evtable="EVENTS" scfile=/scratch/kocevski/463451/ft2_4FGL_J0114.8+1326_daily_bin45.fits sctable="SC_DATA" expcube=/scratch/kocevski/463451/ltcube_250992001_251251201_4FGL_J0114.8+1326_daily_bin45.fits outfile=/scratch/kocevski/463451/expmap_250992001_251251201_4FGL_J0114.8+1326_daily_bin45.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/463451/ltcube_250992001_251251201_4FGL_J0114.8+1326_daily_bin45.fits
.....................!
real 191.58
user 185.55
sys 5.45

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/463451/ft1_filtered_4FGL_J0114.8+1326_daily_bin45.fits scfile=/scratch/kocevski/463451/ft2_4FGL_J0114.8+1326_daily_bin45.fits outfile=/scratch/kocevski/463451/cmap_250992001_251251201_4FGL_J0114.8+1326_daily_bin45.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.05
user 0.39
sys 0.64

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/463451/ft1_filtered_4FGL_J0114.8+1326_daily_bin45.fits scfile=/scratch/kocevski/463451/ft2_4FGL_J0114.8+1326_daily_bin45.fits outfile=/scratch/kocevski/463451/cmap_HighResolution_250992001_251251201_4FGL_J0114.8+1326_daily_bin45.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.09
user 0.39
sys 0.67

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.576       1.0000         .10000E-03   10000.    
     3 'Prefactor '    17.247       1.0000         .10000E-03   10000.    
     4 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.7944       1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.107       1.0000         .10000E-03   10000.    
     7 'norm      '    21.366       1.0000         .10000E-03   10000.    
     8 'Prefactor '    22.982       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    9.5460       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .96359       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.3992       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.4792       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    12.003       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.2998       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .77131       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0089       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5909.018     FROM MIGRAD    STATUS=CONVERGED    438 CALLS     2160 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.0383         .0000    ** at limit **
   2  Prefactor     11.577        21.116         .0000        .18788E-03
   3  Prefactor     17.249        14.067         .0000        .51713E-03
   4  norm          .10000E-03    3.6823         .0000    ** at limit **
   5  Prefactor     3.7949        5.5829         .0000        .88457E-02
   6  Prefactor     14.109        12.523         .0000        .14384E-02
   7  norm          21.366        14.075         .0000        .80178E-04
   8  Prefactor     22.983        33.595         .0000       -.10054E-03
   9  Prefactor     .10000E-03    20.128         .0000    ** at limit **
  10  norm          9.5456        2.7608         .0000       -.34622E-04
  11  Prefactor     .10000E-03    10.309         .0000    ** at limit **
  12  norm          .96356        .54966         .0000        .37820E-03
  13  Prefactor     2.3994        7.1932         .0000        .38329E-03
  14  Prefactor     .10000E-03    2.8963         .0000    ** at limit **
  15  Prefactor     2.4793        8.9389         .0000        .67461E-02
  16  Prefactor     .10001E-03    108.01         .0000    ** at limit **
  17  Prefactor     .10000E-03    8.6924         .0000    ** at limit **
  18  norm          12.004        13.741         .0000        .12939E-03
  19  Prefactor     3.2999        3.4180         .0000       -.14171E-03
  20  Normalizat    .77127        .17922         .0000        .50242E-04
  21  Prefactor     1.0089        .13260         .0000        .61623E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 11.5771
  Prefactor  = 17.2485
  norm       = 0.0001
  Prefactor  = 3.79486
  Prefactor  = 14.1088
  norm       = 21.3662
  Prefactor  = 22.9828
  Prefactor  = 0.000100001
  norm       = 9.54561
  Prefactor  = 0.0001
  norm       = 0.963562
  Prefactor  = 2.39937
  Prefactor  = 0.0001
  Prefactor  = 2.47925
  Prefactor  = 0.000100009
  Prefactor  = 0.0001
  norm       = 12.0038
  Prefactor  = 3.29987
  Normalizat = 0.771269
  Prefactor  = 1.00886
 **********
 **   18 **HESSE 
 **********

 FCN=   5909.018     FROM HESSE     STATUS=OK           315 CALLS     2475 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.0586        .16851E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.577        21.121        .11775E-03   -1.5027    
   3  Prefactor     17.249        14.053        .96440E-04   -1.4877    
   4  norm          .10000E-03    3.6861        .14400E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.7949        5.5707        .10361E-02   -1.5318    
   6  Prefactor     14.109        12.518        .10664E-03   -1.4957    
   7  norm          21.366        14.077        .86653E-04   -1.4783    
   8  Prefactor     22.983        33.593        .83554E-04   -1.4749    
   9  Prefactor     .10000E-03    20.132        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          9.5456        2.7659        .66237E-04   -1.5090    
  11  Prefactor     .10000E-03    10.314        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .96356        .54553        .41575E-04   -1.5512    
  13  Prefactor     2.3994        7.1705        .26436E-03   -1.5398    
  14  Prefactor     .10000E-03    2.9066        .12775E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.4793        8.9314        .12983E-02   -1.5393    
  16  Prefactor     .10001E-03    108.54        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    8.6945        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          12.004        13.745        .11562E-03   -1.5015    
  19  Prefactor     3.2999        3.4225        .14110E-03   -1.5345    
  20  Normalizat    .77127        .20863        .29137E-03   -1.0114    
  21  Prefactor     1.0089        .15528        .19019E-03   -.92435    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.97868e-09
Minuit parameter uncertainties:
  1  1.35323e-05
  2  21.135
  3  14.0559
  4  9.42491e-06
  5  5.57141
  6  12.5207
  7  14.0794
  8  33.6201
  9  0.000242866
  10  2.76597
  11  8.95351e-05
  12  0.545528
  13  7.17311
  14  2.37489e-06
  15  8.93616
  16  0.00195262
  17  3.66241e-05
  18  13.7485
  19  3.42269
  20  0.20885
  21  0.15535
Done.

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

Extracting fit parameters...

4FGL J0114.8+1326
   Spectrum: PowerLaw
263    Prefactor:  2.399e+00  7.173e+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:  1.009e+00  1.554e-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:  7.713e-01  2.088e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/463451/likelihoodResults_250992001_251251201_4FGL_J0114.8+1326_daily_bin45.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) = 5908.98629072
delta logL = 0.0312606236121

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5908.97718253
delta logL = 0.0403688114138

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5073       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7738       1.0000          .0000       10.000    
     3 'Normalizat'    .77366       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0073       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=   5908.977     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      200 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5073        8.9424        .53970E-02   -.17820E-02
   2  Index         1.7732        1.0842        .27278E-01    .13991E-03
   3  Normalizat    .77366        .17611        .65760E-01    .21480E-04
   4  Prefactor     1.0073        .13076        .43762E-01    .31183E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.50726
  Index      = 1.77322
  Normalizat = 0.77366
  Prefactor  = 1.00725
 **********
 **   18 **HESSE 
 **********

 FCN=   5908.977     FROM HESSE     STATUS=OK            31 CALLS      231 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5073        8.6505        .21588E-03   -1.5333    
   2  Index         1.7732        1.0538        .54556E-02   -.70149    
   3  Normalizat    .77366        .20543        .29093E-03   -1.0105    
   4  Prefactor     1.0073        .15281        .19031E-03   -.92488    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.12657e-09
Minuit parameter uncertainties:
  1  8.65357
  2  1.06766
  3  0.205637
  4  0.152873
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/463451': 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) = 5908.97718236
delta logL = 0.0403689878103

Extracting fit parameters...

4FGL J0114.8+1326
   Spectrum: PowerLaw
263    Prefactor:  3.507e+00  8.654e+00  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  1.773e+00  1.068e+00  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.007e+00  1.529e-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:  7.737e-01  2.056e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.14
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/463451/cmap_HighResolution_250992001_251251201_4FGL_J0114.8+1326_daily_bin45.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.73e-03', job_status='DONE', photon_flux_upper_limit='6.25e-08', time_completed='2021-08-13 18:55:02.507940', job_id='463451', GAL2='1.01', fit_tolerance='1e-08', EG2='0.77', EG='0.77', time_epoch_completed='1628906102.51', return_code2='0', ts='0.14', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='4.04e-02', ts2='0.22', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='45' AND source_name='4FGL J0114.8+1326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 18:55:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0194>
Subject: Job 463451: <4FGL_J0114.8+1326_daily_bin45> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0114.8+1326_daily_bin45 18.7119 13.4342 250992001 251251201 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 :                                   601.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             278.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   822 sec.
    Turnaround time :                            879 sec.

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

