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


Performing analysis on: 4FGL_J2145.0-3356_daily_bin1708
RA = 326.253, Dec = -33.9439
tmin = 682041601, tmax = 682300801
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='236037', job_status='RUN', time_executed='2022-09-16 23:26:49.548546', time_epoch_executed='1663396009.55' WHERE source_name='4FGL J2145.0-3356' and cadence='daily' and bin_id='1708'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/236037

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/236037/ft1_4FGL_J2145.0-3356_daily_bin1708.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/236037/ft2_4FGL_J2145.0-3356_daily_bin1708.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/236037/ft1_4FGL_J2145.0-3356_daily_bin1708.fits outfile=/scratch/kocevski/236037/ft1_filteredMKT_4FGL_J2145.0-3356_daily_bin1708.fits ra=326.253 dec=-33.9439 rad=12.0 tmin=682041601.0 tmax=682300801.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.03
user 3.79
sys 0.22

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

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

Number of photons that the gtmktime cut: 590

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/236037/ft1_filtered_4FGL_J2145.0-3356_daily_bin1708.fits" evtable="EVENTS" scfile=/scratch/kocevski/236037/ft2_4FGL_J2145.0-3356_daily_bin1708.fits sctable="SC_DATA" outfile=/scratch/kocevski/236037/ltcube_682041601_682300801_4FGL_J2145.0-3356_daily_bin1708.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/236037/ft2_4FGL_J2145.0-3356_daily_bin1708.fits
.....................!
real 15.27
user 14.80
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/236037/ft1_filtered_4FGL_J2145.0-3356_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/236037/ft2_4FGL_J2145.0-3356_daily_bin1708.fits sctable="SC_DATA" expcube=/scratch/kocevski/236037/ltcube_682041601_682300801_4FGL_J2145.0-3356_daily_bin1708.fits outfile=/scratch/kocevski/236037/expmap_682041601_682300801_4FGL_J2145.0-3356_daily_bin1708.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/236037/ltcube_682041601_682300801_4FGL_J2145.0-3356_daily_bin1708.fits
.....................!
real 192.68
user 186.27
sys 5.77

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/236037/ft1_filtered_4FGL_J2145.0-3356_daily_bin1708.fits scfile=/scratch/kocevski/236037/ft2_4FGL_J2145.0-3356_daily_bin1708.fits outfile=/scratch/kocevski/236037/cmap_682041601_682300801_4FGL_J2145.0-3356_daily_bin1708.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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/236037/ft1_filtered_4FGL_J2145.0-3356_daily_bin1708.fits scfile=/scratch/kocevski/236037/ft2_4FGL_J2145.0-3356_daily_bin1708.fits outfile=/scratch/kocevski/236037/cmap_HighResolution_682041601_682300801_4FGL_J2145.0-3356_daily_bin1708.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.57
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/236037/ft1_filtered_4FGL_J2145.0-3356_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/236037/ft2_4FGL_J2145.0-3356_daily_bin1708.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/236037/Model_4FGL_J2145.0-3356_daily_bin1708.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/236037/ft1_filtered_4FGL_J2145.0-3356_daily_bin1708.fits.....................!
real 53.96
user 51.95
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.046       1.0000          .0000       .10000E+07
     2 'Prefactor '    9.7377       1.0000          .0000       .10000E+07
     3 'Prefactor '    33.712       1.0000          .0000       .10000E+07
     4 'norm      '    .14321E-04   1.0000          .0000       .10000E+07
     5 'norm      '    .25583E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.9061       1.0000          .0000       .10000E+07
     7 'Prefactor '    12.440       1.0000          .0000       .10000E+07
     8 'Prefactor '    13.625       1.0000          .0000       .10000E+07
     9 'norm      '    3.1563       1.0000          .0000       .10000E+07
    10 'Prefactor '    12.995       1.0000          .0000       .10000E+07
    11 'Prefactor '    .42995E-04   1.0000          .0000       .10000E+07
    12 'norm      '    8.2623       1.0000          .0000       .10000E+07
    13 'norm      '    .98737       1.0000          .0000       .10000E+07
    14 'Prefactor '    .39857E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    9.3996       1.0000          .0000       .10000E+07
    16 'Prefactor '    .76322E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .39925E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    16.685       1.0000          .0000       .10000E+07
    19 'Normalizat'    .62093       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2146       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=   6434.252     FROM MIGRAD    STATUS=CONVERGED     93 CALLS     1456 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.908        17.803       -.28991E-08   -.24980E-01
   2  Prefactor     10.024        5.0077       -.74441E-09   -.12974E-01
   3  Prefactor     33.770        4.7409        .91153E-09   -.45526E-01
   4  norm          .35288E-06    1.9851        .15296E-07** at limit **
   5  norm          .38858E-09    2.0029        .16102E-06** at limit **
   6  Prefactor     3.9205        5.9427        .35050E-07   -.38377E-01
   7  Prefactor     12.446        2.4354        .98570E-08   -.61946E-01
   8  Prefactor     13.628        4.9696       -.21733E-07    .16845E-01
   9  norm          3.1721        7.1631        .12019E-06    .56289E-02
  10  Prefactor     13.044        1.4453        .37746E-08   -.75643E-03
  11  Prefactor     .31997E-06    24.636        .48454E-07** at limit **
  12  norm          8.2831        5.7222        .96178E-07    .23101E-02
  13  norm          .98770        .41721        .21633E-08    .79238E-02
  14  Prefactor     .27811E-07    3.9920       -.22453E-06** at limit **
  15  Prefactor     9.3844        1.1307        .19784E-08   -.12407E-01
  16  Prefactor     .20489E-06    2.7952        .10887E-06** at limit **
  17  Prefactor     .55511E-09    7.7772        .68741E-07** at limit **
  18  Prefactor     17.310        9.6369        .42700E-08   -.89981E-01
  19  Normalizat    .62060        .21700       -.64556E-05   -.27848E-03
  20  Prefactor     1.2133        .14776        .17021E-05   -.28763E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.9079
  Prefactor  = 10.0243
  Prefactor  = 33.7701
  norm       = 3.52884e-07
  norm       = 3.88578e-10
  Prefactor  = 3.92048
  Prefactor  = 12.4465
  Prefactor  = 13.628
  norm       = 3.17211
  Prefactor  = 13.0439
  Prefactor  = 3.19966e-07
  norm       = 8.28313
  norm       = 0.987698
  Prefactor  = 2.78111e-08
  Prefactor  = 9.38441
  Prefactor  = 2.04892e-07
  Prefactor  = 5.55112e-10
  Prefactor  = 17.3099
  Normalizat = 0.6206
  Prefactor  = 1.21329
 **********
 **   18 **HESSE 
 **********

 FCN=   6434.252     FROM HESSE     STATUS=OK           337 CALLS     1793 TOTAL
                     EDM=   .65E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.908        20.556        .22342E-03   -1.5617    
   2  Prefactor     10.024        19.449        .32088E-03   -1.5645    
   3  Prefactor     33.770        25.094        .17225E-03   -1.5592    
   4  norm          .35288E-06    4.3442        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .38858E-09    1.9998        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.9205        8.6181        .51025E-03   -1.5668    
   7  Prefactor     12.446        13.872        .28375E-03   -1.5637    
   8  Prefactor     13.628        9.4126        .27110E-03   -1.5634    
   9  norm          3.1721        7.2592        .57026E-03   -1.5672    
  10  Prefactor     13.044        16.855        .27761E-03   -1.5636    
  11  Prefactor     .31997E-06    25.574        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          8.2831        5.8082        .34854E-03   -1.5650    
  13  norm          .98770        .41650        .43318E-03   -1.5688    
  14  Prefactor     .27811E-07    4.1196        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     9.3844        11.908        .32664E-03   -1.5647    
  16  Prefactor     .20489E-06    4.4919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .55511E-09    7.7851        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     17.310        26.231        .24493E-03   -1.5625    
  19  Normalizat    .62060        .20215        .81776E-01   -1.0712    
  20  Prefactor     1.2133        .13424        .34295E-01   -.85923    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.45237e-07
Minuit parameter uncertainties:
  1  20.5565
  2  19.4491
  3  25.0939
  4  0.00247626
  5  5.56171e-05
  6  8.61814
  7  13.8723
  8  9.41262
  9  7.25921
  10  16.8552
  11  0.00572139
  12  5.80822
  13  0.416498
  14  0.000676888
  15  11.9083
  16  0.00191864
  17  0.000132716
  18  26.2309
  19  0.202395
  20  0.134275
Done.

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

Extracting fit parameters...

4FGL J2145.0-3356
   Spectrum: LogParabola
270         norm:  3.172e+00  7.259e+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:  1.213e+00  1.343e-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:  6.206e-01  2.024e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/236037/likelihoodResults_682041601_682300801_4FGL_J2145.0-3356_daily_bin1708.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) = 6434.10133003
delta logL = 0.150845622509

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6434.09720981
delta logL = 0.154965843468

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.1659       1.0000          .0000       .10000E+07
     2 'alpha     '    3.0067       1.0000          .0000       5.0000    
     3 'Normalizat'    .60093       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2189       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=   6434.097     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      245 TOTAL
                     EDM=   .58E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.1715        8.3286        .10011E-03   -.25896E-02
   2  alpha         3.0049        1.8493        .28668E-01   -.13494E-04
   3  Normalizat    .60097        .21395        .36755E-03   -.31241E-04
   4  Prefactor     1.2188        .14510        .18225E-03   -.12439E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.17149
  alpha      = 3.00494
  Normalizat = 0.600971
  Prefactor  = 1.21884
 **********
 **   18 **HESSE 
 **********

 FCN=   6434.097     FROM HESSE     STATUS=OK            27 CALLS      272 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.1715        6.3807        .40045E-05   -1.5672    
   2  alpha         3.0049        1.4916        .11467E-02    .20338    
   3  Normalizat    .60097        .21343        .14702E-04   -1.0794    
   4  Prefactor     1.2188        .14465        .36450E-04   -.85754    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0206e-10
Minuit parameter uncertainties:
  1  6.38069
  2  1.60381
  3  0.213721
  4  0.144695
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/236037': 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) = 6434.09720916
delta logL = 0.154966490832

Extracting fit parameters...

4FGL J2145.0-3356
   Spectrum: LogParabola
270         norm:  3.171e+00  6.381e+00  0.000e+00  1.000e+06 ( 1.000e-12)
271        alpha:  3.005e+00  1.604e+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:  1.219e+00  1.447e-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:  6.010e-01  2.137e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.24
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/236037/cmap_HighResolution_682041601_682300801_4FGL_J2145.0-3356_daily_bin1708.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.46e-05', job_status='DONE', photon_flux_upper_limit='8.57e-08', time_completed='2022-09-16 23:36:06.684947', job_id='236037', GAL2='1.22', fit_tolerance='1e-08', EG2='0.60', EG='0.62', time_epoch_completed='1663396566.69', return_code2='0', ts='0.24', comment='SUCCESS', return_code='0', GAL='1.21', dlogl='1.55e-01', ts2='0.56', photon_index_error='0.00', photon_index='2.16' WHERE bin_id='1708' AND source_name='4FGL J2145.0-3356' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 23:36:06 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 236037: <4FGL_J2145.0-3356_daily_bin1708> in cluster <slac> Done

Job <4FGL_J2145.0-3356_daily_bin1708> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Fri Sep 16 23:25:27 2022
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 23:26:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 23:26:25 2022
Terminated at Fri Sep 16 23:36:07 2022
Results reported at Fri Sep 16 23:36:07 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2145.0-3356_daily_bin1708 326.253 -33.9439 682041601 682300801 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 :                                   557.45 sec.
    Max Memory :                                 1092 MB
    Average Memory :                             327.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   582 sec.
    Turnaround time :                            640 sec.

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

