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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin468
RA = 223.625, Dec = 51.409
tmin = 360633601, tmax = 360892801
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='849540', job_status='RUN', time_executed='2021-09-10 12:48:44.419565', time_epoch_executed='1631303324.42' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='468'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849540

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849540/ft1_4FGL_J1454.4+5124_daily_bin468.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849540/ft2_4FGL_J1454.4+5124_daily_bin468.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849540/ft1_4FGL_J1454.4+5124_daily_bin468.fits outfile=/scratch/kocevski/849540/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin468.fits ra=223.625 dec=51.409 rad=12.0 tmin=360633601.0 tmax=360892801.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 2.65
user 2.43
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/849540/ft2_4FGL_J1454.4+5124_daily_bin468.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/849540/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin468.fits evtable="EVENTS" outfile="/scratch/kocevski/849540/ft1_filtered_4FGL_J1454.4+5124_daily_bin468.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.43
user 0.26
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/849540/ft1_filtered_4FGL_J1454.4+5124_daily_bin468.fits" evtable="EVENTS" scfile=/scratch/kocevski/849540/ft2_4FGL_J1454.4+5124_daily_bin468.fits sctable="SC_DATA" outfile=/scratch/kocevski/849540/ltcube_360633601_360892801_4FGL_J1454.4+5124_daily_bin468.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/849540/ft2_4FGL_J1454.4+5124_daily_bin468.fits
.....................!
real 9.15
user 8.79
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849540/ft1_filtered_4FGL_J1454.4+5124_daily_bin468.fits evtable="EVENTS" scfile=/scratch/kocevski/849540/ft2_4FGL_J1454.4+5124_daily_bin468.fits sctable="SC_DATA" expcube=/scratch/kocevski/849540/ltcube_360633601_360892801_4FGL_J1454.4+5124_daily_bin468.fits outfile=/scratch/kocevski/849540/expmap_360633601_360892801_4FGL_J1454.4+5124_daily_bin468.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/849540/ltcube_360633601_360892801_4FGL_J1454.4+5124_daily_bin468.fits
.....................!
real 145.86
user 141.40
sys 4.17

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/849540/ft1_filtered_4FGL_J1454.4+5124_daily_bin468.fits scfile=/scratch/kocevski/849540/ft2_4FGL_J1454.4+5124_daily_bin468.fits outfile=/scratch/kocevski/849540/cmap_360633601_360892801_4FGL_J1454.4+5124_daily_bin468.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.45
user 0.29
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/849540/ft1_filtered_4FGL_J1454.4+5124_daily_bin468.fits scfile=/scratch/kocevski/849540/ft2_4FGL_J1454.4+5124_daily_bin468.fits outfile=/scratch/kocevski/849540/cmap_HighResolution_360633601_360892801_4FGL_J1454.4+5124_daily_bin468.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.45
user 0.30
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .30003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10495E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.6264       1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.857       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11251E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11363E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    50.330       1.0000         .10000E-03   10000.    
    15 'Prefactor '    16.599       1.0000         .10000E-03   10000.    
    16 'norm      '    .54930       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .15964E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.7373       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.4748       1.0000         .10000E-03   10000.    
    20 'norm      '    .10081E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .11019E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10799E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    29.930       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .11862       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .68156       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.3618       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=   6583.923     FROM MIGRAD    STATUS=CONVERGED    750 CALLS     3063 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    27.222       -.89412E-07** at limit **
   2  norm          .10000E-03    1.7752        .13746E-07** at limit **
   3  Prefactor     .10000E-03    113.83        .11469E-05** at limit **
   4  Prefactor     .10000E-03    18.472       -.83042E-07** at limit **
   5  Prefactor     .10009E-03    109.43       -.16083E-04** at limit **
   6  Prefactor     .10000E-03    1.7769        .35192E-08** at limit **
   7  Prefactor     .10000E-03    72.943        .84940E-06** at limit **
   8  Prefactor     1.6236        2.5284        .21215E-06   -.86271E-04
   9  Prefactor     16.847        21.103       -.95523E-06   -.85524E-04
  10  Prefactor     .10000E-03    30.110       -.88828E-06** at limit **
  11  Prefactor     .10000E-03    20.924        .51246E-06** at limit **
  12  Prefactor     .10000E-03    24.563        .12413E-05** at limit **
  13  Prefactor     .10000E-03    12.465        .67437E-08** at limit **
  14  Prefactor     50.332        20.007       -.68462E-06   -.54823E-03
  15  Prefactor     16.605        16.950       -.33484E-05   -.75379E-03
  16  norm          .54725        1.2405        .32787E-06    .29497E-03
  17  Prefactor     .10003E-03    5.7592       -.85746E-06** at limit **
  18  Prefactor     4.7365        4.5105        .20095E-05   -.25272E-02
  19  Prefactor     7.4636        7.6622        .69753E-07    .27162E-03
  20  norm          .10000E-03    3.0527       -.41685E-07** at limit **
  21  Prefactor     .10000E-03    2.7026       -.10841E-07** at limit **
  22  Prefactor     .10000E-03    25.791        .11152E-05** at limit **
  23  Prefactor     .10000E-03    3.5387       -.74006E-08** at limit **
  24  Prefactor     .10000E-03    4.6597        .71686E-08** at limit **
  25  norm          29.915        11.699       -.10728E-06   -.58905E-04
  26  Prefactor     .10117E-03    57.456       -.37709E-06** at limit **
  27  Normalizat    .68171        .16080        .69844E-06    .16659E-03
  28  Prefactor     1.3618        .18268       -.37320E-06    .26074E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100091
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.62362
  Prefactor  = 16.847
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 50.3322
  Prefactor  = 16.6053
  norm       = 0.54725
  Prefactor  = 0.000100027
  Prefactor  = 4.73652
  Prefactor  = 7.46364
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 29.9154
  Prefactor  = 0.000101175
  Normalizat = 0.681705
  Prefactor  = 1.36178
 **********
 **   18 **HESSE 
 **********

 FCN=   6583.923     FROM HESSE     STATUS=OK           519 CALLS     3582 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    27.225        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.8328        .21103E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    113.87        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    18.480        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10009E-03    118.84        .42779E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.7848        .10561E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    75.303        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.6236        2.4955        .14588E-03   -1.5453    
   9  Prefactor     16.847        21.030        .97550E-04   -1.4887    
  10  Prefactor     .10000E-03    30.249        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    20.953        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    24.934        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    12.471        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     50.332        20.058        .56528E-04   -1.4288    
  15  Prefactor     16.605        17.079        .98306E-04   -1.4893    
  16  norm          .54725        1.1549        .12656E-02   -1.5560    
  17  Prefactor     .10003E-03    23.510        .34624E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.7365        5.4228        .92434E-03   -1.5273    
  19  Prefactor     7.4636        7.2039        .14669E-03   -1.5162    
  20  norm          .10000E-03    3.1575        .27664E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    2.7134        .13025E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    26.548        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    3.5475        .14906E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    4.6764        .17082E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          29.915        11.694        .73235E-04   -1.4614    
  26  Prefactor     .10117E-03    53.500        .19426       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .68171        .19449        .26669E-03   -1.0462    
  28  Prefactor     1.3618        .22138        .23213E-03   -.81488    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.43911e-09
Minuit parameter uncertainties:
  1  2.04553e-05
  2  1.23786e-06
  3  0.000508735
  4  9.91503e-06
  5  0.00658379
  6  2.088e-06
  7  0.000229923
  8  2.4957
  9  21.0388
  10  0.000130402
  11  0.000127722
  12  0.000221832
  13  1.12472e-05
  14  20.0608
  15  17.0841
  16  1.15491
  17  0.00158235
  18  5.4234
  19  7.20473
  20  5.27183e-06
  21  1.81993e-06
  22  0.000185947
  23  2.36612e-06
  24  1.78408e-06
  25  11.6949
  26  0.015869
  27  0.194686
  28  0.221538
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  5.473e-01  1.155e+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.362e+00  2.215e-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:  6.817e-01  1.947e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/849540/likelihoodResults_360633601_360892801_4FGL_J1454.4+5124_daily_bin468.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) = 6583.64658126
delta logL = 0.27645890513

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6583.62429441
delta logL = 0.298745754596

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .36602       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8549       1.0000          .0000       5.0000    
     3 'Normalizat'    .66466       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3700       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=   6583.624     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      230 TOTAL
                     EDM=   .32E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .36567        7.6790        .10711E-01    .18867E-02
   2  alpha         2.8559        3.8929        .27846        .72620E-04
   3  Normalizat    .66462        .30276E-01    .60947E-01    .29956E-04
   4  Prefactor     1.3700        .35750E-01    .52330E-01   -.19656E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.365668
  alpha      = 2.8559
  Normalizat = 0.664625
  Prefactor  = 1.36997
 **********
 **   18 **HESSE 
 **********

 FCN=   6583.624     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      265 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .36567        26.639        .58936E-03   -1.5587    
   2  alpha         2.8559        2.9433        .15693E-01    .14284    
   3  Normalizat    .66462        .23069        .26961E-03   -1.0531    
   4  Prefactor     1.3700        .25827        .23135E-03   -.81250    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.94646e-10
Minuit parameter uncertainties:
  1  6.24411
  2  9.41457
  3  0.231024
  4  0.258517
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849540': 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) = 6583.62429395
delta logL = 0.298746211187

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  3.657e-01  6.244e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  2.856e+00  9.415e+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.370e+00  2.585e-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:  6.646e-01  2.310e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.30
Ra Dec: 223.625 51.409

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/849540/cmap_HighResolution_360633601_360892801_4FGL_J1454.4+5124_daily_bin468.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.90e-05', job_status='DONE', photon_flux_upper_limit='5.45e-08', time_completed='2021-09-10 12:59:39.379453', job_id='849540', GAL2='1.37', fit_tolerance='1e-08', EG2='0.66', EG='0.68', time_epoch_completed='1631303979.38', return_code2='102', ts='0.30', comment='SUCCESS', return_code='0', GAL='1.36', dlogl='2.99e-01', ts2='0.92', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='468' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:59:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0033>
Subject: Job 849540: <4FGL_J1454.4+5124_daily_bin468> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin468> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 12:46:21 2021
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:46:22 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 12:46:22 2021
Terminated at Fri Sep 10 12:59:40 2021
Results reported at Fri Sep 10 12:59:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin468 223.625 51.409 360633601 360892801 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 :                                   653.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             295.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   797 sec.
    Turnaround time :                            799 sec.

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

