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 206 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.4-1528_daily_bin1689
RA = 326.621, Dec = -15.4757
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='994070', job_status='RUN', time_executed='2022-06-20 01:05:31.231390', time_epoch_executed='1655712331.23' WHERE source_name='4FGL J2146.4-1528' and cadence='daily' and bin_id='1689'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/994070

Creating custom pfile directory:
/scratch/kocevski/994070/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/994070/ft1_4FGL_J2146.4-1528_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/994070/ft2_4FGL_J2146.4-1528_daily_bin1689.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/994070/ft1_4FGL_J2146.4-1528_daily_bin1689.fits outfile=/scratch/kocevski/994070/ft1_filteredMKT_4FGL_J2146.4-1528_daily_bin1689.fits ra=326.621 dec=-15.4757 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.55
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/994070/ft2_4FGL_J2146.4-1528_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/994070/ft1_filteredMKT_4FGL_J2146.4-1528_daily_bin1689.fits evtable="EVENTS" outfile="/scratch/kocevski/994070/ft1_filtered_4FGL_J2146.4-1528_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.32
sys 0.16

Number of photons that the gtmktime cut: 469

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/994070/ft1_filtered_4FGL_J2146.4-1528_daily_bin1689.fits" evtable="EVENTS" scfile=/scratch/kocevski/994070/ft2_4FGL_J2146.4-1528_daily_bin1689.fits sctable="SC_DATA" outfile=/scratch/kocevski/994070/ltcube_677116801_677376001_4FGL_J2146.4-1528_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/994070/ft2_4FGL_J2146.4-1528_daily_bin1689.fits
.....................!
real 14.27
user 13.88
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/994070/ft1_filtered_4FGL_J2146.4-1528_daily_bin1689.fits evtable="EVENTS" scfile=/scratch/kocevski/994070/ft2_4FGL_J2146.4-1528_daily_bin1689.fits sctable="SC_DATA" expcube=/scratch/kocevski/994070/ltcube_677116801_677376001_4FGL_J2146.4-1528_daily_bin1689.fits outfile=/scratch/kocevski/994070/expmap_677116801_677376001_4FGL_J2146.4-1528_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/994070/ltcube_677116801_677376001_4FGL_J2146.4-1528_daily_bin1689.fits
.....................!
real 191.75
user 187.07
sys 4.14

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/994070/ft1_filtered_4FGL_J2146.4-1528_daily_bin1689.fits scfile=/scratch/kocevski/994070/ft2_4FGL_J2146.4-1528_daily_bin1689.fits outfile=/scratch/kocevski/994070/cmap_677116801_677376001_4FGL_J2146.4-1528_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.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/994070/ft1_filtered_4FGL_J2146.4-1528_daily_bin1689.fits scfile=/scratch/kocevski/994070/ft2_4FGL_J2146.4-1528_daily_bin1689.fits outfile=/scratch/kocevski/994070/cmap_HighResolution_677116801_677376001_4FGL_J2146.4-1528_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.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/994070/ft1_filtered_4FGL_J2146.4-1528_daily_bin1689.fits evtable="EVENTS" scfile=/scratch/kocevski/994070/ft2_4FGL_J2146.4-1528_daily_bin1689.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/994070/Model_4FGL_J2146.4-1528_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/994070/ft1_filtered_4FGL_J2146.4-1528_daily_bin1689.fits.....................!
real 50.94
user 49.65
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.8041       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .53594       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.3573       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10543E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    27.454       1.0000         .10000E-03   10000.    
     8 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.5467       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10185E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.112       1.0000         .10000E-03   10000.    
    12 'Prefactor '    23.069       1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.230       1.0000         .10000E-03   10000.    
    14 'Prefactor '    34.817       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.5788       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .72057       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=   5161.015     FROM MIGRAD    STATUS=CONVERGED    325 CALLS     1575 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.8018        9.3319        .51729E-06   -.10593E-03
   2  Prefactor     .10000E-03    4.1677        .15212E-07** at limit **
   3  Prefactor     .53556        4.7068       -.15909E-05   -.13368E-02
   4  Prefactor     .10000E-03    9.2949       -.11067E-06** at limit **
   5  Prefactor     8.3146        24.187       -.32191E-04   -.11978E-04
   6  Prefactor     .10000E-03    34.029       -.24554E-05** at limit **
   7  Prefactor     27.462        25.621        .29279E-05    .11692E-04
   8  norm          .10000E-03    3.3427       -.42397E-07** at limit **
   9  Prefactor     9.5473        7.1548       -.21988E-05   -.59322E-04
  10  Prefactor     .10000E-03    20.491        .56887E-07** at limit **
  11  Prefactor     11.113        9.8933       -.24936E-06    .71014E-05
  12  Prefactor     23.075        16.625       -.10413E-06   -.10097E-05
  13  Prefactor     12.231        16.474       -.25812E-06   -.40279E-05
  14  Prefactor     34.790        71.109       -.41163E-04    .13409E-05
  15  Prefactor     .10000E-03    64.831        .10922E-04** at limit **
  16  Normalizat    1.5784        .25902        .63706E-06    .57225E-04
  17  Prefactor     .72084        .15431        .22585E-05   -.60499E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.80178
  Prefactor  = 0.0001
  Prefactor  = 0.535557
  Prefactor  = 0.0001
  Prefactor  = 8.31459
  Prefactor  = 0.0001
  Prefactor  = 27.4616
  norm       = 0.0001
  Prefactor  = 9.54726
  Prefactor  = 0.0001
  Prefactor  = 11.1131
  Prefactor  = 23.0749
  Prefactor  = 12.231
  Prefactor  = 34.7895
  Prefactor  = 0.0001
  Normalizat = 1.57842
  Prefactor  = 0.720838
 **********
 **   18 **HESSE 
 **********

 FCN=   5161.015     FROM HESSE     STATUS=OK           223 CALLS     1798 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.8018        9.3178        .20695E-03   -1.5318    
   2  Prefactor     .10000E-03    4.1695        .14324E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .53556        4.7983        .30616E-03   -1.5562    
   4  Prefactor     .10000E-03    9.3456        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.3146        24.106        .13867E-03   -1.5131    
   6  Prefactor     .10000E-03    35.071        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     27.462        25.763        .76458E-04   -1.4659    
   8  norm          .10000E-03    3.3450        .12827E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.5473        7.1540        .12970E-03   -1.5090    
  10  Prefactor     .10000E-03    20.585        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.113        9.9035        .12018E-03   -1.5041    
  12  Prefactor     23.075        16.724        .83396E-04   -1.4747    
  13  Prefactor     12.231        16.476        .11454E-03   -1.5008    
  14  Prefactor     34.790        70.926        .67915E-04   -1.4528    
  15  Prefactor     .10000E-03    64.884        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.5784        .31411        .27035E-03   -.75598    
  17  Prefactor     .72084        .18559        .23343E-03   -1.0272    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.46257e-09
Minuit parameter uncertainties:
  1  9.32132
  2  3.84759e-06
  3  3.20613
  4  3.79234e-05
  5  24.1337
  6  8.51211e-05
  7  25.7738
  8  3.85679e-06
  9  7.15463
  10  6.55881e-05
  11  9.90497
  12  16.7275
  13  16.4826
  14  71.0982
  15  1.63959e-05
  16  0.314504
  17  0.18575
Done.

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

Extracting fit parameters...

4FGL J2146.4-1528
   Spectrum: PowerLaw
286    Prefactor:  2.746e+01  2.577e+01  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:  7.208e-01  1.858e-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.578e+00  3.145e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.48
Ra Dec: 326.621 -15.476
Photon Index (Fixed Index): 2.80 +/- 0.00
Photon Flux (Fixed Index): 8.72e-08 +/- 8.18e-08
Energy Flux (Fixed Index): 1.96e-05 +/- 1.84e-05

TS (Fixed Index): 1.48
Ra Dec: 326.621 -15.476
Photon Flux Upper Limit: 2.50e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.98e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/994070/likelihoodResults_677116801_677376001_4FGL_J2146.4-1528_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) = 5160.87031487
delta logL = 0.144931949173

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5160.85914772
delta logL = 0.156099100217

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.116       1.0000         .10000E-03   10000.    
     2 'Index     '    3.5164       1.0000          .0000       10.000    
     3 'Normalizat'    1.5331       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74410       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=   5160.859     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      294 TOTAL
                     EDM=   .92E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.098        38.273        .94099E-04   -.57999E-03
   2  Index         3.5179        1.9686        .86110E-02   -.91367E-04
   3  Normalizat    1.5331        .31746        .27351E-03    .23766E-03
   4  Prefactor     .74404        .19060        .23015E-03    .86938E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.0985
  Index      = 3.51789
  Normalizat = 1.53307
  Prefactor  = 0.744042
 **********
 **   18 **HESSE 
 **********

 FCN=   5160.859     FROM HESSE     STATUS=OK            25 CALLS      319 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.098        29.595        .18820E-04   -1.4857    
   2  Index         3.5179        1.5372        .34444E-03   -.30094    
   3  Normalizat    1.5331        .31628        .54702E-04   -.76853    
   4  Prefactor     .74404        .18907        .92061E-05   -1.0183    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.82118e-10
Minuit parameter uncertainties:
  1  29.6195
  2  1.56504
  3  0.316689
  4  0.189236
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/994070': 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) = 5160.85914688
delta logL = 0.156099946726

Extracting fit parameters...

4FGL J2146.4-1528
   Spectrum: PowerLaw
286    Prefactor:  1.810e+01  2.962e+01  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  3.518e+00  1.565e+00  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:  7.440e-01  1.892e-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.533e+00  3.167e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.86
Ra Dec: 326.621 -15.476
Photon Index (Free Index): 3.52 +/- 1.57
Photon Flux (Free Index): 1.17e-07 +/- 1.02e-07
Energy Flux (Free Index): 1.93e-05 +/- 1.66e-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/994070/cmap_HighResolution_677116801_677376001_4FGL_J2146.4-1528_daily_bin1689.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.98e-02', comment='SUCCESS', photon_flux='8.72e-08', energy_flux2='1.93e-05', photon_flux_error='8.18e-08', dlogl='1.56e-01', energy_flux='1.96e-05', photon_flux2='1.17e-07', job_status='DONE', time_completed='2022-06-20 01:13:49.000579', photon_index_error2='1.57', photon_index2='3.52', ts='1.48', fit_tolerance='1e-08', GAL='0.72', photon_index_error='0.00', photon_flux_upper_limit='2.50e-07', energy_flux_error2='1.66e-05', EG='1.58', time_epoch_completed='1655712829.0', return_code='0', job_id='994070', GAL2='0.74', EG2='1.53', return_code2='0', energy_flux_error='1.84e-05', photon_flux_error2='1.02e-07', ts2='1.86', photon_index='2.80' WHERE bin_id='1689' AND source_name='4FGL J2146.4-1528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jun 20 01:13:49 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0090>
Subject: Job 994070: <4FGL_J2146.4-1528_daily_bin1689> in cluster <slac> Done

Job <4FGL_J2146.4-1528_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) <bullet0090>, 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:13:49 2022
Results reported at Mon Jun 20 01:13:49 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2146.4-1528_daily_bin1689 326.621 -15.4757 677116801 677376001 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 :                                   500.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             252.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   713 sec.
    Turnaround time :                            801 sec.

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

