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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin363
RA = 223.625, Dec = 51.409
tmin = 333417601, tmax = 333676801
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='849385', job_status='RUN', time_executed='2021-09-10 12:48:26.311788', time_epoch_executed='1631303306.31' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='363'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849385

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849385/ft1_4FGL_J1454.4+5124_daily_bin363.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849385/ft2_4FGL_J1454.4+5124_daily_bin363.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849385/ft1_4FGL_J1454.4+5124_daily_bin363.fits outfile=/scratch/kocevski/849385/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin363.fits ra=223.625 dec=51.409 rad=12.0 tmin=333417601.0 tmax=333676801.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 3.51
user 3.29
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/849385/ft1_filtered_4FGL_J1454.4+5124_daily_bin363.fits" evtable="EVENTS" scfile=/scratch/kocevski/849385/ft2_4FGL_J1454.4+5124_daily_bin363.fits sctable="SC_DATA" outfile=/scratch/kocevski/849385/ltcube_333417601_333676801_4FGL_J1454.4+5124_daily_bin363.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/849385/ft2_4FGL_J1454.4+5124_daily_bin363.fits
.....................!
real 12.35
user 11.98
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849385/ft1_filtered_4FGL_J1454.4+5124_daily_bin363.fits evtable="EVENTS" scfile=/scratch/kocevski/849385/ft2_4FGL_J1454.4+5124_daily_bin363.fits sctable="SC_DATA" expcube=/scratch/kocevski/849385/ltcube_333417601_333676801_4FGL_J1454.4+5124_daily_bin363.fits outfile=/scratch/kocevski/849385/expmap_333417601_333676801_4FGL_J1454.4+5124_daily_bin363.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/849385/ltcube_333417601_333676801_4FGL_J1454.4+5124_daily_bin363.fits
.....................!
real 191.62
user 186.42
sys 4.31

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/849385/ft1_filtered_4FGL_J1454.4+5124_daily_bin363.fits scfile=/scratch/kocevski/849385/ft2_4FGL_J1454.4+5124_daily_bin363.fits outfile=/scratch/kocevski/849385/cmap_333417601_333676801_4FGL_J1454.4+5124_daily_bin363.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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/849385/ft1_filtered_4FGL_J1454.4+5124_daily_bin363.fits scfile=/scratch/kocevski/849385/ft2_4FGL_J1454.4+5124_daily_bin363.fits outfile=/scratch/kocevski/849385/cmap_HighResolution_333417601_333676801_4FGL_J1454.4+5124_daily_bin363.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.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    9.7543       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.985       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10515E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .79255       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    24.625       1.0000         .10000E-03   10000.    
    11 'Prefactor '    58.240       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10368E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.1032       1.0000         .10000E-03   10000.    
    16 'norm      '    2.0754       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.3623       1.0000         .10000E-03   10000.    
    20 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .68807E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.7063       1.0000         .10000E-03   10000.    
    25 'norm      '    85.422       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.1373       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .91707       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=   6916.725     FROM MIGRAD    STATUS=CONVERGED    693 CALLS     3505 TOTAL
                     EDM=   .57E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    31.890        .13192E-06** at limit **
   2  norm          9.7545        4.6939        .70892E-07   -.23602E-04
   3  Prefactor     .10000E-03    133.31        .53272E-08** at limit **
   4  Prefactor     12.986        35.297        .91785E-07   -.93447E-05
   5  Prefactor     .10000E-03    52.238       -.11044E-05** at limit **
   6  Prefactor     .79480        5.8929        .31339E-05   -.73261E-04
   7  Prefactor     .10000E-03    6.2120       -.91519E-07** at limit **
   8  Prefactor     .10000E-03    1.8532        .15138E-06** at limit **
   9  Prefactor     .10000E-03    19.734        .39317E-06** at limit **
  10  Prefactor     24.634        28.184        .20005E-06   -.23517E-04
  11  Prefactor     58.189        66.178       -.93230E-06   -.11646E-03
  12  Prefactor     .10000E-03    38.901       -.16876E-06** at limit **
  13  Prefactor     .10000E-03    12.600        .76457E-07** at limit **
  14  Prefactor     .10000E-03    6.7451       -.69894E-06** at limit **
  15  Prefactor     4.1166        17.739        .48652E-06   -.10372E-04
  16  norm          2.0754        1.3441       -.12516E-07   -.31195E-04
  17  Prefactor     .10000E-03    3.0028       -.32264E-07** at limit **
  18  Prefactor     .10000E-03    9.6223        .17639E-06** at limit **
  19  Prefactor     2.3636        7.0975        .12484E-05   -.23229E-04
  20  norm          .10000E-03    1.0571        .33295E-07** at limit **
  21  Prefactor     .10000E-03    3.1541        .53786E-07** at limit **
  22  Prefactor     .10000E-03    9.5117        .21296E-06** at limit **
  23  Prefactor     .10000E-03    5.9262        .85885E-07** at limit **
  24  Prefactor     3.7076        9.0165        .53602E-06   -.10015E-04
  25  norm          85.422        18.646       -.80149E-07   -.19968E-04
  26  Prefactor     .10000E-03    18.612       -.96212E-07** at limit **
  27  Normalizat    1.1371        .17667       -.22682E-06   -.14320E-03
  28  Prefactor     .91735        .18875       -.65874E-06   -.99750E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 9.75454
  Prefactor  = 0.0001
  Prefactor  = 12.9858
  Prefactor  = 0.0001
  Prefactor  = 0.794795
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.6338
  Prefactor  = 58.1893
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.11656
  norm       = 2.07541
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.36362
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.70763
  norm       = 85.4217
  Prefactor  = 0.0001
  Normalizat = 1.13713
  Prefactor  = 0.91735
 **********
 **   18 **HESSE 
 **********

 FCN=   6916.725     FROM HESSE     STATUS=OK           511 CALLS     4016 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    31.902        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          9.7545        4.6980        .11919E-03   -1.5083    
   3  Prefactor     .10000E-03    133.31        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     12.986        35.256        .11116E-03   -1.4987    
   5  Prefactor     .10000E-03    52.715        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .79480        5.9265        .38272E-03   -1.5530    
   7  Prefactor     .10000E-03    6.2262        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.8793        .21882E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    19.810        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     24.634        28.039        .80723E-04   -1.4715    
  11  Prefactor     58.189        66.674        .52569E-04   -1.4181    
  12  Prefactor     .10000E-03    39.245        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    12.606        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.7446        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.1166        17.515        .19902E-03   -1.5302    
  16  norm          2.0754        1.3404        .73636E-04   -1.5420    
  17  Prefactor     .10000E-03    3.0069        .14069E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    9.9965        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.3636        7.1463        .26663E-03   -1.5400    
  20  norm          .10000E-03    1.0610        .83502E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.1769        .14421E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    44.646        .49650E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    5.9771        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     3.7076        8.9537        .20977E-03   -1.5323    
  25  norm          85.422        18.541        .43466E-04   -1.3857    
  26  Prefactor     .10000E-03    18.619        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.1371        .20656        .22897E-03   -.88569    
  28  Prefactor     .91735        .21979        .28429E-03   -.95537    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1555e-10
Minuit parameter uncertainties:
  1  6.74606e-05
  2  4.6982
  3  1.04734e-05
  4  35.3124
  5  1.34131e-05
  6  4.34099
  7  8.06228e-06
  8  1.85683e-06
  9  4.32016e-05
  10  28.0536
  11  66.76
  12  0.000134059
  13  4.99764e-06
  14  8.71245e-06
  15  16.9907
  16  1.34045
  17  3.79811e-06
  18  1.49927e-06
  19  7.14885
  20  5.78946e-07
  21  1.51494e-06
  22  3.2257e-05
  23  3.80842e-06
  24  8.95693
  25  18.5423
  26  4.72161e-05
  27  0.206704
  28  0.220005
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.075e+00  1.340e+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:  9.174e-01  2.200e-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.137e+00  2.067e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.45
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 3.12e-08 +/- 2.01e-08
Energy Flux (Fixed Index): 2.23e-05 +/- 1.44e-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) = 6915.80467502
delta logL = 0.920160151175

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6915.72039121
delta logL = 1.00444396472

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2572       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.1333       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1496       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92004       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=   6915.720     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      204 TOTAL
                     EDM=   .66E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2563        1.0399        .99540E-02   -.16772E-03
   2  alpha         1.1329        .39044        .33921       -.39311E-04
   3  Normalizat    1.1497        .16504        .36264E-01    .61633E-05
   4  Prefactor     .92005        .18735        .45260E-01    .15698E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.25635
  alpha      = 1.1329
  Normalizat = 1.14968
  Prefactor  = 0.920049
 **********
 **   18 **HESSE 
 **********

 FCN=   6915.720     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2563        1.6159        .70258E-04   -1.5484    
   2  alpha         1.1329        .62823        .14209E-01   -.57858    
   3  Normalizat    1.1497        .19074        .22799E-03   -.88172    
   4  Prefactor     .92005        .21675        .28433E-03   -.95444    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.35162e-09
Minuit parameter uncertainties:
  1  1.61595
  2  0.638069
  3  0.190857
  4  0.216955
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849385': 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) = 6915.72039098
delta logL = 1.0044441942

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.256e+00  1.616e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.133e+00  6.381e-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:  9.200e-01  2.170e-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.150e+00  1.909e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.45
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.13 +/- 0.64
Photon Flux (Free Index): 9.20e-09 +/- 1.14e-08
Energy Flux (Free Index): 6.40e-05 +/- 7.04e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/849385/cmap_HighResolution_333417601_333676801_4FGL_J1454.4+5124_daily_bin363.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.12e-08', energy_flux2='6.40e-05', photon_flux_error='2.01e-08', dlogl='1.00e+00', energy_flux='2.23e-05', photon_flux2='9.20e-09', job_status='DONE', time_completed='2021-09-10 13:01:22.987472', photon_index_error2='0.64', photon_index2='1.13', ts='10.45', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='7.04e-05', EG='1.14', time_epoch_completed='1631304082.99', return_code='0', job_id='849385', GAL2='0.92', EG2='1.15', return_code2='0', energy_flux_error='1.44e-05', photon_flux_error2='1.14e-08', ts2='12.45', photon_index='1.97' WHERE bin_id='363' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:01:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0293>
Subject: Job 849385: <4FGL_J1454.4+5124_daily_bin363> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin363> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 12:46:10 2021
Job was executed on host(s) <bullet0293>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:46:12 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 12:46:12 2021
Terminated at Fri Sep 10 13:01:23 2021
Results reported at Fri Sep 10 13:01:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin363 223.625 51.409 333417601 333676801 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 :                                   775.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             293.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   911 sec.
    Turnaround time :                            913 sec.

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

