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


Performing analysis on: 4FGL_J0100.3+0745_weekly_bin548
RA = 15.0932, Dec = 7.7647
tmin = 570412801, tmax = 571017601
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='36518', job_status='RUN', time_executed='2021-07-03 14:08:22.156947', time_epoch_executed='1625346502.16' WHERE source_name='4FGL J0100.3+0745' and cadence='weekly' and bin_id='548'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/36518

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/36518/ft1_4FGL_J0100.3+0745_weekly_bin548.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/36518/ft2_4FGL_J0100.3+0745_weekly_bin548.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/36518/ft1_4FGL_J0100.3+0745_weekly_bin548.fits outfile=/scratch/kocevski/36518/ft1_filteredMKT_4FGL_J0100.3+0745_weekly_bin548.fits ra=15.0932 dec=7.7647 rad=12.0 tmin=570412801.0 tmax=571017601.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.52
user 6.53
sys 0.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/36518/ft1_filtered_4FGL_J0100.3+0745_weekly_bin548.fits" evtable="EVENTS" scfile=/scratch/kocevski/36518/ft2_4FGL_J0100.3+0745_weekly_bin548.fits sctable="SC_DATA" outfile=/scratch/kocevski/36518/ltcube_570412801_571017601_4FGL_J0100.3+0745_weekly_bin548.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/36518/ft2_4FGL_J0100.3+0745_weekly_bin548.fits
.....................!
real 27.94
user 27.24
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/36518/ft1_filtered_4FGL_J0100.3+0745_weekly_bin548.fits evtable="EVENTS" scfile=/scratch/kocevski/36518/ft2_4FGL_J0100.3+0745_weekly_bin548.fits sctable="SC_DATA" expcube=/scratch/kocevski/36518/ltcube_570412801_571017601_4FGL_J0100.3+0745_weekly_bin548.fits outfile=/scratch/kocevski/36518/expmap_570412801_571017601_4FGL_J0100.3+0745_weekly_bin548.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/36518/ltcube_570412801_571017601_4FGL_J0100.3+0745_weekly_bin548.fits
.....................!
real 193.52
user 185.75
sys 5.11

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/36518/ft1_filtered_4FGL_J0100.3+0745_weekly_bin548.fits scfile=/scratch/kocevski/36518/ft2_4FGL_J0100.3+0745_weekly_bin548.fits outfile=/scratch/kocevski/36518/cmap_570412801_571017601_4FGL_J0100.3+0745_weekly_bin548.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.57
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/36518/ft1_filtered_4FGL_J0100.3+0745_weekly_bin548.fits scfile=/scratch/kocevski/36518/ft2_4FGL_J0100.3+0745_weekly_bin548.fits outfile=/scratch/kocevski/36518/cmap_HighResolution_570412801_571017601_4FGL_J0100.3+0745_weekly_bin548.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.66
user 0.42
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11319E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.0693       1.0000         .10000E-03   10000.    
     7 'norm      '    14.498       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    33.823       1.0000         .10000E-03   10000.    
    10 'norm      '    5.1257       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.323       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.6421       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    .83579       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0795       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16531.44     FROM MIGRAD    STATUS=CONVERGED    290 CALLS     1221 TOTAL
                     EDM=   .73E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .59023       -.28699E-07** at limit **
   2  Prefactor     .10000E-03    2.5999        .17566E-05** at limit **
   3  norm          .10000E-03    2.5720       -.16776E-05** at limit **
   4  Prefactor     .10000E-03    7.7216       -.11977E-05** at limit **
   5  Prefactor     .10000E-03    2.9591       -.18604E-06** at limit **
   6  Prefactor     3.0696        1.3167        .72296E-07   -.63311E-04
   7  norm          14.498        7.5509        .12057E-06    .28612E-04
   8  Prefactor     .10000E-03    14.581        .88420E-05** at limit **
   9  Prefactor     33.798        32.990       -.35028E-04    .10083E-04
  10  norm          5.1256        1.1207        .63136E-06   -.40136E-03
  11  Prefactor     .10000E-03    5.3840        .43245E-06** at limit **
  12  Prefactor     13.323        6.3698       -.16554E-06   -.90100E-04
  13  Prefactor     7.6430        4.5278       -.22543E-06   -.39333E-03
  14  Prefactor     .10000E-03    15.540       -.79388E-05** at limit **
  15  Normalizat    .83561        .11456        .16909E-05   -.10806E-03
  16  Prefactor     1.0796        .87087E-01   -.10713E-06    .22170E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.06957
  norm       = 14.4977
  Prefactor  = 0.0001
  Prefactor  = 33.7984
  norm       = 5.1256
  Prefactor  = 0.0001
  Prefactor  = 13.3231
  Prefactor  = 7.643
  Prefactor  = 0.0001
  Normalizat = 0.835607
  Prefactor  = 1.07959
 **********
 **   18 **HESSE 
 **********

 FCN=   16531.44     FROM HESSE     STATUS=OK           199 CALLS     1420 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .59585        .96454E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.6161        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    2.6067        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    7.8792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.0790        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.0696        1.3168        .93346E-04   -1.5358    
   7  norm          14.498        7.5531        .10519E-03   -1.4946    
   8  Prefactor     .10000E-03    14.622        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     33.798        32.989        .68903E-04   -1.4545    
  10  norm          5.1256        1.1210        .58927E-04   -1.5255    
  11  Prefactor     .10000E-03    5.3852        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.323        6.3710        .10974E-03   -1.4978    
  13  Prefactor     7.6430        4.5286        .14506E-03   -1.5155    
  14  Prefactor     .10000E-03    15.658        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .83561        .13276        .29395E-03   -.98761    
  16  Prefactor     1.0796        .10110        .20272E-03   -.90122    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.81536e-10
Minuit parameter uncertainties:
  1  1.15228e-06
  2  6.47021e-06
  3  2.05394e-07
  4  1.91564e-05
  5  9.28427e-06
  6  1.31681
  7  7.55363
  8  2.47845e-05
  9  33.0072
  10  1.12099
  11  1.60708e-07
  12  6.37134
  13  4.52883
  14  3.26725e-05
  15  0.132812
  16  0.101115
Done.

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

Extracting fit parameters...

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  1.450e+01  7.554e+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

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.080e+00  1.011e-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:  8.356e-01  1.328e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 19.80
Ra Dec: 15.093 7.765
Photon Index (Fixed Index): 1.68 +/- 0.00
Photon Flux (Fixed Index): 1.39e-08 +/- 7.24e-09
Energy Flux (Fixed Index): 1.85e-05 +/- 9.66e-06

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) = 16530.4496144
delta logL = 0.991448084977

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16530.3422686
delta logL = 1.09879389988

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.538       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.0317       1.0000          .0000       5.0000    
     3 'Normalizat'    .83540       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0840       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16530.34     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      220 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 19.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.536        7.8834       -.26852E-05   -.11594E-02
   2  alpha         1.0317        .45251       -.31065E-04    .10336E-03
   3  Normalizat    .83541        .11160       -.18839E-07    .24771E-03
   4  Prefactor     1.0840        .87008E-01    .23130E-06    .30181E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 10.5362
  alpha      = 1.0317
  Normalizat = 0.835415
  Prefactor  = 1.084
 **********
 **   18 **HESSE 
 **********

 FCN=   16530.34     FROM HESSE     STATUS=OK            31 CALLS      251 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.536        7.6605        .12342E-03   -1.5059    
   2  alpha         1.0317        .43810        .20400E-01   -.62774    
   3  Normalizat    .83541        .12911        .29398E-03   -.98768    
   4  Prefactor     1.0840        .10076        .20240E-03   -.89979    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.89625e-10
Minuit parameter uncertainties:
  1  7.66121
  2  0.441593
  3  0.129157
  4  0.100781
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/36518': 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) = 16530.3422685
delta logL = 1.09879393374

Extracting fit parameters...

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  1.054e+01  7.661e+00  1.000e-04  1.000e+04 ( 1.000e-13)
238        alpha:  1.032e+00  4.416e-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.084e+00  1.008e-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:  8.354e-01  1.292e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 21.99
Ra Dec: 15.093 7.765
Photon Index (Free Index): 1.03 +/- 0.44
Photon Flux (Free Index): 7.04e-09 +/- 4.90e-09
Energy Flux (Free Index): 3.99e-05 +/- 3.13e-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/36518/cmap_HighResolution_570412801_571017601_4FGL_J0100.3+0745_weekly_bin548.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.39e-08', energy_flux2='3.99e-05', photon_flux_error='7.24e-09', dlogl='1.10e+00', energy_flux='1.85e-05', photon_flux2='7.04e-09', job_status='DONE', time_completed='2021-07-03 14:21:50.727993', photon_index_error2='0.44', photon_index2='1.03', ts='19.80', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', energy_flux_error2='3.13e-05', EG='0.84', time_epoch_completed='1625347310.73', return_code='0', job_id='36518', GAL2='1.08', EG2='0.84', return_code2='0', energy_flux_error='9.66e-06', photon_flux_error2='4.90e-09', ts2='21.99', photon_index='1.68' WHERE bin_id='548' AND source_name='4FGL J0100.3+0745' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul  3 14:21:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0284>
Subject: Job 36518: <4FGL_J0100.3+0745_weekly_bin548> in cluster <slac> Done

Job <4FGL_J0100.3+0745_weekly_bin548> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Jul  3 14:06:49 2021
Job was executed on host(s) <bullet0284>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul  3 14:06:50 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:50 2021
Terminated at Sat Jul  3 14:21:53 2021
Results reported at Sat Jul  3 14:21:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0100.3+0745_weekly_bin548 15.0932 7.7647 570412801 571017601 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 :                                   798.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             329.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   902 sec.
    Turnaround time :                            904 sec.

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

