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


Performing analysis on: 4FGL_J2146.4-1528_daily_bin1691
RA = 326.621, Dec = -15.4757
tmin = 677635201, tmax = 677894401
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='310994', job_status='RUN', time_executed='2022-06-26 01:14:15.897540', time_epoch_executed='1656231255.9' WHERE source_name='4FGL J2146.4-1528' and cadence='daily' and bin_id='1691'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/310994

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/310994/ft1_4FGL_J2146.4-1528_daily_bin1691.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/310994/ft2_4FGL_J2146.4-1528_daily_bin1691.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/310994/ft1_4FGL_J2146.4-1528_daily_bin1691.fits outfile=/scratch/kocevski/310994/ft1_filteredMKT_4FGL_J2146.4-1528_daily_bin1691.fits ra=326.621 dec=-15.4757 rad=12.0 tmin=677635201.0 tmax=677894401.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.43
user 2.16
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/310994/ft2_4FGL_J2146.4-1528_daily_bin1691.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/310994/ft1_filteredMKT_4FGL_J2146.4-1528_daily_bin1691.fits evtable="EVENTS" outfile="/scratch/kocevski/310994/ft1_filtered_4FGL_J2146.4-1528_daily_bin1691.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: 569

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/310994/ft1_filtered_4FGL_J2146.4-1528_daily_bin1691.fits" evtable="EVENTS" scfile=/scratch/kocevski/310994/ft2_4FGL_J2146.4-1528_daily_bin1691.fits sctable="SC_DATA" outfile=/scratch/kocevski/310994/ltcube_677635201_677894401_4FGL_J2146.4-1528_daily_bin1691.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/310994/ft2_4FGL_J2146.4-1528_daily_bin1691.fits
.....................!
real 15.57
user 15.03
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/310994/ft1_filtered_4FGL_J2146.4-1528_daily_bin1691.fits evtable="EVENTS" scfile=/scratch/kocevski/310994/ft2_4FGL_J2146.4-1528_daily_bin1691.fits sctable="SC_DATA" expcube=/scratch/kocevski/310994/ltcube_677635201_677894401_4FGL_J2146.4-1528_daily_bin1691.fits outfile=/scratch/kocevski/310994/expmap_677635201_677894401_4FGL_J2146.4-1528_daily_bin1691.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/310994/ltcube_677635201_677894401_4FGL_J2146.4-1528_daily_bin1691.fits
.....................!
real 193.95
user 186.39
sys 5.24

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/310994/ft1_filtered_4FGL_J2146.4-1528_daily_bin1691.fits scfile=/scratch/kocevski/310994/ft2_4FGL_J2146.4-1528_daily_bin1691.fits outfile=/scratch/kocevski/310994/cmap_677635201_677894401_4FGL_J2146.4-1528_daily_bin1691.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.59
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/310994/ft1_filtered_4FGL_J2146.4-1528_daily_bin1691.fits scfile=/scratch/kocevski/310994/ft2_4FGL_J2146.4-1528_daily_bin1691.fits outfile=/scratch/kocevski/310994/cmap_HighResolution_677635201_677894401_4FGL_J2146.4-1528_daily_bin1691.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.61
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/310994/ft1_filtered_4FGL_J2146.4-1528_daily_bin1691.fits evtable="EVENTS" scfile=/scratch/kocevski/310994/ft2_4FGL_J2146.4-1528_daily_bin1691.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/310994/Model_4FGL_J2146.4-1528_daily_bin1691.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/310994/ft1_filtered_4FGL_J2146.4-1528_daily_bin1691.fits.....................!
real 59.60
user 57.67
sys 1.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.058       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.8586       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.4443       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.1290       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.778       1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.427       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10130E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    28.362       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    45.858       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .59962       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.3241       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=   6516.047     FROM MIGRAD    STATUS=CONVERGED    311 CALLS     1559 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.059        14.444        .13771E-06   -.32901E-05
   2  Prefactor     .10000E-03    4.2525        .10399E-06** at limit **
   3  Prefactor     .10000E-03    1.5508        .10116E-06** at limit **
   4  Prefactor     4.8579        9.7864        .66736E-05   -.14251E-03
   5  Prefactor     .10000E-03    16.314        .88399E-07** at limit **
   6  Prefactor     5.4233        32.376       -.62379E-06   -.61183E-04
   7  Prefactor     7.1246        20.891       -.48387E-07   -.16487E-04
   8  norm          .10000E-03    2.4726       -.27716E-07** at limit **
   9  Prefactor     12.778        7.3909        .10361E-06    .77393E-06
  10  Prefactor     12.403        22.487       -.53446E-08   -.97247E-04
  11  Prefactor     .10000E-03    27.639        .10031E-05** at limit **
  12  Prefactor     28.362        15.114        .14165E-06    .55685E-05
  13  Prefactor     .10000E-03    12.627        .13644E-06** at limit **
  14  Prefactor     45.790        53.285       -.78191E-06   -.17458E-03
  15  Prefactor     .10000E-03    31.975       -.88958E-07** at limit **
  16  Normalizat    .59962        .25960       -.13898E-05   -.28088E-04
  17  Prefactor     1.3241        .15649       -.80623E-07   -.34576E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.0594
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.85792
  Prefactor  = 0.0001
  Prefactor  = 5.42326
  Prefactor  = 7.12459
  norm       = 0.0001
  Prefactor  = 12.7784
  Prefactor  = 12.403
  Prefactor  = 0.0001
  Prefactor  = 28.3616
  Prefactor  = 0.0001
  Prefactor  = 45.7898
  Prefactor  = 0.0001
  Normalizat = 0.599621
  Prefactor  = 1.32409
 **********
 **   18 **HESSE 
 **********

 FCN=   6516.047     FROM HESSE     STATUS=OK           225 CALLS     1784 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.059        14.438        .99947E-04   -1.4906    
   2  Prefactor     .10000E-03    4.2559        .16256E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.5576        .98168E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.8579        9.7898        .91247E-03   -1.5267    
   5  Prefactor     .10000E-03    16.331        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.4233        32.375        .17221E-03   -1.5242    
   7  Prefactor     7.1246        20.790        .15024E-03   -1.5174    
   8  norm          .10000E-03    2.4757        .12396E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.778        7.3784        .11206E-03   -1.4993    
  10  Prefactor     12.403        22.402        .11363E-03   -1.5003    
  11  Prefactor     .10000E-03    28.385        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     28.362        15.115        .75228E-04   -1.4642    
  13  Prefactor     .10000E-03    12.636        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     45.790        53.211        .29604E-03   -1.4354    
  15  Prefactor     .10000E-03    32.004        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .59962        .28235        .41682E-03   -1.0800    
  17  Prefactor     1.3241        .17253        .18583E-03   -.82593    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.24548e-10
Minuit parameter uncertainties:
  1  14.4413
  2  6.48511e-07
  3  4.98346e-07
  4  9.79302
  5  3.04527e-05
  6  26.5227
  7  20.8108
  8  4.44216e-07
  9  7.37894
  10  22.4167
  11  0.000168699
  12  15.117
  13  1.02011e-05
  14  53.2659
  15  0.000113358
  16  0.283029
  17  0.172604
Done.

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

Extracting fit parameters...

4FGL J2146.4-1528
   Spectrum: PowerLaw
286    Prefactor:  7.125e+00  2.081e+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:  1.324e+00  1.726e-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:  5.996e-01  2.830e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/310994/likelihoodResults_677635201_677894401_4FGL_J2146.4-1528_daily_bin1691.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) = 6515.99734421
delta logL = 0.0498916155111

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6515.99580608
delta logL = 0.051429741703

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.8995       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3219       1.0000          .0000       10.000    
     3 'Normalizat'    .58339       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3304       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=   6515.996     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      284 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.8916        19.163        .15274E-03   -.88425E-04
   2  Index         3.3256        1.8944        .12604E-01   -.18037E-04
   3  Normalizat    .58374        .27534        .42210E-03   -.15568E-03
   4  Prefactor     1.3303        .17275        .18545E-03    .50073E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.89163
  Index      = 3.32555
  Normalizat = 0.583737
  Prefactor  = 1.33025
 **********
 **   18 **HESSE 
 **********

 FCN=   6515.996     FROM HESSE     STATUS=OK            25 CALLS      309 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.8916        17.716        .61096E-05   -1.5183    
   2  Index         3.3256        1.7564        .50415E-03   -.34149    
   3  Normalizat    .58374        .27573        .16884E-04   -1.0868    
   4  Prefactor     1.3303        .17282        .37089E-04   -.82412    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75696e-09
Minuit parameter uncertainties:
  1  17.7299
  2  1.79982
  3  0.276383
  4  0.17289
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/310994': 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) = 6515.99580121
delta logL = 0.0514346184573

Extracting fit parameters...

4FGL J2146.4-1528
   Spectrum: PowerLaw
286    Prefactor:  6.892e+00  1.773e+01  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  3.326e+00  1.800e+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:  1.330e+00  1.729e-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:  5.837e-01  2.764e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.14
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/310994/cmap_HighResolution_677635201_677894401_4FGL_J2146.4-1528_daily_bin1691.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.29e-02', job_status='DONE', photon_flux_upper_limit='1.64e-07', time_completed='2022-06-26 01:23:15.671100', job_id='310994', GAL2='1.33', fit_tolerance='1e-08', EG2='0.58', EG='0.60', time_epoch_completed='1656231795.67', return_code2='0', ts='0.14', comment='SUCCESS', return_code='0', GAL='1.32', dlogl='5.14e-02', ts2='0.25', photon_index_error='0.00', photon_index='2.80' WHERE bin_id='1691' AND source_name='4FGL J2146.4-1528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jun 26 01:23:15 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 310994: <4FGL_J2146.4-1528_daily_bin1691> in cluster <slac> Done

Job <4FGL_J2146.4-1528_daily_bin1691> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Jun 26 01:10:33 2022
Job was executed on host(s) <bullet0283>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jun 26 01:13:12 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jun 26 01:13:12 2022
Terminated at Sun Jun 26 01:23:16 2022
Results reported at Sun Jun 26 01:23:16 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2146.4-1528_daily_bin1691 326.621 -15.4757 677635201 677894401 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.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             334.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   604 sec.
    Turnaround time :                            763 sec.

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

