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


Performing analysis on: 4FGL_J0217.4+7352_monthly_bin170
RA = 34.3533, Dec = 73.8804
tmin = 677635201, tmax = 680227201
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='84838', job_status='RUN', time_executed='2022-07-23 00:44:34.884557', time_epoch_executed='1658562274.88' WHERE source_name='4FGL J0217.4+7352' and cadence='monthly' and bin_id='170'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/84838

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

Retrieving the FT1 file...

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

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

Retrieving 455 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/84838/ft1_4FGL_J0217.4+7352_monthly_bin170.fits


Retrieving the FT1 file...

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

Retrieving 455 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/84838/ft2_4FGL_J0217.4+7352_monthly_bin170.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/84838/ft1_4FGL_J0217.4+7352_monthly_bin170.fits outfile=/scratch/kocevski/84838/ft1_filteredMKT_4FGL_J0217.4+7352_monthly_bin170.fits ra=34.3533 dec=73.8804 rad=12.0 tmin=677635201.0 tmax=680227201.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 32.51
user 31.58
sys 0.78

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/84838/ft2_4FGL_J0217.4+7352_monthly_bin170.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/84838/ft2_4FGL_J0217.4+7352_monthly_bin170.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/84838/ft1_filteredMKT_4FGL_J0217.4+7352_monthly_bin170.fits evtable="EVENTS" outfile="/scratch/kocevski/84838/ft1_filtered_4FGL_J0217.4+7352_monthly_bin170.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.67
sys 0.20

Number of photons that the gtmktime cut: 30802

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/84838/ft1_filtered_4FGL_J0217.4+7352_monthly_bin170.fits" evtable="EVENTS" scfile=/scratch/kocevski/84838/ft2_4FGL_J0217.4+7352_monthly_bin170.fits sctable="SC_DATA" outfile=/scratch/kocevski/84838/ltcube_677635201_680227201_4FGL_J0217.4+7352_monthly_bin170.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/84838/ft2_4FGL_J0217.4+7352_monthly_bin170.fits
.....................!
real 107.65
user 107.06
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/84838/ft1_filtered_4FGL_J0217.4+7352_monthly_bin170.fits evtable="EVENTS" scfile=/scratch/kocevski/84838/ft2_4FGL_J0217.4+7352_monthly_bin170.fits sctable="SC_DATA" expcube=/scratch/kocevski/84838/ltcube_677635201_680227201_4FGL_J0217.4+7352_monthly_bin170.fits outfile=/scratch/kocevski/84838/expmap_677635201_680227201_4FGL_J0217.4+7352_monthly_bin170.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/84838/ltcube_677635201_680227201_4FGL_J0217.4+7352_monthly_bin170.fits
.....................!
real 192.50
user 186.73
sys 5.34

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
Extended source HB 3 in ROI with RadialDisk spatial model.
Extended source W 3 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/W3.fits is the correct path to the extended template.
Added 193 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0217.4+7352 @ 34.3533 73.8804

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/84838/ft1_filtered_4FGL_J0217.4+7352_monthly_bin170.fits scfile=/scratch/kocevski/84838/ft2_4FGL_J0217.4+7352_monthly_bin170.fits outfile=/scratch/kocevski/84838/cmap_677635201_680227201_4FGL_J0217.4+7352_monthly_bin170.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.3533 yref=73.8804 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.87
user 0.65
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/84838/ft1_filtered_4FGL_J0217.4+7352_monthly_bin170.fits scfile=/scratch/kocevski/84838/ft2_4FGL_J0217.4+7352_monthly_bin170.fits outfile=/scratch/kocevski/84838/cmap_HighResolution_677635201_680227201_4FGL_J0217.4+7352_monthly_bin170.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.3533 yref=73.8804 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.83
user 0.66
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/84838/ft1_filtered_4FGL_J0217.4+7352_monthly_bin170.fits evtable="EVENTS" scfile=/scratch/kocevski/84838/ft2_4FGL_J0217.4+7352_monthly_bin170.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/84838/Model_4FGL_J0217.4+7352_monthly_bin170.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
adding source HB 3
adding source W 3
Working on...
/scratch/kocevski/84838/ft1_filtered_4FGL_J0217.4+7352_monthly_bin170.fits.....................!
real 4024.01
user 4015.86
sys 1.59

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/84838/ft1_filtered_4FGL_J0217.4+7352_monthly_bin170.fits', '/scratch/kocevski/84838/ft2_4FGL_J0217.4+7352_monthly_bin170.fits', expMap='/scratch/kocevski/84838/expmap_677635201_680227201_4FGL_J0217.4+7352_monthly_bin170.fits', expCube='/scratch/kocevski/84838/ltcube_677635201_680227201_4FGL_J0217.4+7352_monthly_bin170.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/84838/Model_4FGL_J0217.4+7352_monthly_bin170.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0217.4+7352'

4FGL J0217.4+7352
   Spectrum: PowerLaw
214    Prefactor:  1.785e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
215        Index:  2.940e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
216        Scale:  3.641e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/84838/ft1_filtered_4FGL_J0217.4+7352_monthly_bin170.fits
Spacecraft file(s): /scratch/kocevski/84838/ft2_4FGL_J0217.4+7352_monthly_bin170.fits
Exposure map: /scratch/kocevski/84838/expmap_677635201_680227201_4FGL_J0217.4+7352_monthly_bin170.fits
Exposure cube: /scratch/kocevski/84838/ltcube_677635201_680227201_4FGL_J0217.4+7352_monthly_bin170.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/84838/Model_4FGL_J0217.4+7352_monthly_bin170.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) = 292734.913634

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10113E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .19401E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .32965       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.6764       1.0000         .10000E-03   10000.    
     5 'norm      '    .10098E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.9460       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.4863       1.0000         .10000E-03   10000.    
     8 'norm      '    3.5590       1.0000         .10000E-03   10000.    
     9 'norm      '    .12481E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    16.789       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.0033       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.0343       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.2493       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.5724       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .13782       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.1498       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .97949       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   292734.8     FROM MIGRAD    STATUS=CONVERGED    387 CALLS     1558 TOTAL
                     EDM=   .28E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .56301E-01     .0000    ** at limit **
   2  Prefactor     .10000E-03    .55698         .0000    ** at limit **
   3  Prefactor     .34078        1.5350         .0000        .30508E-02
   4  Prefactor     1.6766        .26684         .0000        .22570E-01
   5  norm          .10000E-03    .93961         .0000    ** at limit **
   6  Prefactor     2.9473        .88199         .0000        .27817E-01
   7  Prefactor     1.4698        2.9012         .0000        .10552    
   8  norm          3.5581        2.0038         .0000        .52536E-01
   9  norm          .31962E-01    .12463         .0000        .50567E-02
  10  Prefactor     16.739        9.3424         .0000       -.21173E-02
  11  Prefactor     2.0049        .79577         .0000        .15946E-01
  12  Prefactor     1.0356        1.5923         .0000        .45369    
  13  Prefactor     2.2538        1.5556         .0000        .55104E-02
  14  Prefactor     3.5790        3.7073         .0000       -.44632E-03
  15  Prefactor     .17852        .50540         .0000        .73057E-02
  16  Normalizat    1.1497        .69027E-01     .0000        .82771E-03
  17  Prefactor     .97947        .10279E-01     .0000       -.10386E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.340783
  Prefactor  = 1.67661
  norm       = 0.0001
  Prefactor  = 2.94729
  Prefactor  = 1.46978
  norm       = 3.55814
  norm       = 0.0319616
  Prefactor  = 16.7394
  Prefactor  = 2.00492
  Prefactor  = 1.03562
  Prefactor  = 2.25383
  Prefactor  = 3.57897
  Prefactor  = 0.178521
  Normalizat = 1.14972
  Prefactor  = 0.979473
 **********
 **   18 **HESSE 
 **********

 FCN=   292734.8     FROM HESSE     STATUS=OK           269 CALLS     1827 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.3644        .24498E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    .57537        .14159       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .34078        1.4517        .20117       -1.5591    
   4  Prefactor     1.6766        .26549        .10692E-03   -1.5449    
   5  norm          .10000E-03    .95931        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.9473        .87352        .23662E-03   -1.5365    
   7  Prefactor     1.4698        2.9073        .17591E-02   -1.5465    
   8  norm          3.5581        2.0009        .10712E-02   -1.5331    
   9  norm          .31962E-01    .20460        .60775E-01   -1.5672    
  10  Prefactor     16.739        9.2884        .97747E-04   -1.4889    
  11  Prefactor     2.0049        .78966        .28827E-03   -1.5425    
  12  Prefactor     1.0356        1.5703        .24828E-02   -1.5504    
  13  Prefactor     2.2538        1.5491        .27398E-03   -1.5408    
  14  Prefactor     3.5790        3.7088        .21382E-03   -1.5330    
  15  Prefactor     .17852        .54344        .10734       -1.5623    
  16  Normalizat    1.1497        .68829E-01    .73900E-03   -.88171    
  17  Prefactor     .97947        .10643E-01    .12442E-03   -.93417    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17357e-07
Minuit parameter uncertainties:
  1  2.29581e-05
  2  2.27415e-06
  3  1.40659
  4  0.265494
  5  8.21434e-06
  6  0.873526
  7  2.9076
  8  2.00089
  9  0.161478
  10  9.28917
  11  0.789664
  12  1.57038
  13  1.54913
  14  3.70904
  15  0.543452
  16  0.0688346
  17  0.0106428
Done.

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

Extracting fit parameters...

4FGL J0217.4+7352
   Spectrum: PowerLaw
214    Prefactor:  2.947e+00  8.735e-01  1.000e-04  1.000e+04 ( 1.000e-11)
215        Index:  2.940e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
216        Scale:  3.641e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
640    Prefactor:  9.795e-01  1.064e-02  0.000e+00  1.000e+01 ( 1.000e+00)
641        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
642        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
639   Normalization:  1.150e+00  6.883e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 15.04
Ra Dec: 34.353 73.880
Photon Index (Fixed Index): 2.94 +/- 0.00
Photon Flux (Fixed Index): 6.80e-08 +/- 2.01e-08
Energy Flux (Fixed Index): 1.40e-05 +/- 4.15e-06

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) = 292734.760491
delta logL = 0.066535595397

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 292734.746652
delta logL = 0.0803740839474

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.0979       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8272       1.0000          .0000       10.000    
     3 'Normalizat'    1.1526       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97921       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   292734.7     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      283 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0973        .95263        .11520E-02    .94421E-03
   2  Index         2.8271        .28111        .11905E-01    .71610E-03
   3  Normalizat    1.1527        .65400E-01    .73820E-03    .41397E-04
   4  Prefactor     .97920        .10216E-01    .12443E-03    .58474E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.0973
  Index      = 2.82714
  Normalizat = 1.15269
  Prefactor  = 0.9792
 **********
 **   18 **HESSE 
 **********

 FCN=   292734.7     FROM HESSE     STATUS=OK            29 CALLS      312 TOTAL
                     EDM=   .28E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0973        .92174        .46081E-04   -1.5356    
   2  Index         2.8271        .27216        .23810E-02   -.44956    
   3  Normalizat    1.1527        .65435E-01    .14764E-03   -.88078    
   4  Prefactor     .97920        .10214E-01    .49772E-05   -.93426    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.77753e-12
Minuit parameter uncertainties:
  1  0.921744
  2  0.272325
  3  0.0654396
  4  0.0102144
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/84838': 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) = 292734.746651
delta logL = 0.0803748625331

Extracting fit parameters...

4FGL J0217.4+7352
   Spectrum: PowerLaw
214    Prefactor:  3.097e+00  9.217e-01  1.000e-04  1.000e+04 ( 1.000e-11)
215        Index:  2.827e+00  2.723e-01  0.000e+00  1.000e+01 (-1.000e+00)
216        Scale:  3.641e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
640    Prefactor:  9.792e-01  1.021e-02  0.000e+00  1.000e+01 ( 1.000e+00)
641        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
642        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
639   Normalization:  1.153e+00  6.544e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.14
Ra Dec: 34.353 73.880
Photon Index (Free Index): 2.83 +/- 0.27
Photon Flux (Free Index): 6.55e-08 +/- 1.97e-08
Energy Flux (Free Index): 1.44e-05 +/- 4.17e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -3.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  3.330e+00 [aplpy.core]
Saving /scratch/kocevski/84838/cmap_HighResolution_677635201_680227201_4FGL_J0217.4+7352_monthly_bin170.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.80e-08', energy_flux2='1.44e-05', photon_flux_error='2.01e-08', dlogl='8.04e-02', energy_flux='1.40e-05', photon_flux2='6.55e-08', job_status='DONE', time_completed='2022-07-23 04:43:43.345905', photon_index_error2='0.27', photon_index2='2.83', ts='15.04', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='4.17e-06', EG='1.15', time_epoch_completed='1658576623.35', return_code='0', job_id='84838', GAL2='0.98', EG2='1.15', return_code2='0', energy_flux_error='4.15e-06', photon_flux_error2='1.97e-08', ts2='15.14', photon_index='2.94' WHERE bin_id='170' AND source_name='4FGL J0217.4+7352' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Sat Jul 23 04:43:43 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0121>
Subject: Job 84838: <4FGL_J0217.4+7352_monthly_bin170> in cluster <slac> Done

Job <4FGL_J0217.4+7352_monthly_bin170> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Jul 23 00:40:37 2022
Job was executed on host(s) <bullet0121>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul 23 00:40:37 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul 23 00:40:37 2022
Terminated at Sat Jul 23 04:43:46 2022
Results reported at Sat Jul 23 04:43:46 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0217.4+7352_monthly_bin170 34.3533 73.8804 677635201 680227201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0217.4+7352 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   14317.00 sec.
    Max Memory :                                 812 MB
    Average Memory :                             719.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   14588 sec.
    Turnaround time :                            14589 sec.

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

