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


Performing analysis on: 4FGL_J2146.5-1344_daily_bin1293
RA = 326.645, Dec = -13.7347
tmin = 574473601, tmax = 574732801
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='911897', job_status='RUN', time_executed='2021-09-27 14:00:49.677753', time_epoch_executed='1632776449.68' WHERE source_name='4FGL J2146.5-1344' and cadence='daily' and bin_id='1293'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/911897

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/911897/ft1_4FGL_J2146.5-1344_daily_bin1293.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/911897/ft2_4FGL_J2146.5-1344_daily_bin1293.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/911897/ft1_4FGL_J2146.5-1344_daily_bin1293.fits outfile=/scratch/kocevski/911897/ft1_filteredMKT_4FGL_J2146.5-1344_daily_bin1293.fits ra=326.645 dec=-13.7347 rad=12.0 tmin=574473601.0 tmax=574732801.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 4.20
user 3.94
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/911897/ft2_4FGL_J2146.5-1344_daily_bin1293.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/911897/ft2_4FGL_J2146.5-1344_daily_bin1293.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/911897/ft1_filteredMKT_4FGL_J2146.5-1344_daily_bin1293.fits evtable="EVENTS" outfile="/scratch/kocevski/911897/ft1_filtered_4FGL_J2146.5-1344_daily_bin1293.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.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/911897/ft1_filtered_4FGL_J2146.5-1344_daily_bin1293.fits" evtable="EVENTS" scfile=/scratch/kocevski/911897/ft2_4FGL_J2146.5-1344_daily_bin1293.fits sctable="SC_DATA" outfile=/scratch/kocevski/911897/ltcube_574473601_574732801_4FGL_J2146.5-1344_daily_bin1293.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/911897/ft2_4FGL_J2146.5-1344_daily_bin1293.fits
.....................!
real 16.20
user 15.78
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/911897/ft1_filtered_4FGL_J2146.5-1344_daily_bin1293.fits evtable="EVENTS" scfile=/scratch/kocevski/911897/ft2_4FGL_J2146.5-1344_daily_bin1293.fits sctable="SC_DATA" expcube=/scratch/kocevski/911897/ltcube_574473601_574732801_4FGL_J2146.5-1344_daily_bin1293.fits outfile=/scratch/kocevski/911897/expmap_574473601_574732801_4FGL_J2146.5-1344_daily_bin1293.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/911897/ltcube_574473601_574732801_4FGL_J2146.5-1344_daily_bin1293.fits
.....................!
real 193.31
user 187.92
sys 4.65

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

Setting source of interest to:
4FGL J2146.5-1344 @ 326.645 -13.7347

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/911897/ft1_filtered_4FGL_J2146.5-1344_daily_bin1293.fits scfile=/scratch/kocevski/911897/ft2_4FGL_J2146.5-1344_daily_bin1293.fits outfile=/scratch/kocevski/911897/cmap_574473601_574732801_4FGL_J2146.5-1344_daily_bin1293.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=326.645 yref=-13.7347 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.59
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/911897/ft1_filtered_4FGL_J2146.5-1344_daily_bin1293.fits scfile=/scratch/kocevski/911897/ft2_4FGL_J2146.5-1344_daily_bin1293.fits outfile=/scratch/kocevski/911897/cmap_HighResolution_574473601_574732801_4FGL_J2146.5-1344_daily_bin1293.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=326.645 yref=-13.7347 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.64
user 0.41
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/911897/ft1_filtered_4FGL_J2146.5-1344_daily_bin1293.fits evtable="EVENTS" scfile=/scratch/kocevski/911897/ft2_4FGL_J2146.5-1344_daily_bin1293.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/911897/Model_4FGL_J2146.5-1344_daily_bin1293.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/911897/ft1_filtered_4FGL_J2146.5-1344_daily_bin1293.fits.....................!
real 62.38
user 60.28
sys 1.40

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/911897/ft1_filtered_4FGL_J2146.5-1344_daily_bin1293.fits', '/scratch/kocevski/911897/ft2_4FGL_J2146.5-1344_daily_bin1293.fits', expMap='/scratch/kocevski/911897/expmap_574473601_574732801_4FGL_J2146.5-1344_daily_bin1293.fits', expCube='/scratch/kocevski/911897/ltcube_574473601_574732801_4FGL_J2146.5-1344_daily_bin1293.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/911897/Model_4FGL_J2146.5-1344_daily_bin1293.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2146.5-1344'

4FGL J2146.5-1344
   Spectrum: LogParabola
295         norm:  1.885e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
296        alpha:  1.495e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
297         beta:  1.382e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  2.840e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/911897/ft1_filtered_4FGL_J2146.5-1344_daily_bin1293.fits
Spacecraft file(s): /scratch/kocevski/911897/ft2_4FGL_J2146.5-1344_daily_bin1293.fits
Exposure map: /scratch/kocevski/911897/expmap_574473601_574732801_4FGL_J2146.5-1344_daily_bin1293.fits
Exposure cube: /scratch/kocevski/911897/ltcube_574473601_574732801_4FGL_J2146.5-1344_daily_bin1293.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/911897/Model_4FGL_J2146.5-1344_daily_bin1293.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) = 6368.14837845

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15357E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.9510       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10384E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10246E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.795       1.0000         .10000E-03   10000.    
     6 'Prefactor '    22.109       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .28944E-02   1.0000         .10000E-03   10000.    
     8 'norm      '    3.2735       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.1967       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10173E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.9381       1.0000         .10000E-03   10000.    
    12 'Prefactor '    23.151       1.0000         .10000E-03   10000.    
    13 'Prefactor '    43.372       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11822E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.1508       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.3313       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .81155       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5540E+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=   6368.118     FROM MIGRAD    STATUS=CONVERGED    576 CALLS     1637 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    40.348        .18142E-02** at limit **
   2  Prefactor     1.9458        27.835        .29710E-03    .84644E-04
   3  Prefactor     .10000E-03    48.705        .18142E-02** at limit **
   4  Prefactor     .10000E-03    5.9096        .18142E-02** at limit **
   5  Prefactor     11.806        8.4699        .11664E-03    .68226E-06
   6  Prefactor     22.102        23.819        .85187E-04    .21086E-04
   7  Prefactor     .10004E-03    23.520        .82674E-01** at limit **
   8  norm          3.2766        4.8388        .10389E-02   -.14215E-04
   9  Prefactor     4.1997        5.2384        .19563E-03    .26442E-04
  10  Prefactor     .10000E-03    6.6390        .18142E-02** at limit **
  11  Prefactor     1.9389        5.5080        .29825E-03    .12274E-04
  12  Prefactor     23.152        13.778        .83250E-04   -.58721E-05
  13  Prefactor     43.383        53.467        .60874E-04    .47063E-05
  14  Prefactor     .10000E-03    38.139        .18142E-02** at limit **
  15  norm          2.1450        3.4293        .91033E-03    .19456E-03
  16  Normalizat    1.3314        .26754        .27848E-03    .10137E-03
  17  Prefactor     .81143        .15422        .20739E-03    .20844E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.94584
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.8061
  Prefactor  = 22.1019
  Prefactor  = 0.000100045
  norm       = 3.27663
  Prefactor  = 4.19973
  Prefactor  = 0.0001
  Prefactor  = 1.93892
  Prefactor  = 23.1523
  Prefactor  = 43.3833
  Prefactor  = 0.0001
  norm       = 2.14495
  Normalizat = 1.33143
  Prefactor  = 0.81143
 **********
 **   18 **HESSE 
 **********

 FCN=   6368.118     FROM HESSE     STATUS=OK           219 CALLS     1856 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    40.368        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.9458        27.811        .11884E-04   -1.5429    
   3  Prefactor     .10000E-03    48.709        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.9130        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     11.806        8.4696        .46658E-05   -1.5021    
   6  Prefactor     22.102        23.818        .34075E-05   -1.4767    
   7  Prefactor     .10004E-03    20.641        .89399E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.2766        4.8382        .41557E-04   -1.5346    
   9  Prefactor     4.1997        5.2378        .78252E-05   -1.5298    
  10  Prefactor     .10000E-03    6.6394        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.9389        5.5078        .11930E-04   -1.5429    
  12  Prefactor     23.152        13.777        .33300E-05   -1.4745    
  13  Prefactor     43.383        53.464        .12175E-04   -1.4390    
  14  Prefactor     .10000E-03    38.142        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.1450        3.4285        .36413E-04   -1.5415    
  16  Normalizat    1.3314        .26768        .11139E-04   -.82633    
  17  Prefactor     .81143        .15436        .41478E-04   -.99308    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.20871e-10
Minuit parameter uncertainties:
  1  0.000199443
  2  14.7206
  3  0.000135121
  4  7.66277e-06
  5  8.47044
  6  23.8287
  7  0.00192771
  8  4.83881
  9  5.23838
  10  4.10165e-06
  11  5.50919
  12  13.7788
  13  53.5231
  14  5.01806e-06
  15  3.42884
  16  0.267961
  17  0.154445
Done.

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

Extracting fit parameters...

4FGL J2146.5-1344
   Spectrum: LogParabola
295         norm:  3.277e+00  4.839e+00  1.000e-04  1.000e+04 ( 1.000e-13)
296        alpha:  1.495e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
297         beta:  1.382e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  2.840e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
551    Prefactor:  8.114e-01  1.544e-01  0.000e+00  1.000e+01 ( 1.000e+00)
552        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
553        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
550   Normalization:  1.331e+00  2.680e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.81
Ra Dec: 326.645 -13.735
Photon Flux Upper Limit: 3.20e-08 ph cm-2 s-1
Energy Flux Upper Limit: 9.55e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/911897/likelihoodResults_574473601_574732801_4FGL_J2146.5-1344_daily_bin1293.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) = 6367.81970687
delta logL = 0.298002737406

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6367.80579368
delta logL = 0.311915933857

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9342       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5473       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3167       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81277       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5540E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6367.806     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      258 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9320        56.914        .74651E-02    .26477E-03
   2  alpha         2.5479        3.6427        .28723        .48063E-04
   3  Normalizat    1.3167        .82416E-01    .63246E-01    .59999E-05
   4  Prefactor     .81277        .39204E-01    .43883E-01    .52687E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.93199
  alpha      = 2.54791
  Normalizat = 1.31668
  Prefactor  = 0.812765
 **********
 **   18 **HESSE 
 **********

 FCN=   6367.806     FROM HESSE     STATUS=OK            33 CALLS      291 TOTAL
                     EDM=   .42E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9320        7.0521        .12234E-03   -1.5430    
   2  alpha         2.5479        3.5935        .16555E-01    .19165E-01
   3  Normalizat    1.3167        .26880        .27975E-03   -.83070    
   4  Prefactor     .81277        .15429        .20715E-03   -.99259    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.21784e-08
Minuit parameter uncertainties:
  1  7.05512
  2  2.61452
  3  0.269083
  4  0.154368
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/911897': 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) = 6367.80579353
delta logL = 0.311916075374

Extracting fit parameters...

4FGL J2146.5-1344
   Spectrum: LogParabola
295         norm:  1.932e+00  7.055e+00  1.000e-04  1.000e+04 ( 1.000e-13)
296        alpha:  2.548e+00  2.615e+00  0.000e+00  5.000e+00 ( 1.000e+00)
297         beta:  1.382e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  2.840e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
551    Prefactor:  8.128e-01  1.544e-01  0.000e+00  1.000e+01 ( 1.000e+00)
552        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
553        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
550   Normalization:  1.317e+00  2.691e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.44
Ra Dec: 326.645 -13.735
Photon Index (Free Index): 2.55 +/- 2.61
Photon Flux (Free Index): 2.36e-08 +/- 7.20e-08
Energy Flux (Free Index): 9.74e-06 +/- 1.14e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/911897/cmap_HighResolution_574473601_574732801_4FGL_J2146.5-1344_daily_bin1293.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.55e-05', comment='SUCCESS', energy_flux2='9.74e-06', dlogl='3.12e-01', photon_flux2='2.36e-08', job_status='DONE', time_completed='2021-09-27 14:10:32.307087', photon_index_error2='2.61', photon_index2='2.55', ts='0.81', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='3.20e-08', energy_flux_error2='1.14e-05', EG='1.33', time_epoch_completed='1632777032.31', return_code='0', job_id='911897', GAL2='0.81', EG2='1.32', return_code2='0', photon_flux_error2='7.20e-08', ts2='1.44', photon_index='1.50' WHERE bin_id='1293' AND source_name='4FGL J2146.5-1344' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 14:10:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 911897: <4FGL_J2146.5-1344_daily_bin1293> in cluster <slac> Done

Job <4FGL_J2146.5-1344_daily_bin1293> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Mon Sep 27 14:00:30 2021
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 27 14:00:31 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Sep 27 14:00:31 2021
Terminated at Mon Sep 27 14:10:33 2021
Results reported at Mon Sep 27 14:10:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2146.5-1344_daily_bin1293 326.645 -13.7347 574473601 574732801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2146.5-1344 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   570.39 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             325.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   601 sec.
    Turnaround time :                            603 sec.

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

