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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin350
RA = 223.625, Dec = 51.409
tmin = 330048001, tmax = 330307201
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='849366', job_status='RUN', time_executed='2021-09-10 12:48:52.509575', time_epoch_executed='1631303332.51' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='350'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849366

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849366/ft1_4FGL_J1454.4+5124_daily_bin350.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849366/ft2_4FGL_J1454.4+5124_daily_bin350.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849366/ft1_4FGL_J1454.4+5124_daily_bin350.fits outfile=/scratch/kocevski/849366/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin350.fits ra=223.625 dec=51.409 rad=12.0 tmin=330048001.0 tmax=330307201.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.50
user 3.29
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/849366/ft1_filtered_4FGL_J1454.4+5124_daily_bin350.fits" evtable="EVENTS" scfile=/scratch/kocevski/849366/ft2_4FGL_J1454.4+5124_daily_bin350.fits sctable="SC_DATA" outfile=/scratch/kocevski/849366/ltcube_330048001_330307201_4FGL_J1454.4+5124_daily_bin350.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/849366/ft2_4FGL_J1454.4+5124_daily_bin350.fits
.....................!
real 12.04
user 11.70
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849366/ft1_filtered_4FGL_J1454.4+5124_daily_bin350.fits evtable="EVENTS" scfile=/scratch/kocevski/849366/ft2_4FGL_J1454.4+5124_daily_bin350.fits sctable="SC_DATA" expcube=/scratch/kocevski/849366/ltcube_330048001_330307201_4FGL_J1454.4+5124_daily_bin350.fits outfile=/scratch/kocevski/849366/expmap_330048001_330307201_4FGL_J1454.4+5124_daily_bin350.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/849366/ltcube_330048001_330307201_4FGL_J1454.4+5124_daily_bin350.fits
.....................!
real 189.81
user 185.32
sys 4.08

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/849366/ft1_filtered_4FGL_J1454.4+5124_daily_bin350.fits scfile=/scratch/kocevski/849366/ft2_4FGL_J1454.4+5124_daily_bin350.fits outfile=/scratch/kocevski/849366/cmap_330048001_330307201_4FGL_J1454.4+5124_daily_bin350.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.53
user 0.38
sys 0.13

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    4.3036       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .12048E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10405E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10949E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11088E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.569       1.0000         .10000E-03   10000.    
    11 'Prefactor '    35.915       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11525E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.0009       1.0000         .10000E-03   10000.    
    16 'norm      '    1.7338       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .14297E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.848       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .76607       1.0000         .10000E-03   10000.    
    20 'norm      '    5.9508       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    6.6220       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .12850E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    11.529       1.0000         .10000E-03   10000.    
    26 'Prefactor '    101.72       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.3642       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .44760       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=   5865.158     FROM MIGRAD    STATUS=CONVERGED    702 CALLS     3557 TOTAL
                     EDM=   .47E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    30.573        .56186E-06** at limit **
   2  norm          4.3047        3.8315       -.25784E-07    .42108E-04
   3  Prefactor     .10000E-03    172.37        .74232E-07** at limit **
   4  Prefactor     .10000E-03    20.772       -.65533E-06** at limit **
   5  Prefactor     .10000E-03    32.607        .14020E-07** at limit **
   6  Prefactor     .10000E-03    1.8064        .27212E-07** at limit **
   7  Prefactor     .10000E-03    13.944        .16712E-06** at limit **
   8  Prefactor     .10000E-03    1.0159        .11083E-06** at limit **
   9  Prefactor     .10000E-03    26.018        .57792E-06** at limit **
  10  Prefactor     12.565        16.096        .14420E-06   -.70364E-04
  11  Prefactor     35.970        47.223       -.29190E-05    .51538E-04
  12  Prefactor     .10000E-03    13.941        .98221E-07** at limit **
  13  Prefactor     .10000E-03    16.528        .88594E-07** at limit **
  14  Prefactor     .10000E-03    9.2202        .64427E-06** at limit **
  15  Prefactor     3.0058        26.779        .98665E-06    .56662E-04
  16  norm          1.7334        1.2200        .28092E-07   -.15381E-03
  17  Prefactor     .10007E-03    25.596        .94986E-05** at limit **
  18  Prefactor     10.846        8.6479       -.22045E-06   -.99063E-04
  19  Prefactor     .81767        12.042       -.63584E-05   -.36208E-03
  20  norm          5.9511        3.5134       -.33908E-07   -.36418E-04
  21  Prefactor     .10000E-03    5.7921       -.50977E-07** at limit **
  22  Prefactor     6.6295        17.964        .12785E-06    .35647E-05
  23  Prefactor     .10000E-03    6.6094       -.44176E-07** at limit **
  24  Prefactor     .10000E-03    6.1435        .27596E-05** at limit **
  25  norm          11.529        9.3147       -.18686E-05   -.22419E-03
  26  Prefactor     101.71        90.286       -.22139E-06   -.23386E-04
  27  Normalizat    1.3640        .17718        .54912E-06   -.61777E-03
  28  Prefactor     .44767        .18166        .32077E-07   -.25181E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 4.30466
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.5646
  Prefactor  = 35.9697
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 3.00578
  norm       = 1.73345
  Prefactor  = 0.000100075
  Prefactor  = 10.8463
  Prefactor  = 0.81767
  norm       = 5.95112
  Prefactor  = 0.0001
  Prefactor  = 6.62954
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.5289
  Prefactor  = 101.713
  Normalizat = 1.36402
  Prefactor  = 0.447672
 **********
 **   18 **HESSE 
 **********

 FCN=   5865.158     FROM HESSE     STATUS=OK           519 CALLS     4076 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    30.579        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.3047        3.8262        .13550E-03   -1.5293    
   3  Prefactor     .10000E-03    172.38        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    20.778        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    32.720        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.8203        .10052E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    14.021        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.5621        .14736E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    26.607        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     12.565        15.852        .11299E-03   -1.4999    
  11  Prefactor     35.970        47.551        .66872E-04   -1.4508    
  12  Prefactor     .10000E-03    13.975        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    16.569        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.3802        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.0058        26.030        .23432E-03   -1.5361    
  16  norm          1.7334        1.2193        .67951E-04   -1.5445    
  17  Prefactor     .10007E-03    51.508        .40166E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     10.846        8.5123        .12164E-03   -1.5049    
  19  Prefactor     .81767        19.710        .28833E-02   -1.5527    
  20  norm          5.9511        3.5060        .10601E-03   -1.5220    
  21  Prefactor     .10000E-03    5.8384        .17968E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     6.6295        17.938        .15594E-03   -1.5193    
  23  Prefactor     .10000E-03    6.6575        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    17.155        .33803E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          11.529        9.7542        .58993E-03   -1.5029    
  26  Prefactor     101.71        90.335        .39865E-04   -1.3687    
  27  Normalizat    1.3640        .19534        .19055E-03   -.81675    
  28  Prefactor     .44767        .19880        .34288E-03   -1.1444    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.37863e-09
Minuit parameter uncertainties:
  1  6.53861e-05
  2  3.82643
  3  3.21527e-05
  4  9.34877e-05
  5  0.000240711
  6  8.24052e-06
  7  7.59423e-06
  8  7.99984e-06
  9  0.000193214
  10  15.8571
  11  47.6014
  12  1.32217e-05
  13  2.81254e-05
  14  0.000300591
  15  17.7007
  16  1.21932
  17  0.00393306
  18  8.51321
  19  8.0315
  20  3.50608
  21  2.16148e-05
  22  17.9521
  23  1.86045e-05
  24  4.25758e-05
  25  9.75553
  26  90.4575
  27  0.195448
  28  0.199103
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.733e+00  1.219e+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:  4.477e-01  1.991e-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.364e+00  1.954e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.71
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 2.61e-08 +/- 1.83e-08
Energy Flux (Fixed Index): 1.86e-05 +/- 1.31e-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) = 5863.04399893
delta logL = 2.11370384651

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5863.00498301
delta logL = 2.15271977235

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .54087       1.0000         .10000E-03   10000.    
     2 'alpha     '    .71547       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3757       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .44946       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=   5863.005     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      212 TOTAL
                     EDM=   .78E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .53899        .54631        .10261E-01   -.22151E-03
   2  alpha         .71444        .40999        .30791       -.27509E-04
   3  Normalizat    1.3758        .16604        .31570E-01    .40460E-04
   4  Prefactor     .44934        .18071        .77396E-01    .67334E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.538992
  alpha      = 0.714443
  Normalizat = 1.37585
  Prefactor  = 0.449339
 **********
 **   18 **HESSE 
 **********

 FCN=   5863.005     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .22E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .53899        .96640        .43426E-03   -1.5561    
   2  alpha         .71444        .67291        .13802E-02   -.79551    
   3  Normalizat    1.3758        .18189        .18997E-03   -.81330    
   4  Prefactor     .44934        .19746        .34278E-03   -1.1436    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.18676e-12
Minuit parameter uncertainties:
  1  0.966431
  2  0.690707
  3  0.181972
  4  0.197762
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849366': 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) = 5863.00498058
delta logL = 2.15272219596

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  5.390e-01  9.664e-01  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  7.144e-01  6.907e-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:  4.493e-01  1.978e-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.376e+00  1.820e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 16.02
Ra Dec: 223.625 51.409
Photon Index (Free Index): 0.71 +/- 0.69
Photon Flux (Free Index): 5.46e-09 +/- 5.53e-09
Energy Flux (Free Index): 9.97e-05 +/- 1.07e-04

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/849366/cmap_HighResolution_330048001_330307201_4FGL_J1454.4+5124_daily_bin350.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.61e-08', energy_flux2='9.97e-05', photon_flux_error='1.83e-08', dlogl='2.15e+00', energy_flux='1.86e-05', photon_flux2='5.46e-09', job_status='DONE', time_completed='2021-09-10 13:00:52.749424', photon_index_error2='0.69', photon_index2='0.71', ts='11.71', fit_tolerance='1e-08', GAL='0.45', photon_index_error='0.00', energy_flux_error2='1.07e-04', EG='1.36', time_epoch_completed='1631304052.75', return_code='0', job_id='849366', GAL2='0.45', EG2='1.38', return_code2='0', energy_flux_error='1.31e-05', photon_flux_error2='5.53e-09', ts2='16.02', photon_index='1.97' WHERE bin_id='350' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:00:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0228>
Subject: Job 849366: <4FGL_J1454.4+5124_daily_bin350> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin350> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 12:46:09 2021
Job was executed on host(s) <bullet0228>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:46:11 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:11 2021
Terminated at Fri Sep 10 13:00:53 2021
Results reported at Fri Sep 10 13:00:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin350 223.625 51.409 330048001 330307201 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 :                                   719.38 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             293.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   882 sec.
    Turnaround time :                            884 sec.

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

