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


Performing analysis on: 4FGL_J2146.5-1344_daily_bin1707
RA = 326.645, Dec = -13.7347
tmin = 681782401, tmax = 682041601
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='550226', job_status='RUN', time_executed='2022-08-13 00:32:22.707783', time_epoch_executed='1660375942.71' WHERE source_name='4FGL J2146.5-1344' and cadence='daily' and bin_id='1707'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/550226

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/550226/ft1_4FGL_J2146.5-1344_daily_bin1707.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/550226/ft2_4FGL_J2146.5-1344_daily_bin1707.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/550226/ft1_4FGL_J2146.5-1344_daily_bin1707.fits outfile=/scratch/kocevski/550226/ft1_filteredMKT_4FGL_J2146.5-1344_daily_bin1707.fits ra=326.645 dec=-13.7347 rad=12.0 tmin=681782401.0 tmax=682041601.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.41
user 5.16
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/550226/ft2_4FGL_J2146.5-1344_daily_bin1707.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/550226/ft1_filteredMKT_4FGL_J2146.5-1344_daily_bin1707.fits evtable="EVENTS" outfile="/scratch/kocevski/550226/ft1_filtered_4FGL_J2146.5-1344_daily_bin1707.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.49
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 546

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/550226/ft1_filtered_4FGL_J2146.5-1344_daily_bin1707.fits" evtable="EVENTS" scfile=/scratch/kocevski/550226/ft2_4FGL_J2146.5-1344_daily_bin1707.fits sctable="SC_DATA" outfile=/scratch/kocevski/550226/ltcube_681782401_682041601_4FGL_J2146.5-1344_daily_bin1707.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/550226/ft2_4FGL_J2146.5-1344_daily_bin1707.fits
.....................!
real 11.80
user 11.46
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/550226/ft1_filtered_4FGL_J2146.5-1344_daily_bin1707.fits evtable="EVENTS" scfile=/scratch/kocevski/550226/ft2_4FGL_J2146.5-1344_daily_bin1707.fits sctable="SC_DATA" expcube=/scratch/kocevski/550226/ltcube_681782401_682041601_4FGL_J2146.5-1344_daily_bin1707.fits outfile=/scratch/kocevski/550226/expmap_681782401_682041601_4FGL_J2146.5-1344_daily_bin1707.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/550226/ltcube_681782401_682041601_4FGL_J2146.5-1344_daily_bin1707.fits
.....................!
real 190.36
user 185.32
sys 4.59

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/550226/ft1_filtered_4FGL_J2146.5-1344_daily_bin1707.fits scfile=/scratch/kocevski/550226/ft2_4FGL_J2146.5-1344_daily_bin1707.fits outfile=/scratch/kocevski/550226/cmap_681782401_682041601_4FGL_J2146.5-1344_daily_bin1707.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/550226/ft1_filtered_4FGL_J2146.5-1344_daily_bin1707.fits scfile=/scratch/kocevski/550226/ft2_4FGL_J2146.5-1344_daily_bin1707.fits outfile=/scratch/kocevski/550226/cmap_HighResolution_681782401_682041601_4FGL_J2146.5-1344_daily_bin1707.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.55
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/550226/ft1_filtered_4FGL_J2146.5-1344_daily_bin1707.fits evtable="EVENTS" scfile=/scratch/kocevski/550226/ft2_4FGL_J2146.5-1344_daily_bin1707.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/550226/Model_4FGL_J2146.5-1344_daily_bin1707.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/550226/ft1_filtered_4FGL_J2146.5-1344_daily_bin1707.fits.....................!
real 59.34
user 58.02
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .43511E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    56.161       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.9046       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .36233E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.606       1.0000         .10000E-03   10000.    
     7 'Prefactor '    24.396       1.0000         .10000E-03   10000.    
     8 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .13223E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10587E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.4406       1.0000         .10000E-03   10000.    
    12 'Prefactor '    38.033       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    39.605       1.0000         .10000E-03   10000.    
    15 'norm      '    .71597       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.5825       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .79197       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=   5933.342     FROM MIGRAD    STATUS=CONVERGED    360 CALLS     1761 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.2559       -.21284E-07** at limit **
   2  Prefactor     .10002E-03    8.4208        .71959E-07** at limit **
   3  Prefactor     56.144        60.408       -.15756E-04   -.14408E-05
   4  Prefactor     1.9043        4.2536       -.65154E-06   -.68562E-03
   5  Prefactor     .10001E-03    5.1432       -.31676E-06** at limit **
   6  Prefactor     13.597        40.412       -.89109E-05   -.41146E-05
   7  Prefactor     24.389        22.173       -.45893E-06   -.14244E-03
   8  norm          .10000E-03    2.5323       -.17510E-07** at limit **
   9  Prefactor     .10014E-03    6.3309        .26594E-05** at limit **
  10  Prefactor     .10000E-03    22.221       -.81316E-05** at limit **
  11  Prefactor     3.4412        6.0454       -.72494E-06   -.19707E-03
  12  Prefactor     38.040        20.116       -.10827E-05   -.15045E-03
  13  Prefactor     .10000E-03    28.383       -.25491E-05** at limit **
  14  Prefactor     39.612        74.696        .82280E-05    .28161E-05
  15  norm          .71391        4.8650       -.16828E-05   -.28119E-03
  16  Normalizat    1.5821        .24530        .10823E-05   -.19148E-03
  17  Prefactor     .79219        .13775        .34867E-06   -.16708E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100018
  Prefactor  = 56.1443
  Prefactor  = 1.90426
  Prefactor  = 0.000100012
  Prefactor  = 13.5968
  Prefactor  = 24.3891
  norm       = 0.0001
  Prefactor  = 0.000100141
  Prefactor  = 0.0001
  Prefactor  = 3.44124
  Prefactor  = 38.0404
  Prefactor  = 0.0001
  Prefactor  = 39.6123
  norm       = 0.713907
  Normalizat = 1.58209
  Prefactor  = 0.792187
 **********
 **   18 **HESSE 
 **********

 FCN=   5933.342     FROM HESSE     STATUS=OK           233 CALLS     1994 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.2598        .17245E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10002E-03    62.107        .42802E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     56.144        60.203        .53528E-04   -1.4208    
   4  Prefactor     1.9043        4.2747        .23182E-03   -1.5432    
   5  Prefactor     .10001E-03    5.4803        .54999E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     13.597        40.413        .10859E-03   -1.4970    
   7  Prefactor     24.389        22.296        .81100E-04   -1.4720    
   8  norm          .10000E-03    2.5333        .11971E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10014E-03    22.739        .35831E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    22.317        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.4412        6.0477        .21805E-03   -1.5337    
  12  Prefactor     38.040        20.163        .64989E-04   -1.4474    
  13  Prefactor     .10000E-03    28.378        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     39.612        74.658        .63691E-04   -1.4448    
  15  norm          .71391        10.680        .32737E-02   -1.5539    
  16  Normalizat    1.5821        .29446        .27483E-03   -.75497    
  17  Prefactor     .79219        .16536        .22027E-03   -1.0002    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.97501e-09
Minuit parameter uncertainties:
  1  1.32582e-06
  2  0.00211104
  3  60.2683
  4  4.27542
  5  0.000520286
  6  40.4949
  7  22.3039
  8  1.48568e-06
  9  0.00357831
  10  2.34626e-06
  11  6.04879
  12  20.1667
  13  8.70035e-06
  14  74.8353
  15  5.52333
  16  0.294785
  17  0.165461
Done.

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

Extracting fit parameters...

4FGL J2146.5-1344
   Spectrum: LogParabola
295         norm:  1.000e-04  1.486e-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:  7.922e-01  1.655e-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.582e+00  2.948e-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: 2.43e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.26e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/550226/likelihoodResults_681782401_682041601_4FGL_J2146.5-1344_daily_bin1707.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) = 5933.34412387
delta logL = -0.00168593101353

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5933.34243794
delta logL = -2.4101609597e-10

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.4962       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5821       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79219       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=   5933.342     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      231 TOTAL
                     EDM=   .45E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    257.38        .11972E-02** at limit **
   2  alpha         1.5388        3.4400        .18566       -.18370E-09
   3  Normalizat    1.5821        .27112        .27483E-03   -.38885E-05
   4  Prefactor     .79219        .16140        .22027E-03   -.48516E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.53875
  Normalizat = 1.58209
  Prefactor  = 0.792187
 **********
 **   18 **HESSE 
 **********

 FCN=   5933.342     FROM HESSE     STATUS=OK            23 CALLS      254 TOTAL
                     EDM=   .48E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.5362        .23944E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.5388        4.0746        .74266E-02   -.39466    
   3  Normalizat    1.5821        .27140        .10993E-04   -.75497    
   4  Prefactor     .79219        .16157        .88107E-05   -1.0002    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.83159e-13
Minuit parameter uncertainties:
  1  3.44312e-06
  2  211.805
  3  0.271653
  4  0.161668
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/550226': 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) = 5933.34243792
delta logL = 2.15313775698e-08

Extracting fit parameters...

4FGL J2146.5-1344
   Spectrum: LogParabola
295         norm:  1.000e-04  3.443e-06  1.000e-04  1.000e+04 ( 1.000e-13)
296        alpha:  1.539e+00  2.118e+02  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:  7.922e-01  1.617e-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.582e+00  2.717e-01  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/550226/cmap_HighResolution_681782401_682041601_4FGL_J2146.5-1344_daily_bin1707.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.26e-05', job_status='DONE', photon_flux_upper_limit='2.43e-08', time_completed='2022-08-13 00:41:40.497180', job_id='550226', GAL2='0.79', fit_tolerance='1e-08', EG2='1.58', EG='1.58', time_epoch_completed='1660376500.5', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='2.15e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.50' WHERE bin_id='1707' AND source_name='4FGL J2146.5-1344' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 13 00:41:40 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 550226: <4FGL_J2146.5-1344_daily_bin1707> in cluster <slac> Done

Job <4FGL_J2146.5-1344_daily_bin1707> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 13 00:30:34 2022
Job was executed on host(s) <bullet0055>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 13 00:30:36 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 13 00:30:36 2022
Terminated at Sat Aug 13 00:41:41 2022
Results reported at Sat Aug 13 00:41:41 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2146.5-1344_daily_bin1707 326.645 -13.7347 681782401 682041601 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 :                                   559.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             294.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   664 sec.
    Turnaround time :                            667 sec.

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

