/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 61 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 = 7420
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1454.4+5124_daily_bin17
RA = 223.625, Dec = 51.409
tmin = 243734401, tmax = 243993601
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='847735', job_status='RUN', time_executed='2021-09-10 12:42:17.783955', time_epoch_executed='1631302937.78' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='17'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/847735

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/847735/ft1_4FGL_J1454.4+5124_daily_bin17.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/847735/ft2_4FGL_J1454.4+5124_daily_bin17.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/847735/ft1_4FGL_J1454.4+5124_daily_bin17.fits outfile=/scratch/kocevski/847735/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin17.fits ra=223.625 dec=51.409 rad=12.0 tmin=243734401.0 tmax=243993601.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 1.42
user 1.22
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/847735/ft1_filtered_4FGL_J1454.4+5124_daily_bin17.fits" evtable="EVENTS" scfile=/scratch/kocevski/847735/ft2_4FGL_J1454.4+5124_daily_bin17.fits sctable="SC_DATA" outfile=/scratch/kocevski/847735/ltcube_243734401_243993601_4FGL_J1454.4+5124_daily_bin17.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/847735/ft2_4FGL_J1454.4+5124_daily_bin17.fits
.....................!
real 12.43
user 12.02
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/847735/ft1_filtered_4FGL_J1454.4+5124_daily_bin17.fits evtable="EVENTS" scfile=/scratch/kocevski/847735/ft2_4FGL_J1454.4+5124_daily_bin17.fits sctable="SC_DATA" expcube=/scratch/kocevski/847735/ltcube_243734401_243993601_4FGL_J1454.4+5124_daily_bin17.fits outfile=/scratch/kocevski/847735/expmap_243734401_243993601_4FGL_J1454.4+5124_daily_bin17.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/847735/ltcube_243734401_243993601_4FGL_J1454.4+5124_daily_bin17.fits
.....................!
real 191.28
user 185.38
sys 5.48

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/847735/ft1_filtered_4FGL_J1454.4+5124_daily_bin17.fits scfile=/scratch/kocevski/847735/ft2_4FGL_J1454.4+5124_daily_bin17.fits outfile=/scratch/kocevski/847735/cmap_243734401_243993601_4FGL_J1454.4+5124_daily_bin17.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.52
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/847735/ft1_filtered_4FGL_J1454.4+5124_daily_bin17.fits scfile=/scratch/kocevski/847735/ft2_4FGL_J1454.4+5124_daily_bin17.fits outfile=/scratch/kocevski/847735/cmap_HighResolution_243734401_243993601_4FGL_J1454.4+5124_daily_bin17.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.35
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .12160E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .95268E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.2756       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    34.198       1.0000         .10000E-03   10000.    
    11 'Prefactor '    53.741       1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.943       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.5353       1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.612       1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.0845       1.0000         .10000E-03   10000.    
    16 'norm      '    .57918       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11111E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    38.116       1.0000         .10000E-03   10000.    
    23 'Prefactor '    33.498       1.0000         .10000E-03   10000.    
    24 'Prefactor '    8.9813       1.0000         .10000E-03   10000.    
    25 'norm      '    12.987       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .80285       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.1530       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=   4985.575     FROM MIGRAD    STATUS=CONVERGED    691 CALLS     3506 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    24.534        .15460E-07** at limit **
   2  norm          .10000E-03    .98428       -.31674E-07** at limit **
   3  Prefactor     .10004E-03    309.90        .41907E-05** at limit **
   4  Prefactor     .10905E-03    53.817       -.68439E-05** at limit **
   5  Prefactor     .10000E-03    16.499       -.98897E-07** at limit **
   6  Prefactor     .10000E-03    2.5609        .33483E-07** at limit **
   7  Prefactor     2.2831        50.906        .23047E-05    .54723E-04
   8  Prefactor     .10000E-03    1.7681       -.11430E-06** at limit **
   9  Prefactor     .10000E-03    34.824       -.83893E-06** at limit **
  10  Prefactor     34.193        29.140        .28257E-06    .14966E-03
  11  Prefactor     53.706        60.062       -.48455E-06   -.31002E-04
  12  Prefactor     12.944        18.854        .23633E-06    .56109E-04
  13  Prefactor     3.5436        67.284        .51607E-06   -.53075E-05
  14  Prefactor     11.614        16.310       -.55085E-06    .14626E-04
  15  Prefactor     7.0855        13.306        .45557E-05    .40398E-03
  16  norm          .57768        1.2976       -.95446E-07   -.22066E-03
  17  Prefactor     .10000E-03    3.5321       -.89067E-07** at limit **
  18  Prefactor     .10000E-03    2.0036       -.48367E-07** at limit **
  19  Prefactor     .10000E-03    2.9358       -.10181E-06** at limit **
  20  norm          .10000E-03    1.3298        .25701E-06** at limit **
  21  Prefactor     .10000E-03    11.835        .26559E-05** at limit **
  22  Prefactor     38.118        30.979        .89367E-07    .10022E-03
  23  Prefactor     33.503        20.170        .10729E-06    .19591E-03
  24  Prefactor     8.9814        11.941        .10837E-06   -.15561E-04
  25  norm          12.987        12.838       -.23489E-07   -.25349E-04
  26  Prefactor     .10000E-03    134.87        .38839E-07** at limit **
  27  Normalizat    .80272        .19170       -.14134E-05    .19233E-03
  28  Prefactor     1.1531        .21092        .91375E-06    .13945E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100045
  Prefactor  = 0.000109049
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.28306
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 34.1929
  Prefactor  = 53.7057
  Prefactor  = 12.9436
  Prefactor  = 3.54363
  Prefactor  = 11.6135
  Prefactor  = 7.08549
  norm       = 0.577677
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 38.1183
  Prefactor  = 33.503
  Prefactor  = 8.98143
  norm       = 12.9874
  Prefactor  = 0.0001
  Normalizat = 0.802716
  Prefactor  = 1.15309
 **********
 **   18 **HESSE 
 **********

 FCN=   4985.575     FROM HESSE     STATUS=OK           521 CALLS     4027 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    24.534        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    .98605        .68405E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10004E-03    311.87        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10905E-03    35.697        .13404       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    16.509        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.5792        .11028E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.2831        51.164        .27221E-03   -1.5406    
   8  Prefactor     .10000E-03    1.8093        .18243E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    35.038        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     34.193        29.086        .68525E-04   -1.4538    
  11  Prefactor     53.706        60.085        .54714E-04   -1.4241    
  12  Prefactor     12.944        18.847        .11134E-03   -1.4988    
  13  Prefactor     3.5436        67.238        .21498E-03   -1.5331    
  14  Prefactor     11.614        16.261        .11756E-03   -1.5026    
  15  Prefactor     7.0855        13.468        .75357E-03   -1.5176    
  16  norm          .57768        1.1129        .11473E-02   -1.5556    
  17  Prefactor     .10000E-03    3.5366        .12959E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.0086        .97612E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.9435        .11813E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    1.3310        .79471E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    11.899        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     38.118        30.983        .64919E-04   -1.4472    
  23  Prefactor     33.503        20.140        .69235E-04   -1.4550    
  24  Prefactor     8.9814        11.940        .13374E-03   -1.5108    
  25  norm          12.987        12.842        .11115E-03   -1.4987    
  26  Prefactor     .10000E-03    135.12        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .80272        .22822        .24921E-03   -.99968    
  28  Prefactor     1.1531        .25335        .24551E-03   -.87787    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.14646e-09
Minuit parameter uncertainties:
  1  8.43862e-06
  2  5.67075e-08
  3  0.00751043
  4  0.0359664
  5  6.00828e-06
  6  1.32159e-06
  7  21.6362
  8  5.21527e-06
  9  7.14816e-05
  10  29.0981
  11  60.1532
  12  18.8559
  13  30.9116
  14  16.2672
  15  13.4735
  16  1.11297
  17  3.13748e-06
  18  5.39367e-06
  19  3.76648e-06
  20  6.02458e-06
  21  0.00019402
  22  30.996
  23  20.144
  24  11.9435
  25  12.8447
  26  0.000172527
  27  0.228492
  28  0.253613
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  5.777e-01  1.113e+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.153e+00  2.536e-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.027e-01  2.285e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/847735/likelihoodResults_243734401_243993601_4FGL_J1454.4+5124_daily_bin17.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) = 4985.53214497
delta logL = 0.0423902696921

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4985.52695082
delta logL = 0.047584422814

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .47461       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3170       1.0000          .0000       5.0000    
     3 'Normalizat'    .79876       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1551       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=   4985.527     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      213 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .47439        17.832        .19605E-01    .98798E-03
   2  alpha         2.3183        3.6173        .41292        .24084E-04
   3  Normalizat    .79910        .28642E-01    .43594E-01    .14296E-05
   4  Prefactor     1.1548        .33106E-01    .55480E-01    .24024E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.47439
  alpha      = 2.31829
  Normalizat = 0.799104
  Prefactor  = 1.15477
 **********
 **   18 **HESSE 
 **********

 FCN=   4985.527     FROM HESSE     STATUS=OK            35 CALLS      248 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .47439        1.2014        .93403E-03   -1.5570    
   2  alpha         2.3183        1.3378        .19428E-01   -.72748E-01
   3  Normalizat    .79910        .21362        .24970E-03   -1.0010    
   4  Prefactor     1.1548        .24876        .24532E-03   -.87735    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.33747e-09
Minuit parameter uncertainties:
  1  1.20148
  2  1.41211
  3  0.213844
  4  0.249009
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/847735': 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) = 4985.52694862
delta logL = 0.0475866224242

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  4.744e-01  1.201e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  2.318e+00  1.412e+00  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.155e+00  2.490e-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.991e-01  2.138e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.39
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/847735/cmap_HighResolution_243734401_243993601_4FGL_J1454.4+5124_daily_bin17.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.21e-05', job_status='DONE', photon_flux_upper_limit='5.88e-08', time_completed='2021-09-10 12:54:13.435989', job_id='847735', GAL2='1.15', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1631303653.44', return_code2='0', ts='0.39', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='4.76e-02', ts2='0.48', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='17' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:54:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0048>
Subject: Job 847735: <4FGL_J1454.4+5124_daily_bin17> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin17> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 10 12:41:05 2021
Job was executed on host(s) <bullet0048>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:41: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:41:06 2021
Terminated at Fri Sep 10 12:54:16 2021
Results reported at Fri Sep 10 12:54:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin17 223.625 51.409 243734401 243993601 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 :                                   715.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             288.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   787 sec.
    Turnaround time :                            791 sec.

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

