/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 99 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 = 7491
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0217.8+0144_daily_bin770
RA = 34.4621, Dec = 1.7346
tmin = 438912001, tmax = 439171201
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='288498', job_status='RUN', time_executed='2021-08-15 16:38:10.261432', time_epoch_executed='1629070690.26' WHERE source_name='4FGL J0217.8+0144' and cadence='daily' and bin_id='770'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/288498

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/288498/ft1_4FGL_J0217.8+0144_daily_bin770.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/288498/ft2_4FGL_J0217.8+0144_daily_bin770.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/288498/ft1_4FGL_J0217.8+0144_daily_bin770.fits outfile=/scratch/kocevski/288498/ft1_filteredMKT_4FGL_J0217.8+0144_daily_bin770.fits ra=34.4621 dec=1.7346 rad=12.0 tmin=438912001.0 tmax=439171201.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 8.05
user 5.79
sys 2.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/288498/ft2_4FGL_J0217.8+0144_daily_bin770.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/288498/ft1_filteredMKT_4FGL_J0217.8+0144_daily_bin770.fits evtable="EVENTS" outfile="/scratch/kocevski/288498/ft1_filtered_4FGL_J0217.8+0144_daily_bin770.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 2.45
user 0.34
sys 2.07

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/288498/ft1_filtered_4FGL_J0217.8+0144_daily_bin770.fits" evtable="EVENTS" scfile=/scratch/kocevski/288498/ft2_4FGL_J0217.8+0144_daily_bin770.fits sctable="SC_DATA" outfile=/scratch/kocevski/288498/ltcube_438912001_439171201_4FGL_J0217.8+0144_daily_bin770.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/288498/ft2_4FGL_J0217.8+0144_daily_bin770.fits
.....................!
real 15.21
user 12.62
sys 2.53

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/288498/ft1_filtered_4FGL_J0217.8+0144_daily_bin770.fits evtable="EVENTS" scfile=/scratch/kocevski/288498/ft2_4FGL_J0217.8+0144_daily_bin770.fits sctable="SC_DATA" expcube=/scratch/kocevski/288498/ltcube_438912001_439171201_4FGL_J0217.8+0144_daily_bin770.fits outfile=/scratch/kocevski/288498/expmap_438912001_439171201_4FGL_J0217.8+0144_daily_bin770.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/288498/ltcube_438912001_439171201_4FGL_J0217.8+0144_daily_bin770.fits
.....................!
real 193.74
user 185.29
sys 7.86

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/288498/ft1_filtered_4FGL_J0217.8+0144_daily_bin770.fits scfile=/scratch/kocevski/288498/ft2_4FGL_J0217.8+0144_daily_bin770.fits outfile=/scratch/kocevski/288498/cmap_438912001_439171201_4FGL_J0217.8+0144_daily_bin770.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 2.41
user 0.36
sys 2.02

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/288498/ft1_filtered_4FGL_J0217.8+0144_daily_bin770.fits scfile=/scratch/kocevski/288498/ft2_4FGL_J0217.8+0144_daily_bin770.fits outfile=/scratch/kocevski/288498/cmap_HighResolution_438912001_439171201_4FGL_J0217.8+0144_daily_bin770.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 2.46
user 0.40
sys 2.04

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/288498/ft1_filtered_4FGL_J0217.8+0144_daily_bin770.fits', '/scratch/kocevski/288498/ft2_4FGL_J0217.8+0144_daily_bin770.fits', expMap='/scratch/kocevski/288498/expmap_438912001_439171201_4FGL_J0217.8+0144_daily_bin770.fits', expCube='/scratch/kocevski/288498/ltcube_438912001_439171201_4FGL_J0217.8+0144_daily_bin770.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/288498/Model_4FGL_J0217.8+0144_daily_bin770.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/288498/ft1_filtered_4FGL_J0217.8+0144_daily_bin770.fits
Spacecraft file(s): /scratch/kocevski/288498/ft2_4FGL_J0217.8+0144_daily_bin770.fits
Exposure map: /scratch/kocevski/288498/expmap_438912001_439171201_4FGL_J0217.8+0144_daily_bin770.fits
Exposure cube: /scratch/kocevski/288498/ltcube_438912001_439171201_4FGL_J0217.8+0144_daily_bin770.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/288498/Model_4FGL_J0217.8+0144_daily_bin770.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) = 4504.37275113

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10383E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    28.556       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.3936       1.0000         .10000E-03   10000.    
     7 'norm      '    .73926       1.0000         .10000E-03   10000.    
     8 'Prefactor '    19.645       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10491E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    16.276       1.0000         .10000E-03   10000.    
    15 'norm      '    .17406       1.0000         .10000E-03   10000.    
    16 'Prefactor '    16.792       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.1306       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.2646       1.0000         .10000E-03   10000.    
    19 'norm      '    26.457       1.0000         .10000E-03   10000.    
    20 'norm      '    4.9899       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2002       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .69726       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=   4504.318     FROM MIGRAD    STATUS=CONVERGED    517 CALLS     2069 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    61.238        .59633E-06** at limit **
   2  Prefactor     .10000E-03    2.8563        .54234E-07** at limit **
   3  norm          .10000E-03    27.249        .31932E-05** at limit **
   4  Prefactor     .10000E-03    2.9025        .40277E-07** at limit **
   5  norm          28.556        9.3499        .28610E-06   -.32723E-04
   6  Prefactor     7.3940        3.8845        .70287E-07   -.58089E-04
   7  norm          .73933        .69339        .18029E-07   -.17376E-03
   8  Prefactor     19.625        20.186       -.68624E-06   -.14672E-04
   9  Prefactor     .10000E-03    4.7346       -.43292E-08** at limit **
  10  Prefactor     .10000E-03    27.933       -.31139E-05** at limit **
  11  Prefactor     .10000E-03    12.589        .68847E-07** at limit **
  12  Prefactor     .10000E-03    14.060       -.73736E-07** at limit **
  13  Prefactor     .10000E-03    3.9801       -.11769E-07** at limit **
  14  Prefactor     16.254        25.149        .13716E-04   -.50666E-05
  15  norm          .20644        7.3065        .72044E-06   -.22343E-03
  16  Prefactor     16.790        16.602        .16909E-05    .39202E-04
  17  Prefactor     .97204        78.681       -.22865E-05    .66284E-04
  18  Prefactor     1.2658        1.6508        .14523E-06   -.67388E-03
  19  norm          26.456        15.683        .10969E-05   -.12104E-04
  20  norm          4.9941        6.4504       -.41244E-06   -.60616E-04
  21  Normalizat    1.2003        .21169       -.17987E-05    .15100E-04
  22  Prefactor     .69728        .15172       -.16301E-05   -.43172E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 28.5556
  Prefactor  = 7.39401
  norm       = 0.739327
  Prefactor  = 19.6248
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.254
  norm       = 0.206444
  Prefactor  = 16.79
  Prefactor  = 0.972039
  Prefactor  = 1.26581
  norm       = 26.4558
  norm       = 4.99408
  Normalizat = 1.20033
  Prefactor  = 0.697275
 **********
 **   18 **HESSE 
 **********

 FCN=   4504.318     FROM HESSE     STATUS=OK           356 CALLS     2425 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    61.259        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.8746        .11076E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    27.990        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.9079        .11166E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          28.556        9.3628        .74972E-04   -1.4639    
   6  Prefactor     7.3940        3.8847        .89057E-04   -1.5164    
   7  norm          .73933        .68436        .52305E-04   -1.5536    
   8  Prefactor     19.625        20.188        .90365E-04   -1.4822    
   9  Prefactor     .10000E-03    4.7524        .14262E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    27.944        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    12.720        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    14.116        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.9852        .13075E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     16.254        25.278        .99275E-04   -1.4901    
  15  norm          .20644        92.074        .34761E-02   -1.5617    
  16  Prefactor     16.790        16.664        .97740E-04   -1.4888    
  17  Prefactor     .97204        77.921        .16038       -1.5511    
  18  Prefactor     1.2658        11.429        .19812E-02   -1.5483    
  19  norm          26.456        15.790        .77882E-04   -1.4679    
  20  norm          4.9941        6.4516        .18003E-03   -1.5261    
  21  Normalizat    1.2003        .24290        .25492E-03   -.86593    
  22  Prefactor     .69728        .17739        .22991E-03   -1.0363    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.95343e-09
Minuit parameter uncertainties:
  1  3.6097e-05
  2  8.71798e-06
  3  4.2684e-05
  4  3.30128e-06
  5  9.36332
  6  3.8848
  7  0.684371
  8  20.1946
  9  5.42344e-06
  10  1.50576e-06
  11  2.31568e-05
  12  6.41293e-05
  13  5.96257e-06
  14  25.2946
  15  8.7311
  16  16.6687
  17  17.4287
  18  7.6088
  19  15.7926
  20  6.45254
  21  0.243128
  22  0.177535
Done.

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

Extracting fit parameters...

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  7.393e-01  6.844e-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:  6.973e-01  1.775e-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:  1.200e+00  2.431e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.07
Ra Dec: 34.462 1.735
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 3.09e-08 +/- 2.86e-08
Energy Flux (Fixed Index): 1.31e-05 +/- 1.22e-05

TS (Fixed Index): 3.07
Ra Dec: 34.462 1.735
Photon Flux Upper Limit: 1.08e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.58e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/288498/likelihoodResults_438912001_439171201_4FGL_J0217.8+0144_daily_bin770.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4504.28962963
delta logL = 0.0286271992209

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4504.28912917
delta logL = 0.0291276600246

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .75728       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9984       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2036       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69602       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4504.289     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      226 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .75730        .70245        .53120E-04   -.69128E-04
   2  alpha         1.9987        .65019        .15276E-01    .38326E-05
   3  Normalizat    1.2036        .23199        .25462E-03   -.50143E-03
   4  Prefactor     .69602        .16427        .23010E-03   -.58451E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.757302
  alpha      = 1.99868
  Normalizat = 1.20358
  Prefactor  = 0.696018
 **********
 **   18 **HESSE 
 **********

 FCN=   4504.289     FROM HESSE     STATUS=OK            25 CALLS      251 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .75730        .70239        .21248E-05   -1.5534    
   2  alpha         1.9987        .65019        .61105E-03   -.20190    
   3  Normalizat    1.2036        .23213        .50924E-04   -.86492    
   4  Prefactor     .69602        .16436        .46020E-04   -1.0368    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.45876e-10
Minuit parameter uncertainties:
  1  0.702394
  2  0.658082
  3  0.232328
  4  0.164477
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/288498': 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) = 4504.2891291
delta logL = 0.0291277258457

Extracting fit parameters...

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  7.573e-01  7.024e-01  1.000e-04  1.000e+04 ( 1.000e-11)
243        alpha:  1.999e+00  6.581e-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:  6.960e-01  1.645e-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:  1.204e+00  2.323e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.12
Ra Dec: 34.462 1.735
Photon Index (Free Index): 2.00 +/- 0.66
Photon Flux (Free Index): 2.73e-08 +/- 2.97e-08
Energy Flux (Free Index): 1.51e-05 +/- 1.69e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/288498/cmap_HighResolution_438912001_439171201_4FGL_J0217.8+0144_daily_bin770.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.58e-05', comment='SUCCESS', photon_flux='3.09e-08', energy_flux2='1.51e-05', photon_flux_error='2.86e-08', dlogl='2.91e-02', energy_flux='1.31e-05', photon_flux2='2.73e-08', job_status='DONE', time_completed='2021-08-15 16:47:57.036228', photon_index_error2='0.66', photon_index2='2.00', ts='3.07', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', photon_flux_upper_limit='1.08e-07', energy_flux_error2='1.69e-05', EG='1.20', time_epoch_completed='1629071277.04', return_code='0', job_id='288498', GAL2='0.70', EG2='1.20', return_code2='0', energy_flux_error='1.22e-05', photon_flux_error2='2.97e-08', ts2='3.12', photon_index='2.16' WHERE bin_id='770' AND source_name='4FGL J0217.8+0144' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 16:47:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 288498: <4FGL_J0217.8+0144_daily_bin770> in cluster <slac> Done

Job <4FGL_J0217.8+0144_daily_bin770> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Aug 15 16:35:32 2021
Job was executed on host(s) <bullet0208>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 16:35:41 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 15 16:35:41 2021
Terminated at Sun Aug 15 16:47:57 2021
Results reported at Sun Aug 15 16:47:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0217.8+0144_daily_bin770 34.4621 1.7346 438912001 439171201 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 :                                   610.04 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             233.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   736 sec.
    Turnaround time :                            745 sec.

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

