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


Performing analysis on: 4FGL_J0217.8+0144_daily_bin401
RA = 34.4621, Dec = 1.7346
tmin = 343267201, tmax = 343526401
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='285841', job_status='RUN', time_executed='2021-08-15 16:32:53.451455', time_epoch_executed='1629070373.45' WHERE source_name='4FGL J0217.8+0144' and cadence='daily' and bin_id='401'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/285841

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/285841/ft1_4FGL_J0217.8+0144_daily_bin401.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/285841/ft2_4FGL_J0217.8+0144_daily_bin401.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/285841/ft1_4FGL_J0217.8+0144_daily_bin401.fits outfile=/scratch/kocevski/285841/ft1_filteredMKT_4FGL_J0217.8+0144_daily_bin401.fits ra=34.4621 dec=1.7346 rad=12.0 tmin=343267201.0 tmax=343526401.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.57
user 3.19
sys 1.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/285841/ft2_4FGL_J0217.8+0144_daily_bin401.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/285841/ft1_filteredMKT_4FGL_J0217.8+0144_daily_bin401.fits evtable="EVENTS" outfile="/scratch/kocevski/285841/ft1_filtered_4FGL_J0217.8+0144_daily_bin401.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 1.57
user 0.32
sys 1.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/285841/ft1_filtered_4FGL_J0217.8+0144_daily_bin401.fits" evtable="EVENTS" scfile=/scratch/kocevski/285841/ft2_4FGL_J0217.8+0144_daily_bin401.fits sctable="SC_DATA" outfile=/scratch/kocevski/285841/ltcube_343267201_343526401_4FGL_J0217.8+0144_daily_bin401.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/285841/ft2_4FGL_J0217.8+0144_daily_bin401.fits
.....................!
real 13.27
user 11.74
sys 1.49

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/285841/ft1_filtered_4FGL_J0217.8+0144_daily_bin401.fits evtable="EVENTS" scfile=/scratch/kocevski/285841/ft2_4FGL_J0217.8+0144_daily_bin401.fits sctable="SC_DATA" expcube=/scratch/kocevski/285841/ltcube_343267201_343526401_4FGL_J0217.8+0144_daily_bin401.fits outfile=/scratch/kocevski/285841/expmap_343267201_343526401_4FGL_J0217.8+0144_daily_bin401.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/285841/ltcube_343267201_343526401_4FGL_J0217.8+0144_daily_bin401.fits
.....................!
real 194.03
user 187.02
sys 6.54

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/285841/ft1_filtered_4FGL_J0217.8+0144_daily_bin401.fits scfile=/scratch/kocevski/285841/ft2_4FGL_J0217.8+0144_daily_bin401.fits outfile=/scratch/kocevski/285841/cmap_343267201_343526401_4FGL_J0217.8+0144_daily_bin401.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 1.62
user 0.38
sys 1.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/285841/ft1_filtered_4FGL_J0217.8+0144_daily_bin401.fits scfile=/scratch/kocevski/285841/ft2_4FGL_J0217.8+0144_daily_bin401.fits outfile=/scratch/kocevski/285841/cmap_HighResolution_343267201_343526401_4FGL_J0217.8+0144_daily_bin401.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 1.57
user 0.38
sys 1.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    35.810       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .12439E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10420E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    16.066       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.4943       1.0000         .10000E-03   10000.    
     7 'norm      '    1.0949       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10295E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10256E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10312E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.849       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10852E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10205E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    18.113       1.0000         .10000E-03   10000.    
    15 'norm      '    15.975       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.6466       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .45975E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    8.6092       1.0000         .10000E-03   10000.    
    20 'norm      '    .84374       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .53843       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1148       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=   4790.204     FROM MIGRAD    STATUS=CONVERGED    492 CALLS     2365 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     35.810        99.679       -.12410E-05    .62254E-05
   2  Prefactor     .10000E-03    3.8112        .19293E-06** at limit **
   3  norm          .10000E-03    30.959       -.62077E-05** at limit **
   4  Prefactor     .10000E-03    2.7701       -.49085E-07** at limit **
   5  norm          16.064        6.0537       -.42538E-06    .22014E-03
   6  Prefactor     2.4953        2.4582        .73789E-07   -.16209E-03
   7  norm          1.0950        .76216       -.16066E-08   -.22504E-03
   8  Prefactor     .10000E-03    16.104       -.48300E-05** at limit **
   9  Prefactor     .10000E-03    4.3226        .10139E-06** at limit **
  10  Prefactor     .10000E-03    20.474        .49787E-05** at limit **
  11  Prefactor     12.853        14.586       -.40390E-05    .13834E-03
  12  Prefactor     .10000E-03    14.353        .19640E-05** at limit **
  13  Prefactor     .10000E-03    5.6571        .15784E-07** at limit **
  14  Prefactor     18.100        17.332        .59961E-05   -.32959E-03
  15  norm          15.960        12.934        .69720E-06   -.70191E-04
  16  Prefactor     5.5994        14.118        .85277E-05   -.23328E-03
  17  Prefactor     .10000E-03    200.23       -.13181E-04** at limit **
  18  Prefactor     .10000E-03    5.7753        .27367E-07** at limit **
  19  norm          8.6094        10.944       -.16127E-05   -.12139E-02
  20  norm          .84480        4.4591       -.15352E-05   -.89082E-03
  21  Normalizat    .53846        .19331       -.25460E-05    .19526E-04
  22  Prefactor     1.1148        .14268        .40127E-06    .38460E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 35.8096
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 16.0642
  Prefactor  = 2.49531
  norm       = 1.095
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 12.8527
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.1001
  norm       = 15.9602
  Prefactor  = 5.59942
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 8.60938
  norm       = 0.844798
  Normalizat = 0.538461
  Prefactor  = 1.11477
 **********
 **   18 **HESSE 
 **********

 FCN=   4790.204     FROM HESSE     STATUS=OK           338 CALLS     2703 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     35.810        99.764        .66970E-04   -1.4510    
   2  Prefactor     .10000E-03    8.6934        .26067E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    31.278        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.7892        .11248E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          16.064        6.0512        .99923E-04   -1.4906    
   6  Prefactor     2.4953        2.4462        .10193E-03   -1.5392    
   7  norm          1.0950        .74404        .48511E-04   -1.5499    
   8  Prefactor     .10000E-03    16.097        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.3528        .14052E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    20.393        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     12.853        14.560        .11175E-03   -1.4991    
  12  Prefactor     .10000E-03    14.426        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.6790        .16071E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     18.100        17.088        .94107E-04   -1.4857    
  15  norm          15.960        12.939        .10021E-03   -1.4909    
  16  Prefactor     5.5994        13.830        .16905E-03   -1.5235    
  17  Prefactor     .10000E-03    207.71        .38632E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    5.9526        .32464E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          8.6094        11.372        .68309E-03   -1.5121    
  20  norm          .84480        4.5600        .28623E-03   -1.5524    
  21  Normalizat    .53846        .21030        .32774E-03   -1.1066    
  22  Prefactor     1.1148        .15795        .17943E-03   -.88996    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.92897e-09
Minuit parameter uncertainties:
  1  100.234
  2  7.94519e-05
  3  0.000426475
  4  6.00172e-06
  5  6.05144
  6  2.44635
  7  0.744049
  8  0.000161239
  9  1.80224e-07
  10  0.00020242
  11  14.5638
  12  0.000124549
  13  1.35191e-05
  14  17.0926
  15  12.9409
  16  13.8379
  17  0.000952503
  18  1.50995e-05
  19  11.375
  20  3.9257
  21  0.210616
  22  0.158014
Done.

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

Extracting fit parameters...

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  1.095e+00  7.440e-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:  1.115e+00  1.580e-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:  5.385e-01  2.106e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.22
Ra Dec: 34.462 1.735
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 4.57e-08 +/- 3.11e-08
Energy Flux (Fixed Index): 1.95e-05 +/- 1.32e-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) = 4790.17773021
delta logL = 0.0265824173257

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4790.17665131
delta logL = 0.02766131918

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1169       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0191       1.0000          .0000       5.0000    
     3 'Normalizat'    .54426       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1122       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=   4790.177     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      197 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1172        27.108        .10938E-01    .15697E-03
   2  alpha         2.0195        2.6954        .35972       -.55731E-05
   3  Normalizat    .54435        .13955        .73636E-01    .20893E-04
   4  Prefactor     1.1121        .10261        .37141E-01   -.47879E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.11717
  alpha      = 2.01954
  Normalizat = 0.54435
  Prefactor  = 1.11211
 **********
 **   18 **HESSE 
 **********

 FCN=   4790.177     FROM HESSE     STATUS=OK            33 CALLS      230 TOTAL
                     EDM=   .25E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1172        .76380        .49418E-04   -1.5497    
   2  alpha         2.0195        .57930        .13774E-01   -.19339    
   3  Normalizat    .54435        .19729        .32603E-03   -1.1040    
   4  Prefactor     1.1121        .15124        .17960E-03   -.89081    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.47944e-13
Minuit parameter uncertainties:
  1  0.763803
  2  0.584827
  3  0.197541
  4  0.151294
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/285841': 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) = 4790.17665082
delta logL = 0.0276618081871

Extracting fit parameters...

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  1.117e+00  7.638e-01  1.000e-04  1.000e+04 ( 1.000e-11)
243        alpha:  2.020e+00  5.848e-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:  1.112e+00  1.513e-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:  5.444e-01  1.975e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.26
Ra Dec: 34.462 1.735
Photon Index (Free Index): 2.02 +/- 0.58
Photon Flux (Free Index): 4.11e-08 +/- 3.40e-08
Energy Flux (Free Index): 2.19e-05 +/- 1.93e-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/285841/cmap_HighResolution_343267201_343526401_4FGL_J0217.8+0144_daily_bin401.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.57e-08', energy_flux2='2.19e-05', photon_flux_error='3.11e-08', dlogl='2.77e-02', energy_flux='1.95e-05', photon_flux2='4.11e-08', job_status='DONE', time_completed='2021-08-15 16:41:58.617179', photon_index_error2='0.58', photon_index2='2.02', ts='4.22', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', energy_flux_error2='1.93e-05', EG='0.54', time_epoch_completed='1629070918.62', return_code='0', job_id='285841', GAL2='1.11', EG2='0.54', return_code2='0', energy_flux_error='1.32e-05', photon_flux_error2='3.40e-08', ts2='4.26', photon_index='2.16' WHERE bin_id='401' AND source_name='4FGL J0217.8+0144' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 16:41:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0029>
Subject: Job 285841: <4FGL_J0217.8+0144_daily_bin401> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0217.8+0144_daily_bin401 34.4621 1.7346 343267201 343526401 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 :                                   550.51 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             288.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   660 sec.
    Turnaround time :                            992 sec.

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

