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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin12
RA = 223.625, Dec = 51.409
tmin = 242438401, tmax = 242697601
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='847728', job_status='RUN', time_executed='2021-09-10 12:42:45.839831', time_epoch_executed='1631302965.84' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='12'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/847728

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/847728/ft1_4FGL_J1454.4+5124_daily_bin12.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/847728/ft2_4FGL_J1454.4+5124_daily_bin12.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/847728/ft1_4FGL_J1454.4+5124_daily_bin12.fits outfile=/scratch/kocevski/847728/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin12.fits ra=223.625 dec=51.409 rad=12.0 tmin=242438401.0 tmax=242697601.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.43
user 1.26
sys 0.15

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/847728/ft1_filtered_4FGL_J1454.4+5124_daily_bin12.fits evtable="EVENTS" scfile=/scratch/kocevski/847728/ft2_4FGL_J1454.4+5124_daily_bin12.fits sctable="SC_DATA" expcube=/scratch/kocevski/847728/ltcube_242438401_242697601_4FGL_J1454.4+5124_daily_bin12.fits outfile=/scratch/kocevski/847728/expmap_242438401_242697601_4FGL_J1454.4+5124_daily_bin12.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/847728/ltcube_242438401_242697601_4FGL_J1454.4+5124_daily_bin12.fits
.....................!
real 190.76
user 184.96
sys 4.63

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/847728/ft1_filtered_4FGL_J1454.4+5124_daily_bin12.fits scfile=/scratch/kocevski/847728/ft2_4FGL_J1454.4+5124_daily_bin12.fits outfile=/scratch/kocevski/847728/cmap_242438401_242697601_4FGL_J1454.4+5124_daily_bin12.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/847728/ft1_filtered_4FGL_J1454.4+5124_daily_bin12.fits scfile=/scratch/kocevski/847728/ft2_4FGL_J1454.4+5124_daily_bin12.fits outfile=/scratch/kocevski/847728/cmap_HighResolution_242438401_242697601_4FGL_J1454.4+5124_daily_bin12.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.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    5.6182       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    26.379       1.0000         .10000E-03   10000.    
     5 'Prefactor '    28.936       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.9374       1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.3558       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.8805       1.0000         .10000E-03   10000.    
     9 'Prefactor '    32.958       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11819E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10344E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10174E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    18.426       1.0000         .10000E-03   10000.    
    14 'Prefactor '    20.654       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10231E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .28768       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    5.4936       1.0000         .10000E-03   10000.    
    21 'Prefactor '    17.353       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    13.406       1.0000         .10000E-03   10000.    
    25 'norm      '    8.2420       1.0000         .10000E-03   10000.    
    26 'Prefactor '    63.208       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.1794       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .52406       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=   6612.524     FROM MIGRAD    STATUS=CONVERGED    697 CALLS     3584 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    40.859       -.14436E-05** at limit **
   2  norm          5.6187        4.4509       -.10284E-08   -.28013E-03
   3  Prefactor     .10000E-03    369.16        .58551E-05** at limit **
   4  Prefactor     26.308        45.634       -.80898E-05    .10174E-03
   5  Prefactor     28.938        34.820        .90083E-05   -.26112E-03
   6  Prefactor     2.9369        4.1093       -.69410E-06   -.43224E-03
   7  Prefactor     9.3511        16.119       -.26927E-05   -.77270E-03
   8  Prefactor     1.8799        1.9516        .14932E-06   -.14413E-03
   9  Prefactor     32.962        26.989       -.16753E-05    .95471E-04
  10  Prefactor     .10000E-03    57.188        .10374E-05** at limit **
  11  Prefactor     .10000E-03    21.865        .39105E-05** at limit **
  12  Prefactor     .10000E-03    25.993        .49237E-05** at limit **
  13  Prefactor     18.426        18.423        .28334E-06    .53364E-05
  14  Prefactor     20.658        17.304       -.40609E-06    .59752E-04
  15  Prefactor     .10000E-03    14.502       -.54755E-09** at limit **
  16  norm          .28665        .84494       -.37632E-06   -.12527E-02
  17  Prefactor     .10000E-03    6.9013        .45258E-07** at limit **
  18  Prefactor     .10000E-03    2.2712        .29781E-07** at limit **
  19  Prefactor     .10000E-03    7.0212       -.46952E-08** at limit **
  20  norm          5.4935        4.2436       -.27066E-08    .18528E-03
  21  Prefactor     17.331        10.533        .74757E-07    .48930E-03
  22  Prefactor     .10000E-03    8.1017       -.91299E-08** at limit **
  23  Prefactor     .10000E-03    23.473       -.78131E-05** at limit **
  24  Prefactor     13.405        7.4154        .64229E-06   -.23292E-03
  25  norm          8.2420        6.4507       -.86650E-07   -.40504E-04
  26  Prefactor     63.202        58.148       -.33169E-05    .82777E-04
  27  Normalizat    1.1794        .16016        .31139E-06    .14482E-03
  28  Prefactor     .52396        .16986        .25954E-06    .63375E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 5.6187
  Prefactor  = 0.000100002
  Prefactor  = 26.3082
  Prefactor  = 28.9382
  Prefactor  = 2.93694
  Prefactor  = 9.35115
  Prefactor  = 1.87994
  Prefactor  = 32.9617
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 18.4262
  Prefactor  = 20.6584
  Prefactor  = 0.0001
  norm       = 0.286652
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.49354
  Prefactor  = 17.3311
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 13.4054
  norm       = 8.24199
  Prefactor  = 63.2018
  Normalizat = 1.17945
  Prefactor  = 0.52396
 **********
 **   18 **HESSE 
 **********

 FCN=   6612.524     FROM HESSE     STATUS=OK           519 CALLS     4103 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    40.851        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.6187        4.4482        .14511E-03   -1.5234    
   3  Prefactor     .10000E-03    368.99        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     26.308        45.141        .77998E-04   -1.4682    
   5  Prefactor     28.938        34.186        .74479E-04   -1.4632    
   6  Prefactor     2.9369        4.0916        .18304E-03   -1.5365    
   7  Prefactor     9.3511        17.312        .65511E-03   -1.5096    
   8  Prefactor     1.8799        1.9303        .10814E-03   -1.5434    
   9  Prefactor     32.962        27.036        .69798E-04   -1.4559    
  10  Prefactor     .10000E-03    58.229        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    21.767        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    25.996        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     18.426        18.420        .93305E-04   -1.4849    
  14  Prefactor     20.658        17.114        .88131E-04   -1.4799    
  15  Prefactor     .10000E-03    14.604        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .28665        .91487        .12325E-02   -1.5601    
  17  Prefactor     .10000E-03    6.9998        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.2856        .11964E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    7.3236        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          5.4935        4.2356        .12572E-03   -1.5239    
  21  Prefactor     17.331        10.470        .96147E-04   -1.4875    
  22  Prefactor     .10000E-03    8.1368        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    23.352        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     13.405        7.3981        .10940E-03   -1.4976    
  25  norm          8.2420        6.4512        .13965E-03   -1.5134    
  26  Prefactor     63.202        58.059        .50473E-04   -1.4116    
  27  Normalizat    1.1794        .18555        .20083E-03   -.87240    
  28  Prefactor     .52396        .19370        .31726E-03   -1.1089    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.08829e-09
Minuit parameter uncertainties:
  1  0.000124822
  2  4.44843
  3  0.00153472
  4  45.2001
  5  34.2091
  6  4.09199
  7  17.321
  8  1.93035
  9  27.0457
  10  3.4939e-05
  11  0.000249973
  12  0.000352451
  13  18.4258
  14  17.1176
  15  2.83911e-05
  16  0.914914
  17  4.24295e-07
  18  2.70852e-07
  19  3.96151e-06
  20  4.23582
  21  10.4714
  22  4.20072e-06
  23  0.000585221
  24  7.39865
  25  6.45176
  26  58.1113
  27  0.185651
  28  0.193947
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.867e-01  9.149e-01  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:  5.240e-01  1.939e-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.179e+00  1.857e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/847728/likelihoodResults_242438401_242697601_4FGL_J1454.4+5124_daily_bin12.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): 102
logL (Free Index) = 6611.7760689
delta logL = 0.747757685945

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6611.67418293
delta logL = 0.849643650847

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13150       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.5846       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1326       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .55019       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=   6611.674     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      224 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .13118        1.4792        .54045E-02    .25289E-02
   2  alpha         3.5870        3.8259        .32011        .69927E-04
   3  Normalizat    1.1326        .30637E-01    .36805E-01    .33860E-06
   4  Prefactor     .55053        .33436E-01    .69954E-01    .32341E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.131181
  alpha      = 3.58701
  Normalizat = 1.13256
  Prefactor  = 0.550528
 **********
 **   18 **HESSE 
 **********

 FCN=   6611.674     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      259 TOTAL
                     EDM=   .82E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .13118        4.6286        .24749E-03   -1.5636    
   2  alpha         3.5870        4.1028        .11455E-01    .44982    
   3  Normalizat    1.1326        .15285        .20414E-03   -.88713    
   4  Prefactor     .55053        .16205        .30966E-03   -1.0971    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.23809e-08
Minuit parameter uncertainties:
  1  1.55798
  2  5.80887
  3  0.152912
  4  0.162185
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/847728': 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): 102
logL (Free Index) = 6611.67417031
delta logL = 0.849656270788

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.312e-01  1.558e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  3.587e+00  5.809e+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:  5.505e-01  1.622e-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.133e+00  1.529e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.89
Ra Dec: 223.625 51.409
Photon Index (Free Index): 3.59 +/- 5.81
Photon Flux (Free Index): 4.75e-08 +/- 6.08e-08
Energy Flux (Free Index): 8.09e-06 +/- 8.28e-06

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/847728/cmap_HighResolution_242438401_242697601_4FGL_J1454.4+5124_daily_bin12.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.33e-05', comment='SUCCESS', energy_flux2='8.09e-06', dlogl='8.50e-01', photon_flux2='4.75e-08', job_status='DONE', time_completed='2021-09-10 12:57:02.279594', photon_index_error2='5.81', photon_index2='3.59', ts='0.12', fit_tolerance='1e-08', GAL='0.52', photon_index_error='0.00', photon_flux_upper_limit='4.66e-08', energy_flux_error2='8.28e-06', EG='1.18', time_epoch_completed='1631303822.28', return_code='0', job_id='847728', GAL2='0.55', EG2='1.13', return_code2='102', photon_flux_error2='6.08e-08', ts2='1.89', photon_index='1.97' WHERE bin_id='12' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:57:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 847728: <4FGL_J1454.4+5124_daily_bin12> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin12> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 10 12:41:04 2021
Job was executed on host(s) <bullet0223>, 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:57:02 2021
Results reported at Fri Sep 10 12:57:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin12 223.625 51.409 242438401 242697601 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 :                                   852.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             354.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   956 sec.
    Turnaround time :                            958 sec.

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

