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


Performing analysis on: 4FGL_J2359.2-3134_daily_bin1671
RA = 359.817, Dec = -31.5832
tmin = 672451201, tmax = 672710401
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='45023', job_status='RUN', time_executed='2022-04-27 01:12:39.764400', time_epoch_executed='1651047159.76' WHERE source_name='4FGL J2359.2-3134' and cadence='daily' and bin_id='1671'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/45023

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/45023/ft1_4FGL_J2359.2-3134_daily_bin1671.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/45023/ft2_4FGL_J2359.2-3134_daily_bin1671.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/45023/ft1_4FGL_J2359.2-3134_daily_bin1671.fits outfile=/scratch/kocevski/45023/ft1_filteredMKT_4FGL_J2359.2-3134_daily_bin1671.fits ra=359.817 dec=-31.5832 rad=12.0 tmin=672451201.0 tmax=672710401.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 2.96
user 2.74
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/45023/ft2_4FGL_J2359.2-3134_daily_bin1671.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/45023/ft2_4FGL_J2359.2-3134_daily_bin1671.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/45023/ft1_filteredMKT_4FGL_J2359.2-3134_daily_bin1671.fits evtable="EVENTS" outfile="/scratch/kocevski/45023/ft1_filtered_4FGL_J2359.2-3134_daily_bin1671.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: 811

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/45023/ft1_filtered_4FGL_J2359.2-3134_daily_bin1671.fits" evtable="EVENTS" scfile=/scratch/kocevski/45023/ft2_4FGL_J2359.2-3134_daily_bin1671.fits sctable="SC_DATA" outfile=/scratch/kocevski/45023/ltcube_672451201_672710401_4FGL_J2359.2-3134_daily_bin1671.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/45023/ft2_4FGL_J2359.2-3134_daily_bin1671.fits
.....................!
real 12.83
user 12.47
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/45023/ft1_filtered_4FGL_J2359.2-3134_daily_bin1671.fits evtable="EVENTS" scfile=/scratch/kocevski/45023/ft2_4FGL_J2359.2-3134_daily_bin1671.fits sctable="SC_DATA" expcube=/scratch/kocevski/45023/ltcube_672451201_672710401_4FGL_J2359.2-3134_daily_bin1671.fits outfile=/scratch/kocevski/45023/expmap_672451201_672710401_4FGL_J2359.2-3134_daily_bin1671.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/45023/ltcube_672451201_672710401_4FGL_J2359.2-3134_daily_bin1671.fits
.....................!
real 191.76
user 186.47
sys 4.91

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

Setting source of interest to:
4FGL J2359.2-3134 @ 359.817 -31.5832

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/45023/ft1_filtered_4FGL_J2359.2-3134_daily_bin1671.fits scfile=/scratch/kocevski/45023/ft2_4FGL_J2359.2-3134_daily_bin1671.fits outfile=/scratch/kocevski/45023/cmap_672451201_672710401_4FGL_J2359.2-3134_daily_bin1671.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=359.817 yref=-31.5832 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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/45023/ft1_filtered_4FGL_J2359.2-3134_daily_bin1671.fits scfile=/scratch/kocevski/45023/ft2_4FGL_J2359.2-3134_daily_bin1671.fits outfile=/scratch/kocevski/45023/cmap_HighResolution_672451201_672710401_4FGL_J2359.2-3134_daily_bin1671.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=359.817 yref=-31.5832 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/45023/ft1_filtered_4FGL_J2359.2-3134_daily_bin1671.fits evtable="EVENTS" scfile=/scratch/kocevski/45023/ft2_4FGL_J2359.2-3134_daily_bin1671.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/45023/Model_4FGL_J2359.2-3134_daily_bin1671.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/45023/ft1_filtered_4FGL_J2359.2-3134_daily_bin1671.fits.....................!
real 62.63
user 61.23
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/45023/ft1_filtered_4FGL_J2359.2-3134_daily_bin1671.fits', '/scratch/kocevski/45023/ft2_4FGL_J2359.2-3134_daily_bin1671.fits', expMap='/scratch/kocevski/45023/expmap_672451201_672710401_4FGL_J2359.2-3134_daily_bin1671.fits', expCube='/scratch/kocevski/45023/ltcube_672451201_672710401_4FGL_J2359.2-3134_daily_bin1671.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/45023/Model_4FGL_J2359.2-3134_daily_bin1671.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2359.2-3134'

4FGL J2359.2-3134
   Spectrum: PowerLaw
590    Prefactor:  8.155e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
591        Index:  2.605e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
592        Scale:  6.631e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/45023/ft1_filtered_4FGL_J2359.2-3134_daily_bin1671.fits
Spacecraft file(s): /scratch/kocevski/45023/ft2_4FGL_J2359.2-3134_daily_bin1671.fits
Exposure map: /scratch/kocevski/45023/expmap_672451201_672710401_4FGL_J2359.2-3134_daily_bin1671.fits
Exposure cube: /scratch/kocevski/45023/ltcube_672451201_672710401_4FGL_J2359.2-3134_daily_bin1671.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/45023/Model_4FGL_J2359.2-3134_daily_bin1671.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) = 8777.25117146

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10508E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.7879       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    24.520       1.0000         .10000E-03   10000.    
     7 'norm      '    43.547       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10241E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    5.7139       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .16463E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    10.208       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .52497       1.0000         .10000E-03   10000.    
    16 'norm      '    3.0947       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10617E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10633E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    43.693       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1872       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .81165       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8777.230     FROM MIGRAD    STATUS=CONVERGED    522 CALLS     2418 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.006        .46499E-07** at limit **
   2  Prefactor     .10000E-03    1.7466        .18437E-06** at limit **
   3  Prefactor     9.7865        9.6137        .74581E-06   -.65721E-04
   4  Prefactor     .10000E-03    3.4899       -.20266E-07** at limit **
   5  Prefactor     .10000E-03    5.3749        .83620E-08** at limit **
   6  Prefactor     24.519        24.838       -.16294E-05    .86939E-04
   7  norm          43.551        8.6305        .62851E-07   -.12269E-03
   8  Prefactor     .10000E-03    4.4262       -.93191E-08** at limit **
   9  norm          .10000E-03    2.5435       -.22383E-07** at limit **
  10  norm          5.7141        3.9501       -.26723E-07   -.59177E-05
  11  Prefactor     .10000E-03    54.368        .30192E-06** at limit **
  12  Prefactor     .10000E-03    16.968        .50883E-09** at limit **
  13  norm          .10000E-03    .98032       -.94979E-08** at limit **
  14  norm          10.216        3.8406       -.61656E-06   -.38790E-02
  15  Prefactor     .41817        19.686        .21020E-05   -.36941E-03
  16  norm          3.0936        2.3968       -.58685E-07   -.11689E-03
  17  Prefactor     .10000E-03    78.463       -.21046E-05** at limit **
  18  Prefactor     .10000E-03    12.576        .62697E-07** at limit **
  19  Prefactor     .10000E-03    2.7283        .12395E-05** at limit **
  20  Prefactor     43.602        38.586       -.97806E-05    .28731E-03
  21  Normalizat    1.1868        .14225        .12604E-05   -.61395E-03
  22  Prefactor     .81187        .15332       -.36052E-06   -.25132E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.78648
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.5192
  norm       = 43.5506
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 5.7141
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 10.2163
  Prefactor  = 0.418169
  norm       = 3.09356
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 43.6019
  Normalizat = 1.18679
  Prefactor  = 0.81187
 **********
 **   18 **HESSE 
 **********

 FCN=   8777.230     FROM HESSE     STATUS=OK           342 CALLS     2760 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.016        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.7987        .24166E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     9.7865        9.6037        .12809E-03   -1.5082    
   4  Prefactor     .10000E-03    3.4990        .17092E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.3757        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     24.519        24.789        .80896E-04   -1.4717    
   7  norm          43.551        8.6346        .60752E-04   -1.4387    
   8  Prefactor     .10000E-03    4.5455        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.6586        .29179E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.7141        3.9501        .15065E-03   -1.5230    
  11  Prefactor     .10000E-03    55.028        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    17.001        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    .98784        .90542E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.216        4.1736        .54436E-03   -1.5069    
  15  Prefactor     .41817        27.258        .10708       -1.5579    
  16  norm          3.0936        2.3943        .12396E-03   -1.5356    
  17  Prefactor     .10000E-03    78.760        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    12.583        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    6.3648        .29452E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     43.602        37.296        .60651E-04   -1.4386    
  21  Normalizat    1.1868        .16527        .21527E-03   -.87012    
  22  Prefactor     .81187        .17897        .28573E-03   -.99292    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.48132e-09
Minuit parameter uncertainties:
  1  7.9302e-06
  2  2.33903e-05
  3  9.60519
  4  1.25888e-06
  5  4.13106e-07
  6  24.7998
  7  8.63488
  8  4.30387e-06
  9  2.26519e-06
  10  3.95032
  11  0.000122112
  12  7.79003e-06
  13  1.16333e-06
  14  4.17368
  15  6.75468
  16  2.39437
  17  0.000282956
  18  3.55327e-05
  19  0.000312715
  20  37.3162
  21  0.165347
  22  0.179098
Done.

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

Extracting fit parameters...

4FGL J2359.2-3134
   Spectrum: PowerLaw
590    Prefactor:  4.360e+01  3.732e+01  1.000e-04  1.000e+04 ( 1.000e-13)
591        Index:  2.605e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
592        Scale:  6.631e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
600    Prefactor:  8.119e-01  1.791e-01  0.000e+00  1.000e+01 ( 1.000e+00)
601        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
602        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
599   Normalization:  1.187e+00  1.653e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.85
Ra Dec: 359.817 -31.583
Photon Index (Fixed Index): 2.60 +/- 0.00
Photon Flux (Fixed Index): 3.75e-08 +/- 3.21e-08
Energy Flux (Fixed Index): 9.80e-06 +/- 8.39e-06

TS (Fixed Index): 1.85
Ra Dec: 359.817 -31.583
Photon Flux Upper Limit: 1.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.91e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/45023/likelihoodResults_672451201_672710401_4FGL_J2359.2-3134_daily_bin1671.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) = 8776.12158353
delta logL = 1.10813672957

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8776.11208735
delta logL = 1.11763290928

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.263       1.0000         .10000E-03   10000.    
     2 'Index     '    3.7923       1.0000          .0000       10.000    
     3 'Normalizat'    1.1330       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85202       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6030E+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=   8776.112     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      288 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.258        36.301        .99317E-04   -.34455E-03
   2  Index         3.7928        1.4494        .54686E-02   -.11738E-03
   3  Normalizat    1.1331        .16676        .21947E-03    .46753E-03
   4  Prefactor     .85191        .18247        .27937E-03    .46061E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.2576
  Index      = 3.7928
  Normalizat = 1.13312
  Prefactor  = 0.851914
 **********
 **   18 **HESSE 
 **********

 FCN=   8776.112     FROM HESSE     STATUS=OK            25 CALLS      313 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.258        23.030        .39727E-05   -1.4901    
   2  Index         3.7928        .92590        .21874E-03   -.24385    
   3  Normalizat    1.1331        .16663        .43894E-04   -.88695    
   4  Prefactor     .85191        .18208        .55874E-04   -.97842    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.90312e-10
Minuit parameter uncertainties:
  1  23.043
  2  0.931615
  3  0.166704
  4  0.182211
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/45023': 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) = 8776.11208652
delta logL = 1.11763374061

Extracting fit parameters...

4FGL J2359.2-3134
   Spectrum: PowerLaw
590    Prefactor:  1.626e+01  2.304e+01  1.000e-04  1.000e+04 ( 1.000e-13)
591        Index:  3.793e+00  9.316e-01  0.000e+00  1.000e+01 (-1.000e+00)
592        Scale:  6.631e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
600    Prefactor:  8.519e-01  1.822e-01  0.000e+00  1.000e+01 ( 1.000e+00)
601        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
602        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
599   Normalization:  1.133e+00  1.667e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.26
Ra Dec: 359.817 -31.583
Photon Index (Free Index): 3.79 +/- 0.93
Photon Flux (Free Index): 7.63e-08 +/- 4.49e-08
Energy Flux (Free Index): 1.19e-05 +/- 6.84e-06

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/45023/cmap_HighResolution_672451201_672710401_4FGL_J2359.2-3134_daily_bin1671.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.91e-03', comment='SUCCESS', photon_flux='3.75e-08', energy_flux2='1.19e-05', photon_flux_error='3.21e-08', dlogl='1.12e+00', energy_flux='9.80e-06', photon_flux2='7.63e-08', job_status='DONE', time_completed='2022-04-27 01:26:19.269764', photon_index_error2='0.93', photon_index2='3.79', ts='1.85', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='1.01e-07', energy_flux_error2='6.84e-06', EG='1.19', time_epoch_completed='1651047979.27', return_code='0', job_id='45023', GAL2='0.85', EG2='1.13', return_code2='0', energy_flux_error='8.39e-06', photon_flux_error2='4.49e-08', ts2='4.26', photon_index='2.60' WHERE bin_id='1671' AND source_name='4FGL J2359.2-3134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Apr 27 01:26:19 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0032>
Subject: Job 45023: <4FGL_J2359.2-3134_daily_bin1671> in cluster <slac> Done

Job <4FGL_J2359.2-3134_daily_bin1671> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Apr 27 01:10:14 2022
Job was executed on host(s) <bullet0032>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Apr 27 01:10:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Apr 27 01:10:15 2022
Terminated at Wed Apr 27 01:26:20 2022
Results reported at Wed Apr 27 01:26:20 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2359.2-3134_daily_bin1671 359.817 -31.5832 672451201 672710401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2359.2-3134 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   811.54 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             295.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   964 sec.
    Turnaround time :                            966 sec.

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

