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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin83
RA = 223.625, Dec = 51.409
tmin = 260841601, tmax = 261100801
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='847831', job_status='RUN', time_executed='2021-09-10 12:42:04.398361', time_epoch_executed='1631302924.4' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='83'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/847831

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/847831/ft1_4FGL_J1454.4+5124_daily_bin83.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/847831/ft2_4FGL_J1454.4+5124_daily_bin83.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/847831/ft1_4FGL_J1454.4+5124_daily_bin83.fits outfile=/scratch/kocevski/847831/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin83.fits ra=223.625 dec=51.409 rad=12.0 tmin=260841601.0 tmax=261100801.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 1.61
user 1.40
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/847831/ft1_filtered_4FGL_J1454.4+5124_daily_bin83.fits" evtable="EVENTS" scfile=/scratch/kocevski/847831/ft2_4FGL_J1454.4+5124_daily_bin83.fits sctable="SC_DATA" outfile=/scratch/kocevski/847831/ltcube_260841601_261100801_4FGL_J1454.4+5124_daily_bin83.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/847831/ft2_4FGL_J1454.4+5124_daily_bin83.fits
.....................!
real 13.02
user 12.63
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/847831/ft1_filtered_4FGL_J1454.4+5124_daily_bin83.fits evtable="EVENTS" scfile=/scratch/kocevski/847831/ft2_4FGL_J1454.4+5124_daily_bin83.fits sctable="SC_DATA" expcube=/scratch/kocevski/847831/ltcube_260841601_261100801_4FGL_J1454.4+5124_daily_bin83.fits outfile=/scratch/kocevski/847831/expmap_260841601_261100801_4FGL_J1454.4+5124_daily_bin83.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/847831/ltcube_260841601_261100801_4FGL_J1454.4+5124_daily_bin83.fits
.....................!
real 191.10
user 185.71
sys 5.02

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/847831/ft1_filtered_4FGL_J1454.4+5124_daily_bin83.fits scfile=/scratch/kocevski/847831/ft2_4FGL_J1454.4+5124_daily_bin83.fits outfile=/scratch/kocevski/847831/cmap_260841601_261100801_4FGL_J1454.4+5124_daily_bin83.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.51
user 0.36
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/847831/ft1_filtered_4FGL_J1454.4+5124_daily_bin83.fits scfile=/scratch/kocevski/847831/ft2_4FGL_J1454.4+5124_daily_bin83.fits outfile=/scratch/kocevski/847831/cmap_HighResolution_260841601_261100801_4FGL_J1454.4+5124_daily_bin83.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.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10911E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.156       1.0000         .10000E-03   10000.    
     5 'Prefactor '    48.080       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    33.051       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.3726       1.0000         .10000E-03   10000.    
     9 'Prefactor '    32.438       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .14227E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    115.91       1.0000         .10000E-03   10000.    
    12 'Prefactor '    23.733       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .21240E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .47978E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10528E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .76860       1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.3533       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .70758       1.0000         .10000E-03   10000.    
    19 'Prefactor '    17.668       1.0000         .10000E-03   10000.    
    20 'norm      '    1.5260       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.8011       1.0000         .10000E-03   10000.    
    24 'Prefactor '    1.9844       1.0000         .10000E-03   10000.    
    25 'norm      '    14.788       1.0000         .10000E-03   10000.    
    26 'Prefactor '    61.691       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .58889       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.3118       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=   6799.123     FROM MIGRAD    STATUS=CONVERGED    718 CALLS     3626 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    22.908        .15296E-07** at limit **
   2  norm          .10000E-03    1.8559        .86083E-06** at limit **
   3  Prefactor     .10000E-03    170.79       -.44736E-07** at limit **
   4  Prefactor     10.164        32.557       -.40099E-07   -.31223E-04
   5  Prefactor     48.075        39.791       -.58600E-07   -.46912E-04
   6  Prefactor     .10000E-03    1.6957       -.10150E-06** at limit **
   7  Prefactor     33.038        21.259        .25260E-07   -.69201E-04
   8  Prefactor     1.3673        2.4678       -.95637E-07   -.45096E-03
   9  Prefactor     32.442        25.438       -.18393E-06   -.12930E-03
  10  Prefactor     .10000E-03    32.318       -.62469E-06** at limit **
  11  Prefactor     115.88        67.343        .75770E-06    .75643E-05
  12  Prefactor     23.728        19.669        .82260E-07   -.49673E-04
  13  Prefactor     .10000E-03    104.72        .83160E-06** at limit **
  14  Prefactor     .10004E-03    19.199       -.50506E-05** at limit **
  15  Prefactor     .10000E-03    12.444       -.23266E-06** at limit **
  16  norm          .76817        .81559       -.32749E-07   -.28276E-03
  17  Prefactor     2.3491        15.505        .56127E-05   -.19691E-03
  18  Prefactor     .69434        3.1335       -.58837E-06   -.13802E-03
  19  Prefactor     17.661        11.755       -.93502E-06   -.46433E-04
  20  norm          1.5262        2.3571        .19825E-07   -.17278E-03
  21  Prefactor     .10000E-03    4.4550       -.17336E-06** at limit **
  22  Prefactor     .10000E-03    9.9046       -.10974E-07** at limit **
  23  Prefactor     2.8023        8.5523        .48550E-06   -.11907E-04
  24  Prefactor     1.9860        6.2889        .53006E-05   -.44542E-03
  25  norm          14.786        9.0135       -.81066E-06   -.93306E-04
  26  Prefactor     61.643        89.314        .11203E-05   -.62916E-04
  27  Normalizat    .58943        .16890        .10781E-05   -.23639E-03
  28  Prefactor     1.3113        .18008       -.19166E-05   -.47744E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 10.1642
  Prefactor  = 48.0747
  Prefactor  = 0.0001
  Prefactor  = 33.0385
  Prefactor  = 1.36727
  Prefactor  = 32.4425
  Prefactor  = 0.000100001
  Prefactor  = 115.882
  Prefactor  = 23.7275
  Prefactor  = 0.000100001
  Prefactor  = 0.000100037
  Prefactor  = 0.0001
  norm       = 0.768172
  Prefactor  = 2.34907
  Prefactor  = 0.694336
  Prefactor  = 17.6606
  norm       = 1.52616
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.80232
  Prefactor  = 1.98604
  norm       = 14.7857
  Prefactor  = 61.6433
  Normalizat = 0.589431
  Prefactor  = 1.31129
 **********
 **   18 **HESSE 
 **********

 FCN=   6799.123     FROM HESSE     STATUS=OK           521 CALLS     4147 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    22.908        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    3.4316        .21627E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    170.79        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.164        32.414        .12574E-03   -1.5070    
   5  Prefactor     48.075        39.815        .57829E-04   -1.4320    
   6  Prefactor     .10000E-03    1.7013        .10483E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     33.038        21.339        .69700E-04   -1.4558    
   8  Prefactor     1.3673        2.4114        .15540E-03   -1.5474    
   9  Prefactor     32.442        25.238        .70354E-04   -1.4568    
  10  Prefactor     .10000E-03    32.445        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     115.88        67.329        .37371E-04   -1.3551    
  12  Prefactor     23.728        19.675        .82224E-04   -1.4733    
  13  Prefactor     .10000E-03    106.09        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10004E-03    21.369        .42355E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    12.535        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .76817        .81549        .74398E-04   -1.5533    
  17  Prefactor     2.3491        15.363        .13360E-02   -1.5401    
  18  Prefactor     .69434        10.846        .27178E-02   -1.5541    
  19  Prefactor     17.661        11.629        .95286E-04   -1.4867    
  20  norm          1.5262        2.3143        .14917E-03   -1.5461    
  21  Prefactor     .10000E-03    4.4892        .16936E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    9.9438        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     2.8023        8.4651        .24307E-03   -1.5373    
  24  Prefactor     1.9860        6.3473        .14709E-02   -1.5426    
  25  norm          14.786        9.0009        .10415E-03   -1.4939    
  26  Prefactor     61.643        89.260        .51087E-04   -1.4136    
  27  Normalizat    .58943        .19867        .28533E-03   -1.0843    
  28  Prefactor     1.3113        .21487        .23039E-03   -.82972    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.86181e-08
Minuit parameter uncertainties:
  1  5.47349e-06
  2  9.22028e-05
  3  0.000171773
  4  32.4704
  5  39.8369
  6  9.86864e-06
  7  21.3441
  8  2.41157
  9  25.2462
  10  0.000263898
  11  67.3733
  12  19.6799
  13  0.000624969
  14  0.00177047
  15  5.60981e-05
  16  0.815505
  17  12.0192
  18  5.48934
  19  11.6309
  20  2.31444
  21  2.73108e-05
  22  1.77657e-06
  23  8.4687
  24  6.34941
  25  9.00168
  26  89.4547
  27  0.198908
  28  0.215015
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  7.682e-01  8.155e-01  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.311e+00  2.150e-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:  5.894e-01  1.989e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.83
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 1.15e-08 +/- 1.23e-08
Energy Flux (Fixed Index): 8.26e-06 +/- 8.77e-06

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

Saving results to:
/scratch/kocevski/847831/likelihoodResults_260841601_261100801_4FGL_J1454.4+5124_daily_bin83.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) = 6799.09926106
delta logL = 0.0236959777203

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6799.09902599
delta logL = 0.0239310521638

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .76385       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7598       1.0000          .0000       5.0000    
     3 'Normalizat'    .59169       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3109       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=   6799.099     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      204 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .76384        34.173        .12304E-01   -.25327E-03
   2  alpha         1.7589        3.9344        .43702       -.10126E-04
   3  Normalizat    .59170        .90637E-01    .64368E-01    .33347E-04
   4  Prefactor     1.3109        .76080E-01    .52121E-01    .74992E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.763837
  alpha      = 1.75888
  Normalizat = 0.591699
  Prefactor  = 1.31087
 **********
 **   18 **HESSE 
 **********

 FCN=   6799.099     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .76384        .82980        .75351E-04   -1.5533    
   2  alpha         1.7589        .91475        .24716E-01   -.30097    
   3  Normalizat    .59170        .17918        .28482E-03   -1.0834    
   4  Prefactor     1.3109        .20932        .23043E-03   -.82984    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.59848e-10
Minuit parameter uncertainties:
  1  0.829808
  2  0.938745
  3  0.179351
  4  0.209454
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/847831': 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) = 6799.09902553
delta logL = 0.0239315139452

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  7.638e-01  8.298e-01  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.759e+00  9.387e-01  0.000e+00  5.000e+00 ( 1.000e+00)
309         beta:  5.547e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
310           Eb:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  1.311e+00  2.095e-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:  5.917e-01  1.794e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.88
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.76 +/- 0.94
Photon Flux (Free Index): 8.55e-09 +/- 1.47e-08
Energy Flux (Free Index): 1.01e-05 +/- 1.55e-05

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/847831/cmap_HighResolution_260841601_261100801_4FGL_J1454.4+5124_daily_bin83.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.58e-05', comment='SUCCESS', photon_flux='1.15e-08', energy_flux2='1.01e-05', photon_flux_error='1.23e-08', dlogl='2.39e-02', energy_flux='8.26e-06', photon_flux2='8.55e-09', job_status='DONE', time_completed='2021-09-10 12:56:54.953966', photon_index_error2='0.94', photon_index2='1.76', ts='2.83', fit_tolerance='1e-08', GAL='1.31', photon_index_error='0.00', photon_flux_upper_limit='5.00e-08', energy_flux_error2='1.55e-05', EG='0.59', time_epoch_completed='1631303814.95', return_code='0', job_id='847831', GAL2='1.31', EG2='0.59', return_code2='0', energy_flux_error='8.77e-06', photon_flux_error2='1.47e-08', ts2='2.88', photon_index='1.97' WHERE bin_id='83' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:56:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 847831: <4FGL_J1454.4+5124_daily_bin83> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin83> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 10 12:41:11 2021
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:41:13 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:41:13 2021
Terminated at Fri Sep 10 12:56:55 2021
Results reported at Fri Sep 10 12:56:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin83 223.625 51.409 260841601 261100801 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 :                                   890.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             322.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   942 sec.
    Turnaround time :                            944 sec.

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

