/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 108 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 = 7482
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0100.3+0745_daily_bin350
RA = 15.0932, Dec = 7.7647
tmin = 330048001, tmax = 330307201
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='276497', job_status='RUN', time_executed='2021-08-13 08:38:20.254992', time_epoch_executed='1628869100.26' WHERE source_name='4FGL J0100.3+0745' and cadence='daily' and bin_id='350'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/276497

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/276497/ft1_4FGL_J0100.3+0745_daily_bin350.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/276497/ft2_4FGL_J0100.3+0745_daily_bin350.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/276497/ft1_4FGL_J0100.3+0745_daily_bin350.fits outfile=/scratch/kocevski/276497/ft1_filteredMKT_4FGL_J0100.3+0745_daily_bin350.fits ra=15.0932 dec=7.7647 rad=12.0 tmin=330048001.0 tmax=330307201.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 4.45
user 3.26
sys 1.10

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/276497/ft2_4FGL_J0100.3+0745_daily_bin350.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/276497/ft1_filteredMKT_4FGL_J0100.3+0745_daily_bin350.fits evtable="EVENTS" outfile="/scratch/kocevski/276497/ft1_filtered_4FGL_J0100.3+0745_daily_bin350.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.43
user 0.33
sys 1.04

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/276497/ft1_filtered_4FGL_J0100.3+0745_daily_bin350.fits" evtable="EVENTS" scfile=/scratch/kocevski/276497/ft2_4FGL_J0100.3+0745_daily_bin350.fits sctable="SC_DATA" outfile=/scratch/kocevski/276497/ltcube_330048001_330307201_4FGL_J0100.3+0745_daily_bin350.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/276497/ft2_4FGL_J0100.3+0745_daily_bin350.fits
.....................!
real 16.13
user 14.64
sys 1.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/276497/ft1_filtered_4FGL_J0100.3+0745_daily_bin350.fits evtable="EVENTS" scfile=/scratch/kocevski/276497/ft2_4FGL_J0100.3+0745_daily_bin350.fits sctable="SC_DATA" expcube=/scratch/kocevski/276497/ltcube_330048001_330307201_4FGL_J0100.3+0745_daily_bin350.fits outfile=/scratch/kocevski/276497/expmap_330048001_330307201_4FGL_J0100.3+0745_daily_bin350.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/276497/ltcube_330048001_330307201_4FGL_J0100.3+0745_daily_bin350.fits
.....................!
real 194.60
user 187.22
sys 6.52

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/276497/ft1_filtered_4FGL_J0100.3+0745_daily_bin350.fits scfile=/scratch/kocevski/276497/ft2_4FGL_J0100.3+0745_daily_bin350.fits outfile=/scratch/kocevski/276497/cmap_330048001_330307201_4FGL_J0100.3+0745_daily_bin350.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 1.48
user 0.39
sys 1.00

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/276497/ft1_filtered_4FGL_J0100.3+0745_daily_bin350.fits scfile=/scratch/kocevski/276497/ft2_4FGL_J0100.3+0745_daily_bin350.fits outfile=/scratch/kocevski/276497/cmap_HighResolution_330048001_330307201_4FGL_J0100.3+0745_daily_bin350.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 1.44
user 0.40
sys 1.02

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.746       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.2659       1.0000         .10000E-03   10000.    
     3 'norm      '    6.0588       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.8279       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.2344       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.5211       1.0000         .10000E-03   10000.    
     7 'norm      '    9.8230       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    76.336       1.0000         .10000E-03   10000.    
    10 'norm      '    .10046E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .67558E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    26.215       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10776E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    60.616       1.0000         .10000E-03   10000.    
    15 'Normalizat'    .96395       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .86823       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=   5717.083     FROM MIGRAD    STATUS=CONVERGED    295 CALLS     1449 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.747        5.4567       -.18437E-05   -.58832E-03
   2  Prefactor     7.2680        10.509       -.24958E-05   -.15357E-03
   3  norm          6.0590        6.6296        .15052E-06    .27265E-04
   4  Prefactor     6.8287        10.655       -.74503E-06   -.32133E-04
   5  Prefactor     2.2349        2.2502        .98051E-06   -.32506E-02
   6  Prefactor     2.5215        2.2567       -.39040E-07   -.11496E-04
   7  norm          9.8238        13.291       -.95502E-06   -.34440E-04
   8  Prefactor     .10000E-03    15.702        .17191E-08** at limit **
   9  Prefactor     76.339        70.828        .20517E-05    .53795E-04
  10  norm          .10000E-03    .47414       -.10078E-06** at limit **
  11  Prefactor     .10000E-03    119.25       -.98208E-05** at limit **
  12  Prefactor     26.218        12.233       -.31139E-05   -.37211E-03
  13  Prefactor     .10000E-03    5.9889       -.61326E-07** at limit **
  14  Prefactor     60.621        60.915        .40862E-05    .63152E-04
  15  Normalizat    .96365        .18519        .39817E-06    .82872E-04
  16  Prefactor     .86834        .14040        .59771E-06    .52151E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 12.7465
  Prefactor  = 7.26799
  norm       = 6.059
  Prefactor  = 6.82873
  Prefactor  = 2.23486
  Prefactor  = 2.52146
  norm       = 9.8238
  Prefactor  = 0.0001
  Prefactor  = 76.3386
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 26.2185
  Prefactor  = 0.0001
  Prefactor  = 60.6205
  Normalizat = 0.96365
  Prefactor  = 0.868336
 **********
 **   18 **HESSE 
 **********

 FCN=   5717.083     FROM HESSE     STATUS=OK           205 CALLS     1654 TOTAL
                     EDM=   .99E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.747        5.4724        .11113E-03   -1.4994    
   2  Prefactor     7.2680        10.517        .14880E-03   -1.5169    
   3  norm          6.0590        6.6315        .16312E-03   -1.5216    
   4  Prefactor     6.8287        10.713        .15355E-03   -1.5185    
   5  Prefactor     2.2349        4.5222        .10956E-02   -1.5409    
   6  Prefactor     2.5215        2.2553        .10290E-03   -1.5390    
   7  norm          9.8238        13.304        .12785E-03   -1.5081    
   8  Prefactor     .10000E-03    15.724        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     76.339        70.304        .45959E-04   -1.3958    
  10  norm          .10000E-03    .70491        .99936E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    121.52        .21000E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     26.218        12.289        .78241E-04   -1.4683    
  13  Prefactor     .10000E-03    6.0939        .18058E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     60.621        60.978        .51535E-04   -1.4149    
  15  Normalizat    .96365        .21264        .26235E-03   -.94258    
  16  Prefactor     .86834        .16185        .21307E-03   -.97256    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.89002e-09
Minuit parameter uncertainties:
  1  5.47266
  2  10.5195
  3  6.63234
  4  10.716
  5  4.52285
  6  2.2554
  7  13.3079
  8  1.21709e-05
  9  70.3805
  10  1.13462e-05
  11  0.000765207
  12  12.2902
  13  1.3419e-05
  14  61.0412
  15  0.212828
  16  0.161941
Done.

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

Extracting fit parameters...

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  9.824e+00  1.331e+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:  8.683e-01  1.619e-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.637e-01  2.128e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/276497/likelihoodResults_330048001_330307201_4FGL_J0100.3+0745_daily_bin350.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) = 5716.88684658
delta logL = 0.19634264052

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5716.88576244
delta logL = 0.197426781448

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5716.886     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      269 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.3046        12.387        .13138E-03    .24462E-03
   2  alpha         2.2215        .82071        .14623E-01    .33827E-04
   3  Normalizat    .96002        .20392        .26277E-03   -.83285E-04
   4  Prefactor     .86551        .15907        .21331E-03   -.13708E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.30457
  alpha      = 2.22153
  Normalizat = 0.960021
  Prefactor  = 0.865512
 **********
 **   18 **HESSE 
 **********

 FCN=   5716.886     FROM HESSE     STATUS=OK            25 CALLS      294 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.3046        12.020        .52553E-05   -1.5098    
   2  alpha         2.2215        .79716        .58491E-03   -.11162    
   3  Normalizat    .96002        .20401        .10511E-04   -.94382    
   4  Prefactor     .86551        .15919        .85323E-05   -.97357    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2445e-10
Minuit parameter uncertainties:
  1  12.0226
  2  0.811513
  3  0.204176
  4  0.159273
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/276497': 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) = 5716.88576192
delta logL = 0.19742729468

Extracting fit parameters...

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  9.305e+00  1.202e+01  1.000e-04  1.000e+04 ( 1.000e-13)
238        alpha:  2.222e+00  8.115e-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:  8.655e-01  1.593e-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.600e-01  2.042e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.34
Ra Dec: 15.093 7.765
Photon Index (Free Index): 2.22 +/- 0.81
Photon Flux (Free Index): 1.93e-08 +/- 2.63e-08
Energy Flux (Free Index): 1.01e-05 +/- 1.20e-05

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/276497/cmap_HighResolution_330048001_330307201_4FGL_J0100.3+0745_daily_bin350.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.30e-05', comment='SUCCESS', energy_flux2='1.01e-05', dlogl='1.97e-01', photon_flux2='1.93e-08', job_status='DONE', time_completed='2021-08-13 08:47:19.308963', photon_index_error2='0.81', photon_index2='2.22', ts='0.95', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='4.72e-08', energy_flux_error2='1.20e-05', EG='0.96', time_epoch_completed='1628869639.31', return_code='0', job_id='276497', GAL2='0.87', EG2='0.96', return_code2='0', photon_flux_error2='2.63e-08', ts2='1.34', photon_index='1.68' WHERE bin_id='350' AND source_name='4FGL J0100.3+0745' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 08:47:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 276497: <4FGL_J0100.3+0745_daily_bin350> in cluster <slac> Done

Job <4FGL_J0100.3+0745_daily_bin350> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Aug 13 08:35:32 2021
Job was executed on host(s) <bullet0041>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 08:36:08 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 08:36:08 2021
Terminated at Fri Aug 13 08:47:20 2021
Results reported at Fri Aug 13 08:47:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0100.3+0745_daily_bin350 15.0932 7.7647 330048001 330307201 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 :                                   550.28 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             276.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   671 sec.
    Turnaround time :                            708 sec.

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

