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


Performing analysis on: 4FGL_J2145.0-3356_daily_bin1728
RA = 326.253, Dec = -33.9439
tmin = 687225601, tmax = 687484801
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='304421', job_status='RUN', time_executed='2022-10-15 00:36:38.655798', time_epoch_executed='1665819398.66' WHERE source_name='4FGL J2145.0-3356' and cadence='daily' and bin_id='1728'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/304421

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/304421/ft1_4FGL_J2145.0-3356_daily_bin1728.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/304421/ft2_4FGL_J2145.0-3356_daily_bin1728.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/304421/ft1_4FGL_J2145.0-3356_daily_bin1728.fits outfile=/scratch/kocevski/304421/ft1_filteredMKT_4FGL_J2145.0-3356_daily_bin1728.fits ra=326.253 dec=-33.9439 rad=12.0 tmin=687225601.0 tmax=687484801.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.77
user 2.56
sys 0.20

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

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

Number of photons that the gtmktime cut: 747

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/304421/ft1_filtered_4FGL_J2145.0-3356_daily_bin1728.fits" evtable="EVENTS" scfile=/scratch/kocevski/304421/ft2_4FGL_J2145.0-3356_daily_bin1728.fits sctable="SC_DATA" outfile=/scratch/kocevski/304421/ltcube_687225601_687484801_4FGL_J2145.0-3356_daily_bin1728.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/304421/ft2_4FGL_J2145.0-3356_daily_bin1728.fits
.....................!
real 12.94
user 12.59
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/304421/ft1_filtered_4FGL_J2145.0-3356_daily_bin1728.fits evtable="EVENTS" scfile=/scratch/kocevski/304421/ft2_4FGL_J2145.0-3356_daily_bin1728.fits sctable="SC_DATA" expcube=/scratch/kocevski/304421/ltcube_687225601_687484801_4FGL_J2145.0-3356_daily_bin1728.fits outfile=/scratch/kocevski/304421/expmap_687225601_687484801_4FGL_J2145.0-3356_daily_bin1728.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/304421/ltcube_687225601_687484801_4FGL_J2145.0-3356_daily_bin1728.fits
.....................!
real 191.15
user 185.99
sys 4.81

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/304421/ft1_filtered_4FGL_J2145.0-3356_daily_bin1728.fits scfile=/scratch/kocevski/304421/ft2_4FGL_J2145.0-3356_daily_bin1728.fits outfile=/scratch/kocevski/304421/cmap_687225601_687484801_4FGL_J2145.0-3356_daily_bin1728.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/304421/ft1_filtered_4FGL_J2145.0-3356_daily_bin1728.fits scfile=/scratch/kocevski/304421/ft2_4FGL_J2145.0-3356_daily_bin1728.fits outfile=/scratch/kocevski/304421/cmap_HighResolution_687225601_687484801_4FGL_J2145.0-3356_daily_bin1728.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/304421/ft1_filtered_4FGL_J2145.0-3356_daily_bin1728.fits evtable="EVENTS" scfile=/scratch/kocevski/304421/ft2_4FGL_J2145.0-3356_daily_bin1728.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/304421/Model_4FGL_J2145.0-3356_daily_bin1728.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/304421/ft1_filtered_4FGL_J2145.0-3356_daily_bin1728.fits.....................!
real 65.88
user 64.50
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.178       1.0000          .0000       .10000E+07
     2 'Prefactor '    .23454E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    4.9820       1.0000          .0000       .10000E+07
     4 'norm      '    6.8745       1.0000          .0000       .10000E+07
     5 'norm      '    42.240       1.0000          .0000       .10000E+07
     6 'Prefactor '    4.6625       1.0000          .0000       .10000E+07
     7 'Prefactor '    .25454E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .45349E-04   1.0000          .0000       .10000E+07
     9 'norm      '    15.013       1.0000          .0000       .10000E+07
    10 'Prefactor '    .19252E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    3.3822       1.0000          .0000       .10000E+07
    12 'norm      '    1.4790       1.0000          .0000       .10000E+07
    13 'norm      '    1.1853       1.0000          .0000       .10000E+07
    14 'Prefactor '    .26996E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .10239E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .25781E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    1.5600       1.0000          .0000       .10000E+07
    18 'Prefactor '    9.8183       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.2067       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .93978       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=   8136.656     FROM MIGRAD    STATUS=CONVERGED    177 CALLS     1237 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.906        18.041       -.13134E-05    .24348E-01
   2  Prefactor     .14932E-07    14.054        .19332E-05** at limit **
   3  Prefactor     4.9031        5.5605       -.67847E-06    .29161E-01
   4  norm          6.8969        6.8699       -.38953E-07   -.10554E-03
   5  norm          42.194        7.8908       -.87679E-07   -.11770E-01
   6  Prefactor     4.5666        6.9054        .27141E-06   -.14153E-02
   7  Prefactor     .19595E-07    12.612       -.11033E-05** at limit **
   8  Prefactor     .11102E-09    4.6790       -.40712E-06** at limit **
   9  norm          14.987        7.8270        .14900E-06    .14032E-03
  10  Prefactor     .15543E-08    9.2116        .98993E-06** at limit **
  11  Prefactor     .29970E-06    721.30        .34321E-04** at limit **
  12  norm          1.6226        5.3206       -.12755E-05    .19143E-02
  13  norm          1.1833        .40979       -.26063E-07   -.59655E-04
  14  Prefactor     .55511E-10    4.9724        .62581E-06** at limit **
  15  Prefactor     .22204E-09    5.7587        .44855E-06** at limit **
  16  Prefactor      .0000        3.9349        .68147E-07** at limit **
  17  Prefactor     .60452        190.09       -.65356E-05   -.45410E-02
  18  Prefactor     9.9356        6.8490       -.62097E-06   -.74373E-01
  19  Normalizat    1.2111        .22065        .13371E-04   -.82784E-04
  20  Prefactor     .93864        .13523       -.10713E-05   -.43626E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.9056
  Prefactor  = 1.49325e-08
  Prefactor  = 4.9031
  norm       = 6.89694
  norm       = 42.1941
  Prefactor  = 4.56659
  Prefactor  = 1.95954e-08
  Prefactor  = 1.11022e-10
  norm       = 14.9866
  Prefactor  = 1.55431e-09
  Prefactor  = 2.99705e-07
  norm       = 1.62262
  norm       = 1.18328
  Prefactor  = 5.55112e-11
  Prefactor  = 2.22045e-10
  Prefactor  = 0
  Prefactor  = 0.604521
  Prefactor  = 9.93555
  Normalizat = 1.21109
  Prefactor  = 0.938641
 **********
 **   18 **HESSE 
 **********

 FCN=   8136.656     FROM HESSE     STATUS=OK           339 CALLS     1576 TOTAL
                     EDM=   .39E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.906        19.322        .27567E-03   -1.5636    
   2  Prefactor     .14932E-07    14.212        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.9031        53.415        .45032E-03   -1.5664    
   4  norm          6.8969        6.8762        .38242E-03   -1.5655    
   5  norm          42.194        8.8128        .15388E-03   -1.5578    
   6  Prefactor     4.5666        6.9080        .46584E-03   -1.5665    
   7  Prefactor     .19595E-07    12.681        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11102E-09    4.6700        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          14.987        7.8409        .25824E-03   -1.5631    
  10  Prefactor     .15543E-08    9.2693        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .29970E-06    711.48        .54993E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.6226        5.3635        .88238E-03   -1.5682    
  13  norm          1.1833        .41286        .70021E-03   -1.5686    
  14  Prefactor     .55511E-10    4.9385        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .22204E-09    5.7728        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        3.9376        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .60452        18.193        .11742E-01   -1.5692    
  18  Prefactor     9.9356        15.674        .31956E-03   -1.5645    
  19  Normalizat    1.2111        .19233        .66964E-01   -.86261    
  20  Prefactor     .93864        .11716        .45510E-01   -.94804    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.92658e-07
Minuit parameter uncertainties:
  1  19.3222
  2  0.000921037
  3  32.367
  4  6.87618
  5  8.8128
  6  6.90804
  7  0.000996849
  8  5.02164e-05
  9  7.84092
  10  0.00023958
  11  0.0292082
  12  5.36352
  13  0.41286
  14  3.88146e-05
  15  7.29384e-05
  16  1.76628e-05
  17  6.63271
  18  15.6739
  19  0.192443
  20  0.117193
Done.

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

Extracting fit parameters...

4FGL J2145.0-3356
   Spectrum: LogParabola
270         norm:  1.499e+01  7.841e+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

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  9.386e-01  1.172e-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.211e+00  1.924e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.04
Ra Dec: 326.253 -33.944
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 5.88e-08 +/- 3.08e-08
Energy Flux (Fixed Index): 2.38e-05 +/- 1.24e-05

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) = 8133.7959482
delta logL = 2.85981042543

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8133.58939366
delta logL = 3.06636497084

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.8172       1.0000          .0000       .10000E+07
     2 'alpha     '    1.1407       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2417       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93060       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=   8133.589     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      213 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.8172        5.6488        .31958E-03    .64088E-01
   2  alpha         1.1407        .27940        .25908       -.12054E-03
   3  Normalizat    1.2417        .17705        .66256E-01   -.99502E-04
   4  Prefactor     .93061        .11539        .45394E-01    .12065E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.8172
  alpha      = 1.14071
  Normalizat = 1.24172
  Prefactor  = 0.930608
 **********
 **   18 **HESSE 
 **********

 FCN=   8133.589     FROM HESSE     STATUS=OK            31 CALLS      244 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.8172        7.5586        .12783E-04   -1.5645    
   2  alpha         1.1407        .38838        .11009E-01   -.57486    
   3  Normalizat    1.2417        .20313        .29310E-03   -.85323    
   4  Prefactor     .93061        .13256        .21572E-03   -.95080    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.10545e-08
Minuit parameter uncertainties:
  1  7.55862
  2  0.390628
  3  0.203258
  4  0.132604
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/304421': 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) = 8133.58939365
delta logL = 3.06636498157

Extracting fit parameters...

4FGL J2145.0-3356
   Spectrum: LogParabola
270         norm:  9.817e+00  7.559e+00  0.000e+00  1.000e+06 ( 1.000e-12)
271        alpha:  1.141e+00  3.906e-01  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:  9.306e-01  1.326e-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.242e+00  2.033e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.18
Ra Dec: 326.253 -33.944
Photon Index (Free Index): 1.14 +/- 0.39
Photon Flux (Free Index): 2.45e-08 +/- 1.69e-08
Energy Flux (Free Index): 7.42e-05 +/- 5.70e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/304421/cmap_HighResolution_687225601_687484801_4FGL_J2145.0-3356_daily_bin1728.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.88e-08', energy_flux2='7.42e-05', photon_flux_error='3.08e-08', dlogl='3.07e+00', energy_flux='2.38e-05', photon_flux2='2.45e-08', job_status='DONE', time_completed='2022-10-15 00:45:24.701979', photon_index_error2='0.39', photon_index2='1.14', ts='9.04', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='5.70e-05', EG='1.21', time_epoch_completed='1665819924.7', return_code='0', job_id='304421', GAL2='0.93', EG2='1.24', return_code2='0', energy_flux_error='1.24e-05', photon_flux_error2='1.69e-08', ts2='15.18', photon_index='2.16' WHERE bin_id='1728' AND source_name='4FGL J2145.0-3356' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct 15 00:45:24 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 304421: <4FGL_J2145.0-3356_daily_bin1728> in cluster <slac> Done

Job <4FGL_J2145.0-3356_daily_bin1728> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Oct 15 00:35:53 2022
Job was executed on host(s) <bullet0207>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Oct 15 00:35:54 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Oct 15 00:35:54 2022
Terminated at Sat Oct 15 00:45:25 2022
Results reported at Sat Oct 15 00:45:25 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2145.0-3356_daily_bin1728 326.253 -33.9439 687225601 687484801 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 :                                   528.54 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             348.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   571 sec.
    Turnaround time :                            572 sec.

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

