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


Performing analysis on: 4FGL_J2145.0-3356_daily_bin1753
RA = 326.253, Dec = -33.9439
tmin = 693705601, tmax = 693964801
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='465921', job_status='RUN', time_executed='2022-12-29 01:38:53.619454', time_epoch_executed='1672306733.62' WHERE source_name='4FGL J2145.0-3356' and cadence='daily' and bin_id='1753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/465921

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/465921/ft1_4FGL_J2145.0-3356_daily_bin1753.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/465921/ft2_4FGL_J2145.0-3356_daily_bin1753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/465921/ft1_4FGL_J2145.0-3356_daily_bin1753.fits outfile=/scratch/kocevski/465921/ft1_filteredMKT_4FGL_J2145.0-3356_daily_bin1753.fits ra=326.253 dec=-33.9439 rad=12.0 tmin=693705601.0 tmax=693964801.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 4.77
user 4.47
sys 0.26

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

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

Number of photons that the gtmktime cut: 748

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/465921/ft1_filtered_4FGL_J2145.0-3356_daily_bin1753.fits" evtable="EVENTS" scfile=/scratch/kocevski/465921/ft2_4FGL_J2145.0-3356_daily_bin1753.fits sctable="SC_DATA" outfile=/scratch/kocevski/465921/ltcube_693705601_693964801_4FGL_J2145.0-3356_daily_bin1753.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/465921/ft2_4FGL_J2145.0-3356_daily_bin1753.fits
.....................!
real 15.71
user 15.30
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/465921/ft1_filtered_4FGL_J2145.0-3356_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/465921/ft2_4FGL_J2145.0-3356_daily_bin1753.fits sctable="SC_DATA" expcube=/scratch/kocevski/465921/ltcube_693705601_693964801_4FGL_J2145.0-3356_daily_bin1753.fits outfile=/scratch/kocevski/465921/expmap_693705601_693964801_4FGL_J2145.0-3356_daily_bin1753.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/465921/ltcube_693705601_693964801_4FGL_J2145.0-3356_daily_bin1753.fits
.....................!
real 193.92
user 187.86
sys 5.51

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/465921/ft1_filtered_4FGL_J2145.0-3356_daily_bin1753.fits scfile=/scratch/kocevski/465921/ft2_4FGL_J2145.0-3356_daily_bin1753.fits outfile=/scratch/kocevski/465921/cmap_693705601_693964801_4FGL_J2145.0-3356_daily_bin1753.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.61
user 0.41
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/465921/ft1_filtered_4FGL_J2145.0-3356_daily_bin1753.fits scfile=/scratch/kocevski/465921/ft2_4FGL_J2145.0-3356_daily_bin1753.fits outfile=/scratch/kocevski/465921/cmap_HighResolution_693705601_693964801_4FGL_J2145.0-3356_daily_bin1753.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.58
user 0.41
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/465921/ft1_filtered_4FGL_J2145.0-3356_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/465921/ft2_4FGL_J2145.0-3356_daily_bin1753.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/465921/Model_4FGL_J2145.0-3356_daily_bin1753.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/465921/ft1_filtered_4FGL_J2145.0-3356_daily_bin1753.fits.....................!
real 63.02
user 61.55
sys 1.30

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.0587       1.0000          .0000       .10000E+07
     2 'Prefactor '    .27123E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    12.771       1.0000          .0000       .10000E+07
     4 'norm      '    .46053E-03   1.0000          .0000       .10000E+07
     5 'norm      '    7.1946       1.0000          .0000       .10000E+07
     6 'Prefactor '    8.2453       1.0000          .0000       .10000E+07
     7 'Prefactor '    10.532       1.0000          .0000       .10000E+07
     8 'Prefactor '    .23405E-02   1.0000          .0000       .10000E+07
     9 'norm      '    4.7876       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.0529       1.0000          .0000       .10000E+07
    11 'Prefactor '    .87552       1.0000          .0000       .10000E+07
    12 'norm      '    1.9865       1.0000          .0000       .10000E+07
    13 'norm      '    .32016       1.0000          .0000       .10000E+07
    14 'Prefactor '    8.4904       1.0000          .0000       .10000E+07
    15 'Prefactor '    .39452E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .67907E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .16272E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    24.942       1.0000          .0000       .10000E+07
    19 'Normalizat'    .78326       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .99699       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=   8090.593     FROM MIGRAD    STATUS=CONVERGED    161 CALLS     1265 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.0724        11.377        .34278E-06   -.53371E-01
   2  Prefactor     .41078E-08    9.2684       -.43912E-06** at limit **
   3  Prefactor     12.405        19.137        .81351E-06    .48315E-02
   4  norm          .39024E-07    121.00        .15586E-05** at limit **
   5  norm          7.2619        3.8952       -.43824E-07    .18908E-04
   6  Prefactor     8.1697        6.3055        .47193E-07    .31111E-02
   7  Prefactor     10.585        6.5461       -.25791E-07    .14775    
   8  Prefactor     .75495E-08    6.4431       -.37616E-06** at limit **
   9  norm          4.7519        4.6366        .37912E-07    .24641E-03
  10  Prefactor     2.3051        12.091        .65410E-06    .12294E-01
  11  Prefactor     .24958E-06    133.27        .76079E-06** at limit **
  12  norm          1.9905        2.3799        .11507E-06    .63326E-03
  13  norm          .32010        .21021        .10241E-08    .54525E-03
  14  Prefactor     8.4872        8.2788       -.31461E-06   -.14841E-01
  15  Prefactor     .27756E-09    3.6074        .50880E-06** at limit **
  16  Prefactor     .33307E-09    3.4437        .12353E-06** at limit **
  17  Prefactor     .16653E-09    4.2540       -.65952E-06** at limit **
  18  Prefactor     24.911        3.0880        .15822E-07    .86255E-01
  19  Normalizat    .78410        .17055       -.52491E-05   -.47288E-04
  20  Prefactor     .99678        .11868        .48991E-07   -.43259E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.07243
  Prefactor  = 4.10783e-09
  Prefactor  = 12.4046
  norm       = 3.90243e-08
  norm       = 7.26191
  Prefactor  = 8.16973
  Prefactor  = 10.5854
  Prefactor  = 7.54952e-09
  norm       = 4.75192
  Prefactor  = 2.30513
  Prefactor  = 2.49578e-07
  norm       = 1.99049
  norm       = 0.320101
  Prefactor  = 8.48722
  Prefactor  = 2.77556e-10
  Prefactor  = 3.33067e-10
  Prefactor  = 1.66533e-10
  Prefactor  = 24.9115
  Normalizat = 0.784101
  Prefactor  = 0.996777
 **********
 **   18 **HESSE 
 **********

 FCN=   8090.593     FROM HESSE     STATUS=OK           343 CALLS     1608 TOTAL
                     EDM=   .45E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.0724        14.036        .40767E-03   -1.5659    
   2  Prefactor     .41078E-08    9.3078        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.405        19.308        .28004E-03   -1.5638    
   4  norm          .39024E-07    3.9520        .64323E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          7.2619        3.9020        .37373E-03   -1.5654    
   6  Prefactor     8.1697        6.3244        .34890E-03   -1.5651    
   7  Prefactor     10.585        10.464        .30849E-03   -1.5643    
   8  Prefactor     .75495E-08    6.4533        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.7519        4.6447        .45957E-03   -1.5664    
  10  Prefactor     2.3051        12.436        .72115E-03   -1.5678    
  11  Prefactor     .24958E-06    134.97        .47467E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.9905        2.4159        .73492E-03   -1.5680    
  13  norm          .32010        .21340        .72384E-03   -1.5697    
  14  Prefactor     8.4872        8.3259        .34379E-03   -1.5650    
  15  Prefactor     .27756E-09    3.6077        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .33307E-09    3.4334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .16653E-09    4.2508        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     24.911        20.197        .20027E-03   -1.5608    
  19  Normalizat    .78410        .14996        .64523E-01   -1.0066    
  20  Prefactor     .99678        .10242        .46229E-01   -.92837    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.46868e-07
Minuit parameter uncertainties:
  1  14.0362
  2  0.00039041
  3  19.3083
  4  0.000785564
  5  3.90202
  6  6.32441
  7  10.4641
  8  0.000442029
  9  4.64471
  10  10.7084
  11  0.0116082
  12  2.41591
  13  0.213397
  14  8.32586
  15  6.29468e-05
  16  6.56296e-05
  17  5.05367e-05
  18  20.1971
  19  0.15004
  20  0.102444
Done.

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

Extracting fit parameters...

4FGL J2145.0-3356
   Spectrum: LogParabola
270         norm:  4.752e+00  4.645e+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.968e-01  1.024e-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:  7.841e-01  1.500e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.47
Ra Dec: 326.253 -33.944
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 1.86e-08 +/- 1.82e-08
Energy Flux (Fixed Index): 7.53e-06 +/- 7.36e-06

TS (Fixed Index): 3.47
Ra Dec: 326.253 -33.944
Photon Flux Upper Limit: 6.89e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.78e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/465921/likelihoodResults_693705601_693964801_4FGL_J2145.0-3356_daily_bin1753.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) = 8090.56171812
delta logL = 0.0317285453248

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8090.55403204
delta logL = 0.0394146254021

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0875       1.0000          .0000       .10000E+07
     2 'alpha     '    1.8503       1.0000          .0000       5.0000    
     3 'Normalizat'    .78959       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99579       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=   8090.554     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      211 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0933        4.2471        .49842E-03   -.27354E-01
   2  alpha         1.8489        .76444        .43062       -.46046E-04
   3  Normalizat    .78996        .14329        .64311E-01    .65497E-04
   4  Prefactor     .99558        .10126        .46214E-01    .16980E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.09335
  alpha      = 1.84886
  Normalizat = 0.789959
  Prefactor  = 0.995582
 **********
 **   18 **HESSE 
 **********

 FCN=   8090.554     FROM HESSE     STATUS=OK            31 CALLS      242 TOTAL
                     EDM=   .73E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0933        5.1000        .90354E-04   -1.5667    
   2  alpha         1.8489        1.0742        .27586E-01   -.26349    
   3  Normalizat    .78996        .16529        .28449E-03   -1.0044    
   4  Prefactor     .99558        .11689        .18081E-03   -.92877    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.30125e-11
Minuit parameter uncertainties:
  1  5.10003
  2  1.11329
  3  0.165396
  4  0.116915
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/465921': 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) = 8090.55402604
delta logL = 0.0394206236879

Extracting fit parameters...

4FGL J2145.0-3356
   Spectrum: LogParabola
270         norm:  4.093e+00  5.100e+00  0.000e+00  1.000e+06 ( 1.000e-12)
271        alpha:  1.849e+00  1.113e+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:  9.956e-01  1.169e-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:  7.900e-01  1.654e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.55
Ra Dec: 326.253 -33.944
Photon Index (Free Index): 1.85 +/- 1.11
Photon Flux (Free Index): 1.23e-08 +/- 2.24e-08
Energy Flux (Free Index): 7.89e-06 +/- 8.65e-06

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/465921/cmap_HighResolution_693705601_693964801_4FGL_J2145.0-3356_daily_bin1753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.78e-05', comment='SUCCESS', photon_flux='1.86e-08', energy_flux2='7.89e-06', photon_flux_error='1.82e-08', dlogl='3.94e-02', energy_flux='7.53e-06', photon_flux2='1.23e-08', job_status='DONE', time_completed='2022-12-29 01:49:04.040548', photon_index_error2='1.11', photon_index2='1.85', ts='3.47', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='6.89e-08', energy_flux_error2='8.65e-06', EG='0.78', time_epoch_completed='1672307344.04', return_code='0', job_id='465921', GAL2='1.00', EG2='0.79', return_code2='0', energy_flux_error='7.36e-06', photon_flux_error2='2.24e-08', ts2='3.55', photon_index='2.16' WHERE bin_id='1753' AND source_name='4FGL J2145.0-3356' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec 29 01:49:04 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 465921: <4FGL_J2145.0-3356_daily_bin1753> in cluster <slac> Done

Job <4FGL_J2145.0-3356_daily_bin1753> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Dec 29 01:35:15 2022
Job was executed on host(s) <bullet0040>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec 29 01:35:44 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec 29 01:35:44 2022
Terminated at Thu Dec 29 01:49:04 2022
Results reported at Thu Dec 29 01:49:04 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2145.0-3356_daily_bin1753 326.253 -33.9439 693705601 693964801 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 :                                   611.29 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             265.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   801 sec.
    Turnaround time :                            829 sec.

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

