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


Performing analysis on: 4FGL_J2023.6-1139_daily_bin1696
RA = 305.903, Dec = -11.6585
tmin = 678931201, tmax = 679190401
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='792809', job_status='RUN', time_executed='2022-07-11 00:33:59.459660', time_epoch_executed='1657524839.46' WHERE source_name='4FGL J2023.6-1139' and cadence='daily' and bin_id='1696'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/792809

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/792809/ft1_4FGL_J2023.6-1139_daily_bin1696.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/792809/ft2_4FGL_J2023.6-1139_daily_bin1696.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/792809/ft1_4FGL_J2023.6-1139_daily_bin1696.fits outfile=/scratch/kocevski/792809/ft1_filteredMKT_4FGL_J2023.6-1139_daily_bin1696.fits ra=305.903 dec=-11.6585 rad=12.0 tmin=678931201.0 tmax=679190401.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.57
user 3.36
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/792809/ft2_4FGL_J2023.6-1139_daily_bin1696.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/792809/ft1_filteredMKT_4FGL_J2023.6-1139_daily_bin1696.fits evtable="EVENTS" outfile="/scratch/kocevski/792809/ft1_filtered_4FGL_J2023.6-1139_daily_bin1696.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: 703

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/792809/ft1_filtered_4FGL_J2023.6-1139_daily_bin1696.fits" evtable="EVENTS" scfile=/scratch/kocevski/792809/ft2_4FGL_J2023.6-1139_daily_bin1696.fits sctable="SC_DATA" outfile=/scratch/kocevski/792809/ltcube_678931201_679190401_4FGL_J2023.6-1139_daily_bin1696.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/792809/ft2_4FGL_J2023.6-1139_daily_bin1696.fits
.....................!
real 11.94
user 11.60
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/792809/ft1_filtered_4FGL_J2023.6-1139_daily_bin1696.fits evtable="EVENTS" scfile=/scratch/kocevski/792809/ft2_4FGL_J2023.6-1139_daily_bin1696.fits sctable="SC_DATA" expcube=/scratch/kocevski/792809/ltcube_678931201_679190401_4FGL_J2023.6-1139_daily_bin1696.fits outfile=/scratch/kocevski/792809/expmap_678931201_679190401_4FGL_J2023.6-1139_daily_bin1696.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/792809/ltcube_678931201_679190401_4FGL_J2023.6-1139_daily_bin1696.fits
.....................!
real 193.00
user 187.01
sys 5.68

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/792809/ft1_filtered_4FGL_J2023.6-1139_daily_bin1696.fits scfile=/scratch/kocevski/792809/ft2_4FGL_J2023.6-1139_daily_bin1696.fits outfile=/scratch/kocevski/792809/cmap_678931201_679190401_4FGL_J2023.6-1139_daily_bin1696.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/792809/ft1_filtered_4FGL_J2023.6-1139_daily_bin1696.fits scfile=/scratch/kocevski/792809/ft2_4FGL_J2023.6-1139_daily_bin1696.fits outfile=/scratch/kocevski/792809/cmap_HighResolution_678931201_679190401_4FGL_J2023.6-1139_daily_bin1696.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.55
user 0.40
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/792809/ft1_filtered_4FGL_J2023.6-1139_daily_bin1696.fits evtable="EVENTS" scfile=/scratch/kocevski/792809/ft2_4FGL_J2023.6-1139_daily_bin1696.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/792809/Model_4FGL_J2023.6-1139_daily_bin1696.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/792809/ft1_filtered_4FGL_J2023.6-1139_daily_bin1696.fits.....................!
real 75.18
user 73.71
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/792809/ft1_filtered_4FGL_J2023.6-1139_daily_bin1696.fits', '/scratch/kocevski/792809/ft2_4FGL_J2023.6-1139_daily_bin1696.fits', expMap='/scratch/kocevski/792809/expmap_678931201_679190401_4FGL_J2023.6-1139_daily_bin1696.fits', expCube='/scratch/kocevski/792809/ltcube_678931201_679190401_4FGL_J2023.6-1139_daily_bin1696.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/792809/Model_4FGL_J2023.6-1139_daily_bin1696.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/792809/ft1_filtered_4FGL_J2023.6-1139_daily_bin1696.fits
Spacecraft file(s): /scratch/kocevski/792809/ft2_4FGL_J2023.6-1139_daily_bin1696.fits
Exposure map: /scratch/kocevski/792809/expmap_678931201_679190401_4FGL_J2023.6-1139_daily_bin1696.fits
Exposure cube: /scratch/kocevski/792809/ltcube_678931201_679190401_4FGL_J2023.6-1139_daily_bin1696.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/792809/Model_4FGL_J2023.6-1139_daily_bin1696.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) = 7727.39403737

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    16.408       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .20321E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    57.778       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.9747       1.0000         .10000E-03   10000.    
     8 'Prefactor '    62.143       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.3580       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    35.610       1.0000         .10000E-03   10000.    
    15 'norm      '    2.1088       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    17.474       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .67608       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0631       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=   7727.391     FROM MIGRAD    STATUS=CONVERGED    439 CALLS     2169 TOTAL
                     EDM=   .84E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.8829       -.31091E-07** at limit **
   2  Prefactor     .10000E-03    18.639       -.12472E-05** at limit **
   3  Prefactor     16.409        7.0926        .14200E-05    .24878E-04
   4  Prefactor     .10000E-03    21.712        .36986E-05** at limit **
   5  Prefactor     .10010E-03    103.00        .12425E-04** at limit **
   6  Prefactor     57.784        40.522        .40768E-05    .15521E-04
   7  Prefactor     1.9749        1.6145       -.10577E-06    .28830E-04
   8  Prefactor     62.075        57.083       -.61358E-04   -.29853E-04
   9  Prefactor     5.3614        15.612       -.28301E-05   -.65279E-04
  10  norm          .10000E-03    3.7968        .47569E-10** at limit **
  11  Prefactor     .10000E-03    34.549       -.15767E-04** at limit **
  12  Prefactor     .10000E-03    38.276        .13795E-04** at limit **
  13  norm          .10000E-03    4.7553        .13409E-06** at limit **
  14  norm          35.610        28.485       -.35348E-06    .10957E-04
  15  norm          2.1088        1.2702       -.75249E-08   -.18241E-05
  16  Prefactor     .10000E-03    4.0216        .36796E-07** at limit **
  17  norm          .10000E-03    .99121        .45166E-07** at limit **
  18  Prefactor     .10000E-03    3.2807       -.13370E-06** at limit **
  19  Prefactor     17.471        18.026       -.62195E-06    .72654E-05
  20  Normalizat    .67637        .28412        .58779E-06    .11531E-03
  21  Prefactor     1.0630        .98007E-01    .27453E-05   -.41828E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 16.4085
  Prefactor  = 0.0001
  Prefactor  = 0.0001001
  Prefactor  = 57.7845
  Prefactor  = 1.97491
  Prefactor  = 62.0751
  Prefactor  = 5.36139
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 35.6102
  norm       = 2.10881
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.4707
  Normalizat = 0.676374
  Prefactor  = 1.06296
 **********
 **   18 **HESSE 
 **********

 FCN=   7727.391     FROM HESSE     STATUS=OK           309 CALLS     2478 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.9107        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    18.721        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     16.409        7.1061        .98877E-04   -1.4898    
   4  Prefactor     .10000E-03    21.745        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10010E-03    104.57        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     57.784        40.534        .52778E-04   -1.4186    
   7  Prefactor     1.9749        1.6013        .92568E-04   -1.5427    
   8  Prefactor     62.075        57.160        .25451E-03   -1.4131    
   9  Prefactor     5.3614        15.462        .17362E-03   -1.5245    
  10  norm          .10000E-03    3.8053        .16723E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    34.675        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    38.274        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    4.7567        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          35.610        28.477        .67157E-04   -1.4514    
  15  norm          2.1088        1.2647        .74083E-04   -1.5418    
  16  Prefactor     .10000E-03    4.0257        .17215E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .99241        .85464E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.3501        .15530E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     17.471        18.055        .95813E-04   -1.4872    
  20  Normalizat    .67637        .30669        .53004E-03   -1.0483    
  21  Prefactor     1.0630        .10768        .15076E-03   -.90659    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.81096e-09
Minuit parameter uncertainties:
  1  2.41969e-05
  2  0.000239555
  3  7.10649
  4  6.02761e-05
  5  0.00648865
  6  40.5537
  7  1.60132
  8  57.2107
  9  15.474
  10  6.2177e-06
  11  2.77727e-05
  12  1.68367e-05
  13  1.28681e-05
  14  28.4879
  15  1.26472
  16  2.28465e-06
  17  1.8879e-06
  18  2.69068e-05
  19  18.0611
  20  0.307473
  21  0.107706
Done.

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

Extracting fit parameters...

4FGL J2023.6-1139
   Spectrum: LogParabola
342         norm:  3.561e+01  2.849e+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.063e+00  1.077e-01  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:  6.764e-01  3.075e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.66
Ra Dec: 305.903 -11.659
Photon Index (Fixed Index): 1.96 +/- 0.00
Photon Flux (Fixed Index): 3.48e-08 +/- 2.78e-08
Energy Flux (Fixed Index): 2.39e-05 +/- 1.91e-05

TS (Fixed Index): 3.66
Ra Dec: 305.903 -11.659
Photon Flux Upper Limit: 1.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.19e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/792809/likelihoodResults_678931201_679190401_4FGL_J2023.6-1139_daily_bin1696.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) = 7726.78408863
delta logL = 0.606728151487

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7726.76863891
delta logL = 0.622177876881

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    30.202       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.0977       1.0000          .0000       5.0000    
     3 'Normalizat'    .68210       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0646       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=   7726.769     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      215 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 19.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          30.187        29.712       -.12221E-04   -.31489E-03
   2  alpha         1.0970        .69704       -.11092E-03    .46257E-04
   3  Normalizat    .68209        .27047        .27863E-05    .49693E-03
   4  Prefactor     1.0646        .95607E-01   -.89262E-07    .10360E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 30.1869
  alpha      = 1.09698
  Normalizat = 0.682086
  Prefactor  = 1.06461
 **********
 **   18 **HESSE 
 **********

 FCN=   7726.769     FROM HESSE     STATUS=OK            29 CALLS      244 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          30.187        28.710        .72905E-04   -1.4609    
   2  alpha         1.0970        .67359        .19471E-01   -.59584    
   3  Normalizat    .68209        .29507        .52818E-03   -1.0460    
   4  Prefactor     1.0646        .10443        .15065E-03   -.90606    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.37812e-09
Minuit parameter uncertainties:
  1  28.7232
  2  0.686092
  3  0.295763
  4  0.104452
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/792809': 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) = 7726.76863836
delta logL = 0.622178424799

Extracting fit parameters...

4FGL J2023.6-1139
   Spectrum: LogParabola
342         norm:  3.019e+01  2.872e+01  1.000e-04  1.000e+04 ( 1.000e-13)
343        alpha:  1.097e+00  6.861e-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.065e+00  1.045e-01  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:  6.821e-01  2.958e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.90
Ra Dec: 305.903 -11.659
Photon Index (Free Index): 1.10 +/- 0.69
Photon Flux (Free Index): 1.59e-08 +/- 1.46e-08
Energy Flux (Free Index): 7.33e-05 +/- 9.90e-05

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/792809/cmap_HighResolution_678931201_679190401_4FGL_J2023.6-1139_daily_bin1696.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.19e-05', comment='SUCCESS', photon_flux='3.48e-08', energy_flux2='7.33e-05', photon_flux_error='2.78e-08', dlogl='6.22e-01', energy_flux='2.39e-05', photon_flux2='1.59e-08', job_status='DONE', time_completed='2022-07-11 00:45:59.143201', photon_index_error2='0.69', photon_index2='1.10', ts='3.66', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='1.05e-07', energy_flux_error2='9.90e-05', EG='0.68', time_epoch_completed='1657525559.14', return_code='0', job_id='792809', GAL2='1.06', EG2='0.68', return_code2='0', energy_flux_error='1.91e-05', photon_flux_error2='1.46e-08', ts2='4.90', photon_index='1.96' WHERE bin_id='1696' AND source_name='4FGL J2023.6-1139' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 11 00:45:59 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 792809: <4FGL_J2023.6-1139_daily_bin1696> in cluster <slac> Done

Job <4FGL_J2023.6-1139_daily_bin1696> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Jul 11 00:30:23 2022
Job was executed on host(s) <bullet0255>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jul 11 00:30:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jul 11 00:30:25 2022
Terminated at Mon Jul 11 00:45:59 2022
Results reported at Mon Jul 11 00:45:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2023.6-1139_daily_bin1696 305.903 -11.6585 678931201 679190401 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 :                                   722.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             296.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   934 sec.
    Turnaround time :                            936 sec.

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

