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


Performing analysis on: 4FGL_J2151.8-3027_daily_bin1765
RA = 327.966, Dec = -30.46
tmin = 696816001, tmax = 697075201
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='647078', job_status='RUN', time_executed='2023-02-03 01:44:09.403410', time_epoch_executed='1675417449.4' WHERE source_name='4FGL J2151.8-3027' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/647078

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/647078/ft1_4FGL_J2151.8-3027_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/647078/ft2_4FGL_J2151.8-3027_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/647078/ft1_4FGL_J2151.8-3027_daily_bin1765.fits outfile=/scratch/kocevski/647078/ft1_filteredMKT_4FGL_J2151.8-3027_daily_bin1765.fits ra=327.966 dec=-30.46 rad=12.0 tmin=696816001.0 tmax=697075201.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.69
user 3.41
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/647078/ft2_4FGL_J2151.8-3027_daily_bin1765.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/647078/ft2_4FGL_J2151.8-3027_daily_bin1765.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/647078/ft1_filteredMKT_4FGL_J2151.8-3027_daily_bin1765.fits evtable="EVENTS" outfile="/scratch/kocevski/647078/ft1_filtered_4FGL_J2151.8-3027_daily_bin1765.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 424

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/647078/ft1_filtered_4FGL_J2151.8-3027_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/647078/ft2_4FGL_J2151.8-3027_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/647078/ltcube_696816001_697075201_4FGL_J2151.8-3027_daily_bin1765.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/647078/ft2_4FGL_J2151.8-3027_daily_bin1765.fits
.....................!
real 15.04
user 14.32
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/647078/ft1_filtered_4FGL_J2151.8-3027_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/647078/ft2_4FGL_J2151.8-3027_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/647078/ltcube_696816001_697075201_4FGL_J2151.8-3027_daily_bin1765.fits outfile=/scratch/kocevski/647078/expmap_696816001_697075201_4FGL_J2151.8-3027_daily_bin1765.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/647078/ltcube_696816001_697075201_4FGL_J2151.8-3027_daily_bin1765.fits
.....................!
real 192.52
user 186.04
sys 4.82

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 163 point sources and 0 extended sources

Setting source of interest to:
4FGL J2151.8-3027 @ 327.966 -30.46

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/647078/ft1_filtered_4FGL_J2151.8-3027_daily_bin1765.fits scfile=/scratch/kocevski/647078/ft2_4FGL_J2151.8-3027_daily_bin1765.fits outfile=/scratch/kocevski/647078/cmap_696816001_697075201_4FGL_J2151.8-3027_daily_bin1765.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=327.966 yref=-30.46 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/647078/ft1_filtered_4FGL_J2151.8-3027_daily_bin1765.fits scfile=/scratch/kocevski/647078/ft2_4FGL_J2151.8-3027_daily_bin1765.fits outfile=/scratch/kocevski/647078/cmap_HighResolution_696816001_697075201_4FGL_J2151.8-3027_daily_bin1765.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=327.966 yref=-30.46 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.59
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/647078/ft1_filtered_4FGL_J2151.8-3027_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/647078/ft2_4FGL_J2151.8-3027_daily_bin1765.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/647078/Model_4FGL_J2151.8-3027_daily_bin1765.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/647078/ft1_filtered_4FGL_J2151.8-3027_daily_bin1765.fits.....................!
real 45.88
user 44.08
sys 1.41

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/647078/ft1_filtered_4FGL_J2151.8-3027_daily_bin1765.fits', '/scratch/kocevski/647078/ft2_4FGL_J2151.8-3027_daily_bin1765.fits', expMap='/scratch/kocevski/647078/expmap_696816001_697075201_4FGL_J2151.8-3027_daily_bin1765.fits', expCube='/scratch/kocevski/647078/ltcube_696816001_697075201_4FGL_J2151.8-3027_daily_bin1765.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/647078/Model_4FGL_J2151.8-3027_daily_bin1765.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2151.8-3027'

4FGL J2151.8-3027
   Spectrum: LogParabola
276         norm:  7.814e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
277        alpha:  2.749e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
278         beta:  1.851e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
279           Eb:  3.065e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/647078/ft1_filtered_4FGL_J2151.8-3027_daily_bin1765.fits
Spacecraft file(s): /scratch/kocevski/647078/ft2_4FGL_J2151.8-3027_daily_bin1765.fits
Exposure map: /scratch/kocevski/647078/expmap_696816001_697075201_4FGL_J2151.8-3027_daily_bin1765.fits
Exposure cube: /scratch/kocevski/647078/ltcube_696816001_697075201_4FGL_J2151.8-3027_daily_bin1765.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/647078/Model_4FGL_J2151.8-3027_daily_bin1765.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) = 4825.85969324

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.628       1.0000          .0000       .10000E+07
     2 'Prefactor '    36.803       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.6158       1.0000          .0000       .10000E+07
     4 'norm      '    10.597       1.0000          .0000       .10000E+07
     5 'Prefactor '    .71859E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .82268E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    15.221       1.0000          .0000       .10000E+07
     8 'Prefactor '    10.264       1.0000          .0000       .10000E+07
     9 'norm      '    .74286E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    24.789       1.0000          .0000       .10000E+07
    11 'Prefactor '    .14024E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .72442E-07   1.0000          .0000       .10000E+07
    13 'norm      '    1.2356       1.0000          .0000       .10000E+07
    14 'Prefactor '    11.511       1.0000          .0000       .10000E+07
    15 'Prefactor '    38.621       1.0000          .0000       .10000E+07
    16 'Prefactor '    12.199       1.0000          .0000       .10000E+07
    17 'norm      '    16.557       1.0000          .0000       .10000E+07
    18 'Prefactor '    .33223E-04   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.3291       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .70983       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5220E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4825.854     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     1568 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.690        5.6940       -.31039E-06   -.16206E-01
   2  Prefactor     37.182        5.5321        .24530E-06   -.41972E-01
   3  Prefactor     4.6102        9.7690        .19357E-05    .26242E-02
   4  norm          10.677        8.2035       -.25610E-06   -.14392E-02
   5  Prefactor      .0000        2.4065        .39655E-06** at limit **
   6  Prefactor     .39302E-07    5.3229        .16236E-05** at limit **
   7  Prefactor     15.226        9.2797        .22066E-06    .86376E-01
   8  Prefactor     10.351        10.742        .14640E-05    .60359E-02
   9  norm          .12140E-06    97.261       -.49518E-05** at limit **
  10  Prefactor     24.821        21.520       -.72435E-06    .16051E-01
  11  Prefactor     .14821E-07    118.90        .41778E-05** at limit **
  12  norm          .12679E-06    9.7734       -.21188E-05** at limit **
  13  norm          1.2357        .47241       -.96333E-07   -.40644E-02
  14  Prefactor     11.467        10.824        .44354E-06    .39944E-01
  15  Prefactor     38.707        6.2110        .19553E-06   -.30712E-01
  16  Prefactor     12.197        5.8726        .47145E-06    .35884E-01
  17  norm          16.553        1.4671       -.71404E-07    .22874E-02
  18  Prefactor     .73275E-08    3.8875        .97400E-06** at limit **
  19  Normalizat    1.3291        .26735       -.65100E-06   -.75813E-04
  20  Prefactor     .70940        .17478       -.54238E-05   -.80216E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.6898
  Prefactor  = 37.182
  Prefactor  = 4.61017
  norm       = 10.6766
  Prefactor  = 0
  Prefactor  = 3.93019e-08
  Prefactor  = 15.2259
  Prefactor  = 10.3506
  norm       = 1.21403e-07
  Prefactor  = 24.8207
  Prefactor  = 1.48215e-08
  norm       = 1.26787e-07
  norm       = 1.23568
  Prefactor  = 11.467
  Prefactor  = 38.7066
  Prefactor  = 12.1975
  norm       = 16.5532
  Prefactor  = 7.32747e-09
  Normalizat = 1.32914
  Prefactor  = 0.709396
 **********
 **   18 **HESSE 
 **********

 FCN=   4825.854     FROM HESSE     STATUS=OK           345 CALLS     1913 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.690        21.973        .29353E-03   -1.5640    
   2  Prefactor     37.182        35.960        .16486E-03   -1.5586    
   3  Prefactor     4.6102        9.8362        .46824E-03   -1.5665    
   4  norm          10.677        8.1954        .30754E-03   -1.5643    
   5  Prefactor      .0000        2.4207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .39302E-07    9.5538        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     15.226        13.683        .25646E-03   -1.5630    
   8  Prefactor     10.351        10.827        .31250E-03   -1.5644    
   9  norm          .12140E-06    6.0167        .60278E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     24.821        23.391        .20089E-03   -1.5608    
  11  Prefactor     .14821E-07    120.35        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .12679E-06    10.753        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.2357        .47148        .64222E-03   -1.5686    
  14  Prefactor     11.467        14.410        .29503E-03   -1.5640    
  15  Prefactor     38.707        25.304        .16093E-03   -1.5584    
  16  Prefactor     12.197        13.956        .28655E-03   -1.5638    
  17  norm          16.553        32.531        .24588E-03   -1.5627    
  18  Prefactor     .73275E-08    8.8382        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.3291        .24236        .60783E-01   -.82701    
  20  Prefactor     .70940        .15488        .42532E-01   -1.0316    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.48086e-07
Minuit parameter uncertainties:
  1  21.9734
  2  35.9599
  3  9.83623
  4  8.19537
  5  1.63497e-05
  6  0.00122567
  7  13.6834
  8  10.8272
  9  0.00170946
  10  23.3913
  11  0.00267294
  12  0.00233513
  13  0.471484
  14  14.4101
  15  25.3043
  16  13.9564
  17  32.5313
  18  0.00050942
  19  0.242565
  20  0.154978
Done.

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

Extracting fit parameters...

4FGL J2151.8-3027
   Spectrum: LogParabola
276         norm:  1.268e-07  2.335e-03  0.000e+00  1.000e+06 ( 1.000e-11)
277        alpha:  2.749e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
278         beta:  1.851e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
279           Eb:  3.065e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  7.094e-01  1.550e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.329e+00  2.426e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 327.966 -30.460
Photon Flux Upper Limit: 1.36e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.94e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/647078/likelihoodResults_696816001_697075201_4FGL_J2151.8-3027_daily_bin1765.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) = 4825.91198753
delta logL = -0.057796086493

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4825.85419156
delta logL = -1.13032911031e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .25258E-07   1.0000          .0000       .10000E+07
     2 'alpha     '    4.5876       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3292       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70943       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5220E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4825.854     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      233 TOTAL
                     EDM=   .93E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11102E-09    .34483        .42118E-03** at limit **
   2  alpha         1.9400        3.3230        .51000       -.62416E-10
   3  Normalizat    1.3291        .19091E-02    .60783E-01    .25814E-05
   4  Prefactor     .70940        .12591E-02    .42527E-01    .39568E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.11022e-10
  alpha      = 1.93995
  Normalizat = 1.32914
  Prefactor  = 0.709396
 **********
 **   18 **HESSE 
 **********

 FCN=   4825.854     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      260 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11102E-09    .91018        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9400        4.0002        .10200       -.22594    
   3  Normalizat    1.3291        .30933E-02    .26882E-03   -.82701    
   4  Prefactor     .70940        .20406E-02    .23357E-03   -1.0316    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.53083e-11
Minuit parameter uncertainties:
  1  2.16886e-05
  2  67354.6
  3  0.00309334
  4  0.00204061
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/647078': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4825.85419144
delta logL = 5.80348569201e-09

Extracting fit parameters...

4FGL J2151.8-3027
   Spectrum: LogParabola
276         norm:  1.110e-10  2.169e-05  0.000e+00  1.000e+06 ( 1.000e-11)
277        alpha:  1.940e+00  6.735e+04  0.000e+00  5.000e+00 ( 1.000e+00)
278         beta:  1.851e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
279           Eb:  3.065e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  7.094e-01  2.041e-03  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.329e+00  3.093e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 327.966 -30.460

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/647078/cmap_HighResolution_696816001_697075201_4FGL_J2151.8-3027_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.94e-05', job_status='DONE', photon_flux_upper_limit='1.36e-07', time_completed='2023-02-03 01:52:27.035286', job_id='647078', GAL2='0.71', fit_tolerance='1e-08', EG2='1.33', EG='1.33', time_epoch_completed='1675417947.04', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='5.80e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.75' WHERE bin_id='1765' AND source_name='4FGL J2151.8-3027' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 01:52:27 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0166>
Subject: Job 647078: <4FGL_J2151.8-3027_daily_bin1765> in cluster <slac> Done

Job <4FGL_J2151.8-3027_daily_bin1765> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Feb  3 01:40:18 2023
Job was executed on host(s) <bullet0166>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 01:41:47 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 01:41:47 2023
Terminated at Fri Feb  3 01:52:27 2023
Results reported at Fri Feb  3 01:52:27 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2151.8-3027_daily_bin1765 327.966 -30.46 696816001 697075201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2151.8-3027 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   496.15 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             287.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   640 sec.
    Turnaround time :                            729 sec.

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

