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


Performing analysis on: 4FGL_J2151.8-3027_daily_bin1665
RA = 327.966, Dec = -30.46
tmin = 670896001, tmax = 671155201
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='357018', job_status='RUN', time_executed='2022-04-09 00:38:24.353523', time_epoch_executed='1649489904.35' WHERE source_name='4FGL J2151.8-3027' and cadence='daily' and bin_id='1665'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/357018

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/357018/ft1_4FGL_J2151.8-3027_daily_bin1665.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/357018/ft2_4FGL_J2151.8-3027_daily_bin1665.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/357018/ft1_4FGL_J2151.8-3027_daily_bin1665.fits outfile=/scratch/kocevski/357018/ft1_filteredMKT_4FGL_J2151.8-3027_daily_bin1665.fits ra=327.966 dec=-30.46 rad=12.0 tmin=670896001.0 tmax=671155201.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 5.35
user 5.09
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/357018/ft2_4FGL_J2151.8-3027_daily_bin1665.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/357018/ft1_filteredMKT_4FGL_J2151.8-3027_daily_bin1665.fits evtable="EVENTS" outfile="/scratch/kocevski/357018/ft1_filtered_4FGL_J2151.8-3027_daily_bin1665.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.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 714

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/357018/ft1_filtered_4FGL_J2151.8-3027_daily_bin1665.fits" evtable="EVENTS" scfile=/scratch/kocevski/357018/ft2_4FGL_J2151.8-3027_daily_bin1665.fits sctable="SC_DATA" outfile=/scratch/kocevski/357018/ltcube_670896001_671155201_4FGL_J2151.8-3027_daily_bin1665.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/357018/ft2_4FGL_J2151.8-3027_daily_bin1665.fits
.....................!
real 11.89
user 11.53
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/357018/ft1_filtered_4FGL_J2151.8-3027_daily_bin1665.fits evtable="EVENTS" scfile=/scratch/kocevski/357018/ft2_4FGL_J2151.8-3027_daily_bin1665.fits sctable="SC_DATA" expcube=/scratch/kocevski/357018/ltcube_670896001_671155201_4FGL_J2151.8-3027_daily_bin1665.fits outfile=/scratch/kocevski/357018/expmap_670896001_671155201_4FGL_J2151.8-3027_daily_bin1665.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/357018/ltcube_670896001_671155201_4FGL_J2151.8-3027_daily_bin1665.fits
.....................!
real 191.02
user 186.34
sys 4.35

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/357018/ft1_filtered_4FGL_J2151.8-3027_daily_bin1665.fits scfile=/scratch/kocevski/357018/ft2_4FGL_J2151.8-3027_daily_bin1665.fits outfile=/scratch/kocevski/357018/cmap_670896001_671155201_4FGL_J2151.8-3027_daily_bin1665.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/357018/ft1_filtered_4FGL_J2151.8-3027_daily_bin1665.fits scfile=/scratch/kocevski/357018/ft2_4FGL_J2151.8-3027_daily_bin1665.fits outfile=/scratch/kocevski/357018/cmap_HighResolution_670896001_671155201_4FGL_J2151.8-3027_daily_bin1665.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.55
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/357018/ft1_filtered_4FGL_J2151.8-3027_daily_bin1665.fits evtable="EVENTS" scfile=/scratch/kocevski/357018/ft2_4FGL_J2151.8-3027_daily_bin1665.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/357018/Model_4FGL_J2151.8-3027_daily_bin1665.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/357018/ft1_filtered_4FGL_J2151.8-3027_daily_bin1665.fits.....................!
real 61.30
user 60.05
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/357018/ft1_filtered_4FGL_J2151.8-3027_daily_bin1665.fits', '/scratch/kocevski/357018/ft2_4FGL_J2151.8-3027_daily_bin1665.fits', expMap='/scratch/kocevski/357018/expmap_670896001_671155201_4FGL_J2151.8-3027_daily_bin1665.fits', expCube='/scratch/kocevski/357018/ltcube_670896001_671155201_4FGL_J2151.8-3027_daily_bin1665.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/357018/Model_4FGL_J2151.8-3027_daily_bin1665.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  1.000e-04  1.000e+04 ( 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  0.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/357018/ft1_filtered_4FGL_J2151.8-3027_daily_bin1665.fits
Spacecraft file(s): /scratch/kocevski/357018/ft2_4FGL_J2151.8-3027_daily_bin1665.fits
Exposure map: /scratch/kocevski/357018/expmap_670896001_671155201_4FGL_J2151.8-3027_daily_bin1665.fits
Exposure cube: /scratch/kocevski/357018/ltcube_670896001_671155201_4FGL_J2151.8-3027_daily_bin1665.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/357018/Model_4FGL_J2151.8-3027_daily_bin1665.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) = 7702.94793502

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    22.095       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10188E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.0231       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.6714       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.5675       1.0000         .10000E-03   10000.    
     7 'Prefactor '    18.248       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.3174       1.0000         .10000E-03   10000.    
     9 'norm      '    2.1588       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .43276E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    88.856       1.0000         .10000E-03   10000.    
    12 'norm      '    1.3739       1.0000         .10000E-03   10000.    
    13 'norm      '    .68166       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .13737E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.9232       1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.5388       1.0000         .10000E-03   10000.    
    17 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.355       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .93284       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .81307       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7702.890     FROM MIGRAD    STATUS=CONVERGED    416 CALLS     2055 TOTAL
                     EDM=   .32E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.7132        .10356E-07** at limit **
   2  Prefactor     22.091        20.323        .37618E-06    .17592E-04
   3  Prefactor     .10000E-03    3.3375        .16726E-06** at limit **
   4  norm          1.0227        3.7973        .14406E-06    .93568E-06
   5  Prefactor     4.6717        4.9342        .70636E-07   -.14697E-04
   6  Prefactor     2.5679        4.8939        .73777E-06   -.28365E-04
   7  Prefactor     18.250        11.575       -.16280E-06   -.75748E-04
   8  Prefactor     3.3172        3.5286        .29091E-07    .13739E-04
   9  norm          2.1577        6.0033        .89774E-06   -.42826E-04
  10  Prefactor     .10000E-03    14.988        .40272E-05** at limit **
  11  Prefactor     88.800        46.163        .76729E-06   -.23901E-04
  12  norm          1.3796        3.8669        .83093E-06   -.37015E-04
  13  norm          .68162        .28108       -.39117E-07   -.62735E-03
  14  Prefactor     .10000E-03    3.7382        .20345E-06** at limit **
  15  Prefactor     6.9242        8.9092        .16857E-08   -.23110E-04
  16  Prefactor     8.5390        6.0396        .12703E-06   -.22680E-04
  17  norm          .10000E-03    8.4278       -.18938E-07** at limit **
  18  Prefactor     10.356        12.042        .13884E-06   -.34309E-05
  19  Normalizat    .93282        .15425       -.14016E-05   -.11449E-03
  20  Prefactor     .81309        .10419        .78908E-07   -.26015E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 22.0909
  Prefactor  = 0.0001
  norm       = 1.02267
  Prefactor  = 4.67166
  Prefactor  = 2.56788
  Prefactor  = 18.2501
  Prefactor  = 3.31718
  norm       = 2.1577
  Prefactor  = 0.0001
  Prefactor  = 88.8
  norm       = 1.37964
  norm       = 0.681621
  Prefactor  = 0.0001
  Prefactor  = 6.9242
  Prefactor  = 8.53898
  norm       = 0.0001
  Prefactor  = 10.3556
  Normalizat = 0.932824
  Prefactor  = 0.813088
 **********
 **   18 **HESSE 
 **********

 FCN=   7702.890     FROM HESSE     STATUS=OK           303 CALLS     2358 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.7270        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     22.091        20.378        .85213E-04   -1.4768    
   3  Prefactor     .10000E-03    10.426        .31027E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.0227        3.7197        .32074E-03   -1.5506    
   5  Prefactor     4.6717        4.9308        .18620E-03   -1.5276    
   6  Prefactor     2.5679        4.8701        .12738E-02   -1.5387    
   7  Prefactor     18.250        11.582        .93758E-04   -1.4853    
   8  Prefactor     3.3172        3.5303        .16508E-03   -1.5344    
   9  norm          2.1577        5.9805        .14018E-02   -1.5414    
  10  Prefactor     .10000E-03    14.721        .21227E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     88.800        46.209        .21312E-03   -1.3820    
  12  norm          1.3796        3.8194        .24824E-03   -1.5473    
  13  norm          .68162        .28077        .27661E-04   -1.5543    
  14  Prefactor     .10000E-03    24.050        .32508E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.9242        8.8962        .15248E-03   -1.5182    
  16  Prefactor     8.5390        6.0566        .13718E-03   -1.5123    
  17  norm          .10000E-03    8.4527        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     10.356        12.045        .12451E-03   -1.5064    
  19  Normalizat    .93282        .17283        .25556E-03   -.95316    
  20  Prefactor     .81309        .11822        .19350E-03   -.99248    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22225e-09
Minuit parameter uncertainties:
  1  3.48283e-06
  2  20.3847
  3  6.07778e-05
  4  3.72053
  5  4.93125
  6  4.87084
  7  11.5831
  8  3.53052
  9  5.98217
  10  4.70415e-05
  11  46.2276
  12  3.82004
  13  0.280767
  14  8.02537e-05
  15  8.89792
  16  6.05699
  17  4.99707e-06
  18  12.0479
  19  0.172929
  20  0.118255
Done.

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

Extracting fit parameters...

4FGL J2151.8-3027
   Spectrum: LogParabola
276         norm:  1.380e+00  3.820e+00  1.000e-04  1.000e+04 ( 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  0.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:  8.131e-01  1.183e-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:  9.328e-01  1.729e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/357018/likelihoodResults_670896001_671155201_4FGL_J2151.8-3027_daily_bin1665.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) = 7702.83649399
delta logL = 0.0534172221751

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7702.83496557
delta logL = 0.0549456422459

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5055       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.3288       1.0000          .0000       5.0000    
     3 'Normalizat'    .92401       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81644       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7702.835     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      243 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5052        3.5102        .19815E-03    .82618E-05
   2  alpha         3.3288        1.7825        .57915E-01    .40450E-05
   3  Normalizat    .92403        .16685        .25659E-03    .93489E-05
   4  Prefactor     .81643        .11623        .19312E-03    .74997E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.50517
  alpha      = 3.32878
  Normalizat = 0.924032
  Prefactor  = 0.81643
 **********
 **   18 **HESSE 
 **********

 FCN=   7702.835     FROM HESSE     STATUS=OK            25 CALLS      268 TOTAL
                     EDM=   .76E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5052        3.2870        .79261E-05   -1.5463    
   2  alpha         3.3288        1.6958        .11583E-01    .33791    
   3  Normalizat    .92403        .16718        .10263E-04   -.95621    
   4  Prefactor     .81643        .11635        .77249E-05   -.99126    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.64241e-12
Minuit parameter uncertainties:
  1  3.28737
  2  1.89241
  3  0.167272
  4  0.116387
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/357018': 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) = 7702.83496555
delta logL = 0.0549456575991

Extracting fit parameters...

4FGL J2151.8-3027
   Spectrum: LogParabola
276         norm:  1.505e+00  3.287e+00  1.000e-04  1.000e+04 ( 1.000e-11)
277        alpha:  3.329e+00  1.892e+00  0.000e+00  5.000e+00 ( 1.000e+00)
278         beta:  1.851e-01  0.000e+00  0.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:  8.164e-01  1.164e-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:  9.240e-01  1.673e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/357018/cmap_HighResolution_670896001_671155201_4FGL_J2151.8-3027_daily_bin1665.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.18e-05', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2022-04-09 00:49:11.717246', job_id='357018', GAL2='0.82', fit_tolerance='1e-08', EG2='0.92', EG='0.93', time_epoch_completed='1649490551.72', return_code2='0', ts='0.16', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='5.49e-02', ts2='0.28', photon_index_error='0.00', photon_index='2.75' WHERE bin_id='1665' AND source_name='4FGL J2151.8-3027' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Apr  9 00:49:11 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 357018: <4FGL_J2151.8-3027_daily_bin1665> in cluster <slac> Done

Job <4FGL_J2151.8-3027_daily_bin1665> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Apr  9 00:35:44 2022
Job was executed on host(s) <bullet0111>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Apr  9 00:35:47 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Apr  9 00:35:47 2022
Terminated at Sat Apr  9 00:49:12 2022
Results reported at Sat Apr  9 00:49:12 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2151.8-3027_daily_bin1665 327.966 -30.46 670896001 671155201 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 :                                   644.54 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   805 sec.
    Turnaround time :                            808 sec.

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

