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


Performing analysis on: 4FGL_J0100.3+0745_weekly_bin499
RA = 15.0932, Dec = 7.7647
tmin = 540777601, tmax = 541382401
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='36448', job_status='RUN', time_executed='2021-07-03 14:08:13.420125', time_epoch_executed='1625346493.42' WHERE source_name='4FGL J0100.3+0745' and cadence='weekly' and bin_id='499'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/36448

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/36448/ft1_4FGL_J0100.3+0745_weekly_bin499.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/36448/ft2_4FGL_J0100.3+0745_weekly_bin499.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/36448/ft1_4FGL_J0100.3+0745_weekly_bin499.fits outfile=/scratch/kocevski/36448/ft1_filteredMKT_4FGL_J0100.3+0745_weekly_bin499.fits ra=15.0932 dec=7.7647 rad=12.0 tmin=540777601.0 tmax=541382401.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 9.01
user 7.50
sys 0.30

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/36448/ft2_4FGL_J0100.3+0745_weekly_bin499.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/36448/ft2_4FGL_J0100.3+0745_weekly_bin499.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/36448/ft1_filteredMKT_4FGL_J0100.3+0745_weekly_bin499.fits evtable="EVENTS" outfile="/scratch/kocevski/36448/ft1_filtered_4FGL_J0100.3+0745_weekly_bin499.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.58
user 0.37
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/36448/ft1_filtered_4FGL_J0100.3+0745_weekly_bin499.fits" evtable="EVENTS" scfile=/scratch/kocevski/36448/ft2_4FGL_J0100.3+0745_weekly_bin499.fits sctable="SC_DATA" outfile=/scratch/kocevski/36448/ltcube_540777601_541382401_4FGL_J0100.3+0745_weekly_bin499.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/36448/ft2_4FGL_J0100.3+0745_weekly_bin499.fits
.....................!
real 26.52
user 25.64
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/36448/ft1_filtered_4FGL_J0100.3+0745_weekly_bin499.fits evtable="EVENTS" scfile=/scratch/kocevski/36448/ft2_4FGL_J0100.3+0745_weekly_bin499.fits sctable="SC_DATA" expcube=/scratch/kocevski/36448/ltcube_540777601_541382401_4FGL_J0100.3+0745_weekly_bin499.fits outfile=/scratch/kocevski/36448/expmap_540777601_541382401_4FGL_J0100.3+0745_weekly_bin499.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/36448/ltcube_540777601_541382401_4FGL_J0100.3+0745_weekly_bin499.fits
.....................!
real 194.19
user 187.10
sys 4.38

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 167 point sources and 0 extended sources

Setting source of interest to:
4FGL J0100.3+0745 @ 15.0932 7.7647

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/36448/ft1_filtered_4FGL_J0100.3+0745_weekly_bin499.fits scfile=/scratch/kocevski/36448/ft2_4FGL_J0100.3+0745_weekly_bin499.fits outfile=/scratch/kocevski/36448/cmap_540777601_541382401_4FGL_J0100.3+0745_weekly_bin499.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=15.0932 yref=7.7647 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.58
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/36448/ft1_filtered_4FGL_J0100.3+0745_weekly_bin499.fits scfile=/scratch/kocevski/36448/ft2_4FGL_J0100.3+0745_weekly_bin499.fits outfile=/scratch/kocevski/36448/cmap_HighResolution_540777601_541382401_4FGL_J0100.3+0745_weekly_bin499.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=15.0932 yref=7.7647 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.58
user 0.42
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/36448/ft1_filtered_4FGL_J0100.3+0745_weekly_bin499.fits evtable="EVENTS" scfile=/scratch/kocevski/36448/ft2_4FGL_J0100.3+0745_weekly_bin499.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/36448/Model_4FGL_J0100.3+0745_weekly_bin499.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/36448/ft1_filtered_4FGL_J0100.3+0745_weekly_bin499.fits.....................!
real 126.78
user 125.28
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/36448/ft1_filtered_4FGL_J0100.3+0745_weekly_bin499.fits', '/scratch/kocevski/36448/ft2_4FGL_J0100.3+0745_weekly_bin499.fits', expMap='/scratch/kocevski/36448/expmap_540777601_541382401_4FGL_J0100.3+0745_weekly_bin499.fits', expCube='/scratch/kocevski/36448/ltcube_540777601_541382401_4FGL_J0100.3+0745_weekly_bin499.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/36448/Model_4FGL_J0100.3+0745_weekly_bin499.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0100.3+0745'

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  6.478e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
238        alpha:  1.684e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
239         beta:  1.514e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
240           Eb:  1.593e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/36448/ft1_filtered_4FGL_J0100.3+0745_weekly_bin499.fits
Spacecraft file(s): /scratch/kocevski/36448/ft2_4FGL_J0100.3+0745_weekly_bin499.fits
Exposure map: /scratch/kocevski/36448/expmap_540777601_541382401_4FGL_J0100.3+0745_weekly_bin499.fits
Exposure cube: /scratch/kocevski/36448/ltcube_540777601_541382401_4FGL_J0100.3+0745_weekly_bin499.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/36448/Model_4FGL_J0100.3+0745_weekly_bin499.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) = 13035.3995732

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.1208       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .20661E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    6.2352       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.2328       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .91078       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.6358       1.0000         .10000E-03   10000.    
     7 'norm      '    13.678       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    67.633       1.0000         .10000E-03   10000.    
    10 'norm      '    1.0419       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.2616       1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.7679       1.0000         .10000E-03   10000.    
    15 'Normalizat'    .97513       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1557       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13035.40     FROM MIGRAD    STATUS=CONVERGED    301 CALLS     1473 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.1215        2.7361        .57378E-02    .68895E-03
   2  Prefactor     .10000E-03    2.6132        .90712E-01** at limit **
   3  norm          6.2351        4.2537        .40190E-02   -.80911E-03
   4  Prefactor     5.2328        5.2115        .43930E-02    .21477E-02
   5  Prefactor     .91068        2.1831        .58132E-01    .17462E-02
   6  Prefactor     1.6359        1.1367        .82623E-02    .17949E-03
   7  norm          13.678        10.060        .27076E-02    .60185E-03
   8  Prefactor     .10000E-03    12.386        .90712E-02** at limit **
   9  Prefactor     67.633        43.755        .12201E-02    .74099E-03
  10  norm          1.0419        .79424        .12246E-01    .54089E-03
  11  Prefactor     .10000E-03    30.184        .90712E-02** at limit **
  12  Prefactor     .10000E-03    2.6678        .90712E-02** at limit **
  13  Prefactor     4.2596        4.4021        .48794E-02    .69645E-03
  14  Prefactor     9.7677        29.661        .32054E-02    .23820E-03
  15  Normalizat    .97513        .13616        .45854E-01    .34798E-04
  16  Prefactor     1.1557        .10558        .35774E-01    .42328E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.12145
  Prefactor  = 0.0001
  norm       = 6.23514
  Prefactor  = 5.2328
  Prefactor  = 0.910684
  Prefactor  = 1.63585
  norm       = 13.678
  Prefactor  = 0.0001
  Prefactor  = 67.633
  norm       = 1.04195
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.25957
  Prefactor  = 9.76769
  Normalizat = 0.975134
  Prefactor  = 1.15567
 **********
 **   18 **HESSE 
 **********

 FCN=   13035.40     FROM HESSE     STATUS=OK           207 CALLS     1680 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.1215        2.7113        .16987E-03   -1.5355    
   2  Prefactor     .10000E-03    12.813        .35506E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          6.2351        4.2536        .16076E-03   -1.5209    
   4  Prefactor     5.2328        5.1961        .87860E-03   -1.5250    
   5  Prefactor     .91068        2.1275        .25035E-03   -1.5517    
   6  Prefactor     1.6359        1.1351        .98443E-04   -1.5452    
   7  norm          13.678        10.062        .54151E-03   -1.4968    
   8  Prefactor     .10000E-03    12.402        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     67.633        43.587        .48805E-04   -1.4061    
  10  norm          1.0419        .79643        .83391E-04   -1.5504    
  11  Prefactor     .10000E-03    30.378        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.6761        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.2596        4.3896        .19518E-03   -1.5295    
  14  Prefactor     9.7677        29.655        .12822E-03   -1.5083    
  15  Normalizat    .97513        .15345        .28575E-03   -.93868    
  16  Prefactor     1.1557        .11997        .20950E-03   -.87707    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.16241e-09
Minuit parameter uncertainties:
  1  2.71138
  2  6.46161e-06
  3  4.2538
  4  5.19659
  5  2.12763
  6  1.13514
  7  10.0629
  8  5.22866e-06
  9  43.6072
  10  0.796437
  11  9.81905e-06
  12  4.43362e-07
  13  4.38995
  14  29.6994
  15  0.153516
  16  0.119998
Done.

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

Extracting fit parameters...

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  1.368e+01  1.006e+01  1.000e-04  1.000e+04 ( 1.000e-13)
238        alpha:  1.684e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
239         beta:  1.514e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
240           Eb:  1.593e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.156e+00  1.200e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  9.751e-01  1.535e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.26
Ra Dec: 15.093 7.765
Photon Index (Fixed Index): 1.68 +/- 0.00
Photon Flux (Fixed Index): 1.31e-08 +/- 9.65e-09
Energy Flux (Fixed Index): 1.75e-05 +/- 1.29e-05

TS (Fixed Index): 3.26
Ra Dec: 15.093 7.765
Photon Flux Upper Limit: 3.60e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.80e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/36448/likelihoodResults_540777601_541382401_4FGL_J0100.3+0745_weekly_bin499.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) = 13034.4540368
delta logL = 0.944250553766

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13034.425939
delta logL = 0.972348358971

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.4761       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.0654       1.0000          .0000       5.0000    
     3 'Normalizat'    .92068       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1762       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13034.43     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      261 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.4683        43.578        .42926E-02    .63670E-03
   2  alpha         3.0663        3.7433        .22281        .17837E-03
   3  Normalizat    .92067        .56068E-01    .66319E-01    .22746E-04
   4  Prefactor     1.1762        .36637E-01    .35219E-01   -.35271E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 5.46829
  alpha      = 3.06627
  Normalizat = 0.920667
  Prefactor  = 1.1762
 **********
 **   18 **HESSE 
 **********

 FCN=   13034.43     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      294 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.4683        70.444        .13319E-03   -1.5240    
   2  alpha         3.0663        4.0300        .11079E-01    .22849    
   3  Normalizat    .92067        .24135        .29336E-03   -.95738    
   4  Prefactor     1.1762        .15882        .20783E-03   -.87067    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.38339e-09
Minuit parameter uncertainties:
  1  39.3101
  2  4.20897
  3  0.24163
  4  0.158884
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/36448': 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) = 13034.4259385
delta logL = 0.972348850477

Extracting fit parameters...

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  5.468e+00  3.931e+01  1.000e-04  1.000e+04 ( 1.000e-13)
238        alpha:  3.066e+00  4.209e+00  0.000e+00  5.000e+00 ( 1.000e+00)
239         beta:  1.514e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
240           Eb:  1.593e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.176e+00  1.589e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  9.207e-01  2.416e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.23
Ra Dec: 15.093 7.765
Photon Index (Free Index): 3.07 +/- 4.21
Photon Flux (Free Index): 5.87e-08 +/- 1.11e-07
Energy Flux (Free Index): 1.40e-05 +/- 1.12e-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/36448/cmap_HighResolution_540777601_541382401_4FGL_J0100.3+0745_weekly_bin499.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.80e-05', comment='SUCCESS', photon_flux='1.31e-08', energy_flux2='1.40e-05', photon_flux_error='9.65e-09', dlogl='9.72e-01', energy_flux='1.75e-05', photon_flux2='5.87e-08', job_status='DONE', time_completed='2021-07-03 14:22:18.514662', photon_index_error2='4.21', photon_index2='3.07', ts='3.26', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', photon_flux_upper_limit='3.60e-08', energy_flux_error2='1.12e-05', EG='0.98', time_epoch_completed='1625347338.51', return_code='0', job_id='36448', GAL2='1.18', EG2='0.92', return_code2='102', energy_flux_error='1.29e-05', photon_flux_error2='1.11e-07', ts2='5.23', photon_index='1.68' WHERE bin_id='499' AND source_name='4FGL J0100.3+0745' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul  3 14:22:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0228>
Subject: Job 36448: <4FGL_J0100.3+0745_weekly_bin499> in cluster <slac> Done

Job <4FGL_J0100.3+0745_weekly_bin499> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Jul  3 14:06:45 2021
Job was executed on host(s) <bullet0228>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul  3 14:06:45 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul  3 14:06:45 2021
Terminated at Sat Jul  3 14:22:23 2021
Results reported at Sat Jul  3 14:22:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0100.3+0745_weekly_bin499 15.0932 7.7647 540777601 541382401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0100.3+0745 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   829.00 sec.
    Max Memory :                                 1096 MB
    Average Memory :                             326.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   938 sec.
    Turnaround time :                            938 sec.

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

