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


Performing analysis on: 4FGL_J0100.3+0745_daily_bin326
RA = 15.0932, Dec = 7.7647
tmin = 323827201, tmax = 324086401
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='276463', job_status='RUN', time_executed='2021-08-13 08:40:11.606603', time_epoch_executed='1628869211.61' WHERE source_name='4FGL J0100.3+0745' and cadence='daily' and bin_id='326'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/276463

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/276463/ft1_4FGL_J0100.3+0745_daily_bin326.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/276463/ft2_4FGL_J0100.3+0745_daily_bin326.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/276463/ft1_4FGL_J0100.3+0745_daily_bin326.fits outfile=/scratch/kocevski/276463/ft1_filteredMKT_4FGL_J0100.3+0745_daily_bin326.fits ra=15.0932 dec=7.7647 rad=12.0 tmin=323827201.0 tmax=324086401.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 9.88
user 3.11
sys 6.59

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/276463/ft1_filtered_4FGL_J0100.3+0745_daily_bin326.fits" evtable="EVENTS" scfile=/scratch/kocevski/276463/ft2_4FGL_J0100.3+0745_daily_bin326.fits sctable="SC_DATA" outfile=/scratch/kocevski/276463/ltcube_323827201_324086401_4FGL_J0100.3+0745_daily_bin326.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/276463/ft2_4FGL_J0100.3+0745_daily_bin326.fits
.....................!
real 21.41
user 14.05
sys 6.81

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/276463/ft1_filtered_4FGL_J0100.3+0745_daily_bin326.fits evtable="EVENTS" scfile=/scratch/kocevski/276463/ft2_4FGL_J0100.3+0745_daily_bin326.fits sctable="SC_DATA" expcube=/scratch/kocevski/276463/ltcube_323827201_324086401_4FGL_J0100.3+0745_daily_bin326.fits outfile=/scratch/kocevski/276463/expmap_323827201_324086401_4FGL_J0100.3+0745_daily_bin326.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/276463/ltcube_323827201_324086401_4FGL_J0100.3+0745_daily_bin326.fits
.....................!
real 198.42
user 185.91
sys 12.04

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/276463/ft1_filtered_4FGL_J0100.3+0745_daily_bin326.fits scfile=/scratch/kocevski/276463/ft2_4FGL_J0100.3+0745_daily_bin326.fits outfile=/scratch/kocevski/276463/cmap_323827201_324086401_4FGL_J0100.3+0745_daily_bin326.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 6.33
user 0.38
sys 5.85

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/276463/ft1_filtered_4FGL_J0100.3+0745_daily_bin326.fits scfile=/scratch/kocevski/276463/ft2_4FGL_J0100.3+0745_daily_bin326.fits outfile=/scratch/kocevski/276463/cmap_HighResolution_323827201_324086401_4FGL_J0100.3+0745_daily_bin326.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 6.24
user 0.40
sys 5.81

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.5569       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11745E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.123       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .37579       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .22526E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    21.160       1.0000         .10000E-03   10000.    
     8 'Prefactor '    56.020       1.0000         .10000E-03   10000.    
     9 'Prefactor '    194.46       1.0000         .10000E-03   10000.    
    10 'norm      '    5.3172       1.0000         .10000E-03   10000.    
    11 'Prefactor '    22.954       1.0000         .10000E-03   10000.    
    12 'Prefactor '    19.491       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    23.851       1.0000         .10000E-03   10000.    
    15 'Normalizat'    .99333       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.3692       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=   7644.292     FROM MIGRAD    STATUS=CONVERGED    315 CALLS     1495 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 10.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.5600        4.2246       -.56604E-07   -.86656E-03
   2  Prefactor     .10004E-03    34.112        .11918E-04** at limit **
   3  norm          .10000E-03    3.2879        .16372E-07** at limit **
   4  Prefactor     10.125        10.212        .76927E-07   -.23863E-03
   5  Prefactor     .37447        7.4937       -.34561E-05   -.91015E-04
   6  Prefactor     .10000E-03    .92031        .90600E-07** at limit **
   7  norm          21.190        25.712        .19904E-06   -.10033E-03
   8  Prefactor     56.066        54.082       -.79364E-06   -.17733E-03
   9  Prefactor     194.40        120.94        .43952E-06   -.24006E-04
  10  norm          5.3108        2.2930       -.31593E-06   -.60457E-03
  11  Prefactor     22.885        41.790       -.10063E-05    .12037E-03
  12  Prefactor     19.492        12.867        .14314E-06   -.37018E-04
  13  Prefactor     .10002E-03    11.965       -.59926E-05** at limit **
  14  Prefactor     23.813        37.575        .96894E-06    .97903E-04
  15  Normalizat    .99329        .21770        .22123E-05   -.52049E-03
  16  Prefactor     1.3690        .15497       -.26024E-05   -.15034E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55996
  Prefactor  = 0.000100044
  norm       = 0.0001
  Prefactor  = 10.1246
  Prefactor  = 0.374474
  Prefactor  = 0.0001
  norm       = 21.1896
  Prefactor  = 56.0664
  Prefactor  = 194.399
  norm       = 5.31078
  Prefactor  = 22.8849
  Prefactor  = 19.4917
  Prefactor  = 0.000100017
  Prefactor  = 23.8133
  Normalizat = 0.993293
  Prefactor  = 1.36904
 **********
 **   18 **HESSE 
 **********

 FCN=   7644.292     FROM HESSE     STATUS=OK           207 CALLS     1702 TOTAL
                     EDM=   .61E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.5600        4.1434        .14870E-03   -1.5236    
   2  Prefactor     .10004E-03    63.939        .53862E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    3.2906        .15483E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.125        10.199        .12594E-03   -1.5071    
   5  Prefactor     .37447        23.587        .37396E-02   -1.5586    
   6  Prefactor     .10000E-03    10.025        .16255E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          21.190        25.757        .87072E-04   -1.4787    
   8  Prefactor     56.066        54.064        .26798E-03   -1.4209    
   9  Prefactor     194.40        121.00        .14484E-03   -1.2910    
  10  norm          5.3108        2.2837        .75805E-04   -1.5247    
  11  Prefactor     22.885        41.903        .83606E-04   -1.4751    
  12  Prefactor     19.492        12.872        .90722E-04   -1.4825    
  13  Prefactor     .10002E-03    27.014        .34563E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     23.813        37.631        .82020E-04   -1.4732    
  15  Normalizat    .99329        .24297        .34587E-03   -.93255    
  16  Prefactor     1.3690        .18479        .23040E-03   -.81277    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.14646e-08
Minuit parameter uncertainties:
  1  4.14362
  2  0.00336017
  3  3.89487e-06
  4  10.201
  5  5.94567
  6  4.96133e-05
  7  25.7707
  8  54.1114
  9  121.152
  10  2.28371
  11  41.9569
  12  12.8742
  13  0.00134705
  14  37.6683
  15  0.24324
  16  0.184877
Done.

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

Extracting fit parameters...

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  2.119e+01  2.577e+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.369e+00  1.849e-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.933e-01  2.432e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.00
Ra Dec: 15.093 7.765
Photon Index (Fixed Index): 1.68 +/- 0.00
Photon Flux (Fixed Index): 2.03e-08 +/- 2.47e-08
Energy Flux (Fixed Index): 2.71e-05 +/- 3.29e-05

TS (Fixed Index): 1.00
Ra Dec: 15.093 7.765
Photon Flux Upper Limit: 7.86e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.05e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/276463/likelihoodResults_323827201_324086401_4FGL_J0100.3+0745_daily_bin326.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) = 7641.8020339
delta logL = 2.49036754247

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7641.80055581
delta logL = 2.49184563008

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.758       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.0016       1.0000          .0000       5.0000    
     3 'Normalizat'    .89072       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3863       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7641.801     FROM MIGRAD    STATUS=FAILED       103 CALLS      325 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.738        26.403        .50448E-03   -.22310E-04
   2  alpha         3.0024        .87812        .75796E-02    .41831E-03
   3  Normalizat    .89020        .25185        .36227E-03    .82535E-05
   4  Prefactor     1.3868        .18948        .22854E-03    .80586E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7641.801     FROM SIMPLEX   STATUS=UNCHANGED     74 CALLS      399 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.738        26.403        .19105E-03   -1.4914    
   2  alpha         3.0024        .87812        .99397E-03    .20232    
   3  Normalizat    .89020        .25185        .41483E-03   -.96805    
   4  Prefactor     1.3868        .18948        .28726E-03   -.80762    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7641.801     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      428 TOTAL
                     EDM=   .56E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.738        18.562        .20179E-04   -.25916E-04
   2  alpha         3.0024        .62348        .15159E-02   -.33298E-05
   3  Normalizat    .89020        .24485        .14491E-04    .83162E-05
   4  Prefactor     1.3868        .18459        .91417E-05    .82078E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 15.7381
  alpha      = 3.00237
  Normalizat = 0.890197
  Prefactor  = 1.38679
 **********
 **   18 **HESSE 
 **********

 FCN=   7641.801     FROM HESSE     STATUS=OK            23 CALLS      451 TOTAL
                     EDM=   .57E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.738        17.717        .80717E-06   -1.4914    
   2  alpha         3.0024        .59570        .60637E-04    .20232    
   3  Normalizat    .89020        .24376        .28981E-05   -.96805    
   4  Prefactor     1.3868        .18379        .18283E-05   -.80762    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.70535e-13
Minuit parameter uncertainties:
  1  17.7229
  2  0.601733
  3  0.244066
  4  0.183874
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/276463': 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) = 7641.80055182
delta logL = 2.49184961808

Extracting fit parameters...

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  1.574e+01  1.772e+01  1.000e-04  1.000e+04 ( 1.000e-13)
238        alpha:  3.002e+00  6.017e-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.387e+00  1.839e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  8.902e-01  2.441e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.03
Ra Dec: 15.093 7.765
Photon Index (Free Index): 3.00 +/- 0.60
Photon Flux (Free Index): 1.47e-07 +/- 8.18e-08
Energy Flux (Free Index): 3.66e-05 +/- 1.84e-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/276463/cmap_HighResolution_323827201_324086401_4FGL_J0100.3+0745_daily_bin326.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.05e-04', comment='SUCCESS', photon_flux='2.03e-08', energy_flux2='3.66e-05', photon_flux_error='2.47e-08', dlogl='2.49e+00', energy_flux='2.71e-05', photon_flux2='1.47e-07', job_status='DONE', time_completed='2021-08-13 08:51:45.519902', photon_index_error2='0.60', photon_index2='3.00', ts='1.00', fit_tolerance='1e-08', GAL='1.37', photon_index_error='0.00', photon_flux_upper_limit='7.86e-08', energy_flux_error2='1.84e-05', EG='0.99', time_epoch_completed='1628869905.52', return_code='0', job_id='276463', GAL2='1.39', EG2='0.89', return_code2='0', energy_flux_error='3.29e-05', photon_flux_error2='8.18e-08', ts2='6.03', photon_index='1.68' WHERE bin_id='326' AND source_name='4FGL J0100.3+0745' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 08:51:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 276463: <4FGL_J0100.3+0745_daily_bin326> in cluster <slac> Done

Job <4FGL_J0100.3+0745_daily_bin326> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Aug 13 08:35:30 2021
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 08:35:54 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:35:54 2021
Terminated at Fri Aug 13 08:51:47 2021
Results reported at Fri Aug 13 08:51:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0100.3+0745_daily_bin326 15.0932 7.7647 323827201 324086401 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 :                                   782.22 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             257.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   952 sec.
    Turnaround time :                            977 sec.

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

