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


Performing analysis on: 4FGL_J2023.6-1139_daily_bin1676
RA = 305.903, Dec = -11.6585
tmin = 673747201, tmax = 674006401
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='67595', job_status='RUN', time_executed='2022-05-12 01:27:52.618960', time_epoch_executed='1652344072.62' WHERE source_name='4FGL J2023.6-1139' and cadence='daily' and bin_id='1676'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/67595

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/67595/ft1_4FGL_J2023.6-1139_daily_bin1676.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/67595/ft2_4FGL_J2023.6-1139_daily_bin1676.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/67595/ft1_4FGL_J2023.6-1139_daily_bin1676.fits outfile=/scratch/kocevski/67595/ft1_filteredMKT_4FGL_J2023.6-1139_daily_bin1676.fits ra=305.903 dec=-11.6585 rad=12.0 tmin=673747201.0 tmax=674006401.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.98
user 2.75
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/67595/ft2_4FGL_J2023.6-1139_daily_bin1676.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/67595/ft2_4FGL_J2023.6-1139_daily_bin1676.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/67595/ft1_filteredMKT_4FGL_J2023.6-1139_daily_bin1676.fits evtable="EVENTS" outfile="/scratch/kocevski/67595/ft1_filtered_4FGL_J2023.6-1139_daily_bin1676.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.44
user 0.27
sys 0.15

Number of photons that the gtmktime cut: 916

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/67595/ft1_filtered_4FGL_J2023.6-1139_daily_bin1676.fits" evtable="EVENTS" scfile=/scratch/kocevski/67595/ft2_4FGL_J2023.6-1139_daily_bin1676.fits sctable="SC_DATA" outfile=/scratch/kocevski/67595/ltcube_673747201_674006401_4FGL_J2023.6-1139_daily_bin1676.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/67595/ft2_4FGL_J2023.6-1139_daily_bin1676.fits
.....................!
real 10.78
user 10.43
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/67595/ft1_filtered_4FGL_J2023.6-1139_daily_bin1676.fits evtable="EVENTS" scfile=/scratch/kocevski/67595/ft2_4FGL_J2023.6-1139_daily_bin1676.fits sctable="SC_DATA" expcube=/scratch/kocevski/67595/ltcube_673747201_674006401_4FGL_J2023.6-1139_daily_bin1676.fits outfile=/scratch/kocevski/67595/expmap_673747201_674006401_4FGL_J2023.6-1139_daily_bin1676.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/67595/ltcube_673747201_674006401_4FGL_J2023.6-1139_daily_bin1676.fits
.....................!
real 145.96
user 141.05
sys 4.60

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

Setting source of interest to:
4FGL J2023.6-1139 @ 305.903 -11.6585

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/67595/ft1_filtered_4FGL_J2023.6-1139_daily_bin1676.fits scfile=/scratch/kocevski/67595/ft2_4FGL_J2023.6-1139_daily_bin1676.fits outfile=/scratch/kocevski/67595/cmap_673747201_674006401_4FGL_J2023.6-1139_daily_bin1676.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=305.903 yref=-11.6585 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.46
user 0.29
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/67595/ft1_filtered_4FGL_J2023.6-1139_daily_bin1676.fits scfile=/scratch/kocevski/67595/ft2_4FGL_J2023.6-1139_daily_bin1676.fits outfile=/scratch/kocevski/67595/cmap_HighResolution_673747201_674006401_4FGL_J2023.6-1139_daily_bin1676.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=305.903 yref=-11.6585 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.47
user 0.30
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/67595/ft1_filtered_4FGL_J2023.6-1139_daily_bin1676.fits evtable="EVENTS" scfile=/scratch/kocevski/67595/ft2_4FGL_J2023.6-1139_daily_bin1676.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/67595/Model_4FGL_J2023.6-1139_daily_bin1676.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/67595/ft1_filtered_4FGL_J2023.6-1139_daily_bin1676.fits.....................!
real 71.36
user 70.13
sys 1.02

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/67595/ft1_filtered_4FGL_J2023.6-1139_daily_bin1676.fits', '/scratch/kocevski/67595/ft2_4FGL_J2023.6-1139_daily_bin1676.fits', expMap='/scratch/kocevski/67595/expmap_673747201_674006401_4FGL_J2023.6-1139_daily_bin1676.fits', expCube='/scratch/kocevski/67595/ltcube_673747201_674006401_4FGL_J2023.6-1139_daily_bin1676.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/67595/Model_4FGL_J2023.6-1139_daily_bin1676.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2023.6-1139'

4FGL J2023.6-1139
   Spectrum: LogParabola
342         norm:  9.104e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
343        alpha:  1.962e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
344         beta:  1.303e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
345           Eb:  1.232e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/67595/ft1_filtered_4FGL_J2023.6-1139_daily_bin1676.fits
Spacecraft file(s): /scratch/kocevski/67595/ft2_4FGL_J2023.6-1139_daily_bin1676.fits
Exposure map: /scratch/kocevski/67595/expmap_673747201_674006401_4FGL_J2023.6-1139_daily_bin1676.fits
Exposure cube: /scratch/kocevski/67595/ltcube_673747201_674006401_4FGL_J2023.6-1139_daily_bin1676.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/67595/Model_4FGL_J2023.6-1139_daily_bin1676.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) = 9917.39860857

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.854       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.2258       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10573E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.464       1.0000         .10000E-03   10000.    
     6 'Prefactor '    82.188       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .86229       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11262E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    10.569       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10680E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    16.122       1.0000         .10000E-03   10000.    
    15 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .33683E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .21694E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.4748       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .75392       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1068       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9917.391     FROM MIGRAD    STATUS=CONVERGED    438 CALLS     2209 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.845        20.074       -.37410E-05   -.12732E-04
   2  Prefactor     .10000E-03    9.8294        .38308E-05** at limit **
   3  Prefactor     3.2266        3.6823        .21528E-05   -.18621E-03
   4  Prefactor     .10000E-03    51.573       -.38153E-04** at limit **
   5  Prefactor     11.463        19.670       -.10845E-05   -.49488E-05
   6  Prefactor     82.149        43.588       -.31636E-04   -.57918E-04
   7  Prefactor     .86074        1.6932        .23738E-06   -.10510E-02
   8  Prefactor     .10000E-03    15.618       -.13376E-04** at limit **
   9  Prefactor     .10000E-03    39.981        .28959E-04** at limit **
  10  norm          10.561        9.2173        .11387E-06   -.48801E-03
  11  Prefactor     .10000E-03    9.7942       -.43147E-05** at limit **
  12  Prefactor     .10000E-03    45.071        .10116E-04** at limit **
  13  norm          .10000E-03    25.143       -.44280E-05** at limit **
  14  norm          16.122        16.989        .11350E-06    .11226E-03
  15  norm          .10000E-03    .30755        .27397E-07** at limit **
  16  Prefactor     .10000E-03    14.178        .10981E-04** at limit **
  17  norm          .10000E-03    1.5954       -.31508E-06** at limit **
  18  Prefactor     .10000E-03    4.3099        .94530E-07** at limit **
  19  Prefactor     8.4665        16.644       -.38623E-05   -.48443E-04
  20  Normalizat    .75384        .25449        .46513E-05   -.12336E-03
  21  Prefactor     1.1068        .86279E-01    .10354E-05   -.59895E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.8453
  Prefactor  = 0.0001
  Prefactor  = 3.2266
  Prefactor  = 0.000100003
  Prefactor  = 11.4627
  Prefactor  = 82.1489
  Prefactor  = 0.860741
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  norm       = 10.5614
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 16.1225
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 8.46649
  Normalizat = 0.753844
  Prefactor  = 1.10684
 **********
 **   18 **HESSE 
 **********

 FCN=   9917.391     FROM HESSE     STATUS=OK           319 CALLS     2528 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.845        20.087        .12161E-03   -1.5049    
   2  Prefactor     .10000E-03    9.8943        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.2266        3.6680        .19290E-03   -1.5349    
   4  Prefactor     .10000E-03    51.568        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     11.463        19.687        .11832E-03   -1.5031    
   6  Prefactor     82.149        43.443        .22153E-03   -1.3893    
   7  Prefactor     .86074        1.5439        .16752E-02   -1.5522    
   8  Prefactor     .10000E-03    15.641        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    41.112        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          10.561        9.1019        .12324E-03   -1.5058    
  11  Prefactor     .10000E-03    9.8017        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    45.094        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    25.815        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          16.122        16.985        .49875E-03   -1.4905    
  15  norm          .10000E-03    .31253        .53887E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    14.503        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    7.9203        .24262E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.5078        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.4665        16.674        .13770E-03   -1.5126    
  20  Normalizat    .75384        .27708        .50768E-03   -1.0180    
  21  Prefactor     1.1068        .96089E-01    .14873E-03   -.89248    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.35079e-10
Minuit parameter uncertainties:
  1  20.0997
  2  3.98861e-05
  3  3.66822
  4  0.000824108
  5  19.6982
  6  43.4596
  7  1.54401
  8  1.04146e-05
  9  0.000659354
  10  9.10305
  11  1.23635e-05
  12  7.57168e-05
  13  7.09564e-06
  14  16.9903
  15  2.72241e-06
  16  0.000211918
  17  0.00017258
  18  5.19083e-05
  19  16.6831
  20  0.277595
  21  0.096104
Done.

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

Extracting fit parameters...

4FGL J2023.6-1139
   Spectrum: LogParabola
342         norm:  1.612e+01  1.699e+01  1.000e-04  1.000e+04 ( 1.000e-13)
343        alpha:  1.962e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
344         beta:  1.303e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
345           Eb:  1.232e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
639    Prefactor:  1.107e+00  9.610e-02  0.000e+00  1.000e+01 ( 1.000e+00)
640        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
641        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
638   Normalization:  7.538e-01  2.776e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.07
Ra Dec: 305.903 -11.659
Photon Index (Fixed Index): 1.96 +/- 0.00
Photon Flux (Fixed Index): 1.57e-08 +/- 1.66e-08
Energy Flux (Fixed Index): 1.08e-05 +/- 1.14e-05

TS (Fixed Index): 3.07
Ra Dec: 305.903 -11.659
Photon Flux Upper Limit: 6.86e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.71e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/67595/likelihoodResults_673747201_674006401_4FGL_J2023.6-1139_daily_bin1676.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) = 9916.1451647
delta logL = 1.2455351738

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9916.11095321
delta logL = 1.27974665931

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.648       1.0000         .10000E-03   10000.    
     2 'alpha     '    .70842       1.0000          .0000       5.0000    
     3 'Normalizat'    .74877       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1095       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9916.111     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      211 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.648        10.082        .29344E-02   -.80466E-03
   2  alpha         .70837        .44174        .50000       -.73594E-04
   3  Normalizat    .74878        .24092        .11479        .58866E-04
   4  Prefactor     1.1095        .84553E-01    .37235E-01    .15430E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 11.6484
  alpha      = 0.708371
  Normalizat = 0.748781
  Prefactor  = 1.10953
 **********
 **   18 **HESSE 
 **********

 FCN=   9916.111     FROM HESSE     STATUS=OK            31 CALLS      242 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.648        14.125        .11738E-03   -1.5025    
   2  alpha         .70837        .57156        .24614E-01   -.79899    
   3  Normalizat    .74878        .26436        .50908E-03   -1.0200    
   4  Prefactor     1.1095        .93184E-01    .14854E-03   -.89163    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.53017e-08
Minuit parameter uncertainties:
  1  14.1289
  2  0.582322
  3  0.264812
  4  0.0931981
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/67595': 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) = 9916.1109532
delta logL = 1.27974667174

Extracting fit parameters...

4FGL J2023.6-1139
   Spectrum: LogParabola
342         norm:  1.165e+01  1.413e+01  1.000e-04  1.000e+04 ( 1.000e-13)
343        alpha:  7.084e-01  5.823e-01  0.000e+00  5.000e+00 ( 1.000e+00)
344         beta:  1.303e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
345           Eb:  1.232e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
639    Prefactor:  1.110e+00  9.320e-02  0.000e+00  1.000e+01 ( 1.000e+00)
640        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
641        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
638   Normalization:  7.488e-01  2.648e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.63
Ra Dec: 305.903 -11.659
Photon Index (Free Index): 0.71 +/- 0.58
Photon Flux (Free Index): 7.64e-09 +/- 6.79e-09
Energy Flux (Free Index): 8.26e-05 +/- 1.03e-04

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/67595/cmap_HighResolution_673747201_674006401_4FGL_J2023.6-1139_daily_bin1676.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.71e-05', comment='SUCCESS', photon_flux='1.57e-08', energy_flux2='8.26e-05', photon_flux_error='1.66e-08', dlogl='1.28e+00', energy_flux='1.08e-05', photon_flux2='7.64e-09', job_status='DONE', time_completed='2022-05-12 01:38:58.721287', photon_index_error2='0.58', photon_index2='0.71', ts='3.07', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='6.86e-08', energy_flux_error2='1.03e-04', EG='0.75', time_epoch_completed='1652344738.72', return_code='0', job_id='67595', GAL2='1.11', EG2='0.75', return_code2='0', energy_flux_error='1.14e-05', photon_flux_error2='6.79e-09', ts2='5.63', photon_index='1.96' WHERE bin_id='1676' AND source_name='4FGL J2023.6-1139' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu May 12 01:38:58 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0247>
Subject: Job 67595: <4FGL_J2023.6-1139_daily_bin1676> in cluster <slac> Done

Job <4FGL_J2023.6-1139_daily_bin1676> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu May 12 01:25:29 2022
Job was executed on host(s) <bullet0247>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu May 12 01:26:38 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu May 12 01:26:38 2022
Terminated at Thu May 12 01:38:59 2022
Results reported at Thu May 12 01:38:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2023.6-1139_daily_bin1676 305.903 -11.6585 673747201 674006401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2023.6-1139 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   666.78 sec.
    Max Memory :                                 782 MB
    Average Memory :                             327.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2930 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   741 sec.
    Turnaround time :                            810 sec.

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

