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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin623
RA = 223.625, Dec = 51.409
tmin = 400809601, tmax = 401068801
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='850813', job_status='RUN', time_executed='2021-09-10 12:54:42.219846', time_epoch_executed='1631303682.22' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='623'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/850813

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/850813/ft1_4FGL_J1454.4+5124_daily_bin623.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/850813/ft2_4FGL_J1454.4+5124_daily_bin623.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/850813/ft1_4FGL_J1454.4+5124_daily_bin623.fits outfile=/scratch/kocevski/850813/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin623.fits ra=223.625 dec=51.409 rad=12.0 tmin=400809601.0 tmax=401068801.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.44
user 3.20
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/850813/ft1_filtered_4FGL_J1454.4+5124_daily_bin623.fits evtable="EVENTS" scfile=/scratch/kocevski/850813/ft2_4FGL_J1454.4+5124_daily_bin623.fits sctable="SC_DATA" expcube=/scratch/kocevski/850813/ltcube_400809601_401068801_4FGL_J1454.4+5124_daily_bin623.fits outfile=/scratch/kocevski/850813/expmap_400809601_401068801_4FGL_J1454.4+5124_daily_bin623.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/850813/ltcube_400809601_401068801_4FGL_J1454.4+5124_daily_bin623.fits
.....................!
real 190.37
user 185.11
sys 4.86

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/850813/ft1_filtered_4FGL_J1454.4+5124_daily_bin623.fits scfile=/scratch/kocevski/850813/ft2_4FGL_J1454.4+5124_daily_bin623.fits outfile=/scratch/kocevski/850813/cmap_400809601_401068801_4FGL_J1454.4+5124_daily_bin623.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.55
user 0.36
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    136.60       1.0000         .10000E-03   10000.    
     2 'norm      '    8.5583       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    20.248       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.3858       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    23.434       1.0000         .10000E-03   10000.    
    12 'Prefactor '    22.828       1.0000         .10000E-03   10000.    
    13 'Prefactor '    24.112       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.8211       1.0000         .10000E-03   10000.    
    15 'Prefactor '    29.496       1.0000         .10000E-03   10000.    
    16 'norm      '    1.4134       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.0088       1.0000         .10000E-03   10000.    
    19 'Prefactor '    25.888       1.0000         .10000E-03   10000.    
    20 'norm      '    .10049E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10298E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .12067E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    3.8247       1.0000         .10000E-03   10000.    
    24 'Prefactor '    10.587       1.0000         .10000E-03   10000.    
    25 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    12.463       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .87717       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .78911       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=   5243.234     FROM MIGRAD    STATUS=CONVERGED    679 CALLS     3561 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          136.60        95.049       -.32839E-06    .24996E-06
   2  norm          8.5586        5.6065        .11833E-05   -.38491E-03
   3  Prefactor     .10000E-03    434.75       -.16757E-04** at limit **
   4  Prefactor     .10000E-03    23.514       -.71858E-06** at limit **
   5  Prefactor     .10000E-03    22.092        .83076E-06** at limit **
   6  Prefactor     .10000E-03    1.6569        .57958E-07** at limit **
   7  Prefactor     20.251        21.268       -.47047E-05    .16157E-03
   8  Prefactor     5.3859        2.5628       -.98967E-07    .87868E-04
   9  Prefactor     .10000E-03    9.3529        .60497E-07** at limit **
  10  Prefactor     .10000E-03    11.760       -.40623E-07** at limit **
  11  Prefactor     23.432        36.477        .14640E-05    .23073E-04
  12  Prefactor     22.830        24.689       -.25197E-05    .74279E-04
  13  Prefactor     24.114        23.552       -.25334E-05    .78968E-04
  14  Prefactor     2.8251        22.384       -.14162E-04   -.97494E-04
  15  Prefactor     29.490        21.811        .94393E-05   -.17923E-03
  16  norm          1.4136        1.3394       -.42776E-06   -.37658E-03
  17  Prefactor     .10000E-03    3.7675       -.32995E-07** at limit **
  18  Prefactor     4.0095        6.0137       -.26343E-05   -.34946E-03
  19  Prefactor     25.889        9.9861       -.29310E-06    .26329E-04
  20  norm          .10000E-03    1.4445        .88823E-07** at limit **
  21  Prefactor     .10000E-03    3.5145        .86262E-07** at limit **
  22  Prefactor     .10000E-03    35.937        .37631E-06** at limit **
  23  Prefactor     3.8262        9.5590       -.19177E-05   -.14560E-03
  24  Prefactor     10.587        6.2274        .17838E-05   -.30819E-03
  25  norm          .10000E-03    4.5532       -.17874E-06** at limit **
  26  Prefactor     12.446        158.05       -.33627E-04    .35690E-04
  27  Normalizat    .87710        .17593        .43100E-06    .10226E-03
  28  Prefactor     .78917        .18508        .10512E-05    .57596E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 136.602
  norm       = 8.5586
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.2507
  Prefactor  = 5.38585
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.4316
  Prefactor  = 22.8298
  Prefactor  = 24.1137
  Prefactor  = 2.82512
  Prefactor  = 29.4904
  norm       = 1.41356
  Prefactor  = 0.0001
  Prefactor  = 4.00953
  Prefactor  = 25.889
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.82615
  Prefactor  = 10.5873
  norm       = 0.0001
  Prefactor  = 12.4455
  Normalizat = 0.8771
  Prefactor  = 0.789168
 **********
 **   18 **HESSE 
 **********

 FCN=   5243.234     FROM HESSE     STATUS=OK           519 CALLS     4080 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          136.60        95.060        .34460E-04   -1.3365    
   2  norm          8.5586        5.6119        .13076E-03   -1.5123    
   3  Prefactor     .10000E-03    434.53        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    23.547        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    22.164        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.6629        .91009E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     20.251        21.400        .89010E-04   -1.4808    
   8  Prefactor     5.3859        2.5656        .76788E-04   -1.5244    
   9  Prefactor     .10000E-03    9.3646        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    11.784        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     23.432        36.425        .82746E-04   -1.4739    
  12  Prefactor     22.830        24.770        .83835E-04   -1.4752    
  13  Prefactor     24.114        23.543        .81575E-04   -1.4725    
  14  Prefactor     2.8251        22.770        .24215E-03   -1.5372    
  15  Prefactor     29.490        21.961        .73770E-04   -1.4621    
  16  norm          1.4136        1.3177        .77292E-04   -1.5470    
  17  Prefactor     .10000E-03    3.7734        .13721E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.0095        6.0369        .19998E-03   -1.5307    
  19  Prefactor     25.889        10.028        .78732E-04   -1.4690    
  20  norm          .10000E-03    1.4549        .84887E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.5211        .13228E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    36.554        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     3.8262        9.5557        .20638E-03   -1.5317    
  24  Prefactor     10.587        6.2115        .12314E-03   -1.5057    
  25  norm          .10000E-03    4.6181        .15078E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     12.446        157.74        .11347E-03   -1.5002    
  27  Normalizat    .87710        .21023        .22219E-03   -.97270    
  28  Prefactor     .78917        .21880        .26155E-03   -1.0013    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.54462e-10
Minuit parameter uncertainties:
  1  95.1668
  2  5.6122
  3  0.0023571
  4  1.13588e-05
  5  3.23694e-08
  6  6.29536e-06
  7  21.4078
  8  2.56563
  9  3.24326e-06
  10  3.77015e-06
  11  36.4596
  12  24.781
  13  23.5521
  14  16.0489
  15  21.9668
  16  1.31777
  17  1.65831e-06
  18  6.0378
  19  10.0291
  20  2.26717e-06
  21  1.2858e-05
  22  9.79205e-05
  23  9.55946
  24  6.21191
  25  4.04019e-05
  26  88.9038
  27  0.21043
  28  0.219043
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.414e+00  1.318e+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:  7.892e-01  2.190e-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:  8.771e-01  2.104e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.09
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 2.12e-08 +/- 1.98e-08
Energy Flux (Fixed Index): 1.52e-05 +/- 1.42e-05

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

Saving results to:
/scratch/kocevski/850813/likelihoodResults_400809601_401068801_4FGL_J1454.4+5124_daily_bin623.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) = 5242.79778861
delta logL = 0.436024217832

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5242.79081507
delta logL = 0.442997758354

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .81021       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7410       1.0000          .0000       5.0000    
     3 'Normalizat'    .84884       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80618       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=   5242.791     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      234 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .80985        8.8894        .10325E-01    .57204E-03
   2  alpha         2.7414        3.7556        .28449        .52943E-04
   3  Normalizat    .84887        .42141E-01    .44244E-01    .10509E-04
   4  Prefactor     .80623        .44899E-01    .43798E-01    .11752E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.809845
  alpha      = 2.74144
  Normalizat = 0.848869
  Prefactor  = 0.806234
 **********
 **   18 **HESSE 
 **********

 FCN=   5242.791     FROM HESSE     STATUS=OK            35 CALLS      269 TOTAL
                     EDM=   .75E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .80985        1.5306        .46928E-03   -1.5528    
   2  alpha         2.7414        1.1478        .97062E-02    .96725E-01
   3  Normalizat    .84887        .19615        .22515E-03   -.98281    
   4  Prefactor     .80623        .21727        .25877E-03   -.99499    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.53314e-12
Minuit parameter uncertainties:
  1  1.53063
  2  1.19293
  3  0.196315
  4  0.217498
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/850813': 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) = 5242.79081451
delta logL = 0.442998312498

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  8.062e-01  2.175e-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:  8.489e-01  1.963e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.97
Ra Dec: 223.625 51.409
Photon Index (Free Index): 2.74 +/- 1.19
Photon Flux (Free Index): 4.89e-08 +/- 4.74e-08
Energy Flux (Free Index): 1.23e-05 +/- 9.48e-06

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/850813/cmap_HighResolution_400809601_401068801_4FGL_J1454.4+5124_daily_bin623.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.00e-05', comment='SUCCESS', photon_flux='2.12e-08', energy_flux2='1.23e-05', photon_flux_error='1.98e-08', dlogl='4.43e-01', energy_flux='1.52e-05', photon_flux2='4.89e-08', job_status='DONE', time_completed='2021-09-10 13:07:25.121296', photon_index_error2='1.19', photon_index2='2.74', ts='2.09', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', photon_flux_upper_limit='6.99e-08', energy_flux_error2='9.48e-06', EG='0.88', time_epoch_completed='1631304445.12', return_code='0', job_id='850813', GAL2='0.81', EG2='0.85', return_code2='0', energy_flux_error='1.42e-05', photon_flux_error2='4.74e-08', ts2='2.97', photon_index='1.97' WHERE bin_id='623' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:07:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0047>
Subject: Job 850813: <4FGL_J1454.4+5124_daily_bin623> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin623 223.625 51.409 400809601 401068801 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 :                                   763.17 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             252.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   984 sec.
    Turnaround time :                            987 sec.

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

