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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin1083
RA = 223.625, Dec = 51.409
tmin = 520041601, tmax = 520300801
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='852571', job_status='RUN', time_executed='2021-09-10 12:56:20.676438', time_epoch_executed='1631303780.68' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='1083'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/852571

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/852571/ft1_4FGL_J1454.4+5124_daily_bin1083.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/852571/ft2_4FGL_J1454.4+5124_daily_bin1083.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/852571/ft1_4FGL_J1454.4+5124_daily_bin1083.fits outfile=/scratch/kocevski/852571/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin1083.fits ra=223.625 dec=51.409 rad=12.0 tmin=520041601.0 tmax=520300801.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.21
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/852571/ft1_filtered_4FGL_J1454.4+5124_daily_bin1083.fits evtable="EVENTS" scfile=/scratch/kocevski/852571/ft2_4FGL_J1454.4+5124_daily_bin1083.fits sctable="SC_DATA" expcube=/scratch/kocevski/852571/ltcube_520041601_520300801_4FGL_J1454.4+5124_daily_bin1083.fits outfile=/scratch/kocevski/852571/expmap_520041601_520300801_4FGL_J1454.4+5124_daily_bin1083.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/852571/ltcube_520041601_520300801_4FGL_J1454.4+5124_daily_bin1083.fits
.....................!
real 149.08
user 144.87
sys 3.93

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/852571/ft1_filtered_4FGL_J1454.4+5124_daily_bin1083.fits scfile=/scratch/kocevski/852571/ft2_4FGL_J1454.4+5124_daily_bin1083.fits outfile=/scratch/kocevski/852571/cmap_520041601_520300801_4FGL_J1454.4+5124_daily_bin1083.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.46
user 0.31
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/852571/ft1_filtered_4FGL_J1454.4+5124_daily_bin1083.fits scfile=/scratch/kocevski/852571/ft2_4FGL_J1454.4+5124_daily_bin1083.fits outfile=/scratch/kocevski/852571/cmap_HighResolution_520041601_520300801_4FGL_J1454.4+5124_daily_bin1083.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.49
user 0.31
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    9.1495       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .43813E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    26.802       1.0000         .10000E-03   10000.    
     5 'Prefactor '    38.915       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .60350E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.0639       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .17515       1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.228       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10622E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10175E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.737       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.6671       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.0083       1.0000         .10000E-03   10000.    
    19 'Prefactor '    14.205       1.0000         .10000E-03   10000.    
    20 'norm      '    .13097E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .34535       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    20.067       1.0000         .10000E-03   10000.    
    24 'Prefactor '    19.080       1.0000         .10000E-03   10000.    
    25 'norm      '    .68171E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .77792       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.3854       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4488.862     FROM MIGRAD    STATUS=CONVERGED   1273 CALLS     4122 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    40.909        .18142E-02** at limit **
   2  norm          9.1508        6.0290        .12642E-03    .52786E-04
   3  Prefactor     .10000E-03    260.66        .21221E-02** at limit **
   4  Prefactor     26.805        47.372        .77381E-04    .18365E-04
   5  Prefactor     38.988        51.317        .64251E-04   -.16632E-04
   6  Prefactor     .13515E-01    10.518        .50393E-01    .10366E-03
   7  Prefactor     5.1327        35.626        .17868E-03   -.17243E-04
   8  Prefactor     .17073        13.145        .17025E-02    .65935E-04
   9  Prefactor     14.230        25.930        .10619E-03    .36080E-04
  10  Prefactor     .10000E-03    40.503        .18142E-02** at limit **
  11  Prefactor     .10000E-03    85.706        .18142E-02** at limit **
  12  Prefactor     .10000E-03    24.086        .18142E-02** at limit **
  13  Prefactor     .10000E-03    14.793        .18142E-02** at limit **
  14  Prefactor     10.734        20.312        .12227E-03    .67783E-04
  15  Prefactor     .10000E-03    11.101        .18142E-02** at limit **
  16  norm          1.6670        1.1921        .59577E-04    .28585E-03
  17  Prefactor     .10000E-03    21.232        .18142E-02** at limit **
  18  Prefactor     6.0084        6.3403        .16381E-03    .58159E-04
  19  Prefactor     14.204        11.448        .10627E-03    .20198E-03
  20  norm          .10000E-03    10.989        .21732E-02** at limit **
  21  Prefactor     .32438        88.366        .39189E-02    .12812E-03
  22  Prefactor     .10000E-03    28.760        .18142E-02** at limit **
  23  Prefactor     20.083        21.633        .89411E-04   -.59761E-05
  24  Prefactor     19.073        12.033        .91692E-04    .17395E-03
  25  norm          .10000E-03    55.082        .41444E-02** at limit **
  26  Prefactor     .10000E-03    34.232        .18142E-02** at limit **
  27  Normalizat    .77802        .26333        .27160E-03    .19698E-03
  28  Prefactor     1.3853        .28374        .24626E-03    .14556E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 9.15082
  Prefactor  = 0.0001
  Prefactor  = 26.8052
  Prefactor  = 38.9876
  Prefactor  = 0.0135152
  Prefactor  = 5.13266
  Prefactor  = 0.170728
  Prefactor  = 14.2295
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.7335
  Prefactor  = 0.0001
  norm       = 1.66699
  Prefactor  = 0.0001
  Prefactor  = 6.00839
  Prefactor  = 14.2043
  norm       = 0.000100001
  Prefactor  = 0.32438
  Prefactor  = 0.0001
  Prefactor  = 20.0826
  Prefactor  = 19.0733
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.77802
  Prefactor  = 1.38533
 **********
 **   18 **HESSE 
 **********

 FCN=   4488.862     FROM HESSE     STATUS=OK           505 CALLS     4627 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    40.909        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          9.1508        6.0238        .50569E-05   -1.5103    
   3  Prefactor     .10000E-03    260.66        .42443E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     26.805        47.172        .30952E-05   -1.4672    
   5  Prefactor     38.988        51.250        .25701E-05   -1.4458    
   6  Prefactor     .13515E-01    9.9607        .52157E-01   -1.5685    
   7  Prefactor     5.1327        35.574        .71472E-05   -1.5255    
   8  Prefactor     .17073        12.934        .68100E-04   -1.5625    
   9  Prefactor     14.230        25.875        .42475E-05   -1.4953    
  10  Prefactor     .10000E-03    40.519        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    85.719        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    24.090        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    14.793        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.734        20.308        .48908E-05   -1.5053    
  15  Prefactor     .10000E-03    11.102        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.6670        1.1920        .23831E-05   -1.5450    
  17  Prefactor     .10000E-03    21.239        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.0084        6.3396        .65523E-05   -1.5218    
  19  Prefactor     14.204        11.445        .42508E-05   -1.4954    
  20  norm          .10000E-03    11.016        .43465E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .32438        79.404        .15675E-03   -1.5594    
  22  Prefactor     .10000E-03    28.774        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     20.083        20.437        .35765E-05   -1.4811    
  24  Prefactor     19.073        11.998        .36677E-05   -1.4834    
  25  norm          .10000E-03    55.641        .82888E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    34.232        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .77802        .26327        .10864E-04   -1.0089    
  28  Prefactor     1.3853        .28391        .49252E-04   -.80804    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.24103e-10
Minuit parameter uncertainties:
  1  1.03041e-06
  2  6.02419
  3  1.69244e-05
  4  47.2374
  5  51.3081
  6  0.731217
  7  27.0477
  8  2.97178
  9  25.8949
  10  3.66115e-06
  11  0.000318953
  12  0.000143513
  13  7.35134e-06
  14  20.3213
  15  3.83407e-05
  16  1.19205
  17  9.61038e-05
  18  6.34034
  19  11.4468
  20  0.000191806
  21  10.1623
  22  0.000162297
  23  20.444
  24  11.9997
  25  0.000212376
  26  6.89068e-07
  27  0.263699
  28  0.28423
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.667e+00  1.192e+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.385e+00  2.842e-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.780e-01  2.637e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 15.14
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 2.51e-08 +/- 1.79e-08
Energy Flux (Fixed Index): 1.79e-05 +/- 1.28e-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) = 4486.56827182
delta logL = 2.29399505222

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4486.49989118
delta logL = 2.36237569718

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2073       1.0000         .10000E-03   10000.    
     2 'alpha     '    .88819       1.0000          .0000       5.0000    
     3 'Normalizat'    .79177       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3790       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=   4486.500     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      202 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2059        .91756        .10306E-01   -.32255E-03
   2  alpha         .88768        .36376        .26305       -.19295E-04
   3  Normalizat    .79171        .20012        .43503E-01    .15636E-04
   4  Prefactor     1.3790        .23554        .55789E-01    .15559E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.20592
  alpha      = 0.887679
  Normalizat = 0.791712
  Prefactor  = 1.37899
 **********
 **   18 **HESSE 
 **********

 FCN=   4486.500     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .41E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2059        1.1893        .50117E-03   -1.5488    
   2  alpha         .88768        .46295        .11488E-02   -.70093    
   3  Normalizat    .79171        .23639        .26937E-03   -1.0038    
   4  Prefactor     1.3790        .27829        .24668E-03   -.80988    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.05898e-13
Minuit parameter uncertainties:
  1  1.18937
  2  0.467604
  3  0.236696
  4  0.278597
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/852571': 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) = 4486.49989036
delta logL = 2.36237651183

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.206e+00  1.189e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  8.877e-01  4.676e-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.379e+00  2.786e-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.917e-01  2.367e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 19.85
Ra Dec: 223.625 51.409
Photon Index (Free Index): 0.89 +/- 0.47
Photon Flux (Free Index): 9.96e-09 +/- 7.59e-09
Energy Flux (Free Index): 1.28e-04 +/- 1.36e-04

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/852571/cmap_HighResolution_520041601_520300801_4FGL_J1454.4+5124_daily_bin1083.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.51e-08', energy_flux2='1.28e-04', photon_flux_error='1.79e-08', dlogl='2.36e+00', energy_flux='1.79e-05', photon_flux2='9.96e-09', job_status='DONE', time_completed='2021-09-10 13:04:50.862000', photon_index_error2='0.47', photon_index2='0.89', ts='15.14', fit_tolerance='1e-08', GAL='1.39', photon_index_error='0.00', energy_flux_error2='1.36e-04', EG='0.78', time_epoch_completed='1631304290.86', return_code='0', job_id='852571', GAL2='1.38', EG2='0.79', return_code2='0', energy_flux_error='1.28e-05', photon_flux_error2='7.59e-09', ts2='19.85', photon_index='1.97' WHERE bin_id='1083' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:04:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0071>
Subject: Job 852571: <4FGL_J1454.4+5124_daily_bin1083> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin1083> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 10 12:56:10 2021
Job was executed on host(s) <bullet0071>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:56: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:56:11 2021
Terminated at Fri Sep 10 13:04:53 2021
Results reported at Fri Sep 10 13:04:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin1083 223.625 51.409 520041601 520300801 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 :                                   507.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             348.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   520 sec.
    Turnaround time :                            523 sec.

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

