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


Performing analysis on: 4FGL_J0115.8+2519_weekly_bin611
RA = 18.9539, Dec = 25.3324
tmin = 608515201, tmax = 609120001
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='126582', job_status='RUN', time_executed='2021-07-03 19:17:12.144172', time_epoch_executed='1625365032.14' WHERE source_name='4FGL J0115.8+2519' and cadence='weekly' and bin_id='611'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/126582

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/126582/ft1_4FGL_J0115.8+2519_weekly_bin611.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/126582/ft2_4FGL_J0115.8+2519_weekly_bin611.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/126582/ft1_4FGL_J0115.8+2519_weekly_bin611.fits outfile=/scratch/kocevski/126582/ft1_filteredMKT_4FGL_J0115.8+2519_weekly_bin611.fits ra=18.9539 dec=25.3324 rad=12.0 tmin=608515201.0 tmax=609120001.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 7.89
user 7.36
sys 0.31

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/126582/ft2_4FGL_J0115.8+2519_weekly_bin611.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/126582/ft1_filteredMKT_4FGL_J0115.8+2519_weekly_bin611.fits evtable="EVENTS" outfile="/scratch/kocevski/126582/ft1_filtered_4FGL_J0115.8+2519_weekly_bin611.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.12
user 0.40
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/126582/ft1_filtered_4FGL_J0115.8+2519_weekly_bin611.fits" evtable="EVENTS" scfile=/scratch/kocevski/126582/ft2_4FGL_J0115.8+2519_weekly_bin611.fits sctable="SC_DATA" outfile=/scratch/kocevski/126582/ltcube_608515201_609120001_4FGL_J0115.8+2519_weekly_bin611.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/126582/ft2_4FGL_J0115.8+2519_weekly_bin611.fits
.....................!
real 30.29
user 26.87
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/126582/ft1_filtered_4FGL_J0115.8+2519_weekly_bin611.fits evtable="EVENTS" scfile=/scratch/kocevski/126582/ft2_4FGL_J0115.8+2519_weekly_bin611.fits sctable="SC_DATA" expcube=/scratch/kocevski/126582/ltcube_608515201_609120001_4FGL_J0115.8+2519_weekly_bin611.fits outfile=/scratch/kocevski/126582/expmap_608515201_609120001_4FGL_J0115.8+2519_weekly_bin611.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/126582/ltcube_608515201_609120001_4FGL_J0115.8+2519_weekly_bin611.fits
.....................!
real 195.34
user 185.11
sys 5.30

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/126582/ft1_filtered_4FGL_J0115.8+2519_weekly_bin611.fits scfile=/scratch/kocevski/126582/ft2_4FGL_J0115.8+2519_weekly_bin611.fits outfile=/scratch/kocevski/126582/cmap_608515201_609120001_4FGL_J0115.8+2519_weekly_bin611.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.62
user 0.43
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/126582/ft1_filtered_4FGL_J0115.8+2519_weekly_bin611.fits scfile=/scratch/kocevski/126582/ft2_4FGL_J0115.8+2519_weekly_bin611.fits outfile=/scratch/kocevski/126582/cmap_HighResolution_608515201_609120001_4FGL_J0115.8+2519_weekly_bin611.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.61
user 0.42
sys 0.18

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/126582/ft1_filtered_4FGL_J0115.8+2519_weekly_bin611.fits', '/scratch/kocevski/126582/ft2_4FGL_J0115.8+2519_weekly_bin611.fits', expMap='/scratch/kocevski/126582/expmap_608515201_609120001_4FGL_J0115.8+2519_weekly_bin611.fits', expCube='/scratch/kocevski/126582/ltcube_608515201_609120001_4FGL_J0115.8+2519_weekly_bin611.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/126582/Model_4FGL_J0115.8+2519_weekly_bin611.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/126582/ft1_filtered_4FGL_J0115.8+2519_weekly_bin611.fits
Spacecraft file(s): /scratch/kocevski/126582/ft2_4FGL_J0115.8+2519_weekly_bin611.fits
Exposure map: /scratch/kocevski/126582/expmap_608515201_609120001_4FGL_J0115.8+2519_weekly_bin611.fits
Exposure cube: /scratch/kocevski/126582/ltcube_608515201_609120001_4FGL_J0115.8+2519_weekly_bin611.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/126582/Model_4FGL_J0115.8+2519_weekly_bin611.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) = 4348.99783562

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.757       1.0000         .10000E-03   10000.    
     2 'Prefactor '    23.481       1.0000         .10000E-03   10000.    
     3 'norm      '    2.5427       1.0000         .10000E-03   10000.    
     4 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.1972       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .48932       1.0000         .10000E-03   10000.    
     8 'norm      '    .46802       1.0000         .10000E-03   10000.    
     9 'norm      '    .10051E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    20.990       1.0000         .10000E-03   10000.    
    11 'Prefactor '    24.371       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11197E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10225E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    16.522       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    224.24       1.0000         .10000E-03   10000.    
    17 'norm      '    .10098E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10203E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10507E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .90683       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0175       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4348.978     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     2055 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.757        2.7134       -.59350E-06    .83586E-03
   2  Prefactor     23.472        11.998        .15277E-05   -.94993E-03
   3  norm          2.5422        2.3434        .24970E-06    .55133E-04
   4  norm          .10000E-03    3.2343       -.20733E-07** at limit **
   5  Prefactor     .10000E-03    5.0845       -.28248E-06** at limit **
   6  Prefactor     1.1928        31.143       -.95793E-05   -.70099E-03
   7  Prefactor     .43011E-03    9515.9       -.13082E-03** at limit **
   8  norm          .47192        .91888       -.29201E-05   -.52093E-04
   9  norm          .10000E-03    2.0026        .26948E-06** at limit **
  10  Prefactor     20.997        8.2168       -.12049E-05    .29092E-02
  11  Prefactor     24.422        18.943        .35157E-05   -.69559E-02
  12  Prefactor     .10000E-03    7.0513       -.50961E-07** at limit **
  13  Prefactor     .10000E-03    11.564       -.46694E-06** at limit **
  14  Prefactor     16.518        18.857       -.22157E-05   -.64735E-02
  15  Prefactor     .10000E-03    28.888       -.13273E-05** at limit **
  16  Prefactor     224.29        8.4820        .29771E-06   -.10123E-02
  17  norm          .10000E-03    .88855       -.33035E-07** at limit **
  18  Prefactor     .10000E-03    13.813        .65252E-06** at limit **
  19  norm          .10000E-03    3.2496       -.54203E-07** at limit **
  20  Prefactor     .10006E-03    84.813        .92402E-05** at limit **
  21  Normalizat    .90713        .28501       -.32531E-05   -.64579E-04
  22  Prefactor     1.0175        .18878       -.39953E-07   -.11001E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.757
  Prefactor  = 23.4718
  norm       = 2.54216
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.19281
  Prefactor  = 0.00043011
  norm       = 0.47192
  norm       = 0.0001
  Prefactor  = 20.9966
  Prefactor  = 24.4219
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.5182
  Prefactor  = 0.0001
  Prefactor  = 224.289
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100056
  Normalizat = 0.907129
  Prefactor  = 1.01748
 **********
 **   18 **HESSE 
 **********

 FCN=   4348.978     FROM HESSE     STATUS=OK           404 CALLS     2459 TOTAL
                     EDM=   .59E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.757        50.896        .30540E-02   -1.5052    
   2  Prefactor     23.472        31.535        .20666E-02   -1.4739    
   3  norm          2.5422        2.3512        .64024E-02   -1.5389    
   4  norm          .10000E-03    3.2321        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.0885        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.1928        32.118        .10384E-01   -1.5490    
   7  Prefactor     .43011E-03    107.75        .14119       -1.5712    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .47192        1.1290        .19447E-01   -1.5571    
   9  norm          .10000E-03    1.0200        .24106E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     20.997        43.913        .21856E-02   -1.4791    
  11  Prefactor     24.422        47.601        .20285E-02   -1.4719    
  12  Prefactor     .10000E-03    7.0614        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    11.270        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     16.518        21.971        .24634E-02   -1.4895    
  15  Prefactor     .10000E-03    28.893        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     224.29        158.09        .67541E-03   -1.2701    
  17  norm          .10000E-03    .56191        .26102E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    13.693        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    3.2457        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10006E-03    85.543        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .90713        .24549        .68106E-01   -.96210    
  22  Prefactor     1.0175        .15876        .42398E-01   -.92149    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.93123e-07
Minuit parameter uncertainties:
  1  46.8616
  2  31.5569
  3  2.35129
  4  2.30752e-07
  5  3.72695e-05
  6  12.386
  7  0.377876
  8  1.12901
  9  1.70674e-05
  10  43.9809
  11  47.6749
  12  2.63103e-06
  13  4.8915e-05
  14  21.9814
  15  7.03515e-05
  16  158.392
  17  2.9667e-06
  18  4.04803e-05
  19  6.04608e-06
  20  0.00437684
  21  0.24579
  22  0.158838
Done.

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

Extracting fit parameters...

4FGL J0115.8+2519
   Spectrum: PowerLaw
252    Prefactor:  1.000e-04  2.631e-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:  1.017e+00  1.588e-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:  9.071e-01  2.458e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 18.954 25.332
Photon Flux Upper Limit: 1.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.85e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/126582/likelihoodResults_608515201_609120001_4FGL_J0115.8+2519_weekly_bin611.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) = 4348.97904961
delta logL = -0.000673879497299

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4348.97837589
delta logL = -1.58775947057e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10476E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9429       1.0000          .0000       10.000    
     3 'Normalizat'    .90715       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0175       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.

 FCN=   4348.978     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      206 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    39.385        .90712E-02** at limit **
   2  Index         1.9699        6.0758        .50000       -.30689E-04
   3  Normalizat    .90713        .13876E-01    .68107E-01   -.12744E-03
   4  Prefactor     1.0175        .92322E-02    .42400E-01   -.72180E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100006
  Index      = 1.96987
  Normalizat = 0.907125
  Prefactor  = 1.01749
 **********
 **   18 **HESSE 
 **********

 FCN=   4348.978     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      239 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    324.73        .17505E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9699        5.5923        .50000       -.65105    
   3  Normalizat    .90713        .41512E-01    .30130E-03   -.96210    
   4  Prefactor     1.0175        .27655E-01    .18926E-03   -.92149    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.56408e-07
Minuit parameter uncertainties:
  1  0.00287382
  2  26.3883
  3  0.0415134
  4  0.0276557
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/126582': 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) = 4348.97837535
delta logL = 3.84866325476e-07

Extracting fit parameters...

4FGL J0115.8+2519
   Spectrum: PowerLaw
252    Prefactor:  1.000e-04  2.874e-03  1.000e-04  1.000e+04 ( 1.000e-13)
253        Index:  1.970e+00  2.639e+01  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:  1.017e+00  2.766e-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:  9.071e-01  4.151e-02  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/126582/cmap_HighResolution_608515201_609120001_4FGL_J0115.8+2519_weekly_bin611.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.85e-03', job_status='DONE', photon_flux_upper_limit='1.05e-07', time_completed='2021-07-03 19:27:06.255923', job_id='126582', GAL2='1.02', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1625365626.26', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='3.85e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.92' WHERE bin_id='611' AND source_name='4FGL J0115.8+2519' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul  3 19:27:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 126582: <4FGL_J0115.8+2519_weekly_bin611> in cluster <slac> Done

Job <4FGL_J0115.8+2519_weekly_bin611> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Jul  3 19:16:53 2021
Job was executed on host(s) <bullet0105>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul  3 19:16:54 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:54 2021
Terminated at Sat Jul  3 19:27:11 2021
Results reported at Sat Jul  3 19:27:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0115.8+2519_weekly_bin611 18.9539 25.3324 608515201 609120001 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 :                                   568.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             308.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   617 sec.
    Turnaround time :                            618 sec.

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

