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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin933
RA = 223.625, Dec = 51.409
tmin = 481161601, tmax = 481420801
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='851254', job_status='RUN', time_executed='2021-09-10 12:54:28.352550', time_epoch_executed='1631303668.35' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='933'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/851254

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/851254/ft1_4FGL_J1454.4+5124_daily_bin933.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/851254/ft2_4FGL_J1454.4+5124_daily_bin933.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/851254/ft1_4FGL_J1454.4+5124_daily_bin933.fits outfile=/scratch/kocevski/851254/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin933.fits ra=223.625 dec=51.409 rad=12.0 tmin=481161601.0 tmax=481420801.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.61
user 3.40
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/851254/ft2_4FGL_J1454.4+5124_daily_bin933.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/851254/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin933.fits evtable="EVENTS" outfile="/scratch/kocevski/851254/ft1_filtered_4FGL_J1454.4+5124_daily_bin933.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.51
user 0.31
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/851254/ft1_filtered_4FGL_J1454.4+5124_daily_bin933.fits evtable="EVENTS" scfile=/scratch/kocevski/851254/ft2_4FGL_J1454.4+5124_daily_bin933.fits sctable="SC_DATA" expcube=/scratch/kocevski/851254/ltcube_481161601_481420801_4FGL_J1454.4+5124_daily_bin933.fits outfile=/scratch/kocevski/851254/expmap_481161601_481420801_4FGL_J1454.4+5124_daily_bin933.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/851254/ltcube_481161601_481420801_4FGL_J1454.4+5124_daily_bin933.fits
.....................!
real 197.53
user 185.56
sys 4.94

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/851254/ft1_filtered_4FGL_J1454.4+5124_daily_bin933.fits scfile=/scratch/kocevski/851254/ft2_4FGL_J1454.4+5124_daily_bin933.fits outfile=/scratch/kocevski/851254/cmap_481161601_481420801_4FGL_J1454.4+5124_daily_bin933.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.54
user 0.37
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    2.1377       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    30.258       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    20.151       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.8034       1.0000         .10000E-03   10000.    
     9 'Prefactor '    22.104       1.0000         .10000E-03   10000.    
    10 'Prefactor '    39.477       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    28.016       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10406E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.7250       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .47954       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.0121       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .47633       1.0000         .10000E-03   10000.    
    25 'norm      '    12.948       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .14081E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.1900       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .89608       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=   6639.982     FROM MIGRAD    STATUS=CONVERGED    709 CALLS     3545 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    28.083        .38797E-05** at limit **
   2  norm          2.1390        4.8435       -.10549E-05   -.82921E-03
   3  Prefactor     .10000E-03    339.98       -.21942E-03** at limit **
   4  Prefactor     30.261        52.408        .26925E-05    .15701E-04
   5  Prefactor     .10000E-03    15.225        .19640E-06** at limit **
   6  Prefactor     .10000E-03    1.1805       -.20950E-06** at limit **
   7  Prefactor     20.150        20.342        .16952E-06    .35139E-04
   8  Prefactor     2.8036        2.6598       -.21935E-06   -.78541E-04
   9  Prefactor     22.104        22.371        .12622E-06    .20555E-03
  10  Prefactor     39.474        28.152        .18288E-06    .13108E-03
  11  Prefactor     .10000E-03    27.928        .39550E-05** at limit **
  12  Prefactor     .10000E-03    11.667        .38568E-06** at limit **
  13  Prefactor     .10000E-03    104.62       -.42061E-04** at limit **
  14  Prefactor     28.011        18.689       -.21633E-05    .18199E-03
  15  Prefactor     .10000E-03    23.948       -.67704E-05** at limit **
  16  norm          3.7244        1.7888        .66386E-07    .75437E-03
  17  Prefactor     .10000E-03    2.8115       -.30124E-06** at limit **
  18  Prefactor     .51305        4.0811       -.19749E-05    .10111E-02
  19  Prefactor     .10000E-03    2.8152       -.10830E-06** at limit **
  20  norm          1.0121        2.6141       -.41905E-06   -.85271E-03
  21  Prefactor     .10000E-03    3.2200        .25124E-06** at limit **
  22  Prefactor     .10000E-03    4.3708        .29975E-06** at limit **
  23  Prefactor     .10000E-03    3.2927       -.66825E-07** at limit **
  24  Prefactor     .48724        9.0643        .15140E-05   -.23934E-03
  25  norm          12.938        10.138       -.35294E-05   -.38536E-03
  26  Prefactor     .10000E-03    170.64        .14395E-03** at limit **
  27  Normalizat    1.1902        .17295        .10607E-05    .23498E-03
  28  Prefactor     .89567        .18405        .11598E-06    .20355E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 2.13903
  Prefactor  = 0.0001
  Prefactor  = 30.2613
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.1505
  Prefactor  = 2.80364
  Prefactor  = 22.104
  Prefactor  = 39.474
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 28.0112
  Prefactor  = 0.000100001
  norm       = 3.7244
  Prefactor  = 0.0001
  Prefactor  = 0.513052
  Prefactor  = 0.0001
  norm       = 1.01211
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.487243
  norm       = 12.9378
  Prefactor  = 0.000100001
  Normalizat = 1.19022
  Prefactor  = 0.895668
 **********
 **   18 **HESSE 
 **********

 FCN=   6639.982     FROM HESSE     STATUS=OK           517 CALLS     4062 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    28.084        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.1390        4.8374        .25459E-03   -1.5415    
   3  Prefactor     .10000E-03    339.83        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     30.261        52.326        .72838E-04   -1.4607    
   5  Prefactor     .10000E-03    15.235        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.1813        .86456E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     20.150        20.430        .89224E-04   -1.4810    
   8  Prefactor     2.8036        2.6388        .11735E-03   -1.5373    
   9  Prefactor     22.104        22.368        .85196E-04   -1.4767    
  10  Prefactor     39.474        28.141        .63795E-04   -1.4451    
  11  Prefactor     .10000E-03    27.939        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    11.687        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    107.58        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     28.011        18.672        .75689E-04   -1.4649    
  15  Prefactor     .10000E-03    24.097        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.7244        1.7864        .72215E-04   -1.5322    
  17  Prefactor     .10000E-03    2.8173        .13343E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .51305        29.570        .30195E-02   -1.5565    
  19  Prefactor     .10000E-03    2.8298        .13349E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.0121        2.4416        .20128E-02   -1.5507    
  21  Prefactor     .10000E-03    3.2309        .14266E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    4.3731        .16638E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    3.2975        .14437E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .48724        45.449        .39949E-02   -1.5568    
  25  norm          12.938        10.868        .11132E-03   -1.4988    
  26  Prefactor     .10000E-03    170.59        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.1902        .21126        .22914E-03   -.86906    
  28  Prefactor     .89567        .22321        .28856E-03   -.96293    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41551e-08
Minuit parameter uncertainties:
  1  2.20063e-06
  2  4.83826
  3  5.56606e-06
  4  52.4058
  5  6.54028e-06
  6  9.54841e-08
  7  20.4375
  8  2.63894
  9  22.3768
  10  28.1505
  11  4.95639e-05
  12  5.33233e-06
  13  0.00135898
  14  18.6757
  15  0.000251917
  16  1.78642
  17  6.67644e-08
  18  7.79325
  19  8.36761e-07
  20  2.44182
  21  4.87181e-06
  22  3.38727e-07
  23  2.21765e-06
  24  9.41805
  25  10.8693
  26  0.000820119
  27  0.211407
  28  0.223438
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  3.724e+00  1.786e+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:  8.957e-01  2.234e-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.190e+00  2.114e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 21.84
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 5.60e-08 +/- 2.68e-08
Energy Flux (Fixed Index): 4.01e-05 +/- 1.92e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6639.70307818
delta logL = 0.279203180386

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6639.69787682
delta logL = 0.284404545005

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6696       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6247       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2070       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89091       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=   6639.698     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      205 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6696        2.8571        .52714E-02   -.31302E-02
   2  alpha         1.6247        .54733        .32802       -.83531E-04
   3  Normalizat    1.2070        .16741        .51556E-01   -.88259E-05
   4  Prefactor     .89093        .18400        .65461E-01    .29109E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.66959
  alpha      = 1.62475
  Normalizat = 1.20698
  Prefactor  = 0.890925
 **********
 **   18 **HESSE 
 **********

 FCN=   6639.698     FROM HESSE     STATUS=OK            31 CALLS      236 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6696        2.0277        .79178E-04   -1.5325    
   2  alpha         1.6247        .45374        .12281E-01   -.35768    
   3  Normalizat    1.2070        .19901        .22794E-03   -.86387    
   4  Prefactor     .89093        .22127        .28955E-03   -.96459    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57336e-09
Minuit parameter uncertainties:
  1  2.02773
  2  0.456632
  3  0.199137
  4  0.221495
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/851254': 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) = 6639.69787682
delta logL = 0.284404549651

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  3.670e+00  2.028e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.625e+00  4.566e-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:  8.909e-01  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:  1.207e+00  1.991e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 22.41
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.62 +/- 0.46
Photon Flux (Free Index): 3.51e-08 +/- 2.98e-08
Energy Flux (Free Index): 5.94e-05 +/- 4.76e-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/851254/cmap_HighResolution_481161601_481420801_4FGL_J1454.4+5124_daily_bin933.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.60e-08', energy_flux2='5.94e-05', photon_flux_error='2.68e-08', dlogl='2.84e-01', energy_flux='4.01e-05', photon_flux2='3.51e-08', job_status='DONE', time_completed='2021-09-10 13:07:13.272402', photon_index_error2='0.46', photon_index2='1.62', ts='21.84', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='4.76e-05', EG='1.19', time_epoch_completed='1631304433.27', return_code='0', job_id='851254', GAL2='0.89', EG2='1.21', return_code2='0', energy_flux_error='1.92e-05', photon_flux_error2='2.98e-08', ts2='22.41', photon_index='1.97' WHERE bin_id='933' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:07:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 851254: <4FGL_J1454.4+5124_daily_bin933> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin933> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 12:51:30 2021
Job was executed on host(s) <bullet0209>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:51:32 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 12:51:32 2021
Terminated at Fri Sep 10 13:07:13 2021
Results reported at Fri Sep 10 13:07:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin933 223.625 51.409 481161601 481420801 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 :                                   758.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             246.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   941 sec.
    Turnaround time :                            943 sec.

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

