/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 6 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 = 7468
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1454.4+5124_daily_bin579
RA = 223.625, Dec = 51.409
tmin = 389404801, tmax = 389664001
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='849700', job_status='RUN', time_executed='2021-09-10 12:46:47.532221', time_epoch_executed='1631303207.53' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='579'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849700

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849700/ft1_4FGL_J1454.4+5124_daily_bin579.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849700/ft2_4FGL_J1454.4+5124_daily_bin579.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849700/ft1_4FGL_J1454.4+5124_daily_bin579.fits outfile=/scratch/kocevski/849700/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin579.fits ra=223.625 dec=51.409 rad=12.0 tmin=389404801.0 tmax=389664001.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.07
user 3.82
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/849700/ft2_4FGL_J1454.4+5124_daily_bin579.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/849700/ft2_4FGL_J1454.4+5124_daily_bin579.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/849700/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin579.fits evtable="EVENTS" outfile="/scratch/kocevski/849700/ft1_filtered_4FGL_J1454.4+5124_daily_bin579.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.50
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/849700/ft1_filtered_4FGL_J1454.4+5124_daily_bin579.fits" evtable="EVENTS" scfile=/scratch/kocevski/849700/ft2_4FGL_J1454.4+5124_daily_bin579.fits sctable="SC_DATA" outfile=/scratch/kocevski/849700/ltcube_389404801_389664001_4FGL_J1454.4+5124_daily_bin579.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/849700/ft2_4FGL_J1454.4+5124_daily_bin579.fits
.....................!
real 11.93
user 11.56
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849700/ft1_filtered_4FGL_J1454.4+5124_daily_bin579.fits evtable="EVENTS" scfile=/scratch/kocevski/849700/ft2_4FGL_J1454.4+5124_daily_bin579.fits sctable="SC_DATA" expcube=/scratch/kocevski/849700/ltcube_389404801_389664001_4FGL_J1454.4+5124_daily_bin579.fits outfile=/scratch/kocevski/849700/expmap_389404801_389664001_4FGL_J1454.4+5124_daily_bin579.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/849700/ltcube_389404801_389664001_4FGL_J1454.4+5124_daily_bin579.fits
.....................!
real 191.77
user 186.78
sys 4.57

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 202 point sources and 0 extended sources

Setting source of interest to:
4FGL J1454.4+5124 @ 223.625 51.409

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/849700/ft1_filtered_4FGL_J1454.4+5124_daily_bin579.fits scfile=/scratch/kocevski/849700/ft2_4FGL_J1454.4+5124_daily_bin579.fits outfile=/scratch/kocevski/849700/cmap_389404801_389664001_4FGL_J1454.4+5124_daily_bin579.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=223.625 yref=51.409 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.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/849700/ft1_filtered_4FGL_J1454.4+5124_daily_bin579.fits scfile=/scratch/kocevski/849700/ft2_4FGL_J1454.4+5124_daily_bin579.fits outfile=/scratch/kocevski/849700/cmap_HighResolution_389404801_389664001_4FGL_J1454.4+5124_daily_bin579.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=223.625 yref=51.409 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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/849700/ft1_filtered_4FGL_J1454.4+5124_daily_bin579.fits evtable="EVENTS" scfile=/scratch/kocevski/849700/ft2_4FGL_J1454.4+5124_daily_bin579.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/849700/Model_4FGL_J1454.4+5124_daily_bin579.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/849700/ft1_filtered_4FGL_J1454.4+5124_daily_bin579.fits.....................!
real 50.68
user 49.28
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/849700/ft1_filtered_4FGL_J1454.4+5124_daily_bin579.fits', '/scratch/kocevski/849700/ft2_4FGL_J1454.4+5124_daily_bin579.fits', expMap='/scratch/kocevski/849700/expmap_389404801_389664001_4FGL_J1454.4+5124_daily_bin579.fits', expCube='/scratch/kocevski/849700/ltcube_389404801_389664001_4FGL_J1454.4+5124_daily_bin579.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/849700/Model_4FGL_J1454.4+5124_daily_bin579.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1454.4+5124'

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.118e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.968e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
309         beta:  5.547e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
310           Eb:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/849700/ft1_filtered_4FGL_J1454.4+5124_daily_bin579.fits
Spacecraft file(s): /scratch/kocevski/849700/ft2_4FGL_J1454.4+5124_daily_bin579.fits
Exposure map: /scratch/kocevski/849700/expmap_389404801_389664001_4FGL_J1454.4+5124_daily_bin579.fits
Exposure cube: /scratch/kocevski/849700/ltcube_389404801_389664001_4FGL_J1454.4+5124_daily_bin579.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/849700/Model_4FGL_J1454.4+5124_daily_bin579.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) = 6283.33527999

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'norm      '    3.9042       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .13120E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.8734       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .61556       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.1846       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    69.789       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    43.106       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.5947       1.0000         .10000E-03   10000.    
    16 'norm      '    .94189       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10716E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.2468       1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.334       1.0000         .10000E-03   10000.    
    20 'norm      '    .15763E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.6543       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .25170E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .80244       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .37199       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .83773       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.1901       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6450E+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=   6283.324     FROM MIGRAD    STATUS=CONVERGED   1250 CALLS     4097 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    23.723        .18142E-02** at limit **
   2  norm          3.9042        2.8512        .11085E-03    .52099E-04
   3  Prefactor     .10008E-03    362.02        .18142E-02** at limit **
   4  Prefactor     9.8736        24.848        .63763E-03    .52757E-04
   5  Prefactor     .10000E-03    13.028        .18142E-02** at limit **
   6  Prefactor     .62504        9.6976        .26454E-02    .10947E-03
   7  Prefactor     .10000E-03    53.002        .18142E-02** at limit **
   8  Prefactor     .10000E-03    .62324        .60825E-03** at limit **
   9  Prefactor     .10000E-03    6.3335        .18142E-02** at limit **
  10  Prefactor     7.1851        12.027        .74825E-03    .18260E-03
  11  Prefactor     .10000E-03    26.647        .18142E-02** at limit **
  12  Prefactor     69.791        41.194        .48051E-04    .82526E-04
  13  Prefactor     .10000E-03    7.6782        .18142E-02** at limit **
  14  Prefactor     43.108        20.272        .61060E-04    .92089E-04
  15  Prefactor     2.5934        39.171        .25330E-03    .30789E-04
  16  norm          .94203        1.1026        .87980E-04    .37137E-03
  17  Prefactor     .10000E-03    14.530        .36285E-03** at limit **
  18  Prefactor     4.2492        7.2955        .19553E-03    .87856E-04
  19  Prefactor     12.335        8.3893        .11406E-03    .72462E-04
  20  norm          .10000E-03    5.1895        .34453E-03** at limit **
  21  Prefactor     6.7125        24.424        .15556E-03    .36162E-03
  22  Prefactor     .10000E-03    36.036        .21462E-02** at limit **
  23  Prefactor     .66816        544.45        .50643E-02    .83500E-04
  24  Prefactor     .10000E-03    3.9522        .15333E-02** at limit **
  25  norm          .38015        19.360        .34855E-02    .28828E-03
  26  Prefactor     .10001E-03    75.819        .18142E-02** at limit **
  27  Normalizat    .83781        .21650        .25184E-03    .31856E-03
  28  Prefactor     1.1900        .23081        .24795E-03    .19266E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 3.9042
  Prefactor  = 0.000100081
  Prefactor  = 9.87359
  Prefactor  = 0.0001
  Prefactor  = 0.625042
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.18514
  Prefactor  = 0.0001
  Prefactor  = 69.7909
  Prefactor  = 0.0001
  Prefactor  = 43.1083
  Prefactor  = 2.59343
  norm       = 0.942028
  Prefactor  = 0.0001
  Prefactor  = 4.24915
  Prefactor  = 12.3348
  norm       = 0.0001
  Prefactor  = 6.71252
  Prefactor  = 0.0001
  Prefactor  = 0.668156
  Prefactor  = 0.0001
  norm       = 0.380154
  Prefactor  = 0.000100006
  Normalizat = 0.837806
  Prefactor  = 1.19001
 **********
 **   18 **HESSE 
 **********

 FCN=   6283.324     FROM HESSE     STATUS=OK           497 CALLS     4594 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    23.723        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.9042        2.8496        .44341E-05   -1.5313    
   3  Prefactor     .10008E-03    362.02        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.8736        24.842        .25505E-04   -1.5079    
   5  Prefactor     .10000E-03    13.028        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .62504        9.6556        .10582E-03   -1.5550    
   7  Prefactor     .10000E-03    53.043        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    .62326        .12165E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    6.3337        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.1851        12.020        .29930E-04   -1.5172    
  11  Prefactor     .10000E-03    26.648        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     69.791        41.122        .96101E-05   -1.4035    
  13  Prefactor     .10000E-03    7.6782        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     43.108        20.259        .12212E-04   -1.4394    
  15  Prefactor     2.5934        39.054        .10132E-04   -1.5386    
  16  norm          .94203        1.1023        .35192E-05   -1.5514    
  17  Prefactor     .10000E-03    14.530        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.2492        7.2898        .78210E-05   -1.5296    
  19  Prefactor     12.335        8.3549        .45624E-05   -1.5005    
  20  norm          .10000E-03    5.1896        .68906E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.7125        16.191        .62223E-05   -1.5190    
  22  Prefactor     .10000E-03    36.032        .42925E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .66816        238.90        .20257E-03   -1.5544    
  24  Prefactor     .10000E-03    3.9526        .30667E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .38015        19.498        .13942E-03   -1.5585    
  26  Prefactor     .10001E-03    75.824        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .83781        .21008        .10074E-04   -.98681    
  28  Prefactor     1.1900        .22897        .49589E-04   -.86639    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05779e-09
Minuit parameter uncertainties:
  1  7.66662e-05
  2  2.84972
  3  0.0109244
  4  24.8676
  5  6.38427e-07
  6  4.91387
  7  0.000563755
  8  7.37439e-06
  9  1.09902e-05
  10  12.0241
  11  0.000120664
  12  41.1385
  13  9.25087e-07
  14  20.2623
  15  20.1432
  16  1.10229
  17  2.04163e-05
  18  7.29133
  19  8.35565
  20  3.61509e-05
  21  16.2015
  22  1.56895e-05
  23  25.3689
  24  7.91784e-06
  25  5.44624
  26  0.00131255
  27  0.210289
  28  0.229157
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  9.420e-01  1.102e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.968e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
309         beta:  5.547e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
310           Eb:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  1.190e+00  2.292e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  8.378e-01  2.103e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.75
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 1.42e-08 +/- 1.66e-08
Energy Flux (Fixed Index): 1.01e-05 +/- 1.19e-05

TS (Fixed Index): 1.75
Ra Dec: 223.625 51.409
Photon Flux Upper Limit: 6.21e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.44e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/849700/likelihoodResults_389404801_389664001_4FGL_J1454.4+5124_daily_bin579.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) = 6281.89888657
delta logL = 1.42506357864

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6281.7932509
delta logL = 1.53069925304

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13278       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.9057       1.0000          .0000       5.0000    
     3 'Normalizat'    .73656       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2605       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6281.793     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      232 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .13277        1.0190        .33852E-02    .18774E-02
   2  alpha         3.9058        3.8937        .21225        .76841E-04
   3  Normalizat    .73661        .49427E-01    .42777E-01    .20823E-04
   4  Prefactor     1.2605        .55754E-01    .54616E-01    .17984E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.132773
  alpha      = 3.90583
  Normalizat = 0.736607
  Prefactor  = 1.26051
 **********
 **   18 **HESSE 
 **********

 FCN=   6281.793     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      265 TOTAL
                     EDM=   .29E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .13277        1.8946        .15211E-04   -1.5635    
   2  alpha         3.9058        4.3470        .89004E-02    .59720    
   3  Normalizat    .73661        .20607        .26615E-03   -1.0247    
   4  Prefactor     1.2605        .22581        .24148E-03   -.84489    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.89207e-07
Minuit parameter uncertainties:
  1  1.00276
  2  3.62473
  3  0.206284
  4  0.225988
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849700': 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): 102
logL (Free Index) = 6281.79325023
delta logL = 1.53069992448

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.328e-01  1.003e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  3.906e+00  3.625e+00  0.000e+00  5.000e+00 ( 1.000e+00)
309         beta:  5.547e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
310           Eb:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  1.261e+00  2.260e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  7.366e-01  2.063e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.00
Ra Dec: 223.625 51.409
Photon Index (Free Index): 3.91 +/- 3.62
Photon Flux (Free Index): 9.80e-08 +/- 8.27e-08
Energy Flux (Free Index): 1.55e-05 +/- 8.53e-06

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/849700/cmap_HighResolution_389404801_389664001_4FGL_J1454.4+5124_daily_bin579.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.44e-05', comment='SUCCESS', photon_flux='1.42e-08', energy_flux2='1.55e-05', photon_flux_error='1.66e-08', dlogl='1.53e+00', energy_flux='1.01e-05', photon_flux2='9.80e-08', job_status='DONE', time_completed='2021-09-10 13:01:43.072990', photon_index_error2='3.62', photon_index2='3.91', ts='1.75', fit_tolerance='1e-08', GAL='1.19', photon_index_error='0.00', photon_flux_upper_limit='6.21e-08', energy_flux_error2='8.53e-06', EG='0.84', time_epoch_completed='1631304103.07', return_code='0', job_id='849700', GAL2='1.26', EG2='0.74', return_code2='102', energy_flux_error='1.19e-05', photon_flux_error2='8.27e-08', ts2='5.00', photon_index='1.97' WHERE bin_id='579' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:01:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0272>
Subject: Job 849700: <4FGL_J1454.4+5124_daily_bin579> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin579> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 12:46:31 2021
Job was executed on host(s) <bullet0272>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:46:32 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 12:46:32 2021
Terminated at Fri Sep 10 13:01:43 2021
Results reported at Fri Sep 10 13:01:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin579 223.625 51.409 389404801 389664001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1454.4+5124 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   894.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             361.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   911 sec.
    Turnaround time :                            912 sec.

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

