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


Performing analysis on: 4FGL_J0114.8+1326_daily_bin92
RA = 18.7119, Dec = 13.4342
tmin = 263174401, tmax = 263433601
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='464790', job_status='RUN', time_executed='2021-08-13 18:48:31.735486', time_epoch_executed='1628905711.74' WHERE source_name='4FGL J0114.8+1326' and cadence='daily' and bin_id='92'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/464790

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

Retrieving the FT1 file...

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

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

Retrieving 42 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/464790/ft1_4FGL_J0114.8+1326_daily_bin92.fits


Retrieving the FT1 file...

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

Retrieving 42 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/464790/ft2_4FGL_J0114.8+1326_daily_bin92.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/464790/ft1_4FGL_J0114.8+1326_daily_bin92.fits outfile=/scratch/kocevski/464790/ft1_filteredMKT_4FGL_J0114.8+1326_daily_bin92.fits ra=18.7119 dec=13.4342 rad=12.0 tmin=263174401.0 tmax=263433601.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.41
user 1.19
sys 2.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/464790/ft1_filtered_4FGL_J0114.8+1326_daily_bin92.fits" evtable="EVENTS" scfile=/scratch/kocevski/464790/ft2_4FGL_J0114.8+1326_daily_bin92.fits sctable="SC_DATA" outfile=/scratch/kocevski/464790/ltcube_263174401_263433601_4FGL_J0114.8+1326_daily_bin92.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/464790/ft2_4FGL_J0114.8+1326_daily_bin92.fits
.....................!
real 13.93
user 11.29
sys 2.56

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/464790/ft1_filtered_4FGL_J0114.8+1326_daily_bin92.fits evtable="EVENTS" scfile=/scratch/kocevski/464790/ft2_4FGL_J0114.8+1326_daily_bin92.fits sctable="SC_DATA" expcube=/scratch/kocevski/464790/ltcube_263174401_263433601_4FGL_J0114.8+1326_daily_bin92.fits outfile=/scratch/kocevski/464790/expmap_263174401_263433601_4FGL_J0114.8+1326_daily_bin92.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/464790/ltcube_263174401_263433601_4FGL_J0114.8+1326_daily_bin92.fits
.....................!
real 194.28
user 185.69
sys 8.05

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/464790/ft1_filtered_4FGL_J0114.8+1326_daily_bin92.fits scfile=/scratch/kocevski/464790/ft2_4FGL_J0114.8+1326_daily_bin92.fits outfile=/scratch/kocevski/464790/cmap_263174401_263433601_4FGL_J0114.8+1326_daily_bin92.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.51
user 0.36
sys 2.11

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/464790/ft1_filtered_4FGL_J0114.8+1326_daily_bin92.fits scfile=/scratch/kocevski/464790/ft2_4FGL_J0114.8+1326_daily_bin92.fits outfile=/scratch/kocevski/464790/cmap_HighResolution_263174401_263433601_4FGL_J0114.8+1326_daily_bin92.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.50
user 0.38
sys 2.10

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    17.319       1.0000         .10000E-03   10000.    
     4 'norm      '    11.890       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .15397       1.0000         .10000E-03   10000.    
     6 'Prefactor '    17.316       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.4181       1.0000         .10000E-03   10000.    
     9 'Prefactor '    36.065       1.0000         .10000E-03   10000.    
    10 'norm      '    6.7658       1.0000         .10000E-03   10000.    
    11 'Prefactor '    17.086       1.0000         .10000E-03   10000.    
    12 'norm      '    .31028       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.9236       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.0574       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .13945E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    15.726       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.2312       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.3350       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .95779       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=   9336.657     FROM MIGRAD    STATUS=CONVERGED    442 CALLS     2194 TOTAL
                     EDM=   .62E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.6423       -.49550E-07** at limit **
   2  Prefactor     .10000E-03    24.254        .12522E-05** at limit **
   3  Prefactor     17.318        11.728        .96486E-06    .53954E-04
   4  norm          11.891        9.2264       -.38991E-09   -.16069E-04
   5  Prefactor     .16135        3.8799        .11958E-05   -.81405E-03
   6  Prefactor     17.317        14.671        .12919E-06   -.72084E-04
   7  norm          .10000E-03    6.4440        .64018E-07** at limit **
   8  Prefactor     7.4189        22.556        .10537E-05    .12141E-04
   9  Prefactor     36.066        70.838        .31636E-06    .16145E-05
  10  norm          6.7659        2.4690        .28462E-07    .40485E-04
  11  Prefactor     17.081        20.591       -.37091E-05   -.28991E-03
  12  norm          .31026        .31327        .45486E-07   -.16359E-03
  13  Prefactor     2.9238        2.1499       -.93251E-07   -.61359E-03
  14  Prefactor     4.0568        4.2856        .50702E-07   -.39063E-04
  15  Prefactor     .10006E-03    7.7144        .16572E-05** at limit **
  16  Prefactor     .10000E-03    11.795        .31888E-06** at limit **
  17  Prefactor     .10000E-03    35.336       -.24919E-05** at limit **
  18  norm          15.727        11.704       -.67305E-07   -.20601E-04
  19  Prefactor     7.2315        6.1735        .78402E-07   -.22866E-03
  20  Normalizat    1.3351        .17198        .10598E-06   -.39814E-03
  21  Prefactor     .95774        .12019       -.58205E-06   -.43093E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.3183
  norm       = 11.8905
  Prefactor  = 0.161352
  Prefactor  = 17.3165
  norm       = 0.0001
  Prefactor  = 7.41895
  Prefactor  = 36.0655
  norm       = 6.76588
  Prefactor  = 17.0812
  norm       = 0.310257
  Prefactor  = 2.92379
  Prefactor  = 4.05677
  Prefactor  = 0.000100059
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 15.7266
  Prefactor  = 7.23154
  Normalizat = 1.33508
  Prefactor  = 0.957735
 **********
 **   18 **HESSE 
 **********

 FCN=   9336.657     FROM HESSE     STATUS=OK           321 CALLS     2515 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.6927        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    24.407        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     17.318        11.808        .96239E-04   -1.4875    
   4  norm          11.891        9.2239        .11617E-03   -1.5018    
   5  Prefactor     .16135        20.217        .32444E-02   -1.5628    
   6  Prefactor     17.317        14.729        .48124E-03   -1.4875    
   7  norm          .10000E-03    6.4665        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.4189        22.560        .14726E-03   -1.5163    
   9  Prefactor     36.066        71.039        .66733E-04   -1.4506    
  10  norm          6.7659        2.4744        .82192E-04   -1.5188    
  11  Prefactor     17.081        20.822        .96895E-04   -1.4881    
  12  norm          .31026        .31414        .52102E-04   -1.5597    
  13  Prefactor     2.9238        5.9845        .11879E-02   -1.5366    
  14  Prefactor     4.0568        4.2956        .99957E-03   -1.5305    
  15  Prefactor     .10006E-03    40.009        .47907E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    11.799        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    35.496        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          15.727        11.704        .10100E-03   -1.4915    
  19  Prefactor     7.2315        6.3907        .74581E-03   -1.5170    
  20  Normalizat    1.3351        .20270        .27543E-03   -.82525    
  21  Prefactor     .95774        .14170        .22427E-03   -.94152    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.9114e-09
Minuit parameter uncertainties:
  1  2.89407e-06
  2  9.75717e-05
  3  11.8092
  4  9.22497
  5  3.61237
  6  14.7318
  7  3.86586e-06
  8  22.5859
  9  71.2066
  10  2.47439
  11  20.8312
  12  0.314139
  13  5.98576
  14  4.29589
  15  0.00306658
  16  1.81293e-05
  17  0.000230052
  18  11.706
  19  6.3913
  20  0.202822
  21  0.141759
Done.

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

Extracting fit parameters...

4FGL J0114.8+1326
   Spectrum: PowerLaw
263    Prefactor:  2.924e+00  5.986e+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:  9.577e-01  1.418e-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.335e+00  2.028e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/464790/likelihoodResults_263174401_263433601_4FGL_J0114.8+1326_daily_bin92.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) = 9336.53711821
delta logL = 0.119876431125

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9336.53217004
delta logL = 0.124824600769

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.9132       1.0000         .10000E-03   10000.    
     2 'Index     '    1.6983       1.0000          .0000       10.000    
     3 'Normalizat'    1.3389       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95476       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=   9336.532     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      272 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.9141        8.0519        .18146E-03   -.16041E-02
   2  Index         1.6988        .71261        .13737E-01   -.37726E-03
   3  Normalizat    1.3389        .19788        .27508E-03    .21282E-03
   4  Prefactor     .95481        .14018        .22454E-03    .35908E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.91406
  Index      = 1.69884
  Normalizat = 1.33888
  Prefactor  = 0.954807
 **********
 **   18 **HESSE 
 **********

 FCN=   9336.532     FROM HESSE     STATUS=OK            23 CALLS      295 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.9141        7.9791        .72583E-05   -1.5265    
   2  Index         1.6988        .70661        .54947E-03   -.72113    
   3  Normalizat    1.3389        .19803        .55016E-04   -.82413    
   4  Prefactor     .95481        .14029        .44908E-04   -.94251    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.7212e-09
Minuit parameter uncertainties:
  1  7.98085
  2  0.710845
  3  0.198141
  4  0.140344
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/464790': 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) = 9336.53216955
delta logL = 0.124825091145

Extracting fit parameters...

4FGL J0114.8+1326
   Spectrum: PowerLaw
263    Prefactor:  4.914e+00  7.981e+00  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  1.699e+00  7.108e-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:  9.548e-01  1.403e-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.339e+00  1.981e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.32
Ra Dec: 18.712 13.434

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/464790/cmap_HighResolution_263174401_263433601_4FGL_J0114.8+1326_daily_bin92.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.03e-03', job_status='DONE', photon_flux_upper_limit='5.32e-08', time_completed='2021-08-13 19:01:47.366887', job_id='464790', GAL2='0.95', fit_tolerance='1e-08', EG2='1.34', EG='1.34', time_epoch_completed='1628906507.37', return_code2='0', ts='0.32', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='1.25e-01', ts2='0.57', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='92' AND source_name='4FGL J0114.8+1326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 19:01:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0254>
Subject: Job 464790: <4FGL_J0114.8+1326_daily_bin92> in cluster <slac> Done

Job <4FGL_J0114.8+1326_daily_bin92> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Fri Aug 13 18:45:26 2021
Job was executed on host(s) <bullet0254>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 18:45:54 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:45:54 2021
Terminated at Fri Aug 13 19:01:48 2021
Results reported at Fri Aug 13 19:01:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0114.8+1326_daily_bin92 18.7119 13.4342 263174401 263433601 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 :                                   824.16 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             301.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   954 sec.
    Turnaround time :                            982 sec.

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

