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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin312
RA = 223.625, Dec = 51.409
tmin = 320198401, tmax = 320457601
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='849310', job_status='RUN', time_executed='2021-09-10 12:48:31.168162', time_epoch_executed='1631303311.17' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='312'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849310

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

Retrieving the FT1 file...

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

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

Retrieving 44 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849310/ft1_4FGL_J1454.4+5124_daily_bin312.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849310/ft2_4FGL_J1454.4+5124_daily_bin312.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849310/ft1_4FGL_J1454.4+5124_daily_bin312.fits outfile=/scratch/kocevski/849310/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin312.fits ra=223.625 dec=51.409 rad=12.0 tmin=320198401.0 tmax=320457601.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 2.63
user 2.44
sys 0.18

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849310/ft1_filtered_4FGL_J1454.4+5124_daily_bin312.fits evtable="EVENTS" scfile=/scratch/kocevski/849310/ft2_4FGL_J1454.4+5124_daily_bin312.fits sctable="SC_DATA" expcube=/scratch/kocevski/849310/ltcube_320198401_320457601_4FGL_J1454.4+5124_daily_bin312.fits outfile=/scratch/kocevski/849310/expmap_320198401_320457601_4FGL_J1454.4+5124_daily_bin312.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/849310/ltcube_320198401_320457601_4FGL_J1454.4+5124_daily_bin312.fits
.....................!
real 146.64
user 142.00
sys 4.25

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/849310/ft1_filtered_4FGL_J1454.4+5124_daily_bin312.fits scfile=/scratch/kocevski/849310/ft2_4FGL_J1454.4+5124_daily_bin312.fits outfile=/scratch/kocevski/849310/cmap_320198401_320457601_4FGL_J1454.4+5124_daily_bin312.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.47
user 0.28
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/849310/ft1_filtered_4FGL_J1454.4+5124_daily_bin312.fits scfile=/scratch/kocevski/849310/ft2_4FGL_J1454.4+5124_daily_bin312.fits outfile=/scratch/kocevski/849310/cmap_HighResolution_320198401_320457601_4FGL_J1454.4+5124_daily_bin312.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.47
user 0.29
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    33.655       1.0000         .10000E-03   10000.    
     2 'norm      '    .95279E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10196E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.1683       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10135E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    25.487       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.1213       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    51.541       1.0000         .10000E-03   10000.    
    12 'Prefactor '    27.356       1.0000         .10000E-03   10000.    
    13 'Prefactor '    24.421       1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.267       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .75421       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .36441       1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.5273       1.0000         .10000E-03   10000.    
    20 'norm      '    2.7093       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10134E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    43.366       1.0000         .10000E-03   10000.    
    23 'Prefactor '    6.6603       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .11484       1.0000         .10000E-03   10000.    
    25 'norm      '    31.026       1.0000         .10000E-03   10000.    
    26 'Prefactor '    114.68       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.2264       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .80010       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=   6227.608     FROM MIGRAD    STATUS=CONVERGED   1262 CALLS     4232 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          33.660        49.354        .69074E-04   -.83939E-05
   2  norm          .10011E-03    4.4595        .36908E-01** at limit **
   3  Prefactor     .10000E-03    190.71        .18142E-02** at limit **
   4  Prefactor     4.1772        60.916        .19741E-03   -.19235E-04
   5  Prefactor     .10000E-03    15.489        .18142E-02** at limit **
   6  Prefactor     .10000E-03    7.7534        .27938E-02** at limit **
   7  Prefactor     25.486        21.510        .79348E-04    .55734E-04
   8  Prefactor     1.1227        2.7886        .19009E-03    .12051E-03
   9  Prefactor     .10000E-03    32.460        .18142E-02** at limit **
  10  Prefactor     .10000E-03    32.230        .18142E-02** at limit **
  11  Prefactor     51.543        57.157        .55864E-04    .28247E-04
  12  Prefactor     27.358        26.427        .76595E-04    .15436E-04
  13  Prefactor     24.420        31.646        .81060E-04    .26928E-04
  14  Prefactor     14.263        19.922        .10604E-03    .20735E-03
  15  Prefactor     .10000E-03    21.839        .18142E-02** at limit **
  16  norm          .75441        1.5287        .13499E-03    .34151E-03
  17  Prefactor     .10000E-03    8.0472        .18142E-02** at limit **
  18  Prefactor     .36431        27.518        .28836E-02    .75098E-03
  19  Prefactor     6.5268        8.3283        .78540E-03    .55743E-04
  20  norm          2.7097        4.2294        .91392E-03    .25314E-03
  21  Prefactor     .10000E-03    14.062        .36285E-03** at limit **
  22  Prefactor     43.359        29.993        .60878E-04    .25024E-04
  23  Prefactor     6.6618        14.781        .15549E-03    .70338E-04
  24  Prefactor     .12891        15.119        .58344E-01    .26487E-03
  25  norm          31.012        14.003        .71933E-04   -.73175E-04
  26  Prefactor     114.64        84.995        .18785E-03    .44786E-05
  27  Normalizat    1.2264        .22220        .22490E-03    .30236E-03
  28  Prefactor     .80015        .22965        .30297E-03    .28875E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 33.6603
  norm       = 0.000100111
  Prefactor  = 0.0001
  Prefactor  = 4.17725
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 25.4862
  Prefactor  = 1.12273
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 51.5428
  Prefactor  = 27.3582
  Prefactor  = 24.4199
  Prefactor  = 14.2634
  Prefactor  = 0.000100001
  norm       = 0.754406
  Prefactor  = 0.0001
  Prefactor  = 0.364307
  Prefactor  = 6.52681
  norm       = 2.70965
  Prefactor  = 0.0001
  Prefactor  = 43.3593
  Prefactor  = 6.66183
  Prefactor  = 0.128906
  norm       = 31.0124
  Prefactor  = 114.638
  Normalizat = 1.22643
  Prefactor  = 0.80015
 **********
 **   18 **HESSE 
 **********

 FCN=   6227.608     FROM HESSE     STATUS=OK           517 CALLS     4749 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          33.660        49.352        .13815E-04   -1.4547    
   2  norm          .10011E-03    3.5202        .43106E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    190.71        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.1772        60.886        .78964E-05   -1.5299    
   5  Prefactor     .10000E-03    15.489        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.7984        .55876E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     25.486        21.504        .31739E-05   -1.4698    
   8  Prefactor     1.1227        2.7868        .76037E-05   -1.5496    
   9  Prefactor     .10000E-03    32.466        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    32.237        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     51.543        57.147        .11173E-04   -1.4271    
  12  Prefactor     27.358        26.424        .30638E-05   -1.4661    
  13  Prefactor     24.420        31.641        .32424E-05   -1.4719    
  14  Prefactor     14.263        19.913        .42416E-05   -1.4952    
  15  Prefactor     .10000E-03    21.848        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .75441        1.5282        .53996E-05   -1.5534    
  17  Prefactor     .10000E-03    8.0505        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .36431        27.441        .11534E-03   -1.5587    
  19  Prefactor     6.5268        8.3201        .31416E-04   -1.5197    
  20  norm          2.7097        4.2221        .36557E-04   -1.5379    
  21  Prefactor     .10000E-03    14.062        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     43.359        29.985        .24351E-05   -1.4390    
  23  Prefactor     6.6618        14.764        .62195E-05   -1.5192    
  24  Prefactor     .12891        11.927        .67217E-01   -1.5636    
  25  norm          31.012        13.848        .28773E-05   -1.4594    
  26  Prefactor     114.64        84.988        .75139E-05   -1.3562    
  27  Normalizat    1.2264        .22170        .44980E-04   -.85790    
  28  Prefactor     .80015        .22978        .12119E-04   -.99723    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.84541e-09
Minuit parameter uncertainties:
  1  49.4124
  2  0.0012486
  3  0.000159497
  4  31.9346
  5  6.42949e-06
  6  0.000264677
  7  21.5103
  8  2.78711
  9  0.000104315
  10  8.7208e-05
  11  57.2077
  12  26.435
  13  31.6628
  14  19.9225
  15  0.000233882
  16  1.52829
  17  7.13406e-05
  18  6.32578
  19  8.32161
  20  4.22252
  21  6.36319e-05
  22  29.9956
  23  14.7724
  24  2.47947
  25  13.8496
  26  85.0784
  27  0.221872
  28  0.230052
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  7.544e-01  1.528e+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:  8.002e-01  2.301e-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.226e+00  2.219e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.31
Ra Dec: 223.625 51.409
Photon Flux Upper Limit: 6.89e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.93e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/849310/likelihoodResults_320198401_320457601_4FGL_J1454.4+5124_daily_bin312.txt

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) = 6227.38017301
delta logL = 0.2276493857

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6227.37085277
delta logL = 0.236969622035

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .60559       1.0000         .10000E-03   10000.    
     2 'alpha     '    .99491       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2292       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80158       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=   6227.371     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      244 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .60591        1.0822        .20454E-01    .98114E-03
   2  alpha         .99477        .57561        .50000       -.60919E-04
   3  Normalizat    1.2291        .16901        .50819E-01    .24652E-05
   4  Prefactor     .80159        .18914        .68422E-01    .21430E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.605912
  alpha      = 0.99477
  Normalizat = 1.22914
  Prefactor  = 0.801594
 **********
 **   18 **HESSE 
 **********

 FCN=   6227.371     FROM HESSE     STATUS=OK            35 CALLS      279 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .60591        1.1890        .10121E-02   -1.5552    
   2  alpha         .99477        .84693        .21325E-01   -.64612    
   3  Normalizat    1.2291        .20109        .22468E-03   -.85707    
   4  Prefactor     .80159        .22476        .30273E-03   -.99670    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14196e-11
Minuit parameter uncertainties:
  1  1.18906
  2  0.874653
  3  0.201216
  4  0.225013
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849310': 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) = 6227.37085252
delta logL = 0.236969869562

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  6.059e-01  1.189e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  9.948e-01  8.747e-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:  8.016e-01  2.250e-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.229e+00  2.012e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.31
Ra Dec: 223.625 51.409

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/849310/cmap_HighResolution_320198401_320457601_4FGL_J1454.4+5124_daily_bin312.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.93e-05', job_status='DONE', photon_flux_upper_limit='6.89e-08', time_completed='2021-09-10 13:00:21.242501', job_id='849310', GAL2='0.80', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1631304021.24', return_code2='0', ts='0.31', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='2.37e-01', ts2='0.78', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='312' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:00:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0033>
Subject: Job 849310: <4FGL_J1454.4+5124_daily_bin312> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin312 223.625 51.409 320198401 320457601 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 :                                   708.34 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             292.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   855 sec.
    Turnaround time :                            856 sec.

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

