/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 16 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 = 7478
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0217.8+0144_daily_bin317
RA = 34.4621, Dec = 1.7346
tmin = 321494401, tmax = 321753601
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='285715', job_status='RUN', time_executed='2021-08-15 16:30:36.642525', time_epoch_executed='1629070236.64' WHERE source_name='4FGL J0217.8+0144' and cadence='daily' and bin_id='317'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/285715

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/285715/ft1_4FGL_J0217.8+0144_daily_bin317.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/285715/ft2_4FGL_J0217.8+0144_daily_bin317.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/285715/ft1_4FGL_J0217.8+0144_daily_bin317.fits outfile=/scratch/kocevski/285715/ft1_filteredMKT_4FGL_J0217.8+0144_daily_bin317.fits ra=34.4621 dec=1.7346 rad=12.0 tmin=321494401.0 tmax=321753601.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 4.26
user 3.69
sys 0.51

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/285715/ft2_4FGL_J0217.8+0144_daily_bin317.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/285715/ft1_filteredMKT_4FGL_J0217.8+0144_daily_bin317.fits evtable="EVENTS" outfile="/scratch/kocevski/285715/ft1_filtered_4FGL_J0217.8+0144_daily_bin317.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.82
user 0.33
sys 0.45

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/285715/ft1_filtered_4FGL_J0217.8+0144_daily_bin317.fits" evtable="EVENTS" scfile=/scratch/kocevski/285715/ft2_4FGL_J0217.8+0144_daily_bin317.fits sctable="SC_DATA" outfile=/scratch/kocevski/285715/ltcube_321494401_321753601_4FGL_J0217.8+0144_daily_bin317.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/285715/ft2_4FGL_J0217.8+0144_daily_bin317.fits
.....................!
real 13.96
user 13.04
sys 0.66

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/285715/ft1_filtered_4FGL_J0217.8+0144_daily_bin317.fits evtable="EVENTS" scfile=/scratch/kocevski/285715/ft2_4FGL_J0217.8+0144_daily_bin317.fits sctable="SC_DATA" expcube=/scratch/kocevski/285715/ltcube_321494401_321753601_4FGL_J0217.8+0144_daily_bin317.fits outfile=/scratch/kocevski/285715/expmap_321494401_321753601_4FGL_J0217.8+0144_daily_bin317.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/285715/ltcube_321494401_321753601_4FGL_J0217.8+0144_daily_bin317.fits
.....................!
real 192.33
user 185.81
sys 5.56

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/285715/ft1_filtered_4FGL_J0217.8+0144_daily_bin317.fits scfile=/scratch/kocevski/285715/ft2_4FGL_J0217.8+0144_daily_bin317.fits outfile=/scratch/kocevski/285715/cmap_321494401_321753601_4FGL_J0217.8+0144_daily_bin317.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.89
user 0.39
sys 0.45

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/285715/ft1_filtered_4FGL_J0217.8+0144_daily_bin317.fits scfile=/scratch/kocevski/285715/ft2_4FGL_J0217.8+0144_daily_bin317.fits outfile=/scratch/kocevski/285715/cmap_HighResolution_321494401_321753601_4FGL_J0217.8+0144_daily_bin317.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.90
user 0.38
sys 0.47

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    18.682       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    9.2409       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .59930       1.0000         .10000E-03   10000.    
     8 'Prefactor '    44.156       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    86.125       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.5600       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.1261       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    13.069       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .76328E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    77.677       1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.9077       1.0000         .10000E-03   10000.    
    19 'norm      '    8.6017       1.0000         .10000E-03   10000.    
    20 'norm      '    .54159       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0352       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .99535       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=   6459.855     FROM MIGRAD    STATUS=CONVERGED    483 CALLS     2438 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    47.935        .28033E-06** at limit **
   2  Prefactor     .10000E-03    2.6601       -.32061E-08** at limit **
   3  norm          18.684        17.322       -.37581E-07   -.36978E-04
   4  Prefactor     .10000E-03    4.8340       -.26907E-07** at limit **
   5  norm          9.2417        5.3371        .21410E-06    .16775E-03
   6  Prefactor     .10000E-03    1.6623       -.68839E-07** at limit **
   7  norm          .59924        .56729        .15251E-07    .60678E-05
   8  Prefactor     44.152        34.174       -.51042E-07   -.32087E-04
   9  Prefactor     .10000E-03    3.0087        .30616E-09** at limit **
  10  Prefactor     86.109        83.349       -.21035E-05   -.96380E-04
  11  Prefactor     .10000E-03    4.9828        .43364E-07** at limit **
  12  Prefactor     4.5587        23.943        .10883E-05    .31850E-04
  13  Prefactor     6.1341        14.525        .13245E-05    .15941E-03
  14  Prefactor     .10000E-03    14.443        .21398E-07** at limit **
  15  norm          13.072        16.111        .56672E-06    .14649E-03
  16  Prefactor     .10001E-03    8.5937       -.15291E-06** at limit **
  17  Prefactor     77.680        64.145        .54342E-06    .39719E-04
  18  Prefactor     7.9100        7.1248       -.20192E-06   -.23832E-03
  19  norm          8.6037        8.8756       -.96949E-07   -.24750E-04
  20  norm          .54418        4.9072        .26319E-05   -.26334E-03
  21  Normalizat    1.0357        .18966        .20643E-06   -.48754E-04
  22  Prefactor     .99499        .14308       -.62540E-06   -.17014E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 18.6838
  Prefactor  = 0.0001
  norm       = 9.24168
  Prefactor  = 0.0001
  norm       = 0.599237
  Prefactor  = 44.1525
  Prefactor  = 0.0001
  Prefactor  = 86.1086
  Prefactor  = 0.0001
  Prefactor  = 4.55868
  Prefactor  = 6.13411
  Prefactor  = 0.0001
  norm       = 13.0716
  Prefactor  = 0.00010001
  Prefactor  = 77.6802
  Prefactor  = 7.91004
  norm       = 8.60365
  norm       = 0.54418
  Normalizat = 1.03571
  Prefactor  = 0.994989
 **********
 **   18 **HESSE 
 **********

 FCN=   6459.855     FROM HESSE     STATUS=OK           350 CALLS     2788 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    47.963        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.6790        .12798E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          18.684        17.342        .92663E-04   -1.4843    
   4  Prefactor     .10000E-03    4.8731        .17250E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          9.2417        5.3567        .13184E-03   -1.5100    
   6  Prefactor     .10000E-03    1.6978        .20161E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .59924        .53749        .56957E-03   -1.5553    
   8  Prefactor     44.152        34.028        .60333E-04   -1.4378    
   9  Prefactor     .10000E-03    3.0160        .13614E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     86.109        85.944        .43289E-04   -1.3849    
  11  Prefactor     .10000E-03    5.0013        .17521E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.5587        23.500        .18851E-03   -1.5281    
  13  Prefactor     6.1341        14.603        .16221E-03   -1.5213    
  14  Prefactor     .10000E-03    14.515        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          13.072        16.121        .11080E-03   -1.4985    
  16  Prefactor     .10001E-03    104.46        .44332E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     77.680        63.722        .45563E-04   -1.3943    
  18  Prefactor     7.9100        7.1974        .14259E-03   -1.5145    
  19  norm          8.6037        8.8949        .13668E-03   -1.5121    
  20  norm          .54418        5.2911        .35368E-03   -1.5560    
  21  Normalizat    1.0357        .21463        .29157E-03   -.91844    
  22  Prefactor     .99499        .16468        .21468E-03   -.92897    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.97328e-10
Minuit parameter uncertainties:
  1  8.41126e-05
  2  1.37431e-06
  3  17.3472
  4  2.07076e-06
  5  5.35696
  6  4.02284e-06
  7  0.537493
  8  34.0431
  9  3.47247e-07
  10  86.0685
  11  5.17632e-06
  12  20.7132
  13  14.6115
  14  8.34933e-06
  15  16.1259
  16  0.00199986
  17  63.7784
  18  7.19823
  19  8.89627
  20  3.39378
  21  0.21481
  22  0.164767
Done.

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

Extracting fit parameters...

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  5.992e-01  5.375e-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:  9.950e-01  1.648e-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.036e+00  2.148e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.69
Ra Dec: 34.462 1.735
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 2.50e-08 +/- 2.24e-08
Energy Flux (Fixed Index): 1.06e-05 +/- 9.55e-06

TS (Fixed Index): 2.69
Ra Dec: 34.462 1.735
Photon Flux Upper Limit: 8.57e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.64e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/285715/likelihoodResults_321494401_321753601_4FGL_J0217.8+0144_daily_bin317.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) = 6459.79023753
delta logL = 0.064798959751

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6459.78954398
delta logL = 0.0654925045601

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .59783       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8884       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0423       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99202       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=   6459.790     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      203 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .59727        1.1036        .11664E-01    .99014E-04
   2  alpha         1.8875        1.1075        .42827       -.21154E-04
   3  Normalizat    1.0420        .18416        .65733E-01    .14163E-04
   4  Prefactor     .99224        .13371        .46167E-01    .73483E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.597267
  alpha      = 1.88746
  Normalizat = 1.04205
  Prefactor  = 0.992241
 **********
 **   18 **HESSE 
 **********

 FCN=   6459.790     FROM HESSE     STATUS=OK            35 CALLS      238 TOTAL
                     EDM=   .86E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .59727        .54039        .56785E-03   -1.5553    
   2  alpha         1.8875        .70689        .18847E-01   -.24754    
   3  Normalizat    1.0420        .20950        .29077E-03   -.91635    
   4  Prefactor     .99224        .15201        .21492E-03   -.92989    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.59728e-12
Minuit parameter uncertainties:
  1  0.54039
  2  0.717319
  3  0.209661
  4  0.152079
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/285715': 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) = 6459.78954157
delta logL = 0.0654949222089

Extracting fit parameters...

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  5.973e-01  5.404e-01  1.000e-04  1.000e+04 ( 1.000e-11)
243        alpha:  1.887e+00  7.173e-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:  9.922e-01  1.521e-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.042e+00  2.097e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.81
Ra Dec: 34.462 1.735
Photon Index (Free Index): 1.89 +/- 0.72
Photon Flux (Free Index): 1.97e-08 +/- 2.21e-08
Energy Flux (Free Index): 1.35e-05 +/- 1.62e-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/285715/cmap_HighResolution_321494401_321753601_4FGL_J0217.8+0144_daily_bin317.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.64e-05', comment='SUCCESS', photon_flux='2.50e-08', energy_flux2='1.35e-05', photon_flux_error='2.24e-08', dlogl='6.55e-02', energy_flux='1.06e-05', photon_flux2='1.97e-08', job_status='DONE', time_completed='2021-08-15 16:41:48.158332', photon_index_error2='0.72', photon_index2='1.89', ts='2.69', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='8.57e-08', energy_flux_error2='1.62e-05', EG='1.04', time_epoch_completed='1629070908.16', return_code='0', job_id='285715', GAL2='0.99', EG2='1.04', return_code2='0', energy_flux_error='9.55e-06', photon_flux_error2='2.21e-08', ts2='2.81', photon_index='2.16' WHERE bin_id='317' AND source_name='4FGL J0217.8+0144' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 16:41:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0185>
Subject: Job 285715: <4FGL_J0217.8+0144_daily_bin317> in cluster <slac> Done

Job <4FGL_J0217.8+0144_daily_bin317> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Aug 15 16:25:19 2021
Job was executed on host(s) <bullet0185>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 16:29:57 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:29:57 2021
Terminated at Sun Aug 15 16:41:48 2021
Results reported at Sun Aug 15 16:41:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0217.8+0144_daily_bin317 34.4621 1.7346 321494401 321753601 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 :                                   667.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             334.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   711 sec.
    Turnaround time :                            989 sec.

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

