aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  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 2 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 = 16968
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0217.8+0144_weekly_bin51
RA = 34.4621, Dec = 1.7346
tmin = 269827201, tmax = 270432001
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='442885', job_status='RUN', time_executed='2021-07-04 13:06:48.072828', time_epoch_executed='1625429208.07' WHERE source_name='4FGL J0217.8+0144' and cadence='weekly' and bin_id='51'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/442885

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

Retrieving the FT1 file...

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

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

Retrieving 106 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/442885/ft1_4FGL_J0217.8+0144_weekly_bin51.fits


Retrieving the FT1 file...

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

Retrieving 106 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/442885/ft2_4FGL_J0217.8+0144_weekly_bin51.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/442885/ft1_4FGL_J0217.8+0144_weekly_bin51.fits outfile=/scratch/kocevski/442885/ft1_filteredMKT_4FGL_J0217.8+0144_weekly_bin51.fits ra=34.4621 dec=1.7346 rad=12.0 tmin=269827201.0 tmax=270432001.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.32
user 2.98
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/442885/ft2_4FGL_J0217.8+0144_weekly_bin51.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/442885/ft1_filteredMKT_4FGL_J0217.8+0144_weekly_bin51.fits evtable="EVENTS" outfile="/scratch/kocevski/442885/ft1_filtered_4FGL_J0217.8+0144_weekly_bin51.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.64
user 0.37
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/442885/ft1_filtered_4FGL_J0217.8+0144_weekly_bin51.fits" evtable="EVENTS" scfile=/scratch/kocevski/442885/ft2_4FGL_J0217.8+0144_weekly_bin51.fits sctable="SC_DATA" outfile=/scratch/kocevski/442885/ltcube_269827201_270432001_4FGL_J0217.8+0144_weekly_bin51.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/442885/ft2_4FGL_J0217.8+0144_weekly_bin51.fits
.....................!
real 27.15
user 26.69
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/442885/ft1_filtered_4FGL_J0217.8+0144_weekly_bin51.fits evtable="EVENTS" scfile=/scratch/kocevski/442885/ft2_4FGL_J0217.8+0144_weekly_bin51.fits sctable="SC_DATA" expcube=/scratch/kocevski/442885/ltcube_269827201_270432001_4FGL_J0217.8+0144_weekly_bin51.fits outfile=/scratch/kocevski/442885/expmap_269827201_270432001_4FGL_J0217.8+0144_weekly_bin51.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/442885/ltcube_269827201_270432001_4FGL_J0217.8+0144_weekly_bin51.fits
.....................!
real 193.11
user 187.43
sys 4.76

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/442885/ft1_filtered_4FGL_J0217.8+0144_weekly_bin51.fits scfile=/scratch/kocevski/442885/ft2_4FGL_J0217.8+0144_weekly_bin51.fits outfile=/scratch/kocevski/442885/cmap_269827201_270432001_4FGL_J0217.8+0144_weekly_bin51.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.97
user 0.41
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/442885/ft1_filtered_4FGL_J0217.8+0144_weekly_bin51.fits scfile=/scratch/kocevski/442885/ft2_4FGL_J0217.8+0144_weekly_bin51.fits outfile=/scratch/kocevski/442885/cmap_HighResolution_269827201_270432001_4FGL_J0217.8+0144_weekly_bin51.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.73
user 0.41
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/442885/ft1_filtered_4FGL_J0217.8+0144_weekly_bin51.fits', '/scratch/kocevski/442885/ft2_4FGL_J0217.8+0144_weekly_bin51.fits', expMap='/scratch/kocevski/442885/expmap_269827201_270432001_4FGL_J0217.8+0144_weekly_bin51.fits', expCube='/scratch/kocevski/442885/ltcube_269827201_270432001_4FGL_J0217.8+0144_weekly_bin51.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/442885/Model_4FGL_J0217.8+0144_weekly_bin51.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  1.000e-04  1.000e+04 ( 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  0.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/442885/ft1_filtered_4FGL_J0217.8+0144_weekly_bin51.fits
Spacecraft file(s): /scratch/kocevski/442885/ft2_4FGL_J0217.8+0144_weekly_bin51.fits
Exposure map: /scratch/kocevski/442885/expmap_269827201_270432001_4FGL_J0217.8+0144_weekly_bin51.fits
Exposure cube: /scratch/kocevski/442885/ltcube_269827201_270432001_4FGL_J0217.8+0144_weekly_bin51.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/442885/Model_4FGL_J0217.8+0144_weekly_bin51.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) = 12903.0494779

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.8361       1.0000         .10000E-03   10000.    
     3 'norm      '    28.483       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    14.395       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11660       1.0000         .10000E-03   10000.    
     7 'norm      '    1.0532       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .27494E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.4627       1.0000         .10000E-03   10000.    
    15 'norm      '    2.1930       1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.1512       1.0000         .10000E-03   10000.    
    17 'Prefactor '    26.689       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    6.2836       1.0000         .10000E-03   10000.    
    20 'norm      '    .14661E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .93167       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .87793       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12903.01     FROM MIGRAD    STATUS=CONVERGED    493 CALLS     2108 TOTAL
                     EDM=   .47E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.359        .19879E-06** at limit **
   2  Prefactor     5.8364        2.7294        .25049E-06   -.20210E-02
   3  norm          28.485        11.336        .43428E-06    .14028E-03
   4  Prefactor     .10000E-03    1.1089        .74968E-08** at limit **
   5  norm          14.394        4.1321        .17499E-06    .39029E-03
   6  Prefactor     .11685        .53755       -.54918E-08   -.62295E-03
   7  norm          1.0533        .50255        .99776E-08   -.12442E-03
   8  Prefactor     .10000E-03    8.1100        .91953E-07** at limit **
   9  Prefactor     .69421E-01    2.5913       -.58124E-06    .46403E-03
  10  Prefactor     .10001E-03    74.998       -.12434E-04** at limit **
  11  Prefactor     .10000E-03    1.7268       -.22623E-08** at limit **
  12  Prefactor     .10000E-03    4.4080       -.98194E-08** at limit **
  13  Prefactor     .10000E-03    4.2647        .28199E-07** at limit **
  14  Prefactor     5.4631        9.5253        .50591E-06    .75221E-05
  15  norm          2.1935        6.2412        .24723E-06   -.12469E-03
  16  Prefactor     9.1516        7.3159        .34200E-06   -.88792E-03
  17  Prefactor     26.692        25.165        .24486E-05    .15134E-03
  18  Prefactor     .10000E-03    2.9692        .18608E-07** at limit **
  19  norm          6.2836        4.7125        .28567E-07    .15124E-04
  20  norm          .10000E-03    2.1208        .18999E-07** at limit **
  21  Normalizat    .93174        .11309       -.38018E-06    .12115E-03
  22  Prefactor     .87779        .83525E-01   -.12489E-06    .20019E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 5.8364
  norm       = 28.4847
  Prefactor  = 0.0001
  norm       = 14.394
  Prefactor  = 0.11685
  norm       = 1.05327
  Prefactor  = 0.0001
  Prefactor  = 0.0694208
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.4631
  norm       = 2.19351
  Prefactor  = 9.15158
  Prefactor  = 26.6915
  Prefactor  = 0.0001
  norm       = 6.28361
  norm       = 0.0001
  Normalizat = 0.931744
  Prefactor  = 0.877792
 **********
 **   18 **HESSE 
 **********

 FCN=   12903.01     FROM HESSE     STATUS=OK           354 CALLS     2462 TOTAL
                     EDM=   .85E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.377        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.8364        3.3467        .75471E-03   -1.5225    
   3  norm          28.485        11.341        .75068E-04   -1.4640    
   4  Prefactor     .10000E-03    1.1150        .11679E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          14.394        4.1195        .10557E-03   -1.4949    
   6  Prefactor     .11685        1.1784        .16419E-02   -1.5640    
   7  norm          1.0533        .49588        .53213E-04   -1.5503    
   8  Prefactor     .10000E-03    8.1713        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .69421E-01    2.8653        .58283E-01   -1.5655    
  10  Prefactor     .10001E-03    76.688        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.7309        .14576E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.4207        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.3176        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.4631        9.5281        .17192E-03   -1.5240    
  15  norm          2.1935        6.3203        .27790E-03   -1.5412    
  16  Prefactor     9.1516        8.7784        .66243E-03   -1.5103    
  17  Prefactor     26.692        25.445        .77545E-04   -1.4674    
  18  Prefactor     .10000E-03    3.0706        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          6.2836        4.7078        .16013E-03   -1.5207    
  20  norm          .10000E-03    7.6959        .31709E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .93174        .12877        .26176E-03   -.95354    
  22  Prefactor     .87779        .93390E-01    .19778E-03   -.96921    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.53316e-08
Minuit parameter uncertainties:
  1  1.43273e-05
  2  3.34677
  3  11.3422
  4  1.56494e-07
  5  4.11959
  6  0.741836
  7  0.49588
  8  9.10013e-06
  9  0.891389
  10  0.00145642
  11  1.64837e-07
  12  9.73771e-07
  13  5.33916e-06
  14  9.53079
  15  6.32223
  16  8.77962
  17  25.4551
  18  1.42477e-06
  19  4.70806
  20  3.85716e-05
  21  0.128814
  22  0.0934065
Done.

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

Extracting fit parameters...

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  1.053e+00  4.959e-01  1.000e-04  1.000e+04 ( 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  0.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:  8.778e-01  9.341e-02  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.317e-01  1.288e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.05
Ra Dec: 34.462 1.735
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 4.40e-08 +/- 2.07e-08
Energy Flux (Fixed Index): 1.87e-05 +/- 8.81e-06

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) = 12902.9751032
delta logL = 0.0338907330915

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12902.9740969
delta logL = 0.0348970508057

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0636       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3100       1.0000          .0000       5.0000    
     3 'Normalizat'    .92186       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88185       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=   12902.97     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      206 TOTAL
                     EDM=   .41E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0636        6.5890        .11485E-01    .71082E-03
   2  alpha         2.3100        3.6288        .41303        .21237E-04
   3  Normalizat    .92186        .53041E-01    .45180E-01    .27442E-04
   4  Prefactor     .88185        .30393E-01    .44773E-01    .10672E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.06365
  alpha      = 2.31001
  Normalizat = 0.921858
  Prefactor  = 0.881851
 **********
 **   18 **HESSE 
 **********

 FCN=   12902.97     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .11E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0636        .48600        .51395E-04   -1.5502    
   2  alpha         2.3100        .56901        .16947E-01   -.76069E-01
   3  Normalizat    .92186        .12893        .26299E-03   -.95696    
   4  Prefactor     .88185        .91622E-01    .19738E-03   -.96778    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05307e-12
Minuit parameter uncertainties:
  1  0.486004
  2  0.574072
  3  0.12897
  4  0.0916378
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/442885': 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) = 12902.9740969
delta logL = 0.0348970510549

Extracting fit parameters...

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  1.064e+00  4.860e-01  1.000e-04  1.000e+04 ( 1.000e-11)
243        alpha:  2.310e+00  5.741e-01  0.000e+00  5.000e+00 ( 1.000e+00)
244         beta:  6.385e-02  0.000e+00  0.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:  8.819e-01  9.164e-02  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.219e-01  1.290e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.12
Ra Dec: 34.462 1.735
Photon Index (Free Index): 2.31 +/- 0.57
Photon Flux (Free Index): 5.17e-08 +/- 3.68e-08
Energy Flux (Free Index): 1.80e-05 +/- 8.53e-06

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/442885/cmap_HighResolution_269827201_270432001_4FGL_J0217.8+0144_weekly_bin51.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.40e-08', energy_flux2='1.80e-05', photon_flux_error='2.07e-08', dlogl='3.49e-02', energy_flux='1.87e-05', photon_flux2='5.17e-08', job_status='DONE', time_completed='2021-07-04 13:21:15.704927', photon_index_error2='0.57', photon_index2='2.31', ts='12.05', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', energy_flux_error2='8.53e-06', EG='0.93', time_epoch_completed='1625430075.7', return_code='0', job_id='442885', GAL2='0.88', EG2='0.92', return_code2='0', energy_flux_error='8.81e-06', photon_flux_error2='3.68e-08', ts2='12.12', photon_index='2.16' WHERE bin_id='51' AND source_name='4FGL J0217.8+0144' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sun Jul  4 13:21:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0120>
Subject: Job 442885: <4FGL_J0217.8+0144_weekly_bin51> in cluster <slac> Done

Job <4FGL_J0217.8+0144_weekly_bin51> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sun Jul  4 13:06:16 2021
Job was executed on host(s) <bullet0120>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jul  4 13:06:18 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jul  4 13:06:18 2021
Terminated at Sun Jul  4 13:21:16 2021
Results reported at Sun Jul  4 13:21:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0217.8+0144_weekly_bin51 34.4621 1.7346 269827201 270432001 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 :                                   854.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             356.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   898 sec.
    Turnaround time :                            900 sec.

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

