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


Performing analysis on: 4FGL_J0217.8+0144_daily_bin1715
RA = 34.4621, Dec = 1.7346
tmin = 683856001, tmax = 684115201
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='2986', job_status='RUN', time_executed='2022-09-16 10:25:26.933508', time_epoch_executed='1663349126.93' WHERE source_name='4FGL J0217.8+0144' and cadence='daily' and bin_id='1715'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/2986

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/2986/ft1_4FGL_J0217.8+0144_daily_bin1715.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/2986/ft2_4FGL_J0217.8+0144_daily_bin1715.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/2986/ft1_4FGL_J0217.8+0144_daily_bin1715.fits outfile=/scratch/kocevski/2986/ft1_filteredMKT_4FGL_J0217.8+0144_daily_bin1715.fits ra=34.4621 dec=1.7346 rad=12.0 tmin=683856001.0 tmax=684115201.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.54
user 3.21
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/2986/ft2_4FGL_J0217.8+0144_daily_bin1715.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/2986/ft2_4FGL_J0217.8+0144_daily_bin1715.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/2986/ft1_filteredMKT_4FGL_J0217.8+0144_daily_bin1715.fits evtable="EVENTS" outfile="/scratch/kocevski/2986/ft1_filtered_4FGL_J0217.8+0144_daily_bin1715.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.53
user 0.35
sys 0.16

Number of photons that the gtmktime cut: 681

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/2986/ft1_filtered_4FGL_J0217.8+0144_daily_bin1715.fits" evtable="EVENTS" scfile=/scratch/kocevski/2986/ft2_4FGL_J0217.8+0144_daily_bin1715.fits sctable="SC_DATA" outfile=/scratch/kocevski/2986/ltcube_683856001_684115201_4FGL_J0217.8+0144_daily_bin1715.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/2986/ft2_4FGL_J0217.8+0144_daily_bin1715.fits
.....................!
real 15.86
user 15.44
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/2986/ft1_filtered_4FGL_J0217.8+0144_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/2986/ft2_4FGL_J0217.8+0144_daily_bin1715.fits sctable="SC_DATA" expcube=/scratch/kocevski/2986/ltcube_683856001_684115201_4FGL_J0217.8+0144_daily_bin1715.fits outfile=/scratch/kocevski/2986/expmap_683856001_684115201_4FGL_J0217.8+0144_daily_bin1715.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/2986/ltcube_683856001_684115201_4FGL_J0217.8+0144_daily_bin1715.fits
.....................!
real 194.04
user 187.60
sys 5.98

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

Setting source of interest to:
4FGL J0217.8+0144 @ 34.4621 1.7346

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/2986/ft1_filtered_4FGL_J0217.8+0144_daily_bin1715.fits scfile=/scratch/kocevski/2986/ft2_4FGL_J0217.8+0144_daily_bin1715.fits outfile=/scratch/kocevski/2986/cmap_683856001_684115201_4FGL_J0217.8+0144_daily_bin1715.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=34.4621 yref=1.7346 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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/2986/ft1_filtered_4FGL_J0217.8+0144_daily_bin1715.fits scfile=/scratch/kocevski/2986/ft2_4FGL_J0217.8+0144_daily_bin1715.fits outfile=/scratch/kocevski/2986/cmap_HighResolution_683856001_684115201_4FGL_J0217.8+0144_daily_bin1715.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=34.4621 yref=1.7346 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.41
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/2986/ft1_filtered_4FGL_J0217.8+0144_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/2986/ft2_4FGL_J0217.8+0144_daily_bin1715.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/2986/Model_4FGL_J0217.8+0144_daily_bin1715.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/2986/ft1_filtered_4FGL_J0217.8+0144_daily_bin1715.fits.....................!
real 85.91
user 83.31
sys 1.43

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/2986/ft1_filtered_4FGL_J0217.8+0144_daily_bin1715.fits', '/scratch/kocevski/2986/ft2_4FGL_J0217.8+0144_daily_bin1715.fits', expMap='/scratch/kocevski/2986/expmap_683856001_684115201_4FGL_J0217.8+0144_daily_bin1715.fits', expCube='/scratch/kocevski/2986/ltcube_683856001_684115201_4FGL_J0217.8+0144_daily_bin1715.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/2986/Model_4FGL_J0217.8+0144_daily_bin1715.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0217.8+0144'

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  1.013e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
243        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
244         beta:  6.385e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
245           Eb:  6.330e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/2986/ft1_filtered_4FGL_J0217.8+0144_daily_bin1715.fits
Spacecraft file(s): /scratch/kocevski/2986/ft2_4FGL_J0217.8+0144_daily_bin1715.fits
Exposure map: /scratch/kocevski/2986/expmap_683856001_684115201_4FGL_J0217.8+0144_daily_bin1715.fits
Exposure cube: /scratch/kocevski/2986/ltcube_683856001_684115201_4FGL_J0217.8+0144_daily_bin1715.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/2986/Model_4FGL_J0217.8+0144_daily_bin1715.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) = 7531.62074942

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.4872       1.0000          .0000       .10000E+07
     2 'norm      '    13.211       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.7058       1.0000          .0000       .10000E+07
     4 'norm      '    17.670       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.2300       1.0000          .0000       .10000E+07
     6 'norm      '    1.5122       1.0000          .0000       .10000E+07
     7 'Prefactor '    23.415       1.0000          .0000       .10000E+07
     8 'Prefactor '    .30103       1.0000          .0000       .10000E+07
     9 'Prefactor '    .49637E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    23.179       1.0000          .0000       .10000E+07
    11 'norm      '    .16309E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    8.9226       1.0000          .0000       .10000E+07
    13 'Prefactor '    .26891E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    16.421       1.0000          .0000       .10000E+07
    15 'norm      '    9.0260       1.0000          .0000       .10000E+07
    16 'norm      '    .18961E-04   1.0000          .0000       .10000E+07
    17 'Normalizat'    .93950       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .94066       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7531.611     FROM MIGRAD    STATUS=CONVERGED    109 CALLS     1268 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4826        3.1212        .63034E-07    .20320E-02
   2  norm          13.212        2.5932       -.10888E-07   -.29880E-01
   3  Prefactor     2.7178        3.7266        .13064E-06    .25977E-02
   4  norm          17.568        6.1089       -.87818E-08   -.97366E-02
   5  Prefactor     4.2352        2.3704       -.12406E-06   -.69567E-02
   6  norm          1.5109        .70366        .28874E-07    .52931E-02
   7  Prefactor     23.554        19.555        .11015E-06   -.90011E-01
   8  Prefactor     .42605E-06    39.460        .44939E-06** at limit **
   9  Prefactor     .14374E-05    10.348       -.12025E-06** at limit **
  10  Prefactor     23.260        6.6717        .57120E-08    .82539E-01
  11  norm          .11102E-09    11.022        .26426E-06** at limit **
  12  Prefactor     8.7326        10.411        .76743E-07    .78082E-01
  13  Prefactor     .13109E-05    10.108        .18398E-10** at limit **
  14  Prefactor     16.517        6.3700        .66365E-09   -.59609E-05
  15  norm          9.0259        8.1232       -.19626E-07    .14398E-02
  16  norm          .55511E-10    2.5584        .15880E-06** at limit **
  17  Normalizat    .94026        .19027       -.29121E-05   -.12201E-03
  18  Prefactor     .94039        .14113        .80002E-06   -.12474E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.48256
  norm       = 13.2115
  Prefactor  = 2.71781
  norm       = 17.5679
  Prefactor  = 4.23521
  norm       = 1.51093
  Prefactor  = 23.5545
  Prefactor  = 4.26048e-07
  Prefactor  = 1.43741e-06
  Prefactor  = 23.2601
  norm       = 1.11022e-10
  Prefactor  = 8.73255
  Prefactor  = 1.3109e-06
  Prefactor  = 16.5167
  norm       = 9.02587
  norm       = 5.55112e-11
  Normalizat = 0.940259
  Prefactor  = 0.940386
 **********
 **   18 **HESSE 
 **********

 FCN=   7531.611     FROM HESSE     STATUS=OK           288 CALLS     1556 TOTAL
                     EDM=   .61E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4826        3.1156        .54122E-03   -1.5671    
   2  norm          13.212        19.367        .27533E-03   -1.5635    
   3  Prefactor     2.7178        3.7493        .61899E-03   -1.5675    
   4  norm          17.568        6.1100        .23799E-03   -1.5624    
   5  Prefactor     4.2352        2.3872        .48970E-03   -1.5667    
   6  norm          1.5109        .70862        .86933E-03   -1.5683    
   7  Prefactor     23.554        24.547        .20671E-03   -1.5611    
   8  Prefactor     .42605E-06    40.092        .10199E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .14374E-05    15.551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     23.260        16.769        .20776E-03   -1.5612    
  11  norm          .11102E-09    10.561        .17293E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.7326        11.402        .33531E-03   -1.5649    
  13  Prefactor     .13109E-05    14.371        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     16.517        6.3781        .24689E-03   -1.5627    
  15  norm          9.0259        8.1130        .33337E-03   -1.5648    
  16  norm          .55511E-10    2.5550        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .94026        .16844        .65022E-01   -.95060    
  18  Prefactor     .94039        .12424        .45521E-01   -.94744    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.06384e-07
Minuit parameter uncertainties:
  1  3.11559
  2  19.3675
  3  3.74934
  4  6.11002
  5  2.38717
  6  0.708616
  7  24.5475
  8  0.008266
  9  0.00945591
  10  16.769
  11  6.5384e-05
  12  11.4019
  13  0.008681
  14  6.37808
  15  8.11304
  16  2.42012e-05
  17  0.168537
  18  0.124277
Done.

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

Extracting fit parameters...

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  1.511e+00  7.086e-01  0.000e+00  1.000e+06 ( 1.000e-11)
243        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
244         beta:  6.385e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
245           Eb:  6.330e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  9.404e-01  1.243e-01  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  9.403e-01  1.685e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.67
Ra Dec: 34.462 1.735
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 6.31e-08 +/- 2.96e-08
Energy Flux (Fixed Index): 2.69e-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) = 7531.11563317
delta logL = 0.495598623485

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7531.11274187
delta logL = 0.498489929203

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5417       1.0000          .0000       .10000E+07
     2 'alpha     '    1.7882       1.0000          .0000       5.0000    
     3 'Normalizat'    .95855       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93196       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7531.113     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      207 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5422        .78323        .85826E-03    .76835E-03
   2  alpha         1.7883        .34433        .27648       -.26972E-04
   3  Normalizat    .95846        .16466        .45645E-01    .17561E-04
   4  Prefactor     .93202        .12215        .45411E-01    .83873E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.54221
  alpha      = 1.78825
  Normalizat = 0.958456
  Prefactor  = 0.932018
 **********
 **   18 **HESSE 
 **********

 FCN=   7531.113     FROM HESSE     STATUS=OK            33 CALLS      240 TOTAL
                     EDM=   .42E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5422        .73956        .49177E-05   -1.5683    
   2  alpha         1.7883        .35399        .11256E-01   -.28869    
   3  Normalizat    .95846        .18512        .28492E-03   -.94435    
   4  Prefactor     .93202        .13723        .21351E-03   -.95031    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.16896e-13
Minuit parameter uncertainties:
  1  0.739564
  2  0.355295
  3  0.185239
  4  0.137279
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/2986': 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) = 7531.11274152
delta logL = 0.498490278246

Extracting fit parameters...

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  1.542e+00  7.396e-01  0.000e+00  1.000e+06 ( 1.000e-11)
243        alpha:  1.788e+00  3.553e-01  0.000e+00  5.000e+00 ( 1.000e+00)
244         beta:  6.385e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
245           Eb:  6.330e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  9.320e-01  1.373e-01  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  9.585e-01  1.852e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.64
Ra Dec: 34.462 1.735
Photon Index (Free Index): 1.79 +/- 0.36
Photon Flux (Free Index): 4.76e-08 +/- 2.72e-08
Energy Flux (Free Index): 4.04e-05 +/- 2.71e-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/2986/cmap_HighResolution_683856001_684115201_4FGL_J0217.8+0144_daily_bin1715.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.31e-08', energy_flux2='4.04e-05', photon_flux_error='2.96e-08', dlogl='4.98e-01', energy_flux='2.69e-05', photon_flux2='4.76e-08', job_status='DONE', time_completed='2022-09-16 10:34:34.513571', photon_index_error2='0.36', photon_index2='1.79', ts='11.67', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='2.71e-05', EG='0.94', time_epoch_completed='1663349674.51', return_code='0', job_id='2986', GAL2='0.93', EG2='0.96', return_code2='0', energy_flux_error='1.26e-05', photon_flux_error2='2.72e-08', ts2='12.64', photon_index='2.16' WHERE bin_id='1715' AND source_name='4FGL J0217.8+0144' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 10:34:34 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0117>
Subject: Job 2986: <4FGL_J0217.8+0144_daily_bin1715> in cluster <slac> Done

Job <4FGL_J0217.8+0144_daily_bin1715> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 10:21:27 2022
Job was executed on host(s) <bullet0117>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 10:24:43 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 10:24:43 2022
Terminated at Fri Sep 16 10:34:35 2022
Results reported at Fri Sep 16 10:34:35 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0217.8+0144_daily_bin1715 34.4621 1.7346 683856001 684115201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0217.8+0144 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   548.66 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             341.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   592 sec.
    Turnaround time :                            788 sec.

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

