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 216 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7483
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2145.0-3356_daily_bin1683
RA = 326.253, Dec = -33.9439
tmin = 675561601, tmax = 675820801
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='52837', job_status='RUN', time_executed='2022-06-02 01:39:43.727153', time_epoch_executed='1654159183.73' WHERE source_name='4FGL J2145.0-3356' and cadence='daily' and bin_id='1683'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/52837

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/52837/ft1_4FGL_J2145.0-3356_daily_bin1683.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/52837/ft2_4FGL_J2145.0-3356_daily_bin1683.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/52837/ft1_4FGL_J2145.0-3356_daily_bin1683.fits outfile=/scratch/kocevski/52837/ft1_filteredMKT_4FGL_J2145.0-3356_daily_bin1683.fits ra=326.253 dec=-33.9439 rad=12.0 tmin=675561601.0 tmax=675820801.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.57
user 3.24
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/52837/ft2_4FGL_J2145.0-3356_daily_bin1683.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/52837/ft1_filteredMKT_4FGL_J2145.0-3356_daily_bin1683.fits evtable="EVENTS" outfile="/scratch/kocevski/52837/ft1_filtered_4FGL_J2145.0-3356_daily_bin1683.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.52
user 0.35
sys 0.16

Number of photons that the gtmktime cut: 836

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/52837/ft1_filtered_4FGL_J2145.0-3356_daily_bin1683.fits" evtable="EVENTS" scfile=/scratch/kocevski/52837/ft2_4FGL_J2145.0-3356_daily_bin1683.fits sctable="SC_DATA" outfile=/scratch/kocevski/52837/ltcube_675561601_675820801_4FGL_J2145.0-3356_daily_bin1683.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/52837/ft2_4FGL_J2145.0-3356_daily_bin1683.fits
.....................!
real 14.97
user 14.55
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/52837/ft1_filtered_4FGL_J2145.0-3356_daily_bin1683.fits evtable="EVENTS" scfile=/scratch/kocevski/52837/ft2_4FGL_J2145.0-3356_daily_bin1683.fits sctable="SC_DATA" expcube=/scratch/kocevski/52837/ltcube_675561601_675820801_4FGL_J2145.0-3356_daily_bin1683.fits outfile=/scratch/kocevski/52837/expmap_675561601_675820801_4FGL_J2145.0-3356_daily_bin1683.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/52837/ltcube_675561601_675820801_4FGL_J2145.0-3356_daily_bin1683.fits
.....................!
real 190.75
user 185.75
sys 4.44

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/52837/ft1_filtered_4FGL_J2145.0-3356_daily_bin1683.fits scfile=/scratch/kocevski/52837/ft2_4FGL_J2145.0-3356_daily_bin1683.fits outfile=/scratch/kocevski/52837/cmap_675561601_675820801_4FGL_J2145.0-3356_daily_bin1683.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.57
user 0.37
sys 0.17

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/52837/ft1_filtered_4FGL_J2145.0-3356_daily_bin1683.fits evtable="EVENTS" scfile=/scratch/kocevski/52837/ft2_4FGL_J2145.0-3356_daily_bin1683.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/52837/Model_4FGL_J2145.0-3356_daily_bin1683.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/52837/ft1_filtered_4FGL_J2145.0-3356_daily_bin1683.fits.....................!
real 70.28
user 68.81
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/52837/ft1_filtered_4FGL_J2145.0-3356_daily_bin1683.fits', '/scratch/kocevski/52837/ft2_4FGL_J2145.0-3356_daily_bin1683.fits', expMap='/scratch/kocevski/52837/expmap_675561601_675820801_4FGL_J2145.0-3356_daily_bin1683.fits', expCube='/scratch/kocevski/52837/ltcube_675561601_675820801_4FGL_J2145.0-3356_daily_bin1683.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/52837/Model_4FGL_J2145.0-3356_daily_bin1683.xml', optimizer='MINUIT')

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

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


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/52837/ft1_filtered_4FGL_J2145.0-3356_daily_bin1683.fits
Spacecraft file(s): /scratch/kocevski/52837/ft2_4FGL_J2145.0-3356_daily_bin1683.fits
Exposure map: /scratch/kocevski/52837/expmap_675561601_675820801_4FGL_J2145.0-3356_daily_bin1683.fits
Exposure cube: /scratch/kocevski/52837/ltcube_675561601_675820801_4FGL_J2145.0-3356_daily_bin1683.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/52837/Model_4FGL_J2145.0-3356_daily_bin1683.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) = 8905.04510654

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.719       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.760       1.0000         .10000E-03   10000.    
     4 'norm      '    2.4778       1.0000         .10000E-03   10000.    
     5 'norm      '    12.992       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10688E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.9831       1.0000         .10000E-03   10000.    
     9 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .13945E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.0554       1.0000         .10000E-03   10000.    
    12 'norm      '    .10457E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .54071       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10352E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.8384       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .30828       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1849       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .92584       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=   8905.007     FROM MIGRAD    STATUS=CONVERGED    407 CALLS     1770 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.719        15.331        .27067E-06   -.14772E-04
   2  Prefactor     .10000E-03    18.460        .71300E-06** at limit **
   3  Prefactor     15.741        25.196        .28614E-05   -.12324E-03
   4  norm          2.4782        5.2086        .40058E-05   -.20436E-03
   5  norm          12.993        4.8543       -.11679E-06   -.43810E-04
   6  Prefactor     .10000E-03    4.0505        .99703E-07** at limit **
   7  Prefactor     .10000E-03    15.328       -.15928E-05** at limit **
   8  Prefactor     5.9827        5.3769        .29003E-07   -.25306E-04
   9  norm          .10000E-03    2.7533        .42262E-07** at limit **
  10  Prefactor     .10000E-03    14.555       -.47345E-05** at limit **
  11  Prefactor     4.0142        100.41        .15452E-04   -.28194E-04
  12  norm          .10000E-03    2.2688       -.10141E-05** at limit **
  13  norm          .54071        .22191       -.45470E-07   -.50733E-03
  14  Prefactor     .10000E-03    10.133        .18688E-06** at limit **
  15  Prefactor     8.8350        17.928       -.26654E-07   -.43286E-04
  16  Prefactor     .34121        3.5451        .22285E-06   -.92251E-04
  17  Prefactor     .10000E-03    6.9601       -.50151E-06** at limit **
  18  Prefactor     .10000E-03    6.2323        .43732E-06** at limit **
  19  Normalizat    1.1849        .16080        .54804E-06   -.31930E-04
  20  Prefactor     .92581        .10525       -.15335E-05   -.12797E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.7189
  Prefactor  = 0.0001
  Prefactor  = 15.7409
  norm       = 2.47822
  norm       = 12.9931
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.98273
  norm       = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 4.0142
  norm       = 0.0001
  norm       = 0.540706
  Prefactor  = 0.0001
  Prefactor  = 8.83502
  Prefactor  = 0.341209
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.18493
  Prefactor  = 0.925812
 **********
 **   18 **HESSE 
 **********

 FCN=   8905.007     FROM HESSE     STATUS=OK           295 CALLS     2065 TOTAL
                     EDM=   .66E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.719        15.339        .90195E-04   -1.4820    
   2  Prefactor     .10000E-03    18.554        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     15.741        25.083        .10089E-03   -1.4914    
   4  norm          2.4782        5.2497        .12986E-02   -1.5393    
   5  norm          12.993        4.8510        .11113E-03   -1.4987    
   6  Prefactor     .10000E-03    4.0902        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    15.606        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.9827        5.3740        .16416E-03   -1.5219    
   9  norm          .10000E-03    2.7921        .15289E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    15.206        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.0142        103.25        .20022E-03   -1.5307    
  12  norm          .10000E-03    2.3657        .27788E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .54071        .22260        .27508E-04   -1.5561    
  14  Prefactor     .10000E-03    10.323        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.8350        17.972        .13482E-03   -1.5113    
  16  Prefactor     .34121        12.443        .33675E-02   -1.5591    
  17  Prefactor     .10000E-03    6.9699        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    6.2352        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1849        .18396        .26519E-03   -.87070    
  20  Prefactor     .92581        .12040        .20299E-03   -.95245    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.63304e-08
Minuit parameter uncertainties:
  1  15.3422
  2  3.25177e-06
  3  25.1
  4  5.25069
  5  4.85113
  6  8.10009e-06
  7  0.000118224
  8  5.37446
  9  3.69979e-06
  10  0.000527203
  11  40.7941
  12  4.93202e-05
  13  0.222598
  14  8.44833e-05
  15  17.9826
  16  4.12135
  17  3.63302e-05
  18  1.31355e-05
  19  0.184063
  20  0.120437
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  9.258e-01  1.204e-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.185e+00  1.841e-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: 4.05e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.64e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/52837/likelihoodResults_675561601_675820801_4FGL_J2145.0-3356_daily_bin1683.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) = 8905.00884419
delta logL = -0.00170646927654

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8905.00713777
delta logL = -4.46234480478e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8905.007     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      235 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    19.765        .15302E-02** at limit **
   2  alpha         2.3691        3.3733        .16647       -.36604E-07
   3  Normalizat    1.1849        .17147        .26519E-03   -.58989E-04
   4  Prefactor     .92581        .11829        .20299E-03   -.78184E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.36909
  Normalizat = 1.18493
  Prefactor  = 0.925812
 **********
 **   18 **HESSE 
 **********

 FCN=   8905.007     FROM HESSE     STATUS=OK            23 CALLS      258 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.8488        .30605E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3691        3.5023        .66589E-02   -.52388E-01
   3  Normalizat    1.1849        .17161        .10608E-04   -.87070    
   4  Prefactor     .92581        .11838        .81197E-05   -.95245    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.09968e-11
Minuit parameter uncertainties:
  1  1.29921e-05
  2  256.139
  3  0.171691
  4  0.118417
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/52837': 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) = 8905.00713737
delta logL = 3.48047251464e-07

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  9.258e-01  1.184e-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.185e+00  1.717e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.64e-05', job_status='DONE', photon_flux_upper_limit='4.05e-08', time_completed='2022-06-02 01:50:58.928908', job_id='52837', GAL2='0.93', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1654159858.93', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='3.48e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.16' WHERE bin_id='1683' AND source_name='4FGL J2145.0-3356' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jun  2 01:50:58 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 52837: <4FGL_J2145.0-3356_daily_bin1683> in cluster <slac> Done

Job <4FGL_J2145.0-3356_daily_bin1683> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Jun  2 01:35:21 2022
Job was executed on host(s) <bullet0085>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun  2 01:35:58 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jun  2 01:35:58 2022
Terminated at Thu Jun  2 01:50:59 2022
Results reported at Thu Jun  2 01:50:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2145.0-3356_daily_bin1683 326.253 -33.9439 675561601 675820801 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 :                                   675.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             280.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   901 sec.
    Turnaround time :                            938 sec.

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

