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


Performing analysis on: 4FGL_J2153.8-1137_daily_bin1666
RA = 328.461, Dec = -11.6306
tmin = 671155201, tmax = 671414401
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='414444', job_status='RUN', time_executed='2022-04-12 00:37:52.985591', time_epoch_executed='1649749072.99' WHERE source_name='4FGL J2153.8-1137' and cadence='daily' and bin_id='1666'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/414444

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/414444/ft1_4FGL_J2153.8-1137_daily_bin1666.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/414444/ft2_4FGL_J2153.8-1137_daily_bin1666.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/414444/ft1_4FGL_J2153.8-1137_daily_bin1666.fits outfile=/scratch/kocevski/414444/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1666.fits ra=328.461 dec=-11.6306 rad=12.0 tmin=671155201.0 tmax=671414401.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.23
user 4.96
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/414444/ft2_4FGL_J2153.8-1137_daily_bin1666.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/414444/ft2_4FGL_J2153.8-1137_daily_bin1666.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/414444/ft1_filteredMKT_4FGL_J2153.8-1137_daily_bin1666.fits evtable="EVENTS" outfile="/scratch/kocevski/414444/ft1_filtered_4FGL_J2153.8-1137_daily_bin1666.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.32
sys 0.16

Number of photons that the gtmktime cut: 862

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/414444/ft1_filtered_4FGL_J2153.8-1137_daily_bin1666.fits" evtable="EVENTS" scfile=/scratch/kocevski/414444/ft2_4FGL_J2153.8-1137_daily_bin1666.fits sctable="SC_DATA" outfile=/scratch/kocevski/414444/ltcube_671155201_671414401_4FGL_J2153.8-1137_daily_bin1666.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/414444/ft2_4FGL_J2153.8-1137_daily_bin1666.fits
.....................!
real 11.67
user 11.33
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/414444/ft1_filtered_4FGL_J2153.8-1137_daily_bin1666.fits evtable="EVENTS" scfile=/scratch/kocevski/414444/ft2_4FGL_J2153.8-1137_daily_bin1666.fits sctable="SC_DATA" expcube=/scratch/kocevski/414444/ltcube_671155201_671414401_4FGL_J2153.8-1137_daily_bin1666.fits outfile=/scratch/kocevski/414444/expmap_671155201_671414401_4FGL_J2153.8-1137_daily_bin1666.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/414444/ltcube_671155201_671414401_4FGL_J2153.8-1137_daily_bin1666.fits
.....................!
real 191.62
user 185.96
sys 5.36

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

Setting source of interest to:
4FGL J2153.8-1137 @ 328.461 -11.6306

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/414444/ft1_filtered_4FGL_J2153.8-1137_daily_bin1666.fits scfile=/scratch/kocevski/414444/ft2_4FGL_J2153.8-1137_daily_bin1666.fits outfile=/scratch/kocevski/414444/cmap_671155201_671414401_4FGL_J2153.8-1137_daily_bin1666.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=328.461 yref=-11.6306 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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/414444/ft1_filtered_4FGL_J2153.8-1137_daily_bin1666.fits scfile=/scratch/kocevski/414444/ft2_4FGL_J2153.8-1137_daily_bin1666.fits outfile=/scratch/kocevski/414444/cmap_HighResolution_671155201_671414401_4FGL_J2153.8-1137_daily_bin1666.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=328.461 yref=-11.6306 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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/414444/ft1_filtered_4FGL_J2153.8-1137_daily_bin1666.fits evtable="EVENTS" scfile=/scratch/kocevski/414444/ft2_4FGL_J2153.8-1137_daily_bin1666.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/414444/Model_4FGL_J2153.8-1137_daily_bin1666.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/414444/ft1_filtered_4FGL_J2153.8-1137_daily_bin1666.fits.....................!
real 81.74
user 80.41
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/414444/ft1_filtered_4FGL_J2153.8-1137_daily_bin1666.fits', '/scratch/kocevski/414444/ft2_4FGL_J2153.8-1137_daily_bin1666.fits', expMap='/scratch/kocevski/414444/expmap_671155201_671414401_4FGL_J2153.8-1137_daily_bin1666.fits', expCube='/scratch/kocevski/414444/ltcube_671155201_671414401_4FGL_J2153.8-1137_daily_bin1666.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/414444/Model_4FGL_J2153.8-1137_daily_bin1666.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2153.8-1137'

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  3.202e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.552e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  6.399e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/414444/ft1_filtered_4FGL_J2153.8-1137_daily_bin1666.fits
Spacecraft file(s): /scratch/kocevski/414444/ft2_4FGL_J2153.8-1137_daily_bin1666.fits
Exposure map: /scratch/kocevski/414444/expmap_671155201_671414401_4FGL_J2153.8-1137_daily_bin1666.fits
Exposure cube: /scratch/kocevski/414444/ltcube_671155201_671414401_4FGL_J2153.8-1137_daily_bin1666.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/414444/Model_4FGL_J2153.8-1137_daily_bin1666.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) = 9317.48984505

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.1734       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.9132       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11454E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.3998       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.2922       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.253       1.0000         .10000E-03   10000.    
    13 'Prefactor '    52.895       1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.4899       1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.920       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .20327E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.8084       1.0000         .10000E-03   10000.    
    18 'Prefactor '    73.557       1.0000         .10000E-03   10000.    
    19 'norm      '    3.6531       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    3.5870       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .92821       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0289       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5070E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9317.487     FROM MIGRAD    STATUS=CONVERGED    517 CALLS     2564 TOTAL
                     EDM=   .50E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.1669        16.519        .23372E-05    .62291E-04
   2  Prefactor     1.9140        17.526       -.35818E-05   -.56973E-04
   3  Prefactor     .10000E-03    13.059       -.37090E-07** at limit **
   4  Prefactor     .10000E-03    1.4431        .18797E-07** at limit **
   5  Prefactor     .10000E-03    .96684        .72815E-07** at limit **
   6  Prefactor     .10000E-03    4.7445        .17386E-07** at limit **
   7  Prefactor     4.4063        22.116       -.60649E-05   -.95893E-05
   8  Prefactor     .10000E-03    5.0713       -.56621E-07** at limit **
   9  norm          .10000E-03    1.5912       -.11089E-07** at limit **
  10  Prefactor     3.2918        1.2789        .12508E-06   -.11893E-02
  11  Prefactor     .10000E-03    3.2813       -.22304E-07** at limit **
  12  Prefactor     10.252        14.336       -.11596E-06   -.75671E-04
  13  Prefactor     52.898        21.652       -.59059E-06   -.18952E-05
  14  Prefactor     7.4853        9.7917        .43116E-06   -.10045E-06
  15  Prefactor     13.920        9.4684       -.43418E-06   -.38045E-05
  16  Prefactor     .10000E-03    168.46       -.20691E-06** at limit **
  17  Prefactor     6.8086        4.2087       -.65289E-07   -.16609E-04
  18  Prefactor     73.551        53.164       -.34741E-05   -.38040E-05
  19  norm          3.6498        3.5007       -.50747E-07   -.45457E-04
  20  Prefactor     .10000E-03    47.671       -.47652E-06** at limit **
  21  norm          3.5867        1.0361        .28017E-07    .85609E-05
  22  Normalizat    .92820        .17913        .31930E-06    .23522E-04
  23  Prefactor     1.0289        .10887        .84173E-07    .45430E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.16692
  Prefactor  = 1.91404
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.4063
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.29184
  Prefactor  = 0.0001
  Prefactor  = 10.2516
  Prefactor  = 52.8976
  Prefactor  = 7.48529
  Prefactor  = 13.9197
  Prefactor  = 0.0001
  Prefactor  = 6.80855
  Prefactor  = 73.5511
  norm       = 3.64976
  Prefactor  = 0.0001
  norm       = 3.58666
  Normalizat = 0.928198
  Prefactor  = 1.0289
 **********
 **   18 **HESSE 
 **********

 FCN=   9317.487     FROM HESSE     STATUS=OK           374 CALLS     2938 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.1669        16.294        .13233E-03   -1.5102    
   2  Prefactor     1.9140        17.173        .30051E-03   -1.5431    
   3  Prefactor     .10000E-03    13.074        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.4527        .11322E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    1.9752        .18382E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.8292        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.4063        21.914        .19200E-03   -1.5288    
   8  Prefactor     .10000E-03    5.0916        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.5943        .11891E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.2918        4.1441        .10503E-02   -1.5345    
  11  Prefactor     .10000E-03    3.2968        .17075E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.252        14.352        .62567E-03   -1.5067    
  13  Prefactor     52.898        21.647        .55147E-04   -1.4252    
  14  Prefactor     7.4853        9.8328        .14654E-03   -1.5161    
  15  Prefactor     13.920        9.4580        .10736E-03   -1.4962    
  16  Prefactor     .10000E-03    169.56        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.8086        4.2003        .14426E-03   -1.5186    
  18  Prefactor     73.551        53.075        .46813E-04   -1.3991    
  19  norm          3.6498        3.4979        .16692E-03   -1.5326    
  20  Prefactor     .10000E-03    47.710        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          3.5867        1.0365        .21336E-04   -1.5329    
  22  Normalizat    .92820        .21262        .31528E-03   -.95476    
  23  Prefactor     1.0289        .12872        .19151E-03   -.91772    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.83346e-10
Minuit parameter uncertainties:
  1  16.3023
  2  11.4704
  3  3.9499e-06
  4  1.00855e-06
  5  1.40385e-05
  6  3.14908e-06
  7  19.6644
  8  1.93804e-06
  9  2.02716e-07
  10  4.14442
  11  1.58575e-06
  12  14.3571
  13  21.6502
  14  9.83489
  15  9.45906
  16  3.13831e-05
  17  4.20048
  18  53.1093
  19  3.4981
  20  1.7797e-06
  21  1.03655
  22  0.212816
  23  0.128758
Done.

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

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  3.292e+00  4.144e+00  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.552e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  6.399e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
504    Prefactor:  1.029e+00  1.288e-01  0.000e+00  1.000e+01 ( 1.000e+00)
505        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
506        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
503   Normalization:  9.282e-01  2.128e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.84
Ra Dec: 328.461 -11.631
Photon Flux Upper Limit: 9.38e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.32e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/414444/likelihoodResults_671155201_671414401_4FGL_J2153.8-1137_daily_bin1666.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) = 9317.48571194
delta logL = 0.00086418266801

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9317.48551181
delta logL = 0.00106431035783

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3795       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5169       1.0000          .0000       10.000    
     3 'Normalizat'    .92875       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0286       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5070E+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=   9317.486     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      232 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3793        4.7525        .21288E-03    .40448E-03
   2  Index         2.5170        .78482        .11952E-01    .12183E-03
   3  Normalizat    .92876        .19995        .31519E-03   -.53671E-04
   4  Prefactor     1.0286        .12727        .19153E-03   -.22121E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.3793
  Index      = 2.51698
  Normalizat = 0.928756
  Prefactor  = 1.02864
 **********
 **   18 **HESSE 
 **********

 FCN=   9317.486     FROM HESSE     STATUS=OK            25 CALLS      257 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3793        4.5922        .85152E-05   -1.5340    
   2  Index         2.5170        .75867        .47807E-03   -.51968    
   3  Normalizat    .92876        .20014        .12608E-04   -.95457    
   4  Prefactor     1.0286        .12736        .38306E-04   -.91781    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.6845e-10
Minuit parameter uncertainties:
  1  4.59263
  2  0.762583
  3  0.200303
  4  0.127396
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/414444': 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) = 9317.4855118
delta logL = 0.00106431664244

Extracting fit parameters...

4FGL J2153.8-1137
   Spectrum: PowerLaw
284    Prefactor:  3.379e+00  4.593e+00  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.517e+00  7.626e-01  0.000e+00  1.000e+01 (-1.000e+00)
286        Scale:  6.399e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
504    Prefactor:  1.029e+00  1.274e-01  0.000e+00  1.000e+01 ( 1.000e+00)
505        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
506        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
503   Normalization:  9.288e-01  2.003e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.84
Ra Dec: 328.461 -11.631

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/414444/cmap_HighResolution_671155201_671414401_4FGL_J2153.8-1137_daily_bin1666.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.32e-03', job_status='DONE', photon_flux_upper_limit='9.38e-08', time_completed='2022-04-12 00:51:06.498002', job_id='414444', GAL2='1.03', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1649749866.5', return_code2='0', ts='0.84', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='1.06e-03', ts2='0.84', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1666' AND source_name='4FGL J2153.8-1137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Apr 12 00:51:06 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0123>
Subject: Job 414444: <4FGL_J2153.8-1137_daily_bin1666> in cluster <slac> Done

Job <4FGL_J2153.8-1137_daily_bin1666> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Apr 12 00:35:34 2022
Job was executed on host(s) <bullet0123>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Apr 12 00:35:35 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Apr 12 00:35:35 2022
Terminated at Tue Apr 12 00:51:07 2022
Results reported at Tue Apr 12 00:51:07 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2153.8-1137_daily_bin1666 328.461 -11.6306 671155201 671414401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2153.8-1137 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   796.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             281.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   931 sec.
    Turnaround time :                            933 sec.

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

