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 50 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 = 17188
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0100.3+0745_weekly_bin249
RA = 15.0932, Dec = 7.7647
tmin = 389577601, tmax = 390182401
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='36083', job_status='RUN', time_executed='2021-07-03 14:08:08.730999', time_epoch_executed='1625346488.73' WHERE source_name='4FGL J0100.3+0745' and cadence='weekly' and bin_id='249'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/36083

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

Retrieving the FT1 file...

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

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

Retrieving 106 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/36083/ft1_4FGL_J0100.3+0745_weekly_bin249.fits


Retrieving the FT1 file...

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

Retrieving 106 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/36083/ft2_4FGL_J0100.3+0745_weekly_bin249.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/36083/ft1_4FGL_J0100.3+0745_weekly_bin249.fits outfile=/scratch/kocevski/36083/ft1_filteredMKT_4FGL_J0100.3+0745_weekly_bin249.fits ra=15.0932 dec=7.7647 rad=12.0 tmin=389577601.0 tmax=390182401.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.96
user 8.44
sys 0.33

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/36083/ft2_4FGL_J0100.3+0745_weekly_bin249.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/36083/ft1_filteredMKT_4FGL_J0100.3+0745_weekly_bin249.fits evtable="EVENTS" outfile="/scratch/kocevski/36083/ft1_filtered_4FGL_J0100.3+0745_weekly_bin249.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.84
user 0.38
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/36083/ft1_filtered_4FGL_J0100.3+0745_weekly_bin249.fits" evtable="EVENTS" scfile=/scratch/kocevski/36083/ft2_4FGL_J0100.3+0745_weekly_bin249.fits sctable="SC_DATA" outfile=/scratch/kocevski/36083/ltcube_389577601_390182401_4FGL_J0100.3+0745_weekly_bin249.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/36083/ft2_4FGL_J0100.3+0745_weekly_bin249.fits
.....................!
real 26.55
user 25.62
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/36083/ft1_filtered_4FGL_J0100.3+0745_weekly_bin249.fits evtable="EVENTS" scfile=/scratch/kocevski/36083/ft2_4FGL_J0100.3+0745_weekly_bin249.fits sctable="SC_DATA" expcube=/scratch/kocevski/36083/ltcube_389577601_390182401_4FGL_J0100.3+0745_weekly_bin249.fits outfile=/scratch/kocevski/36083/expmap_389577601_390182401_4FGL_J0100.3+0745_weekly_bin249.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/36083/ltcube_389577601_390182401_4FGL_J0100.3+0745_weekly_bin249.fits
.....................!
real 194.34
user 185.99
sys 5.45

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/36083/ft1_filtered_4FGL_J0100.3+0745_weekly_bin249.fits scfile=/scratch/kocevski/36083/ft2_4FGL_J0100.3+0745_weekly_bin249.fits outfile=/scratch/kocevski/36083/cmap_389577601_390182401_4FGL_J0100.3+0745_weekly_bin249.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.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/36083/ft1_filtered_4FGL_J0100.3+0745_weekly_bin249.fits scfile=/scratch/kocevski/36083/ft2_4FGL_J0100.3+0745_weekly_bin249.fits outfile=/scratch/kocevski/36083/cmap_HighResolution_389577601_390182401_4FGL_J0100.3+0745_weekly_bin249.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.43
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/36083/ft1_filtered_4FGL_J0100.3+0745_weekly_bin249.fits', '/scratch/kocevski/36083/ft2_4FGL_J0100.3+0745_weekly_bin249.fits', expMap='/scratch/kocevski/36083/expmap_389577601_390182401_4FGL_J0100.3+0745_weekly_bin249.fits', expCube='/scratch/kocevski/36083/ltcube_389577601_390182401_4FGL_J0100.3+0745_weekly_bin249.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/36083/Model_4FGL_J0100.3+0745_weekly_bin249.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/36083/ft1_filtered_4FGL_J0100.3+0745_weekly_bin249.fits
Spacecraft file(s): /scratch/kocevski/36083/ft2_4FGL_J0100.3+0745_weekly_bin249.fits
Exposure map: /scratch/kocevski/36083/expmap_389577601_390182401_4FGL_J0100.3+0745_weekly_bin249.fits
Exposure cube: /scratch/kocevski/36083/ltcube_389577601_390182401_4FGL_J0100.3+0745_weekly_bin249.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/36083/Model_4FGL_J0100.3+0745_weekly_bin249.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) = 13573.6936119

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7777       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.4094       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .20524       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    25.512       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .12670E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    6.7656       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.7627       1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.269       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.1044       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1178       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=   13573.66     FROM MIGRAD    STATUS=CONVERGED    324 CALLS     1310 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7778        1.5302        .78485E-02    .21111E-04
   2  Prefactor     .10000E-03    1.6602        .90712E-02** at limit **
   3  norm          2.4097        5.8221        .65937E-02    .94283E-03
   4  Prefactor     .10000E-03    2.7179        .90712E-02** at limit **
   5  Prefactor     .19988        1.5576        .49869E-01    .20741E-02
   6  Prefactor     .10000E-03    .57201        .48083E-01** at limit **
   7  norm          25.511        12.339        .19828E-02   -.29735E-04
   8  Prefactor     .10000E-03    11.488        .90712E-02** at limit **
   9  Prefactor     .10000E-03    89.854        .90712E-02** at limit **
  10  norm          6.7646        1.4206        .38565E-02    .27022E-03
  11  Prefactor     .10000E-03    16.111        .90712E-02** at limit **
  12  Prefactor     6.7627        7.9445        .38573E-02    .37199E-02
  13  Prefactor     10.269        5.9615        .31258E-02    .33665E-03
  14  Prefactor     .10000E-03    30.008        .90712E-02** at limit **
  15  Normalizat    1.1044        .13796        .64752E-01    .41633E-04
  16  Prefactor     1.1177        .10597        .36948E-01    .12253E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.77776
  Prefactor  = 0.0001
  norm       = 2.40972
  Prefactor  = 0.0001
  Prefactor  = 0.199881
  Prefactor  = 0.0001
  norm       = 25.5112
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.76456
  Prefactor  = 0.0001
  Prefactor  = 6.76271
  Prefactor  = 10.2692
  Prefactor  = 0.0001
  Normalizat = 1.10443
  Prefactor  = 1.11775
 **********
 **   18 **HESSE 
 **********

 FCN=   13573.66     FROM HESSE     STATUS=OK           207 CALLS     1517 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7778        1.5251        .13028E-03   -1.5441    
   2  Prefactor     .10000E-03    1.6638        .14659E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.4097        5.8163        .26375E-03   -1.5397    
   4  Prefactor     .10000E-03    2.7237        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .19988        4.6522        .28089E-02   -1.5619    
   6  Prefactor     .10000E-03    3.2850        .16982E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          25.511        12.343        .79310E-04   -1.4697    
   8  Prefactor     .10000E-03    11.498        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    91.336        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          6.7646        1.4214        .60029E-04   -1.5188    
  11  Prefactor     .10000E-03    16.130        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.7627        7.9400        .77146E-03   -1.5188    
  13  Prefactor     10.269        5.9624        .12503E-03   -1.5067    
  14  Prefactor     .10000E-03    30.132        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.1044        .15912        .28644E-03   -.89610    
  16  Prefactor     1.1177        .12305        .22135E-03   -.88901    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28762e-07
Minuit parameter uncertainties:
  1  1.52515
  2  1.16294e-07
  3  5.81771
  4  6.22801e-07
  5  1.9283
  6  1.21562e-06
  7  12.3441
  8  6.47232e-07
  9  9.80233e-07
  10  1.42143
  11  3.00301e-06
  12  7.94119
  13  5.96274
  14  2.17193e-05
  15  0.159188
  16  0.123085
Done.

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

Extracting fit parameters...

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  2.551e+01  1.234e+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.118e+00  1.231e-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:  1.104e+00  1.592e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.96
Ra Dec: 15.093 7.765
Photon Index (Fixed Index): 1.68 +/- 0.00
Photon Flux (Fixed Index): 2.45e-08 +/- 1.18e-08
Energy Flux (Fixed Index): 3.26e-05 +/- 1.58e-05

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) = 13573.1626113
delta logL = 0.496089502971

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13573.1589581
delta logL = 0.499742790475

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    22.440       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1716       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0882       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1207       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=   13573.16     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      271 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          22.463        175.27        .21139E-02   -.53429E-03
   2  alpha         2.1730        3.5542        .25270       -.61724E-05
   3  Normalizat    1.0883        .11626        .65164E-01    .78826E-04
   4  Prefactor     1.1205        .51326E-01    .36849E-01    .52902E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 22.4628
  alpha      = 2.17303
  Normalizat = 1.08827
  Prefactor  = 1.12047
 **********
 **   18 **HESSE 
 **********

 FCN=   13573.16     FROM HESSE     STATUS=OK            31 CALLS      302 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          22.463        13.020        .84556E-04   -1.4760    
   2  alpha         2.1730        .52455        .14613E-01   -.13116    
   3  Normalizat    1.0883        .15764        .28826E-03   -.90129    
   4  Prefactor     1.1205        .12180        .22104E-03   -.88815    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.81373e-10
Minuit parameter uncertainties:
  1  13.0217
  2  0.528549
  3  0.157709
  4  0.121833
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/36083': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13573.1589418
delta logL = 0.49975906074

Extracting fit parameters...

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  2.246e+01  1.302e+01  1.000e-04  1.000e+04 ( 1.000e-13)
238        alpha:  2.173e+00  5.285e-01  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.120e+00  1.218e-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:  1.088e+00  1.577e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.92
Ra Dec: 15.093 7.765
Photon Index (Free Index): 2.17 +/- 0.53
Photon Flux (Free Index): 4.29e-08 +/- 2.86e-08
Energy Flux (Free Index): 2.41e-05 +/- 1.24e-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/36083/cmap_HighResolution_389577601_390182401_4FGL_J0100.3+0745_weekly_bin249.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.45e-08', energy_flux2='2.41e-05', photon_flux_error='1.18e-08', dlogl='5.00e-01', energy_flux='3.26e-05', photon_flux2='4.29e-08', job_status='DONE', time_completed='2021-07-03 14:20:58.341094', photon_index_error2='0.53', photon_index2='2.17', ts='10.96', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', energy_flux_error2='1.24e-05', EG='1.10', time_epoch_completed='1625347258.34', return_code='0', job_id='36083', GAL2='1.12', EG2='1.09', return_code2='0', energy_flux_error='1.58e-05', photon_flux_error2='2.86e-08', ts2='11.92', photon_index='1.68' WHERE bin_id='249' AND source_name='4FGL J0100.3+0745' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul  3 14:20:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0114>
Subject: Job 36083: <4FGL_J0100.3+0745_weekly_bin249> in cluster <slac> Done

Job <4FGL_J0100.3+0745_weekly_bin249> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Jul  3 14:06:22 2021
Job was executed on host(s) <bullet0114>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul  3 14:06:24 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:24 2021
Terminated at Sat Jul  3 14:20:59 2021
Results reported at Sat Jul  3 14:20:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0100.3+0745_weekly_bin249 15.0932 7.7647 389577601 390182401 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 :                                   755.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             332.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   874 sec.
    Turnaround time :                            877 sec.

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

