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


Performing analysis on: 4FGL_J0100.3+0745_daily_bin349
RA = 15.0932, Dec = 7.7647
tmin = 329788801, tmax = 330048001
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='276496', job_status='RUN', time_executed='2021-08-13 08:41:06.926832', time_epoch_executed='1628869266.93' WHERE source_name='4FGL J0100.3+0745' and cadence='daily' and bin_id='349'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/276496

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/276496/ft1_4FGL_J0100.3+0745_daily_bin349.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/276496/ft2_4FGL_J0100.3+0745_daily_bin349.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/276496/ft1_4FGL_J0100.3+0745_daily_bin349.fits outfile=/scratch/kocevski/276496/ft1_filteredMKT_4FGL_J0100.3+0745_daily_bin349.fits ra=15.0932 dec=7.7647 rad=12.0 tmin=329788801.0 tmax=330048001.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 8.66
user 3.29
sys 5.30

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/276496/ft2_4FGL_J0100.3+0745_daily_bin349.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/276496/ft1_filteredMKT_4FGL_J0100.3+0745_daily_bin349.fits evtable="EVENTS" outfile="/scratch/kocevski/276496/ft1_filtered_4FGL_J0100.3+0745_daily_bin349.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 5.67
user 0.36
sys 5.26

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/276496/ft1_filtered_4FGL_J0100.3+0745_daily_bin349.fits" evtable="EVENTS" scfile=/scratch/kocevski/276496/ft2_4FGL_J0100.3+0745_daily_bin349.fits sctable="SC_DATA" outfile=/scratch/kocevski/276496/ltcube_329788801_330048001_4FGL_J0100.3+0745_daily_bin349.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/276496/ft2_4FGL_J0100.3+0745_daily_bin349.fits
.....................!
real 19.55
user 13.35
sys 6.10

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/276496/ft1_filtered_4FGL_J0100.3+0745_daily_bin349.fits evtable="EVENTS" scfile=/scratch/kocevski/276496/ft2_4FGL_J0100.3+0745_daily_bin349.fits sctable="SC_DATA" expcube=/scratch/kocevski/276496/ltcube_329788801_330048001_4FGL_J0100.3+0745_daily_bin349.fits outfile=/scratch/kocevski/276496/expmap_329788801_330048001_4FGL_J0100.3+0745_daily_bin349.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/276496/ltcube_329788801_330048001_4FGL_J0100.3+0745_daily_bin349.fits
.....................!
real 199.49
user 187.39
sys 11.05

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/276496/ft1_filtered_4FGL_J0100.3+0745_daily_bin349.fits scfile=/scratch/kocevski/276496/ft2_4FGL_J0100.3+0745_daily_bin349.fits outfile=/scratch/kocevski/276496/cmap_329788801_330048001_4FGL_J0100.3+0745_daily_bin349.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 5.56
user 0.39
sys 5.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/276496/ft1_filtered_4FGL_J0100.3+0745_daily_bin349.fits scfile=/scratch/kocevski/276496/ft2_4FGL_J0100.3+0745_daily_bin349.fits outfile=/scratch/kocevski/276496/cmap_HighResolution_329788801_330048001_4FGL_J0100.3+0745_daily_bin349.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 5.55
user 0.39
sys 5.11

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.0287       1.0000         .10000E-03   10000.    
     3 'norm      '    2.5244       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .83437       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10362E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    9.9930       1.0000         .10000E-03   10000.    
     8 'Prefactor '    22.167       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.3820       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .16555E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.865       1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.909       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    .76619       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0399       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=   5629.785     FROM MIGRAD    STATUS=CONVERGED    311 CALLS     1455 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.1086        .90712E-02** at limit **
   2  Prefactor     8.0287        12.650        .35375E-02    .16818E-02
   3  norm          2.5244        8.0307        .64276E-02   -.14570E-02
   4  Prefactor     .10000E-03    3.7457        .90712E-02** at limit **
   5  Prefactor     .83520        8.7611        .12567E-01    .11599E-02
   6  Prefactor     .10000E-03    1.6619        .29952E-01** at limit **
   7  norm          9.9932        11.008        .31690E-02    .52579E-04
   8  Prefactor     22.168        50.423        .21268E-02    .44409E-04
   9  Prefactor     .10000E-03    24.906        .90712E-02** at limit **
  10  norm          2.3824        1.6587        .66353E-02   -.43266E-03
  11  Prefactor     .10000E-03    112.08        .90712E-02** at limit **
  12  Prefactor     11.865        10.490        .29074E-02   -.11891E-03
  13  Prefactor     11.883        8.6689        .29020E-02   -.45895E-03
  14  Prefactor     .10000E-03    30.603        .90712E-02** at limit **
  15  Normalizat    .76625        .18248        .64098E-01   -.30671E-03
  16  Prefactor     1.0398        .13919        .40541E-01   -.20652E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 8.02869
  norm       = 2.5244
  Prefactor  = 0.0001
  Prefactor  = 0.835201
  Prefactor  = 0.0001
  norm       = 9.9932
  Prefactor  = 22.1676
  Prefactor  = 0.0001
  norm       = 2.38241
  Prefactor  = 0.000100004
  Prefactor  = 11.8648
  Prefactor  = 11.8827
  Prefactor  = 0.0001
  Normalizat = 0.766246
  Prefactor  = 1.03984
 **********
 **   18 **HESSE 
 **********

 FCN=   5629.785     FROM HESSE     STATUS=OK           205 CALLS     1660 TOTAL
                     EDM=   .96E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.1114        .77139E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.0287        12.680        .70751E-03   -1.5141    
   3  norm          2.5244        8.0268        .25710E-03   -1.5390    
   4  Prefactor     .10000E-03    3.7493        .14180E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .83520        9.0329        .41969E-02   -1.5525    
   6  Prefactor     .10000E-03    3.8966        .18635E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          9.9932        11.012        .12676E-03   -1.5076    
   8  Prefactor     22.168        50.425        .85074E-04   -1.4766    
   9  Prefactor     .10000E-03    24.915        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.3824        1.6488        .74231E-04   -1.5399    
  11  Prefactor     .10000E-03    112.58        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.865        10.486        .11630E-03   -1.5019    
  13  Prefactor     11.883        8.6488        .11608E-03   -1.5018    
  14  Prefactor     .10000E-03    30.662        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .76625        .20883        .28356E-03   -1.0133    
  16  Prefactor     1.0398        .16052        .19565E-03   -.91413    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.56954e-08
Minuit parameter uncertainties:
  1  2.64532e-06
  2  12.6846
  3  8.03021
  4  3.73356e-05
  5  5.49411
  6  2.91983e-05
  7  11.0137
  8  50.5226
  9  0.000156456
  10  1.64879
  11  0.00131788
  12  10.4873
  13  8.6497
  14  0.000127503
  15  0.209044
  16  0.160596
Done.

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

Extracting fit parameters...

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  9.993e+00  1.101e+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.040e+00  1.606e-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:  7.662e-01  2.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.42
Ra Dec: 15.093 7.765
Photon Index (Fixed Index): 1.68 +/- 0.00
Photon Flux (Fixed Index): 9.58e-09 +/- 1.06e-08
Energy Flux (Fixed Index): 1.28e-05 +/- 1.41e-05

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

Saving results to:
/scratch/kocevski/276496/likelihoodResults_329788801_330048001_4FGL_J0100.3+0745_daily_bin349.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) = 5629.77222732
delta logL = 0.0127676058955

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5629.77214816
delta logL = 0.0128467619388

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.113       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5526       1.0000          .0000       5.0000    
     3 'Normalizat'    .76684       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0400       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=   5629.772     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      255 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.113        11.168        .12600E-03   -.61409E-03
   2  alpha         1.5525        .79747        .21451E-01   -.75208E-04
   3  Normalizat    .76686        .19725        .28345E-03    .80778E-04
   4  Prefactor     1.0400        .15765        .19564E-03   -.13540E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.1134
  alpha      = 1.5525
  Normalizat = 0.766865
  Prefactor  = 1.03995
 **********
 **   18 **HESSE 
 **********

 FCN=   5629.772     FROM HESSE     STATUS=OK            23 CALLS      278 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.113        11.171        .25200E-04   -1.5072    
   2  alpha         1.5525        .79789        .85802E-03   -.38872    
   3  Normalizat    .76686        .19738        .11338E-04   -1.0131    
   4  Prefactor     1.0400        .15777        .78254E-05   -.91409    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2442e-09
Minuit parameter uncertainties:
  1  11.1729
  2  0.814619
  3  0.197566
  4  0.157836
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/276496': 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) = 5629.77214815
delta logL = 0.0128467700806

Extracting fit parameters...

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  1.011e+01  1.117e+01  1.000e-04  1.000e+04 ( 1.000e-13)
238        alpha:  1.553e+00  8.146e-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.040e+00  1.578e-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:  7.669e-01  1.976e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.45
Ra Dec: 15.093 7.765
Photon Index (Free Index): 1.55 +/- 0.81
Photon Flux (Free Index): 8.47e-09 +/- 1.14e-08
Energy Flux (Free Index): 1.49e-05 +/- 2.23e-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/276496/cmap_HighResolution_329788801_330048001_4FGL_J0100.3+0745_daily_bin349.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.85e-05', comment='SUCCESS', photon_flux='9.58e-09', energy_flux2='1.49e-05', photon_flux_error='1.06e-08', dlogl='1.28e-02', energy_flux='1.28e-05', photon_flux2='8.47e-09', job_status='DONE', time_completed='2021-08-13 08:50:55.987102', photon_index_error2='0.81', photon_index2='1.55', ts='2.42', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='4.38e-08', energy_flux_error2='2.23e-05', EG='0.77', time_epoch_completed='1628869855.99', return_code='0', job_id='276496', GAL2='1.04', EG2='0.77', return_code2='0', energy_flux_error='1.41e-05', photon_flux_error2='1.14e-08', ts2='2.45', photon_index='1.68' WHERE bin_id='349' AND source_name='4FGL J0100.3+0745' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 08:50:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 276496: <4FGL_J0100.3+0745_daily_bin349> in cluster <slac> Done

Job <4FGL_J0100.3+0745_daily_bin349> 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) <bullet0225>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 08:36:04 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:04 2021
Terminated at Fri Aug 13 08:50:57 2021
Results reported at Fri Aug 13 08:50:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0100.3+0745_daily_bin349 15.0932 7.7647 329788801 330048001 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 :                                   665.10 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             218.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   892 sec.
    Turnaround time :                            925 sec.

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

