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


Performing analysis on: 4FGL_J1454.1+1622_daily_bin827
RA = 223.544, Dec = 16.3747
tmin = 453686401, tmax = 453945601
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='842965', job_status='RUN', time_executed='2021-09-10 12:29:32.289064', time_epoch_executed='1631302172.29' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='827'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/842965

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/842965/ft1_4FGL_J1454.1+1622_daily_bin827.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/842965/ft2_4FGL_J1454.1+1622_daily_bin827.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/842965/ft1_4FGL_J1454.1+1622_daily_bin827.fits outfile=/scratch/kocevski/842965/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin827.fits ra=223.544 dec=16.3747 rad=12.0 tmin=453686401.0 tmax=453945601.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.80
user 3.39
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/842965/ft2_4FGL_J1454.1+1622_daily_bin827.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/842965/ft2_4FGL_J1454.1+1622_daily_bin827.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/842965/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin827.fits evtable="EVENTS" outfile="/scratch/kocevski/842965/ft1_filtered_4FGL_J1454.1+1622_daily_bin827.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 3.39
user 0.34
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/842965/ft1_filtered_4FGL_J1454.1+1622_daily_bin827.fits" evtable="EVENTS" scfile=/scratch/kocevski/842965/ft2_4FGL_J1454.1+1622_daily_bin827.fits sctable="SC_DATA" outfile=/scratch/kocevski/842965/ltcube_453686401_453945601_4FGL_J1454.1+1622_daily_bin827.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/842965/ft2_4FGL_J1454.1+1622_daily_bin827.fits
.....................!
real 13.99
user 11.80
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/842965/ft1_filtered_4FGL_J1454.1+1622_daily_bin827.fits evtable="EVENTS" scfile=/scratch/kocevski/842965/ft2_4FGL_J1454.1+1622_daily_bin827.fits sctable="SC_DATA" expcube=/scratch/kocevski/842965/ltcube_453686401_453945601_4FGL_J1454.1+1622_daily_bin827.fits outfile=/scratch/kocevski/842965/expmap_453686401_453945601_4FGL_J1454.1+1622_daily_bin827.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/842965/ltcube_453686401_453945601_4FGL_J1454.1+1622_daily_bin827.fits
.....................!
real 200.65
user 185.25
sys 5.23

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 148 point sources and 0 extended sources

Setting source of interest to:
4FGL J1454.1+1622 @ 223.544 16.3747

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/842965/ft1_filtered_4FGL_J1454.1+1622_daily_bin827.fits scfile=/scratch/kocevski/842965/ft2_4FGL_J1454.1+1622_daily_bin827.fits outfile=/scratch/kocevski/842965/cmap_453686401_453945601_4FGL_J1454.1+1622_daily_bin827.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.544 yref=16.3747 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 8.75
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/842965/ft1_filtered_4FGL_J1454.1+1622_daily_bin827.fits scfile=/scratch/kocevski/842965/ft2_4FGL_J1454.1+1622_daily_bin827.fits outfile=/scratch/kocevski/842965/cmap_HighResolution_453686401_453945601_4FGL_J1454.1+1622_daily_bin827.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.544 yref=16.3747 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 2.35
user 0.40
sys 0.57

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/842965/ft1_filtered_4FGL_J1454.1+1622_daily_bin827.fits evtable="EVENTS" scfile=/scratch/kocevski/842965/ft2_4FGL_J1454.1+1622_daily_bin827.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/842965/Model_4FGL_J1454.1+1622_daily_bin827.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/842965/ft1_filtered_4FGL_J1454.1+1622_daily_bin827.fits.....................!
real 95.12
user 60.80
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/842965/ft1_filtered_4FGL_J1454.1+1622_daily_bin827.fits', '/scratch/kocevski/842965/ft2_4FGL_J1454.1+1622_daily_bin827.fits', expMap='/scratch/kocevski/842965/expmap_453686401_453945601_4FGL_J1454.1+1622_daily_bin827.fits', expCube='/scratch/kocevski/842965/ltcube_453686401_453945601_4FGL_J1454.1+1622_daily_bin827.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/842965/Model_4FGL_J1454.1+1622_daily_bin827.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1454.1+1622'

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  7.482e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.409e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
222        Scale:  9.226e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/842965/ft1_filtered_4FGL_J1454.1+1622_daily_bin827.fits
Spacecraft file(s): /scratch/kocevski/842965/ft2_4FGL_J1454.1+1622_daily_bin827.fits
Exposure map: /scratch/kocevski/842965/expmap_453686401_453945601_4FGL_J1454.1+1622_daily_bin827.fits
Exposure cube: /scratch/kocevski/842965/ltcube_453686401_453945601_4FGL_J1454.1+1622_daily_bin827.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/842965/Model_4FGL_J1454.1+1622_daily_bin827.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) = 8481.15727683

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    4.3005       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .17595       1.0000         .10000E-03   10000.    
     5 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11519E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    15.935       1.0000         .10000E-03   10000.    
     8 'norm      '    35.961       1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.7312       1.0000         .10000E-03   10000.    
    10 'Prefactor '    21.745       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    83.577       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .20475E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.1903       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    14.635       1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.1765       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .93997       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .74768       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .87170       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1240       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8481.115     FROM MIGRAD    STATUS=CONVERGED    549 CALLS     3039 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.7120        .11102E-07** at limit **
   2  Prefactor     .10000E-03    3.3962        .26608E-07** at limit **
   3  norm          4.3005        2.1186        .28700E-07    .11559E-03
   4  Prefactor     .19163        5.7752       -.54318E-07   -.10203E-03
   5  norm          .10000E-03    1.9293        .45061E-07** at limit **
   6  Prefactor     .10000E-03    113.49       -.25859E-06** at limit **
   7  norm          15.938        16.588        .87258E-06   -.44676E-04
   8  norm          35.962        8.1746        .64249E-07   -.30856E-05
   9  Prefactor     9.7254        23.736       -.10559E-05   -.20324E-05
  10  Prefactor     21.746        18.633        .11296E-05   -.45825E-04
  11  Prefactor     .10000E-03    27.579        .94494E-07** at limit **
  12  Prefactor     83.579        39.643       -.23360E-06   -.41411E-05
  13  Prefactor     .10004E-03    39.086        .50692E-06** at limit **
  14  Prefactor     .10000E-03    5.2816       -.26546E-07** at limit **
  15  norm          2.1903        .30464        .67593E-08    .58202E-03
  16  norm          .10000E-03    2.0081        .18290E-08** at limit **
  17  norm          .10000E-03    37.450       -.69497E-07** at limit **
  18  Prefactor     14.665        57.594        .20672E-04   -.30730E-04
  19  Prefactor     6.1769        11.930       -.16917E-05   -.34013E-04
  20  Prefactor     .92984        26.557       -.26450E-05   -.34763E-04
  21  Prefactor     .75158        14.790       -.78830E-06   -.15111E-03
  22  Normalizat    .87155        .22843       -.12012E-05    .14565E-03
  23  Prefactor     1.1240        .13799       -.14758E-06    .23356E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.30049
  Prefactor  = 0.191631
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 15.9375
  norm       = 35.9619
  Prefactor  = 9.7254
  Prefactor  = 21.7457
  Prefactor  = 0.0001
  Prefactor  = 83.5794
  Prefactor  = 0.00010004
  Prefactor  = 0.0001
  norm       = 2.19029
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 14.6648
  Prefactor  = 6.17687
  Prefactor  = 0.929845
  Prefactor  = 0.75158
  Normalizat = 0.871555
  Prefactor  = 1.12403
 **********
 **   18 **HESSE 
 **********

 FCN=   8481.115     FROM HESSE     STATUS=OK           384 CALLS     3423 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.7155        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.4134        .16563E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.3005        2.1196        .91715E-04   -1.5293    
   4  Prefactor     .19163        77.362        .39801E-02   -1.5620    
   5  norm          .10000E-03    2.0131        .24948E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    114.47        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          15.938        16.364        .10033E-03   -1.4909    
   8  norm          35.962        8.1842        .66830E-04   -1.4508    
   9  Prefactor     9.7254        23.727        .12846E-03   -1.5084    
  10  Prefactor     21.746        18.599        .85896E-04   -1.4775    
  11  Prefactor     .10000E-03    27.910        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     83.579        39.624        .43939E-04   -1.3877    
  13  Prefactor     .10004E-03    36.845        .16380       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.2993        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.1903        .30533        .17927E-04   -1.5412    
  16  norm          .10000E-03    2.0106        .12745E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    37.482        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     14.665        57.331        .10470E-03   -1.4942    
  19  Prefactor     6.1769        12.046        .16153E-03   -1.5211    
  20  Prefactor     .92984        319.26        .87155E-02   -1.5515    
  21  Prefactor     .75158        142.14        .68707E-02   -1.5535    
  22  Normalizat    .87155        .26699        .36670E-03   -.97467    
  23  Prefactor     1.1240        .16152        .21319E-03   -.88702    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14798e-07
Minuit parameter uncertainties:
  1  3.39503e-06
  2  4.82896e-06
  3  2.11966
  4  7.70868
  5  6.44823e-06
  6  0.000720465
  7  16.3683
  8  8.1845
  9  23.7501
  10  18.6036
  11  4.06896e-05
  12  39.6364
  13  0.00242261
  14  5.92428e-06
  15  0.305327
  16  3.31193e-07
  17  1.56273e-05
  18  57.5479
  19  12.0511
  20  34.6454
  21  20.7203
  22  0.267392
  23  0.161594
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  8.358e+01  3.964e+01  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.409e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
222        Scale:  9.226e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
478    Prefactor:  1.124e+00  1.616e-01  0.000e+00  1.000e+01 ( 1.000e+00)
479        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
480        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
477   Normalization:  8.716e-01  2.674e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.18
Ra Dec: 223.544 16.375
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 1.25e-07 +/- 5.94e-08
Energy Flux (Fixed Index): 4.06e-05 +/- 1.93e-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) = 8481.08759811
delta logL = 0.0275370615618

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8481.08259098
delta logL = 0.0325441881014

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    90.124       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3011       1.0000          .0000       10.000    
     3 'Normalizat'    .88413       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1186       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8481.083     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      295 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     90.125        46.785        .42326E-04    .11324E-03
   2  Index         2.3011        .42334        .58750E-02    .25926E-04
   3  Normalizat    .88421        .24930        .36438E-03    .35824E-03
   4  Prefactor     1.1185        .16074        .21365E-03    .25353E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 90.1249
  Index      = 2.30112
  Normalizat = 0.88421
  Prefactor  = 1.11853
 **********
 **   18 **HESSE 
 **********

 FCN=   8481.083     FROM HESSE     STATUS=OK            25 CALLS      320 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     90.125        45.685        .84653E-05   -1.3806    
   2  Index         2.3011        .41291        .23500E-03   -.57017    
   3  Normalizat    .88421        .24926        .14575E-04   -.97017    
   4  Prefactor     1.1185        .16076        .42729E-04   -.88877    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.59429e-10
Minuit parameter uncertainties:
  1  45.7028
  2  0.413572
  3  0.249588
  4  0.160833
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/842965': 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) = 8481.08259093
delta logL = 0.0325442397789

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  9.012e+01  4.570e+01  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.301e+00  4.136e-01  0.000e+00  1.000e+01 (-1.000e+00)
222        Scale:  9.226e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
478    Prefactor:  1.119e+00  1.608e-01  0.000e+00  1.000e+01 ( 1.000e+00)
479        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
480        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
477   Normalization:  8.842e-01  2.496e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.16
Ra Dec: 223.544 16.375
Photon Index (Free Index): 2.30 +/- 0.41
Photon Flux (Free Index): 1.15e-07 +/- 6.56e-08
Energy Flux (Free Index): 4.35e-05 +/- 2.31e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/842965/cmap_HighResolution_453686401_453945601_4FGL_J1454.1+1622_daily_bin827.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.25e-07', energy_flux2='4.35e-05', photon_flux_error='5.94e-08', dlogl='3.25e-02', energy_flux='4.06e-05', photon_flux2='1.15e-07', job_status='DONE', time_completed='2021-09-10 12:42:09.814060', photon_index_error2='0.41', photon_index2='2.30', ts='9.18', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', energy_flux_error2='2.31e-05', EG='0.87', time_epoch_completed='1631302929.81', return_code='0', job_id='842965', GAL2='1.12', EG2='0.88', return_code2='0', energy_flux_error='1.93e-05', photon_flux_error2='6.56e-08', ts2='9.16', photon_index='2.41' WHERE bin_id='827' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:42:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0093>
Subject: Job 842965: <4FGL_J1454.1+1622_daily_bin827> in cluster <slac> Done

Job <4FGL_J1454.1+1622_daily_bin827> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 12:27:13 2021
Job was executed on host(s) <bullet0093>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:27:14 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:27:14 2021
Terminated at Fri Sep 10 12:42:10 2021
Results reported at Fri Sep 10 12:42:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin827 223.544 16.3747 453686401 453945601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1454.1+1622 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   664.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             255.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   896 sec.
    Turnaround time :                            897 sec.

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

