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


Performing analysis on: 4FGL_J2207.5-5346_weekly_bin734
RA = 331.892, Dec = -53.7719
tmin = 682905601, tmax = 683510401
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='339992', job_status='RUN', time_executed='2022-09-17 05:18:01.647363', time_epoch_executed='1663417081.65' WHERE source_name='4FGL J2207.5-5346' and cadence='weekly' and bin_id='734'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/339992

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

Retrieving the FT1 file...

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

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

Retrieving 106 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/339992/ft1_4FGL_J2207.5-5346_weekly_bin734.fits


Retrieving the FT1 file...

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

Retrieving 106 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/339992/ft2_4FGL_J2207.5-5346_weekly_bin734.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/339992/ft1_4FGL_J2207.5-5346_weekly_bin734.fits outfile=/scratch/kocevski/339992/ft1_filteredMKT_4FGL_J2207.5-5346_weekly_bin734.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=682905601.0 tmax=683510401.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 9.67
user 9.31
sys 0.31

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

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

Number of photons that the gtmktime cut: 1056

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/339992/ft1_filtered_4FGL_J2207.5-5346_weekly_bin734.fits" evtable="EVENTS" scfile=/scratch/kocevski/339992/ft2_4FGL_J2207.5-5346_weekly_bin734.fits sctable="SC_DATA" outfile=/scratch/kocevski/339992/ltcube_682905601_683510401_4FGL_J2207.5-5346_weekly_bin734.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/339992/ft2_4FGL_J2207.5-5346_weekly_bin734.fits
.....................!
real 27.74
user 27.33
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/339992/ft1_filtered_4FGL_J2207.5-5346_weekly_bin734.fits evtable="EVENTS" scfile=/scratch/kocevski/339992/ft2_4FGL_J2207.5-5346_weekly_bin734.fits sctable="SC_DATA" expcube=/scratch/kocevski/339992/ltcube_682905601_683510401_4FGL_J2207.5-5346_weekly_bin734.fits outfile=/scratch/kocevski/339992/expmap_682905601_683510401_4FGL_J2207.5-5346_weekly_bin734.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/339992/ltcube_682905601_683510401_4FGL_J2207.5-5346_weekly_bin734.fits
.....................!
real 192.97
user 187.47
sys 5.10

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/339992/ft1_filtered_4FGL_J2207.5-5346_weekly_bin734.fits scfile=/scratch/kocevski/339992/ft2_4FGL_J2207.5-5346_weekly_bin734.fits outfile=/scratch/kocevski/339992/cmap_682905601_683510401_4FGL_J2207.5-5346_weekly_bin734.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.58
user 0.40
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/339992/ft1_filtered_4FGL_J2207.5-5346_weekly_bin734.fits scfile=/scratch/kocevski/339992/ft2_4FGL_J2207.5-5346_weekly_bin734.fits outfile=/scratch/kocevski/339992/cmap_HighResolution_682905601_683510401_4FGL_J2207.5-5346_weekly_bin734.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.59
user 0.42
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/339992/ft1_filtered_4FGL_J2207.5-5346_weekly_bin734.fits evtable="EVENTS" scfile=/scratch/kocevski/339992/ft2_4FGL_J2207.5-5346_weekly_bin734.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/339992/Model_4FGL_J2207.5-5346_weekly_bin734.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/339992/ft1_filtered_4FGL_J2207.5-5346_weekly_bin734.fits.....................!
real 78.83
user 77.39
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/339992/ft1_filtered_4FGL_J2207.5-5346_weekly_bin734.fits', '/scratch/kocevski/339992/ft2_4FGL_J2207.5-5346_weekly_bin734.fits', expMap='/scratch/kocevski/339992/expmap_682905601_683510401_4FGL_J2207.5-5346_weekly_bin734.fits', expCube='/scratch/kocevski/339992/ltcube_682905601_683510401_4FGL_J2207.5-5346_weekly_bin734.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/339992/Model_4FGL_J2207.5-5346_weekly_bin734.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/339992/ft1_filtered_4FGL_J2207.5-5346_weekly_bin734.fits
Spacecraft file(s): /scratch/kocevski/339992/ft2_4FGL_J2207.5-5346_weekly_bin734.fits
Exposure map: /scratch/kocevski/339992/expmap_682905601_683510401_4FGL_J2207.5-5346_weekly_bin734.fits
Exposure cube: /scratch/kocevski/339992/ltcube_682905601_683510401_4FGL_J2207.5-5346_weekly_bin734.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/339992/Model_4FGL_J2207.5-5346_weekly_bin734.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) = 11566.0370483

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38969E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .35681E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    8.5387       1.0000          .0000       .10000E+07
     4 'Prefactor '    12.803       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.7770       1.0000          .0000       .10000E+07
     6 'norm      '    .69889E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    .35695E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .50589E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    8.5431       1.0000          .0000       .10000E+07
    10 'Prefactor '    52.482       1.0000          .0000       .10000E+07
    11 'norm      '    10.104       1.0000          .0000       .10000E+07
    12 'Prefactor '    .42300E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    2.1286       1.0000          .0000       .10000E+07
    14 'Prefactor '    .40731E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .46589E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .21044E-05   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.2360       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .80831       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=   11566.03     FROM MIGRAD    STATUS=CONVERGED    159 CALLS     1351 TOTAL
                     EDM=   .18E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.5532        .20047E-06** at limit **
   2  Prefactor      .0000        5.8316       -.14232E-07** at limit **
   3  Prefactor     8.5584        6.7812       -.56571E-06   -.15120E-03
   4  Prefactor     12.699        22.662       -.33697E-05    .85625E-04
   5  Prefactor     4.7773        3.1555       -.80469E-07    .16380E-02
   6  norm           .0000        .16479       -.25405E-06** at limit **
   7  Prefactor     .27756E-09    87.460       -.86176E-05** at limit **
   8  Prefactor      .0000        5.6582       -.44189E-06** at limit **
   9  Prefactor     8.5391        3.8329       -.15297E-06   -.59110E-03
  10  Prefactor     53.164        61.114        .27421E-05   -.63604E-04
  11  norm          10.052        5.4560       -.44676E-06   -.66599E-05
  12  Prefactor      .0000        3.5598        .14957E-06** at limit **
  13  Prefactor     2.1292        3.3196        .10200E-05   -.98830E-03
  14  Prefactor      .0000        15.936       -.28418E-05** at limit **
  15  Prefactor      .0000        13.732        .13581E-05** at limit **
  16  Prefactor      .0000        2.0241        .14713E-05** at limit **
  17  Normalizat    1.2358        .15805       -.16544E-04   -.91209E-04
  18  Prefactor     .80839        .11547        .40915E-05   -.42024E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 8.55843
  Prefactor  = 12.6986
  Prefactor  = 4.77727
  norm       = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  Prefactor  = 8.53906
  Prefactor  = 53.1636
  norm       = 10.0525
  Prefactor  = 0
  Prefactor  = 2.12923
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.23579
  Prefactor  = 0.808394
 **********
 **   18 **HESSE 
 **********

 FCN=   11566.03     FROM HESSE     STATUS=OK           280 CALLS     1631 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.5344        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        5.8283        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.5584        6.7909        .34281E-03   -1.5649    
   4  Prefactor     12.699        22.685        .27970E-03   -1.5637    
   5  Prefactor     4.7773        3.1672        .46009E-03   -1.5664    
   6  norm           .0000        .16293        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .27756E-09    86.721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        5.6206        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.5391        3.8271        .34272E-03   -1.5650    
  10  Prefactor     53.164        61.067        .13805E-03   -1.5562    
  11  norm          10.052        5.4612        .31498E-03   -1.5645    
  12  Prefactor      .0000        3.4405        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.1292        3.3300        .70643E-03   -1.5679    
  14  Prefactor      .0000        15.922        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        13.738        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        2.0291        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.2358        .13461        .55486E-01   -.85504    
  18  Prefactor     .80839        .98677E-01    .43825E-01   -.99420    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.74702e-08
Minuit parameter uncertainties:
  1  1.61657e-06
  2  2.95201e-06
  3  6.79094
  4  22.6849
  5  3.16724
  6  3.7579e-07
  7  0.000301503
  8  1.23314e-05
  9  3.82714
  10  61.0675
  11  5.46118
  12  1.04458e-05
  13  3.33004
  14  3.14301e-05
  15  2.69329e-05
  16  8.23316e-06
  17  0.134649
  18  0.0986983
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  8.539e+00  3.827e+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:  8.084e-01  9.870e-02  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.236e+00  1.346e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.62
Ra Dec: 331.892 -53.772
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 7.83e-08 +/- 3.51e-08
Energy Flux (Fixed Index): 2.45e-05 +/- 1.10e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11563.8355123
delta logL = 2.1945026285

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11563.8215675
delta logL = 2.2084474372

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.7498       1.0000          .0000       .10000E+07
     2 'Index     '    3.3811       1.0000          .0000       10.000    
     3 'Normalizat'    1.1658       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84176       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=   11563.82     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      248 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.7498        14.682        .52115E-03    .97972E-02
   2  Index         3.3811        2.2167        .10706        .26201E-03
   3  Normalizat    1.1658        .56005E-01    .56782E-01    .20371E-04
   4  Prefactor     .84178        .40100E-01    .44258E-01    .25716E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.74983
  Index      = 3.38112
  Normalizat = 1.1658
  Prefactor  = 0.841783
 **********
 **   18 **HESSE 
 **********

 FCN=   11563.82     FROM HESSE     STATUS=OK            33 CALLS      281 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.7498        3.8023        .66697E-05   -1.5669    
   2  Index         3.3811        .66447        .42808E-02   -.32972    
   3  Normalizat    1.1658        .15881        .25110E-03   -.87666    
   4  Prefactor     .84178        .11685        .21811E-03   -.98206    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.974e-08
Minuit parameter uncertainties:
  1  3.80226
  2  0.66667
  3  0.158873
  4  0.116881
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/339992': 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) = 11563.8215674
delta logL = 2.20844748647

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  3.750e+00  3.802e+00  0.000e+00  1.000e+06 ( 1.000e-12)
337        Index:  3.381e+00  6.667e-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:  8.418e-01  1.169e-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.166e+00  1.589e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.45
Ra Dec: 331.892 -53.772
Photon Index (Free Index): 3.38 +/- 0.67
Photon Flux (Free Index): 1.38e-07 +/- 4.95e-08
Energy Flux (Free Index): 2.38e-05 +/- 8.52e-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/339992/cmap_HighResolution_682905601_683510401_4FGL_J2207.5-5346_weekly_bin734.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.83e-08', energy_flux2='2.38e-05', photon_flux_error='3.51e-08', dlogl='2.21e+00', energy_flux='2.45e-05', photon_flux2='1.38e-07', job_status='DONE', time_completed='2022-09-17 05:29:51.002943', photon_index_error2='0.67', photon_index2='3.38', ts='8.62', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', energy_flux_error2='8.52e-06', EG='1.24', time_epoch_completed='1663417791.0', return_code='0', job_id='339992', GAL2='0.84', EG2='1.17', return_code2='0', energy_flux_error='1.10e-05', photon_flux_error2='4.95e-08', ts2='13.45', photon_index='2.44' WHERE bin_id='734' AND source_name='4FGL J2207.5-5346' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Sep 17 05:29:51 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 339992: <4FGL_J2207.5-5346_weekly_bin734> in cluster <slac> Done

Job <4FGL_J2207.5-5346_weekly_bin734> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sat Sep 17 05:15:29 2022
Job was executed on host(s) <bullet0069>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 17 05:16:09 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 17 05:16:09 2022
Terminated at Sat Sep 17 05:29:51 2022
Results reported at Sat Sep 17 05:29:51 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_weekly_bin734 331.892 -53.7719 682905601 683510401 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 :                                   708.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             316.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   822 sec.
    Turnaround time :                            862 sec.

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

