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


Performing analysis on: 4FGL_J0643.3+0857_monthly_bin168
RA = 100.835, Dec = 8.9525
tmin = 672451201, tmax = 675043201
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='621188', job_status='RUN', time_executed='2022-05-24 02:24:37.946983', time_epoch_executed='1653384277.95' WHERE source_name='4FGL J0643.3+0857' and cadence='monthly' and bin_id='168'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/621188

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

Retrieving the FT1 file...

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

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

Retrieving 455 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/621188/ft1_4FGL_J0643.3+0857_monthly_bin168.fits


Retrieving the FT1 file...

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

Retrieving 455 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/621188/ft2_4FGL_J0643.3+0857_monthly_bin168.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/621188/ft1_4FGL_J0643.3+0857_monthly_bin168.fits outfile=/scratch/kocevski/621188/ft1_filteredMKT_4FGL_J0643.3+0857_monthly_bin168.fits ra=100.835 dec=8.9525 rad=12.0 tmin=672451201.0 tmax=675043201.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 29.21
user 28.37
sys 0.76

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/621188/ft2_4FGL_J0643.3+0857_monthly_bin168.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/621188/ft2_4FGL_J0643.3+0857_monthly_bin168.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/621188/ft1_filteredMKT_4FGL_J0643.3+0857_monthly_bin168.fits evtable="EVENTS" outfile="/scratch/kocevski/621188/ft1_filtered_4FGL_J0643.3+0857_monthly_bin168.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.88
user 0.69
sys 0.17

Number of photons that the gtmktime cut: 31260

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/621188/ft1_filtered_4FGL_J0643.3+0857_monthly_bin168.fits" evtable="EVENTS" scfile=/scratch/kocevski/621188/ft2_4FGL_J0643.3+0857_monthly_bin168.fits sctable="SC_DATA" outfile=/scratch/kocevski/621188/ltcube_672451201_675043201_4FGL_J0643.3+0857_monthly_bin168.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/621188/ft2_4FGL_J0643.3+0857_monthly_bin168.fits
.....................!
real 148.49
user 147.71
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/621188/ft1_filtered_4FGL_J0643.3+0857_monthly_bin168.fits evtable="EVENTS" scfile=/scratch/kocevski/621188/ft2_4FGL_J0643.3+0857_monthly_bin168.fits sctable="SC_DATA" expcube=/scratch/kocevski/621188/ltcube_672451201_675043201_4FGL_J0643.3+0857_monthly_bin168.fits outfile=/scratch/kocevski/621188/expmap_672451201_675043201_4FGL_J0643.3+0857_monthly_bin168.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/621188/ltcube_672451201_675043201_4FGL_J0643.3+0857_monthly_bin168.fits
.....................!
real 193.43
user 187.64
sys 5.23

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 Monoceros in ROI with RadialGaussian spatial model.
Extended source Rosette in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/Rosette.fits is the correct path to the extended template.
Extended source IC 443 in ROI with RadialGaussian spatial model.
Added 167 point sources and 3 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 J0643.3+0857 @ 100.835 8.9525

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/621188/ft1_filtered_4FGL_J0643.3+0857_monthly_bin168.fits scfile=/scratch/kocevski/621188/ft2_4FGL_J0643.3+0857_monthly_bin168.fits outfile=/scratch/kocevski/621188/cmap_672451201_675043201_4FGL_J0643.3+0857_monthly_bin168.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=100.835 yref=8.9525 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.84
user 0.67
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/621188/ft1_filtered_4FGL_J0643.3+0857_monthly_bin168.fits scfile=/scratch/kocevski/621188/ft2_4FGL_J0643.3+0857_monthly_bin168.fits outfile=/scratch/kocevski/621188/cmap_HighResolution_672451201_675043201_4FGL_J0643.3+0857_monthly_bin168.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=100.835 yref=8.9525 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.86
user 0.68
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/621188/ft1_filtered_4FGL_J0643.3+0857_monthly_bin168.fits evtable="EVENTS" scfile=/scratch/kocevski/621188/ft2_4FGL_J0643.3+0857_monthly_bin168.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/621188/Model_4FGL_J0643.3+0857_monthly_bin168.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 IC 443
adding source Monoceros
adding source Rosette
Working on...
/scratch/kocevski/621188/ft1_filtered_4FGL_J0643.3+0857_monthly_bin168.fits....................!
real 4961.26
user 4946.98
sys 1.45

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/621188/ft1_filtered_4FGL_J0643.3+0857_monthly_bin168.fits', '/scratch/kocevski/621188/ft2_4FGL_J0643.3+0857_monthly_bin168.fits', expMap='/scratch/kocevski/621188/expmap_672451201_675043201_4FGL_J0643.3+0857_monthly_bin168.fits', expCube='/scratch/kocevski/621188/ltcube_672451201_675043201_4FGL_J0643.3+0857_monthly_bin168.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/621188/Model_4FGL_J0643.3+0857_monthly_bin168.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0643.3+0857'

4FGL J0643.3+0857
   Spectrum: LogParabola
312         norm:  7.802e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
313        alpha:  2.489e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
314         beta:  1.768e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
315           Eb:  7.718e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/621188/ft1_filtered_4FGL_J0643.3+0857_monthly_bin168.fits
Spacecraft file(s): /scratch/kocevski/621188/ft2_4FGL_J0643.3+0857_monthly_bin168.fits
Exposure map: /scratch/kocevski/621188/expmap_672451201_675043201_4FGL_J0643.3+0857_monthly_bin168.fits
Exposure cube: /scratch/kocevski/621188/ltcube_672451201_675043201_4FGL_J0643.3+0857_monthly_bin168.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/621188/Model_4FGL_J0643.3+0857_monthly_bin168.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) = 293625.634071

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.1055       1.0000         .10000E-03   10000.    
     3 'norm      '    5.8966       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.5241       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    10.081       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.9828       1.0000         .10000E-03   10000.    
     8 'norm      '    .87615       1.0000         .10000E-03   10000.    
     9 'norm      '    .37270E-01   1.0000         .10000E-03   10000.    
    10 'Normalizat'    1.1431       1.0000         .10000E-01   10.000    
    11 'Prefactor '    .97846       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5800E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   293624.8     FROM MIGRAD    STATUS=CONVERGED    210 CALLS      847 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.9855         .0000    ** at limit **
   2  norm          1.0984        2.4125         .0000        .21893    
   3  norm          5.9008        2.5093         .0000        .19901E-02
   4  Prefactor     4.5460        3.2864         .0000        .82468E-02
   5  Prefactor     .10000E-03    7.0076         .0000    ** at limit **
   6  norm          10.078        5.1004         .0000        .23569E-02
   7  Prefactor     1.9637        11.676         .0000        .33641E-03
   8  norm          .87604        .46745         .0000        .49189E-01
   9  norm          .37551E-01    .83457E-01     .0000        .47129E-01
  10  Normalizat    1.1431        .76142E-01     .0000        .10770E-02
  11  Prefactor     .97844        .11783E-01     .0000       -.43239E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.09844
  norm       = 5.90079
  Prefactor  = 4.54602
  Prefactor  = 0.0001
  norm       = 10.0781
  Prefactor  = 1.9637
  norm       = 0.876037
  norm       = 0.037551
  Normalizat = 1.14311
  Prefactor  = 0.97844
 **********
 **   18 **HESSE 
 **********

 FCN=   293624.8     FROM HESSE     STATUS=OK           120 CALLS      967 TOTAL
                     EDM=   .44E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.1627        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.0984        2.4205        .22529E-02   -1.5498    
   3  norm          5.9008        2.4832        .16538E-03   -1.5222    
   4  Prefactor     4.5460        3.2836        .94639E-03   -1.5282    
   5  Prefactor     .10000E-03    7.1556        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          10.078        5.1018        .12620E-03   -1.5073    
   7  Prefactor     1.9637        11.689        .29432E-03   -1.5428    
   8  norm          .87604        .45651        .25607E-03   -1.5521    
   9  norm          .37551E-01    .31256        .22451E-02   -1.5669    
  10  Normalizat    1.1431        .76288E-01    .86168E-03   -.88380    
  11  Prefactor     .97844        .12070E-01    .14734E-03   -.93452    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.44142e-06
Minuit parameter uncertainties:
  1  7.23861e-07
  2  2.42072
  3  2.48321
  4  3.28371
  5  3.86899e-06
  6  5.10204
  7  9.58447
  8  0.456514
  9  0.216387
  10  0.0762951
  11  0.0120696
Done.

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

Extracting fit parameters...

4FGL J0643.3+0857
   Spectrum: LogParabola
312         norm:  5.901e+00  2.483e+00  1.000e-04  1.000e+04 ( 1.000e-12)
313        alpha:  2.489e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
314         beta:  1.768e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
315           Eb:  7.718e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  9.784e-01  1.207e-02  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
564   Normalization:  1.143e+00  7.630e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.59
Ra Dec: 100.835 8.953
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 4.36e-08 +/- 1.83e-08
Energy Flux (Fixed Index): 1.36e-05 +/- 5.71e-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) = 293623.234547
delta logL = 1.6152281079

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 293620.8693
delta logL = 3.9804748426

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .27161       1.0000         .10000E-03   10000.    
     2 'alpha     '    .34731       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1533       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98127       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5800E+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=   293620.9     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      307 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .27079        .49171        .21321E-02   -.15379E-01
   2  alpha         .34618        .58145        .10431        .26193E-03
   3  Normalizat    1.1534        .73574E-01    .85875E-03    .83033E-04
   4  Prefactor     .98126        .11909E-01    .14717E-03    .19776E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.270787
  alpha      = 0.346182
  Normalizat = 1.15336
  Prefactor  = 0.981262
 **********
 **   18 **HESSE 
 **********

 FCN=   293620.9     FROM HESSE     STATUS=OK            27 CALLS      334 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .27079        .58993        .85282E-04   -1.5604    
   2  alpha         .34618        .67857        .41726E-02   -1.0383    
   3  Normalizat    1.1534        .73584E-01    .34350E-04   -.88057    
   4  Prefactor     .98126        .11912E-01    .58868E-05   -.93357    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1064e-09
Minuit parameter uncertainties:
  1  0.589945
  2  0.715931
  3  0.0735902
  4  0.0119124
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/621188': 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) = 293620.869298
delta logL = 3.98047678772

Extracting fit parameters...

4FGL J0643.3+0857
   Spectrum: LogParabola
312         norm:  2.708e-01  5.899e-01  1.000e-04  1.000e+04 ( 1.000e-12)
313        alpha:  3.462e-01  7.159e-01  0.000e+00  5.000e+00 ( 1.000e+00)
314         beta:  1.768e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
315           Eb:  7.718e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  9.813e-01  1.191e-02  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
564   Normalization:  1.153e+00  7.359e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.26
Ra Dec: 100.835 8.953
Photon Index (Free Index): 0.35 +/- 0.72
Photon Flux (Free Index): 1.54e-09 +/- 1.58e-09
Energy Flux (Free Index): 1.77e-05 +/- 1.25e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -4.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  4.440e+00 [aplpy.core]
Saving /scratch/kocevski/621188/cmap_HighResolution_672451201_675043201_4FGL_J0643.3+0857_monthly_bin168.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.36e-08', energy_flux2='1.77e-05', photon_flux_error='1.83e-08', dlogl='3.98e+00', energy_flux='1.36e-05', photon_flux2='1.54e-09', job_status='DONE', time_completed='2022-05-24 05:21:55.490030', photon_index_error2='0.72', photon_index2='0.35', ts='7.59', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='1.25e-05', EG='1.14', time_epoch_completed='1653394915.49', return_code='0', job_id='621188', GAL2='0.98', EG2='1.15', return_code2='0', energy_flux_error='5.71e-06', photon_flux_error2='1.58e-09', ts2='15.26', photon_index='2.49' WHERE bin_id='168' AND source_name='4FGL J0643.3+0857' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Tue May 24 05:21:55 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 621188: <4FGL_J0643.3+0857_monthly_bin168> in cluster <slac> Done

Job <4FGL_J0643.3+0857_monthly_bin168> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue May 24 02:20:41 2022
Job was executed on host(s) <bullet0207>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May 24 02:23:14 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May 24 02:23:14 2022
Terminated at Tue May 24 05:21:57 2022
Results reported at Tue May 24 05:21:57 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0643.3+0857_monthly_bin168 100.835 8.9525 672451201 675043201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0643.3+0857 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   10584.00 sec.
    Max Memory :                                 783 MB
    Average Memory :                             667.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   10723 sec.
    Turnaround time :                            10876 sec.

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

