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


Performing analysis on: 4FGL_J2145.0-3356_daily_bin1703
RA = 326.253, Dec = -33.9439
tmin = 680745601, tmax = 681004801
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='324091', job_status='RUN', time_executed='2022-08-01 01:22:35.406490', time_epoch_executed='1659342155.41' WHERE source_name='4FGL J2145.0-3356' and cadence='daily' and bin_id='1703'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/324091

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/324091/ft1_4FGL_J2145.0-3356_daily_bin1703.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/324091/ft2_4FGL_J2145.0-3356_daily_bin1703.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/324091/ft1_4FGL_J2145.0-3356_daily_bin1703.fits outfile=/scratch/kocevski/324091/ft1_filteredMKT_4FGL_J2145.0-3356_daily_bin1703.fits ra=326.253 dec=-33.9439 rad=12.0 tmin=680745601.0 tmax=681004801.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.99
user 2.78
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/324091/ft2_4FGL_J2145.0-3356_daily_bin1703.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/324091/ft2_4FGL_J2145.0-3356_daily_bin1703.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/324091/ft1_filteredMKT_4FGL_J2145.0-3356_daily_bin1703.fits evtable="EVENTS" outfile="/scratch/kocevski/324091/ft1_filtered_4FGL_J2145.0-3356_daily_bin1703.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.52
user 0.36
sys 0.14

Number of photons that the gtmktime cut: 38

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/324091/ft1_filtered_4FGL_J2145.0-3356_daily_bin1703.fits" evtable="EVENTS" scfile=/scratch/kocevski/324091/ft2_4FGL_J2145.0-3356_daily_bin1703.fits sctable="SC_DATA" outfile=/scratch/kocevski/324091/ltcube_680745601_681004801_4FGL_J2145.0-3356_daily_bin1703.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/324091/ft2_4FGL_J2145.0-3356_daily_bin1703.fits
.....................!
real 15.21
user 14.58
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/324091/ft1_filtered_4FGL_J2145.0-3356_daily_bin1703.fits evtable="EVENTS" scfile=/scratch/kocevski/324091/ft2_4FGL_J2145.0-3356_daily_bin1703.fits sctable="SC_DATA" expcube=/scratch/kocevski/324091/ltcube_680745601_681004801_4FGL_J2145.0-3356_daily_bin1703.fits outfile=/scratch/kocevski/324091/expmap_680745601_681004801_4FGL_J2145.0-3356_daily_bin1703.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/324091/ltcube_680745601_681004801_4FGL_J2145.0-3356_daily_bin1703.fits
.....................!
real 190.39
user 186.33
sys 3.69

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 J2145.0-3356 @ 326.253 -33.9439

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/324091/ft1_filtered_4FGL_J2145.0-3356_daily_bin1703.fits scfile=/scratch/kocevski/324091/ft2_4FGL_J2145.0-3356_daily_bin1703.fits outfile=/scratch/kocevski/324091/cmap_680745601_681004801_4FGL_J2145.0-3356_daily_bin1703.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.253 yref=-33.9439 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.56
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/324091/ft1_filtered_4FGL_J2145.0-3356_daily_bin1703.fits scfile=/scratch/kocevski/324091/ft2_4FGL_J2145.0-3356_daily_bin1703.fits outfile=/scratch/kocevski/324091/cmap_HighResolution_680745601_681004801_4FGL_J2145.0-3356_daily_bin1703.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.253 yref=-33.9439 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/324091/ft1_filtered_4FGL_J2145.0-3356_daily_bin1703.fits evtable="EVENTS" scfile=/scratch/kocevski/324091/ft2_4FGL_J2145.0-3356_daily_bin1703.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/324091/Model_4FGL_J2145.0-3356_daily_bin1703.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/324091/ft1_filtered_4FGL_J2145.0-3356_daily_bin1703.fits......................................!
real 16.95
user 15.63
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/324091/ft1_filtered_4FGL_J2145.0-3356_daily_bin1703.fits', '/scratch/kocevski/324091/ft2_4FGL_J2145.0-3356_daily_bin1703.fits', expMap='/scratch/kocevski/324091/expmap_680745601_681004801_4FGL_J2145.0-3356_daily_bin1703.fits', expCube='/scratch/kocevski/324091/ltcube_680745601_681004801_4FGL_J2145.0-3356_daily_bin1703.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/324091/Model_4FGL_J2145.0-3356_daily_bin1703.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2145.0-3356'

4FGL J2145.0-3356
   Spectrum: LogParabola
270         norm:  5.316e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  2.164e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
272         beta:  1.178e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  6.388e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/324091/ft1_filtered_4FGL_J2145.0-3356_daily_bin1703.fits
Spacecraft file(s): /scratch/kocevski/324091/ft2_4FGL_J2145.0-3356_daily_bin1703.fits
Exposure map: /scratch/kocevski/324091/expmap_680745601_681004801_4FGL_J2145.0-3356_daily_bin1703.fits
Exposure cube: /scratch/kocevski/324091/ltcube_680745601_681004801_4FGL_J2145.0-3356_daily_bin1703.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/324091/Model_4FGL_J2145.0-3356_daily_bin1703.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 472.353661964

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     2 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .20109E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10525E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    176.91       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .98983E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    32.735       1.0000         .10000E-03   10000.    
    12 'norm      '    .62032       1.0000         .10000E-03   10000.    
    13 'norm      '    1.9941       1.0000         .10000E-03   10000.    
    14 'Prefactor '    33.488       1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.0860       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .14837       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .18941E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0248       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .68596       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   471.7859     FROM MIGRAD    STATUS=CONVERGED    452 CALLS     2261 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor    10000.0        6130.8        .18735E-04** at limit **
   2  Prefactor    10000.0        9450.9        .14067E-04** at limit **
   3  Prefactor     .10000E-03    474.80        .46377E-06** at limit **
   4  norm          .10000E-03    165.81       -.18955E-05** at limit **
   5  norm          .10000E-03    25.437       -.64308E-07** at limit **
   6  Prefactor     .10000E-03    33.760       -.62626E-08** at limit **
   7  Prefactor     176.11        274.04       -.68792E-05    .57289E-05
   8  Prefactor     .10000E-03    30.884       -.50990E-07** at limit **
   9  norm          .10000E-03    39.273       -.94958E-07** at limit **
  10  Prefactor     .10003E-03    1497.8       -.40376E-05** at limit **
  11  Prefactor     37.502        7073.6        .10238E-03    .87112E-05
  12  norm          .31827        1917.4       -.43243E-04    .11063E-04
  13  norm          1.9952        1.5407       -.17165E-06    .30839E-03
  14  Prefactor     33.505        53.727       -.66749E-06    .11636E-04
  15  Prefactor     6.9925        261.28       -.20988E-05    .55282E-05
  16  Prefactor     .10000E-03    21.658       -.14183E-06** at limit **
  17  Prefactor     .13026E-03    233.36       -.43276E-05** at limit **
  18  Prefactor     .10000E-03    265.13        .29249E-06** at limit **
  19  Normalizat    1.0256        .65343        .44490E-05    .94453E-04
  20  Prefactor     .68605        .58273       -.33481E-05    .87335E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 176.105
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100029
  Prefactor  = 37.5017
  norm       = 0.318273
  norm       = 1.99523
  Prefactor  = 33.5045
  Prefactor  = 6.99253
  Prefactor  = 0.0001
  Prefactor  = 0.000130263
  Prefactor  = 0.0001
  Normalizat = 1.02561
  Prefactor  = 0.686051
 **********
 **   18 **HESSE 
 **********

 FCN=   471.7859     FROM HESSE     STATUS=OK           295 CALLS     2556 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor    10000.0        6129.9        .19977E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor    10000.0        9451.4        .20256E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    474.80        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    165.79        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    25.445        .10709E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    33.762        .12338E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     176.11        322.88        .15172E-03   -1.3046    
   8  Prefactor     .10000E-03    30.887        .11800E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    39.307        .13308E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10003E-03    1519.1        .20769E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     37.502        8783.0        .35017E-02   -1.4482    
  12  norm          .31827        7015.6        .30833E-02   -1.5595    
  13  norm          1.9952        1.5771        .21799E-04   -1.5425    
  14  Prefactor     33.505        53.956        .69246E-04   -1.4550    
  15  Prefactor     6.9925        276.52        .15070E-03   -1.5179    
  16  Prefactor     .10000E-03    21.728        .98803E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .13026E-03    456.78        .70412E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    267.67        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0256        .77678        .24298E-03   -.92177    
  20  Prefactor     .68605        .67670        .25522E-03   -1.0408    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.16003e-10
Minuit parameter uncertainties:
  1  0.0192409
  2  0.00779441
  3  2.84548e-05
  4  0.00041103
  5  1.36672e-06
  6  7.94776e-07
  7  326.209
  8  1.2838e-06
  9  1.45761e-05
  10  0.0135809
  11  1369.79
  12  78.2428
  13  1.57709
  14  54.0342
  15  88.3859
  16  2.40369e-05
  17  0.236975
  18  0.000266833
  19  0.785617
  20  0.685058
Done.

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

Extracting fit parameters...

4FGL J2145.0-3356
   Spectrum: LogParabola
270         norm:  1.000e-04  1.458e-05  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  2.164e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
272         beta:  1.178e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  6.388e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  6.861e-01  6.851e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.026e+00  7.856e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 326.253 -33.944
Photon Flux Upper Limit: 7.08e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.86e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/324091/likelihoodResults_680745601_681004801_4FGL_J2145.0-3356_daily_bin1703.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) = 471.785972299
delta logL = -0.000119641490926

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 471.785852683
delta logL = -2.46730564868e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10075E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9203       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0256       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68603       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+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=   471.7859     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      246 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    1757.0        .13278E-01** at limit **
   2  alpha         2.5449        3.7533        .16765        .27549E-08
   3  Normalizat    1.0256        .10902        .24300E-03   -.20122E-03
   4  Prefactor     .68604        .95828E-01    .25519E-03   -.19831E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100013
  alpha      = 2.54494
  Normalizat = 1.0256
  Prefactor  = 0.686045
 **********
 **   18 **HESSE 
 **********

 FCN=   471.7859     FROM HESSE     STATUS=OK            23 CALLS      269 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    41.641        .13679E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.5449        3.1343        .67058E-02    .17976E-01
   3  Normalizat    1.0256        .72960        .48599E-04   -.92178    
   4  Prefactor     .68604        .64073        .51037E-04   -1.0408    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.08522e-10
Minuit parameter uncertainties:
  1  0.00149437
  2  1006.47
  3  0.736895
  4  0.647794
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/324091': 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) = 471.785852589
delta logL = 6.87952592671e-08

Extracting fit parameters...

4FGL J2145.0-3356
   Spectrum: LogParabola
270         norm:  1.000e-04  1.494e-03  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  2.545e+00  1.006e+03  0.000e+00  5.000e+00 ( 1.000e+00)
272         beta:  1.178e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  6.388e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  6.860e-01  6.478e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.026e+00  7.369e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 326.253 -33.944

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/324091/cmap_HighResolution_680745601_681004801_4FGL_J2145.0-3356_daily_bin1703.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.86e-04', job_status='DONE', photon_flux_upper_limit='7.08e-07', time_completed='2022-08-01 01:28:12.021697', job_id='324091', GAL2='0.69', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1659342492.02', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.69', dlogl='6.88e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.16' WHERE bin_id='1703' AND source_name='4FGL J2145.0-3356' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug  1 01:28:12 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0183>
Subject: Job 324091: <4FGL_J2145.0-3356_daily_bin1703> in cluster <slac> Done

Job <4FGL_J2145.0-3356_daily_bin1703> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Aug  1 01:20:17 2022
Job was executed on host(s) <bullet0183>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug  1 01:21:08 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug  1 01:21:08 2022
Terminated at Mon Aug  1 01:28:12 2022
Results reported at Mon Aug  1 01:28:12 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2145.0-3356_daily_bin1703 326.253 -33.9439 680745601 681004801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2145.0-3356 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   338.37 sec.
    Max Memory :                                 327 MB
    Average Memory :                             224.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2619 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   424 sec.
    Turnaround time :                            475 sec.

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

