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


Performing analysis on: 4FGL_J2317.7+2839_daily_bin1664
RA = 349.438, Dec = 28.6589
tmin = 670636801, tmax = 670896001
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='316840', job_status='RUN', time_executed='2022-04-06 00:37:07.660191', time_epoch_executed='1649230627.66' WHERE source_name='4FGL J2317.7+2839' and cadence='daily' and bin_id='1664'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/316840

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/316840/ft1_4FGL_J2317.7+2839_daily_bin1664.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/316840/ft2_4FGL_J2317.7+2839_daily_bin1664.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/316840/ft1_4FGL_J2317.7+2839_daily_bin1664.fits outfile=/scratch/kocevski/316840/ft1_filteredMKT_4FGL_J2317.7+2839_daily_bin1664.fits ra=349.438 dec=28.6589 rad=12.0 tmin=670636801.0 tmax=670896001.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 5.41
user 5.12
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/316840/ft2_4FGL_J2317.7+2839_daily_bin1664.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/316840/ft2_4FGL_J2317.7+2839_daily_bin1664.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/316840/ft1_filteredMKT_4FGL_J2317.7+2839_daily_bin1664.fits evtable="EVENTS" outfile="/scratch/kocevski/316840/ft1_filtered_4FGL_J2317.7+2839_daily_bin1664.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.32
sys 0.16

Number of photons that the gtmktime cut: 725

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/316840/ft1_filtered_4FGL_J2317.7+2839_daily_bin1664.fits" evtable="EVENTS" scfile=/scratch/kocevski/316840/ft2_4FGL_J2317.7+2839_daily_bin1664.fits sctable="SC_DATA" outfile=/scratch/kocevski/316840/ltcube_670636801_670896001_4FGL_J2317.7+2839_daily_bin1664.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/316840/ft2_4FGL_J2317.7+2839_daily_bin1664.fits
.....................!
real 11.52
user 11.18
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/316840/ft1_filtered_4FGL_J2317.7+2839_daily_bin1664.fits evtable="EVENTS" scfile=/scratch/kocevski/316840/ft2_4FGL_J2317.7+2839_daily_bin1664.fits sctable="SC_DATA" expcube=/scratch/kocevski/316840/ltcube_670636801_670896001_4FGL_J2317.7+2839_daily_bin1664.fits outfile=/scratch/kocevski/316840/expmap_670636801_670896001_4FGL_J2317.7+2839_daily_bin1664.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/316840/ltcube_670636801_670896001_4FGL_J2317.7+2839_daily_bin1664.fits
.....................!
real 191.38
user 186.77
sys 4.25

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

Setting source of interest to:
4FGL J2317.7+2839 @ 349.438 28.6589

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/316840/ft1_filtered_4FGL_J2317.7+2839_daily_bin1664.fits scfile=/scratch/kocevski/316840/ft2_4FGL_J2317.7+2839_daily_bin1664.fits outfile=/scratch/kocevski/316840/cmap_670636801_670896001_4FGL_J2317.7+2839_daily_bin1664.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.438 yref=28.6589 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/316840/ft1_filtered_4FGL_J2317.7+2839_daily_bin1664.fits scfile=/scratch/kocevski/316840/ft2_4FGL_J2317.7+2839_daily_bin1664.fits outfile=/scratch/kocevski/316840/cmap_HighResolution_670636801_670896001_4FGL_J2317.7+2839_daily_bin1664.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.438 yref=28.6589 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/316840/ft1_filtered_4FGL_J2317.7+2839_daily_bin1664.fits evtable="EVENTS" scfile=/scratch/kocevski/316840/ft2_4FGL_J2317.7+2839_daily_bin1664.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/316840/Model_4FGL_J2317.7+2839_daily_bin1664.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/316840/ft1_filtered_4FGL_J2317.7+2839_daily_bin1664.fits.....................!
real 89.49
user 88.12
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/316840/ft1_filtered_4FGL_J2317.7+2839_daily_bin1664.fits', '/scratch/kocevski/316840/ft2_4FGL_J2317.7+2839_daily_bin1664.fits', expMap='/scratch/kocevski/316840/expmap_670636801_670896001_4FGL_J2317.7+2839_daily_bin1664.fits', expCube='/scratch/kocevski/316840/ltcube_670636801_670896001_4FGL_J2317.7+2839_daily_bin1664.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/316840/Model_4FGL_J2317.7+2839_daily_bin1664.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2317.7+2839'

4FGL J2317.7+2839
   Spectrum: PowerLaw
412    Prefactor:  2.207e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
413        Index:  2.003e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
414        Scale:  3.565e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/316840/ft1_filtered_4FGL_J2317.7+2839_daily_bin1664.fits
Spacecraft file(s): /scratch/kocevski/316840/ft2_4FGL_J2317.7+2839_daily_bin1664.fits
Exposure map: /scratch/kocevski/316840/expmap_670636801_670896001_4FGL_J2317.7+2839_daily_bin1664.fits
Exposure cube: /scratch/kocevski/316840/ltcube_670636801_670896001_4FGL_J2317.7+2839_daily_bin1664.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/316840/Model_4FGL_J2317.7+2839_daily_bin1664.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) = 8034.79807513

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4230       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.0480       1.0000         .10000E-03   10000.    
     3 'norm      '    .99174       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    24.603       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .67336E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    23.972       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .69295       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    60.764       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.2612       1.0000         .10000E-03   10000.    
    13 'norm      '    .77297       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2375       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .96563       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5440E+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=   8034.796     FROM MIGRAD    STATUS=CONVERGED    724 CALLS     2366 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4231        1.1438        .63444E-04    .33330E-04
   2  Prefactor     5.0482        11.154        .17897E-03   -.59077E-05
   3  norm          .99096        1.1718        .12490E-02    .94330E-03
   4  Prefactor     .10000E-03    8.0314        .18142E-02** at limit **
   5  Prefactor     24.602        27.058        .80759E-04   -.18441E-04
   6  Prefactor     .10005E-03    30.495        .44111E-02** at limit **
   7  Prefactor     23.972        18.818        .81813E-04   -.32377E-04
   8  norm          .10000E-03    .76671        .15020E-03** at limit **
   9  Prefactor     .63486        174.64        .72638E-02    .46706E-04
  10  Prefactor     .10000E-03    12.190        .18142E-02** at limit **
  11  Prefactor     60.764        36.887        .51473E-04   -.94576E-04
  12  Prefactor     8.2622        8.0590        .69741E-03   -.31665E-03
  13  norm          .76633        11.247        .29597E-02   -.41984E-03
  14  Prefactor     .10000E-03    33.625        .18142E-02** at limit **
  15  norm          .10000E-03    .82273        .79096E-03** at limit **
  16  Prefactor     .10000E-03    6.5283        .18142E-02** at limit **
  17  Prefactor     .10000E-03    7.2380        .18142E-02** at limit **
  18  Prefactor     .10000E-03    21.896        .18142E-02** at limit **
  19  Normalizat    1.2375        .25824        .34166E-03   -.93968E-04
  20  Prefactor     .96560        .12887        .19002E-03   -.14307E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.42305
  Prefactor  = 5.04824
  norm       = 0.990957
  Prefactor  = 0.0001
  Prefactor  = 24.6021
  Prefactor  = 0.00010005
  Prefactor  = 23.9717
  norm       = 0.0001
  Prefactor  = 0.634858
  Prefactor  = 0.0001
  Prefactor  = 60.7641
  Prefactor  = 8.26218
  norm       = 0.766332
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.23752
  Prefactor  = 0.965595
 **********
 **   18 **HESSE 
 **********

 FCN=   8034.796     FROM HESSE     STATUS=OK           275 CALLS     2641 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4231        1.1437        .25378E-05   -1.5397    
   2  Prefactor     5.0482        11.153        .71587E-05   -1.5259    
   3  norm          .99096        1.1716        .49959E-04   -1.5509    
   4  Prefactor     .10000E-03    8.0350        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     24.602        27.059        .32304E-05   -1.4716    
   6  Prefactor     .10005E-03    30.810        .88222E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     23.972        18.816        .32725E-05   -1.4728    
   8  norm          .10000E-03    .76672        .30040E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .63486        177.87        .29055E-03   -1.5549    
  10  Prefactor     .10000E-03    12.196        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     60.764        36.746        .10295E-04   -1.4147    
  12  Prefactor     8.2622        8.0571        .27896E-04   -1.5133    
  13  norm          .76633        11.186        .11839E-03   -1.5533    
  14  Prefactor     .10000E-03    33.634        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    .82278        .15819E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.5285        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    7.2383        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    21.897        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.2375        .25796        .13666E-04   -.85451    
  20  Prefactor     .96560        .12895        .38003E-04   -.93885    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.97477e-09
Minuit parameter uncertainties:
  1  1.14369
  2  11.1574
  3  1.17159
  4  9.44627e-06
  5  27.0725
  6  0.00249417
  7  18.821
  8  1.18605e-06
  9  21.3155
  10  2.57157e-05
  11  36.7592
  12  8.0582
  13  5.85651
  14  0.000214574
  15  2.6117e-08
  16  3.26665e-06
  17  8.27977e-06
  18  0.000144297
  19  0.258231
  20  0.128988
Done.

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

Extracting fit parameters...

4FGL J2317.7+2839
   Spectrum: PowerLaw
412    Prefactor:  6.076e+01  3.676e+01  1.000e-04  1.000e+04 ( 1.000e-14)
413        Index:  2.003e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
414        Scale:  3.565e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
541    Prefactor:  9.656e-01  1.290e-01  0.000e+00  1.000e+01 ( 1.000e+00)
542        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
543        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
540   Normalization:  1.238e+00  2.582e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.45
Ra Dec: 349.438 28.659
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 7.78e-08 +/- 4.70e-08
Energy Flux (Fixed Index): 5.34e-05 +/- 3.23e-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) = 8033.91953673
delta logL = 0.876556139437

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8033.90622978
delta logL = 0.889863087608

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.585       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5707       1.0000          .0000       10.000    
     3 'Normalizat'    1.1694       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98335       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5440E+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=   8033.906     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      286 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.580        37.750        .84285E-04   -.11402E-02
   2  Index         2.5708        .64132        .29888E-02   -.75489E-03
   3  Normalizat    1.1695        .26475        .34978E-03   -.58674E-03
   4  Prefactor     .98333        .12970        .18835E-03   -.13867E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.5801
  Index      = 2.57077
  Normalizat = 1.16946
  Prefactor  = 0.983335
 **********
 **   18 **HESSE 
 **********

 FCN=   8033.906     FROM HESSE     STATUS=OK            25 CALLS      311 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.580        26.917        .16857E-04   -1.4757    
   2  Index         2.5708        .45734        .11955E-03   -.50733    
   3  Normalizat    1.1695        .26113        .69957E-04   -.87552    
   4  Prefactor     .98333        .12849        .37669E-04   -.93287    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.86525e-09
Minuit parameter uncertainties:
  1  26.9319
  2  0.458175
  3  0.261425
  4  0.128534
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/316840': 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) = 8033.90622976
delta logL = 0.889863116618

Extracting fit parameters...

4FGL J2317.7+2839
   Spectrum: PowerLaw
412    Prefactor:  2.258e+01  2.693e+01  1.000e-04  1.000e+04 ( 1.000e-14)
413        Index:  2.571e+00  4.582e-01  0.000e+00  1.000e+01 (-1.000e+00)
414        Scale:  3.565e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
541    Prefactor:  9.833e-01  1.285e-01  0.000e+00  1.000e+01 ( 1.000e+00)
542        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
543        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
540   Normalization:  1.169e+00  2.614e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.47
Ra Dec: 349.438 28.659
Photon Index (Free Index): 2.57 +/- 0.46
Photon Flux (Free Index): 1.41e-07 +/- 7.59e-08
Energy Flux (Free Index): 3.79e-05 +/- 1.96e-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/316840/cmap_HighResolution_670636801_670896001_4FGL_J2317.7+2839_daily_bin1664.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.78e-08', energy_flux2='3.79e-05', photon_flux_error='4.70e-08', dlogl='8.90e-01', energy_flux='5.34e-05', photon_flux2='1.41e-07', job_status='DONE', time_completed='2022-04-06 00:47:59.188368', photon_index_error2='0.46', photon_index2='2.57', ts='6.45', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='1.96e-05', EG='1.24', time_epoch_completed='1649231279.19', return_code='0', job_id='316840', GAL2='0.98', EG2='1.17', return_code2='0', energy_flux_error='3.23e-05', photon_flux_error2='7.59e-08', ts2='8.47', photon_index='2.00' WHERE bin_id='1664' AND source_name='4FGL J2317.7+2839' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Apr  6 00:47:59 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0163>
Subject: Job 316840: <4FGL_J2317.7+2839_daily_bin1664> in cluster <slac> Done

Job <4FGL_J2317.7+2839_daily_bin1664> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Apr  6 00:35:54 2022
Job was executed on host(s) <bullet0163>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Apr  6 00:35:57 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Apr  6 00:35:57 2022
Terminated at Wed Apr  6 00:47:59 2022
Results reported at Wed Apr  6 00:47:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2317.7+2839_daily_bin1664 349.438 28.6589 670636801 670896001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2317.7+2839 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   654.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             362.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   722 sec.
    Turnaround time :                            725 sec.

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

