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


Performing analysis on: 4FGL_J2156.3-0036_daily_bin1750
RA = 329.08, Dec = -0.6039
tmin = 692928001, tmax = 693187201
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='27187', job_status='RUN', time_executed='2022-12-20 01:52:06.681851', time_epoch_executed='1671529926.68' WHERE source_name='4FGL J2156.3-0036' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/27187

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/27187/ft1_4FGL_J2156.3-0036_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/27187/ft2_4FGL_J2156.3-0036_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/27187/ft1_4FGL_J2156.3-0036_daily_bin1750.fits outfile=/scratch/kocevski/27187/ft1_filteredMKT_4FGL_J2156.3-0036_daily_bin1750.fits ra=329.08 dec=-0.6039 rad=12.0 tmin=692928001.0 tmax=693187201.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.52
user 3.28
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/27187/ft2_4FGL_J2156.3-0036_daily_bin1750.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/27187/ft2_4FGL_J2156.3-0036_daily_bin1750.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/27187/ft1_filteredMKT_4FGL_J2156.3-0036_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/27187/ft1_filtered_4FGL_J2156.3-0036_daily_bin1750.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.50
user 0.32
sys 0.17

Number of photons that the gtmktime cut: 531

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/27187/ft1_filtered_4FGL_J2156.3-0036_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/27187/ft2_4FGL_J2156.3-0036_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/27187/ltcube_692928001_693187201_4FGL_J2156.3-0036_daily_bin1750.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/27187/ft2_4FGL_J2156.3-0036_daily_bin1750.fits
.....................!
real 11.81
user 11.42
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/27187/ft1_filtered_4FGL_J2156.3-0036_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/27187/ft2_4FGL_J2156.3-0036_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/27187/ltcube_692928001_693187201_4FGL_J2156.3-0036_daily_bin1750.fits outfile=/scratch/kocevski/27187/expmap_692928001_693187201_4FGL_J2156.3-0036_daily_bin1750.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/27187/ltcube_692928001_693187201_4FGL_J2156.3-0036_daily_bin1750.fits
.....................!
real 191.15
user 185.41
sys 5.29

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

Setting source of interest to:
4FGL J2156.3-0036 @ 329.08 -0.6039

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/27187/ft1_filtered_4FGL_J2156.3-0036_daily_bin1750.fits scfile=/scratch/kocevski/27187/ft2_4FGL_J2156.3-0036_daily_bin1750.fits outfile=/scratch/kocevski/27187/cmap_692928001_693187201_4FGL_J2156.3-0036_daily_bin1750.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=329.08 yref=-0.6039 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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/27187/ft1_filtered_4FGL_J2156.3-0036_daily_bin1750.fits scfile=/scratch/kocevski/27187/ft2_4FGL_J2156.3-0036_daily_bin1750.fits outfile=/scratch/kocevski/27187/cmap_HighResolution_692928001_693187201_4FGL_J2156.3-0036_daily_bin1750.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=329.08 yref=-0.6039 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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/27187/ft1_filtered_4FGL_J2156.3-0036_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/27187/ft2_4FGL_J2156.3-0036_daily_bin1750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/27187/Model_4FGL_J2156.3-0036_daily_bin1750.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/27187/ft1_filtered_4FGL_J2156.3-0036_daily_bin1750.fits.....................!
real 60.90
user 59.21
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/27187/ft1_filtered_4FGL_J2156.3-0036_daily_bin1750.fits', '/scratch/kocevski/27187/ft2_4FGL_J2156.3-0036_daily_bin1750.fits', expMap='/scratch/kocevski/27187/expmap_692928001_693187201_4FGL_J2156.3-0036_daily_bin1750.fits', expCube='/scratch/kocevski/27187/ltcube_692928001_693187201_4FGL_J2156.3-0036_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/27187/Model_4FGL_J2156.3-0036_daily_bin1750.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2156.3-0036'

4FGL J2156.3-0036
   Spectrum: PowerLaw
299    Prefactor:  2.502e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  2.249e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
301        Scale:  1.470e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/27187/ft1_filtered_4FGL_J2156.3-0036_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/27187/ft2_4FGL_J2156.3-0036_daily_bin1750.fits
Exposure map: /scratch/kocevski/27187/expmap_692928001_693187201_4FGL_J2156.3-0036_daily_bin1750.fits
Exposure cube: /scratch/kocevski/27187/ltcube_692928001_693187201_4FGL_J2156.3-0036_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/27187/Model_4FGL_J2156.3-0036_daily_bin1750.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) = 5965.37243344

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27188E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .38274E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    85.692       1.0000          .0000       .10000E+07
     4 'Prefactor '    .49940E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .16096E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.8501       1.0000          .0000       .10000E+07
     7 'Prefactor '    .77431E-02   1.0000          .0000       .10000E+07
     8 'norm      '    .80697       1.0000          .0000       .10000E+07
     9 'norm      '    .87671E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    19.744       1.0000          .0000       .10000E+07
    11 'Prefactor '    8.5746       1.0000          .0000       .10000E+07
    12 'Prefactor '    .34337E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    30.631       1.0000          .0000       .10000E+07
    14 'Prefactor '    .14930       1.0000          .0000       .10000E+07
    15 'Prefactor '    .15138E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    6.7394       1.0000          .0000       .10000E+07
    17 'norm      '    12.628       1.0000          .0000       .10000E+07
    18 'Prefactor '    .26182E-01   1.0000          .0000       .10000E+07
    19 'Normalizat'    .65854       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0032       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5965.368     FROM MIGRAD    STATUS=CONVERGED    168 CALLS     1638 TOTAL
                     EDM=   .35E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        21.547       -.88526E-07** at limit **
   2  Prefactor     .55511E-10    20.805        .22339E-06** at limit **
   3  Prefactor     86.290        58.447       -.18972E-07   -.19647E-02
   4  Prefactor      .0000        3.1942       -.86523E-07** at limit **
   5  Prefactor      .0000        2.3662        .47767E-08** at limit **
   6  Prefactor     4.7567        18.351        .66982E-07   -.38217E-02
   7  Prefactor      .0000        39.496       -.98016E-07** at limit **
   8  norm          .80723        2.0366       -.93041E-07    .82388E-04
   9  norm           .0000        8.6231       -.10987E-06** at limit **
  10  Prefactor     19.755        10.489       -.44498E-07    .91661E-04
  11  Prefactor     8.5934        7.9729        .37214E-07   -.28193E-04
  12  Prefactor      .0000        3.7197        .22123E-07** at limit **
  13  Prefactor     30.951        17.207        .18187E-07    .10126E-01
  14  Prefactor      .0000        75.059       -.15184E-06** at limit **
  15  Prefactor      .0000        3.9689       -.10348E-06** at limit **
  16  Prefactor     6.7545        3.9994        .26981E-08   -.87438E-04
  17  norm          12.520        6.2432        .16553E-07   -.92271E-04
  18  Prefactor      .0000        45.366       -.50109E-07** at limit **
  19  Normalizat    .65876        .27885        .13817E-05   -.20337E-05
  20  Prefactor     1.0030        .14621       -.22901E-06   -.27137E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 86.29
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 4.75669
  Prefactor  = 0
  norm       = 0.807226
  norm       = 0
  Prefactor  = 19.755
  Prefactor  = 8.59339
  Prefactor  = 0
  Prefactor  = 30.9511
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 6.7545
  norm       = 12.5196
  Prefactor  = 0
  Normalizat = 0.658756
  Prefactor  = 1.00298
 **********
 **   18 **HESSE 
 **********

 FCN=   5965.368     FROM HESSE     STATUS=OK           331 CALLS     1969 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        21.508        .16603E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-10    20.771        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     86.290        58.633        .10803E-03   -1.5522    
   4  Prefactor      .0000        3.1930        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        2.3537        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.7567        33.185        .45653E-03   -1.5664    
   7  Prefactor      .0000        39.502        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .80723        2.0463        .52416E-03   -1.5690    
   9  norm           .0000        8.6182        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     19.755        10.497        .22513E-03   -1.5619    
  11  Prefactor     8.5934        7.9628        .34209E-03   -1.5649    
  12  Prefactor      .0000        3.7193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     30.951        23.939        .18071E-03   -1.5597    
  14  Prefactor      .0000        73.178        .12758E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        3.9677        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.7545        4.0064        .38627E-03   -1.5656    
  17  norm          12.520        6.2393        .28162E-03   -1.5637    
  18  Prefactor      .0000        45.313        .16659E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .65876        .24256        .85661E-01   -1.0554    
  20  Prefactor     1.0030        .12534        .44621E-01   -.92630    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1401e-08
Minuit parameter uncertainties:
  1  3.59676e-06
  2  6.1388e-05
  3  58.6333
  4  2.60826e-06
  5  4.81879e-07
  6  25.128
  7  6.31715e-05
  8  2.04632
  9  4.37353e-06
  10  10.4969
  11  7.96285
  12  7.69167e-07
  13  23.9392
  14  8.28544e-05
  15  2.96662e-06
  16  4.00642
  17  6.23926
  18  3.77244e-06
  19  0.242957
  20  0.12538
Done.

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

Extracting fit parameters...

4FGL J2156.3-0036
   Spectrum: PowerLaw
299    Prefactor:  0.000e+00  7.692e-07  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  2.249e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
301        Scale:  1.470e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  1.003e+00  1.254e-01  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  6.588e-01  2.430e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 329.080 -0.604
Photon Flux Upper Limit: 6.25e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.78e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/27187/likelihoodResults_692928001_693187201_4FGL_J2156.3-0036_daily_bin1750.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): 102
logL (Free Index) = 5965.37510797
delta logL = -0.00699073351188

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5965.36811724
delta logL = -1.54523149831e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .72164E-09   1.0000          .0000       .10000E+07
     2 'Index     '    2.4004       1.0000          .0000       10.000    
     3 'Normalizat'    .65874       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0030       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5965.368     FROM MIGRAD    STATUS=CONVERGED     74 CALLS      257 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .17208E-08    .80918        .42118E-03** at limit **
   2  Index         .69788        7.9951        .50000       -.38654E-08
   3  Normalizat    .65876        .42901E-02    .85661E-01   -.17399E-03
   4  Prefactor     1.0030        .23826E-02    .44674E-01   -.48630E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.72085e-09
  Index      = 0.697879
  Normalizat = 0.658756
  Prefactor  = 1.00298
 **********
 **   18 **HESSE 
 **********

 FCN=   5965.368     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      288 TOTAL
                     EDM=   .61E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .17208E-08    4.0185        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .69788        7.3157        .50000       -1.0361    
   3  Normalizat    .65876        .95559E-02    .37940E-03   -1.0554    
   4  Prefactor     1.0030        .53200E-02    .17267E-03   -.92630    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.11823e-11
Minuit parameter uncertainties:
  1  0.000166661
  2  35953.1
  3  0.0095559
  4  0.00532
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/27187': 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) = 5965.36811724
delta logL = -7.00310920365e-10

Extracting fit parameters...

4FGL J2156.3-0036
   Spectrum: PowerLaw
299    Prefactor:  1.721e-09  1.667e-04  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  6.979e-01  3.595e+04  0.000e+00  1.000e+01 (-1.000e+00)
301        Scale:  1.470e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  1.003e+00  5.320e-03  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  6.588e-01  9.556e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 329.080 -0.604

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/27187/cmap_HighResolution_692928001_693187201_4FGL_J2156.3-0036_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.78e-03', job_status='DONE', photon_flux_upper_limit='6.25e-08', time_completed='2022-12-20 02:01:02.170779', job_id='27187', GAL2='1.00', fit_tolerance='1e-08', EG2='0.66', EG='0.66', time_epoch_completed='1671530462.17', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='-7.00e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='1750' AND source_name='4FGL J2156.3-0036' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 02:01:02 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 27187: <4FGL_J2156.3-0036_daily_bin1750> in cluster <slac> Done

Job <4FGL_J2156.3-0036_daily_bin1750> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Dec 20 01:50:12 2022
Job was executed on host(s) <bullet0268>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 01:50:13 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 01:50:13 2022
Terminated at Tue Dec 20 02:01:03 2022
Results reported at Tue Dec 20 02:01:03 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2156.3-0036_daily_bin1750 329.08 -0.6039 692928001 693187201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2156.3-0036 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   537.37 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             315.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   649 sec.
    Turnaround time :                            651 sec.

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

