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 23 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_J2318.2+1915_daily_bin1696
RA = 349.557, Dec = 19.256
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='794149', job_status='RUN', time_executed='2022-07-11 00:36:00.768672', time_epoch_executed='1657524960.77' WHERE source_name='4FGL J2318.2+1915' and cadence='daily' and bin_id='1696'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/794149

Creating custom pfile directory:
/scratch/kocevski/794149/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/794149/ft1_4FGL_J2318.2+1915_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/794149/ft2_4FGL_J2318.2+1915_daily_bin1696.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/794149/ft1_4FGL_J2318.2+1915_daily_bin1696.fits outfile=/scratch/kocevski/794149/ft1_filteredMKT_4FGL_J2318.2+1915_daily_bin1696.fits ra=349.557 dec=19.256 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.55
user 3.33
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/794149/ft2_4FGL_J2318.2+1915_daily_bin1696.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/794149/ft2_4FGL_J2318.2+1915_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/794149/ft1_filteredMKT_4FGL_J2318.2+1915_daily_bin1696.fits evtable="EVENTS" outfile="/scratch/kocevski/794149/ft1_filtered_4FGL_J2318.2+1915_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.30
sys 0.18

Number of photons that the gtmktime cut: 816

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/794149/ft1_filtered_4FGL_J2318.2+1915_daily_bin1696.fits" evtable="EVENTS" scfile=/scratch/kocevski/794149/ft2_4FGL_J2318.2+1915_daily_bin1696.fits sctable="SC_DATA" outfile=/scratch/kocevski/794149/ltcube_678931201_679190401_4FGL_J2318.2+1915_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/794149/ft2_4FGL_J2318.2+1915_daily_bin1696.fits
.....................!
real 11.90
user 11.51
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/794149/ft1_filtered_4FGL_J2318.2+1915_daily_bin1696.fits evtable="EVENTS" scfile=/scratch/kocevski/794149/ft2_4FGL_J2318.2+1915_daily_bin1696.fits sctable="SC_DATA" expcube=/scratch/kocevski/794149/ltcube_678931201_679190401_4FGL_J2318.2+1915_daily_bin1696.fits outfile=/scratch/kocevski/794149/expmap_678931201_679190401_4FGL_J2318.2+1915_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/794149/ltcube_678931201_679190401_4FGL_J2318.2+1915_daily_bin1696.fits
.....................!
real 193.02
user 186.76
sys 5.93

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

Setting source of interest to:
4FGL J2318.2+1915 @ 349.557 19.256

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/794149/ft1_filtered_4FGL_J2318.2+1915_daily_bin1696.fits scfile=/scratch/kocevski/794149/ft2_4FGL_J2318.2+1915_daily_bin1696.fits outfile=/scratch/kocevski/794149/cmap_678931201_679190401_4FGL_J2318.2+1915_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=349.557 yref=19.256 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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/794149/ft1_filtered_4FGL_J2318.2+1915_daily_bin1696.fits scfile=/scratch/kocevski/794149/ft2_4FGL_J2318.2+1915_daily_bin1696.fits outfile=/scratch/kocevski/794149/cmap_HighResolution_678931201_679190401_4FGL_J2318.2+1915_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=349.557 yref=19.256 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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/794149/ft1_filtered_4FGL_J2318.2+1915_daily_bin1696.fits evtable="EVENTS" scfile=/scratch/kocevski/794149/ft2_4FGL_J2318.2+1915_daily_bin1696.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/794149/Model_4FGL_J2318.2+1915_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/794149/ft1_filtered_4FGL_J2318.2+1915_daily_bin1696.fits.....................!
real 92.87
user 91.51
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/794149/ft1_filtered_4FGL_J2318.2+1915_daily_bin1696.fits', '/scratch/kocevski/794149/ft2_4FGL_J2318.2+1915_daily_bin1696.fits', expMap='/scratch/kocevski/794149/expmap_678931201_679190401_4FGL_J2318.2+1915_daily_bin1696.fits', expCube='/scratch/kocevski/794149/ltcube_678931201_679190401_4FGL_J2318.2+1915_daily_bin1696.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/794149/Model_4FGL_J2318.2+1915_daily_bin1696.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2318.2+1915'

4FGL J2318.2+1915
   Spectrum: PowerLaw
372    Prefactor:  2.396e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
373        Index:  2.667e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
374        Scale:  6.043e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/794149/ft1_filtered_4FGL_J2318.2+1915_daily_bin1696.fits
Spacecraft file(s): /scratch/kocevski/794149/ft2_4FGL_J2318.2+1915_daily_bin1696.fits
Exposure map: /scratch/kocevski/794149/expmap_678931201_679190401_4FGL_J2318.2+1915_daily_bin1696.fits
Exposure cube: /scratch/kocevski/794149/ltcube_678931201_679190401_4FGL_J2318.2+1915_daily_bin1696.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/794149/Model_4FGL_J2318.2+1915_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) = 8670.11006987

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0013       1.0000         .10000E-03   10000.    
     2 'norm      '    .50449       1.0000         .10000E-03   10000.    
     3 'Prefactor '    19.881       1.0000         .10000E-03   10000.    
     4 'Prefactor '    58.099       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .99803       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.6014       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.6435       1.0000         .10000E-03   10000.    
    10 'Prefactor '    49.082       1.0000         .10000E-03   10000.    
    11 'Prefactor '    19.717       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.2464       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .50254       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    15.424       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.4206       1.0000         .10000E-03   10000.    
    17 'norm      '    15.458       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .19100       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .53960       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1591       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8670.106     FROM MIGRAD    STATUS=CONVERGED    415 CALLS     2091 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0006        2.0875        .10678E-05    .48052E-03
   2  norm          .50458        .95970        .31635E-06    .15804E-02
   3  Prefactor     19.825        41.727       -.23007E-05   -.74237E-04
   4  Prefactor     58.097        14.936        .39587E-07   -.25007E-04
   5  Prefactor     .10000E-03    9.3357       -.27540E-06** at limit **
   6  Prefactor     .99789        .20190        .85294E-07    .19443E-02
   7  Prefactor     3.6012        4.2881        .25586E-08   -.20867E-04
   8  Prefactor     .10000E-03    1.6743        .87993E-07** at limit **
   9  Prefactor     4.6364        10.898        .69003E-06    .61627E-04
  10  Prefactor     49.076        23.969        .30647E-06   -.13405E-04
  11  Prefactor     19.709        27.576        .43851E-06   -.56086E-05
  12  Prefactor     4.2453        6.2635        .79004E-06    .10218E-03
  13  Prefactor     .47602        7.1846       -.23214E-05    .70100E-03
  14  Prefactor     .10000E-03    3.8611        .58969E-07** at limit **
  15  norm          15.442        10.686       -.35668E-07    .33582E-03
  16  Prefactor     2.4082        7.6013        .12387E-05    .21844E-03
  17  norm          15.458        14.480        .16806E-06    .14328E-04
  18  Prefactor     .19936        3.7816       -.49276E-06    .33949E-03
  19  Normalizat    .53979        .21507       -.47951E-05   -.29980E-04
  20  Prefactor     1.1590        .12469        .91695E-06   -.85537E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.00057
  norm       = 0.504581
  Prefactor  = 19.8249
  Prefactor  = 58.0967
  Prefactor  = 0.0001
  Prefactor  = 0.997888
  Prefactor  = 3.60118
  Prefactor  = 0.0001
  Prefactor  = 4.63636
  Prefactor  = 49.076
  Prefactor  = 19.7091
  Prefactor  = 4.24528
  Prefactor  = 0.476021
  Prefactor  = 0.0001
  norm       = 15.4423
  Prefactor  = 2.40825
  norm       = 15.4578
  Prefactor  = 0.199356
  Normalizat = 0.539795
  Prefactor  = 1.15905
 **********
 **   18 **HESSE 
 **********

 FCN=   8670.106     FROM HESSE     STATUS=OK           309 CALLS     2400 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0006        2.0684        .18654E-03   -1.5508    
   2  norm          .50458        .74959        .13049E-02   -1.5566    
   3  Prefactor     19.825        42.088        .89828E-04   -1.4817    
   4  Prefactor     58.097        14.824        .52633E-04   -1.4182    
   5  Prefactor     .10000E-03    9.3470        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .99789        .20165        .16539E-04   -1.5508    
   7  Prefactor     3.6012        4.2856        .20494E-03   -1.5328    
   8  Prefactor     .10000E-03    1.6765        .11764E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.6364        10.910        .18677E-03   -1.5277    
  10  Prefactor     49.076        23.967        .57239E-04   -1.4306    
  11  Prefactor     19.709        27.643        .90200E-04   -1.4820    
  12  Prefactor     4.2453        6.2594        .19553E-03   -1.5296    
  13  Prefactor     .47602        22.326        .41199E-02   -1.5570    
  14  Prefactor     .10000E-03    3.8628        .17867E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          15.442        10.322        .10198E-03   -1.4922    
  16  Prefactor     2.4082        7.4459        .26308E-03   -1.5398    
  17  norm          15.458        14.475        .10187E-03   -1.4921    
  18  Prefactor     .19936        22.839        .34065E-02   -1.5619    
  19  Normalizat    .53979        .22420        .42660E-03   -1.1060    
  20  Prefactor     1.1590        .13374        .18402E-03   -.87601    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.30744e-09
Minuit parameter uncertainties:
  1  2.06858
  2  0.749609
  3  42.1514
  4  14.8254
  5  1.14794e-05
  6  0.201655
  7  4.28596
  8  1.45673e-06
  9  10.9147
  10  23.9713
  11  27.6609
  12  6.2604
  13  6.52188
  14  2.60622e-06
  15  10.3237
  16  7.44873
  17  14.4786
  18  4.26817
  19  0.224578
  20  0.133779
Done.

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

Extracting fit parameters...

4FGL J2318.2+1915
   Spectrum: PowerLaw
372    Prefactor:  4.245e+00  6.260e+00  1.000e-04  1.000e+04 ( 1.000e-12)
373        Index:  2.667e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
374        Scale:  6.043e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
511    Prefactor:  1.159e+00  1.338e-01  0.000e+00  1.000e+01 ( 1.000e+00)
512        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
513        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
510   Normalization:  5.398e-01  2.246e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.56
Ra Dec: 349.557 19.256
Photon Flux Upper Limit: 1.25e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.85e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/794149/likelihoodResults_678931201_679190401_4FGL_J2318.2+1915_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) = 8670.07283543
delta logL = 0.0329412888914

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8670.05734189
delta logL = 0.0484348320988

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.0531       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0640       1.0000          .0000       10.000    
     3 'Normalizat'    .52937       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1640       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8670.057     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      215 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0515        110.41        .58047E-02    .97106E-03
   2  Index         3.0642        6.5306        .21964        .96902E-04
   3  Normalizat    .52933        .49237E-01    .97158E-01    .55655E-04
   4  Prefactor     1.1639        .30507E-01    .35545E-01   -.16484E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.05151
  Index      = 3.06416
  Normalizat = 0.529333
  Prefactor  = 1.16394
 **********
 **   18 **HESSE 
 **********

 FCN=   8670.057     FROM HESSE     STATUS=OK            33 CALLS      248 TOTAL
                     EDM=   .32E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0515        9.7750        .20699E-03   -1.5359    
   2  Index         3.0642        2.0641        .11864E-01   -.39756    
   3  Normalizat    .52933        .21899        .43059E-03   -1.1107    
   4  Prefactor     1.1639        .13427        .18368E-03   -.87448    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.19791e-08
Minuit parameter uncertainties:
  1  9.78012
  2  2.14011
  3  0.219343
  4  0.134312
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/794149': 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) = 8670.05734175
delta logL = 0.0484349733088

Extracting fit parameters...

4FGL J2318.2+1915
   Spectrum: PowerLaw
372    Prefactor:  3.052e+00  9.780e+00  1.000e-04  1.000e+04 ( 1.000e-12)
373        Index:  3.064e+00  2.140e+00  0.000e+00  1.000e+01 (-1.000e+00)
374        Scale:  6.043e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
511    Prefactor:  1.164e+00  1.343e-01  0.000e+00  1.000e+01 ( 1.000e+00)
512        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
513        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
510   Normalization:  5.293e-01  2.193e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.56
Ra Dec: 349.557 19.256

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/794149/cmap_HighResolution_678931201_679190401_4FGL_J2318.2+1915_daily_bin1696.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.85e-03', job_status='DONE', photon_flux_upper_limit='1.25e-07', time_completed='2022-07-11 00:47:39.533708', job_id='794149', GAL2='1.16', fit_tolerance='1e-08', EG2='0.53', EG='0.54', time_epoch_completed='1657525659.53', return_code2='0', ts='0.56', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='4.84e-02', ts2='0.66', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='1696' AND source_name='4FGL J2318.2+1915' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 11 00:47:39 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 794149: <4FGL_J2318.2+1915_daily_bin1696> in cluster <slac> Done

Job <4FGL_J2318.2+1915_daily_bin1696> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Mon Jul 11 00:35:28 2022
Job was executed on host(s) <bullet0079>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jul 11 00:35:29 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:35:29 2022
Terminated at Mon Jul 11 00:47:40 2022
Results reported at Mon Jul 11 00:47:40 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2318.2+1915_daily_bin1696 349.557 19.256 678931201 679190401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2318.2+1915 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   701.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             306.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   730 sec.
    Turnaround time :                            732 sec.

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

