/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 32 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 = 7407
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0217.8+0144_daily_bin885
RA = 34.4621, Dec = 1.7346
tmin = 468720001, tmax = 468979201
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='288682', job_status='RUN', time_executed='2021-08-15 16:38:04.037696', time_epoch_executed='1629070684.04' WHERE source_name='4FGL J0217.8+0144' and cadence='daily' and bin_id='885'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/288682

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/288682/ft1_4FGL_J0217.8+0144_daily_bin885.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/288682/ft2_4FGL_J0217.8+0144_daily_bin885.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/288682/ft1_4FGL_J0217.8+0144_daily_bin885.fits outfile=/scratch/kocevski/288682/ft1_filteredMKT_4FGL_J0217.8+0144_daily_bin885.fits ra=34.4621 dec=1.7346 rad=12.0 tmin=468720001.0 tmax=468979201.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.90
user 3.25
sys 0.55

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/288682/ft1_filtered_4FGL_J0217.8+0144_daily_bin885.fits" evtable="EVENTS" scfile=/scratch/kocevski/288682/ft2_4FGL_J0217.8+0144_daily_bin885.fits sctable="SC_DATA" outfile=/scratch/kocevski/288682/ltcube_468720001_468979201_4FGL_J0217.8+0144_daily_bin885.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/288682/ft2_4FGL_J0217.8+0144_daily_bin885.fits
.....................!
real 15.71
user 14.82
sys 0.68

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/288682/ft1_filtered_4FGL_J0217.8+0144_daily_bin885.fits evtable="EVENTS" scfile=/scratch/kocevski/288682/ft2_4FGL_J0217.8+0144_daily_bin885.fits sctable="SC_DATA" expcube=/scratch/kocevski/288682/ltcube_468720001_468979201_4FGL_J0217.8+0144_daily_bin885.fits outfile=/scratch/kocevski/288682/expmap_468720001_468979201_4FGL_J0217.8+0144_daily_bin885.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/288682/ltcube_468720001_468979201_4FGL_J0217.8+0144_daily_bin885.fits
.....................!
real 195.02
user 186.92
sys 5.39

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/288682/ft1_filtered_4FGL_J0217.8+0144_daily_bin885.fits scfile=/scratch/kocevski/288682/ft2_4FGL_J0217.8+0144_daily_bin885.fits outfile=/scratch/kocevski/288682/cmap_468720001_468979201_4FGL_J0217.8+0144_daily_bin885.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.91
user 0.37
sys 0.49

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/288682/ft1_filtered_4FGL_J0217.8+0144_daily_bin885.fits scfile=/scratch/kocevski/288682/ft2_4FGL_J0217.8+0144_daily_bin885.fits outfile=/scratch/kocevski/288682/cmap_HighResolution_468720001_468979201_4FGL_J0217.8+0144_daily_bin885.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.82
user 0.38
sys 0.41

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.4498       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    8.1518       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .40413       1.0000         .10000E-03   10000.    
     7 'norm      '    .76641       1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.875       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10272E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10334E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.393       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11905E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    20.012       1.0000         .10000E-03   10000.    
    14 'Prefactor '    26.654       1.0000         .10000E-03   10000.    
    15 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10975E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.6778       1.0000         .10000E-03   10000.    
    19 'norm      '    3.8495       1.0000         .10000E-03   10000.    
    20 'norm      '    2.0249       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0553       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .97652       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=   6277.857     FROM MIGRAD    STATUS=CONVERGED    470 CALLS     2342 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    66.508        .88056E-05** at limit **
   2  Prefactor     2.4495        6.1341        .85716E-06   -.75471E-04
   3  norm          .10000E-03    4.3376       -.28238E-07** at limit **
   4  Prefactor     .10000E-03    1.8397        .13851E-07** at limit **
   5  norm          8.1530        4.9633        .26273E-08   -.58780E-04
   6  Prefactor     .41398        3.2005        .26320E-05   -.28526E-03
   7  norm          .76654        .62828        .14009E-07   -.98730E-04
   8  Prefactor     11.898        29.189        .64114E-06    .96608E-05
   9  Prefactor     .10000E-03    17.816        .18475E-06** at limit **
  10  Prefactor     .10000E-03    79.736       -.17729E-05** at limit **
  11  Prefactor     14.394        13.843        .10214E-05   -.80236E-04
  12  Prefactor     .10000E-03    34.500       -.42301E-07** at limit **
  13  Prefactor     20.018        12.937       -.15593E-06   -.76958E-04
  14  Prefactor     26.654        21.252        .37199E-07   -.39917E-04
  15  norm          .10000E-03    9.2484        .73783E-07** at limit **
  16  Prefactor     .10000E-03    3.7057        .55741E-08** at limit **
  17  Prefactor     .10000E-03    82.019       -.71649E-05** at limit **
  18  Prefactor     5.6780        4.7509       -.29110E-07   -.41685E-04
  19  norm          3.8499        12.340       -.15132E-07   -.32140E-04
  20  norm          2.0246        6.5784        .83894E-06   -.91229E-04
  21  Normalizat    1.0553        .18825       -.92314E-06   -.11447E-03
  22  Prefactor     .97655        .13601       -.66380E-06   -.15466E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100006
  Prefactor  = 2.44951
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 8.15297
  Prefactor  = 0.41398
  norm       = 0.766541
  Prefactor  = 11.898
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 14.3942
  Prefactor  = 0.0001
  Prefactor  = 20.0181
  Prefactor  = 26.6538
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 5.678
  norm       = 3.84993
  norm       = 2.02461
  Normalizat = 1.05531
  Prefactor  = 0.976548
 **********
 **   18 **HESSE 
 **********

 FCN=   6277.857     FROM HESSE     STATUS=OK           348 CALLS     2690 TOTAL
                     EDM=   .74E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    70.151        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.4495        6.1511        .26135E-03   -1.5395    
   3  norm          .10000E-03    4.3386        .16117E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.8433        .10495E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          8.1530        4.9645        .13222E-03   -1.5137    
   6  Prefactor     .41398        3.4554        .26307E-02   -1.5579    
   7  norm          .76654        .65848        .54711E-03   -1.5533    
   8  Prefactor     11.898        29.485        .11625E-03   -1.5018    
   9  Prefactor     .10000E-03    18.460        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    80.108        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     14.394        13.928        .52787E-03   -1.4949    
  12  Prefactor     .10000E-03    34.863        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     20.018        12.954        .89533E-04   -1.4813    
  14  Prefactor     26.654        21.270        .77595E-04   -1.4675    
  15  norm          .10000E-03    9.3093        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    3.7143        .14895E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    84.358        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.6780        4.7520        .15261E-03   -1.5231    
  19  norm          3.8499        12.252        .20569E-03   -1.5316    
  20  norm          2.0246        6.5551        .29078E-03   -1.5423    
  21  Normalizat    1.0553        .21439        .28634E-03   -.91200    
  22  Prefactor     .97655        .15542        .21303E-03   -.93515    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.40076e-08
Minuit parameter uncertainties:
  1  0.00132922
  2  6.15264
  3  5.3168e-07
  4  1.9436e-07
  5  4.96472
  6  2.39194
  7  0.658488
  8  29.5214
  9  8.57621e-06
  10  0.000465512
  11  13.9312
  12  0.00011088
  13  12.9558
  14  21.2765
  15  1.08346e-05
  16  2.01167e-06
  17  0.000967165
  18  4.75228
  19  12.2596
  20  6.55742
  21  0.214569
  22  0.155487
Done.

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

Extracting fit parameters...

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  7.665e-01  6.585e-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.765e-01  1.555e-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.055e+00  2.146e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.58
Ra Dec: 34.462 1.735
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 3.20e-08 +/- 2.75e-08
Energy Flux (Fixed Index): 1.36e-05 +/- 1.17e-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) = 6277.38783981
delta logL = 0.46898425088

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6277.36274357
delta logL = 0.494080490871

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .28909       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.2236       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0827       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96841       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=   6277.363     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      215 TOTAL
                     EDM=   .60E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .28902        .27171        .90998E-02   -.32363E-03
   2  alpha         1.2235        .44922        .37590       -.32769E-04
   3  Normalizat    1.0827        .17830        .64005E-01    .12212E-04
   4  Prefactor     .96841        .12876        .45871E-01    .52652E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.289018
  alpha      = 1.22352
  Normalizat = 1.0827
  Prefactor  = 0.968411
 **********
 **   18 **HESSE 
 **********

 FCN=   6277.363     FROM HESSE     STATUS=OK            35 CALLS      250 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .28902        .44930        .35421E-03   -1.5600    
   2  alpha         1.2235        .72838        .14758E-01   -.53587    
   3  Normalizat    1.0827        .20090        .28311E-03   -.90309    
   4  Prefactor     .96841        .14519        .21385E-03   -.93790    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.79796e-09
Minuit parameter uncertainties:
  1  0.449307
  2  0.743088
  3  0.201038
  4  0.145247
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/288682': 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) = 6277.36274353
delta logL = 0.494080532876

Extracting fit parameters...

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  2.890e-01  4.493e-01  1.000e-04  1.000e+04 ( 1.000e-11)
243        alpha:  1.224e+00  7.431e-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.684e-01  1.452e-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.083e+00  2.010e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.56
Ra Dec: 34.462 1.735
Photon Index (Free Index): 1.22 +/- 0.74
Photon Flux (Free Index): 7.90e-09 +/- 1.08e-08
Energy Flux (Free Index): 3.06e-05 +/- 4.63e-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/288682/cmap_HighResolution_468720001_468979201_4FGL_J0217.8+0144_daily_bin885.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.20e-08', energy_flux2='3.06e-05', photon_flux_error='2.75e-08', dlogl='4.94e-01', energy_flux='1.36e-05', photon_flux2='7.90e-09', job_status='DONE', time_completed='2021-08-15 16:48:09.478805', photon_index_error2='0.74', photon_index2='1.22', ts='7.58', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='4.63e-05', EG='1.06', time_epoch_completed='1629071289.48', return_code='0', job_id='288682', GAL2='0.97', EG2='1.08', return_code2='0', energy_flux_error='1.17e-05', photon_flux_error2='1.08e-08', ts2='8.56', photon_index='2.16' WHERE bin_id='885' AND source_name='4FGL J0217.8+0144' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 16:48:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 288682: <4FGL_J0217.8+0144_daily_bin885> in cluster <slac> Done

Job <4FGL_J0217.8+0144_daily_bin885> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Aug 15 16:35:47 2021
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 16:37:01 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:37:01 2021
Terminated at Sun Aug 15 16:48:10 2021
Results reported at Sun Aug 15 16:48:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0217.8+0144_daily_bin885 34.4621 1.7346 468720001 468979201 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 :                                   596.35 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   670 sec.
    Turnaround time :                            743 sec.

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

