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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin767
RA = 223.625, Dec = 51.409
tmin = 438134401, tmax = 438393601
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='851012', job_status='RUN', time_executed='2021-09-10 12:55:14.221567', time_epoch_executed='1631303714.22' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='767'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/851012

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/851012/ft1_4FGL_J1454.4+5124_daily_bin767.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/851012/ft2_4FGL_J1454.4+5124_daily_bin767.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/851012/ft1_4FGL_J1454.4+5124_daily_bin767.fits outfile=/scratch/kocevski/851012/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin767.fits ra=223.625 dec=51.409 rad=12.0 tmin=438134401.0 tmax=438393601.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 6.23
user 5.94
sys 0.27

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/851012/ft1_filtered_4FGL_J1454.4+5124_daily_bin767.fits evtable="EVENTS" scfile=/scratch/kocevski/851012/ft2_4FGL_J1454.4+5124_daily_bin767.fits sctable="SC_DATA" expcube=/scratch/kocevski/851012/ltcube_438134401_438393601_4FGL_J1454.4+5124_daily_bin767.fits outfile=/scratch/kocevski/851012/expmap_438134401_438393601_4FGL_J1454.4+5124_daily_bin767.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/851012/ltcube_438134401_438393601_4FGL_J1454.4+5124_daily_bin767.fits
.....................!
real 192.60
user 187.46
sys 4.76

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/851012/ft1_filtered_4FGL_J1454.4+5124_daily_bin767.fits scfile=/scratch/kocevski/851012/ft2_4FGL_J1454.4+5124_daily_bin767.fits outfile=/scratch/kocevski/851012/cmap_438134401_438393601_4FGL_J1454.4+5124_daily_bin767.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.55
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/851012/ft1_filtered_4FGL_J1454.4+5124_daily_bin767.fits scfile=/scratch/kocevski/851012/ft2_4FGL_J1454.4+5124_daily_bin767.fits outfile=/scratch/kocevski/851012/cmap_HighResolution_438134401_438393601_4FGL_J1454.4+5124_daily_bin767.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .13987       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    41.408       1.0000         .10000E-03   10000.    
     5 'Prefactor '    52.812       1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.6928       1.0000         .10000E-03   10000.    
     7 'Prefactor '    19.544       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10255E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    35.709       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.8990       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .24379E-02   1.0000         .10000E-03   10000.    
    16 'norm      '    4.0166       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.977       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    2.1534       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    9.8260       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    13.582       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .90372       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.1083       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=   4882.174     FROM MIGRAD    STATUS=CONVERGED    715 CALLS     3480 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    61.872       -.51463E-06** at limit **
   2  norm          .17510        178.16       -.53286E-05    .84200E-05
   3  Prefactor     .10000E-03    517.20       -.48032E-05** at limit **
   4  Prefactor     41.366        71.345        .17017E-05    .57922E-04
   5  Prefactor     52.784        89.844        .15914E-05    .47699E-04
   6  Prefactor     9.6935        7.7390       -.12289E-06    .59271E-04
   7  Prefactor     19.547        26.322        .39390E-06    .21212E-04
   8  Prefactor     .10000E-03    2.1571       -.18096E-06** at limit **
   9  Prefactor     .10000E-03    12.087       -.11841E-06** at limit **
  10  Prefactor     .10000E-03    16.237       -.23910E-06** at limit **
  11  Prefactor     .10000E-03    25.606       -.39871E-06** at limit **
  12  Prefactor     .10000E-03    39.397       -.11060E-05** at limit **
  13  Prefactor     35.714        35.369        .23887E-06    .19175E-04
  14  Prefactor     8.8971        16.089       -.10095E-07    .69390E-04
  15  Prefactor     .10002E-03    10.820       -.79196E-06** at limit **
  16  norm          4.0158        2.1973        .44986E-07    .51154E-03
  17  Prefactor     .10000E-03    5.3221       -.22467E-06** at limit **
  18  Prefactor     13.974        7.7899        .99069E-07    .26000E-03
  19  Prefactor     .10000E-03    8.3605       -.69075E-06** at limit **
  20  norm          2.1531        2.7722       -.10014E-06    .45816E-04
  21  Prefactor     .10000E-03    2.5697       -.36748E-06** at limit **
  22  Prefactor     9.8271        14.516       -.24670E-06    .21828E-04
  23  Prefactor     .10000E-03    3.8505       -.34079E-06** at limit **
  24  Prefactor     .10000E-03    13.291       -.67368E-06** at limit **
  25  norm          13.585        12.856       -.14134E-06    .19769E-04
  26  Prefactor     .10000E-03    20.542        .60709E-07** at limit **
  27  Normalizat    .90364        .24345       -.49056E-05    .27794E-03
  28  Prefactor     1.1084        .25858        .61132E-05    .18552E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.1751
  Prefactor  = 0.000100002
  Prefactor  = 41.3657
  Prefactor  = 52.7839
  Prefactor  = 9.69352
  Prefactor  = 19.547
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 35.7142
  Prefactor  = 8.89708
  Prefactor  = 0.00010002
  norm       = 4.01576
  Prefactor  = 0.0001
  Prefactor  = 13.974
  Prefactor  = 0.0001
  norm       = 2.15308
  Prefactor  = 0.0001
  Prefactor  = 9.82707
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 13.5845
  Prefactor  = 0.0001
  Normalizat = 0.903636
  Prefactor  = 1.10839
 **********
 **   18 **HESSE 
 **********

 FCN=   4882.174     FROM HESSE     STATUS=OK           515 CALLS     3995 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    61.901        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .17510        180.82        .37454E-02   -1.5624    
   3  Prefactor     .10000E-03    519.59        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     41.366        71.756        .62294E-04   -1.4421    
   5  Prefactor     52.784        89.739        .55190E-04   -1.4254    
   6  Prefactor     9.6935        7.7310        .12871E-03   -1.5085    
   7  Prefactor     19.547        26.324        .90598E-04   -1.4823    
   8  Prefactor     .10000E-03    2.1832        .10037E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    12.091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    16.252        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    25.620        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    39.731        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     35.714        35.370        .67064E-04   -1.4512    
  14  Prefactor     8.8971        16.056        .13436E-03   -1.5111    
  15  Prefactor     .10002E-03    83.177        .42851E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.0158        2.1776        .72850E-04   -1.5307    
  17  Prefactor     .10000E-03    5.3347        .15749E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     13.974        7.7095        .10714E-03   -1.4960    
  19  Prefactor     .10000E-03    8.4806        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.1531        2.7532        .12652E-03   -1.5414    
  21  Prefactor     .10000E-03    2.5860        .10955E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     9.8271        14.511        .12784E-03   -1.5081    
  23  Prefactor     .10000E-03    3.8649        .13402E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    13.450        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          13.585        12.835        .10868E-03   -1.4971    
  26  Prefactor     .10000E-03    20.544        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .90364        .24595        .26253E-03   -.96332    
  28  Prefactor     1.1084        .26025        .25774E-03   -.89199    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.0368e-10
Minuit parameter uncertainties:
  1  8.01137e-05
  2  11.2848
  3  0.00217105
  4  71.9063
  5  89.9697
  6  7.73184
  7  26.3393
  8  7.00014e-06
  9  4.65428e-06
  10  1.06949e-05
  11  1.95414e-05
  12  0.000350841
  13  35.3909
  14  16.0633
  15  0.00259313
  16  2.17763
  17  1.36111e-05
  18  7.71002
  19  4.81554e-05
  20  2.7534
  21  1.46754e-05
  22  14.5159
  23  1.69422e-05
  24  8.58497e-05
  25  12.8377
  26  3.15248e-05
  27  0.246258
  28  0.260548
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  4.016e+00  2.178e+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:  1.108e+00  2.605e-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:  9.036e-01  2.463e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.14
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 6.04e-08 +/- 3.27e-08
Energy Flux (Fixed Index): 4.32e-05 +/- 2.34e-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) = 4882.17040371
delta logL = 0.0037048934073

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4882.16987642
delta logL = 0.00423218189826

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0839       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9322       1.0000          .0000       5.0000    
     3 'Normalizat'    .90528       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1077       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4882.170     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      232 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0840        2.3343        .73894E-04   -.25230E-02
   2  alpha         1.9323        .39371        .93719E-02   -.21089E-03
   3  Normalizat    .90526        .23670        .26233E-03    .76403E-04
   4  Prefactor     1.1077        .25594        .25783E-03    .96875E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.084
  alpha      = 1.93229
  Normalizat = 0.905263
  Prefactor  = 1.1077
 **********
 **   18 **HESSE 
 **********

 FCN=   4882.170     FROM HESSE     STATUS=OK            23 CALLS      255 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0840        2.3145        .14779E-04   -1.5304    
   2  alpha         1.9323        .39033        .37487E-03   -.22908    
   3  Normalizat    .90526        .23693        .10493E-04   -.96275    
   4  Prefactor     1.1077        .25622        .10313E-04   -.89221    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.507e-09
Minuit parameter uncertainties:
  1  2.31456
  2  0.392022
  3  0.237199
  4  0.256502
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/851012': 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) = 4882.1698764
delta logL = 0.00423220913854

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  4.084e+00  2.315e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.932e+00  3.920e-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:  1.108e+00  2.565e-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:  9.053e-01  2.372e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.15
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.93 +/- 0.39
Photon Flux (Free Index): 5.81e-08 +/- 3.97e-08
Energy Flux (Free Index): 4.50e-05 +/- 3.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/851012/cmap_HighResolution_438134401_438393601_4FGL_J1454.4+5124_daily_bin767.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.04e-08', energy_flux2='4.50e-05', photon_flux_error='3.27e-08', dlogl='4.23e-03', energy_flux='4.32e-05', photon_flux2='5.81e-08', job_status='DONE', time_completed='2021-09-10 13:05:56.303354', photon_index_error2='0.39', photon_index2='1.93', ts='8.14', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', energy_flux_error2='3.20e-05', EG='0.90', time_epoch_completed='1631304356.3', return_code='0', job_id='851012', GAL2='1.11', EG2='0.91', return_code2='0', energy_flux_error='2.34e-05', photon_flux_error2='3.97e-08', ts2='8.15', photon_index='1.97' WHERE bin_id='767' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:05:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 851012: <4FGL_J1454.4+5124_daily_bin767> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin767> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 12:51:14 2021
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:51:15 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:51:15 2021
Terminated at Fri Sep 10 13:05:56 2021
Results reported at Fri Sep 10 13:05:56 2021

Your job looked like:

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

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

