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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1726
RA = 331.892, Dec = -53.7719
tmin = 686707201, tmax = 686966401
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='88313', job_status='RUN', time_executed='2022-10-09 00:36:33.891449', time_epoch_executed='1665300993.89' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1726'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/88313

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/88313/ft1_4FGL_J2207.5-5346_daily_bin1726.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/88313/ft2_4FGL_J2207.5-5346_daily_bin1726.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/88313/ft1_4FGL_J2207.5-5346_daily_bin1726.fits outfile=/scratch/kocevski/88313/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1726.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=686707201.0 tmax=686966401.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.08
user 2.86
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/88313/ft2_4FGL_J2207.5-5346_daily_bin1726.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/88313/ft2_4FGL_J2207.5-5346_daily_bin1726.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/88313/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1726.fits evtable="EVENTS" outfile="/scratch/kocevski/88313/ft1_filtered_4FGL_J2207.5-5346_daily_bin1726.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.50
user 0.36
sys 0.14

Number of photons that the gtmktime cut: 1064

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/88313/ft1_filtered_4FGL_J2207.5-5346_daily_bin1726.fits" evtable="EVENTS" scfile=/scratch/kocevski/88313/ft2_4FGL_J2207.5-5346_daily_bin1726.fits sctable="SC_DATA" outfile=/scratch/kocevski/88313/ltcube_686707201_686966401_4FGL_J2207.5-5346_daily_bin1726.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/88313/ft2_4FGL_J2207.5-5346_daily_bin1726.fits
.....................!
real 13.85
user 13.51
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/88313/ft1_filtered_4FGL_J2207.5-5346_daily_bin1726.fits evtable="EVENTS" scfile=/scratch/kocevski/88313/ft2_4FGL_J2207.5-5346_daily_bin1726.fits sctable="SC_DATA" expcube=/scratch/kocevski/88313/ltcube_686707201_686966401_4FGL_J2207.5-5346_daily_bin1726.fits outfile=/scratch/kocevski/88313/expmap_686707201_686966401_4FGL_J2207.5-5346_daily_bin1726.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/88313/ltcube_686707201_686966401_4FGL_J2207.5-5346_daily_bin1726.fits
.....................!
real 191.32
user 185.79
sys 5.19

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 177 point sources and 0 extended sources

Setting source of interest to:
4FGL J2207.5-5346 @ 331.892 -53.7719

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/88313/ft1_filtered_4FGL_J2207.5-5346_daily_bin1726.fits scfile=/scratch/kocevski/88313/ft2_4FGL_J2207.5-5346_daily_bin1726.fits outfile=/scratch/kocevski/88313/cmap_686707201_686966401_4FGL_J2207.5-5346_daily_bin1726.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=331.892 yref=-53.7719 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.56
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/88313/ft1_filtered_4FGL_J2207.5-5346_daily_bin1726.fits scfile=/scratch/kocevski/88313/ft2_4FGL_J2207.5-5346_daily_bin1726.fits outfile=/scratch/kocevski/88313/cmap_HighResolution_686707201_686966401_4FGL_J2207.5-5346_daily_bin1726.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=331.892 yref=-53.7719 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.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/88313/ft1_filtered_4FGL_J2207.5-5346_daily_bin1726.fits evtable="EVENTS" scfile=/scratch/kocevski/88313/ft2_4FGL_J2207.5-5346_daily_bin1726.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/88313/Model_4FGL_J2207.5-5346_daily_bin1726.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/88313/ft1_filtered_4FGL_J2207.5-5346_daily_bin1726.fits.....................!
real 79.51
user 78.14
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/88313/ft1_filtered_4FGL_J2207.5-5346_daily_bin1726.fits', '/scratch/kocevski/88313/ft2_4FGL_J2207.5-5346_daily_bin1726.fits', expMap='/scratch/kocevski/88313/expmap_686707201_686966401_4FGL_J2207.5-5346_daily_bin1726.fits', expCube='/scratch/kocevski/88313/ltcube_686707201_686966401_4FGL_J2207.5-5346_daily_bin1726.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/88313/Model_4FGL_J2207.5-5346_daily_bin1726.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2207.5-5346'

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.875e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
337        Index:  2.436e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
338        Scale:  7.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/88313/ft1_filtered_4FGL_J2207.5-5346_daily_bin1726.fits
Spacecraft file(s): /scratch/kocevski/88313/ft2_4FGL_J2207.5-5346_daily_bin1726.fits
Exposure map: /scratch/kocevski/88313/expmap_686707201_686966401_4FGL_J2207.5-5346_daily_bin1726.fits
Exposure cube: /scratch/kocevski/88313/ltcube_686707201_686966401_4FGL_J2207.5-5346_daily_bin1726.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/88313/Model_4FGL_J2207.5-5346_daily_bin1726.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) = 11314.7170637

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.8984       1.0000          .0000       .10000E+07
     2 'Prefactor '    17.181       1.0000          .0000       .10000E+07
     3 'Prefactor '    13.023       1.0000          .0000       .10000E+07
     4 'Prefactor '    .25923E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .15075E-03   1.0000          .0000       .10000E+07
     6 'norm      '     .0000       1.0000          .0000       .10000E+07
     7 'Prefactor '    29.777       1.0000          .0000       .10000E+07
     8 'Prefactor '    .62267E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    6.8629       1.0000          .0000       .10000E+07
    10 'Prefactor '    .30149       1.0000          .0000       .10000E+07
    11 'norm      '    .25454E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .13257E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    3.0830       1.0000          .0000       .10000E+07
    14 'Prefactor '    .13873E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .55862E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .51024E-04   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.2278       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .94300       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11314.71     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     1320 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.8986        2.1443       -.20209E-07    .19907E-03
   2  Prefactor     17.195        1.0083       -.28157E-09    .18324E-02
   3  Prefactor     13.030        7.0268       -.20098E-07   -.34397E-03
   4  Prefactor     .11491E-07    15.430       -.27671E-07** at limit **
   5  Prefactor     .11102E-09    6.3416       -.15773E-06** at limit **
   6  norm           .0000        .12215       -.36240E-07** at limit **
   7  Prefactor     29.881        2.5924       -.15736E-07    .13954    
   8  Prefactor      .0000        4.1543        .13237E-06** at limit **
   9  Prefactor     6.8654        3.2319       -.21709E-07    .94434E-04
  10  Prefactor     .78271E-07    51.859       -.37462E-07** at limit **
  11  norm           .0000        1.3553        .46640E-07** at limit **
  12  Prefactor      .0000        1.3862        .21335E-07** at limit **
  13  Prefactor     3.0830        3.0977        .25630E-07   -.39386E-03
  14  Prefactor     .45797E-07    61.214        .38339E-06** at limit **
  15  Prefactor     .76605E-08    11.499       -.25824E-06** at limit **
  16  Prefactor      .0000        2.8973        .14542E-06** at limit **
  17  Normalizat    1.2277        .16796       -.42020E-05   -.95068E-05
  18  Prefactor     .94297        .12952        .39360E-05   -.56180E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.89856
  Prefactor  = 17.1953
  Prefactor  = 13.0304
  Prefactor  = 1.14908e-08
  Prefactor  = 1.11022e-10
  norm       = 0
  Prefactor  = 29.881
  Prefactor  = 0
  Prefactor  = 6.86543
  Prefactor  = 7.82707e-08
  norm       = 0
  Prefactor  = 0
  Prefactor  = 3.08295
  Prefactor  = 4.57967e-08
  Prefactor  = 7.66054e-09
  Prefactor  = 0
  Normalizat = 1.22773
  Prefactor  = 0.942972
 **********
 **   18 **HESSE 
 **********

 FCN=   11314.71     FROM HESSE     STATUS=OK           278 CALLS     1598 TOTAL
                     EDM=   .52E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.8986        2.1567        .51077E-03   -1.5668    
   2  Prefactor     17.195        14.344        .24136E-03   -1.5625    
   3  Prefactor     13.030        7.0358        .27731E-03   -1.5636    
   4  Prefactor     .11491E-07    15.446        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .11102E-09    6.0756        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        .12162        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     29.881        28.046        .18329E-03   -1.5599    
   8  Prefactor      .0000        4.1737        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.8654        3.2332        .38274E-03   -1.5656    
  10  Prefactor     .78271E-07    51.942        .10192E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.3607        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        1.3840        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.0830        3.1090        .57738E-03   -1.5673    
  14  Prefactor     .45797E-07    61.103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .76605E-08    11.542        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        2.9017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.2277        .14280        .58321E-01   -.85750    
  18  Prefactor     .94297        .10992        .45551E-01   -.94655    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.18257e-07
Minuit parameter uncertainties:
  1  2.1567
  2  14.344
  3  7.03578
  4  0.000841822
  5  5.11692e-05
  6  1.85971e-07
  7  28.0461
  8  5.51994e-06
  9  3.23316
  10  0.00403217
  11  2.06842e-06
  12  6.17471e-07
  13  3.10899
  14  0.00334515
  15  0.000594182
  16  1.05078e-05
  17  0.142844
  18  0.109943
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  6.865e+00  3.233e+00  0.000e+00  1.000e+06 ( 1.000e-12)
337        Index:  2.436e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
338        Scale:  7.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  9.430e-01  1.099e-01  0.000e+00  1.000e+01 ( 1.000e+00)
579        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
580        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  1.228e+00  1.428e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.04
Ra Dec: 331.892 -53.772
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 6.30e-08 +/- 2.96e-08
Energy Flux (Fixed Index): 1.97e-05 +/- 9.29e-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) = 11314.6965516
delta logL = 0.0161919136262

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11314.6894162
delta logL = 0.023327232353

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.4570       1.0000          .0000       .10000E+07
     2 'Index     '    2.5389       1.0000          .0000       10.000    
     3 'Normalizat'    1.2205       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94658       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11314.69     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      217 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.4540        50.480        .39473E-03    .36901E-02
   2  Index         2.5396        3.4133        .14619        .17778E-03
   3  Normalizat    1.2205        .77214E-01    .58462E-01    .60083E-05
   4  Prefactor     .94656        .47666E-01    .45596E-01    .78141E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.45397
  Index      = 2.53965
  Normalizat = 1.22053
  Prefactor  = 0.946556
 **********
 **   18 **HESSE 
 **********

 FCN=   11314.69     FROM HESSE     STATUS=OK            33 CALLS      250 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.4540        3.8667        .11866E-04   -1.5657    
   2  Index         2.5396        .51301        .74866E-02   -.51447    
   3  Normalizat    1.2205        .17061        .25855E-03   -.85971    
   4  Prefactor     .94656        .12990        .22370E-03   -.94533    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2161e-11
Minuit parameter uncertainties:
  1  3.86668
  2  0.51421
  3  0.170688
  4  0.129943
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/88313': 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) = 11314.6894147
delta logL = 0.0233287742212

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  6.454e+00  3.867e+00  0.000e+00  1.000e+06 ( 1.000e-12)
337        Index:  2.540e+00  5.142e-01  0.000e+00  1.000e+01 (-1.000e+00)
338        Scale:  7.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  9.466e-01  1.299e-01  0.000e+00  1.000e+01 ( 1.000e+00)
579        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
580        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  1.221e+00  1.707e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.08
Ra Dec: 331.892 -53.772
Photon Index (Free Index): 2.54 +/- 0.51
Photon Flux (Free Index): 6.80e-08 +/- 3.79e-08
Energy Flux (Free Index): 1.89e-05 +/- 9.65e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/88313/cmap_HighResolution_686707201_686966401_4FGL_J2207.5-5346_daily_bin1726.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.30e-08', energy_flux2='1.89e-05', photon_flux_error='2.96e-08', dlogl='2.33e-02', energy_flux='1.97e-05', photon_flux2='6.80e-08', job_status='DONE', time_completed='2022-10-09 00:47:15.922358', photon_index_error2='0.51', photon_index2='2.54', ts='8.04', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='9.65e-06', EG='1.23', time_epoch_completed='1665301635.92', return_code='0', job_id='88313', GAL2='0.95', EG2='1.22', return_code2='0', energy_flux_error='9.29e-06', photon_flux_error2='3.79e-08', ts2='8.08', photon_index='2.44' WHERE bin_id='1726' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Oct  9 00:47:15 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0174>
Subject: Job 88313: <4FGL_J2207.5-5346_daily_bin1726> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin1726> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Oct  9 00:35:49 2022
Job was executed on host(s) <bullet0174>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Oct  9 00:35:57 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Oct  9 00:35:57 2022
Terminated at Sun Oct  9 00:47:16 2022
Results reported at Sun Oct  9 00:47:16 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1726 331.892 -53.7719 686707201 686966401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2207.5-5346 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   644.07 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             347.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   679 sec.
    Turnaround time :                            687 sec.

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

