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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin563
RA = 223.625, Dec = 51.409
tmin = 385257601, tmax = 385516801
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='849677', job_status='RUN', time_executed='2021-09-10 12:46:45.193206', time_epoch_executed='1631303205.19' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='563'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849677

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849677/ft1_4FGL_J1454.4+5124_daily_bin563.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849677/ft2_4FGL_J1454.4+5124_daily_bin563.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849677/ft1_4FGL_J1454.4+5124_daily_bin563.fits outfile=/scratch/kocevski/849677/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin563.fits ra=223.625 dec=51.409 rad=12.0 tmin=385257601.0 tmax=385516801.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.52
user 3.30
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/849677/ft2_4FGL_J1454.4+5124_daily_bin563.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/849677/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin563.fits evtable="EVENTS" outfile="/scratch/kocevski/849677/ft1_filtered_4FGL_J1454.4+5124_daily_bin563.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/849677/ft1_filtered_4FGL_J1454.4+5124_daily_bin563.fits" evtable="EVENTS" scfile=/scratch/kocevski/849677/ft2_4FGL_J1454.4+5124_daily_bin563.fits sctable="SC_DATA" outfile=/scratch/kocevski/849677/ltcube_385257601_385516801_4FGL_J1454.4+5124_daily_bin563.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/849677/ft2_4FGL_J1454.4+5124_daily_bin563.fits
.....................!
real 11.96
user 11.62
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849677/ft1_filtered_4FGL_J1454.4+5124_daily_bin563.fits evtable="EVENTS" scfile=/scratch/kocevski/849677/ft2_4FGL_J1454.4+5124_daily_bin563.fits sctable="SC_DATA" expcube=/scratch/kocevski/849677/ltcube_385257601_385516801_4FGL_J1454.4+5124_daily_bin563.fits outfile=/scratch/kocevski/849677/expmap_385257601_385516801_4FGL_J1454.4+5124_daily_bin563.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/849677/ltcube_385257601_385516801_4FGL_J1454.4+5124_daily_bin563.fits
.....................!
real 189.58
user 185.13
sys 4.08

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/849677/ft1_filtered_4FGL_J1454.4+5124_daily_bin563.fits scfile=/scratch/kocevski/849677/ft2_4FGL_J1454.4+5124_daily_bin563.fits outfile=/scratch/kocevski/849677/cmap_385257601_385516801_4FGL_J1454.4+5124_daily_bin563.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.37
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    45.476       1.0000         .10000E-03   10000.    
     2 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .23369E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    33.397       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.6039       1.0000         .10000E-03   10000.    
     7 'Prefactor '    18.506       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.342       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.0280       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.947       1.0000         .10000E-03   10000.    
    16 'norm      '    .77200       1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.3675       1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.0795       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.0959       1.0000         .10000E-03   10000.    
    20 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.4431       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10788E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    11.030       1.0000         .10000E-03   10000.    
    24 'Prefactor '    2.5452       1.0000         .10000E-03   10000.    
    25 'norm      '    7.8483       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .99671       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .98098       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=   6223.049     FROM MIGRAD    STATUS=CONVERGED    675 CALLS     3521 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          45.480        45.480       -.69435E-07   -.25767E-05
   2  norm          .10000E-03    2.1227       -.12159E-06** at limit **
   3  Prefactor     .10019E-03    2021.9        .36366E-04** at limit **
   4  Prefactor     .10000E-03    21.956        .10620E-05** at limit **
   5  Prefactor     33.378        46.178       -.18950E-08   -.74672E-05
   6  Prefactor     4.6051        7.0236        .56226E-06    .18552E-03
   7  Prefactor     18.493        28.487        .48482E-06   -.99550E-07
   8  Prefactor     .10000E-03    1.1252        .29080E-06** at limit **
   9  Prefactor     15.340        20.323        .21314E-06    .95588E-05
  10  Prefactor     .10000E-03    14.859        .27678E-06** at limit **
  11  Prefactor     .10000E-03    34.882        .10565E-05** at limit **
  12  Prefactor     .99852        16.165        .80947E-06    .21335E-05
  13  Prefactor     .10000E-03    13.578       -.40923E-07** at limit **
  14  Prefactor     .10000E-03    5.4658        .37587E-06** at limit **
  15  Prefactor     15.947        14.642        .10469E-06    .26784E-04
  16  norm          .77194        .72697        .21027E-07    .72267E-04
  17  Prefactor     8.3671        8.3757       -.34655E-06    .25785E-05
  18  Prefactor     6.0798        5.8990       -.95951E-07    .30711E-04
  19  Prefactor     1.0983        12.268        .28467E-05    .25341E-04
  20  norm          .10000E-03    1.4647       -.53258E-06** at limit **
  21  Prefactor     6.4375        12.874        .39040E-06    .10462E-03
  22  Prefactor     .10000E-03    21.341       -.10614E-05** at limit **
  23  Prefactor     11.027        22.915       -.18476E-06    .24564E-04
  24  Prefactor     2.5463        7.0562       -.21786E-06    .11642E-04
  25  norm          7.8475        7.8512        .29700E-06    .85107E-04
  26  Prefactor     .10000E-03    99.199       -.85829E-06** at limit **
  27  Normalizat    .99689        .19862       -.44299E-05    .36583E-03
  28  Prefactor     .98072        .21133        .56483E-05    .13782E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 45.4805
  norm       = 0.0001
  Prefactor  = 0.000100195
  Prefactor  = 0.0001
  Prefactor  = 33.3779
  Prefactor  = 4.60514
  Prefactor  = 18.4929
  Prefactor  = 0.0001
  Prefactor  = 15.3398
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.998516
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.947
  norm       = 0.771943
  Prefactor  = 8.36712
  Prefactor  = 6.0798
  Prefactor  = 1.09827
  norm       = 0.0001
  Prefactor  = 6.43749
  Prefactor  = 0.0001
  Prefactor  = 11.0272
  Prefactor  = 2.54635
  norm       = 7.84747
  Prefactor  = 0.0001
  Normalizat = 0.996889
  Prefactor  = 0.980724
 **********
 **   18 **HESSE 
 **********

 FCN=   6223.049     FROM HESSE     STATUS=OK           525 CALLS     4046 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          45.480        45.482        .59455E-04   -1.4358    
   2  norm          .10000E-03    2.1723        .11222E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10019E-03    2081.8        .20084E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    22.017        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     33.378        46.260        .69340E-04   -1.4552    
   6  Prefactor     4.6051        7.0197        .18759E-03   -1.5279    
   7  Prefactor     18.493        28.521        .93103E-04   -1.4848    
   8  Prefactor     .10000E-03    1.1602        .16321E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     15.340        20.321        .10225E-03   -1.4924    
  10  Prefactor     .10000E-03    14.974        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    35.017        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .99852        76.060        .59065E-02   -1.5508    
  13  Prefactor     .10000E-03    13.583        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.4795        .18016E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     15.947        14.612        .10030E-03   -1.4909    
  16  norm          .77194        .76113        .63266E-03   -1.5532    
  17  Prefactor     8.3671        8.4463        .13859E-03   -1.5129    
  18  Prefactor     6.0798        5.8924        .16283E-03   -1.5215    
  19  Prefactor     1.0983        12.662        .22765E-02   -1.5498    
  20  norm          .10000E-03    1.4903        .93588E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.4375        12.661        .15812E-03   -1.5200    
  22  Prefactor     .10000E-03    21.474        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     11.027        22.622        .12063E-03   -1.5044    
  24  Prefactor     2.5463        6.9846        .25596E-03   -1.5389    
  25  norm          7.8475        7.7844        .14313E-03   -1.5148    
  26  Prefactor     .10000E-03    100.11        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .99689        .20783        .22825E-03   -.93135    
  28  Prefactor     .98072        .21654        .26054E-03   -.93375    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.32125e-10
Minuit parameter uncertainties:
  1  45.5165
  2  4.63526e-06
  3  0.041842
  4  0.000110259
  5  46.3098
  6  7.02093
  7  28.5424
  8  4.30422e-06
  9  20.3298
  10  1.72775e-05
  11  0.000122621
  12  17.4517
  13  7.24664e-06
  14  1.68779e-05
  15  14.6148
  16  0.761136
  17  8.44755
  18  5.89292
  19  7.45991
  20  1.66779e-05
  21  12.6661
  22  0.000122158
  23  22.6393
  24  6.98685
  25  7.78537
  26  0.000241804
  27  0.207999
  28  0.216736
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  7.719e-01  7.611e-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:  9.807e-01  2.167e-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:  9.969e-01  2.080e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.12
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 1.16e-08 +/- 1.14e-08
Energy Flux (Fixed Index): 8.30e-06 +/- 8.19e-06

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) = 6222.57943688
delta logL = 0.469097547793

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6222.5768667
delta logL = 0.471667737026

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .72985       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.2898       1.0000          .0000       5.0000    
     3 'Normalizat'    .99961       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98160       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=   6222.577     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      194 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .73011        .77222        .12176E-01   -.42546E-03
   2  alpha         1.2895        .57545        .47964       -.21370E-04
   3  Normalizat    .99958        .15778        .46162E-01    .96176E-05
   4  Prefactor     .98164        .17963        .46037E-01    .11425E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.730112
  alpha      = 1.28954
  Normalizat = 0.999578
  Prefactor  = 0.981643
 **********
 **   18 **HESSE 
 **********

 FCN=   6222.577     FROM HESSE     STATUS=OK            35 CALLS      229 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .73011        .83329        .61921E-03   -1.5537    
   2  alpha         1.2895        .67346        .18222E-01   -.50543    
   3  Normalizat    .99958        .18445        .22800E-03   -.93045    
   4  Prefactor     .98164        .21011        .26047E-03   -.93344    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.39966e-10
Minuit parameter uncertainties:
  1  0.833299
  2  0.684585
  3  0.184569
  4  0.210281
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849677': 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) = 6222.57686642
delta logL = 0.471668011529

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  7.301e-01  8.333e-01  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.290e+00  6.846e-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:  9.816e-01  2.103e-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:  9.996e-01  1.846e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.06
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.29 +/- 0.68
Photon Flux (Free Index): 5.46e-09 +/- 6.94e-09
Energy Flux (Free Index): 2.44e-05 +/- 3.83e-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/849677/cmap_HighResolution_385257601_385516801_4FGL_J1454.4+5124_daily_bin563.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.16e-08', energy_flux2='2.44e-05', photon_flux_error='1.14e-08', dlogl='4.72e-01', energy_flux='8.30e-06', photon_flux2='5.46e-09', job_status='DONE', time_completed='2021-09-10 12:58:54.191746', photon_index_error2='0.68', photon_index2='1.29', ts='5.12', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='3.83e-05', EG='1.00', time_epoch_completed='1631303934.19', return_code='0', job_id='849677', GAL2='0.98', EG2='1.00', return_code2='0', energy_flux_error='8.19e-06', photon_flux_error2='6.94e-09', ts2='6.06', photon_index='1.97' WHERE bin_id='563' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:58:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0249>
Subject: Job 849677: <4FGL_J1454.4+5124_daily_bin563> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin563> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 12:46:29 2021
Job was executed on host(s) <bullet0249>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:46:30 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:30 2021
Terminated at Fri Sep 10 12:58:54 2021
Results reported at Fri Sep 10 12:58:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin563 223.625 51.409 385257601 385516801 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 :                                   727.24 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             341.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   744 sec.
    Turnaround time :                            745 sec.

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

