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


Performing analysis on: 4FGL_J0100.3+0745_daily_bin449
RA = 15.0932, Dec = 7.7647
tmin = 355708801, tmax = 355968001
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='276639', job_status='RUN', time_executed='2021-08-13 08:40:55.333390', time_epoch_executed='1628869255.33' WHERE source_name='4FGL J0100.3+0745' and cadence='daily' and bin_id='449'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/276639

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/276639/ft1_4FGL_J0100.3+0745_daily_bin449.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/276639/ft2_4FGL_J0100.3+0745_daily_bin449.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/276639/ft1_4FGL_J0100.3+0745_daily_bin449.fits outfile=/scratch/kocevski/276639/ft1_filteredMKT_4FGL_J0100.3+0745_daily_bin449.fits ra=15.0932 dec=7.7647 rad=12.0 tmin=355708801.0 tmax=355968001.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.90
user 4.68
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/276639/ft1_filtered_4FGL_J0100.3+0745_daily_bin449.fits evtable="EVENTS" scfile=/scratch/kocevski/276639/ft2_4FGL_J0100.3+0745_daily_bin449.fits sctable="SC_DATA" expcube=/scratch/kocevski/276639/ltcube_355708801_355968001_4FGL_J0100.3+0745_daily_bin449.fits outfile=/scratch/kocevski/276639/expmap_355708801_355968001_4FGL_J0100.3+0745_daily_bin449.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/276639/ltcube_355708801_355968001_4FGL_J0100.3+0745_daily_bin449.fits
.....................!
real 190.07
user 185.77
sys 3.92

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/276639/ft1_filtered_4FGL_J0100.3+0745_daily_bin449.fits scfile=/scratch/kocevski/276639/ft2_4FGL_J0100.3+0745_daily_bin449.fits outfile=/scratch/kocevski/276639/cmap_355708801_355968001_4FGL_J0100.3+0745_daily_bin449.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.61
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/276639/ft1_filtered_4FGL_J0100.3+0745_daily_bin449.fits scfile=/scratch/kocevski/276639/ft2_4FGL_J0100.3+0745_daily_bin449.fits outfile=/scratch/kocevski/276639/cmap_HighResolution_355708801_355968001_4FGL_J0100.3+0745_daily_bin449.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.57
user 0.41
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .35435       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .12855E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .21114E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    11.085       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10709E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10165E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.4107       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .39500E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.2613       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.4519       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=   7581.109     FROM MIGRAD    STATUS=CONVERGED    332 CALLS     1308 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .32528        2.2153        .71842E-01    .18789E-02
   2  Prefactor     .10000E-03    4.8347        .90712E-02** at limit **
   3  norm          .10000E-03    9.0210        .90712E-02** at limit **
   4  Prefactor     .10000E-03    8.4043        .90712E-01** at limit **
   5  Prefactor     .10000E-03    2.9730        .90712E-02** at limit **
   6  Prefactor     .10000E-03    1.1973        .57471E-01** at limit **
   7  norm          11.085        10.873        .30083E-02   -.32368E-03
   8  Prefactor     .10000E-03    15.812        .90712E-02** at limit **
   9  Prefactor     .10001E-03    126.41        .90712E-02** at limit **
  10  norm          .10000E-03    .43415        .90712E-02** at limit **
  11  Prefactor     .10000E-03    41.640        .90712E-02** at limit **
  12  Prefactor     .10000E-03    8.3393        .90712E-02** at limit **
  13  Prefactor     7.4075        7.2948        .36832E-02   -.87928E-03
  14  Prefactor     .10019E-03    148.54        .10635E-01** at limit **
  15  Normalizat    1.2612        .21376        .72084E-01   -.70513E-05
  16  Prefactor     1.4518        .16275        .52474E-01   -.22650E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.325284
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.0849
  Prefactor  = 0.0001
  Prefactor  = 0.000100013
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 7.40748
  Prefactor  = 0.000100195
  Normalizat = 1.26123
  Prefactor  = 1.45179
 **********
 **   18 **HESSE 
 **********

 FCN=   7581.109     FROM HESSE     STATUS=OK           201 CALLS     1509 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .32528        11.697        .24958E-02   -1.5594    
   2  Prefactor     .10000E-03    4.8461        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    9.3879        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    58.369        .48835E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.9871        .14658E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    11.022        .18295E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          11.085        10.876        .12033E-03   -1.5042    
   8  Prefactor     .10000E-03    15.816        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10001E-03    127.01        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .43939        .55981E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    41.799        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    8.3696        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.4075        7.3037        .14733E-03   -1.5164    
  14  Prefactor     .10019E-03    150.26        .21269E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.2612        .25244        .31897E-03   -.84731    
  16  Prefactor     1.4518        .19402        .23199E-03   -.78899    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21061e-08
Minuit parameter uncertainties:
  1  3.90144
  2  1.45668e-05
  3  4.95061e-05
  4  0.000717482
  5  3.45389e-05
  6  4.38439e-05
  7  10.8781
  8  9.51672e-05
  9  0.00260969
  10  2.56159e-06
  11  0.000219175
  12  0.000317415
  13  7.30456
  14  0.0108429
  15  0.252686
  16  0.194118
Done.

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

Extracting fit parameters...

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  1.108e+01  1.088e+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.452e+00  1.941e-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.261e+00  2.527e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.25
Ra Dec: 15.093 7.765
Photon Index (Fixed Index): 1.68 +/- 0.00
Photon Flux (Fixed Index): 1.06e-08 +/- 1.04e-08
Energy Flux (Fixed Index): 1.42e-05 +/- 1.39e-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) = 7580.15475221
delta logL = 0.954231165038

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7579.77276836
delta logL = 1.33621501538

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8232       1.0000         .10000E-03   10000.    
     2 'alpha     '    .33326       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2616       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4561       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=   7579.773     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      221 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8249        3.5435        .60514E-02   -.36734E-03
   2  alpha         .33357        .61217        .50000        .25797E-04
   3  Normalizat    1.2616        .20946        .72069E-01    .12270E-04
   4  Prefactor     1.4561        .16236        .52406E-01   -.12856E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.82491
  alpha      = 0.333575
  Normalizat = 1.26159
  Prefactor  = 1.45609
 **********
 **   18 **HESSE 
 **********

 FCN=   7579.773     FROM HESSE     STATUS=OK            33 CALLS      254 TOTAL
                     EDM=   .65E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8249        5.0662        .14247E-03   -1.5372    
   2  alpha         .33357        .71105        .34650E-01   -1.0483    
   3  Normalizat    1.2616        .24946        .31891E-03   -.84720    
   4  Prefactor     1.4561        .19359        .23169E-03   -.78777    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.48764e-12
Minuit parameter uncertainties:
  1  5.06701
  2  0.756569
  3  0.249695
  4  0.193688
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/276639': 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) = 7579.77276827
delta logL = 1.33621509889

Extracting fit parameters...

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  2.825e+00  5.067e+00  1.000e-04  1.000e+04 ( 1.000e-13)
238        alpha:  3.336e-01  7.566e-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.456e+00  1.937e-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.262e+00  2.497e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.92
Ra Dec: 15.093 7.765
Photon Index (Free Index): 0.33 +/- 0.76
Photon Flux (Free Index): 3.64e-09 +/- 3.70e-09
Energy Flux (Free Index): 7.25e-05 +/- 9.51e-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/276639/cmap_HighResolution_355708801_355968001_4FGL_J0100.3+0745_daily_bin449.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.06e-08', energy_flux2='7.25e-05', photon_flux_error='1.04e-08', dlogl='1.34e+00', energy_flux='1.42e-05', photon_flux2='3.64e-09', job_status='DONE', time_completed='2021-08-13 08:49:49.884898', photon_index_error2='0.76', photon_index2='0.33', ts='8.25', fit_tolerance='1e-08', GAL='1.45', photon_index_error='0.00', energy_flux_error2='9.51e-05', EG='1.26', time_epoch_completed='1628869789.88', return_code='0', job_id='276639', GAL2='1.46', EG2='1.26', return_code2='0', energy_flux_error='1.39e-05', photon_flux_error2='3.70e-09', ts2='10.92', photon_index='1.68' WHERE bin_id='449' AND source_name='4FGL J0100.3+0745' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 08:49:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0256>
Subject: Job 276639: <4FGL_J0100.3+0745_daily_bin449> in cluster <slac> Done

Job <4FGL_J0100.3+0745_daily_bin449> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Aug 13 08:35:42 2021
Job was executed on host(s) <bullet0256>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 08:37:16 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:37:16 2021
Terminated at Fri Aug 13 08:49:50 2021
Results reported at Fri Aug 13 08:49:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0100.3+0745_daily_bin449 15.0932 7.7647 355708801 355968001 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 :                                   531.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             281.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   754 sec.
    Turnaround time :                            848 sec.

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

