aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 135 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 = 17308
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0115.8+2519_weekly_bin559
RA = 18.9539, Dec = 25.3324
tmin = 577065601, tmax = 577670401
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='126481', job_status='RUN', time_executed='2021-07-03 19:20:36.334699', time_epoch_executed='1625365236.33' WHERE source_name='4FGL J0115.8+2519' and cadence='weekly' and bin_id='559'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/126481

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/126481/ft1_4FGL_J0115.8+2519_weekly_bin559.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/126481/ft2_4FGL_J0115.8+2519_weekly_bin559.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/126481/ft1_4FGL_J0115.8+2519_weekly_bin559.fits outfile=/scratch/kocevski/126481/ft1_filteredMKT_4FGL_J0115.8+2519_weekly_bin559.fits ra=18.9539 dec=25.3324 rad=12.0 tmin=577065601.0 tmax=577670401.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 6.39
user 6.05
sys 0.28

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/126481/ft2_4FGL_J0115.8+2519_weekly_bin559.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/126481/ft2_4FGL_J0115.8+2519_weekly_bin559.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/126481/ft1_filteredMKT_4FGL_J0115.8+2519_weekly_bin559.fits evtable="EVENTS" outfile="/scratch/kocevski/126481/ft1_filtered_4FGL_J0115.8+2519_weekly_bin559.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 1.09
user 0.36
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/126481/ft1_filtered_4FGL_J0115.8+2519_weekly_bin559.fits" evtable="EVENTS" scfile=/scratch/kocevski/126481/ft2_4FGL_J0115.8+2519_weekly_bin559.fits sctable="SC_DATA" outfile=/scratch/kocevski/126481/ltcube_577065601_577670401_4FGL_J0115.8+2519_weekly_bin559.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/126481/ft2_4FGL_J0115.8+2519_weekly_bin559.fits
.....................!
real 28.47
user 27.20
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/126481/ft1_filtered_4FGL_J0115.8+2519_weekly_bin559.fits evtable="EVENTS" scfile=/scratch/kocevski/126481/ft2_4FGL_J0115.8+2519_weekly_bin559.fits sctable="SC_DATA" expcube=/scratch/kocevski/126481/ltcube_577065601_577670401_4FGL_J0115.8+2519_weekly_bin559.fits outfile=/scratch/kocevski/126481/expmap_577065601_577670401_4FGL_J0115.8+2519_weekly_bin559.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/126481/ltcube_577065601_577670401_4FGL_J0115.8+2519_weekly_bin559.fits
.....................!
real 193.97
user 185.32
sys 5.48

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 J0115.8+2519 @ 18.9539 25.3324

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/126481/ft1_filtered_4FGL_J0115.8+2519_weekly_bin559.fits scfile=/scratch/kocevski/126481/ft2_4FGL_J0115.8+2519_weekly_bin559.fits outfile=/scratch/kocevski/126481/cmap_577065601_577670401_4FGL_J0115.8+2519_weekly_bin559.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.9539 yref=25.3324 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.69
user 0.43
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/126481/ft1_filtered_4FGL_J0115.8+2519_weekly_bin559.fits scfile=/scratch/kocevski/126481/ft2_4FGL_J0115.8+2519_weekly_bin559.fits outfile=/scratch/kocevski/126481/cmap_HighResolution_577065601_577670401_4FGL_J0115.8+2519_weekly_bin559.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.9539 yref=25.3324 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.77
user 0.45
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/126481/ft1_filtered_4FGL_J0115.8+2519_weekly_bin559.fits evtable="EVENTS" scfile=/scratch/kocevski/126481/ft2_4FGL_J0115.8+2519_weekly_bin559.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/126481/Model_4FGL_J0115.8+2519_weekly_bin559.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/126481/ft1_filtered_4FGL_J0115.8+2519_weekly_bin559.fits.........................!
real 21.36
user 17.82
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/126481/ft1_filtered_4FGL_J0115.8+2519_weekly_bin559.fits', '/scratch/kocevski/126481/ft2_4FGL_J0115.8+2519_weekly_bin559.fits', expMap='/scratch/kocevski/126481/expmap_577065601_577670401_4FGL_J0115.8+2519_weekly_bin559.fits', expCube='/scratch/kocevski/126481/ltcube_577065601_577670401_4FGL_J0115.8+2519_weekly_bin559.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/126481/Model_4FGL_J0115.8+2519_weekly_bin559.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0115.8+2519'

4FGL J0115.8+2519
   Spectrum: PowerLaw
252    Prefactor:  2.767e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
253        Index:  1.918e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
254        Scale:  2.499e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/126481/ft1_filtered_4FGL_J0115.8+2519_weekly_bin559.fits
Spacecraft file(s): /scratch/kocevski/126481/ft2_4FGL_J0115.8+2519_weekly_bin559.fits
Exposure map: /scratch/kocevski/126481/expmap_577065601_577670401_4FGL_J0115.8+2519_weekly_bin559.fits
Exposure cube: /scratch/kocevski/126481/ltcube_577065601_577670401_4FGL_J0115.8+2519_weekly_bin559.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/126481/Model_4FGL_J0115.8+2519_weekly_bin559.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) = 569.610056734

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.324       1.0000         .10000E-03   10000.    
     2 'Prefactor '    38.406       1.0000         .10000E-03   10000.    
     3 'norm      '    2.7084       1.0000         .10000E-03   10000.    
     4 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11864E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1530.9       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10198E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    6769.9       1.0000         .10000E-03   10000.    
    14 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    15 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    16 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .12141E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .17476E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    22 'Prefactor '    .59463       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   569.1099     FROM MIGRAD    STATUS=CONVERGED    466 CALLS     3191 TOTAL
                     EDM=   .41E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.301        117.63       -.29979E-04   -.40994E-05
   2  Prefactor     38.413        57.745        .81189E-06   -.75168E-05
   3  norm          2.7087        3.6362       -.52386E-07    .98080E-04
   4  norm          .10000E-03    25.931       -.98652E-06** at limit **
   5  Prefactor     .10000E-03    51.097        .26103E-04** at limit **
   6  Prefactor     .10000E-03    50.453       -.22567E-04** at limit **
   7  Prefactor     .10000E-03    174.51        .50655E-04** at limit **
   8  norm          .10000E-03    9.7738        .82513E-06** at limit **
   9  norm          .10000E-03    5.6761       -.31302E-06** at limit **
  10  Prefactor     1530.9        2703.1        .21644E-04   -.11168E-05
  11  Prefactor     .10000E-03    711.04       -.25705E-03** at limit **
  12  Prefactor     .10000E-03    92.638       -.18833E-05** at limit **
  13  Prefactor     6769.8        1999.3       -.32498E-04    .78956E-05
  14  Prefactor    10000.0        1000.7        .61074E-04** at limit **
  15  Prefactor     10000.        9875.8        .58667E-03** at limit **
  16  Prefactor    10000.0        7382.8        .12227E-02** at limit **
  17  norm          .10000E-03    19.909       -.94918E-06** at limit **
  18  Prefactor     .10000E-03    157.25       -.40818E-04** at limit **
  19  norm          .10000E-03    9.0350        .22071E-05** at limit **
  20  Prefactor     .10000E-03    479.46        .11772E-03** at limit **
  21  Normalizat    .10000E-01    .11772        .17890E-05** at limit **
  22  Prefactor     .59450        .18816        .59934E-05   -.82436E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.3007
  Prefactor  = 38.4132
  norm       = 2.70867
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 1530.95
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6769.78
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 10000
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.01
  Prefactor  = 0.594501
 **********
 **   18 **HESSE 
 **********

 FCN=   569.1099     FROM HESSE     STATUS=OK           326 CALLS     3517 TOTAL
                     EDM=   .80E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.301        120.47        .96226E-04   -1.4876    
   2  Prefactor     38.413        57.855        .64675E-04   -1.4468    
   3  norm          2.7087        3.6357        .50594E-04   -1.5379    
   4  norm          .10000E-03    25.985        .11872E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    51.258        .16675E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    50.821        .16551E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    174.53        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    9.7751        .72876E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    5.6761        .55532E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1530.9        2702.9        .55545E-04   -.76677    
  11  Prefactor     .10000E-03    711.48        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    92.638        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6769.8        1997.3        .42769E-04    .36180    
  14  Prefactor    10000.0        1000.7        .21164E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10000.        9875.9        .20714E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor    10000.0        7381.9        .19499E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    19.909        .10403E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    157.26        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    9.0349        .70068E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    479.56        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .10000E-01    .11870        .50026E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .59450        .19019        .16217E-03   -1.0782    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.00397e-11
Minuit parameter uncertainties:
  1  91.5725
  2  57.94
  3  3.63598
  4  4.33733e-05
  5  2.7569e-05
  6  0.000278072
  7  3.50822e-06
  8  4.01874e-07
  9  5.92108e-06
  10  3057.16
  11  3.85934e-05
  12  2.98952e-06
  13  2063.61
  14  0.000116676
  15  0.000155819
  16  0.00192184
  17  1.12295e-06
  18  1.89513e-07
  19  2.26751e-08
  20  1.68586e-06
  21  5.62902e-07
  22  0.190392
Done.

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

Extracting fit parameters...

4FGL J0115.8+2519
   Spectrum: PowerLaw
252    Prefactor:  1.000e-04  2.990e-06  1.000e-04  1.000e+04 ( 1.000e-13)
253        Index:  1.918e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
254        Scale:  2.499e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
539    Prefactor:  5.945e-01  1.904e-01  0.000e+00  1.000e+01 ( 1.000e+00)
540        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
541        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
538   Normalization:  1.000e-02  5.629e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 18.954 25.332
Photon Flux Upper Limit: 2.82e-06 ph cm-2 s-1
Energy Flux Upper Limit: 2.10e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/126481/likelihoodResults_577065601_577670401_4FGL_J0115.8+2519_weekly_bin559.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) = 569.10995886
delta logL = -5.12781938369e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 569.109908764
delta logL = -1.18205753097e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20994E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2386       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .59450       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5420E+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=   569.1099     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      271 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10446E-03    49.840        .18142E-01** at limit **
   2  Index         2.1399        5.1450        .50000        .42030E-05
   3  Normalizat    .10000E-01    .16961E-03    .50026E-03** at limit **
   4  Prefactor     .59450        .62072E-02    .16217E-03   -.55581E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000104456
  Index      = 2.13987
  Normalizat = 0.01
  Prefactor  = 0.594502
 **********
 **   18 **HESSE 
 **********

 FCN=   569.1099     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      300 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10446E-03    513.66        .19521E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1399        7.4069        .50000       -.60897    
   3  Normalizat    .10000E-01    .17999E-02    .10005E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .59450        .20221E-01    .32433E-04   -1.0782    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.42173e-09
Minuit parameter uncertainties:
  1  0.0965266
  2  691.604
  3  9.34459e-08
  4  0.0202217
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/126481': 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) = 569.109907788
delta logL = -2.06432900995e-07

Extracting fit parameters...

4FGL J0115.8+2519
   Spectrum: PowerLaw
252    Prefactor:  1.045e-04  9.653e-02  1.000e-04  1.000e+04 ( 1.000e-13)
253        Index:  2.140e+00  6.916e+02  0.000e+00  1.000e+01 (-1.000e+00)
254        Scale:  2.499e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
539    Prefactor:  5.945e-01  2.022e-02  0.000e+00  1.000e+01 ( 1.000e+00)
540        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
541        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
538   Normalization:  1.000e-02  9.345e-08  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 18.954 25.332

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/126481/cmap_HighResolution_577065601_577670401_4FGL_J0115.8+2519_weekly_bin559.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.10e-01', job_status='DONE', photon_flux_upper_limit='2.82e-06', time_completed='2021-07-03 19:27:36.043628', job_id='126481', GAL2='0.59', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1625365656.04', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.59', dlogl='-2.06e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.92' WHERE bin_id='559' AND source_name='4FGL J0115.8+2519' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul  3 19:27:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0267>
Subject: Job 126481: <4FGL_J0115.8+2519_weekly_bin559> in cluster <slac> Done

Job <4FGL_J0115.8+2519_weekly_bin559> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Jul  3 19:16:41 2021
Job was executed on host(s) <bullet0267>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul  3 19:16:43 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul  3 19:16:43 2021
Terminated at Sat Jul  3 19:27:42 2021
Results reported at Sat Jul  3 19:27:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0115.8+2519_weekly_bin559 18.9539 25.3324 577065601 577670401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0115.8+2519 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   392.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             241.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   658 sec.
    Turnaround time :                            661 sec.

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

