/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 0 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 = 7631
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1454.4+5124_daily_bin1415
RA = 223.625, Dec = 51.409
tmin = 606096001, tmax = 606355201
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='854180', job_status='RUN', time_executed='2021-09-10 13:01:30.749568', time_epoch_executed='1631304090.75' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='1415'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/854180

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/854180/ft1_4FGL_J1454.4+5124_daily_bin1415.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/854180/ft2_4FGL_J1454.4+5124_daily_bin1415.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/854180/ft1_4FGL_J1454.4+5124_daily_bin1415.fits outfile=/scratch/kocevski/854180/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin1415.fits ra=223.625 dec=51.409 rad=12.0 tmin=606096001.0 tmax=606355201.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.69
user 3.45
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/854180/ft2_4FGL_J1454.4+5124_daily_bin1415.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/854180/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin1415.fits evtable="EVENTS" outfile="/scratch/kocevski/854180/ft1_filtered_4FGL_J1454.4+5124_daily_bin1415.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.51
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/854180/ft1_filtered_4FGL_J1454.4+5124_daily_bin1415.fits" evtable="EVENTS" scfile=/scratch/kocevski/854180/ft2_4FGL_J1454.4+5124_daily_bin1415.fits sctable="SC_DATA" outfile=/scratch/kocevski/854180/ltcube_606096001_606355201_4FGL_J1454.4+5124_daily_bin1415.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/854180/ft2_4FGL_J1454.4+5124_daily_bin1415.fits
.....................!
real 11.79
user 11.41
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/854180/ft1_filtered_4FGL_J1454.4+5124_daily_bin1415.fits evtable="EVENTS" scfile=/scratch/kocevski/854180/ft2_4FGL_J1454.4+5124_daily_bin1415.fits sctable="SC_DATA" expcube=/scratch/kocevski/854180/ltcube_606096001_606355201_4FGL_J1454.4+5124_daily_bin1415.fits outfile=/scratch/kocevski/854180/expmap_606096001_606355201_4FGL_J1454.4+5124_daily_bin1415.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/854180/ltcube_606096001_606355201_4FGL_J1454.4+5124_daily_bin1415.fits
.....................!
real 190.04
user 185.30
sys 4.36

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/854180/ft1_filtered_4FGL_J1454.4+5124_daily_bin1415.fits scfile=/scratch/kocevski/854180/ft2_4FGL_J1454.4+5124_daily_bin1415.fits outfile=/scratch/kocevski/854180/cmap_606096001_606355201_4FGL_J1454.4+5124_daily_bin1415.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/854180/ft1_filtered_4FGL_J1454.4+5124_daily_bin1415.fits scfile=/scratch/kocevski/854180/ft2_4FGL_J1454.4+5124_daily_bin1415.fits outfile=/scratch/kocevski/854180/cmap_HighResolution_606096001_606355201_4FGL_J1454.4+5124_daily_bin1415.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/854180/ft1_filtered_4FGL_J1454.4+5124_daily_bin1415.fits evtable="EVENTS" scfile=/scratch/kocevski/854180/ft2_4FGL_J1454.4+5124_daily_bin1415.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/854180/Model_4FGL_J1454.4+5124_daily_bin1415.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/854180/ft1_filtered_4FGL_J1454.4+5124_daily_bin1415.fits.....................!
real 50.58
user 49.23
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.7954       1.0000         .10000E-03   10000.    
     3 'Prefactor '    151.07       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.1582       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .54251       1.0000         .10000E-03   10000.    
     7 'Prefactor '    27.702       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.8526       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.6631       1.0000         .10000E-03   10000.    
    11 'Prefactor '    78.553       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    36.238       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.3888       1.0000         .10000E-03   10000.    
    17 'Prefactor '    21.983       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .68655       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.6681       1.0000         .10000E-03   10000.    
    20 'norm      '    1.6027       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    11.844       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .62157       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    50.519       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.2208       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .62342       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=   6132.506     FROM MIGRAD    STATUS=CONVERGED    664 CALLS     4075 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    29.176       -.41534E-06** at limit **
   2  norm          2.7953        2.4263        .58961E-06   -.19479E-02
   3  Prefactor     151.04        346.18       -.10617E-04   -.32091E-04
   4  Prefactor     .10000E-03    24.012       -.66539E-06** at limit **
   5  Prefactor     8.1578        34.036       -.43991E-06   -.23928E-04
   6  Prefactor     .54212        3.9398        .84109E-06   -.49073E-03
   7  Prefactor     27.701        22.140       -.58363E-06   -.73413E-04
   8  Prefactor     .10000E-03    .58262        .11840E-06** at limit **
   9  Prefactor     6.8489        35.881       -.36437E-05   -.89843E-04
  10  Prefactor     8.6645        14.881        .69240E-06    .20082E-04
  11  Prefactor     78.542        55.785       -.46657E-05   -.28188E-03
  12  Prefactor     .10000E-03    24.533        .10590E-06** at limit **
  13  Prefactor     36.238        46.351        .13014E-06   -.44209E-04
  14  Prefactor     .10000E-03    5.5381       -.33265E-06** at limit **
  15  Prefactor     .10000E-03    15.175        .23877E-06** at limit **
  16  norm          1.3889        1.1390        .37941E-07    .67568E-04
  17  Prefactor     21.984        14.399        .16298E-06    .47056E-04
  18  Prefactor     .68663        4.8953        .13600E-05   -.39486E-03
  19  Prefactor     7.6668        10.008       -.12268E-06   -.46483E-04
  20  norm          1.6028        2.5544        .14557E-06    .31024E-04
  21  Prefactor     .10000E-03    3.9378       -.42648E-06** at limit **
  22  Prefactor     11.843        14.746       -.34209E-06    .25493E-04
  23  Prefactor     .62233        10.072       -.12912E-06   -.84076E-04
  24  Prefactor     .10000E-03    2.5661       -.15465E-06** at limit **
  25  norm          50.518        14.052       -.40251E-07    .14518E-04
  26  Prefactor     .10000E-03    24.949        .27445E-06** at limit **
  27  Normalizat    1.2208        .17654        .53723E-06    .49233E-04
  28  Prefactor     .62342        .18319       -.28700E-07    .89506E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 2.79529
  Prefactor  = 151.037
  Prefactor  = 0.0001
  Prefactor  = 8.15784
  Prefactor  = 0.542118
  Prefactor  = 27.7006
  Prefactor  = 0.0001
  Prefactor  = 6.84889
  Prefactor  = 8.66451
  Prefactor  = 78.5418
  Prefactor  = 0.0001
  Prefactor  = 36.2381
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.38885
  Prefactor  = 21.9845
  Prefactor  = 0.686634
  Prefactor  = 7.66679
  norm       = 1.60283
  Prefactor  = 0.0001
  Prefactor  = 11.8432
  Prefactor  = 0.622325
  Prefactor  = 0.0001
  norm       = 50.5182
  Prefactor  = 0.0001
  Normalizat = 1.22079
  Prefactor  = 0.623421
 **********
 **   18 **HESSE 
 **********

 FCN=   6132.506     FROM HESSE     STATUS=OK           523 CALLS     4598 TOTAL
                     EDM=   .49E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    29.186        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.7953        2.7624        .62737E-03   -1.5374    
   3  Prefactor     151.04        350.08        .16397E-03   -1.3244    
   4  Prefactor     .10000E-03    24.078        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.1578        33.659        .14037E-03   -1.5137    
   6  Prefactor     .54212        4.2635        .30942E-03   -1.5561    
   7  Prefactor     27.701        22.258        .76116E-04   -1.4655    
   8  Prefactor     .10000E-03    .58599        .58399E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.8489        35.940        .15327E-03   -1.5184    
  10  Prefactor     8.6645        14.877        .13619E-03   -1.5119    
  11  Prefactor     78.542        57.794        .45311E-04   -1.3933    
  12  Prefactor     .10000E-03    24.721        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     36.238        45.945        .66574E-04   -1.4503    
  14  Prefactor     .10000E-03    5.5397        .17978E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    15.778        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.3889        1.1368        .73366E-04   -1.5472    
  17  Prefactor     21.984        14.351        .85429E-04   -1.4770    
  18  Prefactor     .68663        5.2755        .34613E-03   -1.5542    
  19  Prefactor     7.6668        10.012        .14482E-03   -1.5154    
  20  norm          1.6028        2.5138        .14994E-03   -1.5455    
  21  Prefactor     .10000E-03    3.9534        .15155E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     11.843        15.319        .11640E-03   -1.5020    
  23  Prefactor     .62233        44.470        .42210E-02   -1.5550    
  24  Prefactor     .10000E-03    2.5694        .12252E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          50.518        14.062        .56423E-04   -1.4285    
  26  Prefactor     .10000E-03    24.953        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.2208        .20665        .20749E-03   -.85963    
  28  Prefactor     .62342        .21244        .31121E-03   -1.0661    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.85339e-08
Minuit parameter uncertainties:
  1  6.00823e-05
  2  2.76257
  3  355.071
  4  7.91741e-05
  5  33.1732
  6  3.04064
  7  22.2644
  8  3.57846e-06
  9  31.4076
  10  14.8836
  11  57.8349
  12  1.00169e-05
  13  45.99
  14  3.12479e-07
  15  1.11736e-05
  16  1.13683
  17  14.3533
  18  3.80668
  19  10.0147
  20  2.51398
  21  2.25624e-05
  22  15.3245
  23  10.5287
  24  7.3456e-06
  25  14.0631
  26  3.09645e-05
  27  0.206789
  28  0.212715
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.389e+00  1.137e+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:  6.234e-01  2.127e-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.221e+00  2.068e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.18
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 2.09e-08 +/- 1.71e-08
Energy Flux (Fixed Index): 1.49e-05 +/- 1.22e-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) = 6132.50459307
delta logL = 0.00189330748981

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6132.50441573
delta logL = 0.00207064356982

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4091       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9266       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2216       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .62309       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=   6132.504     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      204 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4091        35.512        .91263E-02    .12103E-03
   2  alpha         1.9260        2.5746        .31851        .25590E-04
   3  Normalizat    1.2217        .80631E-01    .34380E-01    .31328E-05
   4  Prefactor     .62308        .71167E-01    .70332E-01    .27808E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.40906
  alpha      = 1.926
  Normalizat = 1.22166
  Prefactor  = 0.62308
 **********
 **   18 **HESSE 
 **********

 FCN=   6132.504     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .13E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4091        1.2074        .74508E-04   -1.5471    
   2  alpha         1.9260        .65824        .16285E-01   -.23167    
   3  Normalizat    1.2217        .18549        .20743E-03   -.85936    
   4  Prefactor     .62308        .20535        .31130E-03   -1.0662    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30173e-12
Minuit parameter uncertainties:
  1  1.20744
  2  0.666542
  3  0.185588
  4  0.205597
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/854180': 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) = 6132.50441524
delta logL = 0.00207113392935

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.409e+00  1.207e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.926e+00  6.665e-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:  6.231e-01  2.056e-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.222e+00  1.856e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.18
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.93 +/- 0.67
Photon Flux (Free Index): 1.99e-08 +/- 2.22e-08
Energy Flux (Free Index): 1.56e-05 +/- 1.74e-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/854180/cmap_HighResolution_606096001_606355201_4FGL_J1454.4+5124_daily_bin1415.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.09e-08', energy_flux2='1.56e-05', photon_flux_error='1.71e-08', dlogl='2.07e-03', energy_flux='1.49e-05', photon_flux2='1.99e-08', job_status='DONE', time_completed='2021-09-10 13:14:41.140475', photon_index_error2='0.67', photon_index2='1.93', ts='4.18', fit_tolerance='1e-08', GAL='0.62', photon_index_error='0.00', energy_flux_error2='1.74e-05', EG='1.22', time_epoch_completed='1631304881.14', return_code='0', job_id='854180', GAL2='0.62', EG2='1.22', return_code2='0', energy_flux_error='1.22e-05', photon_flux_error2='2.22e-08', ts2='4.18', photon_index='1.97' WHERE bin_id='1415' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:14:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0205>
Subject: Job 854180: <4FGL_J1454.4+5124_daily_bin1415> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin1415 223.625 51.409 606096001 606355201 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 :                                   788.22 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             338.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   799 sec.
    Turnaround time :                            801 sec.

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

