aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 201 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 = 7544
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2146.5-1344_daily_bin1689
RA = 326.645, Dec = -13.7347
tmin = 677116801, tmax = 677376001
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='994072', job_status='RUN', time_executed='2022-06-20 01:05:25.524639', time_epoch_executed='1655712325.52' WHERE source_name='4FGL J2146.5-1344' and cadence='daily' and bin_id='1689'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/994072

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/994072/ft1_4FGL_J2146.5-1344_daily_bin1689.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/994072/ft2_4FGL_J2146.5-1344_daily_bin1689.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/994072/ft1_4FGL_J2146.5-1344_daily_bin1689.fits outfile=/scratch/kocevski/994072/ft1_filteredMKT_4FGL_J2146.5-1344_daily_bin1689.fits ra=326.645 dec=-13.7347 rad=12.0 tmin=677116801.0 tmax=677376001.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 2.76
user 2.54
sys 0.20

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

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

Number of photons that the gtmktime cut: 497

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/994072/ft1_filtered_4FGL_J2146.5-1344_daily_bin1689.fits" evtable="EVENTS" scfile=/scratch/kocevski/994072/ft2_4FGL_J2146.5-1344_daily_bin1689.fits sctable="SC_DATA" outfile=/scratch/kocevski/994072/ltcube_677116801_677376001_4FGL_J2146.5-1344_daily_bin1689.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/994072/ft2_4FGL_J2146.5-1344_daily_bin1689.fits
.....................!
real 15.43
user 15.04
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/994072/ft1_filtered_4FGL_J2146.5-1344_daily_bin1689.fits evtable="EVENTS" scfile=/scratch/kocevski/994072/ft2_4FGL_J2146.5-1344_daily_bin1689.fits sctable="SC_DATA" expcube=/scratch/kocevski/994072/ltcube_677116801_677376001_4FGL_J2146.5-1344_daily_bin1689.fits outfile=/scratch/kocevski/994072/expmap_677116801_677376001_4FGL_J2146.5-1344_daily_bin1689.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/994072/ltcube_677116801_677376001_4FGL_J2146.5-1344_daily_bin1689.fits
.....................!
real 192.50
user 186.40
sys 5.60

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/994072/ft1_filtered_4FGL_J2146.5-1344_daily_bin1689.fits scfile=/scratch/kocevski/994072/ft2_4FGL_J2146.5-1344_daily_bin1689.fits outfile=/scratch/kocevski/994072/cmap_677116801_677376001_4FGL_J2146.5-1344_daily_bin1689.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.56
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/994072/ft1_filtered_4FGL_J2146.5-1344_daily_bin1689.fits scfile=/scratch/kocevski/994072/ft2_4FGL_J2146.5-1344_daily_bin1689.fits outfile=/scratch/kocevski/994072/cmap_HighResolution_677116801_677376001_4FGL_J2146.5-1344_daily_bin1689.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.58
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/994072/ft1_filtered_4FGL_J2146.5-1344_daily_bin1689.fits evtable="EVENTS" scfile=/scratch/kocevski/994072/ft2_4FGL_J2146.5-1344_daily_bin1689.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/994072/Model_4FGL_J2146.5-1344_daily_bin1689.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/994072/ft1_filtered_4FGL_J2146.5-1344_daily_bin1689.fits.....................!
real 55.08
user 53.63
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/994072/ft1_filtered_4FGL_J2146.5-1344_daily_bin1689.fits', '/scratch/kocevski/994072/ft2_4FGL_J2146.5-1344_daily_bin1689.fits', expMap='/scratch/kocevski/994072/expmap_677116801_677376001_4FGL_J2146.5-1344_daily_bin1689.fits', expCube='/scratch/kocevski/994072/ltcube_677116801_677376001_4FGL_J2146.5-1344_daily_bin1689.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/994072/Model_4FGL_J2146.5-1344_daily_bin1689.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/994072/ft1_filtered_4FGL_J2146.5-1344_daily_bin1689.fits
Spacecraft file(s): /scratch/kocevski/994072/ft2_4FGL_J2146.5-1344_daily_bin1689.fits
Exposure map: /scratch/kocevski/994072/expmap_677116801_677376001_4FGL_J2146.5-1344_daily_bin1689.fits
Exposure cube: /scratch/kocevski/994072/ltcube_677116801_677376001_4FGL_J2146.5-1344_daily_bin1689.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/994072/Model_4FGL_J2146.5-1344_daily_bin1689.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) = 5457.67293234

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.9779       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .55880       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.0594       1.0000         .10000E-03   10000.    
     7 'Prefactor '    20.550       1.0000         .10000E-03   10000.    
     8 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.8635       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10179E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.689       1.0000         .10000E-03   10000.    
    12 'Prefactor '    19.490       1.0000         .10000E-03   10000.    
    13 'Prefactor '    53.643       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .64002E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.9100       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .58896       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.

 FCN=   5457.660     FROM MIGRAD    STATUS=CONVERGED    330 CALLS     1628 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.9784        8.9474        .41740E-05   -.44846E-03
   2  Prefactor     .10000E-03    4.0413       -.18651E-07** at limit **
   3  Prefactor     .10003E-03    51.407       -.82629E-05** at limit **
   4  Prefactor     .55904        4.5131        .17457E-05   -.23424E-03
   5  Prefactor     .10000E-03    7.0123        .40569E-07** at limit **
   6  Prefactor     6.0594        21.393        .32319E-05   -.95053E-04
   7  Prefactor     20.542        24.174       -.10297E-05   -.16592E-03
   8  norm          .10000E-03    3.4290       -.23428E-07** at limit **
   9  Prefactor     8.8627        6.9252        .13090E-06    .18745E-04
  10  Prefactor     .10000E-03    18.414       -.45471E-06** at limit **
  11  Prefactor     11.687        10.390        .53463E-07    .11504E-04
  12  Prefactor     19.484        16.086        .95154E-07   -.33904E-04
  13  Prefactor     53.642        77.663        .15293E-06   -.29091E-04
  14  Prefactor     .10002E-03    45.759        .73319E-05** at limit **
  15  norm          .10002E-03    2.4876        .47479E-06** at limit **
  16  Normalizat    1.9105        .26228        .34378E-06   -.10741E-03
  17  Prefactor     .58866        .14901       -.86408E-06   -.42687E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.97843
  Prefactor  = 0.0001
  Prefactor  = 0.00010003
  Prefactor  = 0.559035
  Prefactor  = 0.0001
  Prefactor  = 6.05938
  Prefactor  = 20.5417
  norm       = 0.0001
  Prefactor  = 8.86265
  Prefactor  = 0.0001
  Prefactor  = 11.6875
  Prefactor  = 19.4841
  Prefactor  = 53.6424
  Prefactor  = 0.000100024
  norm       = 0.000100019
  Normalizat = 1.91054
  Prefactor  = 0.588663
 **********
 **   18 **HESSE 
 **********

 FCN=   5457.660     FROM HESSE     STATUS=OK           223 CALLS     1851 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.9784        9.2285        .10111E-02   -1.5309    
   2  Prefactor     .10000E-03    4.0430        .14505E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10003E-03    55.841        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55904        4.5206        .30674E-03   -1.5558    
   5  Prefactor     .10000E-03    7.0386        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.0594        21.514        .81554E-03   -1.5216    
   7  Prefactor     20.542        24.425        .88356E-04   -1.4801    
   8  norm          .10000E-03    3.4316        .13360E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.8627        6.9246        .13463E-03   -1.5112    
  10  Prefactor     .10000E-03    18.492        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.687        10.398        .11717E-03   -1.5024    
  12  Prefactor     19.484        16.189        .90724E-04   -1.4825    
  13  Prefactor     53.642        76.564        .54764E-04   -1.4242    
  14  Prefactor     .10002E-03    49.216        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10002E-03    16.836        .22005E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.9105        .31326        .25998E-03   -.66812    
  17  Prefactor     .58866        .17653        .25367E-03   -1.0807    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.79493e-09
Minuit parameter uncertainties:
  1  9.23178
  2  1.18678e-06
  3  0.00260397
  4  3.17945
  5  4.37371e-06
  6  21.5412
  7  24.4374
  8  1.90814e-06
  9  6.92521
  10  4.13552e-05
  11  10.3995
  12  16.1931
  13  76.7048
  14  0.00216896
  15  0.00111657
  16  0.313591
  17  0.176698
Done.

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

Extracting fit parameters...

4FGL J2146.5-1344
   Spectrum: LogParabola
295         norm:  1.000e-04  1.908e-06  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:  5.887e-01  1.767e-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.911e+00  3.136e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/994072/likelihoodResults_677116801_677376001_4FGL_J2146.5-1344_daily_bin1689.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) = 5457.66179063
delta logL = -0.00130904961316

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5457.66048155
delta logL = 3.19005266647e-08

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 'alpha     '    1.5034       1.0000          .0000       5.0000    
     3 'Normalizat'    1.9105       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .58868       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=   5457.660     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      236 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    25.204        .13398E-01** at limit **
   2  alpha         1.8940        2.7737        .50000       -.20441E-07
   3  Normalizat    1.9105        .16724E-01    .25998E-03   -.21971E-03
   4  Prefactor     .58866        .97928E-02    .25367E-03   -.20002E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.89402
  Normalizat = 1.91054
  Prefactor  = 0.588662
 **********
 **   18 **HESSE 
 **********

 FCN=   5457.660     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      265 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    317.13        .13769E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8940        3.6684        .50000       -.24483    
   3  Normalizat    1.9105        .66061E-01    .51995E-04   -.66812    
   4  Prefactor     .58866        .38682E-01    .10147E-04   -1.0807    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.85044e-10
Minuit parameter uncertainties:
  1  3.41967e-05
  2  2081.46
  3  0.066064
  4  0.0386834
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/994072': 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): 102
logL (Free Index) = 5457.66048064
delta logL = 9.42928636505e-07

Extracting fit parameters...

4FGL J2146.5-1344
   Spectrum: LogParabola
295         norm:  1.000e-04  3.420e-05  1.000e-04  1.000e+04 ( 1.000e-13)
296        alpha:  1.894e+00  2.081e+03  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:  5.887e-01  3.868e-02  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.911e+00  6.606e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 326.645 -13.735

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/994072/cmap_HighResolution_677116801_677376001_4FGL_J2146.5-1344_daily_bin1689.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.23e-05', job_status='DONE', photon_flux_upper_limit='3.09e-08', time_completed='2022-06-20 01:14:07.484823', job_id='994072', GAL2='0.59', fit_tolerance='1e-08', EG2='1.91', EG='1.91', time_epoch_completed='1655712847.48', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.59', dlogl='9.43e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.50' WHERE bin_id='1689' AND source_name='4FGL J2146.5-1344' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jun 20 01:14:07 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0258>
Subject: Job 994072: <4FGL_J2146.5-1344_daily_bin1689> in cluster <slac> Done

Job <4FGL_J2146.5-1344_daily_bin1689> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Jun 20 01:00:28 2022
Job was executed on host(s) <bullet0258>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jun 20 01:01:56 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jun 20 01:01:56 2022
Terminated at Mon Jun 20 01:14:08 2022
Results reported at Mon Jun 20 01:14:08 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2146.5-1344_daily_bin1689 326.645 -13.7347 677116801 677376001 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 :                                   523.11 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             258.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   731 sec.
    Turnaround time :                            820 sec.

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

