/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 3 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7474
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1454.4+5124_daily_bin581
RA = 223.625, Dec = 51.409
tmin = 389923201, tmax = 390182401
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='849703', job_status='RUN', time_executed='2021-09-10 12:46:47.527504', time_epoch_executed='1631303207.53' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='581'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849703

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849703/ft1_4FGL_J1454.4+5124_daily_bin581.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849703/ft2_4FGL_J1454.4+5124_daily_bin581.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849703/ft1_4FGL_J1454.4+5124_daily_bin581.fits outfile=/scratch/kocevski/849703/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin581.fits ra=223.625 dec=51.409 rad=12.0 tmin=389923201.0 tmax=390182401.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.54
user 3.29
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/849703/ft2_4FGL_J1454.4+5124_daily_bin581.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/849703/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin581.fits evtable="EVENTS" outfile="/scratch/kocevski/849703/ft1_filtered_4FGL_J1454.4+5124_daily_bin581.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849703/ft1_filtered_4FGL_J1454.4+5124_daily_bin581.fits evtable="EVENTS" scfile=/scratch/kocevski/849703/ft2_4FGL_J1454.4+5124_daily_bin581.fits sctable="SC_DATA" expcube=/scratch/kocevski/849703/ltcube_389923201_390182401_4FGL_J1454.4+5124_daily_bin581.fits outfile=/scratch/kocevski/849703/expmap_389923201_390182401_4FGL_J1454.4+5124_daily_bin581.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/849703/ltcube_389923201_390182401_4FGL_J1454.4+5124_daily_bin581.fits
.....................!
real 189.63
user 185.20
sys 4.11

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/849703/ft1_filtered_4FGL_J1454.4+5124_daily_bin581.fits scfile=/scratch/kocevski/849703/ft2_4FGL_J1454.4+5124_daily_bin581.fits outfile=/scratch/kocevski/849703/cmap_389923201_390182401_4FGL_J1454.4+5124_daily_bin581.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/849703/ft1_filtered_4FGL_J1454.4+5124_daily_bin581.fits scfile=/scratch/kocevski/849703/ft2_4FGL_J1454.4+5124_daily_bin581.fits outfile=/scratch/kocevski/849703/cmap_HighResolution_389923201_390182401_4FGL_J1454.4+5124_daily_bin581.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.53
user 0.39
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    1.9416       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.7620       1.0000         .10000E-03   10000.    
     7 'Prefactor '    29.598       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.1684       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .44224E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10104E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10141E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    24.508       1.0000         .10000E-03   10000.    
    16 'norm      '    1.9941       1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.366       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.0338       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.3490       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    6.1933       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    9.2176       1.0000         .10000E-03   10000.    
    25 'norm      '    .62416E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .91291       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.1361       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=   6235.965     FROM MIGRAD    STATUS=CONVERGED    713 CALLS     3032 TOTAL
                     EDM=   .77E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    33.943       -.93512E-07** at limit **
   2  norm          1.9411        4.2436       -.51045E-06   -.18939E-03
   3  Prefactor     .10002E-03    364.04       -.16539E-05** at limit **
   4  Prefactor     .10000E-03    11.474       -.91913E-07** at limit **
   5  Prefactor     .10000E-03    9.4461       -.16942E-06** at limit **
   6  Prefactor     1.7620        2.4771        .64355E-09   -.17452E-03
   7  Prefactor     29.598        20.063       -.25983E-06   -.75671E-04
   8  Prefactor     1.1683        1.8356        .89240E-07   -.43135E-03
   9  Prefactor     .10000E-03    8.3429       -.21452E-06** at limit **
  10  Prefactor     .10000E-03    9.3221       -.21956E-06** at limit **
  11  Prefactor     .10004E-03    287.46        .27780E-05** at limit **
  12  Prefactor     .10000E-03    39.221       -.14842E-05** at limit **
  13  Prefactor     .10000E-03    15.692       -.11179E-06** at limit **
  14  Prefactor     .10001E-03    19.373       -.56997E-06** at limit **
  15  Prefactor     24.505        17.616        .40531E-06   -.33574E-03
  16  norm          1.9940        1.3992       -.47546E-07   -.86117E-03
  17  Prefactor     16.365        10.848       -.10857E-06   -.37652E-04
  18  Prefactor     2.0334        4.6749       -.23934E-05    .11624E-03
  19  Prefactor     .10000E-03    4.2171       -.34343E-06** at limit **
  20  norm          1.3491        1.7768       -.56334E-07    .10194E-03
  21  Prefactor     .10000E-03    1.8312       -.14772E-06** at limit **
  22  Prefactor     6.1999        18.891       -.25558E-06   -.13527E-05
  23  Prefactor     .10000E-03    4.7105       -.37105E-06** at limit **
  24  Prefactor     9.2255        8.2459        .17802E-05    .71804E-03
  25  norm          .10001E-03    83.864        .22280E-04** at limit **
  26  Prefactor     .10000E-03    31.160        .28655E-06** at limit **
  27  Normalizat    .91288        .16954        .13563E-05   -.15206E-04
  28  Prefactor     1.1361        .19009        .83842E-07   -.12682E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 1.94111
  Prefactor  = 0.000100022
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.76196
  Prefactor  = 29.5976
  Prefactor  = 1.1683
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100036
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 24.5049
  norm       = 1.99396
  Prefactor  = 16.3654
  Prefactor  = 2.03335
  Prefactor  = 0.0001
  norm       = 1.3491
  Prefactor  = 0.0001
  Prefactor  = 6.19985
  Prefactor  = 0.0001
  Prefactor  = 9.22551
  norm       = 0.000100007
  Prefactor  = 0.000100001
  Normalizat = 0.91288
  Prefactor  = 1.13612
 **********
 **   18 **HESSE 
 **********

 FCN=   6235.965     FROM HESSE     STATUS=OK           525 CALLS     3557 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    33.951        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.9411        4.2338        .22711E-03   -1.5429    
   3  Prefactor     .10002E-03    364.47        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    11.477        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.4522        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.7620        2.4575        .14331E-03   -1.5442    
   7  Prefactor     29.598        20.121        .73643E-04   -1.4619    
   8  Prefactor     1.1683        1.7902        .12843E-03   -1.5492    
   9  Prefactor     .10000E-03    8.3573        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    9.3447        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10004E-03    288.24        .42434E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    39.657        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    15.711        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10001E-03    19.567        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     24.505        17.627        .80915E-04   -1.4718    
  16  norm          1.9940        1.3975        .37193E-03   -1.5426    
  17  Prefactor     16.365        10.847        .99003E-04   -1.4899    
  18  Prefactor     2.0334        4.6831        .12339E-02   -1.5423    
  19  Prefactor     .10000E-03    4.2646        .15833E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.3491        1.7540        .11749E-03   -1.5476    
  21  Prefactor     .10000E-03    1.8324        .10433E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     6.1999        18.865        .16131E-03   -1.5210    
  23  Prefactor     .10000E-03    4.7280        .16728E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     9.2255        8.6234        .13201E-03   -1.5100    
  25  norm          .10001E-03    6.4692        .60224E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    31.194        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .91288        .20511        .24129E-03   -.96009    
  28  Prefactor     1.1361        .22969        .25308E-03   -.88320    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51949e-09
Minuit parameter uncertainties:
  1  9.59256e-05
  2  4.23442
  3  0.00571417
  4  3.00935e-05
  5  8.13202e-05
  6  2.45761
  7  20.1257
  8  1.79027
  9  4.55459e-05
  10  2.89405e-05
  11  0.0065126
  12  0.000629419
  13  9.44879e-06
  14  0.000693886
  15  17.6303
  16  1.39755
  17  10.8485
  18  4.68391
  19  3.8885e-05
  20  1.75407
  21  8.1545e-06
  22  18.8828
  23  2.98402e-05
  24  8.62452
  25  0.000438819
  26  0.000394226
  27  0.205281
  28  0.229888
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.994e+00  1.398e+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.136e+00  2.299e-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.129e-01  2.053e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.41
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 3.00e-08 +/- 2.10e-08
Energy Flux (Fixed Index): 2.14e-05 +/- 1.50e-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) = 6235.68459791
delta logL = 0.280513283068

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6235.54164679
delta logL = 0.423464394057

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .57289       1.0000         .10000E-03   10000.    
     2 'alpha     '    .90168       1.0000          .0000       5.0000    
     3 'Normalizat'    .91952       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1482       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=   6235.542     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      206 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .57400        .61984        .11565E-01    .39104E-04
   2  alpha         .90203        .50370        .38354       -.52890E-04
   3  Normalizat    .91961        .16238        .45150E-01    .11386E-03
   4  Prefactor     1.1481        .18887        .57089E-01    .56788E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.573997
  alpha      = 0.902034
  Normalizat = 0.919606
  Prefactor  = 1.14809
 **********
 **   18 **HESSE 
 **********

 FCN=   6235.542     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .37E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .57400        1.8150        .51541E-03   -1.5556    
   2  alpha         .90203        1.2528        .16699E-02   -.69344    
   3  Normalizat    .91961        .19590        .24082E-03   -.95775    
   4  Prefactor     1.1481        .22832        .25245E-03   -.87944    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.68609e-11
Minuit parameter uncertainties:
  1  1.81519
  2  1.36443
  3  0.196057
  4  0.228518
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849703': 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) = 6235.54164594
delta logL = 0.423465244349

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  5.740e-01  1.815e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  9.020e-01  1.364e+00  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.148e+00  2.285e-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.196e-01  1.961e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.25
Ra Dec: 223.625 51.409
Photon Index (Free Index): 0.90 +/- 1.36
Photon Flux (Free Index): 4.68e-09 +/- 9.81e-09
Energy Flux (Free Index): 5.81e-05 +/- 9.21e-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/849703/cmap_HighResolution_389923201_390182401_4FGL_J1454.4+5124_daily_bin581.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.00e-08', energy_flux2='5.81e-05', photon_flux_error='2.10e-08', dlogl='4.23e-01', energy_flux='2.14e-05', photon_flux2='4.68e-09', job_status='DONE', time_completed='2021-09-10 12:58:24.552104', photon_index_error2='1.36', photon_index2='0.90', ts='11.41', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', energy_flux_error2='9.21e-05', EG='0.91', time_epoch_completed='1631303904.55', return_code='0', job_id='849703', GAL2='1.15', EG2='0.92', return_code2='0', energy_flux_error='1.50e-05', photon_flux_error2='9.81e-09', ts2='12.25', photon_index='1.97' WHERE bin_id='581' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:58:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0103>
Subject: Job 849703: <4FGL_J1454.4+5124_daily_bin581> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin581> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 12:46:31 2021
Job was executed on host(s) <bullet0103>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:46:32 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:32 2021
Terminated at Fri Sep 10 12:58:25 2021
Results reported at Fri Sep 10 12:58:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin581 223.625 51.409 389923201 390182401 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 :                                   695.38 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             300.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   712 sec.
    Turnaround time :                            714 sec.

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

