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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin348
RA = 223.625, Dec = 51.409
tmin = 329529601, tmax = 329788801
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='849363', job_status='RUN', time_executed='2021-09-10 12:48:42.571213', time_epoch_executed='1631303322.57' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='348'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849363

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849363/ft1_4FGL_J1454.4+5124_daily_bin348.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849363/ft2_4FGL_J1454.4+5124_daily_bin348.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849363/ft1_4FGL_J1454.4+5124_daily_bin348.fits outfile=/scratch/kocevski/849363/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin348.fits ra=223.625 dec=51.409 rad=12.0 tmin=329529601.0 tmax=329788801.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.50
user 3.29
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/849363/ft2_4FGL_J1454.4+5124_daily_bin348.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/849363/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin348.fits evtable="EVENTS" outfile="/scratch/kocevski/849363/ft1_filtered_4FGL_J1454.4+5124_daily_bin348.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.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849363/ft1_filtered_4FGL_J1454.4+5124_daily_bin348.fits evtable="EVENTS" scfile=/scratch/kocevski/849363/ft2_4FGL_J1454.4+5124_daily_bin348.fits sctable="SC_DATA" expcube=/scratch/kocevski/849363/ltcube_329529601_329788801_4FGL_J1454.4+5124_daily_bin348.fits outfile=/scratch/kocevski/849363/expmap_329529601_329788801_4FGL_J1454.4+5124_daily_bin348.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/849363/ltcube_329529601_329788801_4FGL_J1454.4+5124_daily_bin348.fits
.....................!
real 190.98
user 185.63
sys 4.99

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/849363/ft1_filtered_4FGL_J1454.4+5124_daily_bin348.fits scfile=/scratch/kocevski/849363/ft2_4FGL_J1454.4+5124_daily_bin348.fits outfile=/scratch/kocevski/849363/cmap_329529601_329788801_4FGL_J1454.4+5124_daily_bin348.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/849363/ft1_filtered_4FGL_J1454.4+5124_daily_bin348.fits scfile=/scratch/kocevski/849363/ft2_4FGL_J1454.4+5124_daily_bin348.fits outfile=/scratch/kocevski/849363/cmap_HighResolution_329529601_329788801_4FGL_J1454.4+5124_daily_bin348.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    5.4233       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    39.768       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10779E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.1091       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.3123       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    49.833       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .13424       1.0000         .10000E-03   10000.    
    16 'norm      '    1.7517       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10164E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.4360       1.0000         .10000E-03   10000.    
    19 'Prefactor '    18.386       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    14.810       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10824E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    9.1493       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.1694       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .62734       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=   5815.023     FROM MIGRAD    STATUS=CONVERGED    742 CALLS     3546 TOTAL
                     EDM=   .71E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    51.205        .91463E-06** at limit **
   2  norm          5.4224        3.5384       -.13943E-06   -.34359E-04
   3  Prefactor     .10000E-03    109.95        .89190E-05** at limit **
   4  Prefactor     39.758        38.830        .10139E-06    .43792E-05
   5  Prefactor     .10000E-03    8.8987       -.38218E-06** at limit **
   6  Prefactor     .10000E-03    7.2074        .10504E-06** at limit **
   7  Prefactor     .10000E-03    8.0915       -.94391E-07** at limit **
   8  Prefactor     1.1097        1.7109       -.63097E-07   -.51011E-05
   9  Prefactor     2.3137        13.504       -.42298E-07    .15442E-05
  10  Prefactor     .10000E-03    4.8500       -.12679E-07** at limit **
  11  Prefactor     .10000E-03    19.165        .66032E-07** at limit **
  12  Prefactor     49.824        36.299       -.43971E-07    .85444E-05
  13  Prefactor     .10000E-03    12.870       -.11828E-06** at limit **
  14  Prefactor     .10000E-03    9.8070       -.21587E-06** at limit **
  15  Prefactor     .11375E-03    12.551       -.10938E-05** at limit **
  16  norm          1.7537        1.3598        .32965E-07    .27112E-03
  17  Prefactor     .10000E-03    9.8225        .40676E-07** at limit **
  18  Prefactor     2.4382        3.5545       -.44337E-06    .12290E-04
  19  Prefactor     18.381        8.4526       -.16203E-06   -.16199E-04
  20  norm          .10000E-03    1.7491       -.30425E-07** at limit **
  21  Prefactor     .10000E-03    8.5448        .28924E-06** at limit **
  22  Prefactor     14.849        21.425        .18255E-05    .10013E-04
  23  Prefactor     .10000E-03    90.121       -.54022E-05** at limit **
  24  Prefactor     .10000E-03    3.7536        .19529E-07** at limit **
  25  norm          9.1484        7.0966       -.29449E-07    .57646E-06
  26  Prefactor     .10000E-03    32.133       -.25338E-06** at limit **
  27  Normalizat    1.1697        .17556        .66016E-06    .58833E-04
  28  Prefactor     .62717        .18759       -.48050E-06    .51051E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 5.42242
  Prefactor  = 0.0001
  Prefactor  = 39.7583
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.10968
  Prefactor  = 2.31369
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 49.8238
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00011375
  norm       = 1.75374
  Prefactor  = 0.0001
  Prefactor  = 2.43823
  Prefactor  = 18.3809
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.8491
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 9.14843
  Prefactor  = 0.0001
  Normalizat = 1.16969
  Prefactor  = 0.627171
 **********
 **   18 **HESSE 
 **********

 FCN=   5815.023     FROM HESSE     STATUS=OK           531 CALLS     4077 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    51.270        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.4224        3.5281        .55718E-03   -1.5242    
   3  Prefactor     .10000E-03    110.01        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     39.758        38.642        .63562E-04   -1.4446    
   5  Prefactor     .10000E-03    8.9014        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.5067        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    8.1118        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.1097        1.4713        .11798E-02   -1.5497    
   9  Prefactor     2.3137        13.406        .26980E-03   -1.5404    
  10  Prefactor     .10000E-03    4.8526        .16400E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    19.177        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     49.824        36.357        .56808E-04   -1.4295    
  13  Prefactor     .10000E-03    12.885        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.8582        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .11375E-03    16.813        .73345E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.7537        1.3550        .74231E-04   -1.5443    
  17  Prefactor     .10000E-03    10.039        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.4382        3.5720        .84667E-03   -1.5396    
  19  Prefactor     18.381        8.4671        .46703E-03   -1.4850    
  20  norm          .10000E-03    1.7639        .98394E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    8.6332        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     14.849        21.472        .10408E-03   -1.4937    
  23  Prefactor     .10000E-03    89.116        .46211E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    3.7647        .14423E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          9.1484        7.0960        .13250E-03   -1.5103    
  26  Prefactor     .10000E-03    32.139        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.1697        .20828        .20303E-03   -.87545    
  28  Prefactor     .62717        .22152        .29787E-03   -1.0645    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02209e-09
Minuit parameter uncertainties:
  1  1.63035e-05
  2  3.52825
  3  0.000253576
  4  38.6661
  5  2.98538e-06
  6  6.20187e-06
  7  1.30968e-07
  8  1.4713
  9  11.1423
  10  2.83517e-07
  11  2.52848e-06
  12  36.3728
  13  4.84743e-06
  14  4.40224e-06
  15  0.0304175
  16  1.35499
  17  2.23084e-07
  18  3.57231
  19  8.46762
  20  7.8327e-08
  21  2.89292e-06
  22  21.4829
  23  0.000528712
  24  1.02146e-06
  25  7.09663
  26  2.03695e-06
  27  0.208425
  28  0.221828
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.754e+00  1.355e+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:  6.272e-01  2.218e-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.170e+00  2.084e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.12
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 2.64e-08 +/- 2.04e-08
Energy Flux (Fixed Index): 1.89e-05 +/- 1.46e-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) = 5814.89054543
delta logL = 0.131980380575

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5814.88827444
delta logL = 0.13425137678

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3461       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3767       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1522       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63802       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=   5814.888     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      239 TOTAL
                     EDM=   .89E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3458        18.505        .94353E-02    .29354E-03
   2  alpha         2.3769        3.6535        .23246        .67996E-04
   3  Normalizat    1.1524        .59309E-01    .36185E-01   -.20590E-05
   4  Prefactor     .63790        .56930E-01    .66775E-01    .25176E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.34579
  alpha      = 2.37688
  Normalizat = 1.15241
  Prefactor  = 0.637895
 **********
 **   18 **HESSE 
 **********

 FCN=   5814.888     FROM HESSE     STATUS=OK            33 CALLS      272 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3458        1.4953        .59533E-04   -1.5476    
   2  alpha         2.3769        .80655        .12126E-01   -.49268E-01
   3  Normalizat    1.1524        .20218        .20429E-03   -.88086    
   4  Prefactor     .63790        .22121        .29549E-03   -1.0601    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.0925e-09
Minuit parameter uncertainties:
  1  1.49533
  2  0.821278
  3  0.20232
  4  0.221512
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849363': 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) = 5814.88827398
delta logL = 0.134251835028

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.346e+00  1.495e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  2.377e+00  8.213e-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:  6.379e-01  2.215e-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.152e+00  2.023e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.37
Ra Dec: 223.625 51.409
Photon Index (Free Index): 2.38 +/- 0.82
Photon Flux (Free Index): 4.04e-08 +/- 3.80e-08
Energy Flux (Free Index): 1.45e-05 +/- 1.16e-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/849363/cmap_HighResolution_329529601_329788801_4FGL_J1454.4+5124_daily_bin348.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.64e-08', energy_flux2='1.45e-05', photon_flux_error='2.04e-08', dlogl='1.34e-01', energy_flux='1.89e-05', photon_flux2='4.04e-08', job_status='DONE', time_completed='2021-09-10 13:00:44.463059', photon_index_error2='0.82', photon_index2='2.38', ts='4.12', fit_tolerance='1e-08', GAL='0.63', photon_index_error='0.00', energy_flux_error2='1.16e-05', EG='1.17', time_epoch_completed='1631304044.46', return_code='0', job_id='849363', GAL2='0.64', EG2='1.15', return_code2='0', energy_flux_error='1.46e-05', photon_flux_error2='3.80e-08', ts2='4.37', photon_index='1.97' WHERE bin_id='348' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:00:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 849363: <4FGL_J1454.4+5124_daily_bin348> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin348 223.625 51.409 329529601 329788801 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 :                                   721.38 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             296.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   873 sec.
    Turnaround time :                            876 sec.

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

