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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin740
RA = 223.625, Dec = 51.409
tmin = 431136001, tmax = 431395201
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='850971', job_status='RUN', time_executed='2021-09-10 12:53:53.455830', time_epoch_executed='1631303633.46' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='740'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/850971

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/850971/ft1_4FGL_J1454.4+5124_daily_bin740.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/850971/ft2_4FGL_J1454.4+5124_daily_bin740.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/850971/ft1_4FGL_J1454.4+5124_daily_bin740.fits outfile=/scratch/kocevski/850971/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin740.fits ra=223.625 dec=51.409 rad=12.0 tmin=431136001.0 tmax=431395201.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 5.59
user 5.34
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/850971/ft2_4FGL_J1454.4+5124_daily_bin740.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/850971/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin740.fits evtable="EVENTS" outfile="/scratch/kocevski/850971/ft1_filtered_4FGL_J1454.4+5124_daily_bin740.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.48
user 0.34
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/850971/ft1_filtered_4FGL_J1454.4+5124_daily_bin740.fits" evtable="EVENTS" scfile=/scratch/kocevski/850971/ft2_4FGL_J1454.4+5124_daily_bin740.fits sctable="SC_DATA" outfile=/scratch/kocevski/850971/ltcube_431136001_431395201_4FGL_J1454.4+5124_daily_bin740.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/850971/ft2_4FGL_J1454.4+5124_daily_bin740.fits
.....................!
real 12.13
user 11.80
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/850971/ft1_filtered_4FGL_J1454.4+5124_daily_bin740.fits evtable="EVENTS" scfile=/scratch/kocevski/850971/ft2_4FGL_J1454.4+5124_daily_bin740.fits sctable="SC_DATA" expcube=/scratch/kocevski/850971/ltcube_431136001_431395201_4FGL_J1454.4+5124_daily_bin740.fits outfile=/scratch/kocevski/850971/expmap_431136001_431395201_4FGL_J1454.4+5124_daily_bin740.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/850971/ltcube_431136001_431395201_4FGL_J1454.4+5124_daily_bin740.fits
.....................!
real 189.78
user 185.18
sys 4.21

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/850971/ft1_filtered_4FGL_J1454.4+5124_daily_bin740.fits scfile=/scratch/kocevski/850971/ft2_4FGL_J1454.4+5124_daily_bin740.fits outfile=/scratch/kocevski/850971/cmap_431136001_431395201_4FGL_J1454.4+5124_daily_bin740.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.38
sys 0.13

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10071E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    6.9178       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .62553E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .51063E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.5607       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .17708E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    25.019       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    106.41       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    4.5241       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.1523       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.4160       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10112E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    24.337       1.0000         .10000E-03   10000.    
    26 'Prefactor '    36.514       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.0364       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0460       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=   5506.238     FROM MIGRAD    STATUS=CONVERGED    687 CALLS     3538 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    39.346       -.13061E-05** at limit **
   2  norm          6.9193        5.2750       -.38184E-06    .79438E-04
   3  Prefactor     .10000E-03    282.78       -.99192E-05** at limit **
   4  Prefactor     .10001E-03    357.08       -.18864E-04** at limit **
   5  Prefactor     .10000E-03    26.611        .62885E-06** at limit **
   6  Prefactor     8.5609        6.1440       -.10101E-06    .44027E-04
   7  Prefactor     .10000E-03    9.9382        .70598E-07** at limit **
   8  Prefactor     .10000E-03    .93415        .17004E-06** at limit **
   9  Prefactor     .10000E-03    132.80        .89805E-05** at limit **
  10  Prefactor     25.026        29.125       -.17897E-05    .36838E-04
  11  Prefactor     .10000E-03    27.913        .13356E-06** at limit **
  12  Prefactor     .10000E-03    20.383       -.25322E-06** at limit **
  13  Prefactor     106.45        58.704       -.42913E-06    .44767E-04
  14  Prefactor     .10000E-03    6.3037       -.25247E-07** at limit **
  15  Prefactor     .10000E-03    6.9396        .68067E-06** at limit **
  16  norm          4.5243        2.0819        .36618E-07   -.70530E-05
  17  Prefactor     3.1534        9.5792       -.15877E-05    .46844E-04
  18  Prefactor     4.4170        7.5596       -.74493E-06    .56769E-04
  19  Prefactor     .10000E-03    3.4112        .60049E-07** at limit **
  20  norm          .10000E-03    1.4746       -.50430E-07** at limit **
  21  Prefactor     .10000E-03    6.9763       -.82786E-06** at limit **
  22  Prefactor     .10000E-03    42.327       -.12335E-06** at limit **
  23  Prefactor     .10000E-03    12.040       -.19785E-06** at limit **
  24  Prefactor     .10000E-03    107.88        .12734E-04** at limit **
  25  norm          24.318        12.066        .15772E-05    .48043E-03
  26  Prefactor     36.509        60.289       -.41463E-06    .11787E-05
  27  Normalizat    1.0364        .19313       -.66918E-08    .23116E-03
  28  Prefactor     1.0458        .21003       -.64268E-08    .18658E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 6.91925
  Prefactor  = 0.000100001
  Prefactor  = 0.000100012
  Prefactor  = 0.0001
  Prefactor  = 8.56088
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 25.026
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 106.453
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.52434
  Prefactor  = 3.1534
  Prefactor  = 4.41699
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 24.3181
  Prefactor  = 36.5092
  Normalizat = 1.03643
  Prefactor  = 1.04582
 **********
 **   18 **HESSE 
 **********

 FCN=   5506.238     FROM HESSE     STATUS=OK           509 CALLS     4047 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    39.350        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.9193        5.2708        .14392E-03   -1.5182    
   3  Prefactor     .10000E-03    283.23        .21042E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10001E-03    357.42        .42294E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    26.643        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.5609        6.1424        .68503E-03   -1.5123    
   7  Prefactor     .10000E-03    9.9521        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    .93773        .70068E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    136.87        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     25.026        29.131        .80086E-04   -1.4707    
  11  Prefactor     .10000E-03    27.927        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    20.418        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     106.45        59.329        .19492E-03   -1.3641    
  14  Prefactor     .10000E-03    6.3090        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.9540        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.5243        2.0812        .34953E-03   -1.5283    
  17  Prefactor     3.1534        9.5663        .11415E-02   -1.5353    
  18  Prefactor     4.4170        7.5590        .95819E-03   -1.5288    
  19  Prefactor     .10000E-03    3.4301        .13383E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    1.4826        .87957E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    7.0269        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    43.060        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    12.157        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    104.80        .37393E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          24.318        11.514        .81199E-04   -1.4721    
  26  Prefactor     36.509        60.315        .66323E-04   -1.4499    
  27  Normalizat    1.0364        .23179        .24680E-03   -.91820    
  28  Prefactor     1.0458        .25319        .26991E-03   -.91217    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.47139e-10
Minuit parameter uncertainties:
  1  3.33965e-05
  2  5.2711
  3  0.00080156
  4  0.00417755
  5  5.07903e-05
  6  6.14289
  7  8.64844e-06
  8  3.3995e-06
  9  0.000991384
  10  29.1473
  11  2.1716e-05
  12  1.30007e-05
  13  59.3618
  14  4.53253e-06
  15  1.24218e-05
  16  2.08123
  17  9.57094
  18  7.56066
  19  2.44714e-06
  20  3.16605e-06
  21  1.32844e-05
  22  0.00014373
  23  3.67862e-05
  24  0.000510091
  25  11.5148
  26  60.4156
  27  0.23202
  28  0.253481
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  4.524e+00  2.081e+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.046e+00  2.535e-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.036e+00  2.320e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 21.33
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 6.80e-08 +/- 3.13e-08
Energy Flux (Fixed Index): 4.87e-05 +/- 2.24e-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) = 5505.97793871
delta logL = 0.260504196807

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5505.96723768
delta logL = 0.271205228472

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8369       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6932       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0515       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0399       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=   5505.967     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      199 TOTAL
                     EDM=   .94E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.8369        4.1686        .45728E-02    .51305E-02
   2  alpha         1.6931        .58891        .25575        .33813E-05
   3  Normalizat    1.0515        .19280        .40460E-01    .21049E-04
   4  Prefactor     1.0399        .21072        .61216E-01   -.54271E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.83685
  alpha      = 1.69312
  Normalizat = 1.05146
  Prefactor  = 1.03988
 **********
 **   18 **HESSE 
 **********

 FCN=   5505.967     FROM HESSE     STATUS=OK            31 CALLS      230 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.8369        2.3404        .76328E-04   -1.5268    
   2  alpha         1.6931        .37267        .10026E-01   -.32864    
   3  Normalizat    1.0515        .22916        .24536E-03   -.91326    
   4  Prefactor     1.0399        .25252        .27073E-03   -.91412    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.99807e-09
Minuit parameter uncertainties:
  1  2.34045
  2  0.374224
  3  0.229378
  4  0.252812
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/850971': 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) = 5505.96723763
delta logL = 0.271205282929

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  4.837e+00  2.340e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.693e+00  3.742e-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.040e+00  2.528e-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.051e+00  2.294e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 21.87
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.69 +/- 0.37
Photon Flux (Free Index): 5.00e-08 +/- 3.35e-08
Energy Flux (Free Index): 7.00e-05 +/- 5.11e-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/850971/cmap_HighResolution_431136001_431395201_4FGL_J1454.4+5124_daily_bin740.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.80e-08', energy_flux2='7.00e-05', photon_flux_error='3.13e-08', dlogl='2.71e-01', energy_flux='4.87e-05', photon_flux2='5.00e-08', job_status='DONE', time_completed='2021-09-10 13:05:10.057996', photon_index_error2='0.37', photon_index2='1.69', ts='21.33', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='5.11e-05', EG='1.04', time_epoch_completed='1631304310.06', return_code='0', job_id='850971', GAL2='1.04', EG2='1.05', return_code2='0', energy_flux_error='2.24e-05', photon_flux_error2='3.35e-08', ts2='21.87', photon_index='1.97' WHERE bin_id='740' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:05:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 850971: <4FGL_J1454.4+5124_daily_bin740> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin740 223.625 51.409 431136001 431395201 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 :                                   676.41 sec.
    Max Memory :                                 1082 MB
    Average Memory :                             277.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   838 sec.
    Turnaround time :                            839 sec.

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

