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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin408
RA = 223.625, Dec = 51.409
tmin = 345081601, tmax = 345340801
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='849450', job_status='RUN', time_executed='2021-09-10 12:48:23.912834', time_epoch_executed='1631303303.91' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='408'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849450

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849450/ft1_4FGL_J1454.4+5124_daily_bin408.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849450/ft2_4FGL_J1454.4+5124_daily_bin408.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849450/ft1_4FGL_J1454.4+5124_daily_bin408.fits outfile=/scratch/kocevski/849450/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin408.fits ra=223.625 dec=51.409 rad=12.0 tmin=345081601.0 tmax=345340801.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.51
user 3.25
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/849450/ft2_4FGL_J1454.4+5124_daily_bin408.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/849450/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin408.fits evtable="EVENTS" outfile="/scratch/kocevski/849450/ft1_filtered_4FGL_J1454.4+5124_daily_bin408.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/849450/ft1_filtered_4FGL_J1454.4+5124_daily_bin408.fits" evtable="EVENTS" scfile=/scratch/kocevski/849450/ft2_4FGL_J1454.4+5124_daily_bin408.fits sctable="SC_DATA" outfile=/scratch/kocevski/849450/ltcube_345081601_345340801_4FGL_J1454.4+5124_daily_bin408.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/849450/ft2_4FGL_J1454.4+5124_daily_bin408.fits
.....................!
real 11.93
user 11.59
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849450/ft1_filtered_4FGL_J1454.4+5124_daily_bin408.fits evtable="EVENTS" scfile=/scratch/kocevski/849450/ft2_4FGL_J1454.4+5124_daily_bin408.fits sctable="SC_DATA" expcube=/scratch/kocevski/849450/ltcube_345081601_345340801_4FGL_J1454.4+5124_daily_bin408.fits outfile=/scratch/kocevski/849450/expmap_345081601_345340801_4FGL_J1454.4+5124_daily_bin408.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/849450/ltcube_345081601_345340801_4FGL_J1454.4+5124_daily_bin408.fits
.....................!
real 190.05
user 184.74
sys 4.75

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/849450/ft1_filtered_4FGL_J1454.4+5124_daily_bin408.fits scfile=/scratch/kocevski/849450/ft2_4FGL_J1454.4+5124_daily_bin408.fits outfile=/scratch/kocevski/849450/cmap_345081601_345340801_4FGL_J1454.4+5124_daily_bin408.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/849450/ft1_filtered_4FGL_J1454.4+5124_daily_bin408.fits scfile=/scratch/kocevski/849450/ft2_4FGL_J1454.4+5124_daily_bin408.fits outfile=/scratch/kocevski/849450/cmap_HighResolution_345081601_345340801_4FGL_J1454.4+5124_daily_bin408.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.55
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .51430E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    89.271       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.3117       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.3688       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    32.143       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.3237       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .33892E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.2828       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10305E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    10.220       1.0000         .10000E-03   10000.    
    24 'Prefactor '    5.4308       1.0000         .10000E-03   10000.    
    25 'norm      '    26.665       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .79274       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.3086       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=   6448.714     FROM MIGRAD    STATUS=CONVERGED    668 CALLS     3461 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    22.767       -.93346E-05** at limit **
   2  norm          .10000E-03    1.2569        .16333E-06** at limit **
   3  Prefactor     .10000E-03    918.78       -.28550E-03** at limit **
   4  Prefactor     .10000E-03    13.365       -.78721E-05** at limit **
   5  Prefactor     89.283        44.809        .64484E-05    .10024E-04
   6  Prefactor     7.3105        5.4830       -.13336E-06   -.14319E-03
   7  Prefactor     8.3746        20.950       -.17916E-05   -.36382E-04
   8  Prefactor     .10000E-03    .65727        .10204E-07** at limit **
   9  Prefactor     .10000E-03    17.240        .44252E-05** at limit **
  10  Prefactor     32.151        23.327       -.60916E-06   -.11406E-04
  11  Prefactor     .10000E-03    38.144        .72652E-05** at limit **
  12  Prefactor     .10000E-03    5.6564       -.10023E-06** at limit **
  13  Prefactor     .10000E-03    22.685       -.90686E-05** at limit **
  14  Prefactor     .10000E-03    15.573       -.51999E-05** at limit **
  15  Prefactor     .10000E-03    19.842        .56765E-05** at limit **
  16  norm          2.3236        1.3365        .47448E-07    .98872E-05
  17  Prefactor     .10000E-03    5.3639       -.69099E-06** at limit **
  18  Prefactor     4.2824        6.2785       -.57633E-05   -.48862E-03
  19  Prefactor     .10003E-03    3.5418        .12880E-05** at limit **
  20  norm          .10000E-03    1.9977       -.98158E-07** at limit **
  21  Prefactor     .10000E-03    18.115        .76791E-05** at limit **
  22  Prefactor     .10000E-03    17.740        .63719E-05** at limit **
  23  Prefactor     10.218        10.634       -.54270E-07   -.47909E-03
  24  Prefactor     5.4309        6.3500        .54804E-06   -.45698E-04
  25  norm          26.664        12.043        .46687E-07   -.29465E-04
  26  Prefactor     .10000E-03    115.85       -.78538E-06** at limit **
  27  Normalizat    .79269        .17259       -.54708E-06   -.16788E-03
  28  Prefactor     1.3087        .19329        .96544E-06   -.19974E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 89.2827
  Prefactor  = 7.31046
  Prefactor  = 8.37456
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.1505
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 2.32361
  Prefactor  = 0.000100003
  Prefactor  = 4.28243
  Prefactor  = 0.000100026
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.2184
  Prefactor  = 5.43087
  norm       = 26.6644
  Prefactor  = 0.0001
  Normalizat = 0.792689
  Prefactor  = 1.3087
 **********
 **   18 **HESSE 
 **********

 FCN=   6448.714     FROM HESSE     STATUS=OK           513 CALLS     3974 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    22.761        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.2660        .87903E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    913.35        .21143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    13.369        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     89.283        44.888        .42526E-04   -1.3815    
   6  Prefactor     7.3105        5.4743        .14833E-03   -1.5167    
   7  Prefactor     8.3746        21.028        .13858E-03   -1.5129    
   8  Prefactor     .10000E-03    .66029        .63508E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    17.325        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     32.151        23.334        .70676E-04   -1.4573    
  11  Prefactor     .10000E-03    38.182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.6592        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    22.721        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    15.727        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    20.195        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.3236        1.3363        .68285E-04   -1.5403    
  17  Prefactor     .10000E-03    19.920        .35636E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.2824        6.3101        .19468E-03   -1.5294    
  19  Prefactor     .10003E-03    12.282        .28943E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.0140        .11072E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    18.494        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    17.856        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     10.218        10.561        .12534E-03   -1.5069    
  24  Prefactor     5.4309        6.3425        .17243E-03   -1.5242    
  25  norm          26.664        12.034        .77580E-04   -1.4675    
  26  Prefactor     .10000E-03    116.44        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .79269        .20575        .26203E-03   -1.0034    
  28  Prefactor     1.3087        .23179        .24647E-03   -.83049    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.69307e-09
Minuit parameter uncertainties:
  1  4.00009e-07
  2  1.96158e-06
  3  0.00106445
  4  1.90581e-05
  5  44.9051
  6  5.47472
  7  21.0465
  8  1.72208e-06
  9  8.26966e-06
  10  23.3405
  11  5.20559e-05
  12  9.4348e-07
  13  3.63646e-07
  14  1.42747e-05
  15  0.000248111
  16  1.33631
  17  0.000466698
  18  6.31106
  19  0.00113139
  20  4.86184e-06
  21  1.13839e-05
  22  3.49197e-05
  23  10.5631
  24  6.34333
  25  12.0355
  26  2.17228e-05
  27  0.205948
  28  0.231972
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.324e+00  1.336e+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.309e+00  2.320e-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.927e-01  2.059e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.41
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 3.49e-08 +/- 2.01e-08
Energy Flux (Fixed Index): 2.50e-05 +/- 1.44e-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) = 6447.37545702
delta logL = 1.33863426749

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6447.37509072
delta logL = 1.33900056425

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4757       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3241       1.0000          .0000       5.0000    
     3 'Normalizat'    .80733       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3021       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=   6447.375     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      205 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4757        1.4285        .64963E-02   -.18954E-02
   2  alpha         1.3241        .32364        .27519       -.26681E-04
   3  Normalizat    .80731        .16239        .43706E-01    .19808E-04
   4  Prefactor     1.3021        .19183        .55854E-01    .24950E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.47572
  alpha      = 1.32415
  Normalizat = 0.807308
  Prefactor  = 1.30212
 **********
 **   18 **HESSE 
 **********

 FCN=   6447.375     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4757        1.5407        .70849E-04   -1.5393    
   2  alpha         1.3241        .36878        .11482E-01   -.48968    
   3  Normalizat    .80731        .19340        .25985E-03   -.99798    
   4  Prefactor     1.3021        .22868        .24697E-03   -.83244    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.04942e-10
Minuit parameter uncertainties:
  1  1.54077
  2  0.37052
  3  0.193562
  4  0.228854
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849450': 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) = 6447.37509069
delta logL = 1.33900059295

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.476e+00  1.541e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.324e+00  3.705e-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.302e+00  2.289e-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.073e-01  1.936e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.08
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.32 +/- 0.37
Photon Flux (Free Index): 1.88e-08 +/- 1.31e-08
Energy Flux (Free Index): 7.59e-05 +/- 6.78e-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/849450/cmap_HighResolution_345081601_345340801_4FGL_J1454.4+5124_daily_bin408.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.49e-08', energy_flux2='7.59e-05', photon_flux_error='2.01e-08', dlogl='1.34e+00', energy_flux='2.50e-05', photon_flux2='1.88e-08', job_status='DONE', time_completed='2021-09-10 13:00:50.471864', photon_index_error2='0.37', photon_index2='1.32', ts='9.41', fit_tolerance='1e-08', GAL='1.31', photon_index_error='0.00', energy_flux_error2='6.78e-05', EG='0.79', time_epoch_completed='1631304050.47', return_code='0', job_id='849450', GAL2='1.30', EG2='0.81', return_code2='0', energy_flux_error='1.44e-05', photon_flux_error2='1.31e-08', ts2='12.08', photon_index='1.97' WHERE bin_id='408' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:00:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0008>
Subject: Job 849450: <4FGL_J1454.4+5124_daily_bin408> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin408 223.625 51.409 345081601 345340801 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 :                                   746.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             291.34 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   875 sec.
    Turnaround time :                            876 sec.

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

