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


Performing analysis on: 4FGL_J0114.8+1326_daily_bin684
RA = 18.7119, Dec = 13.4342
tmin = 416620801, tmax = 416880001
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='470278', job_status='RUN', time_executed='2021-08-13 19:10:02.723403', time_epoch_executed='1628907002.72' WHERE source_name='4FGL J0114.8+1326' and cadence='daily' and bin_id='684'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/470278

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/470278/ft1_4FGL_J0114.8+1326_daily_bin684.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/470278/ft2_4FGL_J0114.8+1326_daily_bin684.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/470278/ft1_4FGL_J0114.8+1326_daily_bin684.fits outfile=/scratch/kocevski/470278/ft1_filteredMKT_4FGL_J0114.8+1326_daily_bin684.fits ra=18.7119 dec=13.4342 rad=12.0 tmin=416620801.0 tmax=416880001.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 13.40
user 4.98
sys 8.30

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/470278/ft2_4FGL_J0114.8+1326_daily_bin684.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/470278/ft1_filteredMKT_4FGL_J0114.8+1326_daily_bin684.fits evtable="EVENTS" outfile="/scratch/kocevski/470278/ft1_filtered_4FGL_J0114.8+1326_daily_bin684.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 8.55
user 0.35
sys 8.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/470278/ft1_filtered_4FGL_J0114.8+1326_daily_bin684.fits" evtable="EVENTS" scfile=/scratch/kocevski/470278/ft2_4FGL_J0114.8+1326_daily_bin684.fits sctable="SC_DATA" outfile=/scratch/kocevski/470278/ltcube_416620801_416880001_4FGL_J0114.8+1326_daily_bin684.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/470278/ft2_4FGL_J0114.8+1326_daily_bin684.fits
.....................!
real 23.39
user 13.33
sys 9.42

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/470278/ft1_filtered_4FGL_J0114.8+1326_daily_bin684.fits evtable="EVENTS" scfile=/scratch/kocevski/470278/ft2_4FGL_J0114.8+1326_daily_bin684.fits sctable="SC_DATA" expcube=/scratch/kocevski/470278/ltcube_416620801_416880001_4FGL_J0114.8+1326_daily_bin684.fits outfile=/scratch/kocevski/470278/expmap_416620801_416880001_4FGL_J0114.8+1326_daily_bin684.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/470278/ltcube_416620801_416880001_4FGL_J0114.8+1326_daily_bin684.fits
.....................!
real 201.41
user 185.55
sys 15.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/470278/ft1_filtered_4FGL_J0114.8+1326_daily_bin684.fits scfile=/scratch/kocevski/470278/ft2_4FGL_J0114.8+1326_daily_bin684.fits outfile=/scratch/kocevski/470278/cmap_416620801_416880001_4FGL_J0114.8+1326_daily_bin684.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 8.53
user 0.38
sys 8.08

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/470278/ft1_filtered_4FGL_J0114.8+1326_daily_bin684.fits scfile=/scratch/kocevski/470278/ft2_4FGL_J0114.8+1326_daily_bin684.fits outfile=/scratch/kocevski/470278/cmap_HighResolution_416620801_416880001_4FGL_J0114.8+1326_daily_bin684.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 8.43
user 0.40
sys 7.97

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    6.2654       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10726E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    5.8943       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    7.2195       1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.518       1.0000         .10000E-03   10000.    
    12 'norm      '    2.7497       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.0023       1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.9841       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    83.804       1.0000         .10000E-03   10000.    
    18 'norm      '    41.271       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .28825E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.5764       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .73952       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=   3011.248     FROM MIGRAD    STATUS=CONVERGED    477 CALLS     2264 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6.8066       -.29481E-07** at limit **
   2  Prefactor     .10000E-03    12.740       -.33867E-07** at limit **
   3  Prefactor     .10000E-03    10.909       -.74114E-07** at limit **
   4  norm          6.2670        12.327        .21392E-06    .12325E-03
   5  Prefactor     .10000E-03    20.060       -.40738E-06** at limit **
   6  Prefactor     .10000E-03    9.0231       -.18036E-07** at limit **
   7  norm          5.8701        47.889       -.30527E-05    .26454E-04
   8  Prefactor     .10000E-03    23.138       -.54241E-07** at limit **
   9  Prefactor     .10000E-03    32.905        .14596E-06** at limit **
  10  norm          7.2204        4.0718       -.52907E-07    .17338E-04
  11  Prefactor     14.864        97.550       -.13987E-05    .53671E-05
  12  norm          2.7477        1.5133       -.30317E-07    .67280E-04
  13  Prefactor     8.0078        14.866        .68704E-07    .97892E-04
  14  Prefactor     6.9748        10.685        .23912E-06    .12576E-03
  15  Prefactor     .10000E-03    10.607       -.22844E-06** at limit **
  16  Prefactor     .10000E-03    45.148        .15149E-06** at limit **
  17  Prefactor     83.812        54.887        .24563E-06    .13201E-04
  18  norm          41.244        30.390        .12707E-05    .17887E-03
  19  Prefactor     .10000E-03    56.557        .19488E-04** at limit **
  20  Normalizat    1.5758        .30056        .14404E-05    .39802E-03
  21  Prefactor     .73956        .21105        .61739E-06    .35819E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.26705
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.8701
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.22039
  Prefactor  = 14.8643
  norm       = 2.74771
  Prefactor  = 8.00779
  Prefactor  = 6.97481
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 83.8122
  norm       = 41.2435
  Prefactor  = 0.000100004
  Normalizat = 1.57581
  Prefactor  = 0.739561
 **********
 **   18 **HESSE 
 **********

 FCN=   3011.248     FROM HESSE     STATUS=OK           311 CALLS     2575 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6.8083        .13984E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    12.742        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    10.917        .17705E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          6.2670        12.325        .16037E-03   -1.5207    
   5  Prefactor     .10000E-03    20.321        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    9.0359        .16100E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.8701        47.485        .16541E-03   -1.5223    
   8  Prefactor     .10000E-03    23.139        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    32.906        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          7.2204        4.0735        .80812E-04   -1.5170    
  11  Prefactor     14.864        98.840        .10512E-03   -1.4937    
  12  norm          2.7477        1.5239        .43072E-04   -1.5376    
  13  Prefactor     8.0078        14.885        .14174E-03   -1.5142    
  14  Prefactor     6.9748        10.668        .15180E-03   -1.5180    
  15  Prefactor     .10000E-03    10.673        .17460E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    45.156        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     83.812        54.865        .21940E-03   -1.3874    
  18  norm          41.244        30.426        .62397E-04   -1.4423    
  19  Prefactor     .10000E-03    55.701        .38575E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.5758        .35194        .25794E-03   -.75670    
  21  Prefactor     .73956        .24519        .24959E-03   -1.0200    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.64759e-10
Minuit parameter uncertainties:
  1  6.14499e-06
  2  1.02072e-05
  3  2.06191e-05
  4  12.3296
  5  0.000155792
  6  5.22811e-06
  7  33.4273
  8  9.28723e-06
  9  1.00696e-05
  10  4.07369
  11  76.8442
  12  1.52392
  13  14.8914
  14  10.6709
  15  5.75477e-05
  16  4.2217e-05
  17  54.8985
  18  30.4373
  19  0.000890309
  20  0.352495
  21  0.245552
Done.

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

Extracting fit parameters...

4FGL J0114.8+1326
   Spectrum: PowerLaw
263    Prefactor:  8.008e+00  1.489e+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:  7.396e-01  2.456e-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.576e+00  3.525e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.42
Ra Dec: 18.712 13.434
Photon Flux Upper Limit: 1.34e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.02e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/470278/likelihoodResults_416620801_416880001_4FGL_J0114.8+1326_daily_bin684.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) = 3008.80733686
delta logL = 2.44077862567

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3008.68433349
delta logL = 2.56378199333

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.598       1.0000         .10000E-03   10000.    
     2 'Index     '    .89152       1.0000          .0000       10.000    
     3 'Normalizat'    1.5613       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74405       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=   3008.684     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      213 TOTAL
                     EDM=   .34E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.602        18.600        .29947E-05   -.52641E-04
   2  Index         .89128        .46460        .17770E-04    .87783E-05
   3  Normalizat    1.5613        .29610       -.82721E-09   -.38463E-04
   4  Prefactor     .74403        .20695       -.47635E-07   -.36989E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.6016
  Index      = 0.891279
  Normalizat = 1.56128
  Prefactor  = 0.744026
 **********
 **   18 **HESSE 
 **********

 FCN=   3008.684     FROM HESSE     STATUS=OK            29 CALLS      242 TOTAL
                     EDM=   .62E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.602        18.602        .10141E-03   -1.4918    
   2  Index         .89128        .46360        .58105E-03   -.96446    
   3  Normalizat    1.5613        .34476        .25792E-03   -.76071    
   4  Prefactor     .74403        .24096        .24849E-03   -1.0183    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.19047e-12
Minuit parameter uncertainties:
  1  18.6084
  2  0.46567
  3  0.345281
  4  0.241302
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/470278': 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) = 3008.68433295
delta logL = 2.56378253809

Extracting fit parameters...

4FGL J0114.8+1326
   Spectrum: PowerLaw
263    Prefactor:  1.560e+01  1.861e+01  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  8.913e-01  4.657e-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:  7.440e-01  2.413e-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.561e+00  3.453e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.55
Ra Dec: 18.712 13.434
Photon Index (Free Index): 0.89 +/- 0.47
Photon Flux (Free Index): 1.75e-08 +/- 1.51e-08
Energy Flux (Free Index): 3.26e-04 +/- 3.37e-04

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/470278/cmap_HighResolution_416620801_416880001_4FGL_J0114.8+1326_daily_bin684.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.02e-02', comment='SUCCESS', energy_flux2='3.26e-04', dlogl='2.56e+00', photon_flux2='1.75e-08', job_status='DONE', time_completed='2021-08-13 19:20:02.009369', photon_index_error2='0.47', photon_index2='0.89', ts='0.42', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', photon_flux_upper_limit='1.34e-07', energy_flux_error2='3.37e-04', EG='1.58', time_epoch_completed='1628907602.01', return_code='0', job_id='470278', GAL2='0.74', EG2='1.56', return_code2='0', photon_flux_error2='1.51e-08', ts2='5.55', photon_index='2.11' WHERE bin_id='684' AND source_name='4FGL J0114.8+1326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 19:20:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0149>
Subject: Job 470278: <4FGL_J0114.8+1326_daily_bin684> in cluster <slac> Done

Job <4FGL_J0114.8+1326_daily_bin684> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Aug 13 19:05:33 2021
Job was executed on host(s) <bullet0149>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 19:07:41 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:07:41 2021
Terminated at Fri Aug 13 19:20:04 2021
Results reported at Fri Aug 13 19:20:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0114.8+1326_daily_bin684 18.7119 13.4342 416620801 416880001 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 :                                   720.50 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   742 sec.
    Turnaround time :                            871 sec.

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

