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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin448
RA = 223.625, Dec = 51.409
tmin = 355449601, tmax = 355708801
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='849511', job_status='RUN', time_executed='2021-09-10 12:46:32.578040', time_epoch_executed='1631303192.58' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='448'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849511

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849511/ft1_4FGL_J1454.4+5124_daily_bin448.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849511/ft2_4FGL_J1454.4+5124_daily_bin448.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849511/ft1_4FGL_J1454.4+5124_daily_bin448.fits outfile=/scratch/kocevski/849511/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin448.fits ra=223.625 dec=51.409 rad=12.0 tmin=355449601.0 tmax=355708801.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.32
user 3.11
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/849511/ft2_4FGL_J1454.4+5124_daily_bin448.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/849511/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin448.fits evtable="EVENTS" outfile="/scratch/kocevski/849511/ft1_filtered_4FGL_J1454.4+5124_daily_bin448.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/849511/ft1_filtered_4FGL_J1454.4+5124_daily_bin448.fits" evtable="EVENTS" scfile=/scratch/kocevski/849511/ft2_4FGL_J1454.4+5124_daily_bin448.fits sctable="SC_DATA" outfile=/scratch/kocevski/849511/ltcube_355449601_355708801_4FGL_J1454.4+5124_daily_bin448.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/849511/ft2_4FGL_J1454.4+5124_daily_bin448.fits
.....................!
real 11.60
user 11.26
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849511/ft1_filtered_4FGL_J1454.4+5124_daily_bin448.fits evtable="EVENTS" scfile=/scratch/kocevski/849511/ft2_4FGL_J1454.4+5124_daily_bin448.fits sctable="SC_DATA" expcube=/scratch/kocevski/849511/ltcube_355449601_355708801_4FGL_J1454.4+5124_daily_bin448.fits outfile=/scratch/kocevski/849511/expmap_355449601_355708801_4FGL_J1454.4+5124_daily_bin448.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/849511/ltcube_355449601_355708801_4FGL_J1454.4+5124_daily_bin448.fits
.....................!
real 190.73
user 185.04
sys 5.37

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/849511/ft1_filtered_4FGL_J1454.4+5124_daily_bin448.fits scfile=/scratch/kocevski/849511/ft2_4FGL_J1454.4+5124_daily_bin448.fits outfile=/scratch/kocevski/849511/cmap_355449601_355708801_4FGL_J1454.4+5124_daily_bin448.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.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .77350       1.0000         .10000E-03   10000.    
     3 'Prefactor '    108.93       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    70.749       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.192       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.1606       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10178E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11341E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    68.102       1.0000         .10000E-03   10000.    
    14 'Prefactor '    17.297       1.0000         .10000E-03   10000.    
    15 'Prefactor '    16.240       1.0000         .10000E-03   10000.    
    16 'norm      '    .99108       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10137E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.9146       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .68825       1.0000         .10000E-03   10000.    
    20 'norm      '    2.5098       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .14021E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10304E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    6.2191       1.0000         .10000E-03   10000.    
    26 'Prefactor '    43.502       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.2091       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .74240       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=   6349.989     FROM MIGRAD    STATUS=CONVERGED    676 CALLS     4005 TOTAL
                     EDM=   .71E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    24.742       -.88788E-07** at limit **
   2  norm          .77023        4.9400        .29934E-05   -.72298E-04
   3  Prefactor     108.99        367.44        .86227E-06    .23179E-05
   4  Prefactor     .10000E-03    21.079        .21309E-07** at limit **
   5  Prefactor     70.750        40.903       -.10089E-06   -.11619E-04
   6  Prefactor     .10000E-03    1.5620       -.64641E-08** at limit **
   7  Prefactor     14.168        19.557        .99161E-07   -.19271E-04
   8  Prefactor     2.1604        2.1364       -.12715E-06   -.21788E-03
   9  Prefactor     .10000E-03    35.762        .42218E-06** at limit **
  10  Prefactor     .10000E-03    47.673        .26961E-06** at limit **
  11  Prefactor     .10000E-03    39.678        .20506E-06** at limit **
  12  Prefactor     .10000E-03    35.326        .47798E-06** at limit **
  13  Prefactor     68.101        42.174       -.15739E-06   -.10199E-04
  14  Prefactor     17.295        14.439        .51668E-07   -.66095E-05
  15  Prefactor     16.237        15.125       -.34538E-07   -.93165E-05
  16  norm          .99103        1.0521        .26226E-07    .19412E-04
  17  Prefactor     .10000E-03    14.870        .17655E-06** at limit **
  18  Prefactor     2.9141        4.0250        .18471E-06   -.31483E-04
  19  Prefactor     .66382        4.0665       -.11708E-06    .13680E-03
  20  norm          2.5093        2.4903        .12453E-06   -.53198E-04
  21  Prefactor     .10000E-03    3.0664        .12234E-06** at limit **
  22  Prefactor     .10000E-03    48.082        .10220E-05** at limit **
  23  Prefactor     .10000E-03    17.884        .88741E-06** at limit **
  24  Prefactor     .10000E-03    3.2850        .50660E-08** at limit **
  25  norm          6.2181        8.0154        .20132E-06   -.24835E-06
  26  Prefactor     43.425        81.826       -.42756E-06   -.47123E-04
  27  Normalizat    1.2093        .17765        .32628E-06   -.20328E-03
  28  Prefactor     .74230        .18659       -.17150E-05   -.62140E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.770226
  Prefactor  = 108.992
  Prefactor  = 0.0001
  Prefactor  = 70.7501
  Prefactor  = 0.0001
  Prefactor  = 14.1682
  Prefactor  = 2.16042
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 68.1009
  Prefactor  = 17.2947
  Prefactor  = 16.2371
  norm       = 0.991033
  Prefactor  = 0.0001
  Prefactor  = 2.91413
  Prefactor  = 0.663815
  norm       = 2.50931
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.21805
  Prefactor  = 43.4246
  Normalizat = 1.20935
  Prefactor  = 0.742299
 **********
 **   18 **HESSE 
 **********

 FCN=   6349.989     FROM HESSE     STATUS=OK           517 CALLS     4522 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    24.745        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .77023        5.0984        .33277E-03   -1.5532    
   3  Prefactor     108.99        367.47        .19268E-03   -1.3616    
   4  Prefactor     .10000E-03    21.110        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     70.750        40.917        .47726E-04   -1.4024    
   6  Prefactor     .10000E-03    1.5649        .97228E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     14.168        19.707        .10632E-03   -1.4955    
   8  Prefactor     2.1604        2.1214        .11074E-03   -1.5414    
   9  Prefactor     .10000E-03    36.374        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    49.059        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    39.745        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    35.672        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     68.101        42.150        .48638E-04   -1.4056    
  14  Prefactor     17.295        14.430        .96302E-04   -1.4876    
  15  Prefactor     16.237        15.070        .99385E-04   -1.4902    
  16  norm          .99103        1.0313        .80590E-04   -1.5509    
  17  Prefactor     .10000E-03    15.121        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.9141        4.0106        .18034E-03   -1.5367    
  19  Prefactor     .66382        20.978        .29311E-02   -1.5545    
  20  norm          2.5093        2.4805        .12104E-03   -1.5391    
  21  Prefactor     .10000E-03    3.0829        .13621E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    49.704        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    18.627        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    3.2956        .14085E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          6.2181        8.0135        .16097E-03   -1.5209    
  26  Prefactor     43.425        82.058        .60783E-04   -1.4389    
  27  Normalizat    1.2093        .21004        .21056E-03   -.86314    
  28  Prefactor     .74230        .21631        .29287E-03   -1.0189    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.97188e-10
Minuit parameter uncertainties:
  1  4.25207e-05
  2  3.96351
  3  375.606
  4  1.20313e-05
  5  40.9336
  6  7.91274e-07
  7  19.7158
  8  2.12144
  9  1.85729e-05
  10  1.38305e-05
  11  5.00673e-05
  12  4.12333e-05
  13  42.1687
  14  14.4333
  15  15.0735
  16  1.03135
  17  2.54349e-05
  18  4.01095
  19  7.46562
  20  2.48063
  21  1.00791e-07
  22  3.14523e-05
  23  3.13179e-05
  24  5.28994e-07
  25  8.01488
  26  82.2726
  27  0.210185
  28  0.216561
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  9.910e-01  1.031e+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:  7.423e-01  2.166e-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.209e+00  2.102e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.35
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 1.49e-08 +/- 1.55e-08
Energy Flux (Fixed Index): 1.07e-05 +/- 1.11e-05

TS (Fixed Index): 2.35
Ra Dec: 223.625 51.409
Photon Flux Upper Limit: 5.83e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.17e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/849511/likelihoodResults_355449601_355708801_4FGL_J1454.4+5124_daily_bin448.txt

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) = 6349.98850664
delta logL = 0.000298288815429

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6349.98850168
delta logL = 0.000303245271425

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .99253       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9451       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2098       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74212       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=   6349.989     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      221 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .99273        25.834        .13139E-01    .95663E-04
   2  alpha         1.9454        2.7703        .42512        .11187E-04
   3  Normalizat    1.2098        .53933E-01    .34655E-01    .30413E-05
   4  Prefactor     .74214        .51579E-01    .66205E-01    .22255E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.992732
  alpha      = 1.94535
  Normalizat = 1.20977
  Prefactor  = 0.742144
 **********
 **   18 **HESSE 
 **********

 FCN=   6349.989     FROM HESSE     STATUS=OK            33 CALLS      254 TOTAL
                     EDM=   .48E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .99273        1.0321        .81006E-04   -1.5509    
   2  alpha         1.9454        .91732        .19584E-01   -.22372    
   3  Normalizat    1.2098        .18801        .21053E-03   -.86301    
   4  Prefactor     .74214        .20988        .29291E-03   -1.0190    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.80891e-13
Minuit parameter uncertainties:
  1  1.03214
  2  0.940478
  3  0.188115
  4  0.210104
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849511': 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) = 6349.9885016
delta logL = 0.000303329846247

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  9.927e-01  1.032e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.945e+00  9.405e-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.421e-01  2.101e-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.210e+00  1.881e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.35
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.95 +/- 0.94
Photon Flux (Free Index): 1.44e-08 +/- 2.40e-08
Energy Flux (Free Index): 1.08e-05 +/- 1.39e-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/849511/cmap_HighResolution_355449601_355708801_4FGL_J1454.4+5124_daily_bin448.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.17e-05', comment='SUCCESS', photon_flux='1.49e-08', energy_flux2='1.08e-05', photon_flux_error='1.55e-08', dlogl='3.03e-04', energy_flux='1.07e-05', photon_flux2='1.44e-08', job_status='DONE', time_completed='2021-09-10 13:01:15.798845', photon_index_error2='0.94', photon_index2='1.95', ts='2.35', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', photon_flux_upper_limit='5.83e-08', energy_flux_error2='1.39e-05', EG='1.21', time_epoch_completed='1631304075.8', return_code='0', job_id='849511', GAL2='0.74', EG2='1.21', return_code2='0', energy_flux_error='1.11e-05', photon_flux_error2='2.40e-08', ts2='2.35', photon_index='1.97' WHERE bin_id='448' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:01:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 849511: <4FGL_J1454.4+5124_daily_bin448> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin448 223.625 51.409 355449601 355708801 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 :                                   882.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             348.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   896 sec.
    Turnaround time :                            897 sec.

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

