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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin53
RA = 223.625, Dec = 51.409
tmin = 253065601, tmax = 253324801
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='847786', job_status='RUN', time_executed='2021-09-10 12:44:48.071784', time_epoch_executed='1631303088.07' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='53'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/847786

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/847786/ft1_4FGL_J1454.4+5124_daily_bin53.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/847786/ft2_4FGL_J1454.4+5124_daily_bin53.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/847786/ft1_4FGL_J1454.4+5124_daily_bin53.fits outfile=/scratch/kocevski/847786/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin53.fits ra=223.625 dec=51.409 rad=12.0 tmin=253065601.0 tmax=253324801.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.40
user 1.21
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/847786/ft2_4FGL_J1454.4+5124_daily_bin53.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/847786/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin53.fits evtable="EVENTS" outfile="/scratch/kocevski/847786/ft1_filtered_4FGL_J1454.4+5124_daily_bin53.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.50
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/847786/ft1_filtered_4FGL_J1454.4+5124_daily_bin53.fits" evtable="EVENTS" scfile=/scratch/kocevski/847786/ft2_4FGL_J1454.4+5124_daily_bin53.fits sctable="SC_DATA" outfile=/scratch/kocevski/847786/ltcube_253065601_253324801_4FGL_J1454.4+5124_daily_bin53.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/847786/ft2_4FGL_J1454.4+5124_daily_bin53.fits
.....................!
real 12.89
user 12.54
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/847786/ft1_filtered_4FGL_J1454.4+5124_daily_bin53.fits evtable="EVENTS" scfile=/scratch/kocevski/847786/ft2_4FGL_J1454.4+5124_daily_bin53.fits sctable="SC_DATA" expcube=/scratch/kocevski/847786/ltcube_253065601_253324801_4FGL_J1454.4+5124_daily_bin53.fits outfile=/scratch/kocevski/847786/expmap_253065601_253324801_4FGL_J1454.4+5124_daily_bin53.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/847786/ltcube_253065601_253324801_4FGL_J1454.4+5124_daily_bin53.fits
.....................!
real 191.65
user 186.44
sys 4.86

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/847786/ft1_filtered_4FGL_J1454.4+5124_daily_bin53.fits scfile=/scratch/kocevski/847786/ft2_4FGL_J1454.4+5124_daily_bin53.fits outfile=/scratch/kocevski/847786/cmap_253065601_253324801_4FGL_J1454.4+5124_daily_bin53.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/847786/ft1_filtered_4FGL_J1454.4+5124_daily_bin53.fits scfile=/scratch/kocevski/847786/ft2_4FGL_J1454.4+5124_daily_bin53.fits outfile=/scratch/kocevski/847786/cmap_HighResolution_253065601_253324801_4FGL_J1454.4+5124_daily_bin53.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.55
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    10.917       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .19107E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.572       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .12626E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.7682       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    22.155       1.0000         .10000E-03   10000.    
    11 'Prefactor '    69.061       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10588E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10505E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .44440E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    26.343       1.0000         .10000E-03   10000.    
    20 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.3262       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    6.8566       1.0000         .10000E-03   10000.    
    24 'Prefactor '    5.7285       1.0000         .10000E-03   10000.    
    25 'norm      '    13.306       1.0000         .10000E-03   10000.    
    26 'Prefactor '    19.098       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.2744       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .70006       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=   5242.726     FROM MIGRAD    STATUS=CONVERGED    695 CALLS     3525 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    48.210        .23521E-06** at limit **
   2  norm          10.917        5.1519       -.12985E-06   -.90641E-04
   3  Prefactor     .10000E-03    380.95        .78335E-06** at limit **
   4  Prefactor     .10000E-03    37.709        .31871E-06** at limit **
   5  Prefactor     .10000E-03    26.388       -.49508E-06** at limit **
   6  Prefactor     13.575        7.3009       -.38599E-06   -.41698E-03
   7  Prefactor     .10037E-03    56.446        .15985E-04** at limit **
   8  Prefactor     3.7685        3.1200       -.44526E-07   -.12691E-03
   9  Prefactor     .10000E-03    18.067        .79939E-06** at limit **
  10  Prefactor     22.161        29.084       -.17246E-06   -.70966E-04
  11  Prefactor     69.112        68.145       -.54892E-06   -.48546E-04
  12  Prefactor     .10000E-03    7.9954        .41989E-06** at limit **
  13  Prefactor     .10000E-03    32.044        .10104E-05** at limit **
  14  Prefactor     .10000E-03    21.509       -.20121E-05** at limit **
  15  Prefactor     .10000E-03    28.337        .78310E-06** at limit **
  16  norm          .10000E-03    .67952        .27578E-06** at limit **
  17  Prefactor     .10537E-03    82.303        .19472E-04** at limit **
  18  Prefactor     .10000E-03    3.0992        .40415E-06** at limit **
  19  Prefactor     26.336        13.577        .54604E-06   -.40616E-03
  20  norm          .10000E-03    1.8171        .44917E-06** at limit **
  21  Prefactor     6.3273        10.354       -.42576E-06   -.16594E-03
  22  Prefactor     .10000E-03    21.167        .12720E-05** at limit **
  23  Prefactor     6.8591        16.549       -.94606E-07    .12746E-05
  24  Prefactor     5.7281        13.363       -.62484E-06   -.18653E-03
  25  norm          13.306        18.746       -.62942E-07   -.95223E-04
  26  Prefactor     19.430        150.21        .10718E-04    .90513E-04
  27  Normalizat    1.2743        .23834        .58714E-05   -.46796E-03
  28  Prefactor     .70012        .24806       -.85804E-05   -.28795E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 10.9166
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.5745
  Prefactor  = 0.000100368
  Prefactor  = 3.76845
  Prefactor  = 0.0001
  Prefactor  = 22.1608
  Prefactor  = 69.1124
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000105374
  Prefactor  = 0.0001
  Prefactor  = 26.3357
  norm       = 0.0001
  Prefactor  = 6.32733
  Prefactor  = 0.000100001
  Prefactor  = 6.85907
  Prefactor  = 5.72814
  norm       = 13.3058
  Prefactor  = 19.4295
  Normalizat = 1.27429
  Prefactor  = 0.700119
 **********
 **   18 **HESSE 
 **********

 FCN=   5242.726     FROM HESSE     STATUS=OK           527 CALLS     4052 TOTAL
                     EDM=   .80E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    48.225        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          10.917        5.1500        .10829E-03   -1.5047    
   3  Prefactor     .10000E-03    381.03        .20269E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    37.769        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    26.425        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     13.575        7.2224        .10872E-03   -1.4971    
   7  Prefactor     .10037E-03    70.410        .49647E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.7685        3.1106        .10438E-03   -1.5320    
   9  Prefactor     .10000E-03    18.132        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     22.161        29.063        .85097E-04   -1.4766    
  11  Prefactor     69.112        68.019        .48301E-04   -1.4043    
  12  Prefactor     .10000E-03    8.0111        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    32.152        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    21.781        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    28.850        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.1365        .11512E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10537E-03    30.012        .69254E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.1206        .12457E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     26.336        16.032        .78051E-04   -1.4681    
  20  norm          .10000E-03    1.8342        .95305E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.3273        10.212        .15959E-03   -1.5205    
  22  Prefactor     .10000E-03    21.320        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     6.8591        16.365        .15322E-03   -1.5184    
  24  Prefactor     5.7281        13.307        .16782E-03   -1.5229    
  25  norm          13.306        18.662        .10981E-03   -1.4978    
  26  Prefactor     19.430        154.39        .45825E-03   -1.4826    
  27  Normalizat    1.2743        .24230        .22189E-03   -.84337    
  28  Prefactor     .70012        .25191        .31922E-03   -1.0352    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.99452e-09
Minuit parameter uncertainties:
  1  9.04451e-05
  2  5.15018
  3  0.000988025
  4  0.000145963
  5  0.000136282
  6  7.22288
  7  0.0101976
  8  3.11072
  9  0.000163003
  10  29.081
  11  68.0955
  12  6.33663e-05
  13  0.000316399
  14  0.000465262
  15  0.00013316
  16  9.27423e-06
  17  0.0254112
  18  3.4358e-05
  19  16.0343
  20  3.57847e-05
  21  10.2153
  22  0.000339129
  23  16.3756
  24  13.314
  25  18.6699
  26  109.93
  27  0.242512
  28  0.252319
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.000e-04  9.274e-06  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:  7.001e-01  2.523e-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.274e+00  2.425e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/847786/likelihoodResults_253065601_253324801_4FGL_J1454.4+5124_daily_bin53.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) = 5242.73054561
delta logL = -0.00415976006389

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5242.72638582
delta logL = 2.94803612633e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10110E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9892       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2743       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70018       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=   5242.678     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      269 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .20473E-02    .51092E-02    .22136E-02** at limit **
   2  alpha         5.0000        4.7117        .42293    ** at limit **
   3  Normalizat    1.2507        .19339        .50584E-01    .11651E-03
   4  Prefactor     .71639        .21072        .71376E-01    .10278E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00204734
  alpha      = 5
  Normalizat = 1.2507
  Prefactor  = 0.716386
 **********
 **   18 **HESSE 
 **********

 FCN=   5242.678     FROM HESSE     STATUS=OK            35 CALLS      304 TOTAL
                     EDM=   .39E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .20473E-02    .68050E-02    .80419E-04   -1.5717    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        4.7173        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.2507        .24421        .22364E-03   -.85050    
   4  Prefactor     .71639        .25835        .31589E-03   -1.0289    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.94776e-11
Minuit parameter uncertainties:
  1  0.00680504
  2  6.24915e-05
  3  0.244438
  4  0.258783
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/847786': 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) = 5242.67789177
delta logL = 0.0484940761362

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.047e-03  6.805e-03  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  5.000e+00  6.249e-05  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:  7.164e-01  2.588e-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.251e+00  2.444e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/847786/cmap_HighResolution_253065601_253324801_4FGL_J1454.4+5124_daily_bin53.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.49e-05', job_status='DONE', photon_flux_upper_limit='4.88e-08', time_completed='2021-09-10 12:57:28.059961', job_id='847786', GAL2='0.72', fit_tolerance='1e-08', EG2='1.25', EG='1.27', time_epoch_completed='1631303848.06', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.70', dlogl='4.85e-02', ts2='0.11', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='53' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:57:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0051>
Subject: Job 847786: <4FGL_J1454.4+5124_daily_bin53> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin53 223.625 51.409 253065601 253324801 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 :                                   761.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             285.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   978 sec.
    Turnaround time :                            980 sec.

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

