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


Performing analysis on: 4FGL_J2145.0-3356_daily_bin1763
RA = 326.253, Dec = -33.9439
tmin = 696297601, tmax = 696556801
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='295260', job_status='RUN', time_executed='2023-01-28 01:45:35.778722', time_epoch_executed='1674899135.78' WHERE source_name='4FGL J2145.0-3356' and cadence='daily' and bin_id='1763'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/295260

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/295260/ft1_4FGL_J2145.0-3356_daily_bin1763.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/295260/ft2_4FGL_J2145.0-3356_daily_bin1763.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/295260/ft1_4FGL_J2145.0-3356_daily_bin1763.fits outfile=/scratch/kocevski/295260/ft1_filteredMKT_4FGL_J2145.0-3356_daily_bin1763.fits ra=326.253 dec=-33.9439 rad=12.0 tmin=696297601.0 tmax=696556801.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 3.63
user 3.39
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/295260/ft2_4FGL_J2145.0-3356_daily_bin1763.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/295260/ft1_filteredMKT_4FGL_J2145.0-3356_daily_bin1763.fits evtable="EVENTS" outfile="/scratch/kocevski/295260/ft1_filtered_4FGL_J2145.0-3356_daily_bin1763.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.51
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 488

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/295260/ft1_filtered_4FGL_J2145.0-3356_daily_bin1763.fits" evtable="EVENTS" scfile=/scratch/kocevski/295260/ft2_4FGL_J2145.0-3356_daily_bin1763.fits sctable="SC_DATA" outfile=/scratch/kocevski/295260/ltcube_696297601_696556801_4FGL_J2145.0-3356_daily_bin1763.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/295260/ft2_4FGL_J2145.0-3356_daily_bin1763.fits
.....................!
real 16.03
user 15.60
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/295260/ft1_filtered_4FGL_J2145.0-3356_daily_bin1763.fits evtable="EVENTS" scfile=/scratch/kocevski/295260/ft2_4FGL_J2145.0-3356_daily_bin1763.fits sctable="SC_DATA" expcube=/scratch/kocevski/295260/ltcube_696297601_696556801_4FGL_J2145.0-3356_daily_bin1763.fits outfile=/scratch/kocevski/295260/expmap_696297601_696556801_4FGL_J2145.0-3356_daily_bin1763.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/295260/ltcube_696297601_696556801_4FGL_J2145.0-3356_daily_bin1763.fits
.....................!
real 192.94
user 187.01
sys 5.42

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/295260/ft1_filtered_4FGL_J2145.0-3356_daily_bin1763.fits scfile=/scratch/kocevski/295260/ft2_4FGL_J2145.0-3356_daily_bin1763.fits outfile=/scratch/kocevski/295260/cmap_696297601_696556801_4FGL_J2145.0-3356_daily_bin1763.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.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/295260/ft1_filtered_4FGL_J2145.0-3356_daily_bin1763.fits scfile=/scratch/kocevski/295260/ft2_4FGL_J2145.0-3356_daily_bin1763.fits outfile=/scratch/kocevski/295260/cmap_HighResolution_696297601_696556801_4FGL_J2145.0-3356_daily_bin1763.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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/295260/ft1_filtered_4FGL_J2145.0-3356_daily_bin1763.fits evtable="EVENTS" scfile=/scratch/kocevski/295260/ft2_4FGL_J2145.0-3356_daily_bin1763.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/295260/Model_4FGL_J2145.0-3356_daily_bin1763.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/295260/ft1_filtered_4FGL_J2145.0-3356_daily_bin1763.fits.....................!
real 48.59
user 47.29
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/295260/ft1_filtered_4FGL_J2145.0-3356_daily_bin1763.fits', '/scratch/kocevski/295260/ft2_4FGL_J2145.0-3356_daily_bin1763.fits', expMap='/scratch/kocevski/295260/expmap_696297601_696556801_4FGL_J2145.0-3356_daily_bin1763.fits', expCube='/scratch/kocevski/295260/ltcube_696297601_696556801_4FGL_J2145.0-3356_daily_bin1763.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/295260/Model_4FGL_J2145.0-3356_daily_bin1763.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/295260/ft1_filtered_4FGL_J2145.0-3356_daily_bin1763.fits
Spacecraft file(s): /scratch/kocevski/295260/ft2_4FGL_J2145.0-3356_daily_bin1763.fits
Exposure map: /scratch/kocevski/295260/expmap_696297601_696556801_4FGL_J2145.0-3356_daily_bin1763.fits
Exposure cube: /scratch/kocevski/295260/ltcube_696297601_696556801_4FGL_J2145.0-3356_daily_bin1763.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/295260/Model_4FGL_J2145.0-3356_daily_bin1763.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) = 5496.90737972

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .56549E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    71.818       1.0000          .0000       .10000E+07
     3 'Prefactor '    .43576E-07   1.0000          .0000       .10000E+07
     4 'norm      '    .38858E-09   1.0000          .0000       .10000E+07
     5 'norm      '    3.7402       1.0000          .0000       .10000E+07
     6 'Prefactor '    .34417E-08   1.0000          .0000       .10000E+07
     7 'Prefactor '    .49960E-09   1.0000          .0000       .10000E+07
     8 'Prefactor '    .44964E-08   1.0000          .0000       .10000E+07
     9 'norm      '    .72137E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .21107E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .30975E-07   1.0000          .0000       .10000E+07
    12 'norm      '    .23315E-08   1.0000          .0000       .10000E+07
    13 'norm      '    2.1887       1.0000          .0000       .10000E+07
    14 'Prefactor '    11.289       1.0000          .0000       .10000E+07
    15 'Prefactor '    .23734E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    19.650       1.0000          .0000       .10000E+07
    17 'Prefactor '    5.8590       1.0000          .0000       .10000E+07
    18 'Prefactor '    6.4608       1.0000          .0000       .10000E+07
    19 'Normalizat'    .80044       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1641       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5496.861     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1813 TOTAL
                     EDM=   .23E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14433E-08    29.475       -.92846E-08** at limit **
   2  Prefactor     71.817        2.4393       -.57598E-08   -.23577E-01
   3  Prefactor     .56066E-08    22.648        .67941E-07** at limit **
   4  norm           .0000        4.0791        .59714E-07** at limit **
   5  norm          3.7412        3.9578       -.15120E-07    .10028E-05
   6  Prefactor      .0000        5.5911       -.77482E-07** at limit **
   7  Prefactor      .0000        4.7601       -.10340E-06** at limit **
   8  Prefactor      .0000        5.5176       -.38276E-07** at limit **
   9  norm          .20539E-08    22.074        .13586E-06** at limit **
  10  Prefactor     .40523E-08    130.89       -.69484E-06** at limit **
  11  Prefactor     .16653E-09    42.873       -.15517E-06** at limit **
  12  norm           .0000        1.7644        .15316E-06** at limit **
  13  norm          2.1887        .57471       -.20682E-07    .11742E-02
  14  Prefactor     11.273        13.865        .28784E-07    .48039E-03
  15  Prefactor     .44409E-09    1.0474        .18162E-07** at limit **
  16  Prefactor     19.655        12.587       -.19912E-07    .31025E-02
  17  Prefactor     5.8593        2.7569       -.41507E-08   -.10727E-01
  18  Prefactor     6.4647        4.6137       -.76047E-08    .98676E-02
  19  Normalizat    .80015        .25810        .25686E-05    .11298E-05
  20  Prefactor     1.1643        .16574       -.10961E-05    .17152E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.44329e-09
  Prefactor  = 71.8166
  Prefactor  = 5.60663e-09
  norm       = 0
  norm       = 3.74124
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 2.05391e-09
  Prefactor  = 4.05231e-09
  Prefactor  = 1.66533e-10
  norm       = 0
  norm       = 2.18874
  Prefactor  = 11.2729
  Prefactor  = 4.44089e-10
  Prefactor  = 19.6545
  Prefactor  = 5.85926
  Prefactor  = 6.46473
  Normalizat = 0.800152
  Prefactor  = 1.16426
 **********
 **   18 **HESSE 
 **********

 FCN=   5496.861     FROM HESSE     STATUS=OK           333 CALLS     2146 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14433E-08    29.726        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     71.817        40.234        .11801E-03   -1.5538    
   3  Prefactor     .56066E-08    23.354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        4.0819        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.7412        3.9618        .52184E-03   -1.5669    
   6  Prefactor      .0000        5.5883        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        4.7731        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        5.5169        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .20539E-08    22.113        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .40523E-08    128.79        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .16653E-09    42.926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        1.7638        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.1887        .57402        .62819E-03   -1.5678    
  14  Prefactor     11.273        13.996        .29793E-03   -1.5641    
  15  Prefactor     .44409E-09    17.612        .10175E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     19.655        12.828        .22566E-03   -1.5619    
  17  Prefactor     5.8593        15.595        .41466E-03   -1.5660    
  18  Prefactor     6.4647        20.723        .39461E-03   -1.5657    
  19  Normalizat    .80015        .23006        .78044E-01   -1.0006    
  20  Prefactor     1.1643        .14800        .35539E-01   -.87438    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.42489e-08
Minuit parameter uncertainties:
  1  0.000414227
  2  40.234
  3  0.000722287
  4  1.04439e-06
  5  3.96178
  6  1.68986e-06
  7  2.74377e-06
  8  3.59125e-06
  9  0.000424491
  10  0.00144441
  11  0.000160245
  12  1.24142e-06
  13  0.574021
  14  13.9957
  15  0.000176254
  16  12.8279
  17  15.5949
  18  20.7229
  19  0.230344
  20  0.148056
Done.

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

Extracting fit parameters...

4FGL J2145.0-3356
   Spectrum: LogParabola
270         norm:  2.054e-09  4.245e-04  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:  1.164e+00  1.481e-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:  8.002e-01  2.303e-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: 9.07e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.67e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/295260/likelihoodResults_696297601_696556801_4FGL_J2145.0-3356_daily_bin1763.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) = 5496.88812415
delta logL = -0.0268800534004

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5496.86124983
delta logL = -5.73858960706e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10073E-02   1.0000          .0000       .10000E+07
     2 'alpha     '    3.9048       1.0000          .0000       5.0000    
     3 'Normalizat'    .80017       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1640       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5496.861     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      221 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .16653E-09    25.252        .22619E-04** at limit **
   2  alpha         2.2790        3.1952        .19380E-02   -.82842E-11
   3  Normalizat    .80015        .24291        .20469E-04   -.57493E-03
   4  Prefactor     1.1643        .16169       -.65990E-06   -.14162E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 1.66533e-10
  alpha      = 2.27895
  Normalizat = 0.800154
  Prefactor  = 1.16426
 **********
 **   18 **HESSE 
 **********

 FCN=   5496.861     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      254 TOTAL
                     EDM=   .32E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .16653E-09    5.2297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.2790        3.0309        .51000       -.88534E-01
   3  Normalizat    .80015        .26264E-02    .78043E-01   -1.0006    
   4  Prefactor     1.1643        .17531E-02    .35543E-01   -.87438    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.16585e-12
Minuit parameter uncertainties:
  1  5.49772e-05
  2  119287
  3  0.00262641
  4  0.00175315
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/295260': 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): 102
logL (Free Index) = 5496.86124409
delta logL = -7.19410309102e-10

Extracting fit parameters...

4FGL J2145.0-3356
   Spectrum: LogParabola
270         norm:  1.665e-10  5.498e-05  0.000e+00  1.000e+06 ( 1.000e-12)
271        alpha:  2.279e+00  1.193e+05  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:  1.164e+00  1.753e-03  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:  8.002e-01  2.626e-03  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/295260/cmap_HighResolution_696297601_696556801_4FGL_J2145.0-3356_daily_bin1763.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.67e-05', job_status='DONE', photon_flux_upper_limit='9.07e-08', time_completed='2023-01-28 01:54:34.274526', job_id='295260', GAL2='1.16', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1674899674.27', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='-7.19e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.16' WHERE bin_id='1763' AND source_name='4FGL J2145.0-3356' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan 28 01:54:34 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0220>
Subject: Job 295260: <4FGL_J2145.0-3356_daily_bin1763> in cluster <slac> Done

Job <4FGL_J2145.0-3356_daily_bin1763> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sat Jan 28 01:40:23 2023
Job was executed on host(s) <bullet0220>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan 28 01:45:09 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan 28 01:45:09 2023
Terminated at Sat Jan 28 01:54:35 2023
Results reported at Sat Jan 28 01:54:35 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2145.0-3356_daily_bin1763 326.253 -33.9439 696297601 696556801 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 :                                   540.41 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             328.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   565 sec.
    Turnaround time :                            852 sec.

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

