aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 69 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7626
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0217.8+0144_daily_bin1778
RA = 34.4621, Dec = 1.7346
tmin = 700185601, tmax = 700444801
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='949689', job_status='RUN', time_executed='2023-03-14 00:07:39.085974', time_epoch_executed='1678777659.09' WHERE source_name='4FGL J0217.8+0144' and cadence='daily' and bin_id='1778'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/949689

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/949689/ft1_4FGL_J0217.8+0144_daily_bin1778.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/949689/ft2_4FGL_J0217.8+0144_daily_bin1778.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/949689/ft1_4FGL_J0217.8+0144_daily_bin1778.fits outfile=/scratch/kocevski/949689/ft1_filteredMKT_4FGL_J0217.8+0144_daily_bin1778.fits ra=34.4621 dec=1.7346 rad=12.0 tmin=700185601.0 tmax=700444801.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.42
user 3.71
sys 0.22

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

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

Number of photons that the gtmktime cut: 516

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/949689/ft1_filtered_4FGL_J0217.8+0144_daily_bin1778.fits" evtable="EVENTS" scfile=/scratch/kocevski/949689/ft2_4FGL_J0217.8+0144_daily_bin1778.fits sctable="SC_DATA" outfile=/scratch/kocevski/949689/ltcube_700185601_700444801_4FGL_J0217.8+0144_daily_bin1778.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/949689/ft2_4FGL_J0217.8+0144_daily_bin1778.fits
.....................!
real 19.48
user 18.47
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/949689/ft1_filtered_4FGL_J0217.8+0144_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/949689/ft2_4FGL_J0217.8+0144_daily_bin1778.fits sctable="SC_DATA" expcube=/scratch/kocevski/949689/ltcube_700185601_700444801_4FGL_J0217.8+0144_daily_bin1778.fits outfile=/scratch/kocevski/949689/expmap_700185601_700444801_4FGL_J0217.8+0144_daily_bin1778.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/949689/ltcube_700185601_700444801_4FGL_J0217.8+0144_daily_bin1778.fits
.....................!
real 191.67
user 186.56
sys 4.67

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/949689/ft1_filtered_4FGL_J0217.8+0144_daily_bin1778.fits scfile=/scratch/kocevski/949689/ft2_4FGL_J0217.8+0144_daily_bin1778.fits outfile=/scratch/kocevski/949689/cmap_700185601_700444801_4FGL_J0217.8+0144_daily_bin1778.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/949689/ft1_filtered_4FGL_J0217.8+0144_daily_bin1778.fits scfile=/scratch/kocevski/949689/ft2_4FGL_J0217.8+0144_daily_bin1778.fits outfile=/scratch/kocevski/949689/cmap_HighResolution_700185601_700444801_4FGL_J0217.8+0144_daily_bin1778.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.54
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/949689/ft1_filtered_4FGL_J0217.8+0144_daily_bin1778.fits', '/scratch/kocevski/949689/ft2_4FGL_J0217.8+0144_daily_bin1778.fits', expMap='/scratch/kocevski/949689/expmap_700185601_700444801_4FGL_J0217.8+0144_daily_bin1778.fits', expCube='/scratch/kocevski/949689/ltcube_700185601_700444801_4FGL_J0217.8+0144_daily_bin1778.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/949689/Model_4FGL_J0217.8+0144_daily_bin1778.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  0.000e+00  1.000e+06 ( 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 -5.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/949689/ft1_filtered_4FGL_J0217.8+0144_daily_bin1778.fits
Spacecraft file(s): /scratch/kocevski/949689/ft2_4FGL_J0217.8+0144_daily_bin1778.fits
Exposure map: /scratch/kocevski/949689/expmap_700185601_700444801_4FGL_J0217.8+0144_daily_bin1778.fits
Exposure cube: /scratch/kocevski/949689/ltcube_700185601_700444801_4FGL_J0217.8+0144_daily_bin1778.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/949689/Model_4FGL_J0217.8+0144_daily_bin1778.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) = 5571.59505779

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4227       1.0000          .0000       .10000E+07
     2 'norm      '    .35674E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .57075E-04   1.0000          .0000       .10000E+07
     4 'norm      '    7.2011       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.0277       1.0000          .0000       .10000E+07
     6 'norm      '    1.1449       1.0000          .0000       .10000E+07
     7 'Prefactor '    74.759       1.0000          .0000       .10000E+07
     8 'Prefactor '    .20375E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .65195E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .16448E-03   1.0000          .0000       .10000E+07
    11 'norm      '    5.0765       1.0000          .0000       .10000E+07
    12 'Prefactor '    .28318E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .30705E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    .19295E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .18496E-02   1.0000          .0000       .10000E+07
    16 'norm      '    18.272       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1667       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .90931       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5571.588     FROM MIGRAD    STATUS=CONVERGED    125 CALLS     1354 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4703        5.6969       -.65846E-06   -.74686E-03
   2  norm          .11602E-06    2.9941        .71764E-06** at limit **
   3  Prefactor     .44409E-09    2.9362        .89514E-06** at limit **
   4  norm          7.1914        5.0608        .32225E-06    .75326E-03
   5  Prefactor     1.0450        2.6248        .18644E-06   -.17952E-02
   6  norm          1.1450        .98057        .56010E-07   -.13310E-01
   7  Prefactor     74.198        5.8989       -.36769E-06    .28183    
   8  Prefactor     .26759E-05    23.150        .29511E-05** at limit **
   9  Prefactor     .16653E-08    4.3835        .11670E-05** at limit **
  10  Prefactor     .11126E-05    20.665        .21573E-05** at limit **
  11  norm          5.0555        8.0022        .11250E-05    .11797E-01
  12  Prefactor     .11990E-07    8.5374        .14629E-05** at limit **
  13  Prefactor     .22204E-09    18.844        .44089E-06** at limit **
  14  Prefactor     .51514E-07    4.6010       -.18765E-05** at limit **
  15  norm          .83766E-07    6.5397       -.26074E-05** at limit **
  16  norm          18.281        7.4822        .29660E-06    .40224E-02
  17  Normalizat    1.1667        .21953        .12247E-04   -.50788E-04
  18  Prefactor     .90953        .15871       -.16701E-04   -.11123E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.47033
  norm       = 1.16018e-07
  Prefactor  = 4.44089e-10
  norm       = 7.19144
  Prefactor  = 1.04499
  norm       = 1.14503
  Prefactor  = 74.1985
  Prefactor  = 2.67592e-06
  Prefactor  = 1.66533e-09
  Prefactor  = 1.11261e-06
  norm       = 5.05545
  Prefactor  = 1.19904e-08
  Prefactor  = 2.22045e-10
  Prefactor  = 5.15143e-08
  norm       = 8.37663e-08
  norm       = 18.2807
  Normalizat = 1.16674
  Prefactor  = 0.909531
 **********
 **   18 **HESSE 
 **********

 FCN=   5571.588     FROM HESSE     STATUS=OK           276 CALLS     1630 TOTAL
                     EDM=   .20E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4703        5.7227        .65729E-03   -1.5677    
   2  norm          .11602E-06    5.2757        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .44409E-09    2.9437        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.1914        5.0834        .37356E-03   -1.5654    
   5  Prefactor     1.0450        2.7968        .12576E-02   -1.5688    
   6  norm          1.1450        1.0033        .10839E-02   -1.5687    
   7  Prefactor     74.198        37.208        .11566E-03   -1.5536    
   8  Prefactor     .26759E-05    41.372        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .16653E-08    6.2684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11126E-05    46.999        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.0555        8.0094        .44602E-03   -1.5663    
  12  Prefactor     .11990E-07    8.6180        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .22204E-09    18.799        .16413E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .51514E-07    5.4804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .83766E-07    7.2472        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          18.281        7.4749        .23403E-03   -1.5622    
  17  Normalizat    1.1667        .19497        .60975E-01   -.87637    
  18  Prefactor     .90953        .13987        .45124E-01   -.95809    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.99185e-06
Minuit parameter uncertainties:
  1  5.72273
  2  0.0015648
  3  7.20994e-05
  4  5.08341
  5  2.79677
  6  1.00327
  7  37.208
  8  0.0210438
  9  0.000205594
  10  0.0144626
  11  8.00941
  12  0.00064333
  13  0.000129307
  14  0.00106279
  15  0.00155846
  16  7.47494
  17  0.19509
  18  0.139926
Done.

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

Extracting fit parameters...

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  1.145e+00  1.003e+00  0.000e+00  1.000e+06 ( 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 -5.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.095e-01  1.399e-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.167e+00  1.951e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.06
Ra Dec: 34.462 1.735
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 4.78e-08 +/- 4.19e-08
Energy Flux (Fixed Index): 2.03e-05 +/- 1.78e-05

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

Saving results to:
/scratch/kocevski/949689/likelihoodResults_700185601_700444801_4FGL_J0217.8+0144_daily_bin1778.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) = 5570.84586161
delta logL = 0.742573231858

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5570.83897214
delta logL = 0.749462700898

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .84166       1.0000          .0000       .10000E+07
     2 'alpha     '    3.0217       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1080       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93472       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=   5570.839     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      263 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .84152        9.8918        .49880E-03    .30054E-01
   2  alpha         3.0214        4.0011        .30656        .10528E-03
   3  Normalizat    1.1078        .74305E-01    .62269E-01    .39372E-03
   4  Prefactor     .93481        .53462E-01    .45446E-01    .20905E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.841524
  alpha      = 3.02142
  Normalizat = 1.10784
  Prefactor  = 0.934811
 **********
 **   18 **HESSE 
 **********

 FCN=   5570.839     FROM HESSE     STATUS=OK            29 CALLS      292 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .84152        .96980        .40706E-05   -1.5690    
   2  alpha         3.0214        .85137        .12321E-01    .21011    
   3  Normalizat    1.1078        .22249        .27542E-03   -.89500    
   4  Prefactor     .93481        .15750        .21433E-03   -.94935    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.03691e-10
Minuit parameter uncertainties:
  1  0.969798
  2  0.869586
  3  0.222675
  4  0.157581
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/949689': 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) = 5570.83897145
delta logL = 0.749463391813

Extracting fit parameters...

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  8.415e-01  9.698e-01  0.000e+00  1.000e+06 ( 1.000e-11)
243        alpha:  3.021e+00  8.696e-01  0.000e+00  5.000e+00 ( 1.000e+00)
244         beta:  6.385e-02  0.000e+00 -5.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.348e-01  1.576e-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.108e+00  2.227e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.67
Ra Dec: 34.462 1.735
Photon Index (Free Index): 3.02 +/- 0.87
Photon Flux (Free Index): 9.66e-08 +/- 6.36e-08
Energy Flux (Free Index): 1.96e-05 +/- 1.31e-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/949689/cmap_HighResolution_700185601_700444801_4FGL_J0217.8+0144_daily_bin1778.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.79e-05', comment='SUCCESS', photon_flux='4.78e-08', energy_flux2='1.96e-05', photon_flux_error='4.19e-08', dlogl='7.49e-01', energy_flux='2.03e-05', photon_flux2='9.66e-08', job_status='DONE', time_completed='2023-03-14 00:16:56.320492', photon_index_error2='0.87', photon_index2='3.02', ts='2.06', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='1.36e-07', energy_flux_error2='1.31e-05', EG='1.17', time_epoch_completed='1678778216.32', return_code='0', job_id='949689', GAL2='0.93', EG2='1.11', return_code2='0', energy_flux_error='1.78e-05', photon_flux_error2='6.36e-08', ts2='3.67', photon_index='2.16' WHERE bin_id='1778' AND source_name='4FGL J0217.8+0144' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Mar 14 00:16:56 PDT 2023

11', return_code2='0', energy_flux_error='1.78e-05', photon_flux_error2='6.36e-08', ts2='3.67', photon_index='2.16' WHERE bin_id='1778' AND source_name='4FGL J0217.8+0144' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Mar 14 00:15:49 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0010>
Subject: Job 949688: <4FGL_J0217.8+0144_daily_bin1778> in cluster <slac> Done

Job <4FGL_J0217.8+0144_daily_bin1778> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Mar 14 00:05:50 2023
Job was executed on host(s) <bullet0010>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 14 00:06:08 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 14 00:06:08 2023
Terminated at Tue Mar 14 00:15:50 2023
Results reported at Tue Mar 14 00:15:50 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0217.8+0144_daily_bin1778 34.4621 1.7346 700185601 700444801 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 :                                   517.00 sec.
    Max Memory :                                 617 MB
    Average Memory :                             297.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   581 sec.
    Turnaround time :                            600 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0012>
Subject: Job 949689: <4FGL_J0217.8+0144_daily_bin1778> in cluster <slac> Done

Job <4FGL_J0217.8+0144_daily_bin1778> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Mar 14 00:05:50 2023
Job was executed on host(s) <bullet0012>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 14 00:06:08 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 14 00:06:08 2023
Terminated at Tue Mar 14 00:16:57 2023
Results reported at Tue Mar 14 00:16:57 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0217.8+0144_daily_bin1778 34.4621 1.7346 700185601 700444801 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 :                                   521.02 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             290.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   648 sec.
    Turnaround time :                            667 sec.

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

