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


Performing analysis on: 4FGL_J0100.3+0745_daily_bin138
RA = 15.0932, Dec = 7.7647
tmin = 275097601, tmax = 275356801
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='275191', job_status='RUN', time_executed='2021-08-13 08:35:53.355684', time_epoch_executed='1628868953.36' WHERE source_name='4FGL J0100.3+0745' and cadence='daily' and bin_id='138'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/275191

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/275191/ft1_4FGL_J0100.3+0745_daily_bin138.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/275191/ft2_4FGL_J0100.3+0745_daily_bin138.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/275191/ft1_4FGL_J0100.3+0745_daily_bin138.fits outfile=/scratch/kocevski/275191/ft1_filteredMKT_4FGL_J0100.3+0745_daily_bin138.fits ra=15.0932 dec=7.7647 rad=12.0 tmin=275097601.0 tmax=275356801.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.64
user 4.70
sys 2.84

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/275191/ft2_4FGL_J0100.3+0745_daily_bin138.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/275191/ft1_filteredMKT_4FGL_J0100.3+0745_daily_bin138.fits evtable="EVENTS" outfile="/scratch/kocevski/275191/ft1_filtered_4FGL_J0100.3+0745_daily_bin138.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 3.13
user 0.35
sys 2.76

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/275191/ft1_filtered_4FGL_J0100.3+0745_daily_bin138.fits" evtable="EVENTS" scfile=/scratch/kocevski/275191/ft2_4FGL_J0100.3+0745_daily_bin138.fits sctable="SC_DATA" outfile=/scratch/kocevski/275191/ltcube_275097601_275356801_4FGL_J0100.3+0745_daily_bin138.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/275191/ft2_4FGL_J0100.3+0745_daily_bin138.fits
.....................!
real 16.84
user 13.53
sys 3.26

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/275191/ft1_filtered_4FGL_J0100.3+0745_daily_bin138.fits evtable="EVENTS" scfile=/scratch/kocevski/275191/ft2_4FGL_J0100.3+0745_daily_bin138.fits sctable="SC_DATA" expcube=/scratch/kocevski/275191/ltcube_275097601_275356801_4FGL_J0100.3+0745_daily_bin138.fits outfile=/scratch/kocevski/275191/expmap_275097601_275356801_4FGL_J0100.3+0745_daily_bin138.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/275191/ltcube_275097601_275356801_4FGL_J0100.3+0745_daily_bin138.fits
.....................!
real 195.21
user 186.53
sys 8.33

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/275191/ft1_filtered_4FGL_J0100.3+0745_daily_bin138.fits scfile=/scratch/kocevski/275191/ft2_4FGL_J0100.3+0745_daily_bin138.fits outfile=/scratch/kocevski/275191/cmap_275097601_275356801_4FGL_J0100.3+0745_daily_bin138.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 3.14
user 0.38
sys 2.69

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/275191/ft1_filtered_4FGL_J0100.3+0745_daily_bin138.fits scfile=/scratch/kocevski/275191/ft2_4FGL_J0100.3+0745_daily_bin138.fits outfile=/scratch/kocevski/275191/cmap_HighResolution_275097601_275356801_4FGL_J0100.3+0745_daily_bin138.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 3.12
user 0.39
sys 2.69

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1542       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    12.115       1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.169       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    24.577       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.3209       1.0000         .10000E-03   10000.    
    11 'Prefactor '    54.997       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11681E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.2778       1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.903       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.2553       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .72890       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=   5397.087     FROM MIGRAD    STATUS=CONVERGED    298 CALLS     1438 TOTAL
                     EDM=   .66E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1552        3.6006       -.46393E-07    .32829E-05
   2  Prefactor     .10000E-03    11.074       -.18060E-06** at limit **
   3  norm          12.115        8.4337       -.13772E-06   -.98089E-04
   4  Prefactor     13.169        12.149       -.89507E-07    .27024E-04
   5  Prefactor     .10000E-03    1.6523       -.75242E-08** at limit **
   6  Prefactor     .10000E-03    1.3278       -.14297E-06** at limit **
   7  norm          24.577        19.039       -.11160E-06    .79228E-06
   8  Prefactor     .10000E-03    18.262        .98954E-06** at limit **
   9  Prefactor     .10000E-03    41.336        .21523E-05** at limit **
  10  norm          3.3208        1.7459       -.82564E-07   -.84514E-04
  11  Prefactor     54.978        55.711        .45634E-05    .39832E-04
  12  Prefactor     .10000E-03    33.158        .32722E-04** at limit **
  13  Prefactor     7.2786        8.0775       -.21367E-06    .27081E-03
  14  Prefactor     12.896        39.655        .32632E-05    .22254E-04
  15  Normalizat    1.2553        .19042        .26631E-06    .11148E-03
  16  Prefactor     .72889        .14068        .95904E-06    .20344E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.15521
  Prefactor  = 0.0001
  norm       = 12.1147
  Prefactor  = 13.169
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 24.5765
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.32079
  Prefactor  = 54.9777
  Prefactor  = 0.0001
  Prefactor  = 7.27864
  Prefactor  = 12.8956
  Normalizat = 1.25532
  Prefactor  = 0.728885
 **********
 **   18 **HESSE 
 **********

 FCN=   5397.087     FROM HESSE     STATUS=OK           203 CALLS     1641 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1552        3.6031        .12610E-03   -1.5300    
   2  Prefactor     .10000E-03    11.163        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          12.115        8.4356        .11509E-03   -1.5012    
   4  Prefactor     13.169        12.147        .11038E-03   -1.4982    
   5  Prefactor     .10000E-03    1.6553        .92215E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.3650        .16524E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          24.577        19.040        .80802E-04   -1.4716    
   8  Prefactor     .10000E-03    18.273        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    41.343        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.3208        1.7440        .67085E-04   -1.5343    
  11  Prefactor     54.978        55.629        .54088E-04   -1.4224    
  12  Prefactor     .10000E-03    32.711        .39585E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.2786        8.0607        .14868E-03   -1.5168    
  14  Prefactor     12.896        39.691        .11151E-03   -1.4990    
  15  Normalizat    1.2553        .21952        .24356E-03   -.84910    
  16  Prefactor     .72889        .16188        .23076E-03   -1.0241    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33141e-10
Minuit parameter uncertainties:
  1  3.60328
  2  1.77536e-05
  3  8.43645
  4  12.1491
  5  1.0292e-06
  6  4.3198e-06
  7  19.0451
  8  3.31013e-06
  9  4.03605e-05
  10  1.74404
  11  55.6813
  12  9.92233e-05
  13  8.0619
  14  39.7725
  15  0.219686
  16  0.16198
Done.

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

Extracting fit parameters...

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  2.458e+01  1.905e+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:  7.289e-01  1.620e-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.255e+00  2.197e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.10
Ra Dec: 15.093 7.765
Photon Index (Fixed Index): 1.68 +/- 0.00
Photon Flux (Fixed Index): 2.36e-08 +/- 1.83e-08
Energy Flux (Fixed Index): 3.14e-05 +/- 2.43e-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) = 5395.63166955
delta logL = 1.45563211058

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5395.63139598
delta logL = 1.45590567385

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.469       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7627       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1945       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74292       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=   5395.631     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      291 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.467        16.352        .10183E-03    .29741E-03
   2  alpha         2.7626        .64897        .78475E-02    .61156E-04
   3  Normalizat    1.1945        .22188        .24838E-03   -.19716E-03
   4  Prefactor     .74300        .16222        .22828E-03   -.36898E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 15.4673
  alpha      = 2.76259
  Normalizat = 1.19445
  Prefactor  = 0.743002
 **********
 **   18 **HESSE 
 **********

 FCN=   5395.631     FROM HESSE     STATUS=OK            25 CALLS      316 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.467        14.544        .40734E-05   -1.4921    
   2  alpha         2.7626        .57803        .31390E-03    .10523    
   3  Normalizat    1.1945        .22104        .49676E-04   -.86774    
   4  Prefactor     .74300        .16195        .45656E-04   -1.0186    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.37147e-10
Minuit parameter uncertainties:
  1  14.5469
  2  0.583365
  3  0.221216
  4  0.162049
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/275191': 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) = 5395.63139566
delta logL = 1.4559059948

Extracting fit parameters...

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  1.547e+01  1.455e+01  1.000e-04  1.000e+04 ( 1.000e-13)
238        alpha:  2.763e+00  5.834e-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:  7.430e-01  1.620e-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.194e+00  2.212e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.99
Ra Dec: 15.093 7.765
Photon Index (Free Index): 2.76 +/- 0.58
Photon Flux (Free Index): 8.82e-08 +/- 5.72e-08
Energy Flux (Free Index): 2.59e-05 +/- 1.35e-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/275191/cmap_HighResolution_275097601_275356801_4FGL_J0100.3+0745_daily_bin138.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.36e-08', energy_flux2='2.59e-05', photon_flux_error='1.83e-08', dlogl='1.46e+00', energy_flux='3.14e-05', photon_flux2='8.82e-08', job_status='DONE', time_completed='2021-08-13 08:44:43.024194', photon_index_error2='0.58', photon_index2='2.76', ts='4.10', fit_tolerance='1e-08', GAL='0.73', photon_index_error='0.00', energy_flux_error2='1.35e-05', EG='1.26', time_epoch_completed='1628869483.02', return_code='0', job_id='275191', GAL2='0.74', EG2='1.19', return_code2='0', energy_flux_error='2.43e-05', photon_flux_error2='5.72e-08', ts2='6.99', photon_index='1.68' WHERE bin_id='138' AND source_name='4FGL J0100.3+0745' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 08:44:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0294>
Subject: Job 275191: <4FGL_J0100.3+0745_daily_bin138> in cluster <slac> Done

Job <4FGL_J0100.3+0745_daily_bin138> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Aug 13 08:30:43 2021
Job was executed on host(s) <bullet0294>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 08:31:32 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:31:32 2021
Terminated at Fri Aug 13 08:44:47 2021
Results reported at Fri Aug 13 08:44:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0100.3+0745_daily_bin138 15.0932 7.7647 275097601 275356801 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 :                                   568.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             252.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   791 sec.
    Turnaround time :                            844 sec.

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

