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


Performing analysis on: 4FGL_J2207.5-5346_weekly_bin731
RA = 331.892, Dec = -53.7719
tmin = 681091201, tmax = 681696001
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='130447', job_status='RUN', time_executed='2022-08-09 01:02:35.032708', time_epoch_executed='1660032155.03' WHERE source_name='4FGL J2207.5-5346' and cadence='weekly' and bin_id='731'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/130447

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/130447/ft1_4FGL_J2207.5-5346_weekly_bin731.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/130447/ft2_4FGL_J2207.5-5346_weekly_bin731.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/130447/ft1_4FGL_J2207.5-5346_weekly_bin731.fits outfile=/scratch/kocevski/130447/ft1_filteredMKT_4FGL_J2207.5-5346_weekly_bin731.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=681091201.0 tmax=681696001.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 5.79
user 5.54
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/130447/ft2_4FGL_J2207.5-5346_weekly_bin731.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/130447/ft1_filteredMKT_4FGL_J2207.5-5346_weekly_bin731.fits evtable="EVENTS" outfile="/scratch/kocevski/130447/ft1_filtered_4FGL_J2207.5-5346_weekly_bin731.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.53
user 0.37
sys 0.15

Number of photons that the gtmktime cut: 408

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/130447/ft1_filtered_4FGL_J2207.5-5346_weekly_bin731.fits" evtable="EVENTS" scfile=/scratch/kocevski/130447/ft2_4FGL_J2207.5-5346_weekly_bin731.fits sctable="SC_DATA" outfile=/scratch/kocevski/130447/ltcube_681091201_681696001_4FGL_J2207.5-5346_weekly_bin731.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/130447/ft2_4FGL_J2207.5-5346_weekly_bin731.fits
.....................!
real 27.64
user 27.26
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/130447/ft1_filtered_4FGL_J2207.5-5346_weekly_bin731.fits evtable="EVENTS" scfile=/scratch/kocevski/130447/ft2_4FGL_J2207.5-5346_weekly_bin731.fits sctable="SC_DATA" expcube=/scratch/kocevski/130447/ltcube_681091201_681696001_4FGL_J2207.5-5346_weekly_bin731.fits outfile=/scratch/kocevski/130447/expmap_681091201_681696001_4FGL_J2207.5-5346_weekly_bin731.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/130447/ltcube_681091201_681696001_4FGL_J2207.5-5346_weekly_bin731.fits
.....................!
real 190.54
user 184.46
sys 5.72

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/130447/ft1_filtered_4FGL_J2207.5-5346_weekly_bin731.fits scfile=/scratch/kocevski/130447/ft2_4FGL_J2207.5-5346_weekly_bin731.fits outfile=/scratch/kocevski/130447/cmap_681091201_681696001_4FGL_J2207.5-5346_weekly_bin731.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.57
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/130447/ft1_filtered_4FGL_J2207.5-5346_weekly_bin731.fits scfile=/scratch/kocevski/130447/ft2_4FGL_J2207.5-5346_weekly_bin731.fits outfile=/scratch/kocevski/130447/cmap_HighResolution_681091201_681696001_4FGL_J2207.5-5346_weekly_bin731.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.58
user 0.39
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/130447/ft1_filtered_4FGL_J2207.5-5346_weekly_bin731.fits', '/scratch/kocevski/130447/ft2_4FGL_J2207.5-5346_weekly_bin731.fits', expMap='/scratch/kocevski/130447/expmap_681091201_681696001_4FGL_J2207.5-5346_weekly_bin731.fits', expCube='/scratch/kocevski/130447/ltcube_681091201_681696001_4FGL_J2207.5-5346_weekly_bin731.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/130447/Model_4FGL_J2207.5-5346_weekly_bin731.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  1.000e-04  1.000e+04 ( 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/130447/ft1_filtered_4FGL_J2207.5-5346_weekly_bin731.fits
Spacecraft file(s): /scratch/kocevski/130447/ft2_4FGL_J2207.5-5346_weekly_bin731.fits
Exposure map: /scratch/kocevski/130447/expmap_681091201_681696001_4FGL_J2207.5-5346_weekly_bin731.fits
Exposure cube: /scratch/kocevski/130447/ltcube_681091201_681696001_4FGL_J2207.5-5346_weekly_bin731.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/130447/Model_4FGL_J2207.5-5346_weekly_bin731.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) = 4614.74169274

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10128E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    313.96       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10401E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    237.02       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10438E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.5118       1.0000         .10000E-03   10000.    
     8 'norm      '    .77503       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.9704       1.0000         .10000E-03   10000.    
    11 'Prefactor '    23.008       1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.510       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.2706       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    21.083       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.6474       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .59118       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4614.737     FROM MIGRAD    STATUS=CONVERGED    808 CALLS     2711 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.8650        .17369E-02** at limit **
   2  Prefactor     313.95        272.78        .11469E-03   -.13481E-05
   3  Prefactor     .10000E-03    82.799        .18142E-02** at limit **
   4  Prefactor     237.02        142.94        .26295E-04   -.12971E-05
   5  Prefactor     .10000E-03    105.40        .18142E-02** at limit **
   6  Prefactor     .10000E-03    21.670        .18142E-02** at limit **
   7  Prefactor     8.5084        13.383        .13740E-03   -.17293E-04
   8  norm          .77426        .71438        .54584E-03    .10097E-03
   9  Prefactor     .10000E-03    33.935        .18142E-02** at limit **
  10  Prefactor     1.9904        88.827        .14770E-02   -.52419E-05
  11  Prefactor     23.008        9.5585        .83507E-04   -.47649E-05
  12  Prefactor     11.327        1145.6        .11808E-03   -.12516E-05
  13  norm          .10000E-03    3.7800        .12887E-02** at limit **
  14  Prefactor     8.2705        8.9424        .69701E-03    .10413E-03
  15  Prefactor     .10000E-03    9.0893        .18142E-02** at limit **
  16  Prefactor     .10000E-03    26.915        .18142E-02** at limit **
  17  Prefactor     21.086        15.199        .87233E-04    .22546E-04
  18  Prefactor     .10000E-03    43.393        .18142E-02** at limit **
  19  Prefactor     .10000E-03    64.744        .18142E-02** at limit **
  20  Prefactor     .10000E-03    9.9589        .18142E-02** at limit **
  21  Normalizat    1.6472        .29643        .24548E-03    .29788E-04
  22  Prefactor     .59130        .22593        .30004E-03   -.87150E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 313.947
  Prefactor  = 0.0001
  Prefactor  = 237.023
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.5084
  norm       = 0.774264
  Prefactor  = 0.0001
  Prefactor  = 1.99041
  Prefactor  = 23.0083
  Prefactor  = 11.3268
  norm       = 0.0001
  Prefactor  = 8.27048
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.0863
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.6472
  Prefactor  = 0.591303
 **********
 **   18 **HESSE 
 **********

 FCN=   4614.737     FROM HESSE     STATUS=OK           324 CALLS     3035 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.8653        .34739E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     313.95        272.77        .22938E-04   -1.2145    
   3  Prefactor     .10000E-03    82.799        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     237.02        142.90        .52590E-05   -1.2617    
   5  Prefactor     .10000E-03    105.44        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    21.670        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.5084        13.378        .54960E-05   -1.5125    
   8  norm          .77426        .71425        .21834E-04   -1.5532    
   9  Prefactor     .10000E-03    33.936        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.9904        85.792        .59079E-04   -1.5426    
  11  Prefactor     23.008        9.5526        .33403E-05   -1.4748    
  12  Prefactor     11.327        1115.9        .47232E-05   -1.5035    
  13  norm          .10000E-03    3.7801        .25773E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     8.2705        8.9413        .27880E-04   -1.5133    
  15  Prefactor     .10000E-03    9.0938        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    26.916        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     21.086        15.198        .34893E-05   -1.4789    
  18  Prefactor     .10000E-03    43.393        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    64.764        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    9.9610        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.6472        .29662        .49096E-04   -.73722    
  22  Prefactor     .59130        .22611        .12001E-04   -1.0795    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.54679e-11
Minuit parameter uncertainties:
  1  9.80644e-07
  2  273.892
  3  1.25428e-05
  4  143.114
  5  0.000158665
  6  3.95699e-06
  7  13.3825
  8  0.71426
  9  5.11846e-05
  10  26.1747
  11  9.55325
  12  229.397
  13  4.99771e-06
  14  8.94276
  15  3.56695e-05
  16  2.86934e-05
  17  15.2009
  18  8.67296e-06
  19  6.70475e-05
  20  2.98806e-06
  21  0.296943
  22  0.226463
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  2.301e+01  9.553e+00  1.000e-04  1.000e+04 ( 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:  5.913e-01  2.265e-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.647e+00  2.969e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.33
Ra Dec: 331.892 -53.772
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 2.11e-07 +/- 8.76e-08
Energy Flux (Fixed Index): 6.61e-05 +/- 2.74e-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) = 4614.40647744
delta logL = 0.330080460579

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4614.38954643
delta logL = 0.3470114682

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.326       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7751       1.0000          .0000       10.000    
     3 'Normalizat'    1.5978       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .61689       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=   4614.390     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      271 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.333        108.81        .23390E-02    .49155E-03
   2  Index         2.7755        3.2309        .95095E-01    .23232E-03
   3  Normalizat    1.5978        .16961        .56127E-01    .20668E-03
   4  Prefactor     .61681        .11494        .66468E-01    .13689E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.3332
  Index      = 2.77547
  Normalizat = 1.59781
  Prefactor  = 0.616815
 **********
 **   18 **HESSE 
 **********

 FCN=   4614.390     FROM HESSE     STATUS=OK            31 CALLS      302 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.333        10.175        .93558E-04   -1.4851    
   2  Index         2.7755        .44047        .39483E-02   -.46107    
   3  Normalizat    1.5978        .29512        .24816E-03   -.75066    
   4  Prefactor     .61681        .22486        .29413E-03   -1.0688    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33414e-10
Minuit parameter uncertainties:
  1  10.1762
  2  0.441182
  3  0.295444
  4  0.225193
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/130447': 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) = 4614.389544
delta logL = 0.347013904301

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.833e+01  1.018e+01  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  2.775e+00  4.412e-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:  6.168e-01  2.252e-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.598e+00  2.954e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.02
Ra Dec: 331.892 -53.772
Photon Index (Free Index): 2.78 +/- 0.44
Photon Flux (Free Index): 2.69e-07 +/- 1.19e-07
Energy Flux (Free Index): 6.12e-05 +/- 2.36e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/130447/cmap_HighResolution_681091201_681696001_4FGL_J2207.5-5346_weekly_bin731.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.11e-07', energy_flux2='6.12e-05', photon_flux_error='8.76e-08', dlogl='3.47e-01', energy_flux='6.61e-05', photon_flux2='2.69e-07', job_status='DONE', time_completed='2022-08-09 01:11:46.077415', photon_index_error2='0.44', photon_index2='2.78', ts='13.33', fit_tolerance='1e-08', GAL='0.59', photon_index_error='0.00', energy_flux_error2='2.36e-05', EG='1.65', time_epoch_completed='1660032706.08', return_code='0', job_id='130447', GAL2='0.62', EG2='1.60', return_code2='0', energy_flux_error='2.74e-05', photon_flux_error2='1.19e-07', ts2='14.02', photon_index='2.44' WHERE bin_id='731' AND source_name='4FGL J2207.5-5346' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug  9 01:11:46 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0190>
Subject: Job 130447: <4FGL_J2207.5-5346_weekly_bin731> in cluster <slac> Done

Job <4FGL_J2207.5-5346_weekly_bin731> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Aug  9 01:00:36 2022
Job was executed on host(s) <bullet0190>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug  9 01:00:37 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug  9 01:00:37 2022
Terminated at Tue Aug  9 01:11:46 2022
Results reported at Tue Aug  9 01:11:46 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_weekly_bin731 331.892 -53.7719 681091201 681696001 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 :                                   552.14 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             306.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   669 sec.
    Turnaround time :                            670 sec.

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

