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


Performing analysis on: 4FGL_J2338.0-0230_daily_bin1738
RA = 354.509, Dec = -2.5106
tmin = 689817601, tmax = 690076801
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='412078', job_status='RUN', time_executed='2022-11-14 00:51:52.734198', time_epoch_executed='1668415912.73' WHERE source_name='4FGL J2338.0-0230' and cadence='daily' and bin_id='1738'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/412078

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/412078/ft1_4FGL_J2338.0-0230_daily_bin1738.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/412078/ft2_4FGL_J2338.0-0230_daily_bin1738.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/412078/ft1_4FGL_J2338.0-0230_daily_bin1738.fits outfile=/scratch/kocevski/412078/ft1_filteredMKT_4FGL_J2338.0-0230_daily_bin1738.fits ra=354.509 dec=-2.5106 rad=12.0 tmin=689817601.0 tmax=690076801.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 4.12
user 3.84
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/412078/ft2_4FGL_J2338.0-0230_daily_bin1738.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/412078/ft1_filteredMKT_4FGL_J2338.0-0230_daily_bin1738.fits evtable="EVENTS" outfile="/scratch/kocevski/412078/ft1_filtered_4FGL_J2338.0-0230_daily_bin1738.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.33
sys 0.16

Number of photons that the gtmktime cut: 570

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/412078/ft1_filtered_4FGL_J2338.0-0230_daily_bin1738.fits" evtable="EVENTS" scfile=/scratch/kocevski/412078/ft2_4FGL_J2338.0-0230_daily_bin1738.fits sctable="SC_DATA" outfile=/scratch/kocevski/412078/ltcube_689817601_690076801_4FGL_J2338.0-0230_daily_bin1738.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/412078/ft2_4FGL_J2338.0-0230_daily_bin1738.fits
.....................!
real 13.50
user 13.12
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/412078/ft1_filtered_4FGL_J2338.0-0230_daily_bin1738.fits evtable="EVENTS" scfile=/scratch/kocevski/412078/ft2_4FGL_J2338.0-0230_daily_bin1738.fits sctable="SC_DATA" expcube=/scratch/kocevski/412078/ltcube_689817601_690076801_4FGL_J2338.0-0230_daily_bin1738.fits outfile=/scratch/kocevski/412078/expmap_689817601_690076801_4FGL_J2338.0-0230_daily_bin1738.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/412078/ltcube_689817601_690076801_4FGL_J2338.0-0230_daily_bin1738.fits
.....................!
real 191.45
user 185.89
sys 5.14

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/412078/ft1_filtered_4FGL_J2338.0-0230_daily_bin1738.fits scfile=/scratch/kocevski/412078/ft2_4FGL_J2338.0-0230_daily_bin1738.fits outfile=/scratch/kocevski/412078/cmap_689817601_690076801_4FGL_J2338.0-0230_daily_bin1738.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.56
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/412078/ft1_filtered_4FGL_J2338.0-0230_daily_bin1738.fits scfile=/scratch/kocevski/412078/ft2_4FGL_J2338.0-0230_daily_bin1738.fits outfile=/scratch/kocevski/412078/cmap_HighResolution_689817601_690076801_4FGL_J2338.0-0230_daily_bin1738.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.57
user 0.37
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/412078/ft1_filtered_4FGL_J2338.0-0230_daily_bin1738.fits evtable="EVENTS" scfile=/scratch/kocevski/412078/ft2_4FGL_J2338.0-0230_daily_bin1738.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/412078/Model_4FGL_J2338.0-0230_daily_bin1738.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/412078/ft1_filtered_4FGL_J2338.0-0230_daily_bin1738.fits.....................!
real 61.09
user 59.55
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/412078/ft1_filtered_4FGL_J2338.0-0230_daily_bin1738.fits', '/scratch/kocevski/412078/ft2_4FGL_J2338.0-0230_daily_bin1738.fits', expMap='/scratch/kocevski/412078/expmap_689817601_690076801_4FGL_J2338.0-0230_daily_bin1738.fits', expCube='/scratch/kocevski/412078/ltcube_689817601_690076801_4FGL_J2338.0-0230_daily_bin1738.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/412078/Model_4FGL_J2338.0-0230_daily_bin1738.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/412078/ft1_filtered_4FGL_J2338.0-0230_daily_bin1738.fits
Spacecraft file(s): /scratch/kocevski/412078/ft2_4FGL_J2338.0-0230_daily_bin1738.fits
Exposure map: /scratch/kocevski/412078/expmap_689817601_690076801_4FGL_J2338.0-0230_daily_bin1738.fits
Exposure cube: /scratch/kocevski/412078/ltcube_689817601_690076801_4FGL_J2338.0-0230_daily_bin1738.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/412078/Model_4FGL_J2338.0-0230_daily_bin1738.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) = 6388.9285266

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8709       1.0000          .0000       .10000E+07
     2 'Prefactor '    .12264       1.0000          .0000       .10000E+07
     3 'Prefactor '    .30953       1.0000          .0000       .10000E+07
     4 'norm      '    .66113       1.0000          .0000       .10000E+07
     5 'Prefactor '    8.0269       1.0000          .0000       .10000E+07
     6 'norm      '    9.5395       1.0000          .0000       .10000E+07
     7 'norm      '    .23793E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    3.2361       1.0000          .0000       .10000E+07
     9 'Prefactor '    .86965E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .31580E-01   1.0000          .0000       .10000E+07
    11 'norm      '    .67028       1.0000          .0000       .10000E+07
    12 'norm      '    .12557E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    10.846       1.0000          .0000       .10000E+07
    14 'Prefactor '    49.076       1.0000          .0000       .10000E+07
    15 'Prefactor '    .27869E-03   1.0000          .0000       .10000E+07
    16 'norm      '    .24107E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    7.0525       1.0000          .0000       .10000E+07
    18 'Prefactor '    65.156       1.0000          .0000       .10000E+07
    19 'Prefactor '    17.043       1.0000          .0000       .10000E+07
    20 'Prefactor '    .53393E-05   1.0000          .0000       .10000E+07
    21 'Normalizat'    .57191       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0358       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=   6388.923     FROM MIGRAD    STATUS=CONVERGED    179 CALLS     1920 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8875        8.8157        .61160E-06    .46799E-02
   2  Prefactor     .38858E-09    33.596       -.59058E-06** at limit **
   3  Prefactor     .30788        18.977        .15333E-05   -.19172E-02
   4  norm          .66696        1.5460        .15123E-06    .48768E-03
   5  Prefactor     8.0212        7.5965        .35093E-06   -.38932E-03
   6  norm          9.5389        4.3123       -.21075E-06   -.82298E-03
   7  norm           .0000        4.6257        .18086E-07** at limit **
   8  Prefactor     3.2597        4.4786        .64721E-06    .30334E-01
   9  Prefactor     .44409E-09    8.6152       -.21335E-06** at limit **
  10  Prefactor     .27395E-01    82.062        .21611E-05** at limit **
  11  norm          .67064        .64329        .33306E-07   -.12850E-03
  12  norm           .0000        1.9013        .33734E-06** at limit **
  13  Prefactor     10.840        9.0419       -.30068E-06    .18971E-01
  14  Prefactor     47.911        48.102       -.94495E-06   -.37637E-02
  15  Prefactor     .26645E-08    11.963        .12260E-05** at limit **
  16  norm          .48850E-08    11.499       -.18743E-05** at limit **
  17  Prefactor     7.0484        4.2794        .33331E-07    .42055E-03
  18  Prefactor     65.478        8.3506        .19472E-06   -.41028E-01
  19  Prefactor     16.897        22.973       -.17736E-05    .17971E-02
  20  Prefactor     .28422E-07    124.75       -.48290E-05** at limit **
  21  Normalizat    .57222        .18803       -.59362E-05   -.24816E-03
  22  Prefactor     1.0359        .14839        .39365E-05   -.26422E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.88745
  Prefactor  = 3.88578e-10
  Prefactor  = 0.307878
  norm       = 0.666964
  Prefactor  = 8.02115
  norm       = 9.53886
  norm       = 0
  Prefactor  = 3.25971
  Prefactor  = 4.44089e-10
  Prefactor  = 0.0273946
  norm       = 0.670644
  norm       = 0
  Prefactor  = 10.8403
  Prefactor  = 47.9109
  Prefactor  = 2.66454e-09
  norm       = 4.88498e-09
  Prefactor  = 7.04845
  Prefactor  = 65.4777
  Prefactor  = 16.8972
  Prefactor  = 2.84217e-08
  Normalizat = 0.572222
  Prefactor  = 1.03589
 **********
 **   18 **HESSE 
 **********

 FCN=   6388.923     FROM HESSE     STATUS=OK           418 CALLS     2338 TOTAL
                     EDM=   .87E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8875        9.3672        .59966E-03   -1.5674    
   2  Prefactor     .38858E-09    7.9271        .72544E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .30788        3.4681        .69492E-02   -1.5697    
   4  norm          .66696        1.6019        .63921E-03   -1.5692    
   5  Prefactor     8.0212        12.175        .35365E-03   -1.5651    
   6  norm          9.5389        4.2958        .32422E-03   -1.5646    
   7  norm           .0000        4.6304        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.2597        9.9612        .56282E-03   -1.5672    
   9  Prefactor     .44409E-09    8.6551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .27395E-01    2.4934        .66829E-02   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .67064        .65794        .63154E-03   -1.5692    
  12  norm           .0000        1.8942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.840        12.777        .30397E-03   -1.5642    
  14  Prefactor     47.911        48.391        .14276E-03   -1.5570    
  15  Prefactor     .26645E-08    12.014        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .48850E-08    11.729        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.0484        4.2962        .37751E-03   -1.5655    
  18  Prefactor     65.478        40.642        .12389E-03   -1.5546    
  19  Prefactor     16.897        23.345        .24234E-03   -1.5626    
  20  Prefactor     .28422E-07    5.8900        .53521E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .57222        .17209        .69239E-01   -1.0918    
  22  Prefactor     1.0359        .13069        .40826E-01   -.91543    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.70746e-08
Minuit parameter uncertainties:
  1  9.36722
  2  0.00010767
  3  2.06663
  4  1.60193
  5  12.175
  6  4.29585
  7  5.24722e-06
  8  9.96125
  9  0.000126327
  10  0.522707
  11  0.65794
  12  8.9366e-06
  13  12.7771
  14  48.3911
  15  0.000359355
  16  0.000478316
  17  4.29622
  18  40.6426
  19  23.3447
  20  0.000818178
  21  0.172248
  22  0.130735
Done.

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

Extracting fit parameters...

4FGL J2338.0-0230
   Spectrum: PowerLaw
462    Prefactor:  7.048e+00  4.296e+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.036e+00  1.307e-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:  5.722e-01  1.722e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.63
Ra Dec: 354.509 -2.511
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 7.05e-08 +/- 4.29e-08
Energy Flux (Fixed Index): 2.07e-05 +/- 1.26e-05

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) = 6388.91333548
delta logL = 0.00959210329802

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6388.90887624
delta logL = 0.0140513477372

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.6503       1.0000          .0000       .10000E+07
     2 'Index     '    2.6091       1.0000          .0000       10.000    
     3 'Normalizat'    .56155       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0412       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.

 FCN=   6388.909     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      216 TOTAL
                     EDM=   .92E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.6457        75.730        .38888E-03    .20817E-02
   2  Index         2.6098        6.2873        .13881        .11224E-03
   3  Normalizat    .56175        .11450        .69828E-01    .34514E-04
   4  Prefactor     1.0411        .53836E-01    .40454E-01    .83658E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.64566
  Index      = 2.60981
  Normalizat = 0.561753
  Prefactor  = 1.04113
 **********
 **   18 **HESSE 
 **********

 FCN=   6388.909     FROM HESSE     STATUS=OK            31 CALLS      247 TOTAL
                     EDM=   .98E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.6457        5.1261        .11262E-04   -1.5656    
   2  Index         2.6098        .76742        .75987E-02   -.49842    
   3  Normalizat    .56175        .19569        .30909E-03   -1.0963    
   4  Prefactor     1.0411        .15062        .18645E-03   -.91371    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.82029e-12
Minuit parameter uncertainties:
  1  5.12607
  2  0.771379
  3  0.195928
  4  0.150682
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/412078': 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) = 6388.90887442
delta logL = 0.0140531677807

Extracting fit parameters...

4FGL J2338.0-0230
   Spectrum: PowerLaw
462    Prefactor:  6.646e+00  5.126e+00  0.000e+00  1.000e+06 ( 1.000e-12)
463        Index:  2.610e+00  7.714e-01  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.041e+00  1.507e-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:  5.618e-01  1.959e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.68
Ra Dec: 354.509 -2.511
Photon Index (Free Index): 2.61 +/- 0.77
Photon Flux (Free Index): 7.82e-08 +/- 6.35e-08
Energy Flux (Free Index): 2.03e-05 +/- 1.22e-05

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/412078/cmap_HighResolution_689817601_690076801_4FGL_J2338.0-0230_daily_bin1738.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.05e-08', energy_flux2='2.03e-05', photon_flux_error='4.29e-08', dlogl='1.41e-02', energy_flux='2.07e-05', photon_flux2='7.82e-08', job_status='DONE', time_completed='2022-11-14 01:01:03.402117', photon_index_error2='0.77', photon_index2='2.61', ts='5.63', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='1.22e-05', EG='0.57', time_epoch_completed='1668416463.4', return_code='0', job_id='412078', GAL2='1.04', EG2='0.56', return_code2='0', energy_flux_error='1.26e-05', photon_flux_error2='6.35e-08', ts2='5.68', photon_index='2.49' WHERE bin_id='1738' AND source_name='4FGL J2338.0-0230' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Nov 14 01:01:03 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 412078: <4FGL_J2338.0-0230_daily_bin1738> in cluster <slac> Done

Job <4FGL_J2338.0-0230_daily_bin1738> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Nov 14 00:50:24 2022
Job was executed on host(s) <bullet0110>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Nov 14 00:51:27 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Nov 14 00:51:27 2022
Terminated at Mon Nov 14 01:01:04 2022
Results reported at Mon Nov 14 01:01:04 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2338.0-0230_daily_bin1738 354.509 -2.5106 689817601 690076801 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 :                                   552.37 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             351.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   576 sec.
    Turnaround time :                            640 sec.

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

