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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin175
RA = 223.625, Dec = 51.409
tmin = 284688001, tmax = 284947201
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='849253', job_status='RUN', time_executed='2021-09-10 12:49:25.216853', time_epoch_executed='1631303365.22' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='175'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849253

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849253/ft1_4FGL_J1454.4+5124_daily_bin175.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849253/ft2_4FGL_J1454.4+5124_daily_bin175.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849253/ft1_4FGL_J1454.4+5124_daily_bin175.fits outfile=/scratch/kocevski/849253/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin175.fits ra=223.625 dec=51.409 rad=12.0 tmin=284688001.0 tmax=284947201.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.63
user 3.40
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849253/ft1_filtered_4FGL_J1454.4+5124_daily_bin175.fits evtable="EVENTS" scfile=/scratch/kocevski/849253/ft2_4FGL_J1454.4+5124_daily_bin175.fits sctable="SC_DATA" expcube=/scratch/kocevski/849253/ltcube_284688001_284947201_4FGL_J1454.4+5124_daily_bin175.fits outfile=/scratch/kocevski/849253/expmap_284688001_284947201_4FGL_J1454.4+5124_daily_bin175.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/849253/ltcube_284688001_284947201_4FGL_J1454.4+5124_daily_bin175.fits
.....................!
real 191.51
user 185.22
sys 5.90

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/849253/ft1_filtered_4FGL_J1454.4+5124_daily_bin175.fits scfile=/scratch/kocevski/849253/ft2_4FGL_J1454.4+5124_daily_bin175.fits outfile=/scratch/kocevski/849253/cmap_284688001_284947201_4FGL_J1454.4+5124_daily_bin175.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=223.625 yref=51.409 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/849253/ft1_filtered_4FGL_J1454.4+5124_daily_bin175.fits scfile=/scratch/kocevski/849253/ft2_4FGL_J1454.4+5124_daily_bin175.fits outfile=/scratch/kocevski/849253/cmap_HighResolution_284688001_284947201_4FGL_J1454.4+5124_daily_bin175.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    47.600       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.3532       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.0718       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.7906       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    15.063       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.9154       1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.6359       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .14719E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.6169       1.0000         .10000E-03   10000.    
    20 'norm      '    .11141E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    5.2891       1.0000         .10000E-03   10000.    
    24 'Prefactor '    6.8082       1.0000         .10000E-03   10000.    
    25 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.0824       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .80319       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=   6454.834     FROM MIGRAD    STATUS=CONVERGED    662 CALLS     2943 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    22.195        .69195E-05** at limit **
   2  norm          .10000E-03    1.8519       -.57645E-07** at limit **
   3  Prefactor     47.139        472.50       -.66736E-03    .19907E-04
   4  Prefactor     .10000E-03    14.334       -.57425E-05** at limit **
   5  Prefactor     .10000E-03    8.7073       -.48514E-05** at limit **
   6  Prefactor     .10000E-03    1.5285       -.13124E-06** at limit **
   7  Prefactor     3.3541        13.581       -.26034E-05   -.11371E-03
   8  Prefactor     .10000E-03    .67758        .73672E-07** at limit **
   9  Prefactor     7.0739        13.511       -.10265E-05   -.23702E-04
  10  Prefactor     3.7895        11.971       -.13983E-05   -.96493E-04
  11  Prefactor     .10000E-03    14.024       -.37931E-05** at limit **
  12  Prefactor     .10000E-03    9.8683        .72056E-05** at limit **
  13  Prefactor     15.068        21.880        .25192E-05    .32820E-05
  14  Prefactor     .10000E-03    4.0190       -.32033E-06** at limit **
  15  Prefactor     .10000E-03    9.8569        .74635E-05** at limit **
  16  norm          1.9154        1.0611       -.95936E-07    .96024E-04
  17  Prefactor     9.6359        8.9997       -.75268E-07   -.10965E-04
  18  Prefactor     .10048E-03    2.4980       -.12969E-05** at limit **
  19  Prefactor     3.6167        7.4321       -.11756E-05   -.42086E-03
  20  norm          .10000E-03    2.2043       -.18514E-06** at limit **
  21  Prefactor     .10000E-03    4.7292       -.65718E-06** at limit **
  22  Prefactor     .10000E-03    8.5254       -.66499E-05** at limit **
  23  Prefactor     5.3025        9.3442       -.37542E-06    .54354E-04
  24  Prefactor     6.8081        6.3917       -.56281E-06   -.19623E-03
  25  norm          .10000E-03    6.4601        .21016E-05** at limit **
  26  Prefactor     .10000E-03    47.998        .72502E-06** at limit **
  27  Normalizat    1.0823        .15078       -.67101E-06    .45235E-03
  28  Prefactor     .80334        .16756        .62160E-05    .23613E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 47.1391
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.35414
  Prefactor  = 0.0001
  Prefactor  = 7.07387
  Prefactor  = 3.78949
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.0679
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.91537
  Prefactor  = 9.63594
  Prefactor  = 0.000100479
  Prefactor  = 3.61667
  norm       = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.30249
  Prefactor  = 6.8081
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.08231
  Prefactor  = 0.803343
 **********
 **   18 **HESSE 
 **********

 FCN=   6454.834     FROM HESSE     STATUS=OK           525 CALLS     3468 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    22.195        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.8855        .10672E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     47.139        475.46        .29059E-03   -1.4334    
   4  Prefactor     .10000E-03    14.342        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.7122        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.5396        .96975E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.3541        13.618        .22101E-03   -1.5342    
   8  Prefactor     .10000E-03    .68641        .64469E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.0739        13.494        .15085E-03   -1.5176    
  10  Prefactor     3.7895        11.937        .20734E-03   -1.5319    
  11  Prefactor     .10000E-03    14.034        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    9.8840        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     15.068        21.864        .10320E-03   -1.4931    
  14  Prefactor     .10000E-03    4.0263        .15730E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    9.9316        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.9154        1.0610        .30031E-04   -1.5431    
  17  Prefactor     9.6359        8.9100        .12910E-03   -1.5087    
  18  Prefactor     .10048E-03    4.4528        .44391E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.6167        7.3714        .21245E-03   -1.5328    
  20  norm          .10000E-03    4.1823        .22549E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.7568        .16996E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    8.5474        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     5.3025        9.1302        .17476E-03   -1.5247    
  24  Prefactor     6.8081        6.3815        .15377E-03   -1.5186    
  25  norm          .10000E-03    6.5803        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    48.090        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.0823        .17699        .20192E-03   -.90322    
  28  Prefactor     .80334        .19569        .26283E-03   -.99605    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.16244e-09
Minuit parameter uncertainties:
  1  2.33371e-06
  2  3.79965e-07
  3  302.582
  4  9.37423e-06
  5  6.36366e-06
  6  3.65275e-06
  7  13.5218
  8  1.03328e-07
  9  13.5
  10  11.9446
  11  1.2152e-05
  12  2.11897e-05
  13  21.8753
  14  8.84161e-06
  15  5.41434e-05
  16  1.06101
  17  8.91121
  18  0.00291973
  19  7.37324
  20  0.000169435
  21  1.43622e-05
  22  1.27273e-05
  23  9.1326
  24  6.38214
  25  3.80699e-05
  26  8.70807e-05
  27  0.177092
  28  0.195861
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.915e+00  1.061e+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.033e-01  1.959e-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.082e+00  1.771e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.96
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 2.88e-08 +/- 1.59e-08
Energy Flux (Fixed Index): 2.06e-05 +/- 1.14e-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) = 6454.14897119
delta logL = 0.684634227294

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6454.0996597
delta logL = 0.733945713146

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1994       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4899       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0910       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79965       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=   6454.100     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      198 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1994        1.4508        .69360E-02   -.18543E-03
   2  alpha         1.4898        .40295        .29027        .17451E-04
   3  Normalizat    1.0909        .14541        .38378E-01   -.17138E-03
   4  Prefactor     .79978        .16618        .43713E-01   -.26409E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.19942
  alpha      = 1.48977
  Normalizat = 1.09091
  Prefactor  = 0.799777
 **********
 **   18 **HESSE 
 **********

 FCN=   6454.100     FROM HESSE     STATUS=OK            31 CALLS      229 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1994        1.2548        .65386E-04   -1.5411    
   2  alpha         1.4898        .37726        .11813E-01   -.41598    
   3  Normalizat    1.0909        .16941        .20122E-03   -.90044    
   4  Prefactor     .79978        .19379        .26339E-03   -.99737    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.77162e-10
Minuit parameter uncertainties:
  1  1.25482
  2  0.378994
  3  0.169496
  4  0.193953
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849253': 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) = 6454.09965943
delta logL = 0.73394598455

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.199e+00  1.255e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.490e+00  3.790e-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:  7.998e-01  1.940e-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.091e+00  1.695e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.44
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.49 +/- 0.38
Photon Flux (Free Index): 1.85e-08 +/- 1.27e-08
Energy Flux (Free Index): 4.61e-05 +/- 4.20e-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/849253/cmap_HighResolution_284688001_284947201_4FGL_J1454.4+5124_daily_bin175.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.88e-08', energy_flux2='4.61e-05', photon_flux_error='1.59e-08', dlogl='7.34e-01', energy_flux='2.06e-05', photon_flux2='1.85e-08', job_status='DONE', time_completed='2021-09-10 13:01:24.031078', photon_index_error2='0.38', photon_index2='1.49', ts='11.96', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', energy_flux_error2='4.20e-05', EG='1.08', time_epoch_completed='1631304084.03', return_code='0', job_id='849253', GAL2='0.80', EG2='1.09', return_code2='0', energy_flux_error='1.14e-05', photon_flux_error2='1.27e-08', ts2='13.44', photon_index='1.97' WHERE bin_id='175' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:01:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 849253: <4FGL_J1454.4+5124_daily_bin175> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin175 223.625 51.409 284688001 284947201 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 :                                   720.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             278.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   921 sec.
    Turnaround time :                            922 sec.

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

