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 100 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7644
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2023.6-1139_daily_bin1747
RA = 305.903, Dec = -11.6585
tmin = 692150401, tmax = 692409601
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='812396', job_status='RUN', time_executed='2022-12-11 01:37:04.346694', time_epoch_executed='1670751424.35' WHERE source_name='4FGL J2023.6-1139' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/812396

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/812396/ft1_4FGL_J2023.6-1139_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/812396/ft2_4FGL_J2023.6-1139_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/812396/ft1_4FGL_J2023.6-1139_daily_bin1747.fits outfile=/scratch/kocevski/812396/ft1_filteredMKT_4FGL_J2023.6-1139_daily_bin1747.fits ra=305.903 dec=-11.6585 rad=12.0 tmin=692150401.0 tmax=692409601.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.98
user 3.74
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/812396/ft2_4FGL_J2023.6-1139_daily_bin1747.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/812396/ft1_filteredMKT_4FGL_J2023.6-1139_daily_bin1747.fits evtable="EVENTS" outfile="/scratch/kocevski/812396/ft1_filtered_4FGL_J2023.6-1139_daily_bin1747.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.34
sys 0.14

Number of photons that the gtmktime cut: 705

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/812396/ft1_filtered_4FGL_J2023.6-1139_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/812396/ft2_4FGL_J2023.6-1139_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/812396/ltcube_692150401_692409601_4FGL_J2023.6-1139_daily_bin1747.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/812396/ft2_4FGL_J2023.6-1139_daily_bin1747.fits
.....................!
real 11.74
user 11.37
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/812396/ft1_filtered_4FGL_J2023.6-1139_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/812396/ft2_4FGL_J2023.6-1139_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/812396/ltcube_692150401_692409601_4FGL_J2023.6-1139_daily_bin1747.fits outfile=/scratch/kocevski/812396/expmap_692150401_692409601_4FGL_J2023.6-1139_daily_bin1747.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/812396/ltcube_692150401_692409601_4FGL_J2023.6-1139_daily_bin1747.fits
.....................!
real 189.67
user 184.85
sys 4.42

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/812396/ft1_filtered_4FGL_J2023.6-1139_daily_bin1747.fits scfile=/scratch/kocevski/812396/ft2_4FGL_J2023.6-1139_daily_bin1747.fits outfile=/scratch/kocevski/812396/cmap_692150401_692409601_4FGL_J2023.6-1139_daily_bin1747.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/812396/ft1_filtered_4FGL_J2023.6-1139_daily_bin1747.fits scfile=/scratch/kocevski/812396/ft2_4FGL_J2023.6-1139_daily_bin1747.fits outfile=/scratch/kocevski/812396/cmap_HighResolution_692150401_692409601_4FGL_J2023.6-1139_daily_bin1747.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/812396/ft1_filtered_4FGL_J2023.6-1139_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/812396/ft2_4FGL_J2023.6-1139_daily_bin1747.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/812396/Model_4FGL_J2023.6-1139_daily_bin1747.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/812396/ft1_filtered_4FGL_J2023.6-1139_daily_bin1747.fits.....................!
real 75.66
user 74.28
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/812396/ft1_filtered_4FGL_J2023.6-1139_daily_bin1747.fits', '/scratch/kocevski/812396/ft2_4FGL_J2023.6-1139_daily_bin1747.fits', expMap='/scratch/kocevski/812396/expmap_692150401_692409601_4FGL_J2023.6-1139_daily_bin1747.fits', expCube='/scratch/kocevski/812396/ltcube_692150401_692409601_4FGL_J2023.6-1139_daily_bin1747.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/812396/Model_4FGL_J2023.6-1139_daily_bin1747.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  0.000e+00  1.000e+06 ( 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 -5.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/812396/ft1_filtered_4FGL_J2023.6-1139_daily_bin1747.fits
Spacecraft file(s): /scratch/kocevski/812396/ft2_4FGL_J2023.6-1139_daily_bin1747.fits
Exposure map: /scratch/kocevski/812396/expmap_692150401_692409601_4FGL_J2023.6-1139_daily_bin1747.fits
Exposure cube: /scratch/kocevski/812396/ltcube_692150401_692409601_4FGL_J2023.6-1139_daily_bin1747.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/812396/Model_4FGL_J2023.6-1139_daily_bin1747.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) = 7636.67958256

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11587E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .83163E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    5.5149       1.0000          .0000       .10000E+07
     4 'Prefactor '    .40976E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .86292E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.8783       1.0000          .0000       .10000E+07
     7 'Prefactor '    .39972E-02   1.0000          .0000       .10000E+07
     8 'norm      '    .47822E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .41996E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .98672E-01   1.0000          .0000       .10000E+07
    11 'norm      '    .63287E-02   1.0000          .0000       .10000E+07
    12 'norm      '    59.722       1.0000          .0000       .10000E+07
    13 'norm      '    .76487       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.8013       1.0000          .0000       .10000E+07
    15 'norm      '    3.6395       1.0000          .0000       .10000E+07
    16 'Prefactor '    1.5851       1.0000          .0000       .10000E+07
    17 'Normalizat'    .64261       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1816       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7636.675     FROM MIGRAD    STATUS=CONVERGED    120 CALLS     1316 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .30664E-05    17.045        .27028E-05** at limit **
   2  Prefactor     .25266E-05    16.301       -.22816E-05** at limit **
   3  Prefactor     5.5173        4.8611       -.36432E-06   -.15172E-02
   4  Prefactor     .63753E-05    75.284        .64066E-05** at limit **
   5  Prefactor     .50253E-05    18.699        .32283E-05** at limit **
   6  Prefactor     4.8843        2.5304        .14343E-06    .24658E-02
   7  Prefactor     .71998E-07    15.481       -.90584E-06** at limit **
   8  norm          .18340E-04    33.264       -.36470E-06** at limit **
   9  Prefactor     .86042E-08    13.493        .71035E-06** at limit **
  10  Prefactor     .14387E-05    62.643       -.43050E-05** at limit **
  11  norm          .33336E-05    22.948       -.75843E-06** at limit **
  12  norm          59.573        4.7000       -.14138E-06    .46147E-01
  13  norm          .76398        1.2956       -.97358E-07   -.24313E-02
  14  Prefactor     2.8099        8.3964       -.12308E-05    .26782E-01
  15  norm          3.6393        3.2413       -.89893E-07    .25348E-03
  16  Prefactor     1.5782        5.5646        .50596E-06    .68112E-03
  17  Normalizat    .64293        .32396        .28980E-04   -.44165E-04
  18  Prefactor     1.1816        .11147       -.42350E-05   -.56452E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.06644e-06
  Prefactor  = 2.52659e-06
  Prefactor  = 5.51727
  Prefactor  = 6.37529e-06
  Prefactor  = 5.02526e-06
  Prefactor  = 4.88431
  Prefactor  = 7.1998e-08
  norm       = 1.83398e-05
  Prefactor  = 8.60423e-09
  Prefactor  = 1.43868e-06
  norm       = 3.33356e-06
  norm       = 59.5727
  norm       = 0.763981
  Prefactor  = 2.80989
  norm       = 3.63932
  Prefactor  = 1.57823
  Normalizat = 0.642933
  Prefactor  = 1.18157
 **********
 **   18 **HESSE 
 **********

 FCN=   7636.675     FROM HESSE     STATUS=OK           278 CALLS     1594 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .30664E-05    44.846        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .25266E-05    21.330        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.5173        4.8449        .42760E-03   -1.5661    
   4  Prefactor     .63753E-05    83.224        .15920E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .50253E-05    42.914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.8843        2.5359        .45518E-03   -1.5664    
   7  Prefactor     .71998E-07    16.929        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .18340E-04    55.411        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .86042E-08    13.665        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .14387E-05    65.015        .13965E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .33336E-05    27.391        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          59.573        40.215        .12941E-03   -1.5554    
  13  norm          .76398        1.3936        .55591E-03   -1.5690    
  14  Prefactor     2.8099        28.553        .60757E-03   -1.5674    
  15  norm          3.6393        3.2563        .52930E-03   -1.5670    
  16  Prefactor     1.5782        5.6502        .84289E-03   -1.5683    
  17  Normalizat    .64293        .32309        .12747       -1.0619    
  18  Prefactor     1.1816        .10618        .35081E-01   -.86900    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02422e-06
Minuit parameter uncertainties:
  1  0.0234539
  2  0.0146823
  3  4.84489
  4  0.0460692
  5  0.0293707
  6  2.53593
  7  0.00220843
  8  0.063757
  9  0.000685878
  10  0.019343
  11  0.0191112
  12  40.2153
  13  1.39364
  14  17.9143
  15  3.25629
  16  5.65017
  17  0.324051
  18  0.106202
Done.

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

Extracting fit parameters...

4FGL J2023.6-1139
   Spectrum: LogParabola
342         norm:  5.957e+01  4.022e+01  0.000e+00  1.000e+06 ( 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 -5.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.182e+00  1.062e-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.429e-01  3.241e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.51
Ra Dec: 305.903 -11.659
Photon Index (Fixed Index): 1.96 +/- 0.00
Photon Flux (Fixed Index): 5.81e-08 +/- 3.92e-08
Energy Flux (Fixed Index): 4.00e-05 +/- 2.70e-05

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

Saving results to:
/scratch/kocevski/812396/likelihoodResults_692150401_692409601_4FGL_J2023.6-1139_daily_bin1747.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) = 7636.55845164
delta logL = 0.116249435398

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7636.55283449
delta logL = 0.12186658931

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    65.587       1.0000          .0000       .10000E+07
     2 'alpha     '    1.7329       1.0000          .0000       5.0000    
     3 'Normalizat'    .65101       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1803       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7636.553     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      289 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          65.589        43.849        .49394E-05   -.36683E-02
   2  alpha         1.7329        .45375        .13802E-01   -.13044E-03
   3  Normalizat    .65119        .31016        .56228E-03   -.95312E-04
   4  Prefactor     1.1802        .10950        .14944E-03   -.38372E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 65.5891
  alpha      = 1.73289
  Normalizat = 0.65119
  Prefactor  = 1.18023
 **********
 **   18 **HESSE 
 **********

 FCN=   7636.553     FROM HESSE     STATUS=OK            23 CALLS      312 TOTAL
                     EDM=   .95E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          65.589        43.719        .98789E-06   -1.5546    
   2  alpha         1.7329        .45245        .55209E-03   -.31188    
   3  Normalizat    .65119        .31016        .22491E-04   -1.0585    
   4  Prefactor     1.1802        .10951        .29888E-04   -.86942    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.47947e-10
Minuit parameter uncertainties:
  1  43.7189
  2  0.45522
  3  0.311
  4  0.109529
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/812396': 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) = 7636.55283423
delta logL = 0.121866848584

Extracting fit parameters...

4FGL J2023.6-1139
   Spectrum: LogParabola
342         norm:  6.559e+01  4.372e+01  0.000e+00  1.000e+06 ( 1.000e-13)
343        alpha:  1.733e+00  4.552e-01  0.000e+00  5.000e+00 ( 1.000e+00)
344         beta:  1.303e-01  0.000e+00 -5.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.180e+00  1.095e-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.512e-01  3.110e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.75
Ra Dec: 305.903 -11.659
Photon Index (Free Index): 1.73 +/- 0.46
Photon Flux (Free Index): 4.88e-08 +/- 3.85e-08
Energy Flux (Free Index): 5.17e-05 +/- 4.32e-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/812396/cmap_HighResolution_692150401_692409601_4FGL_J2023.6-1139_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.85e-05', comment='SUCCESS', photon_flux='5.81e-08', energy_flux2='5.17e-05', photon_flux_error='3.92e-08', dlogl='1.22e-01', energy_flux='4.00e-05', photon_flux2='4.88e-08', job_status='DONE', time_completed='2022-12-11 01:47:33.930715', photon_index_error2='0.46', photon_index2='1.73', ts='3.51', fit_tolerance='1e-08', GAL='1.18', photon_index_error='0.00', photon_flux_upper_limit='1.43e-07', energy_flux_error2='4.32e-05', EG='0.64', time_epoch_completed='1670752053.93', return_code='0', job_id='812396', GAL2='1.18', EG2='0.65', return_code2='0', energy_flux_error='2.70e-05', photon_flux_error2='3.85e-08', ts2='3.75', photon_index='1.96' WHERE bin_id='1747' AND source_name='4FGL J2023.6-1139' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 01:47:33 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 812396: <4FGL_J2023.6-1139_daily_bin1747> in cluster <slac> Done

Job <4FGL_J2023.6-1139_daily_bin1747> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Dec 11 01:35:15 2022
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 01:35:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 01:35:16 2022
Terminated at Sun Dec 11 01:47:34 2022
Results reported at Sun Dec 11 01:47:34 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2023.6-1139_daily_bin1747 305.903 -11.6585 692150401 692409601 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 :                                   632.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             320.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   738 sec.
    Turnaround time :                            739 sec.

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

