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


Performing analysis on: 4FGL_J0114.8+1326_daily_bin86
RA = 18.7119, Dec = 13.4342
tmin = 261619201, tmax = 261878401
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='464780', job_status='RUN', time_executed='2021-08-13 18:47:54.551485', time_epoch_executed='1628905674.55' WHERE source_name='4FGL J0114.8+1326' and cadence='daily' and bin_id='86'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/464780

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/464780/ft1_4FGL_J0114.8+1326_daily_bin86.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/464780/ft2_4FGL_J0114.8+1326_daily_bin86.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/464780/ft1_4FGL_J0114.8+1326_daily_bin86.fits outfile=/scratch/kocevski/464780/ft1_filteredMKT_4FGL_J0114.8+1326_daily_bin86.fits ra=18.7119 dec=13.4342 rad=12.0 tmin=261619201.0 tmax=261878401.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.52
user 1.27
sys 4.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/464780/ft1_filtered_4FGL_J0114.8+1326_daily_bin86.fits" evtable="EVENTS" scfile=/scratch/kocevski/464780/ft2_4FGL_J0114.8+1326_daily_bin86.fits sctable="SC_DATA" outfile=/scratch/kocevski/464780/ltcube_261619201_261878401_4FGL_J0114.8+1326_daily_bin86.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/464780/ft2_4FGL_J0114.8+1326_daily_bin86.fits
.....................!
real 19.06
user 14.08
sys 4.89

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/464780/ft1_filtered_4FGL_J0114.8+1326_daily_bin86.fits evtable="EVENTS" scfile=/scratch/kocevski/464780/ft2_4FGL_J0114.8+1326_daily_bin86.fits sctable="SC_DATA" expcube=/scratch/kocevski/464780/ltcube_261619201_261878401_4FGL_J0114.8+1326_daily_bin86.fits outfile=/scratch/kocevski/464780/expmap_261619201_261878401_4FGL_J0114.8+1326_daily_bin86.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/464780/ltcube_261619201_261878401_4FGL_J0114.8+1326_daily_bin86.fits
.....................!
real 199.07
user 188.49
sys 10.04

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/464780/ft1_filtered_4FGL_J0114.8+1326_daily_bin86.fits scfile=/scratch/kocevski/464780/ft2_4FGL_J0114.8+1326_daily_bin86.fits outfile=/scratch/kocevski/464780/cmap_261619201_261878401_4FGL_J0114.8+1326_daily_bin86.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 4.55
user 0.38
sys 4.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/464780/ft1_filtered_4FGL_J0114.8+1326_daily_bin86.fits scfile=/scratch/kocevski/464780/ft2_4FGL_J0114.8+1326_daily_bin86.fits outfile=/scratch/kocevski/464780/cmap_HighResolution_261619201_261878401_4FGL_J0114.8+1326_daily_bin86.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 4.58
user 0.39
sys 4.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8698       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .62368       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    20.202       1.0000         .10000E-03   10000.    
     7 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    5.7675       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.5312       1.0000         .10000E-03   10000.    
    13 'Prefactor '    18.216       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .55724E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.9595       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    41.899       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.8202       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .90297       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.4207       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=   9433.608     FROM MIGRAD    STATUS=CONVERGED    453 CALLS     1887 TOTAL
                     EDM=   .80E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.8693        5.8745       -.43812E-07   -.32594E-05
   2  Prefactor     .10000E-03    8.7640       -.19685E-06** at limit **
   3  Prefactor     .10000E-03    2.8317       -.14632E-07** at limit **
   4  norm          .64189        5.5066        .35471E-07   -.99865E-04
   5  Prefactor     .10000E-03    1.1069       -.10895E-07** at limit **
   6  Prefactor     20.195        13.465        .37024E-06   -.10048E-03
   7  norm          .10000E-03    6.3714       -.11739E-07** at limit **
   8  Prefactor     .10000E-03    9.7253        .33439E-06** at limit **
   9  Prefactor     .10000E-03    71.658        .58272E-06** at limit **
  10  norm          5.7680        2.1793       -.18680E-07    .21585E-04
  11  Prefactor     .10000E-03    27.154        .18676E-05** at limit **
  12  norm          1.5316        .63357        .28892E-07    .18971E-03
  13  Prefactor     18.214        11.716       -.11601E-06    .33412E-06
  14  Prefactor     .10000E-03    2.3646        .25167E-07** at limit **
  15  Prefactor     .10000E-03    33.304        .56338E-05** at limit **
  16  Prefactor     5.9549        34.233        .18702E-06    .35294E-04
  17  Prefactor     .10000E-03    11.162       -.25847E-06** at limit **
  18  norm          41.890        22.797        .43663E-06    .11848E-03
  19  Prefactor     7.8188        6.4855       -.13612E-05    .53395E-04
  20  Normalizat    .90292        .18258        .61338E-06    .46866E-04
  21  Prefactor     1.4209        .13350        .65731E-07    .99913E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.86935
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.641888
  Prefactor  = 0.0001
  Prefactor  = 20.1955
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.76797
  Prefactor  = 0.000100002
  norm       = 1.53156
  Prefactor  = 18.2145
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.9549
  Prefactor  = 0.0001
  norm       = 41.8904
  Prefactor  = 7.81881
  Normalizat = 0.90292
  Prefactor  = 1.42085
 **********
 **   18 **HESSE 
 **********

 FCN=   9433.608     FROM HESSE     STATUS=OK           317 CALLS     2204 TOTAL
                     EDM=   .61E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.8693        5.8732        .18228E-03   -1.5267    
   2  Prefactor     .10000E-03    8.7955        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.8341        .15962E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .64189        20.831        .42360E-02   -1.5548    
   5  Prefactor     .10000E-03    1.1082        .99792E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     20.195        13.705        .89111E-04   -1.4809    
   7  norm          .10000E-03    6.3806        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    9.7326        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    71.822        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.7680        2.1818        .84960E-04   -1.5228    
  11  Prefactor     .10000E-03    27.366        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.5316        .62687        .47830E-04   -1.5460    
  13  Prefactor     18.214        11.723        .93841E-04   -1.4854    
  14  Prefactor     .10000E-03    2.3699        .14584E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    32.790        .44042E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.9549        34.284        .16449E-03   -1.5220    
  17  Prefactor     .10000E-03    11.173        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          41.890        22.814        .61930E-04   -1.4413    
  19  Prefactor     7.8188        6.4841        .71694E-03   -1.5149    
  20  Normalizat    .90292        .21255        .34277E-03   -.96358    
  21  Prefactor     1.4209        .15665        .20839E-03   -.79781    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.11722e-08
Minuit parameter uncertainties:
  1  5.87387
  2  2.67156e-05
  3  1.27177e-06
  4  7.31553
  5  5.96512e-07
  6  13.7071
  7  1.62921e-06
  8  5.28674e-05
  9  0.000203034
  10  2.18183
  11  0.000424166
  12  0.626874
  13  11.7243
  14  1.08104e-06
  15  0.000210811
  16  28.6014
  17  4.45161e-05
  18  22.8189
  19  6.48472
  20  0.212744
  21  0.156702
Done.

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

Extracting fit parameters...

4FGL J0114.8+1326
   Spectrum: PowerLaw
263    Prefactor:  1.821e+01  1.172e+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:  1.421e+00  1.567e-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:  9.029e-01  2.127e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.75
Ra Dec: 18.712 13.434
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 4.68e-08 +/- 3.01e-08
Energy Flux (Fixed Index): 2.53e-05 +/- 1.63e-05

TS (Fixed Index): 3.75
Ra Dec: 18.712 13.434
Photon Flux Upper Limit: 1.10e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.29e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/464780/likelihoodResults_261619201_261878401_4FGL_J0114.8+1326_daily_bin86.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) = 9433.1219738
delta logL = 0.485669333875

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9433.11746639
delta logL = 0.49017674216

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.4199       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7095       1.0000          .0000       10.000    
     3 'Normalizat'    .85534       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4430       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=   9433.117     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      284 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.4299        92.490        .32644E-02    .27719E-03
   2  Index         2.7089        2.6600        .10519        .25889E-03
   3  Normalizat    .85544        .81647E-01    .79337E-01    .31008E-04
   4  Prefactor     1.4429        .51496E-01    .46844E-01    .10058E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.42987
  Index      = 2.70887
  Normalizat = 0.855442
  Prefactor  = 1.44295
 **********
 **   18 **HESSE 
 **********

 FCN=   9433.117     FROM HESSE     STATUS=OK            33 CALLS      317 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.4299        18.796        .13057E-03   -1.5094    
   2  Index         2.7089        1.0792        .51657E-02   -.47600    
   3  Normalizat    .85544        .22176        .35121E-03   -.98044    
   4  Prefactor     1.4429        .16106        .20706E-03   -.79150    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06238e-10
Minuit parameter uncertainties:
  1  18.8075
  2  1.09006
  3  0.221991
  4  0.161117
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/464780': 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) = 9433.11746586
delta logL = 0.490177278816

Extracting fit parameters...

4FGL J0114.8+1326
   Spectrum: PowerLaw
263    Prefactor:  9.430e+00  1.881e+01  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  2.709e+00  1.090e+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.443e+00  1.611e-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:  8.554e-01  2.220e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.81
Ra Dec: 18.712 13.434
Photon Index (Free Index): 2.71 +/- 1.09
Photon Flux (Free Index): 7.90e-08 +/- 5.24e-08
Energy Flux (Free Index): 1.89e-05 +/- 1.37e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/464780/cmap_HighResolution_261619201_261878401_4FGL_J0114.8+1326_daily_bin86.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.29e-03', comment='SUCCESS', photon_flux='4.68e-08', energy_flux2='1.89e-05', photon_flux_error='3.01e-08', dlogl='4.90e-01', energy_flux='2.53e-05', photon_flux2='7.90e-08', job_status='DONE', time_completed='2021-08-13 19:01:24.543560', photon_index_error2='1.09', photon_index2='2.71', ts='3.75', fit_tolerance='1e-08', GAL='1.42', photon_index_error='0.00', photon_flux_upper_limit='1.10e-07', energy_flux_error2='1.37e-05', EG='0.90', time_epoch_completed='1628906484.54', return_code='0', job_id='464780', GAL2='1.44', EG2='0.86', return_code2='0', energy_flux_error='1.63e-05', photon_flux_error2='5.24e-08', ts2='4.81', photon_index='2.11' WHERE bin_id='86' AND source_name='4FGL J0114.8+1326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 19:01:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0144>
Subject: Job 464780: <4FGL_J0114.8+1326_daily_bin86> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0114.8+1326_daily_bin86 18.7119 13.4342 261619201 261878401 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 :                                   868.16 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             300.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   937 sec.
    Turnaround time :                            961 sec.

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

