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


Performing analysis on: 4FGL_J1454.1+1622_daily_bin811
RA = 223.544, Dec = 16.3747
tmin = 449539201, tmax = 449798401
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='842949', job_status='RUN', time_executed='2021-09-10 12:27:35.662732', time_epoch_executed='1631302055.66' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='811'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/842949

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/842949/ft1_4FGL_J1454.1+1622_daily_bin811.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/842949/ft2_4FGL_J1454.1+1622_daily_bin811.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/842949/ft1_4FGL_J1454.1+1622_daily_bin811.fits outfile=/scratch/kocevski/842949/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin811.fits ra=223.544 dec=16.3747 rad=12.0 tmin=449539201.0 tmax=449798401.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.90
user 5.40
sys 0.25

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/842949/ft1_filtered_4FGL_J1454.1+1622_daily_bin811.fits evtable="EVENTS" scfile=/scratch/kocevski/842949/ft2_4FGL_J1454.1+1622_daily_bin811.fits sctable="SC_DATA" expcube=/scratch/kocevski/842949/ltcube_449539201_449798401_4FGL_J1454.1+1622_daily_bin811.fits outfile=/scratch/kocevski/842949/expmap_449539201_449798401_4FGL_J1454.1+1622_daily_bin811.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/842949/ltcube_449539201_449798401_4FGL_J1454.1+1622_daily_bin811.fits
.....................!
real 190.30
user 185.61
sys 4.29

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/842949/ft1_filtered_4FGL_J1454.1+1622_daily_bin811.fits scfile=/scratch/kocevski/842949/ft2_4FGL_J1454.1+1622_daily_bin811.fits outfile=/scratch/kocevski/842949/cmap_449539201_449798401_4FGL_J1454.1+1622_daily_bin811.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 0.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/842949/ft1_filtered_4FGL_J1454.1+1622_daily_bin811.fits scfile=/scratch/kocevski/842949/ft2_4FGL_J1454.1+1622_daily_bin811.fits outfile=/scratch/kocevski/842949/cmap_HighResolution_449539201_449798401_4FGL_J1454.1+1622_daily_bin811.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 0.55
user 0.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/842949/ft1_filtered_4FGL_J1454.1+1622_daily_bin811.fits', '/scratch/kocevski/842949/ft2_4FGL_J1454.1+1622_daily_bin811.fits', expMap='/scratch/kocevski/842949/expmap_449539201_449798401_4FGL_J1454.1+1622_daily_bin811.fits', expCube='/scratch/kocevski/842949/ltcube_449539201_449798401_4FGL_J1454.1+1622_daily_bin811.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/842949/Model_4FGL_J1454.1+1622_daily_bin811.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/842949/ft1_filtered_4FGL_J1454.1+1622_daily_bin811.fits
Spacecraft file(s): /scratch/kocevski/842949/ft2_4FGL_J1454.1+1622_daily_bin811.fits
Exposure map: /scratch/kocevski/842949/expmap_449539201_449798401_4FGL_J1454.1+1622_daily_bin811.fits
Exposure cube: /scratch/kocevski/842949/ltcube_449539201_449798401_4FGL_J1454.1+1622_daily_bin811.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/842949/Model_4FGL_J1454.1+1622_daily_bin811.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) = 8955.05635403

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.1469       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    4.5146       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10301E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    78.761       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    56.792       1.0000         .10000E-03   10000.    
     9 'Prefactor '    30.625       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.8235       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    93.440       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .53458       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    45.986       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    32.043       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.5471       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .66035       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=   8954.998     FROM MIGRAD    STATUS=CONVERGED    486 CALLS     2588 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.1478        28.351        .40606E-05   -.36721E-04
   2  Prefactor     .10000E-03    9.5239       -.36022E-06** at limit **
   3  norm          4.5147        3.0267        .21375E-06   -.13122E-03
   4  Prefactor     .10000E-03    3.7862        .45306E-06** at limit **
   5  norm          .10000E-03    1.3477        .33590E-07** at limit **
   6  Prefactor     78.768        36.926        .63823E-05   -.39293E-05
   7  norm          .10000E-03    15.753       -.16373E-05** at limit **
   8  norm          56.794        10.305        .24685E-06   -.76323E-04
   9  Prefactor     30.633        28.210        .10127E-04   -.57119E-04
  10  Prefactor     8.8307        23.624        .12118E-04   -.45109E-04
  11  Prefactor     .10000E-03    9.6966       -.23893E-06** at limit **
  12  Prefactor     93.437        35.673       -.31564E-05   -.86706E-04
  13  Prefactor     .10000E-03    17.007        .31235E-05** at limit **
  14  Prefactor     .10000E-03    3.3993       -.84560E-08** at limit **
  15  norm          .53460        .16569        .11563E-07   -.19389E-02
  16  norm          .10000E-03    1.9793        .28023E-07** at limit **
  17  norm          .10000E-03    11.946       -.94867E-06** at limit **
  18  Prefactor     46.003        47.649        .22192E-04   -.33278E-04
  19  Prefactor     .10000E-03    10.925        .25766E-05** at limit **
  20  Prefactor     .10000E-03    14.867       -.31630E-05** at limit **
  21  Prefactor     32.044        24.996        .85125E-06   -.22343E-04
  22  Normalizat    1.5467        .21522       -.46627E-05    .50546E-04
  23  Prefactor     .66057        .12352       -.12964E-05   -.37283E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.14784
  Prefactor  = 0.0001
  norm       = 4.51466
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 78.7677
  norm       = 0.000100002
  norm       = 56.7937
  Prefactor  = 30.6332
  Prefactor  = 8.83071
  Prefactor  = 0.0001
  Prefactor  = 93.4369
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.534603
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 46.0033
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.0442
  Normalizat = 1.54667
  Prefactor  = 0.660574
 **********
 **   18 **HESSE 
 **********

 FCN=   8954.998     FROM HESSE     STATUS=OK           366 CALLS     2954 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.1478        28.278        .13252E-03   -1.5103    
   2  Prefactor     .10000E-03    9.7150        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.5147        3.0264        .13076E-03   -1.5283    
   4  Prefactor     .10000E-03    23.494        .34926E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.3832        .10722E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     78.768        36.884        .45251E-04   -1.3931    
   7  norm          .10000E-03    15.836        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          56.794        10.315        .53232E-04   -1.4199    
   9  Prefactor     30.633        28.125        .72401E-04   -1.4600    
  10  Prefactor     8.8307        23.580        .13494E-03   -1.5114    
  11  Prefactor     .10000E-03    9.7331        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     93.437        35.809        .41576E-04   -1.3772    
  13  Prefactor     .10000E-03    17.028        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.4167        .17038E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .53460        .16494        .20286E-04   -1.5562    
  16  norm          .10000E-03    1.9919        .13001E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    11.947        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     46.003        47.605        .59126E-04   -1.4350    
  19  Prefactor     .10000E-03    11.101        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    14.951        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     32.044        24.994        .70785E-04   -1.4575    
  22  Normalizat    1.5467        .26035        .28392E-03   -.76475    
  23  Prefactor     .66057        .15037        .24984E-03   -1.0509    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.94713e-10
Minuit parameter uncertainties:
  1  28.3189
  2  3.33299e-05
  3  3.02647
  4  9.75694e-05
  5  3.94997e-06
  6  36.8946
  7  0.000333182
  8  10.3151
  9  28.1369
  10  23.6047
  11  4.27943e-06
  12  35.8169
  13  3.02724e-05
  14  1.28139e-08
  15  0.164941
  16  4.39369e-06
  17  3.38421e-06
  18  47.6439
  19  2.79887e-05
  20  2.83041e-05
  21  25.0025
  22  0.260578
  23  0.15046
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  9.344e+01  3.582e+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:  6.606e-01  1.505e-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:  1.547e+00  2.606e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 19.18
Ra Dec: 223.544 16.375
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 1.40e-07 +/- 5.37e-08
Energy Flux (Fixed Index): 4.54e-05 +/- 1.74e-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) = 8954.81066199
delta logL = 0.187329441505

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8954.78605899
delta logL = 0.211932444745

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    102.48       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1782       1.0000          .0000       10.000    
     3 'Normalizat'    1.5807       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .64840       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=   8954.786     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      276 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     102.48        40.622        .39718E-04    .33718E-03
   2  Index         2.1780        .35898        .59852E-02    .14881E-03
   3  Normalizat    1.5808        .25436        .28159E-03   -.52566E-04
   4  Prefactor     .64840        .15069        .25206E-03   -.68919E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 102.475
  Index      = 2.17803
  Normalizat = 1.58076
  Prefactor  = 0.648399
 **********
 **   18 **HESSE 
 **********

 FCN=   8954.786     FROM HESSE     STATUS=OK            25 CALLS      301 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     102.48        40.433        .79437E-05   -1.3680    
   2  Index         2.1780        .35688        .23941E-03   -.59970    
   3  Normalizat    1.5808        .25463        .11264E-04   -.75534    
   4  Prefactor     .64840        .15086        .10082E-04   -1.0559    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.97121e-10
Minuit parameter uncertainties:
  1  40.4436
  2  0.357328
  3  0.254835
  4  0.150957
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/842949': 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) = 8954.78605892
delta logL = 0.211932512591

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.025e+02  4.044e+01  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.178e+00  3.573e-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:  6.484e-01  1.510e-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:  1.581e+00  2.548e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 19.53
Ra Dec: 223.544 16.375
Photon Index (Free Index): 2.18 +/- 0.36
Photon Flux (Free Index): 1.10e-07 +/- 6.45e-08
Energy Flux (Free Index): 5.15e-05 +/- 2.38e-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/842949/cmap_HighResolution_449539201_449798401_4FGL_J1454.1+1622_daily_bin811.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.40e-07', energy_flux2='5.15e-05', photon_flux_error='5.37e-08', dlogl='2.12e-01', energy_flux='4.54e-05', photon_flux2='1.10e-07', job_status='DONE', time_completed='2021-09-10 12:38:27.724409', photon_index_error2='0.36', photon_index2='2.18', ts='19.18', fit_tolerance='1e-08', GAL='0.66', photon_index_error='0.00', energy_flux_error2='2.38e-05', EG='1.55', time_epoch_completed='1631302707.72', return_code='0', job_id='842949', GAL2='0.65', EG2='1.58', return_code2='0', energy_flux_error='1.74e-05', photon_flux_error2='6.45e-08', ts2='19.53', photon_index='2.41' WHERE bin_id='811' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:38:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0232>
Subject: Job 842949: <4FGL_J1454.1+1622_daily_bin811> in cluster <slac> Done

Job <4FGL_J1454.1+1622_daily_bin811> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 12:27:11 2021
Job was executed on host(s) <bullet0232>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:27:12 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 12:27:12 2021
Terminated at Fri Sep 10 12:38:28 2021
Results reported at Fri Sep 10 12:38:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin811 223.544 16.3747 449539201 449798401 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 :                                   650.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             347.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   676 sec.
    Turnaround time :                            677 sec.

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

