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 69 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.2+0837_daily_bin1715
RA = 34.3163, Dec = 8.6234
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='2953', job_status='RUN', time_executed='2022-09-16 10:25:32.477287', time_epoch_executed='1663349132.48' WHERE source_name='4FGL J0217.2+0837' and cadence='daily' and bin_id='1715'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/2953

Creating custom pfile directory:
/scratch/kocevski/2953/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/2953/ft1_4FGL_J0217.2+0837_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/2953/ft2_4FGL_J0217.2+0837_daily_bin1715.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/2953/ft1_4FGL_J0217.2+0837_daily_bin1715.fits outfile=/scratch/kocevski/2953/ft1_filteredMKT_4FGL_J0217.2+0837_daily_bin1715.fits ra=34.3163 dec=8.6234 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 2.79
user 2.56
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/2953/ft2_4FGL_J0217.2+0837_daily_bin1715.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/2953/ft2_4FGL_J0217.2+0837_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/2953/ft1_filteredMKT_4FGL_J0217.2+0837_daily_bin1715.fits evtable="EVENTS" outfile="/scratch/kocevski/2953/ft1_filtered_4FGL_J0217.2+0837_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.45
user 0.28
sys 0.16

Number of photons that the gtmktime cut: 808

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/2953/ft1_filtered_4FGL_J0217.2+0837_daily_bin1715.fits" evtable="EVENTS" scfile=/scratch/kocevski/2953/ft2_4FGL_J0217.2+0837_daily_bin1715.fits sctable="SC_DATA" outfile=/scratch/kocevski/2953/ltcube_683856001_684115201_4FGL_J0217.2+0837_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/2953/ft2_4FGL_J0217.2+0837_daily_bin1715.fits
.....................!
real 16.36
user 15.97
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/2953/ft1_filtered_4FGL_J0217.2+0837_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/2953/ft2_4FGL_J0217.2+0837_daily_bin1715.fits sctable="SC_DATA" expcube=/scratch/kocevski/2953/ltcube_683856001_684115201_4FGL_J0217.2+0837_daily_bin1715.fits outfile=/scratch/kocevski/2953/expmap_683856001_684115201_4FGL_J0217.2+0837_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/2953/ltcube_683856001_684115201_4FGL_J0217.2+0837_daily_bin1715.fits
.....................!
real 158.42
user 153.28
sys 4.84

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

Setting source of interest to:
4FGL J0217.2+0837 @ 34.3163 8.6234

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/2953/ft1_filtered_4FGL_J0217.2+0837_daily_bin1715.fits scfile=/scratch/kocevski/2953/ft2_4FGL_J0217.2+0837_daily_bin1715.fits outfile=/scratch/kocevski/2953/cmap_683856001_684115201_4FGL_J0217.2+0837_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.3163 yref=8.6234 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.48
user 0.32
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/2953/ft1_filtered_4FGL_J0217.2+0837_daily_bin1715.fits scfile=/scratch/kocevski/2953/ft2_4FGL_J0217.2+0837_daily_bin1715.fits outfile=/scratch/kocevski/2953/cmap_HighResolution_683856001_684115201_4FGL_J0217.2+0837_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.3163 yref=8.6234 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.49
user 0.32
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/2953/ft1_filtered_4FGL_J0217.2+0837_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/2953/ft2_4FGL_J0217.2+0837_daily_bin1715.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/2953/Model_4FGL_J0217.2+0837_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/2953/ft1_filtered_4FGL_J0217.2+0837_daily_bin1715.fits.....................!
real 85.21
user 83.81
sys 1.12

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

Using source of interest name: '4FGL J0217.2+0837'

4FGL J0217.2+0837
   Spectrum: PowerLaw
251    Prefactor:  1.926e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
252        Index:  2.269e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
253        Scale:  1.029e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.2833       1.0000          .0000       .10000E+07
     2 'norm      '    10.771       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.4404       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.6477       1.0000          .0000       .10000E+07
     5 'norm      '    16.709       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.9367       1.0000          .0000       .10000E+07
     7 'norm      '    1.4508       1.0000          .0000       .10000E+07
     8 'Prefactor '    19.098       1.0000          .0000       .10000E+07
     9 'Prefactor '    22.716       1.0000          .0000       .10000E+07
    10 'Prefactor '    .11803       1.0000          .0000       .10000E+07
    11 'Prefactor '    .20773E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .64447E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .31613E-02   1.0000          .0000       .10000E+07
    14 'norm      '    1.5916       1.0000          .0000       .10000E+07
    15 'Prefactor '    .53055       1.0000          .0000       .10000E+07
    16 'Prefactor '    20.462       1.0000          .0000       .10000E+07
    17 'norm      '    .40383E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    4.4059       1.0000          .0000       .10000E+07
    19 'Prefactor '    .21437       1.0000          .0000       .10000E+07
    20 'Prefactor '    .54496E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    13.956       1.0000          .0000       .10000E+07
    22 'norm      '    8.1032       1.0000          .0000       .10000E+07
    23 'norm      '    .14899E-05   1.0000          .0000       .10000E+07
    24 'Normalizat'    .89741       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0573       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8915.217     FROM MIGRAD    STATUS=CONVERGED    133 CALLS     2083 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.2824        2.9874        .47541E-06    .15561E-02
   2  norm          10.729        3.9363        .78360E-06   -.15149E-01
   3  Prefactor     2.4427        3.5767        .39467E-06    .18286E-02
   4  Prefactor     1.6490        2.7201        .12328E-06   -.12503E-02
   5  norm          16.686        5.9860        .14188E-07    .39192E-03
   6  Prefactor     3.9418        2.2780       -.75073E-06   -.29341E-02
   7  norm          1.4499        .69852        .34754E-07    .38356E-02
   8  Prefactor     19.178        2.6552       -.27847E-06    .40108E-01
   9  Prefactor     22.876        3.9050        .30739E-06   -.69597E-01
  10  Prefactor     .88818E-09    34.015       -.16141E-05** at limit **
  11  Prefactor     .31020E-06    14.299        .24753E-05** at limit **
  12  Prefactor     .52458E-07    7.0378       -.45552E-05** at limit **
  13  Prefactor     .15349E-06    6.2829       -.12890E-05** at limit **
  14  norm          1.5923        .58325       -.77993E-07   -.56012E-02
  15  Prefactor     .99920E-09    125.90       -.35002E-05** at limit **
  16  Prefactor     20.447        1.0827        .46173E-07   -.10809E-01
  17  norm          .48406E-07    8.6201       -.17433E-05** at limit **
  18  Prefactor     4.4419        2.6010       -.74600E-06   -.63178E-02
  19  Prefactor     .16481E-04    7.6818       -.33039E-05** at limit **
  20  Prefactor     .46335E-06    5.6391       -.31332E-05** at limit **
  21  Prefactor     13.974        5.8923       -.10422E-06    .74096E-03
  22  norm          8.2372        7.8667        .71774E-07    .70645E-03
  23  norm          .55511E-10    2.4148        .33098E-06** at limit **
  24  Normalizat    .89752        .19198        .61543E-05   -.33480E-04
  25  Prefactor     1.0573        .11317        .19615E-04   -.92256E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.28236
  norm       = 10.7285
  Prefactor  = 2.44268
  Prefactor  = 1.64896
  norm       = 16.6856
  Prefactor  = 3.94185
  norm       = 1.44989
  Prefactor  = 19.1778
  Prefactor  = 22.8761
  Prefactor  = 8.88178e-10
  Prefactor  = 3.10196e-07
  Prefactor  = 5.2458e-08
  Prefactor  = 1.53488e-07
  norm       = 1.59233
  Prefactor  = 9.99201e-10
  Prefactor  = 20.4466
  norm       = 4.84057e-08
  Prefactor  = 4.44192
  Prefactor  = 1.64807e-05
  Prefactor  = 4.63352e-07
  Prefactor  = 13.9737
  norm       = 8.23721
  norm       = 5.55112e-11
  Normalizat = 0.897519
  Prefactor  = 1.05732
 **********
 **   18 **HESSE 
 **********

 FCN=   8915.217     FROM HESSE     STATUS=OK           481 CALLS     2564 TOTAL
                     EDM=   .78E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.2824        2.9817        .55855E-03   -1.5672    
   2  norm          10.729        19.457        .30503E-03   -1.5642    
   3  Prefactor     2.4427        3.6119        .65466E-03   -1.5677    
   4  Prefactor     1.6490        2.7457        .82236E-03   -1.5682    
   5  norm          16.686        5.9959        .24475E-03   -1.5626    
   6  Prefactor     3.9418        2.3136        .50819E-03   -1.5668    
   7  norm          1.4499        .70312        .89408E-03   -1.5684    
   8  Prefactor     19.178        23.691        .22891E-03   -1.5620    
   9  Prefactor     22.876        36.997        .20987E-03   -1.5612    
  10  Prefactor     .88818E-09    33.975        .13468E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .31020E-06    16.473        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .52458E-07    12.314        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .15349E-06    6.6899        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.5923        .63139        .84069E-03   -1.5683    
  15  Prefactor     .99920E-09    127.11        .75694E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     20.447        16.538        .22114E-03   -1.5618    
  17  norm          .48406E-07    8.7953        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.4419        17.903        .47955E-03   -1.5666    
  19  Prefactor     .16481E-04    48.188        .11525E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .46335E-06    12.736        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     13.974        5.9096        .26785E-03   -1.5633    
  22  norm          8.2372        7.8698        .35197E-03   -1.5651    
  23  norm          .55511E-10    2.4013        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .89752        .17881        .78326E-01   -.96547    
  25  Prefactor     1.0573        .10229        .39500E-01   -.90843    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.7506e-07
Minuit parameter uncertainties:
  1  2.98169
  2  19.4572
  3  3.61191
  4  2.74572
  5  5.99586
  6  2.31361
  7  0.703115
  8  23.6915
  9  36.9978
  10  0.000349518
  11  0.00452089
  12  0.00160733
  13  0.00202675
  14  0.631393
  15  0.00070424
  16  16.5381
  17  0.00130476
  18  17.8354
  19  0.0563624
  20  0.00485847
  21  5.90963
  22  7.8698
  23  2.19882e-05
  24  0.178931
  25  0.10231
Done.

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

Extracting fit parameters...

4FGL J0217.2+0837
   Spectrum: PowerLaw
251    Prefactor:  3.942e+00  2.314e+00  0.000e+00  1.000e+06 ( 1.000e-12)
252        Index:  2.269e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
253        Scale:  1.029e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.057e+00  1.023e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  8.975e-01  1.789e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.27
Ra Dec: 34.316 8.623
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 6.16e-08 +/- 3.61e-08
Energy Flux (Fixed Index): 2.45e-05 +/- 1.44e-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) = 8914.81788699
delta logL = 0.399381044221

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8914.80666808
delta logL = 0.410599956811

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.5220       1.0000          .0000       .10000E+07
     2 'Index     '    1.9042       1.0000          .0000       10.000    
     3 'Normalizat'    .91150       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0545       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8914.807     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      258 TOTAL
                     EDM=   .33E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.5173        83.950        .47319E-03    .10066E-02
   2  Index         1.9034        5.8451        .20837        .15861E-04
   3  Normalizat    .91172        .17576        .77811E-01    .29551E-04
   4  Prefactor     1.0544        .77644E-01    .39654E-01    .24424E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.5173
  Index      = 1.90345
  Normalizat = 0.911717
  Prefactor  = 1.05442
 **********
 **   18 **HESSE 
 **********

 FCN=   8914.807     FROM HESSE     STATUS=OK            31 CALLS      289 TOTAL
                     EDM=   .47E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.5173        2.7371        .11776E-04   -1.5665    
   2  Index         1.9034        .39525        .76351E-02   -.66786    
   3  Normalizat    .91172        .18825        .34440E-03   -.96050    
   4  Prefactor     1.0544        .11143        .18991E-03   -.90937    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.67465e-13
Minuit parameter uncertainties:
  1  2.73712
  2  0.395922
  3  0.188389
  4  0.111452
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/2953': 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) = 8914.80666435
delta logL = 0.410603688733

Extracting fit parameters...

4FGL J0217.2+0837
   Spectrum: PowerLaw
251    Prefactor:  4.517e+00  2.737e+00  0.000e+00  1.000e+06 ( 1.000e-12)
252        Index:  1.903e+00  3.959e-01  0.000e+00  1.000e+01 (-1.000e+00)
253        Scale:  1.029e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.054e+00  1.115e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  9.117e-01  1.884e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.10
Ra Dec: 34.316 8.623
Photon Index (Free Index): 1.90 +/- 0.40
Photon Flux (Free Index): 4.22e-08 +/- 3.35e-08
Energy Flux (Free Index): 3.75e-05 +/- 3.12e-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/2953/cmap_HighResolution_683856001_684115201_4FGL_J0217.2+0837_daily_bin1715.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.16e-08', energy_flux2='3.75e-05', photon_flux_error='3.61e-08', dlogl='4.11e-01', energy_flux='2.45e-05', photon_flux2='4.22e-08', job_status='DONE', time_completed='2022-09-16 10:35:25.598839', photon_index_error2='0.40', photon_index2='1.90', ts='9.27', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='3.12e-05', EG='0.90', time_epoch_completed='1663349725.6', return_code='0', job_id='2953', GAL2='1.05', EG2='0.91', return_code2='0', energy_flux_error='1.44e-05', photon_flux_error2='3.35e-08', ts2='10.10', photon_index='2.27' WHERE bin_id='1715' AND source_name='4FGL J0217.2+0837' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 10:35:25 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0026>
Subject: Job 2953: <4FGL_J0217.2+0837_daily_bin1715> in cluster <slac> Done

Job <4FGL_J0217.2+0837_daily_bin1715> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 10:21:25 2022
Job was executed on host(s) <bullet0026>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 10:24:16 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:16 2022
Terminated at Fri Sep 16 10:35:26 2022
Results reported at Fri Sep 16 10:35:26 2022

Your job looked like:

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

Successfully completed.

Resource usage summary:

    CPU time :                                   594.17 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             348.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   669 sec.
    Turnaround time :                            841 sec.

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

