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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin374
RA = 223.625, Dec = 51.409
tmin = 336268801, tmax = 336528001
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='849400', job_status='RUN', time_executed='2021-09-10 12:50:18.200687', time_epoch_executed='1631303418.2' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='374'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849400

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

Retrieving the FT1 file...

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

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

Retrieving 53 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849400/ft1_4FGL_J1454.4+5124_daily_bin374.fits


Retrieving the FT1 file...

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

Retrieving 53 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849400/ft2_4FGL_J1454.4+5124_daily_bin374.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849400/ft1_4FGL_J1454.4+5124_daily_bin374.fits outfile=/scratch/kocevski/849400/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin374.fits ra=223.625 dec=51.409 rad=12.0 tmin=336268801.0 tmax=336528001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 7.23
user 6.74
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/849400/ft2_4FGL_J1454.4+5124_daily_bin374.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/849400/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin374.fits evtable="EVENTS" outfile="/scratch/kocevski/849400/ft1_filtered_4FGL_J1454.4+5124_daily_bin374.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.61
user 0.33
sys 0.27

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849400/ft1_filtered_4FGL_J1454.4+5124_daily_bin374.fits evtable="EVENTS" scfile=/scratch/kocevski/849400/ft2_4FGL_J1454.4+5124_daily_bin374.fits sctable="SC_DATA" expcube=/scratch/kocevski/849400/ltcube_336268801_336528001_4FGL_J1454.4+5124_daily_bin374.fits outfile=/scratch/kocevski/849400/expmap_336268801_336528001_4FGL_J1454.4+5124_daily_bin374.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/849400/ltcube_336268801_336528001_4FGL_J1454.4+5124_daily_bin374.fits
.....................!
real 190.76
user 185.00
sys 5.39

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/849400/ft1_filtered_4FGL_J1454.4+5124_daily_bin374.fits scfile=/scratch/kocevski/849400/ft2_4FGL_J1454.4+5124_daily_bin374.fits outfile=/scratch/kocevski/849400/cmap_336268801_336528001_4FGL_J1454.4+5124_daily_bin374.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/849400/ft1_filtered_4FGL_J1454.4+5124_daily_bin374.fits scfile=/scratch/kocevski/849400/ft2_4FGL_J1454.4+5124_daily_bin374.fits outfile=/scratch/kocevski/849400/cmap_HighResolution_336268801_336528001_4FGL_J1454.4+5124_daily_bin374.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.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/849400/ft1_filtered_4FGL_J1454.4+5124_daily_bin374.fits', '/scratch/kocevski/849400/ft2_4FGL_J1454.4+5124_daily_bin374.fits', expMap='/scratch/kocevski/849400/expmap_336268801_336528001_4FGL_J1454.4+5124_daily_bin374.fits', expCube='/scratch/kocevski/849400/ltcube_336268801_336528001_4FGL_J1454.4+5124_daily_bin374.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/849400/Model_4FGL_J1454.4+5124_daily_bin374.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/849400/ft1_filtered_4FGL_J1454.4+5124_daily_bin374.fits
Spacecraft file(s): /scratch/kocevski/849400/ft2_4FGL_J1454.4+5124_daily_bin374.fits
Exposure map: /scratch/kocevski/849400/expmap_336268801_336528001_4FGL_J1454.4+5124_daily_bin374.fits
Exposure cube: /scratch/kocevski/849400/ltcube_336268801_336528001_4FGL_J1454.4+5124_daily_bin374.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/849400/Model_4FGL_J1454.4+5124_daily_bin374.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) = 4858.7763924

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    44.041       1.0000         .10000E-03   10000.    
     2 'norm      '    .76413       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10202E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    28.488       1.0000         .10000E-03   10000.    
     5 'Prefactor '    40.334       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.7278       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10243E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.1467       1.0000         .10000E-03   10000.    
     9 'Prefactor '    48.029       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10859E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10812E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    25.378       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.6914       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.5369       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    12.175       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10272E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    3.7181       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .81134       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.1543       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.

 FCN=   4858.663     FROM MIGRAD    STATUS=CONVERGED    701 CALLS     3541 TOTAL
                     EDM=   .47E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          44.039        62.637       -.53646E-06   -.17447E-04
   2  norm          .76813        6.0932        .24017E-05   -.41860E-04
   3  Prefactor     .10000E-03    167.10       -.23428E-05** at limit **
   4  Prefactor     28.506        57.720        .87699E-06    .33902E-04
   5  Prefactor     40.335        44.140       -.26873E-06   -.38560E-04
   6  Prefactor     2.7275        3.6351        .82661E-07   -.13467E-04
   7  Prefactor     .10000E-03    26.225       -.16211E-06** at limit **
   8  Prefactor     1.1441        2.9768        .77365E-06   -.32374E-03
   9  Prefactor     48.009        29.422       -.35383E-06   -.15767E-03
  10  Prefactor     .10023E-03    21.779        .19352E-05** at limit **
  11  Prefactor     .10001E-03    44.899       -.44529E-05** at limit **
  12  Prefactor     .10000E-03    9.6269        .33425E-08** at limit **
  13  Prefactor     .10000E-03    75.519        .61356E-06** at limit **
  14  Prefactor     25.375        18.049       -.42635E-07   -.43608E-04
  15  Prefactor     .10000E-03    4.1957        .83911E-08** at limit **
  16  norm          1.6911        1.6937        .10035E-06   -.32121E-04
  17  Prefactor     .10000E-03    3.0083        .44929E-08** at limit **
  18  Prefactor     3.5371        4.4196        .22812E-06    .78438E-04
  19  Prefactor     .10000E-03    3.3025        .98674E-08** at limit **
  20  norm          .10000E-03    1.7404        .12504E-07** at limit **
  21  Prefactor     .10000E-03    6.8360        .29307E-07** at limit **
  22  Prefactor     .10000E-03    6.5932       -.68848E-09** at limit **
  23  Prefactor     12.165        11.866        .22225E-06    .33811E-05
  24  Prefactor     .10000E-03    11.627       -.34685E-06** at limit **
  25  norm          3.7278        12.893        .62369E-06   -.12217E-04
  26  Prefactor     .10000E-03    39.484        .30138E-05** at limit **
  27  Normalizat    .81096        .18247       -.83180E-06   -.17807E-03
  28  Prefactor     1.1547        .20443       -.99213E-07   -.16370E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 44.0391
  norm       = 0.76813
  Prefactor  = 0.000100002
  Prefactor  = 28.5059
  Prefactor  = 40.3353
  Prefactor  = 2.72754
  Prefactor  = 0.0001
  Prefactor  = 1.14412
  Prefactor  = 48.0094
  Prefactor  = 0.000100235
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.375
  Prefactor  = 0.0001
  norm       = 1.69107
  Prefactor  = 0.0001
  Prefactor  = 3.53707
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.1653
  Prefactor  = 0.0001
  norm       = 3.72782
  Prefactor  = 0.000100003
  Normalizat = 0.810961
  Prefactor  = 1.15473
 **********
 **   18 **HESSE 
 **********

 FCN=   4858.663     FROM HESSE     STATUS=OK           513 CALLS     4054 TOTAL
                     EDM=   .54E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          44.039        62.662        .60411E-04   -1.4380    
   2  norm          .76813        6.2672        .32024E-02   -1.5533    
   3  Prefactor     .10000E-03    167.85        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     28.506        58.257        .75062E-04   -1.4640    
   5  Prefactor     40.335        44.169        .63116E-04   -1.4437    
   6  Prefactor     2.7275        3.6219        .14782E-03   -1.5378    
   7  Prefactor     .10000E-03    26.597        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.1441        2.7777        .16327E-03   -1.5494    
   9  Prefactor     48.009        29.237        .57860E-04   -1.4321    
  10  Prefactor     .10023E-03    78.590        .55932E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10001E-03    47.665        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    9.6396        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    76.304        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     25.375        18.023        .79519E-04   -1.4700    
  15  Prefactor     .10000E-03    4.1979        .13943E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.6911        1.6776        .87219E-04   -1.5448    
  17  Prefactor     .10000E-03    3.0142        .11807E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.5371        4.4143        .15886E-03   -1.5332    
  19  Prefactor     .10000E-03    3.3299        .12369E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    1.7513        .89710E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    6.8664        .17709E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    6.5979        .17479E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     12.165        11.811        .11480E-03   -1.5010    
  24  Prefactor     .10000E-03    11.698        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          3.7278        12.850        .20942E-03   -1.5322    
  26  Prefactor     .10000E-03    40.777        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .81096        .21646        .24181E-03   -.99663    
  28  Prefactor     1.1547        .24371        .24208E-03   -.87736    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.3543e-08
Minuit parameter uncertainties:
  1  62.7555
  2  4.38853
  3  0.00117075
  4  58.3733
  5  44.2051
  6  3.62217
  7  1.44761e-05
  8  2.77799
  9  29.2461
  10  0.00860575
  11  0.00119098
  12  2.4436e-06
  13  0.000209263
  14  18.0264
  15  2.1854e-07
  16  1.67761
  17  5.50844e-07
  18  4.41467
  19  1.91929e-06
  20  4.79199e-07
  21  5.90696e-07
  22  7.16128e-08
  23  11.8135
  24  1.90992e-05
  25  12.8597
  26  0.000743973
  27  0.21669
  28  0.243948
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.691e+00  1.678e+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.155e+00  2.439e-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.110e-01  2.167e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.44
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 2.54e-08 +/- 2.52e-08
Energy Flux (Fixed Index): 1.82e-05 +/- 1.80e-05

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

Saving results to:
/scratch/kocevski/849400/likelihoodResults_336268801_336528001_4FGL_J1454.4+5124_daily_bin374.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) = 4858.41539348
delta logL = 0.248095570034

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4858.4105061
delta logL = 0.252982949863

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1934       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4369       1.0000          .0000       5.0000    
     3 'Normalizat'    .79838       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1606       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=   4858.411     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      233 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1947        20.593        .10414E-01    .76505E-03
   2  alpha         2.4357        3.7148        .28928        .59682E-04
   3  Normalizat    .79844        .50340E-01    .43589E-01    .19457E-04
   4  Prefactor     1.1606        .55968E-01    .54600E-01   -.83070E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 1.19469
  alpha      = 2.43568
  Normalizat = 0.798437
  Prefactor  = 1.16059
 **********
 **   18 **HESSE 
 **********

 FCN=   4858.411     FROM HESSE     STATUS=OK            33 CALLS      266 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1947        1.5933        .63895E-04   -1.5489    
   2  alpha         2.4357        .73803        .10371E-01   -.25730E-01
   3  Normalizat    .79844        .20646        .24339E-03   -1.0013    
   4  Prefactor     1.1606        .24262        .24142E-03   -.87553    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.27797e-11
Minuit parameter uncertainties:
  1  1.59333
  2  0.749203
  3  0.206663
  4  0.242851
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849400': 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) = 4858.41050427
delta logL = 0.252984782451

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.195e+00  1.593e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  2.436e+00  7.492e-01  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.161e+00  2.429e-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.984e-01  2.067e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.94
Ra Dec: 223.625 51.409
Photon Index (Free Index): 2.44 +/- 0.75
Photon Flux (Free Index): 3.99e-08 +/- 3.72e-08
Energy Flux (Free Index): 1.34e-05 +/- 1.32e-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/849400/cmap_HighResolution_336268801_336528001_4FGL_J1454.4+5124_daily_bin374.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.98e-05', comment='SUCCESS', photon_flux='2.54e-08', energy_flux2='1.34e-05', photon_flux_error='2.52e-08', dlogl='2.53e-01', energy_flux='1.82e-05', photon_flux2='3.99e-08', job_status='DONE', time_completed='2021-09-10 13:02:47.711829', photon_index_error2='0.75', photon_index2='2.44', ts='1.44', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', photon_flux_upper_limit='8.36e-08', energy_flux_error2='1.32e-05', EG='0.81', time_epoch_completed='1631304167.71', return_code='0', job_id='849400', GAL2='1.16', EG2='0.80', return_code2='0', energy_flux_error='1.80e-05', photon_flux_error2='3.72e-08', ts2='1.94', photon_index='1.97' WHERE bin_id='374' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:02:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 849400: <4FGL_J1454.4+5124_daily_bin374> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin374> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 12:46:11 2021
Job was executed on host(s) <bullet0078>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:46:12 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:12 2021
Terminated at Fri Sep 10 13:02:48 2021
Results reported at Fri Sep 10 13:02:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin374 223.625 51.409 336268801 336528001 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 :                                   747.39 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             239.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   995 sec.
    Turnaround time :                            997 sec.

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

