/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 5 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 = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1454.4+5124_daily_bin1158
RA = 223.625, Dec = 51.409
tmin = 539481601, tmax = 539740801
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='852680', job_status='RUN', time_executed='2021-09-10 12:56:32.148516', time_epoch_executed='1631303792.15' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='1158'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/852680

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/852680/ft1_4FGL_J1454.4+5124_daily_bin1158.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/852680/ft2_4FGL_J1454.4+5124_daily_bin1158.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/852680/ft1_4FGL_J1454.4+5124_daily_bin1158.fits outfile=/scratch/kocevski/852680/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin1158.fits ra=223.625 dec=51.409 rad=12.0 tmin=539481601.0 tmax=539740801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.15
user 4.87
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/852680/ft2_4FGL_J1454.4+5124_daily_bin1158.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/852680/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin1158.fits evtable="EVENTS" outfile="/scratch/kocevski/852680/ft1_filtered_4FGL_J1454.4+5124_daily_bin1158.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/852680/ft1_filtered_4FGL_J1454.4+5124_daily_bin1158.fits" evtable="EVENTS" scfile=/scratch/kocevski/852680/ft2_4FGL_J1454.4+5124_daily_bin1158.fits sctable="SC_DATA" outfile=/scratch/kocevski/852680/ltcube_539481601_539740801_4FGL_J1454.4+5124_daily_bin1158.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/852680/ft2_4FGL_J1454.4+5124_daily_bin1158.fits
.....................!
real 11.50
user 11.09
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/852680/ft1_filtered_4FGL_J1454.4+5124_daily_bin1158.fits evtable="EVENTS" scfile=/scratch/kocevski/852680/ft2_4FGL_J1454.4+5124_daily_bin1158.fits sctable="SC_DATA" expcube=/scratch/kocevski/852680/ltcube_539481601_539740801_4FGL_J1454.4+5124_daily_bin1158.fits outfile=/scratch/kocevski/852680/expmap_539481601_539740801_4FGL_J1454.4+5124_daily_bin1158.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/852680/ltcube_539481601_539740801_4FGL_J1454.4+5124_daily_bin1158.fits
.....................!
real 190.66
user 184.85
sys 5.43

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/852680/ft1_filtered_4FGL_J1454.4+5124_daily_bin1158.fits scfile=/scratch/kocevski/852680/ft2_4FGL_J1454.4+5124_daily_bin1158.fits outfile=/scratch/kocevski/852680/cmap_539481601_539740801_4FGL_J1454.4+5124_daily_bin1158.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.35
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .75061       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    38.614       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.1427       1.0000         .10000E-03   10000.    
     9 'Prefactor '    23.125       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10248E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    4.8565       1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.3402       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.2155       1.0000         .10000E-03   10000.    
    20 'norm      '    .10068E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.4463       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10203E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    29.771       1.0000         .10000E-03   10000.    
    25 'norm      '    .10240E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.1202       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .85168       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=   3918.867     FROM MIGRAD    STATUS=CONVERGED    681 CALLS     3471 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    56.218        .13092E-04** at limit **
   2  norm          .76577        5.2445       -.30374E-07   -.49906E-04
   3  Prefactor     .10000E-03    191.31       -.94030E-05** at limit **
   4  Prefactor     .10000E-03    28.783        .10110E-04** at limit **
   5  Prefactor     .10000E-03    20.796       -.47714E-05** at limit **
   6  Prefactor     .10000E-03    2.4092        .75543E-07** at limit **
   7  Prefactor     38.617        33.284        .59017E-06    .18823E-04
   8  Prefactor     1.1449        3.2715       -.17805E-07   -.89594E-04
   9  Prefactor     23.124        25.507        .24899E-06   -.31408E-06
  10  Prefactor     .10000E-03    37.061       -.34632E-06** at limit **
  11  Prefactor     .10000E-03    54.769        .78500E-05** at limit **
  12  Prefactor     .10000E-03    44.705       -.11502E-04** at limit **
  13  Prefactor     .10000E-03    12.828        .16394E-05** at limit **
  14  Prefactor     .10000E-03    24.779       -.23089E-05** at limit **
  15  Prefactor     .10000E-03    11.246       -.82871E-05** at limit **
  16  norm          4.8566        2.5125        .35764E-07    .21396E-04
  17  Prefactor     4.3398        13.686        .90298E-07   -.10357E-04
  18  Prefactor     .10000E-03    10.897        .72969E-05** at limit **
  19  Prefactor     7.2154        8.3515       -.96119E-07   -.92734E-05
  20  norm          .10000E-03    2.4281       -.37125E-06** at limit **
  21  Prefactor     1.4458        4.2104        .12344E-05   -.89061E-03
  22  Prefactor     .10000E-03    9.4476       -.34048E-06** at limit **
  23  Prefactor     .10000E-03    19.751        .17809E-05** at limit **
  24  Prefactor     29.783        14.267        .34403E-06    .20876E-03
  25  norm          .10000E-03    38.413       -.44604E-05** at limit **
  26  Prefactor     .10000E-03    49.761       -.64683E-05** at limit **
  27  Normalizat    1.1202        .22489       -.38604E-06   -.55568E-05
  28  Prefactor     .85165        .23695       -.22602E-06   -.17864E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.76577
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 38.6172
  Prefactor  = 1.14491
  Prefactor  = 23.1236
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.85656
  Prefactor  = 4.33983
  Prefactor  = 0.0001
  Prefactor  = 7.21537
  norm       = 0.0001
  Prefactor  = 1.44575
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 29.7829
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.12019
  Prefactor  = 0.851648
 **********
 **   18 **HESSE 
 **********

 FCN=   3918.867     FROM HESSE     STATUS=OK           513 CALLS     3984 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    56.261        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .76577        9.3091        .26248E-02   -1.5533    
   3  Prefactor     .10000E-03    191.32        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    28.818        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    20.809        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.4127        .94877E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     38.617        33.665        .64501E-04   -1.4464    
   8  Prefactor     1.1449        3.1599        .17364E-03   -1.5494    
   9  Prefactor     23.124        25.389        .83296E-04   -1.4746    
  10  Prefactor     .10000E-03    37.203        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    54.834        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    44.860        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    12.829        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    24.979        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    11.295        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.8566        2.5124        .68547E-04   -1.5267    
  17  Prefactor     4.3398        13.615        .19335E-03   -1.5291    
  18  Prefactor     .10000E-03    11.147        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     7.2154        8.3174        .14933E-03   -1.5171    
  20  norm          .10000E-03    2.4477        .95281E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.4458        24.409        .17922E-02   -1.5467    
  22  Prefactor     .10000E-03    9.4530        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    19.991        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     29.783        14.185        .73430E-04   -1.4616    
  25  norm          .10000E-03    38.906        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    49.782        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.1202        .27200        .22219E-03   -.89106    
  28  Prefactor     .85165        .28327        .28127E-03   -.97852    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.19565e-08
Minuit parameter uncertainties:
  1  0.000165526
  2  5.34057
  3  0.000217516
  4  9.21554e-05
  5  3.56112e-05
  6  2.52706e-07
  7  33.6815
  8  3.16031
  9  25.4005
  10  7.87848e-06
  11  0.000102723
  12  9.11847e-05
  13  1.02272e-05
  14  6.86545e-06
  15  4.83786e-05
  16  2.51242
  17  13.6244
  18  1.7298e-05
  19  8.31869
  20  1.17639e-06
  21  11.8864
  22  1.35026e-06
  23  1.05548e-05
  24  14.1862
  25  7.22624e-05
  26  7.18808e-05
  27  0.272341
  28  0.283762
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  4.857e+00  2.512e+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.516e-01  2.838e-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.120e+00  2.723e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.82
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 7.30e-08 +/- 3.78e-08
Energy Flux (Fixed Index): 5.22e-05 +/- 2.70e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3918.64789874
delta logL = 0.218639157149

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3918.64581971
delta logL = 0.220718180771

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8569       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6261       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1437       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84425       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=   3918.646     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      199 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.8512        4.7007        .45632E-02    .22672E-03
   2  alpha         1.6263        .69858        .29139       -.35123E-04
   3  Normalizat    1.1436        .21567        .36449E-01   -.46955E-04
   4  Prefactor     .84427        .23813        .63926E-01   -.32037E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.85119
  alpha      = 1.6263
  Normalizat = 1.14362
  Prefactor  = 0.844273
 **********
 **   18 **HESSE 
 **********

 FCN=   3918.646     FROM HESSE     STATUS=OK            33 CALLS      232 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.8512        3.0420        .77098E-04   -1.5267    
   2  alpha         1.6263        .54197        .10688E-01   -.35701    
   3  Normalizat    1.1436        .25077        .22039E-03   -.88363    
   4  Prefactor     .84427        .28012        .28275E-03   -.98116    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.79489e-11
Minuit parameter uncertainties:
  1  3.04208
  2  0.546928
  3  0.251037
  4  0.2806
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/852680': 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) = 3918.6458172
delta logL = 0.22072068816

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  4.851e+00  3.042e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.626e+00  5.469e-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.443e-01  2.806e-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.144e+00  2.510e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.24
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.63 +/- 0.55
Photon Flux (Free Index): 4.65e-08 +/- 4.71e-08
Energy Flux (Free Index): 7.83e-05 +/- 7.09e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/852680/cmap_HighResolution_539481601_539740801_4FGL_J1454.4+5124_daily_bin1158.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.30e-08', energy_flux2='7.83e-05', photon_flux_error='3.78e-08', dlogl='2.21e-01', energy_flux='5.22e-05', photon_flux2='4.65e-08', job_status='DONE', time_completed='2021-09-10 13:06:32.391623', photon_index_error2='0.55', photon_index2='1.63', ts='8.82', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', energy_flux_error2='7.09e-05', EG='1.12', time_epoch_completed='1631304392.39', return_code='0', job_id='852680', GAL2='0.84', EG2='1.14', return_code2='0', energy_flux_error='2.70e-05', photon_flux_error2='4.71e-08', ts2='9.24', photon_index='1.97' WHERE bin_id='1158' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:06:32 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin1158 223.625 51.409 539481601 539740801 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 :                                   596.20 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             343.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   614 sec.
    Turnaround time :                            616 sec.

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

