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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin589
RA = 223.625, Dec = 51.409
tmin = 391996801, tmax = 392256001
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='849715', job_status='RUN', time_executed='2021-09-10 12:49:46.462515', time_epoch_executed='1631303386.46' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='589'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849715

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849715/ft1_4FGL_J1454.4+5124_daily_bin589.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849715/ft2_4FGL_J1454.4+5124_daily_bin589.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849715/ft1_4FGL_J1454.4+5124_daily_bin589.fits outfile=/scratch/kocevski/849715/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin589.fits ra=223.625 dec=51.409 rad=12.0 tmin=391996801.0 tmax=392256001.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 5.64
user 5.09
sys 0.27

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/849715/ft2_4FGL_J1454.4+5124_daily_bin589.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/849715/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin589.fits evtable="EVENTS" outfile="/scratch/kocevski/849715/ft1_filtered_4FGL_J1454.4+5124_daily_bin589.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/849715/ft1_filtered_4FGL_J1454.4+5124_daily_bin589.fits" evtable="EVENTS" scfile=/scratch/kocevski/849715/ft2_4FGL_J1454.4+5124_daily_bin589.fits sctable="SC_DATA" outfile=/scratch/kocevski/849715/ltcube_391996801_392256001_4FGL_J1454.4+5124_daily_bin589.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/849715/ft2_4FGL_J1454.4+5124_daily_bin589.fits
.....................!
real 11.65
user 11.30
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849715/ft1_filtered_4FGL_J1454.4+5124_daily_bin589.fits evtable="EVENTS" scfile=/scratch/kocevski/849715/ft2_4FGL_J1454.4+5124_daily_bin589.fits sctable="SC_DATA" expcube=/scratch/kocevski/849715/ltcube_391996801_392256001_4FGL_J1454.4+5124_daily_bin589.fits outfile=/scratch/kocevski/849715/expmap_391996801_392256001_4FGL_J1454.4+5124_daily_bin589.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/849715/ltcube_391996801_392256001_4FGL_J1454.4+5124_daily_bin589.fits
.....................!
real 190.33
user 185.14
sys 4.84

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/849715/ft1_filtered_4FGL_J1454.4+5124_daily_bin589.fits scfile=/scratch/kocevski/849715/ft2_4FGL_J1454.4+5124_daily_bin589.fits outfile=/scratch/kocevski/849715/cmap_391996801_392256001_4FGL_J1454.4+5124_daily_bin589.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.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    5.1393       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10104E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.6817       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.8128       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.1991       1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.104       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    40.520       1.0000         .10000E-03   10000.    
    12 'Prefactor '    56.619       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.321       1.0000         .10000E-03   10000.    
    16 'norm      '    2.3304       1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.740       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .19867E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.2342       1.0000         .10000E-03   10000.    
    20 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .23901E-02   1.0000         .10000E-03   10000.    
    24 'Prefactor '    14.913       1.0000         .10000E-03   10000.    
    25 'norm      '    3.9139       1.0000         .10000E-03   10000.    
    26 'Prefactor '    50.169       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .83738       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .94412       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=   5589.011     FROM MIGRAD    STATUS=CONVERGED    713 CALLS     3548 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    31.933        .10343E-05** at limit **
   2  norm          5.1388        3.6486        .40618E-07   -.31197E-04
   3  Prefactor     .10002E-03    180.02       -.36273E-05** at limit **
   4  Prefactor     .10003E-03    65.258        .46636E-05** at limit **
   5  Prefactor     .10000E-03    19.412        .20150E-05** at limit **
   6  Prefactor     3.6810        3.9312        .41930E-07   -.14067E-04
   7  Prefactor     2.8105        23.569        .12182E-05    .25273E-05
   8  Prefactor     1.1992        1.8329        .19961E-06    .43917E-04
   9  Prefactor     12.095        22.366        .40128E-06    .65523E-04
  10  Prefactor     .10000E-03    7.5871        .24027E-07** at limit **
  11  Prefactor     40.513        42.625       -.10256E-05   -.16431E-03
  12  Prefactor     56.610        31.182       -.54001E-07   -.86911E-04
  13  Prefactor     .10001E-03    20.047       -.27792E-05** at limit **
  14  Prefactor     .10000E-03    4.7980        .10349E-07** at limit **
  15  Prefactor     10.333        14.912        .74960E-06    .41666E-03
  16  norm          2.3301        1.5235        .56209E-08    .18714E-03
  17  Prefactor     11.736        9.8947       -.12191E-05   -.47679E-03
  18  Prefactor     .10179E-03    4.5581       -.21676E-05** at limit **
  19  Prefactor     1.2314        11.461        .43952E-05   -.39060E-04
  20  norm          .10000E-03    1.5727       -.17186E-07** at limit **
  21  Prefactor     .10000E-03    4.4000        .19301E-07** at limit **
  22  Prefactor     .10000E-03    6.6309        .10409E-07** at limit **
  23  Prefactor     .10003E-03    8.8495        .23705E-05** at limit **
  24  Prefactor     14.912        8.0024        .19240E-06    .23093E-03
  25  norm          3.9128        5.7374       -.15638E-06   -.21046E-03
  26  Prefactor     50.162        53.477       -.13945E-05   -.18663E-03
  27  Normalizat    .83760        .16979       -.95099E-06   -.14782E-03
  28  Prefactor     .94398        .18524        .44208E-07   -.13051E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  norm       = 5.13884
  Prefactor  = 0.000100016
  Prefactor  = 0.000100025
  Prefactor  = 0.000100005
  Prefactor  = 3.68103
  Prefactor  = 2.8105
  Prefactor  = 1.19916
  Prefactor  = 12.0954
  Prefactor  = 0.0001
  Prefactor  = 40.5131
  Prefactor  = 56.6103
  Prefactor  = 0.000100009
  Prefactor  = 0.0001
  Prefactor  = 10.3334
  norm       = 2.33011
  Prefactor  = 11.7361
  Prefactor  = 0.000101793
  Prefactor  = 1.23137
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100035
  Prefactor  = 14.9117
  norm       = 3.91283
  Prefactor  = 50.1624
  Normalizat = 0.837604
  Prefactor  = 0.943981
 **********
 **   18 **HESSE 
 **********

 FCN=   5589.011     FROM HESSE     STATUS=OK           531 CALLS     4079 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    32.041        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.1388        3.6455        .11619E-03   -1.5255    
   3  Prefactor     .10002E-03    181.33        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10003E-03    67.637        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    19.850        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.6810        3.9209        .14741E-03   -1.5324    
   7  Prefactor     2.8105        23.711        .24253E-03   -1.5373    
   8  Prefactor     1.1992        1.7856        .11962E-03   -1.5489    
   9  Prefactor     12.095        22.334        .11514E-03   -1.5012    
  10  Prefactor     .10000E-03    7.5949        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     40.513        42.878        .62971E-04   -1.4434    
  12  Prefactor     56.610        31.252        .53313E-04   -1.4202    
  13  Prefactor     .10001E-03    20.886        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.8058        .15991E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.333        14.955        .12472E-03   -1.5065    
  16  norm          2.3301        1.5179        .70925E-04   -1.5403    
  17  Prefactor     11.736        9.9333        .11692E-03   -1.5023    
  18  Prefactor     .10179E-03    4.8937        .45216E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.2314        13.681        .40437E-03   -1.5486    
  20  norm          .10000E-03    3.3711        .18061E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.4293        .15281E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    6.6458        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10003E-03    32.631        .38336E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     14.912        8.0165        .10372E-03   -1.4935    
  25  norm          3.9128        5.7452        .20393E-03   -1.5312    
  26  Prefactor     50.162        53.930        .56618E-04   -1.4290    
  27  Normalizat    .83760        .20178        .22619E-03   -.98689    
  28  Prefactor     .94398        .22115        .24788E-03   -.94621    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.438e-09
Minuit parameter uncertainties:
  1  0.000405097
  2  3.64569
  3  0.00339234
  4  0.00262321
  5  0.00062022
  6  3.92114
  7  16.3352
  8  1.78571
  9  22.3494
  10  4.03601e-06
  11  42.9107
  12  31.2605
  13  0.000889755
  14  1.7227e-06
  15  14.9607
  16  1.51796
  17  9.93473
  18  0.00592507
  19  8.21091
  20  1.96012e-05
  21  1.07876e-05
  22  8.11248e-06
  23  0.0021263
  24  8.01709
  25  5.746
  26  53.9823
  27  0.20196
  28  0.221362
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.330e+00  1.518e+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:  9.440e-01  2.214e-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.376e-01  2.020e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.18
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 3.50e-08 +/- 2.28e-08
Energy Flux (Fixed Index): 2.51e-05 +/- 1.63e-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) = 5589.00828054
delta logL = 0.0022537568384

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5589.00758966
delta logL = 0.00294463792761

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2694       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0016       1.0000          .0000       5.0000    
     3 'Normalizat'    .83673       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94454       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=   5589.008     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      228 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2693        1.7048        .69840E-04    .78722E-03
   2  alpha         2.0016        .44140        .99803E-02    .40497E-04
   3  Normalizat    .83671        .18612        .22629E-03   -.13916E-03
   4  Prefactor     .94457        .21684        .24781E-03   -.34178E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.26935
  alpha      = 2.0016
  Normalizat = 0.836708
  Prefactor  = 0.944568
 **********
 **   18 **HESSE 
 **********

 FCN=   5589.008     FROM HESSE     STATUS=OK            25 CALLS      253 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2693        1.6710        .27936E-05   -1.5407    
   2  alpha         2.0016        .43268        .39921E-03   -.20071    
   3  Normalizat    .83671        .18630        .90517E-05   -.98721    
   4  Prefactor     .94457        .21707        .99123E-05   -.94601    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1704e-10
Minuit parameter uncertainties:
  1  1.67103
  2  0.434964
  3  0.186441
  4  0.217269
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849715': 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) = 5589.00758965
delta logL = 0.00294464878061

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.269e+00  1.671e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  2.002e+00  4.350e-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:  9.446e-01  2.173e-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.367e-01  1.864e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.18
Ra Dec: 223.625 51.409
Photon Index (Free Index): 2.00 +/- 0.43
Photon Flux (Free Index): 3.59e-08 +/- 2.55e-08
Energy Flux (Free Index): 2.39e-05 +/- 2.08e-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/849715/cmap_HighResolution_391996801_392256001_4FGL_J1454.4+5124_daily_bin589.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.50e-08', energy_flux2='2.39e-05', photon_flux_error='2.28e-08', dlogl='2.94e-03', energy_flux='2.51e-05', photon_flux2='3.59e-08', job_status='DONE', time_completed='2021-09-10 13:01:32.174515', photon_index_error2='0.43', photon_index2='2.00', ts='5.18', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='2.08e-05', EG='0.84', time_epoch_completed='1631304092.17', return_code='0', job_id='849715', GAL2='0.94', EG2='0.84', return_code2='0', energy_flux_error='1.63e-05', photon_flux_error2='2.55e-08', ts2='5.18', photon_index='1.97' WHERE bin_id='589' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:01:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0253>
Subject: Job 849715: <4FGL_J1454.4+5124_daily_bin589> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin589 223.625 51.409 391996801 392256001 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 :                                   704.14 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             270.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   899 sec.
    Turnaround time :                            900 sec.

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

