aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 61 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 = 7709
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0114.0+6418_daily_bin1692
RA = 18.5151, Dec = 64.304
tmin = 677894401, tmax = 678153601
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='403525', job_status='RUN', time_executed='2022-06-29 04:01:29.968685', time_epoch_executed='1656500489.97' WHERE source_name='4FGL J0114.0+6418' and cadence='daily' and bin_id='1692'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/403525

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/403525/ft1_4FGL_J0114.0+6418_daily_bin1692.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/403525/ft2_4FGL_J0114.0+6418_daily_bin1692.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/403525/ft1_4FGL_J0114.0+6418_daily_bin1692.fits outfile=/scratch/kocevski/403525/ft1_filteredMKT_4FGL_J0114.0+6418_daily_bin1692.fits ra=18.5151 dec=64.304 rad=12.0 tmin=677894401.0 tmax=678153601.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 4.86
user 4.21
sys 0.27

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/403525/ft2_4FGL_J0114.0+6418_daily_bin1692.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/403525/ft2_4FGL_J0114.0+6418_daily_bin1692.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/403525/ft1_filteredMKT_4FGL_J0114.0+6418_daily_bin1692.fits evtable="EVENTS" outfile="/scratch/kocevski/403525/ft1_filtered_4FGL_J0114.0+6418_daily_bin1692.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 0.53
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 3802

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/403525/ft1_filtered_4FGL_J0114.0+6418_daily_bin1692.fits" evtable="EVENTS" scfile=/scratch/kocevski/403525/ft2_4FGL_J0114.0+6418_daily_bin1692.fits sctable="SC_DATA" outfile=/scratch/kocevski/403525/ltcube_677894401_678153601_4FGL_J0114.0+6418_daily_bin1692.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/403525/ft2_4FGL_J0114.0+6418_daily_bin1692.fits
.....................!
real 13.75
user 13.37
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/403525/ft1_filtered_4FGL_J0114.0+6418_daily_bin1692.fits evtable="EVENTS" scfile=/scratch/kocevski/403525/ft2_4FGL_J0114.0+6418_daily_bin1692.fits sctable="SC_DATA" expcube=/scratch/kocevski/403525/ltcube_677894401_678153601_4FGL_J0114.0+6418_daily_bin1692.fits outfile=/scratch/kocevski/403525/expmap_677894401_678153601_4FGL_J0114.0+6418_daily_bin1692.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/403525/ltcube_677894401_678153601_4FGL_J0114.0+6418_daily_bin1692.fits
.....................!
real 191.75
user 186.25
sys 5.09

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
Extended source HB 3 in ROI with RadialDisk spatial model.
Extended source W 3 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/W3.fits is the correct path to the extended template.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Extended source FHES J2208.4+6443 in ROI with RadialGaussian spatial model.
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Added 199 point sources and 5 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0114.0+6418 @ 18.5151 64.304

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/403525/ft1_filtered_4FGL_J0114.0+6418_daily_bin1692.fits scfile=/scratch/kocevski/403525/ft2_4FGL_J0114.0+6418_daily_bin1692.fits outfile=/scratch/kocevski/403525/cmap_677894401_678153601_4FGL_J0114.0+6418_daily_bin1692.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.5151 yref=64.304 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 0.57
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/403525/ft1_filtered_4FGL_J0114.0+6418_daily_bin1692.fits scfile=/scratch/kocevski/403525/ft2_4FGL_J0114.0+6418_daily_bin1692.fits outfile=/scratch/kocevski/403525/cmap_HighResolution_677894401_678153601_4FGL_J0114.0+6418_daily_bin1692.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.5151 yref=64.304 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 0.56
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/403525/ft1_filtered_4FGL_J0114.0+6418_daily_bin1692.fits evtable="EVENTS" scfile=/scratch/kocevski/403525/ft2_4FGL_J0114.0+6418_daily_bin1692.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/403525/Model_4FGL_J0114.0+6418_daily_bin1692.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 CTB 109
adding source EG_v02
adding source FHES J2208.4+6443
adding source FHES J2304.0+5406
adding source GAL_V02
adding source HB 3
adding source W 3
Working on...
/scratch/kocevski/403525/ft1_filtered_4FGL_J0114.0+6418_daily_bin1692.fits.....................!
real 498.63
user 495.03
sys 1.43

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/403525/ft1_filtered_4FGL_J0114.0+6418_daily_bin1692.fits', '/scratch/kocevski/403525/ft2_4FGL_J0114.0+6418_daily_bin1692.fits', expMap='/scratch/kocevski/403525/expmap_677894401_678153601_4FGL_J0114.0+6418_daily_bin1692.fits', expCube='/scratch/kocevski/403525/ltcube_677894401_678153601_4FGL_J0114.0+6418_daily_bin1692.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/403525/Model_4FGL_J0114.0+6418_daily_bin1692.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0114.0+6418'

4FGL J0114.0+6418
   Spectrum: PowerLaw
165    Prefactor:  1.665e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
166        Index:  2.110e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
167        Scale:  4.720e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/403525/ft1_filtered_4FGL_J0114.0+6418_daily_bin1692.fits
Spacecraft file(s): /scratch/kocevski/403525/ft2_4FGL_J0114.0+6418_daily_bin1692.fits
Exposure map: /scratch/kocevski/403525/expmap_677894401_678153601_4FGL_J0114.0+6418_daily_bin1692.fits
Exposure cube: /scratch/kocevski/403525/ltcube_677894401_678153601_4FGL_J0114.0+6418_daily_bin1692.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/403525/Model_4FGL_J0114.0+6418_daily_bin1692.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) = 34992.2582592

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .14865E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    8.5666       1.0000         .10000E-03   10000.    
     6 'norm      '    .10070E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10410E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    36.589       1.0000         .10000E-03   10000.    
     9 'norm      '    .24973E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .61730       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.7091       1.0000         .10000E-03   10000.    
    14 'norm      '    .75498       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .35379E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    6.3197       1.0000         .10000E-03   10000.    
    17 'norm      '    7.2629       1.0000         .10000E-03   10000.    
    18 'norm      '    .11740E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1197       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .96711       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6920E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   34992.25     FROM MIGRAD    STATUS=CONVERGED    456 CALLS     2145 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .88938       -.70878E-08** at limit **
   2  Prefactor     .10000E-03    122.02        .29031E-05** at limit **
   3  norm          .10000E-03    1.6422       -.13992E-09** at limit **
   4  norm          .10000E-03    2.5701        .18421E-08** at limit **
   5  norm          8.5616        5.2474       -.24532E-06    .11854E-04
   6  norm          .10000E-03    16.138       -.42544E-05** at limit **
   7  norm          .10000E-03    6.9024       -.20065E-06** at limit **
   8  Prefactor     36.558        28.296       -.59952E-05    .10101E-04
   9  norm          .10005E-03    1.6696       -.51906E-06** at limit **
  10  Prefactor     .61297        1.9467       -.53773E-07    .64878E-04
  11  Prefactor     .10000E-03    14.721        .51405E-05** at limit **
  12  Prefactor     .10000E-03    36.464       -.23976E-06** at limit **
  13  Prefactor     1.7094        .96108        .10760E-07    .44796E-04
  14  norm          .75714        .62382        .13657E-07   -.17819E-03
  15  Prefactor     .10000E-03    1.0508        .53841E-07** at limit **
  16  norm          6.3198        .76684       -.10383E-07   -.60364E-05
  17  norm          7.2625        7.9683       -.45248E-07   -.96402E-05
  18  norm          .10000E-03    8.8690        .82271E-06** at limit **
  19  Normalizat    1.1195        .31412        .44447E-06   -.25897E-05
  20  Prefactor     .96709        .31120E-01    .14440E-06   -.23963E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 8.56163
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 36.5579
  norm       = 0.000100048
  Prefactor  = 0.612966
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.70942
  norm       = 0.757143
  Prefactor  = 0.000100002
  norm       = 6.31983
  norm       = 7.26253
  norm       = 0.0001
  Normalizat = 1.11948
  Prefactor  = 0.967091
 **********
 **   18 **HESSE 
 **********

 FCN=   34992.25     FROM HESSE     STATUS=OK           305 CALLS     2450 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .91173        .34416E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    126.15        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.6471        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    2.5707        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          8.5616        5.2339        .13696E-03   -1.5123    
   6  norm          .10000E-03    16.159        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    7.0240        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     36.558        28.342        .66255E-04   -1.4498    
   9  norm          .10005E-03    1.6619        .95553E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .61297        6.0279        .44590E-02   -1.5551    
  11  Prefactor     .10000E-03    14.851        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    36.643        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.7094        .95739        .13248E-03   -1.5446    
  14  norm          .75714        14.171        .24542E-02   -1.5534    
  15  Prefactor     .10000E-03    8.3668        .36518E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          6.3198        .76617        .55021E-04   -1.5205    
  17  norm          7.2625        7.9639        .74417E-03   -1.5169    
  18  norm          .10000E-03    9.2465        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1195        .29568        .10877E-02   -.89129    
  20  Prefactor     .96709        .30482E-01    .11785E-03   -.93835    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.20787e-09
Minuit parameter uncertainties:
  1  9.39549e-07
  2  6.7851e-05
  3  2.12518e-07
  4  2.86342e-08
  5  5.23421
  6  5.51966e-07
  7  3.77955e-05
  8  28.3522
  9  0.000565364
  10  3.84461
  11  3.81451e-05
  12  2.07539e-05
  13  0.957396
  14  6.55246
  15  0.000251396
  16  0.766169
  17  7.96502
  18  2.54407e-05
  19  0.296119
  20  0.0304822
Done.

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

Extracting fit parameters...

4FGL J0114.0+6418
   Spectrum: PowerLaw
165    Prefactor:  3.656e+01  2.835e+01  1.000e-04  1.000e+04 ( 1.000e-14)
166        Index:  2.110e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
167        Scale:  4.720e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
681    Prefactor:  9.671e-01  3.048e-02  0.000e+00  1.000e+01 ( 1.000e+00)
682        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
683        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
672   Normalization:  1.119e+00  2.961e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.17
Ra Dec: 18.515 64.304
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 1.12e-07 +/- 8.70e-08
Energy Flux (Fixed Index): 6.03e-05 +/- 4.67e-05

TS (Fixed Index): 2.17
Ra Dec: 18.515 64.304
Photon Flux Upper Limit: 2.83e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.14e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/403525/likelihoodResults_677894401_678153601_4FGL_J0114.0+6418_daily_bin1692.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): 102
logL (Free Index) = 34989.866131
delta logL = 2.38608083948

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 34989.8404005
delta logL = 2.41181132763

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.3964       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4564       1.0000          .0000       10.000    
     3 'Normalizat'    .98841       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96996       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6920E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   34989.84     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      263 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3953        5.1882        .91853E-02    .46855E-02
   2  Index         3.4566        .86424        .67384E-01    .15277E-02
   3  Normalizat    .98838        .88989E-01    .25657        .16963E-03
   4  Prefactor     .96997        .88433E-02    .26615E-01   -.76886E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.39529
  Index      = 3.45663
  Normalizat = 0.988377
  Prefactor  = 0.969965
 **********
 **   18 **HESSE 
 **********

 FCN=   34989.84     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      296 TOTAL
                     EDM=   .45E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3953        11.226        .87135E-04   -1.5472    
   2  Index         3.4566        1.6235        .36198E-02   -.31380    
   3  Normalizat    .98838        .27282        .11461E-02   -.93421    
   4  Prefactor     .96997        .27410E-01    .11763E-03   -.93737    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.53646e-06
Minuit parameter uncertainties:
  1  7.91719
  2  1.65676
  3  0.273208
  4  0.0274106
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/403525': 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): 102
logL (Free Index) = 34989.8404004
delta logL = 2.41181141166

Extracting fit parameters...

4FGL J0114.0+6418
   Spectrum: PowerLaw
165    Prefactor:  1.395e+00  7.917e+00  1.000e-04  1.000e+04 ( 1.000e-14)
166        Index:  3.457e+00  1.657e+00  0.000e+00  1.000e+01 (-1.000e+00)
167        Scale:  4.720e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
681    Prefactor:  9.700e-01  2.741e-02  0.000e+00  1.000e+01 ( 1.000e+00)
682        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
683        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
672   Normalization:  9.884e-01  2.732e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.16
Ra Dec: 18.515 64.304
Photon Index (Free Index): 3.46 +/- 1.66
Photon Flux (Free Index): 3.48e-07 +/- 1.41e-07
Energy Flux (Free Index): 5.86e-05 +/- 3.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/403525/cmap_HighResolution_677894401_678153601_4FGL_J0114.0+6418_daily_bin1692.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.14e-02', comment='SUCCESS', photon_flux='1.12e-07', energy_flux2='5.86e-05', photon_flux_error='8.70e-08', dlogl='2.41e+00', energy_flux='6.03e-05', photon_flux2='3.48e-07', job_status='DONE', time_completed='2022-06-29 04:55:47.502242', photon_index_error2='1.66', photon_index2='3.46', ts='2.17', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='2.83e-07', energy_flux_error2='3.37e-05', EG='1.12', time_epoch_completed='1656503747.5', return_code='0', job_id='403525', GAL2='0.97', EG2='0.99', return_code2='102', energy_flux_error='4.67e-05', photon_flux_error2='1.41e-07', ts2='7.16', photon_index='2.11' WHERE bin_id='1692' AND source_name='4FGL J0114.0+6418' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jun 29 04:55:47 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0093>
Subject: Job 403525: <4FGL_J0114.0+6418_daily_bin1692> in cluster <slac> Done

Job <4FGL_J0114.0+6418_daily_bin1692> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Jun 29 00:04:54 2022
Job was executed on host(s) <bullet0093>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jun 29 04:00:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jun 29 04:00:15 2022
Terminated at Wed Jun 29 04:55:48 2022
Results reported at Wed Jun 29 04:55:48 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0114.0+6418_daily_bin1692 18.5151 64.304 677894401 678153601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0114.0+6418 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   2860.00 sec.
    Max Memory :                                 1261 MB
    Average Memory :                             372.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   3335 sec.
    Turnaround time :                            17454 sec.

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

