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


Performing analysis on: 4FGL_J2156.3-0036_daily_bin1722
RA = 329.08, Dec = -0.6039
tmin = 685670401, tmax = 685929601
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='248874', job_status='RUN', time_executed='2022-09-27 01:09:01.768399', time_epoch_executed='1664266141.77' WHERE source_name='4FGL J2156.3-0036' and cadence='daily' and bin_id='1722'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/248874

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/248874/ft1_4FGL_J2156.3-0036_daily_bin1722.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/248874/ft2_4FGL_J2156.3-0036_daily_bin1722.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/248874/ft1_4FGL_J2156.3-0036_daily_bin1722.fits outfile=/scratch/kocevski/248874/ft1_filteredMKT_4FGL_J2156.3-0036_daily_bin1722.fits ra=329.08 dec=-0.6039 rad=12.0 tmin=685670401.0 tmax=685929601.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.77
user 3.52
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/248874/ft2_4FGL_J2156.3-0036_daily_bin1722.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/248874/ft1_filteredMKT_4FGL_J2156.3-0036_daily_bin1722.fits evtable="EVENTS" outfile="/scratch/kocevski/248874/ft1_filtered_4FGL_J2156.3-0036_daily_bin1722.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.33
sys 0.16

Number of photons that the gtmktime cut: 658

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/248874/ft1_filtered_4FGL_J2156.3-0036_daily_bin1722.fits" evtable="EVENTS" scfile=/scratch/kocevski/248874/ft2_4FGL_J2156.3-0036_daily_bin1722.fits sctable="SC_DATA" outfile=/scratch/kocevski/248874/ltcube_685670401_685929601_4FGL_J2156.3-0036_daily_bin1722.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/248874/ft2_4FGL_J2156.3-0036_daily_bin1722.fits
.....................!
real 14.65
user 14.21
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/248874/ft1_filtered_4FGL_J2156.3-0036_daily_bin1722.fits evtable="EVENTS" scfile=/scratch/kocevski/248874/ft2_4FGL_J2156.3-0036_daily_bin1722.fits sctable="SC_DATA" expcube=/scratch/kocevski/248874/ltcube_685670401_685929601_4FGL_J2156.3-0036_daily_bin1722.fits outfile=/scratch/kocevski/248874/expmap_685670401_685929601_4FGL_J2156.3-0036_daily_bin1722.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/248874/ltcube_685670401_685929601_4FGL_J2156.3-0036_daily_bin1722.fits
.....................!
real 191.97
user 185.93
sys 5.57

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/248874/ft1_filtered_4FGL_J2156.3-0036_daily_bin1722.fits scfile=/scratch/kocevski/248874/ft2_4FGL_J2156.3-0036_daily_bin1722.fits outfile=/scratch/kocevski/248874/cmap_685670401_685929601_4FGL_J2156.3-0036_daily_bin1722.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.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/248874/ft1_filtered_4FGL_J2156.3-0036_daily_bin1722.fits scfile=/scratch/kocevski/248874/ft2_4FGL_J2156.3-0036_daily_bin1722.fits outfile=/scratch/kocevski/248874/cmap_HighResolution_685670401_685929601_4FGL_J2156.3-0036_daily_bin1722.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.57
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/248874/ft1_filtered_4FGL_J2156.3-0036_daily_bin1722.fits evtable="EVENTS" scfile=/scratch/kocevski/248874/ft2_4FGL_J2156.3-0036_daily_bin1722.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/248874/Model_4FGL_J2156.3-0036_daily_bin1722.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/248874/ft1_filtered_4FGL_J2156.3-0036_daily_bin1722.fits.....................!
real 69.43
user 67.94
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/248874/ft1_filtered_4FGL_J2156.3-0036_daily_bin1722.fits', '/scratch/kocevski/248874/ft2_4FGL_J2156.3-0036_daily_bin1722.fits', expMap='/scratch/kocevski/248874/expmap_685670401_685929601_4FGL_J2156.3-0036_daily_bin1722.fits', expCube='/scratch/kocevski/248874/ltcube_685670401_685929601_4FGL_J2156.3-0036_daily_bin1722.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/248874/Model_4FGL_J2156.3-0036_daily_bin1722.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/248874/ft1_filtered_4FGL_J2156.3-0036_daily_bin1722.fits
Spacecraft file(s): /scratch/kocevski/248874/ft2_4FGL_J2156.3-0036_daily_bin1722.fits
Exposure map: /scratch/kocevski/248874/expmap_685670401_685929601_4FGL_J2156.3-0036_daily_bin1722.fits
Exposure cube: /scratch/kocevski/248874/ltcube_685670401_685929601_4FGL_J2156.3-0036_daily_bin1722.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/248874/Model_4FGL_J2156.3-0036_daily_bin1722.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 7233.64525508

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .44273E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    6.9871       1.0000          .0000       .10000E+07
     3 'Prefactor '    .86734E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    5.2733       1.0000          .0000       .10000E+07
     5 'Prefactor '    .13296E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .16159       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.4667       1.0000          .0000       .10000E+07
     8 'norm      '    .29447       1.0000          .0000       .10000E+07
     9 'norm      '    4.3444       1.0000          .0000       .10000E+07
    10 'Prefactor '    4.6661       1.0000          .0000       .10000E+07
    11 'Prefactor '    10.415       1.0000          .0000       .10000E+07
    12 'Prefactor '    .21760E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .13394E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    2.0531       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.8069       1.0000          .0000       .10000E+07
    16 'Prefactor '    .40269E-05   1.0000          .0000       .10000E+07
    17 'norm      '    1.1510       1.0000          .0000       .10000E+07
    18 'Prefactor '    .32819E-01   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.2363       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .73431       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=   7232.656     FROM MIGRAD    STATUS=CONVERGED    193 CALLS     1295 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .82157E-08    39.029        .15268E-06** at limit **
   2  Prefactor     6.9648        7.1691       -.45201E-07   -.43027E-01
   3  Prefactor     .64948E-08    15.927        .20864E-06** at limit **
   4  Prefactor     5.2675        4.3504        .11862E-07    .54370E-04
   5  Prefactor      .0000        .91615       -.38983E-07** at limit **
   6  Prefactor     .12768E-08    83.196        .53893E-06** at limit **
   7  Prefactor     .23059E-06    653.75       -.61361E-05** at limit **
   8  norm          .29470        1.7353        .28994E-08    .26676E-03
   9  norm          4.5362        16.177        .50265E-07    .14589E-01
  10  Prefactor     4.8176        6.7210       -.24614E-07   -.62901E-03
  11  Prefactor     10.405        5.7103        .78243E-07   -.44986E-03
  12  Prefactor     .16653E-09    91.511        .31181E-05** at limit **
  13  Prefactor     .77161E-08    14.574        .17985E-06** at limit **
  14  Prefactor     2.1715        35.662       -.68521E-06    .39633E-03
  15  Prefactor     3.8031        10.180        .67515E-07   -.52847E-03
  16  Prefactor      .0000        1.9902       -.15875E-06** at limit **
  17  norm          1.1472        1.7645       -.85800E-08   -.21570E-03
  18  Prefactor     .55511E-10    24.437       -.11908E-06** at limit **
  19  Normalizat    1.2375        .23508       -.10966E-05    .85344E-04
  20  Prefactor     .73409        .12460       -.42839E-07    .93821E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.21565e-09
  Prefactor  = 6.96481
  Prefactor  = 6.4948e-09
  Prefactor  = 5.26745
  Prefactor  = 0
  Prefactor  = 1.27676e-09
  Prefactor  = 2.30593e-07
  norm       = 0.294697
  norm       = 4.53623
  Prefactor  = 4.81758
  Prefactor  = 10.405
  Prefactor  = 1.66533e-10
  Prefactor  = 7.71605e-09
  Prefactor  = 2.17145
  Prefactor  = 3.80311
  Prefactor  = 0
  norm       = 1.14723
  Prefactor  = 5.55112e-11
  Normalizat = 1.23752
  Prefactor  = 0.734094
 **********
 **   18 **HESSE 
 **********

 FCN=   7232.656     FROM HESSE     STATUS=OK           339 CALLS     1634 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .82157E-08    39.346        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.9648        22.038        .37929E-03   -1.5655    
   3  Prefactor     .64948E-08    16.035        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.2675        4.3601        .43746E-03   -1.5662    
   5  Prefactor      .0000        .91596        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .12768E-08    80.079        .12504E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .23059E-06    633.78        .65084E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .29470        1.8077        .10290E-02   -1.5697    
   9  norm          4.5362        17.152        .48303E-03   -1.5665    
  10  Prefactor     4.8176        6.7640        .46565E-03   -1.5664    
  11  Prefactor     10.405        5.7167        .31022E-03   -1.5643    
  12  Prefactor     .16653E-09    88.404        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .77161E-08    14.711        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.1715        35.716        .72110E-03   -1.5678    
  15  Prefactor     3.8031        10.250        .51708E-03   -1.5669    
  16  Prefactor      .0000        1.9885        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.1472        2.2329        .31720E-02   -1.5687    
  18  Prefactor     .55511E-10    24.563        .16305E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.2375        .19446        .60558E-01   -.85451    
  20  Prefactor     .73409        .10312        .42856E-01   -1.0221    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.26348e-07
Minuit parameter uncertainties:
  1  0.00113761
  2  22.038
  3  0.000645503
  4  4.3601
  5  2.62336e-06
  6  0.00063805
  7  0.0241809
  8  1.45975
  9  17.1521
  10  6.76405
  11  5.71672
  12  0.000261877
  13  0.000673822
  14  17.6133
  15  10.2501
  16  4.92005e-07
  17  2.23295
  18  6.63327e-05
  19  0.194579
  20  0.103151
Done.

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

Extracting fit parameters...

4FGL J2156.3-0036
   Spectrum: PowerLaw
299    Prefactor:  1.665e-10  2.619e-04  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:  7.341e-01  1.032e-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:  1.238e+00  1.946e-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: 8.51e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.51e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/248874/likelihoodResults_685670401_685929601_4FGL_J2156.3-0036_daily_bin1722.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) = 7232.66464269
delta logL = -0.00903523657325

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7232.47707139
delta logL = 0.178536058258

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0496       1.0000          .0000       .10000E+07
     2 'Index     '    3.2732       1.0000          .0000       10.000    
     3 'Normalizat'    1.2074       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74039       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=   7232.477     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      241 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0511        38.861        .12089E-02    .13122E-01
   2  Index         3.2726        3.1555        .14207        .13655E-03
   3  Normalizat    1.2075        .36675E-01    .61202E-01   -.16090E-04
   4  Prefactor     .74036        .20251E-01    .42936E-01    .28364E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.05109
  Index      = 3.27259
  Normalizat = 1.20751
  Prefactor  = 0.74036
 **********
 **   18 **HESSE 
 **********

 FCN=   7232.477     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      274 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0511        150.54        .14242E-04   -1.5687    
   2  Index         3.2726        5.5807        .84251E-02   -.35275    
   3  Normalizat    1.2075        .22470        .27070E-03   -.86371    
   4  Prefactor     .74036        .12765        .18537E-03   -1.0197    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.49987e-06
Minuit parameter uncertainties:
  1  25.1586
  2  10.1953
  3  0.224876
  4  0.127701
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/248874': 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) = 7232.47707126
delta logL = 0.178536193762

Extracting fit parameters...

4FGL J2156.3-0036
   Spectrum: PowerLaw
299    Prefactor:  1.051e+00  2.516e+01  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  3.273e+00  1.020e+01  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:  7.404e-01  1.277e-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:  1.208e+00  2.249e-01  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/248874/cmap_HighResolution_685670401_685929601_4FGL_J2156.3-0036_daily_bin1722.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.51e-03', job_status='DONE', photon_flux_upper_limit='8.51e-08', time_completed='2022-09-27 01:18:34.928485', job_id='248874', GAL2='0.74', fit_tolerance='1e-08', EG2='1.21', EG='1.24', time_epoch_completed='1664266714.93', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.73', dlogl='1.79e-01', ts2='0.40', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='1722' AND source_name='4FGL J2156.3-0036' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 27 01:18:34 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 248874: <4FGL_J2156.3-0036_daily_bin1722> in cluster <slac> Done

Job <4FGL_J2156.3-0036_daily_bin1722> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 27 01:05:53 2022
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 27 01:07:38 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 27 01:07:38 2022
Terminated at Tue Sep 27 01:18:35 2022
Results reported at Tue Sep 27 01:18:35 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2156.3-0036_daily_bin1722 329.08 -0.6039 685670401 685929601 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 :                                   575.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             372.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   657 sec.
    Turnaround time :                            762 sec.

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

