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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin954
RA = 223.625, Dec = 51.409
tmin = 486604801, tmax = 486864001
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='851284', job_status='RUN', time_executed='2021-09-10 12:54:32.072388', time_epoch_executed='1631303672.07' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='954'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/851284

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/851284/ft1_4FGL_J1454.4+5124_daily_bin954.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/851284/ft2_4FGL_J1454.4+5124_daily_bin954.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/851284/ft1_4FGL_J1454.4+5124_daily_bin954.fits outfile=/scratch/kocevski/851284/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin954.fits ra=223.625 dec=51.409 rad=12.0 tmin=486604801.0 tmax=486864001.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 3.61
user 3.38
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/851284/ft2_4FGL_J1454.4+5124_daily_bin954.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/851284/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin954.fits evtable="EVENTS" outfile="/scratch/kocevski/851284/ft1_filtered_4FGL_J1454.4+5124_daily_bin954.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.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/851284/ft1_filtered_4FGL_J1454.4+5124_daily_bin954.fits" evtable="EVENTS" scfile=/scratch/kocevski/851284/ft2_4FGL_J1454.4+5124_daily_bin954.fits sctable="SC_DATA" outfile=/scratch/kocevski/851284/ltcube_486604801_486864001_4FGL_J1454.4+5124_daily_bin954.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/851284/ft2_4FGL_J1454.4+5124_daily_bin954.fits
.....................!
real 12.29
user 11.91
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/851284/ft1_filtered_4FGL_J1454.4+5124_daily_bin954.fits evtable="EVENTS" scfile=/scratch/kocevski/851284/ft2_4FGL_J1454.4+5124_daily_bin954.fits sctable="SC_DATA" expcube=/scratch/kocevski/851284/ltcube_486604801_486864001_4FGL_J1454.4+5124_daily_bin954.fits outfile=/scratch/kocevski/851284/expmap_486604801_486864001_4FGL_J1454.4+5124_daily_bin954.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/851284/ltcube_486604801_486864001_4FGL_J1454.4+5124_daily_bin954.fits
.....................!
real 189.79
user 184.99
sys 4.43

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/851284/ft1_filtered_4FGL_J1454.4+5124_daily_bin954.fits scfile=/scratch/kocevski/851284/ft2_4FGL_J1454.4+5124_daily_bin954.fits outfile=/scratch/kocevski/851284/cmap_486604801_486864001_4FGL_J1454.4+5124_daily_bin954.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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/851284/ft1_filtered_4FGL_J1454.4+5124_daily_bin954.fits scfile=/scratch/kocevski/851284/ft2_4FGL_J1454.4+5124_daily_bin954.fits outfile=/scratch/kocevski/851284/cmap_HighResolution_486604801_486864001_4FGL_J1454.4+5124_daily_bin954.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.58
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    8.9566       1.0000         .10000E-03   10000.    
     3 'Prefactor '    91.569       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.6885       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.1312       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    45.681       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.586       1.0000         .10000E-03   10000.    
    13 'Prefactor '    17.472       1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.2228       1.0000         .10000E-03   10000.    
    15 'Prefactor '    22.963       1.0000         .10000E-03   10000.    
    16 'norm      '    10.141       1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.7929       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.591       1.0000         .10000E-03   10000.    
    20 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    51.469       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .12521E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    11.114       1.0000         .10000E-03   10000.    
    26 'Prefactor '    131.90       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.2639       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .38957       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=   6509.738     FROM MIGRAD    STATUS=CONVERGED    657 CALLS     3554 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    32.755       -.14044E-04** at limit **
   2  norm          8.9562        4.3447        .98308E-07    .15511E-04
   3  Prefactor     91.636        350.38        .70030E-04   -.16112E-07
   4  Prefactor     .10000E-03    12.156       -.63772E-05** at limit **
   5  Prefactor     .10000E-03    13.727       -.78271E-05** at limit **
   6  Prefactor     2.6883        2.9422       -.73583E-06   -.24591E-02
   7  Prefactor     .10000E-03    7.4061        .57153E-05** at limit **
   8  Prefactor     2.1312        1.9715        .77665E-07   -.10362E-03
   9  Prefactor     .10000E-03    6.8927       -.64808E-05** at limit **
  10  Prefactor     45.680        24.958       -.72985E-06    .37227E-04
  11  Prefactor     .10000E-03    19.485        .24083E-04** at limit **
  12  Prefactor     13.584        23.017       -.21178E-05   -.21763E-04
  13  Prefactor     17.471        23.130       -.84070E-06    .25609E-04
  14  Prefactor     9.2230        14.710        .64262E-06   -.90035E-04
  15  Prefactor     22.960        21.564       -.12410E-05   -.15484E-04
  16  norm          10.141        2.7387        .45817E-07   -.13070E-02
  17  Prefactor     6.7928        11.265       -.57979E-08   -.76753E-04
  18  Prefactor     .10000E-03    4.0498       -.10840E-05** at limit **
  19  Prefactor     10.590        8.9691       -.11070E-07   -.27905E-04
  20  norm          .10000E-03    3.2620        .90867E-07** at limit **
  21  Prefactor     .10000E-03    4.3647        .15506E-05** at limit **
  22  Prefactor     51.467        24.337       -.57695E-06   -.33312E-03
  23  Prefactor     .10000E-03    9.9108        .87865E-05** at limit **
  24  Prefactor     .10008E-03    3.9220       -.21846E-05** at limit **
  25  norm          11.115        7.6339        .40157E-06    .59767E-03
  26  Prefactor     131.91        93.513        .95360E-05    .11561E-04
  27  Normalizat    1.2640        .17727        .67642E-06    .21803E-04
  28  Prefactor     .38946        .18658       -.23670E-05    .11843E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 8.95618
  Prefactor  = 91.6356
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.6883
  Prefactor  = 0.0001
  Prefactor  = 2.13119
  Prefactor  = 0.0001
  Prefactor  = 45.6799
  Prefactor  = 0.0001
  Prefactor  = 13.5844
  Prefactor  = 17.4707
  Prefactor  = 9.22297
  Prefactor  = 22.9604
  norm       = 10.1413
  Prefactor  = 6.79276
  Prefactor  = 0.0001
  Prefactor  = 10.5896
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 51.4672
  Prefactor  = 0.0001
  Prefactor  = 0.000100076
  norm       = 11.1154
  Prefactor  = 131.912
  Normalizat = 1.26398
  Prefactor  = 0.389459
 **********
 **   18 **HESSE 
 **********

 FCN=   6509.738     FROM HESSE     STATUS=OK           519 CALLS     4073 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    32.721        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          8.9562        4.3477        .11221E-03   -1.5109    
   3  Prefactor     91.636        349.62        .20997E-03   -1.3790    
   4  Prefactor     .10000E-03    12.148        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    13.720        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.6883        2.9741        .71295E-03   -1.5380    
   7  Prefactor     .10000E-03    7.4190        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.1312        1.9566        .10127E-03   -1.5416    
   9  Prefactor     .10000E-03    6.8883        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     45.680        24.931        .59322E-04   -1.4355    
  11  Prefactor     .10000E-03    19.387        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.584        23.047        .10867E-03   -1.4971    
  13  Prefactor     17.471        23.142        .95819E-04   -1.4872    
  14  Prefactor     9.2230        14.677        .13197E-03   -1.5100    
  15  Prefactor     22.960        21.554        .83589E-04   -1.4749    
  16  norm          10.141        2.7395        .30771E-03   -1.5071    
  17  Prefactor     6.7928        11.191        .15395E-03   -1.5187    
  18  Prefactor     .10000E-03    4.1140        .15828E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     10.590        8.9482        .12311E-03   -1.5057    
  20  norm          .10000E-03    3.3960        .28409E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.3880        .16444E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     51.467        24.331        .55902E-04   -1.4272    
  23  Prefactor     .10000E-03    9.9998        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10008E-03    13.606        .30041E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          11.115        7.4439        .12017E-03   -1.5041    
  26  Prefactor     131.91        93.414        .35061E-04   -1.3406    
  27  Normalizat    1.2640        .19471        .20105E-03   -.84648    
  28  Prefactor     .38946        .19953        .37558E-03   -1.1735    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.85749e-09
Minuit parameter uncertainties:
  1  3.04776e-06
  2  4.34784
  3  357.979
  4  3.51885e-06
  5  1.13317e-05
  6  2.97429
  7  6.48143e-06
  8  1.95666
  9  6.49253e-06
  10  24.9362
  11  2.92821e-06
  12  23.0622
  13  23.154
  14  14.6824
  15  21.5608
  16  2.73951
  17  11.1943
  18  2.07942e-05
  19  8.94934
  20  3.80555e-06
  21  1.01281e-06
  22  24.3356
  23  1.54815e-05
  24  0.00203876
  25  7.44455
  26  93.5192
  27  0.194827
  28  0.199885
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.014e+01  2.740e+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:  3.895e-01  1.999e-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:  1.264e+00  1.948e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 52.93
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 1.52e-07 +/- 4.12e-08
Energy Flux (Fixed Index): 1.09e-04 +/- 2.95e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6509.65981728
delta logL = 0.077801590287

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6509.65626917
delta logL = 0.0813496984047

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.5343       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0511       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2532       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .39620       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=   6509.656     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      231 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.5343        32.547        .32446E-02    .95383E-03
   2  alpha         2.0511        1.9643        .11882        .70568E-04
   3  Normalizat    1.2532        .20595        .33701E-01   -.19617E-06
   4  Prefactor     .39619        .17760        .84050E-01    .48291E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.53429
  alpha      = 2.05106
  Normalizat = 1.2532
  Prefactor  = 0.396194
 **********
 **   18 **HESSE 
 **********

 FCN=   6509.656     FROM HESSE     STATUS=OK            31 CALLS      262 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.5343        2.9018        .58704E-04   -1.5090    
   2  alpha         2.0511        .20958        .50817E-02   -.18056    
   3  Normalizat    1.2532        .18356        .20167E-03   -.84974    
   4  Prefactor     .39619        .19807        .37242E-03   -1.1700    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.14939e-10
Minuit parameter uncertainties:
  1  2.90184
  2  0.20984
  3  0.183655
  4  0.198415
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/851284': 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) = 6509.65626917
delta logL = 0.0813497006548

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  9.534e+00  2.902e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  2.051e+00  2.098e-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:  3.962e-01  1.984e-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:  1.253e+00  1.837e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 53.17
Ra Dec: 223.625 51.409
Photon Index (Free Index): 2.05 +/- 0.21
Photon Flux (Free Index): 1.63e-07 +/- 4.74e-08
Energy Flux (Free Index): 9.85e-05 +/- 3.48e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/851284/cmap_HighResolution_486604801_486864001_4FGL_J1454.4+5124_daily_bin954.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.52e-07', energy_flux2='9.85e-05', photon_flux_error='4.12e-08', dlogl='8.13e-02', energy_flux='1.09e-04', photon_flux2='1.63e-07', job_status='DONE', time_completed='2021-09-10 13:07:19.702331', photon_index_error2='0.21', photon_index2='2.05', ts='52.93', fit_tolerance='1e-08', GAL='0.39', photon_index_error='0.00', energy_flux_error2='3.48e-05', EG='1.26', time_epoch_completed='1631304439.7', return_code='0', job_id='851284', GAL2='0.40', EG2='1.25', return_code2='0', energy_flux_error='2.95e-05', photon_flux_error2='4.74e-08', ts2='53.17', photon_index='1.97' WHERE bin_id='954' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:07:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0032>
Subject: Job 851284: <4FGL_J1454.4+5124_daily_bin954> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin954> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 12:51:32 2021
Job was executed on host(s) <bullet0032>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:51:34 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:51:34 2021
Terminated at Fri Sep 10 13:07:20 2021
Results reported at Fri Sep 10 13:07:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin954 223.625 51.409 486604801 486864001 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 :                                   767.02 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             270.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   945 sec.
    Turnaround time :                            948 sec.

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

