/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 209 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_bin393
RA = 223.625, Dec = 51.409
tmin = 341193601, tmax = 341452801
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='849428', job_status='RUN', time_executed='2021-09-10 12:49:52.252958', time_epoch_executed='1631303392.25' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='393'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849428

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849428/ft1_4FGL_J1454.4+5124_daily_bin393.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849428/ft2_4FGL_J1454.4+5124_daily_bin393.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849428/ft1_4FGL_J1454.4+5124_daily_bin393.fits outfile=/scratch/kocevski/849428/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin393.fits ra=223.625 dec=51.409 rad=12.0 tmin=341193601.0 tmax=341452801.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.42
user 3.22
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/849428/ft1_filtered_4FGL_J1454.4+5124_daily_bin393.fits" evtable="EVENTS" scfile=/scratch/kocevski/849428/ft2_4FGL_J1454.4+5124_daily_bin393.fits sctable="SC_DATA" outfile=/scratch/kocevski/849428/ltcube_341193601_341452801_4FGL_J1454.4+5124_daily_bin393.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/849428/ft2_4FGL_J1454.4+5124_daily_bin393.fits
.....................!
real 11.72
user 11.39
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849428/ft1_filtered_4FGL_J1454.4+5124_daily_bin393.fits evtable="EVENTS" scfile=/scratch/kocevski/849428/ft2_4FGL_J1454.4+5124_daily_bin393.fits sctable="SC_DATA" expcube=/scratch/kocevski/849428/ltcube_341193601_341452801_4FGL_J1454.4+5124_daily_bin393.fits outfile=/scratch/kocevski/849428/expmap_341193601_341452801_4FGL_J1454.4+5124_daily_bin393.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/849428/ltcube_341193601_341452801_4FGL_J1454.4+5124_daily_bin393.fits
.....................!
real 189.91
user 185.03
sys 4.53

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/849428/ft1_filtered_4FGL_J1454.4+5124_daily_bin393.fits scfile=/scratch/kocevski/849428/ft2_4FGL_J1454.4+5124_daily_bin393.fits outfile=/scratch/kocevski/849428/cmap_341193601_341452801_4FGL_J1454.4+5124_daily_bin393.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=223.625 yref=51.409 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/849428/ft1_filtered_4FGL_J1454.4+5124_daily_bin393.fits scfile=/scratch/kocevski/849428/ft2_4FGL_J1454.4+5124_daily_bin393.fits outfile=/scratch/kocevski/849428/cmap_HighResolution_341193601_341452801_4FGL_J1454.4+5124_daily_bin393.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.56
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.7334       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10097E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.127       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.1352       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10226E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .53675E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    21.679       1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.449       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10251E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.6431       1.0000         .10000E-03   10000.    
    16 'norm      '    1.6736       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.4546       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.6332       1.0000         .10000E-03   10000.    
    20 'norm      '    .15970E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .45047       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    6.3538       1.0000         .10000E-03   10000.    
    25 'norm      '    .10798E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .85477       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0561       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=   5376.360     FROM MIGRAD    STATUS=CONVERGED    683 CALLS     3470 TOTAL
                     EDM=   .71E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    35.522        .25763E-06** at limit **
   2  norm          2.7333        2.9242        .36956E-07   -.54165E-05
   3  Prefactor     .10000E-03    814.48        .58282E-04** at limit **
   4  Prefactor     .10000E-03    13.693       -.11746E-06** at limit **
   5  Prefactor     .10000E-03    11.780        .34178E-06** at limit **
   6  Prefactor     .10000E-03    2.2025        .22578E-07** at limit **
   7  Prefactor     11.102        20.050       -.76706E-07   -.67690E-05
   8  Prefactor     5.1339        2.8115        .62379E-07   -.24386E-04
   9  Prefactor     .10000E-03    14.549       -.10637E-06** at limit **
  10  Prefactor     .10000E-03    7.5064        .70640E-07** at limit **
  11  Prefactor     .10000E-03    180.01       -.59863E-06** at limit **
  12  Prefactor     21.672        28.973        .42796E-06   -.19232E-06
  13  Prefactor     12.444        24.022        .81130E-07   -.27245E-05
  14  Prefactor     .10000E-03    9.8010       -.26582E-06** at limit **
  15  Prefactor     1.6366        36.988        .15578E-05    .21928E-04
  16  norm          1.6731        1.2826       -.67882E-07   -.16267E-03
  17  Prefactor     .10000E-03    14.400        .76400E-06** at limit **
  18  Prefactor     2.4551        6.6593        .31782E-05    .47212E-04
  19  Prefactor     5.6276        6.9992        .88646E-06   -.23532E-04
  20  norm          .10000E-03    3.6022        .30610E-07** at limit **
  21  Prefactor     .43318        5.9366       -.61167E-06    .20190E-03
  22  Prefactor     .10000E-03    6.0667       -.43189E-07** at limit **
  23  Prefactor     .10000E-03    7.5365       -.10153E-06** at limit **
  24  Prefactor     6.3498        5.7862        .17187E-06   -.29267E-04
  25  norm          .10000E-03    5.2210        .29837E-06** at limit **
  26  Prefactor     .10000E-03    128.68       -.26775E-05** at limit **
  27  Normalizat    .85511        .17989       -.18555E-05   -.68597E-05
  28  Prefactor     1.0557        .19597        .77053E-06   -.84439E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 2.73327
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.1015
  Prefactor  = 5.13388
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.6717
  Prefactor  = 12.4435
  Prefactor  = 0.0001
  Prefactor  = 1.63663
  norm       = 1.67311
  Prefactor  = 0.0001
  Prefactor  = 2.45505
  Prefactor  = 5.62757
  norm       = 0.0001
  Prefactor  = 0.433179
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.34976
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.85511
  Prefactor  = 1.05575
 **********
 **   18 **HESSE 
 **********

 FCN=   5376.360     FROM HESSE     STATUS=OK           523 CALLS     3993 TOTAL
                     EDM=   .92E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    35.523        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.7333        2.9224        .12589E-03   -1.5377    
   3  Prefactor     .10000E-03    815.27        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    13.695        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    11.785        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.2106        .10624E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     11.102        20.192        .12010E-03   -1.5041    
   8  Prefactor     5.1339        2.8128        .87270E-04   -1.5255    
   9  Prefactor     .10000E-03    14.595        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    7.5096        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    183.82        .21122E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     21.672        29.009        .86025E-04   -1.4777    
  13  Prefactor     12.444        24.014        .11353E-03   -1.5002    
  14  Prefactor     .10000E-03    9.8297        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.6366        36.657        .32957E-03   -1.5452    
  16  norm          1.6731        1.2746        .69144E-04   -1.5449    
  17  Prefactor     .10000E-03    14.875        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.4551        6.6775        .13054E-02   -1.5395    
  19  Prefactor     5.6276        6.9759        .84627E-03   -1.5233    
  20  norm          .10000E-03    5.8577        .23806E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .43318        35.984        .29579E-02   -1.5576    
  22  Prefactor     .10000E-03    6.0723        .17636E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    7.5687        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     6.3498        5.6277        .15880E-03   -1.5204    
  25  norm          .10000E-03    13.441        .31568E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    128.99        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .85511        .21482        .22801E-03   -.98056    
  28  Prefactor     1.0557        .23429        .23976E-03   -.90894    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.15538e-10
Minuit parameter uncertainties:
  1  2.92246e-07
  2  2.92256
  3  0.000445684
  4  6.06782e-07
  5  2.93603e-06
  6  1.73286e-06
  7  20.2042
  8  2.81284
  9  2.94041e-06
  10  1.93336e-07
  11  5.44986e-05
  12  29.0274
  13  24.0327
  14  1.17375e-05
  15  15.5014
  16  1.27461
  17  7.62805e-06
  18  6.67954
  19  6.97691
  20  6.26453e-05
  21  7.90026
  22  3.04898e-06
  23  1.12473e-05
  24  5.62814
  25  0.000129363
  26  3.14665e-05
  27  0.215039
  28  0.234522
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.673e+00  1.275e+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.056e+00  2.345e-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.551e-01  2.150e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.24
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 2.51e-08 +/- 1.92e-08
Energy Flux (Fixed Index): 1.80e-05 +/- 1.37e-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) = 5376.3128724
delta logL = 0.0467376113893

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5376.3090727
delta logL = 0.0505373156229

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7891       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7836       1.0000          .0000       5.0000    
     3 'Normalizat'    .86000       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0531       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=   5376.309     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      195 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7893        40.944        .78183E-02   -.90709E-04
   2  alpha         1.7836        2.7539        .38054        .10894E-04
   3  Normalizat    .86000        .92575E-01    .44388E-01    .11761E-04
   4  Prefactor     1.0531        .80007E-01    .39730E-01    .68772E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.78926
  alpha      = 1.78362
  Normalizat = 0.859999
  Prefactor  = 1.0531
 **********
 **   18 **HESSE 
 **********

 FCN=   5376.309     FROM HESSE     STATUS=OK            33 CALLS      228 TOTAL
                     EDM=   .19E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7893        1.3756        .72371E-04   -1.5440    
   2  alpha         1.7836        .56910        .13156E-01   -.29063    
   3  Normalizat    .86000        .19873        .22744E-03   -.97880    
   4  Prefactor     1.0531        .23080        .24003E-03   -.90980    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.90923e-12
Minuit parameter uncertainties:
  1  1.37564
  2  0.574599
  3  0.198898
  4  0.231021
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849428': 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) = 5376.30907262
delta logL = 0.0505373890619

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.789e+00  1.376e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.784e+00  5.746e-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.053e+00  2.310e-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.600e-01  1.989e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.34
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.78 +/- 0.57
Photon Flux (Free Index): 2.07e-08 +/- 2.05e-08
Energy Flux (Free Index): 2.29e-05 +/- 2.57e-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/849428/cmap_HighResolution_341193601_341452801_4FGL_J1454.4+5124_daily_bin393.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.51e-08', energy_flux2='2.29e-05', photon_flux_error='1.92e-08', dlogl='5.05e-02', energy_flux='1.80e-05', photon_flux2='2.07e-08', job_status='DONE', time_completed='2021-09-10 13:01:07.171848', photon_index_error2='0.57', photon_index2='1.78', ts='5.24', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='2.57e-05', EG='0.86', time_epoch_completed='1631304067.17', return_code='0', job_id='849428', GAL2='1.05', EG2='0.86', return_code2='0', energy_flux_error='1.37e-05', photon_flux_error2='2.05e-08', ts2='5.34', photon_index='1.97' WHERE bin_id='393' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:01:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0077>
Subject: Job 849428: <4FGL_J1454.4+5124_daily_bin393> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin393 223.625 51.409 341193601 341452801 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 :                                   675.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             276.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   893 sec.
    Turnaround time :                            894 sec.

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

