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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin505
RA = 223.625, Dec = 51.409
tmin = 370224001, tmax = 370483201
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='849593', job_status='RUN', time_executed='2021-09-10 12:50:13.317510', time_epoch_executed='1631303413.32' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='505'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849593

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849593/ft1_4FGL_J1454.4+5124_daily_bin505.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849593/ft2_4FGL_J1454.4+5124_daily_bin505.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849593/ft1_4FGL_J1454.4+5124_daily_bin505.fits outfile=/scratch/kocevski/849593/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin505.fits ra=223.625 dec=51.409 rad=12.0 tmin=370224001.0 tmax=370483201.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 16.32
user 15.84
sys 0.40

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/849593/ft1_filtered_4FGL_J1454.4+5124_daily_bin505.fits" evtable="EVENTS" scfile=/scratch/kocevski/849593/ft2_4FGL_J1454.4+5124_daily_bin505.fits sctable="SC_DATA" outfile=/scratch/kocevski/849593/ltcube_370224001_370483201_4FGL_J1454.4+5124_daily_bin505.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/849593/ft2_4FGL_J1454.4+5124_daily_bin505.fits
.....................!
real 10.44
user 10.07
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849593/ft1_filtered_4FGL_J1454.4+5124_daily_bin505.fits evtable="EVENTS" scfile=/scratch/kocevski/849593/ft2_4FGL_J1454.4+5124_daily_bin505.fits sctable="SC_DATA" expcube=/scratch/kocevski/849593/ltcube_370224001_370483201_4FGL_J1454.4+5124_daily_bin505.fits outfile=/scratch/kocevski/849593/expmap_370224001_370483201_4FGL_J1454.4+5124_daily_bin505.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/849593/ltcube_370224001_370483201_4FGL_J1454.4+5124_daily_bin505.fits
.....................!
real 191.49
user 186.30
sys 4.79

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/849593/ft1_filtered_4FGL_J1454.4+5124_daily_bin505.fits scfile=/scratch/kocevski/849593/ft2_4FGL_J1454.4+5124_daily_bin505.fits outfile=/scratch/kocevski/849593/cmap_370224001_370483201_4FGL_J1454.4+5124_daily_bin505.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.35
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .91864       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.6845       1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.637       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10171E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.094       1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.7972       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    72.345       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.4635       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.4575       1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.1796       1.0000         .10000E-03   10000.    
    16 'norm      '    .66467       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    3.7888       1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.4254       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    15.149       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    25.505       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .89616       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .96926       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=   4667.555     FROM MIGRAD    STATUS=CONVERGED    680 CALLS     3487 TOTAL
                     EDM=   .75E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    43.864       -.14621E-06** at limit **
   2  norm          .91916        5.5611        .23386E-05    .88940E-05
   3  Prefactor     .10000E-03    135.55        .10061E-06** at limit **
   4  Prefactor     4.7213        161.66       -.65798E-05   -.67760E-05
   5  Prefactor     13.527        50.928        .15301E-05   -.21490E-04
   6  Prefactor     .10000E-03    3.0081       -.11635E-05** at limit **
   7  Prefactor     15.113        26.915       -.59557E-06    .11890E-04
   8  Prefactor     9.7989        3.9552       -.79942E-07   -.20396E-03
   9  Prefactor     .10000E-03    6.5884        .61279E-09** at limit **
  10  Prefactor     .10000E-03    14.434       -.78021E-07** at limit **
  11  Prefactor     72.360        65.590       -.24294E-06   -.52250E-05
  12  Prefactor     4.4623        20.539        .55683E-06    .11918E-05
  13  Prefactor     .10000E-03    17.616        .64831E-07** at limit **
  14  Prefactor     5.4588        14.843        .18107E-07   -.14070E-04
  15  Prefactor     7.1757        18.966       -.10224E-05   -.37139E-04
  16  norm          .66537        1.7516        .67402E-06    .14914E-03
  17  Prefactor     .10000E-03    4.8611        .14392E-06** at limit **
  18  Prefactor     .10000E-03    4.3678        .91324E-07** at limit **
  19  Prefactor     .10000E-03    4.1425        .22961E-06** at limit **
  20  norm          3.7889        4.0935       -.44237E-07   -.45390E-05
  21  Prefactor     6.4226        18.553        .56546E-06    .30754E-05
  22  Prefactor     .10000E-03    21.446        .24238E-07** at limit **
  23  Prefactor     15.147        24.876       -.28929E-06   -.38751E-05
  24  Prefactor     .10000E-03    4.4892        .48946E-07** at limit **
  25  norm          25.506        13.584        .25904E-06    .84323E-05
  26  Prefactor     .10000E-03    136.12        .46123E-06** at limit **
  27  Normalizat    .89592        .21513        .15761E-05   -.16568E-03
  28  Prefactor     .96955        .22334       -.23840E-05   -.18114E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.919156
  Prefactor  = 0.0001
  Prefactor  = 4.72127
  Prefactor  = 13.5266
  Prefactor  = 0.0001
  Prefactor  = 15.1125
  Prefactor  = 9.79887
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 72.3596
  Prefactor  = 4.46234
  Prefactor  = 0.0001
  Prefactor  = 5.4588
  Prefactor  = 7.17567
  norm       = 0.665367
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.78888
  Prefactor  = 6.42261
  Prefactor  = 0.0001
  Prefactor  = 15.1472
  Prefactor  = 0.0001
  norm       = 25.5056
  Prefactor  = 0.0001
  Normalizat = 0.895922
  Prefactor  = 0.969555
 **********
 **   18 **HESSE 
 **********

 FCN=   4667.555     FROM HESSE     STATUS=OK           521 CALLS     4008 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    43.901        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .91916        5.7805        .29835E-03   -1.5516    
   3  Prefactor     .10000E-03    135.54        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.7213        159.53        .18593E-03   -1.5273    
   5  Prefactor     13.527        50.895        .10847E-03   -1.4972    
   6  Prefactor     .10000E-03    3.0081        .11543E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     15.113        27.037        .10309E-03   -1.4930    
   8  Prefactor     9.7989        3.9438        .78604E-04   -1.5082    
   9  Prefactor     .10000E-03    6.5913        .17127E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    14.449        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     72.360        65.443        .47200E-04   -1.4005    
  12  Prefactor     4.4623        20.516        .19059E-03   -1.5285    
  13  Prefactor     .10000E-03    17.650        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.4588        14.758        .17200E-03   -1.5241    
  15  Prefactor     7.1757        18.608        .14970E-03   -1.5172    
  16  norm          .66537        1.7023        .13265E-03   -1.5545    
  17  Prefactor     .10000E-03    4.8913        .14709E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.4343        .13938E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.1904        .13574E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.7889        4.0892        .12667E-03   -1.5319    
  21  Prefactor     6.4226        18.214        .15834E-03   -1.5201    
  22  Prefactor     .10000E-03    21.461        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     15.147        24.501        .10290E-03   -1.4929    
  24  Prefactor     .10000E-03    4.5012        .14126E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          25.506        13.628        .39660E-03   -1.4697    
  26  Prefactor     .10000E-03    136.23        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .89592        .24880        .23817E-03   -.96604    
  28  Prefactor     .96955        .25588        .25810E-03   -.93751    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88547e-10
Minuit parameter uncertainties:
  1  5.61507e-05
  2  4.61046
  3  8.67754e-05
  4  55.0478
  5  51.0593
  6  5.18672e-06
  7  27.0591
  8  3.94395
  9  2.33501e-06
  10  1.14944e-06
  11  65.5086
  12  19.1471
  13  1.07182e-06
  14  14.7683
  15  18.6235
  16  1.7024
  17  4.69897e-07
  18  3.21326e-06
  19  2.13811e-07
  20  4.08947
  21  18.2302
  22  6.73598e-06
  23  24.5173
  24  6.46276e-07
  25  13.63
  26  0.000103709
  27  0.24912
  28  0.256203
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  6.654e-01  1.702e+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:  9.696e-01  2.562e-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:  8.959e-01  2.491e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/849593/likelihoodResults_370224001_370483201_4FGL_J1454.4+5124_daily_bin505.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): 102
logL (Free Index) = 4666.5160493
delta logL = 1.0392566466

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4666.50430866
delta logL = 1.0509972854

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .12962       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.8172       1.0000          .0000       5.0000    
     3 'Normalizat'    .81922       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0198       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=   4666.504     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      221 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .12972        1.6417        .39846E-02    .17219E-02
   2  alpha         3.8168        4.0744        .23738        .58033E-04
   3  Normalizat    .81923        .48923E-01    .43861E-01    .12320E-04
   4  Prefactor     1.0198        .54923E-01    .42164E-01    .58161E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.129725
  alpha      = 3.81684
  Normalizat = 0.819228
  Prefactor  = 1.01977
 **********
 **   18 **HESSE 
 **********

 FCN=   4666.504     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      254 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .12972        3.5897        .18017E-04   -1.5636    
   2  alpha         3.8168        4.3934        .96791E-02    .55476    
   3  Normalizat    .81923        .21027        .24735E-03   -.99359    
   4  Prefactor     1.0198        .23557        .25200E-03   -.92074    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.4713e-10
Minuit parameter uncertainties:
  1  1.36438
  2  4.84629
  3  0.210476
  4  0.235813
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849593': 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): 102
logL (Free Index) = 4666.50430861
delta logL = 1.05099733632

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.297e-01  1.364e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  3.817e+00  4.846e+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.020e+00  2.358e-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:  8.192e-01  2.105e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.41
Ra Dec: 223.625 51.409
Photon Index (Free Index): 3.82 +/- 4.85
Photon Flux (Free Index): 7.84e-08 +/- 6.56e-08
Energy Flux (Free Index): 1.26e-05 +/- 1.27e-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/849593/cmap_HighResolution_370224001_370483201_4FGL_J1454.4+5124_daily_bin505.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.29e-05', comment='SUCCESS', energy_flux2='1.26e-05', dlogl='1.05e+00', photon_flux2='7.84e-08', job_status='DONE', time_completed='2021-09-10 13:02:59.801926', photon_index_error2='4.85', photon_index2='3.82', ts='0.21', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='7.39e-08', energy_flux_error2='1.27e-05', EG='0.90', time_epoch_completed='1631304179.8', return_code='0', job_id='849593', GAL2='1.02', EG2='0.82', return_code2='102', photon_flux_error2='6.56e-08', ts2='2.41', photon_index='1.97' WHERE bin_id='505' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:02:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0236>
Subject: Job 849593: <4FGL_J1454.4+5124_daily_bin505> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin505 223.625 51.409 370224001 370483201 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 :                                   761.24 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             261.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   995 sec.
    Turnaround time :                            996 sec.

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

