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


Performing analysis on: 4FGL_J2338.0-0230_daily_bin1720
RA = 354.509, Dec = -2.5106
tmin = 685152001, tmax = 685411201
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='850018', job_status='RUN', time_executed='2022-09-21 01:00:19.003459', time_epoch_executed='1663747219.0' WHERE source_name='4FGL J2338.0-0230' and cadence='daily' and bin_id='1720'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/850018

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/850018/ft1_4FGL_J2338.0-0230_daily_bin1720.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/850018/ft2_4FGL_J2338.0-0230_daily_bin1720.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/850018/ft1_4FGL_J2338.0-0230_daily_bin1720.fits outfile=/scratch/kocevski/850018/ft1_filteredMKT_4FGL_J2338.0-0230_daily_bin1720.fits ra=354.509 dec=-2.5106 rad=12.0 tmin=685152001.0 tmax=685411201.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.72
user 3.51
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/850018/ft2_4FGL_J2338.0-0230_daily_bin1720.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/850018/ft2_4FGL_J2338.0-0230_daily_bin1720.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/850018/ft1_filteredMKT_4FGL_J2338.0-0230_daily_bin1720.fits evtable="EVENTS" outfile="/scratch/kocevski/850018/ft1_filtered_4FGL_J2338.0-0230_daily_bin1720.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.52
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 229

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/850018/ft1_filtered_4FGL_J2338.0-0230_daily_bin1720.fits" evtable="EVENTS" scfile=/scratch/kocevski/850018/ft2_4FGL_J2338.0-0230_daily_bin1720.fits sctable="SC_DATA" outfile=/scratch/kocevski/850018/ltcube_685152001_685411201_4FGL_J2338.0-0230_daily_bin1720.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/850018/ft2_4FGL_J2338.0-0230_daily_bin1720.fits
.....................!
real 14.48
user 14.08
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/850018/ft1_filtered_4FGL_J2338.0-0230_daily_bin1720.fits evtable="EVENTS" scfile=/scratch/kocevski/850018/ft2_4FGL_J2338.0-0230_daily_bin1720.fits sctable="SC_DATA" expcube=/scratch/kocevski/850018/ltcube_685152001_685411201_4FGL_J2338.0-0230_daily_bin1720.fits outfile=/scratch/kocevski/850018/expmap_685152001_685411201_4FGL_J2338.0-0230_daily_bin1720.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/850018/ltcube_685152001_685411201_4FGL_J2338.0-0230_daily_bin1720.fits
.....................!
real 193.22
user 186.97
sys 5.89

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

Setting source of interest to:
4FGL J2338.0-0230 @ 354.509 -2.5106

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/850018/ft1_filtered_4FGL_J2338.0-0230_daily_bin1720.fits scfile=/scratch/kocevski/850018/ft2_4FGL_J2338.0-0230_daily_bin1720.fits outfile=/scratch/kocevski/850018/cmap_685152001_685411201_4FGL_J2338.0-0230_daily_bin1720.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=354.509 yref=-2.5106 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.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/850018/ft1_filtered_4FGL_J2338.0-0230_daily_bin1720.fits scfile=/scratch/kocevski/850018/ft2_4FGL_J2338.0-0230_daily_bin1720.fits outfile=/scratch/kocevski/850018/cmap_HighResolution_685152001_685411201_4FGL_J2338.0-0230_daily_bin1720.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=354.509 yref=-2.5106 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.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/850018/ft1_filtered_4FGL_J2338.0-0230_daily_bin1720.fits evtable="EVENTS" scfile=/scratch/kocevski/850018/ft2_4FGL_J2338.0-0230_daily_bin1720.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/850018/Model_4FGL_J2338.0-0230_daily_bin1720.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/850018/ft1_filtered_4FGL_J2338.0-0230_daily_bin1720.fits.....................!
real 33.87
user 32.21
sys 1.57

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/850018/ft1_filtered_4FGL_J2338.0-0230_daily_bin1720.fits', '/scratch/kocevski/850018/ft2_4FGL_J2338.0-0230_daily_bin1720.fits', expMap='/scratch/kocevski/850018/expmap_685152001_685411201_4FGL_J2338.0-0230_daily_bin1720.fits', expCube='/scratch/kocevski/850018/ltcube_685152001_685411201_4FGL_J2338.0-0230_daily_bin1720.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/850018/Model_4FGL_J2338.0-0230_daily_bin1720.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2338.0-0230'

4FGL J2338.0-0230
   Spectrum: PowerLaw
462    Prefactor:  2.455e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
463        Index:  2.490e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
464        Scale:  7.455e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/850018/ft1_filtered_4FGL_J2338.0-0230_daily_bin1720.fits
Spacecraft file(s): /scratch/kocevski/850018/ft2_4FGL_J2338.0-0230_daily_bin1720.fits
Exposure map: /scratch/kocevski/850018/expmap_685152001_685411201_4FGL_J2338.0-0230_daily_bin1720.fits
Exposure cube: /scratch/kocevski/850018/ltcube_685152001_685411201_4FGL_J2338.0-0230_daily_bin1720.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/850018/Model_4FGL_J2338.0-0230_daily_bin1720.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) = 2546.98867635

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.025       1.0000          .0000       .10000E+07
     2 'Prefactor '    59.357       1.0000          .0000       .10000E+07
     3 'Prefactor '    .25747E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .33466E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .12529E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .43021E-07   1.0000          .0000       .10000E+07
     7 'norm      '    .13184E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .16273E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .49680E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    24.359       1.0000          .0000       .10000E+07
    11 'norm      '    1.4184       1.0000          .0000       .10000E+07
    12 'norm      '    .45874E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    9.2565       1.0000          .0000       .10000E+07
    14 'Prefactor '    134.06       1.0000          .0000       .10000E+07
    15 'Prefactor '    .20746E-01   1.0000          .0000       .10000E+07
    16 'norm      '    .53733E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    2.5117       1.0000          .0000       .10000E+07
    18 'Prefactor '    77.721       1.0000          .0000       .10000E+07
    19 'Prefactor '    .86104E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .28677E-03   1.0000          .0000       .10000E+07
    21 'Normalizat'    .75182       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0775       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2546.804     FROM MIGRAD    STATUS=CONVERGED    222 CALLS     1830 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.186        15.422       -.44204E-05    .48121E-03
   2  Prefactor     60.699        39.953       -.35766E-05   -.10441E-03
   3  Prefactor     .27756E-09    4.5980       -.11877E-05** at limit **
   4  norm          .22204E-09    4.2557       -.15168E-05** at limit **
   5  Prefactor      .0000        7.8095        .27366E-07** at limit **
   6  norm          .11102E-09    2.4745       -.10772E-05** at limit **
   7  norm          .11102E-09    16.952       -.34716E-06** at limit **
   8  Prefactor     .66613E-09    82.352       -.22032E-04** at limit **
   9  Prefactor     .11102E-09    40.106        .10752E-05** at limit **
  10  Prefactor     24.526        16.924       -.22674E-05   -.82198E-03
  11  norm          1.4168        1.6398        .20617E-06    .30004E-02
  12  norm          .55511E-10    8.7330        .27890E-07** at limit **
  13  Prefactor     9.2197        15.076       -.54869E-05    .21435E-03
  14  Prefactor     149.00        137.07       -.61412E-05   -.52048E-03
  15  Prefactor     .17208E-08    31.882       -.47228E-06** at limit **
  16  norm          .49960E-09    17.293        .16342E-05** at limit **
  17  Prefactor     2.5104        7.2425        .19594E-06    .88369E-03
  18  Prefactor     81.351        76.798        .94356E-06    .42294E-03
  19  Prefactor     .55511E-10    8.9485        .40961E-06** at limit **
  20  Prefactor     .12768E-08    14.093        .28701E-05** at limit **
  21  Normalizat    .74424        .35504        .55191E-05    .59177E-04
  22  Prefactor     1.0758        .26018        .42007E-04    .10602E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.1864
  Prefactor  = 60.6995
  Prefactor  = 2.77556e-10
  norm       = 2.22045e-10
  Prefactor  = 0
  norm       = 1.11022e-10
  norm       = 1.11022e-10
  Prefactor  = 6.66134e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 24.5259
  norm       = 1.41682
  norm       = 5.55112e-11
  Prefactor  = 9.21971
  Prefactor  = 149.002
  Prefactor  = 1.72085e-09
  norm       = 4.996e-10
  Prefactor  = 2.51039
  Prefactor  = 81.3507
  Prefactor  = 5.55112e-11
  Prefactor  = 1.27676e-09
  Normalizat = 0.744241
  Prefactor  = 1.07584
 **********
 **   18 **HESSE 
 **********

 FCN=   2546.804     FROM HESSE     STATUS=OK           382 CALLS     2212 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.186        15.416        .22935E-03   -1.5620    
   2  Prefactor     60.699        39.844        .12981E-03   -1.5552    
   3  Prefactor     .27756E-09    4.5984        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .22204E-09    4.2692        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        7.8190        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .11102E-09    2.4791        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .11102E-09    16.927        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .66613E-09    82.130        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .11102E-09    40.050        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     24.526        16.894        .20266E-03   -1.5609    
  11  norm          1.4168        1.6661        .90827E-03   -1.5684    
  12  norm          .55511E-10    8.7093        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     9.2197        15.083        .32917E-03   -1.5647    
  14  Prefactor     149.00        136.78        .86374E-04   -1.5464    
  15  Prefactor     .17208E-08    31.632        .16988E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .49960E-09    17.294        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.5104        7.2379        .64445E-03   -1.5676    
  18  Prefactor     81.351        76.898        .11344E-03   -1.5528    
  19  Prefactor     .55511E-10    8.9584        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .12768E-08    14.079        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .74424        .31321        .71800E-01   -1.0217    
  22  Prefactor     1.0758        .22841        .38513E-01   -.90242    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.27081e-10
Minuit parameter uncertainties:
  1  15.4162
  2  39.8439
  3  7.37322e-05
  4  5.89503e-05
  5  2.05699e-06
  6  2.87643e-05
  7  7.82571e-05
  8  0.000463378
  9  0.000128395
  10  16.8936
  11  1.66607
  12  3.67382e-05
  13  15.0834
  14  136.787
  15  0.000468996
  16  0.000183107
  17  7.23791
  18  76.8985
  19  3.43725e-05
  20  0.000266082
  21  0.313968
  22  0.228617
Done.

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

Extracting fit parameters...

4FGL J2338.0-0230
   Spectrum: PowerLaw
462    Prefactor:  2.510e+00  7.238e+00  0.000e+00  1.000e+06 ( 1.000e-12)
463        Index:  2.490e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
464        Scale:  7.455e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  1.076e+00  2.286e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  7.442e-01  3.140e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.15
Ra Dec: 354.509 -2.511
Photon Flux Upper Limit: 2.12e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.65e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/850018/likelihoodResults_685152001_685411201_4FGL_J2338.0-0230_daily_bin1720.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) = 2546.52701171
delta logL = 0.276757324013

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2546.51280076
delta logL = 0.290968267892

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2194       1.0000          .0000       .10000E+07
     2 'Index     '    3.7536       1.0000          .0000       10.000    
     3 'Normalizat'    .67657       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1060       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+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=   2546.513     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      273 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2200        7.7808        .67529E-05    .24255E-01
   2  Index         3.7537        2.8601        .63017E-02    .25208E-03
   3  Normalizat    .67651        .34766        .33191E-03    .30230E-03
   4  Prefactor     1.1061        .26157        .20455E-03    .36048E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.22003
  Index      = 3.75372
  Normalizat = 0.676511
  Prefactor  = 1.10607
 **********
 **   18 **HESSE 
 **********

 FCN=   2546.513     FROM HESSE     STATUS=OK            23 CALLS      296 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2200        3.5759        .27012E-06   -1.5686    
   2  Index         3.7537        1.7326        .25207E-03   -.25191    
   3  Normalizat    .67651        .34761        .66383E-04   -1.0483    
   4  Prefactor     1.1061        .26108        .40910E-04   -.89273    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48174e-09
Minuit parameter uncertainties:
  1  3.57588
  2  1.77193
  3  0.348749
  4  0.261386
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/850018': 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) = 2546.51280064
delta logL = 0.290968395058

Extracting fit parameters...

4FGL J2338.0-0230
   Spectrum: PowerLaw
462    Prefactor:  1.220e+00  3.576e+00  0.000e+00  1.000e+06 ( 1.000e-12)
463        Index:  3.754e+00  1.772e+00  0.000e+00  1.000e+01 (-1.000e+00)
464        Scale:  7.455e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  1.106e+00  2.614e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  6.765e-01  3.487e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.15
Ra Dec: 354.509 -2.511

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/850018/cmap_HighResolution_685152001_685411201_4FGL_J2338.0-0230_daily_bin1720.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.65e-02', job_status='DONE', photon_flux_upper_limit='2.12e-07', time_completed='2022-09-21 01:07:32.435225', job_id='850018', GAL2='1.11', fit_tolerance='1e-08', EG2='0.68', EG='0.74', time_epoch_completed='1663747652.44', return_code2='0', ts='0.15', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='2.91e-01', ts2='0.79', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='1720' AND source_name='4FGL J2338.0-0230' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 21 01:07:32 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 850018: <4FGL_J2338.0-0230_daily_bin1720> in cluster <slac> Done

Job <4FGL_J2338.0-0230_daily_bin1720> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Wed Sep 21 00:55:25 2022
Job was executed on host(s) <bullet0223>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 21 00:57:57 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 21 00:57:57 2022
Terminated at Wed Sep 21 01:07:33 2022
Results reported at Wed Sep 21 01:07:33 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2338.0-0230_daily_bin1720 354.509 -2.5106 685152001 685411201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2338.0-0230 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   436.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             275.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   575 sec.
    Turnaround time :                            728 sec.

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

