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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin1466
RA = 223.625, Dec = 51.409
tmin = 619315201, tmax = 619574401
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='854255', job_status='RUN', time_executed='2021-09-10 13:01:41.562206', time_epoch_executed='1631304101.56' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='1466'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/854255

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/854255/ft1_4FGL_J1454.4+5124_daily_bin1466.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/854255/ft2_4FGL_J1454.4+5124_daily_bin1466.fits


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

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/854255/ft2_4FGL_J1454.4+5124_daily_bin1466.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/854255/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin1466.fits evtable="EVENTS" outfile="/scratch/kocevski/854255/ft1_filtered_4FGL_J1454.4+5124_daily_bin1466.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.49
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/854255/ft1_filtered_4FGL_J1454.4+5124_daily_bin1466.fits" evtable="EVENTS" scfile=/scratch/kocevski/854255/ft2_4FGL_J1454.4+5124_daily_bin1466.fits sctable="SC_DATA" outfile=/scratch/kocevski/854255/ltcube_619315201_619574401_4FGL_J1454.4+5124_daily_bin1466.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/854255/ft2_4FGL_J1454.4+5124_daily_bin1466.fits
.....................!
real 15.01
user 14.63
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/854255/ft1_filtered_4FGL_J1454.4+5124_daily_bin1466.fits evtable="EVENTS" scfile=/scratch/kocevski/854255/ft2_4FGL_J1454.4+5124_daily_bin1466.fits sctable="SC_DATA" expcube=/scratch/kocevski/854255/ltcube_619315201_619574401_4FGL_J1454.4+5124_daily_bin1466.fits outfile=/scratch/kocevski/854255/expmap_619315201_619574401_4FGL_J1454.4+5124_daily_bin1466.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/854255/ltcube_619315201_619574401_4FGL_J1454.4+5124_daily_bin1466.fits
.....................!
real 192.04
user 186.93
sys 4.75

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/854255/ft1_filtered_4FGL_J1454.4+5124_daily_bin1466.fits scfile=/scratch/kocevski/854255/ft2_4FGL_J1454.4+5124_daily_bin1466.fits outfile=/scratch/kocevski/854255/cmap_619315201_619574401_4FGL_J1454.4+5124_daily_bin1466.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.52
user 0.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/854255/ft1_filtered_4FGL_J1454.4+5124_daily_bin1466.fits scfile=/scratch/kocevski/854255/ft2_4FGL_J1454.4+5124_daily_bin1466.fits outfile=/scratch/kocevski/854255/cmap_HighResolution_619315201_619574401_4FGL_J1454.4+5124_daily_bin1466.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=223.625 yref=51.409 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.53
user 0.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.1968       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    28.180       1.0000         .10000E-03   10000.    
     5 'Prefactor '    58.301       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.3935       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    34.844       1.0000         .10000E-03   10000.    
    12 'Prefactor '    31.460       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.198       1.0000         .10000E-03   10000.    
    15 'Prefactor '    18.961       1.0000         .10000E-03   10000.    
    16 'norm      '    1.3374       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.7540       1.0000         .10000E-03   10000.    
    20 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10186E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    1.7537       1.0000         .10000E-03   10000.    
    25 'norm      '    .30157E-01   1.0000         .10000E-03   10000.    
    26 'Prefactor '    9.6696       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .94093       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0013       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=   6695.597     FROM MIGRAD    STATUS=CONVERGED    703 CALLS     3612 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    27.080       -.15818E-07** at limit **
   2  norm          2.1971        3.4411        .30391E-06   -.17819E-03
   3  Prefactor     .10000E-03    161.13        .13143E-06** at limit **
   4  Prefactor     28.182        43.507       -.26390E-06   -.75438E-05
   5  Prefactor     58.306        38.753        .25601E-07   -.24563E-04
   6  Prefactor     .10000E-03    1.0953       -.17767E-07** at limit **
   7  Prefactor     .10000E-03    5.2128       -.17801E-07** at limit **
   8  Prefactor     .10000E-03    1.2091        .11851E-06** at limit **
   9  Prefactor     9.3950        16.720        .31804E-06    .13397E-03
  10  Prefactor     .10000E-03    7.3478        .13124E-06** at limit **
  11  Prefactor     34.847        51.859       -.33924E-08   -.19766E-05
  12  Prefactor     31.462        25.601        .14996E-06    .23337E-05
  13  Prefactor     .10000E-03    14.251        .45973E-06** at limit **
  14  Prefactor     10.198        14.608        .13280E-06    .10359E-04
  15  Prefactor     18.960        13.404        .77134E-07    .88548E-05
  16  norm          1.3375        .92794       -.86990E-09    .51970E-05
  17  Prefactor     .10000E-03    3.9515        .67555E-07** at limit **
  18  Prefactor     .10000E-03    4.8474       -.15783E-07** at limit **
  19  Prefactor     3.7550        6.8666        .50399E-06   -.59944E-04
  20  norm          .10000E-03    1.2610       -.22183E-07** at limit **
  21  Prefactor     .10000E-03    7.1670       -.87555E-07** at limit **
  22  Prefactor     .10000E-03    4.3356        .25372E-07** at limit **
  23  Prefactor     .10000E-03    4.3094       -.74335E-07** at limit **
  24  Prefactor     1.7722        6.3192        .27767E-05    .15038E-03
  25  norm          .10351E-03    5.6981       -.14655E-05** at limit **
  26  Prefactor     9.6664        35.184        .14791E-06    .15288E-05
  27  Normalizat    .94077        .15896       -.64207E-06    .15468E-03
  28  Prefactor     1.0015        .17447        .28039E-06    .38023E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 2.19713
  Prefactor  = 0.0001
  Prefactor  = 28.1816
  Prefactor  = 58.3064
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 9.39498
  Prefactor  = 0.0001
  Prefactor  = 34.8466
  Prefactor  = 31.4618
  Prefactor  = 0.0001
  Prefactor  = 10.1982
  Prefactor  = 18.96
  norm       = 1.33753
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.75503
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.77216
  norm       = 0.000103513
  Prefactor  = 9.66641
  Normalizat = 0.940768
  Prefactor  = 1.00153
 **********
 **   18 **HESSE 
 **********

 FCN=   6695.597     FROM HESSE     STATUS=OK           531 CALLS     4143 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    27.082        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.1971        3.4003        .18046E-03   -1.5412    
   3  Prefactor     .10000E-03    161.14        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     28.182        43.252        .75470E-04   -1.4646    
   5  Prefactor     58.306        38.832        .52542E-04   -1.4179    
   6  Prefactor     .10000E-03    1.0962        .83616E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.2200        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.6763        .17205E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.3950        16.738        .13076E-03   -1.5095    
  10  Prefactor     .10000E-03    7.3522        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     34.847        51.770        .67889E-04   -1.4527    
  12  Prefactor     31.462        25.621        .71436E-04   -1.4586    
  13  Prefactor     .10000E-03    14.223        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.198        14.566        .12547E-03   -1.5069    
  15  Prefactor     18.960        13.389        .91981E-04   -1.4837    
  16  norm          1.3375        .93451        .63462E-04   -1.5477    
  17  Prefactor     .10000E-03    3.9637        .15862E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.9938        .35143E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.7550        6.8202        .20838E-03   -1.5320    
  20  norm          .10000E-03    1.2759        .89690E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    7.3626        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    4.3409        .16642E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    4.3291        .16581E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     1.7722        8.4604        .31654E-03   -1.5442    
  25  norm          .10351E-03    13.682        .53808E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     9.6664        35.187        .12887E-03   -1.5086    
  27  Normalizat    .94077        .18714        .22482E-03   -.95042    
  28  Prefactor     1.0015        .20707        .25238E-03   -.92678    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.74816e-10
Minuit parameter uncertainties:
  1  8.25971e-07
  2  3.40057
  3  0.000155979
  4  43.2998
  5  38.8486
  6  6.97886e-07
  7  3.24863e-06
  8  0.0001084
  9  16.7463
  10  1.1719e-05
  11  51.8364
  12  25.6295
  13  5.40167e-05
  14  14.5706
  15  13.3908
  16  0.934517
  17  9.05112e-06
  18  3.82191e-06
  19  6.82162
  20  2.02889e-06
  21  1.9394e-05
  22  1.03748e-05
  23  2.55843e-06
  24  7.74579
  25  0.0138684
  26  35.2623
  27  0.187271
  28  0.207235
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  1.002e+00  2.072e-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.408e-01  1.873e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.94
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 2.01e-08 +/- 1.40e-08
Energy Flux (Fixed Index): 1.44e-05 +/- 1.01e-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) = 6694.87878831
delta logL = 0.718585976804

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6694.87133087
delta logL = 0.726043414276

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3410       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3484       1.0000          .0000       5.0000    
     3 'Normalizat'    .94695       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0006       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=   6694.871     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      195 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3407        1.0066        .94619E-02   -.27757E-03
   2  alpha         1.3484        .42607        .36798       -.24628E-04
   3  Normalizat    .94693        .14896        .45499E-01    .11586E-04
   4  Prefactor     1.0006        .17281        .45626E-01    .11199E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.34074
  alpha      = 1.34839
  Normalizat = 0.946931
  Prefactor  = 1.00057
 **********
 **   18 **HESSE 
 **********

 FCN=   6694.871     FROM HESSE     STATUS=OK            33 CALLS      228 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3407        1.0591        .66053E-04   -1.5476    
   2  alpha         1.3484        .49006        .14663E-01   -.47872    
   3  Normalizat    .94693        .17672        .22422E-03   -.94830    
   4  Prefactor     1.0006        .20517        .25257E-03   -.92711    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.83334e-10
Minuit parameter uncertainties:
  1  1.05915
  2  0.494134
  3  0.176826
  4  0.205329
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/854255': 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) = 6694.87133083
delta logL = 0.726043455384

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.341e+00  1.059e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.348e+00  4.941e-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.001e+00  2.053e-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.469e-01  1.768e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.40
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.35 +/- 0.49
Photon Flux (Free Index): 1.03e-08 +/- 9.42e-09
Energy Flux (Free Index): 3.87e-05 +/- 4.42e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/854255/cmap_HighResolution_619315201_619574401_4FGL_J1454.4+5124_daily_bin1466.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.01e-08', energy_flux2='3.87e-05', photon_flux_error='1.40e-08', dlogl='7.26e-01', energy_flux='1.44e-05', photon_flux2='1.03e-08', job_status='DONE', time_completed='2021-09-10 13:14:50.016909', photon_index_error2='0.49', photon_index2='1.35', ts='7.94', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='4.42e-05', EG='0.94', time_epoch_completed='1631304890.02', return_code='0', job_id='854255', GAL2='1.00', EG2='0.95', return_code2='0', energy_flux_error='1.01e-05', photon_flux_error2='9.42e-09', ts2='9.40', photon_index='1.97' WHERE bin_id='1466' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:14:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0101>
Subject: Job 854255: <4FGL_J1454.4+5124_daily_bin1466> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin1466> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 13:01:24 2021
Job was executed on host(s) <bullet0101>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 13:01:26 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 13:01:26 2021
Terminated at Fri Sep 10 13:14:50 2021
Results reported at Fri Sep 10 13:14:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin1466 223.625 51.409 619315201 619574401 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 :                                   786.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             328.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   804 sec.
    Turnaround time :                            806 sec.

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

