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 107 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J2145.0-3356_daily_bin1719
RA = 326.253, Dec = -33.9439
tmin = 684892801, tmax = 685152001
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='666694', job_status='RUN', time_executed='2022-09-18 01:18:57.444240', time_epoch_executed='1663489137.44' WHERE source_name='4FGL J2145.0-3356' and cadence='daily' and bin_id='1719'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/666694

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/666694/ft1_4FGL_J2145.0-3356_daily_bin1719.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/666694/ft2_4FGL_J2145.0-3356_daily_bin1719.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/666694/ft1_4FGL_J2145.0-3356_daily_bin1719.fits outfile=/scratch/kocevski/666694/ft1_filteredMKT_4FGL_J2145.0-3356_daily_bin1719.fits ra=326.253 dec=-33.9439 rad=12.0 tmin=684892801.0 tmax=685152001.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.62
user 2.40
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/666694/ft2_4FGL_J2145.0-3356_daily_bin1719.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/666694/ft1_filteredMKT_4FGL_J2145.0-3356_daily_bin1719.fits evtable="EVENTS" outfile="/scratch/kocevski/666694/ft1_filtered_4FGL_J2145.0-3356_daily_bin1719.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.46
user 0.30
sys 0.15

Number of photons that the gtmktime cut: 139

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/666694/ft1_filtered_4FGL_J2145.0-3356_daily_bin1719.fits" evtable="EVENTS" scfile=/scratch/kocevski/666694/ft2_4FGL_J2145.0-3356_daily_bin1719.fits sctable="SC_DATA" outfile=/scratch/kocevski/666694/ltcube_684892801_685152001_4FGL_J2145.0-3356_daily_bin1719.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/666694/ft2_4FGL_J2145.0-3356_daily_bin1719.fits
.....................!
real 13.50
user 13.10
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/666694/ft1_filtered_4FGL_J2145.0-3356_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/666694/ft2_4FGL_J2145.0-3356_daily_bin1719.fits sctable="SC_DATA" expcube=/scratch/kocevski/666694/ltcube_684892801_685152001_4FGL_J2145.0-3356_daily_bin1719.fits outfile=/scratch/kocevski/666694/expmap_684892801_685152001_4FGL_J2145.0-3356_daily_bin1719.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/666694/ltcube_684892801_685152001_4FGL_J2145.0-3356_daily_bin1719.fits
.....................!
real 156.79
user 151.87
sys 4.33

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/666694/ft1_filtered_4FGL_J2145.0-3356_daily_bin1719.fits scfile=/scratch/kocevski/666694/ft2_4FGL_J2145.0-3356_daily_bin1719.fits outfile=/scratch/kocevski/666694/cmap_684892801_685152001_4FGL_J2145.0-3356_daily_bin1719.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.60
user 0.33
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/666694/ft1_filtered_4FGL_J2145.0-3356_daily_bin1719.fits scfile=/scratch/kocevski/666694/ft2_4FGL_J2145.0-3356_daily_bin1719.fits outfile=/scratch/kocevski/666694/cmap_HighResolution_684892801_685152001_4FGL_J2145.0-3356_daily_bin1719.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.51
user 0.34
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/666694/ft1_filtered_4FGL_J2145.0-3356_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/666694/ft2_4FGL_J2145.0-3356_daily_bin1719.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/666694/Model_4FGL_J2145.0-3356_daily_bin1719.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/666694/ft1_filtered_4FGL_J2145.0-3356_daily_bin1719.fits........................!
real 20.72
user 19.52
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/666694/ft1_filtered_4FGL_J2145.0-3356_daily_bin1719.fits', '/scratch/kocevski/666694/ft2_4FGL_J2145.0-3356_daily_bin1719.fits', expMap='/scratch/kocevski/666694/expmap_684892801_685152001_4FGL_J2145.0-3356_daily_bin1719.fits', expCube='/scratch/kocevski/666694/ltcube_684892801_685152001_4FGL_J2145.0-3356_daily_bin1719.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/666694/Model_4FGL_J2145.0-3356_daily_bin1719.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  0.000e+00  1.000e+06 ( 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 -5.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/666694/ft1_filtered_4FGL_J2145.0-3356_daily_bin1719.fits
Spacecraft file(s): /scratch/kocevski/666694/ft2_4FGL_J2145.0-3356_daily_bin1719.fits
Exposure map: /scratch/kocevski/666694/expmap_684892801_685152001_4FGL_J2145.0-3356_daily_bin1719.fits
Exposure cube: /scratch/kocevski/666694/ltcube_684892801_685152001_4FGL_J2145.0-3356_daily_bin1719.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/666694/Model_4FGL_J2145.0-3356_daily_bin1719.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) = 1618.35510809

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    64.277       1.0000          .0000       .10000E+07
     2 'Prefactor '    25.106       1.0000          .0000       .10000E+07
     3 'Prefactor '    19.262       1.0000          .0000       .10000E+07
     4 'norm      '    14.557       1.0000          .0000       .10000E+07
     5 'norm      '    .74385E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    15.317       1.0000          .0000       .10000E+07
     7 'Prefactor '    .15207E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10076E-02   1.0000          .0000       .10000E+07
     9 'norm      '    11.187       1.0000          .0000       .10000E+07
    10 'Prefactor '    .10195E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .17981E-04   1.0000          .0000       .10000E+07
    12 'norm      '    .43612E-02   1.0000          .0000       .10000E+07
    13 'norm      '    3.5290       1.0000          .0000       .10000E+07
    14 'Prefactor '    .10319E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .38097E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    .17055       1.0000          .0000       .10000E+07
    17 'Prefactor '    .75230       1.0000          .0000       .10000E+07
    18 'Prefactor '    423.80       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.0406       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .63643       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=   1618.346     FROM MIGRAD    STATUS=CONVERGED    449 CALLS     1843 TOTAL
                     EDM=   .85E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     65.210        41.273       -.17725E-06   -.49125E-03
   2  Prefactor     24.580        45.307       -.36811E-06   -.38878E-03
   3  Prefactor     19.246        57.939       -.18669E-05   -.71985E-04
   4  norm          14.586        18.943        .66844E-09   -.24740E-03
   5  norm           .0000        4.0162       -.26030E-08** at limit **
   6  Prefactor     15.169        21.462       -.21505E-06   -.41161E-03
   7  Prefactor     .22204E-09    27.026        .28567E-06** at limit **
   8  Prefactor      .0000        10.183       -.25257E-07** at limit **
   9  norm          11.201        14.356       -.80808E-07   -.13511E-03
  10  Prefactor      .0000        20.619        .11170E-07** at limit **
  11  Prefactor      .0000        59.946        .27150E-07** at limit **
  12  norm           .0000        7.6666        .10269E-07** at limit **
  13  norm          3.5296        1.5536       -.27380E-07   -.22398E-02
  14  Prefactor     .55511E-10    39.460        .77839E-07** at limit **
  15  Prefactor     .55511E-10    48.708       -.57241E-08** at limit **
  16  Prefactor     .36748E-07    28.493       -.14362E-05** at limit **
  17  Prefactor     .29421E-07    185.51       -.13065E-05** at limit **
  18  Prefactor     418.78        408.90       -.75619E-06   -.39167E-03
  19  Normalizat    1.0418        .49796        .54372E-04   -.78709E-04
  20  Prefactor     .63589        .24127       -.31239E-04    .60651E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 65.21
  Prefactor  = 24.5804
  Prefactor  = 19.246
  norm       = 14.5861
  norm       = 0
  Prefactor  = 15.1686
  Prefactor  = 2.22045e-10
  Prefactor  = 0
  norm       = 11.2011
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  norm       = 3.52965
  Prefactor  = 5.55112e-11
  Prefactor  = 5.55112e-11
  Prefactor  = 3.67484e-08
  Prefactor  = 2.94209e-08
  Prefactor  = 418.775
  Normalizat = 1.04177
  Prefactor  = 0.635888
 **********
 **   18 **HESSE 
 **********

 FCN=   1618.346     FROM HESSE     STATUS=OK           285 CALLS     2128 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     65.210        41.320        .49895E-05   -1.5546    
   2  Prefactor     24.580        45.429        .79848E-05   -1.5609    
   3  Prefactor     19.246        57.989        .91171E-05   -1.5620    
   4  norm          14.586        18.947        .10490E-04   -1.5632    
   5  norm           .0000        4.0167        .78734E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     15.169        21.463        .10226E-04   -1.5630    
   7  Prefactor     .22204E-09    27.094        .20418E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        10.185        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          11.201        14.353        .11971E-04   -1.5641    
  10  Prefactor      .0000        20.618        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        59.940        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        7.6722        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.5296        1.5561        .32267E-05   -1.5670    
  14  Prefactor     .55511E-10    39.452        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .55511E-10    48.707        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .36748E-07    29.525        .21327E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .29421E-07    186.89        .11312E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     418.78        409.00        .97172E-05   -1.5299    
  19  Normalizat    1.0418        .49850        .30607E-03   -.91644    
  20  Prefactor     .63589        .24185        .20085E-03   -1.0610    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76976e-09
Minuit parameter uncertainties:
  1  41.3203
  2  45.4294
  3  57.9908
  4  18.947
  5  2.33032e-06
  6  21.4634
  7  0.000158263
  8  2.87306e-05
  9  14.353
  10  1.25659e-06
  11  7.79079e-05
  12  5.20964e-06
  13  1.55608
  14  6.89659e-05
  15  8.99532e-05
  16  0.00208329
  17  0.00468983
  18  409.028
  19  0.500766
  20  0.24225
Done.

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

Extracting fit parameters...

4FGL J2145.0-3356
   Spectrum: LogParabola
270         norm:  1.120e+01  1.435e+01  0.000e+00  1.000e+06 ( 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 -5.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.359e-01  2.423e-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.042e+00  5.008e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.32
Ra Dec: 326.253 -33.944
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 4.39e-08 +/- 5.63e-08
Energy Flux (Fixed Index): 1.78e-05 +/- 2.28e-05

TS (Fixed Index): 1.32
Ra Dec: 326.253 -33.944
Photon Flux Upper Limit: 2.29e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.25e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/666694/likelihoodResults_684892801_685152001_4FGL_J2145.0-3356_daily_bin1719.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) = 1618.34589613
delta logL = 0.000514139795769

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1618.34587916
delta logL = 0.000531107009238

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.147       1.0000          .0000       .10000E+07
     2 'alpha     '    2.2092       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0402       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63636       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.

 FCN=   1618.346     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      221 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.127        1002.3        .29981E-03    .12748E-02
   2  alpha         2.2066        3.1445        .41509        .70695E-06
   3  Normalizat    1.0404        .55575        .69202E-01    .24852E-05
   4  Prefactor     .63633        .24441        .41548E-01    .11243E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 11.1271
  alpha      = 2.20663
  Normalizat = 1.04038
  Prefactor  = 0.636335
 **********
 **   18 **HESSE 
 **********

 FCN=   1618.346     FROM HESSE     STATUS=OK            33 CALLS      254 TOTAL
                     EDM=   .22E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.127        14.504        .59963E-04   -1.5641    
   2  alpha         2.2066        1.2663        .17807E-01   -.11762    
   3  Normalizat    1.0404        .44685        .30617E-03   -.91690    
   4  Prefactor     .63633        .23506        .20081E-03   -1.0608    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.17521e-14
Minuit parameter uncertainties:
  1  14.5042
  2  1.32887
  3  0.448479
  4  0.235422
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/666694': 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) = 1618.34587564
delta logL = 0.000534625100727

Extracting fit parameters...

4FGL J2145.0-3356
   Spectrum: LogParabola
270         norm:  1.113e+01  1.450e+01  0.000e+00  1.000e+06 ( 1.000e-12)
271        alpha:  2.207e+00  1.329e+00  0.000e+00  5.000e+00 ( 1.000e+00)
272         beta:  1.178e-01  0.000e+00 -5.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.363e-01  2.354e-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.040e+00  4.485e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.32
Ra Dec: 326.253 -33.944
Photon Index (Free Index): 2.21 +/- 1.33
Photon Flux (Free Index): 4.55e-08 +/- 7.42e-08
Energy Flux (Free Index): 1.75e-05 +/- 2.40e-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/666694/cmap_HighResolution_684892801_685152001_4FGL_J2145.0-3356_daily_bin1719.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.25e-05', comment='SUCCESS', photon_flux='4.39e-08', energy_flux2='1.75e-05', photon_flux_error='5.63e-08', dlogl='5.35e-04', energy_flux='1.78e-05', photon_flux2='4.55e-08', job_status='DONE', time_completed='2022-09-18 01:24:08.079997', photon_index_error2='1.33', photon_index2='2.21', ts='1.32', fit_tolerance='1e-08', GAL='0.64', photon_index_error='0.00', photon_flux_upper_limit='2.29e-07', energy_flux_error2='2.40e-05', EG='1.04', time_epoch_completed='1663489448.08', return_code='0', job_id='666694', GAL2='0.64', EG2='1.04', return_code2='0', energy_flux_error='2.28e-05', photon_flux_error2='7.42e-08', ts2='1.32', photon_index='2.16' WHERE bin_id='1719' AND source_name='4FGL J2145.0-3356' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 18 01:24:08 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 666694: <4FGL_J2145.0-3356_daily_bin1719> in cluster <slac> Done

Job <4FGL_J2145.0-3356_daily_bin1719> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 18 01:15:43 2022
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 18 01:17:01 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 18 01:17:01 2022
Terminated at Sun Sep 18 01:24:08 2022
Results reported at Sun Sep 18 01:24:08 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2145.0-3356_daily_bin1719 326.253 -33.9439 684892801 685152001 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 :                                   311.26 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             277.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   427 sec.
    Turnaround time :                            505 sec.

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

