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 149 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 = 7505
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2146.4-1528_daily_bin1687
RA = 326.621, Dec = -15.4757
tmin = 676598401, tmax = 676857601
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='700214', job_status='RUN', time_executed='2022-06-14 01:38:16.712174', time_epoch_executed='1655195896.71' WHERE source_name='4FGL J2146.4-1528' and cadence='daily' and bin_id='1687'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/700214

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/700214/ft1_4FGL_J2146.4-1528_daily_bin1687.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/700214/ft2_4FGL_J2146.4-1528_daily_bin1687.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/700214/ft1_4FGL_J2146.4-1528_daily_bin1687.fits outfile=/scratch/kocevski/700214/ft1_filteredMKT_4FGL_J2146.4-1528_daily_bin1687.fits ra=326.621 dec=-15.4757 rad=12.0 tmin=676598401.0 tmax=676857601.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.89
user 2.66
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/700214/ft2_4FGL_J2146.4-1528_daily_bin1687.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/700214/ft2_4FGL_J2146.4-1528_daily_bin1687.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/700214/ft1_filteredMKT_4FGL_J2146.4-1528_daily_bin1687.fits evtable="EVENTS" outfile="/scratch/kocevski/700214/ft1_filtered_4FGL_J2146.4-1528_daily_bin1687.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.51
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 599

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/700214/ft1_filtered_4FGL_J2146.4-1528_daily_bin1687.fits" evtable="EVENTS" scfile=/scratch/kocevski/700214/ft2_4FGL_J2146.4-1528_daily_bin1687.fits sctable="SC_DATA" outfile=/scratch/kocevski/700214/ltcube_676598401_676857601_4FGL_J2146.4-1528_daily_bin1687.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/700214/ft2_4FGL_J2146.4-1528_daily_bin1687.fits
.....................!
real 14.55
user 14.17
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/700214/ft1_filtered_4FGL_J2146.4-1528_daily_bin1687.fits evtable="EVENTS" scfile=/scratch/kocevski/700214/ft2_4FGL_J2146.4-1528_daily_bin1687.fits sctable="SC_DATA" expcube=/scratch/kocevski/700214/ltcube_676598401_676857601_4FGL_J2146.4-1528_daily_bin1687.fits outfile=/scratch/kocevski/700214/expmap_676598401_676857601_4FGL_J2146.4-1528_daily_bin1687.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/700214/ltcube_676598401_676857601_4FGL_J2146.4-1528_daily_bin1687.fits
.....................!
real 192.27
user 186.40
sys 5.38

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

Setting source of interest to:
4FGL J2146.4-1528 @ 326.621 -15.4757

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/700214/ft1_filtered_4FGL_J2146.4-1528_daily_bin1687.fits scfile=/scratch/kocevski/700214/ft2_4FGL_J2146.4-1528_daily_bin1687.fits outfile=/scratch/kocevski/700214/cmap_676598401_676857601_4FGL_J2146.4-1528_daily_bin1687.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.621 yref=-15.4757 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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/700214/ft1_filtered_4FGL_J2146.4-1528_daily_bin1687.fits scfile=/scratch/kocevski/700214/ft2_4FGL_J2146.4-1528_daily_bin1687.fits outfile=/scratch/kocevski/700214/cmap_HighResolution_676598401_676857601_4FGL_J2146.4-1528_daily_bin1687.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.621 yref=-15.4757 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/700214/ft1_filtered_4FGL_J2146.4-1528_daily_bin1687.fits evtable="EVENTS" scfile=/scratch/kocevski/700214/ft2_4FGL_J2146.4-1528_daily_bin1687.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/700214/Model_4FGL_J2146.4-1528_daily_bin1687.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/700214/ft1_filtered_4FGL_J2146.4-1528_daily_bin1687.fits.....................!
real 59.31
user 57.90
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/700214/ft1_filtered_4FGL_J2146.4-1528_daily_bin1687.fits', '/scratch/kocevski/700214/ft2_4FGL_J2146.4-1528_daily_bin1687.fits', expMap='/scratch/kocevski/700214/expmap_676598401_676857601_4FGL_J2146.4-1528_daily_bin1687.fits', expCube='/scratch/kocevski/700214/ltcube_676598401_676857601_4FGL_J2146.4-1528_daily_bin1687.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/700214/Model_4FGL_J2146.4-1528_daily_bin1687.xml', optimizer='MINUIT')

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

4FGL J2146.4-1528
   Spectrum: PowerLaw
286    Prefactor:  4.163e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  2.796e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  4.246e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/700214/ft1_filtered_4FGL_J2146.4-1528_daily_bin1687.fits
Spacecraft file(s): /scratch/kocevski/700214/ft2_4FGL_J2146.4-1528_daily_bin1687.fits
Exposure map: /scratch/kocevski/700214/expmap_676598401_676857601_4FGL_J2146.4-1528_daily_bin1687.fits
Exposure cube: /scratch/kocevski/700214/ltcube_676598401_676857601_4FGL_J2146.4-1528_daily_bin1687.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/700214/Model_4FGL_J2146.4-1528_daily_bin1687.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) = 6523.42533793

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10134E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.8031       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.1688       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .53742E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.9046       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .13750E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.613       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.7870       1.0000         .10000E-03   10000.    
    12 'Prefactor '    30.244       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0689       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .93825       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5310E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6523.391     FROM MIGRAD    STATUS=CONVERGED    336 CALLS     1390 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.2835       -.37539E-06** at limit **
   2  Prefactor     6.7970        14.472        .59984E-06   -.50771E-04
   3  Prefactor     .10000E-03    1.8525        .40954E-08** at limit **
   4  Prefactor     3.1686        4.7612       -.32561E-06   -.35640E-03
   5  Prefactor     .10006E-03    225.99       -.16849E-03** at limit **
   6  Prefactor     .10000E-03    4.1263        .42883E-07** at limit **
   7  Prefactor     .10000E-03    7.6816        .11788E-06** at limit **
   8  norm          1.9038        4.0187       -.41080E-06   -.47069E-03
   9  Prefactor     .10009E-03    5.9223        .87195E-06** at limit **
  10  Prefactor     10.620        13.028       -.10101E-05   -.76595E-04
  11  Prefactor     9.7853        8.8928       -.24820E-06   -.62443E-04
  12  Prefactor     30.255        13.751       -.91654E-06   -.11425E-03
  13  Prefactor     .10000E-03    4.8826        .13419E-07** at limit **
  14  Prefactor     .10000E-03    16.034        .13958E-05** at limit **
  15  Prefactor     .10000E-03    23.094       -.29497E-05** at limit **
  16  Normalizat    1.0689        .19926        .62750E-06    .26022E-03
  17  Prefactor     .93828        .12611        .14960E-06    .45358E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 6.79702
  Prefactor  = 0.0001
  Prefactor  = 3.16856
  Prefactor  = 0.000100055
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.90375
  Prefactor  = 0.000100094
  Prefactor  = 10.6202
  Prefactor  = 9.78533
  Prefactor  = 30.2546
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.06891
  Prefactor  = 0.938277
 **********
 **   18 **HESSE 
 **********

 FCN=   6523.391     FROM HESSE     STATUS=OK           223 CALLS     1613 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.2958        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.7970        14.461        .15383E-03   -1.5186    
   3  Prefactor     .10000E-03    1.8574        .10735E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.1686        4.7486        .20965E-03   -1.5352    
   5  Prefactor     .10006E-03    225.59        .42242E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.1319        .16023E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.7304        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.9038        3.9868        .22949E-03   -1.5432    
   9  Prefactor     .10009E-03    56.669        .36384E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     10.620        12.994        .12299E-03   -1.5056    
  11  Prefactor     9.7853        8.8910        .12809E-03   -1.5082    
  12  Prefactor     30.255        13.782        .72854E-04   -1.4607    
  13  Prefactor     .10000E-03    4.8859        .17430E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    16.038        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    23.115        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.0689        .23596        .28293E-03   -.90756    
  17  Prefactor     .93828        .15136        .19577E-03   -.94816    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.37644e-09
Minuit parameter uncertainties:
  1  7.92212e-06
  2  14.4686
  3  1.4963e-07
  4  4.74912
  5  0.00708662
  6  9.11564e-07
  7  4.71436e-07
  8  3.98731
  9  0.00463203
  10  12.997
  11  8.89223
  12  13.783
  13  4.36861e-07
  14  1.40457e-06
  15  8.15099e-07
  16  0.236189
  17  0.151427
Done.

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

Extracting fit parameters...

4FGL J2146.4-1528
   Spectrum: PowerLaw
286    Prefactor:  1.000e-04  4.714e-07  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  2.796e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  4.246e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
528    Prefactor:  9.383e-01  1.514e-01  0.000e+00  1.000e+01 ( 1.000e+00)
529        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
530        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
527   Normalization:  1.069e+00  2.362e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 326.621 -15.476
Photon Flux Upper Limit: 7.95e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.29e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/700214/likelihoodResults_676598401_676857601_4FGL_J2146.4-1528_daily_bin1687.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) = 6523.39149459
delta logL = -0.000616511562839

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6523.39087822
delta logL = -1.39146322908e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8016       1.0000          .0000       10.000    
     3 'Normalizat'    1.0688       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93835       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5310E+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=   6523.391     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      251 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    882.99        .18142E-02** at limit **
   2  Index         3.1465        7.7865        .50000       -.70031E-08
   3  Normalizat    1.0689        .61562E-01    .28293E-03   -.17013E-03
   4  Prefactor     .93828        .40423E-01    .19577E-03   -.25511E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 3.14652
  Normalizat = 1.06891
  Prefactor  = 0.938276
 **********
 **   18 **HESSE 
 **********

 FCN=   6523.391     FROM HESSE     STATUS=OK            29 CALLS      280 TOTAL
                     EDM=   .55E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.859        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.1465        6.2086        .50000       -.37976    
   3  Normalizat    1.0689        .22897        .11317E-04   -.90756    
   4  Prefactor     .93828        .15041        .39153E-04   -.94816    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.53563e-11
Minuit parameter uncertainties:
  1  6.64698e-05
  2  445.736
  3  0.229182
  4  0.150475
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/700214': 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) = 6523.39087783
delta logL = 2.51541678153e-07

Extracting fit parameters...

4FGL J2146.4-1528
   Spectrum: PowerLaw
286    Prefactor:  1.000e-04  6.647e-05  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  3.147e+00  4.457e+02  0.000e+00  1.000e+01 (-1.000e+00)
288        Scale:  4.246e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
528    Prefactor:  9.383e-01  1.505e-01  0.000e+00  1.000e+01 ( 1.000e+00)
529        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
530        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
527   Normalization:  1.069e+00  2.292e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 326.621 -15.476

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/700214/cmap_HighResolution_676598401_676857601_4FGL_J2146.4-1528_daily_bin1687.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.29e-03', job_status='DONE', photon_flux_upper_limit='7.95e-08', time_completed='2022-06-14 01:47:12.462692', job_id='700214', GAL2='0.94', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1655196432.46', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='2.52e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.80' WHERE bin_id='1687' AND source_name='4FGL J2146.4-1528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jun 14 01:47:12 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 700214: <4FGL_J2146.4-1528_daily_bin1687> in cluster <slac> Done

Job <4FGL_J2146.4-1528_daily_bin1687> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Jun 14 01:35:17 2022
Job was executed on host(s) <bullet0075>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jun 14 01:35:39 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jun 14 01:35:39 2022
Terminated at Tue Jun 14 01:47:13 2022
Results reported at Tue Jun 14 01:47:13 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2146.4-1528_daily_bin1687 326.621 -15.4757 676598401 676857601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2146.4-1528 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   537.27 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             270.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   694 sec.
    Turnaround time :                            716 sec.

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

