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


Performing analysis on: 4FGL_J2207.6+0053_weekly_bin732
RA = 331.914, Dec = 0.8907
tmin = 681696001, tmax = 682300801
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='339997', job_status='RUN', time_executed='2022-09-17 05:18:05.988897', time_epoch_executed='1663417085.99' WHERE source_name='4FGL J2207.6+0053' and cadence='weekly' and bin_id='732'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/339997

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/339997/ft1_4FGL_J2207.6+0053_weekly_bin732.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/339997/ft2_4FGL_J2207.6+0053_weekly_bin732.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/339997/ft1_4FGL_J2207.6+0053_weekly_bin732.fits outfile=/scratch/kocevski/339997/ft1_filteredMKT_4FGL_J2207.6+0053_weekly_bin732.fits ra=331.914 dec=0.8907 rad=12.0 tmin=681696001.0 tmax=682300801.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 7.79
user 7.39
sys 0.38

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/339997/ft2_4FGL_J2207.6+0053_weekly_bin732.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/339997/ft2_4FGL_J2207.6+0053_weekly_bin732.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/339997/ft1_filteredMKT_4FGL_J2207.6+0053_weekly_bin732.fits evtable="EVENTS" outfile="/scratch/kocevski/339997/ft1_filtered_4FGL_J2207.6+0053_weekly_bin732.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.48
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 1160

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/339997/ft1_filtered_4FGL_J2207.6+0053_weekly_bin732.fits" evtable="EVENTS" scfile=/scratch/kocevski/339997/ft2_4FGL_J2207.6+0053_weekly_bin732.fits sctable="SC_DATA" outfile=/scratch/kocevski/339997/ltcube_681696001_682300801_4FGL_J2207.6+0053_weekly_bin732.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/339997/ft2_4FGL_J2207.6+0053_weekly_bin732.fits
.....................!
real 28.98
user 28.58
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/339997/ft1_filtered_4FGL_J2207.6+0053_weekly_bin732.fits evtable="EVENTS" scfile=/scratch/kocevski/339997/ft2_4FGL_J2207.6+0053_weekly_bin732.fits sctable="SC_DATA" expcube=/scratch/kocevski/339997/ltcube_681696001_682300801_4FGL_J2207.6+0053_weekly_bin732.fits outfile=/scratch/kocevski/339997/expmap_681696001_682300801_4FGL_J2207.6+0053_weekly_bin732.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/339997/ltcube_681696001_682300801_4FGL_J2207.6+0053_weekly_bin732.fits
.....................!
real 158.61
user 153.92
sys 4.27

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

Setting source of interest to:
4FGL J2207.6+0053 @ 331.914 0.8907

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/339997/ft1_filtered_4FGL_J2207.6+0053_weekly_bin732.fits scfile=/scratch/kocevski/339997/ft2_4FGL_J2207.6+0053_weekly_bin732.fits outfile=/scratch/kocevski/339997/cmap_681696001_682300801_4FGL_J2207.6+0053_weekly_bin732.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.914 yref=0.8907 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.51
user 0.34
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/339997/ft1_filtered_4FGL_J2207.6+0053_weekly_bin732.fits scfile=/scratch/kocevski/339997/ft2_4FGL_J2207.6+0053_weekly_bin732.fits outfile=/scratch/kocevski/339997/cmap_HighResolution_681696001_682300801_4FGL_J2207.6+0053_weekly_bin732.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.914 yref=0.8907 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.51
user 0.35
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/339997/ft1_filtered_4FGL_J2207.6+0053_weekly_bin732.fits evtable="EVENTS" scfile=/scratch/kocevski/339997/ft2_4FGL_J2207.6+0053_weekly_bin732.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/339997/Model_4FGL_J2207.6+0053_weekly_bin732.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/339997/ft1_filtered_4FGL_J2207.6+0053_weekly_bin732.fits....................!
real 98.78
user 97.32
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/339997/ft1_filtered_4FGL_J2207.6+0053_weekly_bin732.fits', '/scratch/kocevski/339997/ft2_4FGL_J2207.6+0053_weekly_bin732.fits', expMap='/scratch/kocevski/339997/expmap_681696001_682300801_4FGL_J2207.6+0053_weekly_bin732.fits', expCube='/scratch/kocevski/339997/ltcube_681696001_682300801_4FGL_J2207.6+0053_weekly_bin732.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/339997/Model_4FGL_J2207.6+0053_weekly_bin732.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2207.6+0053'

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  2.216e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  2.484e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.070e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/339997/ft1_filtered_4FGL_J2207.6+0053_weekly_bin732.fits
Spacecraft file(s): /scratch/kocevski/339997/ft2_4FGL_J2207.6+0053_weekly_bin732.fits
Exposure map: /scratch/kocevski/339997/expmap_681696001_682300801_4FGL_J2207.6+0053_weekly_bin732.fits
Exposure cube: /scratch/kocevski/339997/ltcube_681696001_682300801_4FGL_J2207.6+0053_weekly_bin732.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/339997/Model_4FGL_J2207.6+0053_weekly_bin732.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) = 13279.009432

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40034E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    56.118       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.0456       1.0000          .0000       .10000E+07
     4 'Prefactor '    20.452       1.0000          .0000       .10000E+07
     5 'Prefactor '    .22217E-01   1.0000          .0000       .10000E+07
     6 'norm      '    .10463E-04   1.0000          .0000       .10000E+07
     7 'norm      '    17.171       1.0000          .0000       .10000E+07
     8 'Prefactor '    .15451E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .50722E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .14115E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    24.897       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.2276       1.0000          .0000       .10000E+07
    13 'Prefactor '    .10332E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    4.1571       1.0000          .0000       .10000E+07
    15 'norm      '    .69631E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.9898       1.0000          .0000       .10000E+07
    18 'Normalizat'    .85672       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .93451       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13279.00     FROM MIGRAD    STATUS=CONVERGED    137 CALLS     1425 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27173E-06    5.5318        .21200E-06** at limit **
   2  Prefactor     56.658        29.126        .13420E-05    .15466    
   3  Prefactor     1.0312        2.0208        .34814E-06   -.11629E-02
   4  Prefactor     20.566        17.922       -.15571E-05   -.57688E-01
   5  Prefactor     .16653E-09    18.864       -.33736E-06** at limit **
   6  norm          .55511E-10    2.2480        .52951E-06** at limit **
   7  norm          17.129        14.934        .52236E-06    .44027E-02
   8  Prefactor     .68151E-06    4.6988        .63435E-06** at limit **
   9  Prefactor      .0000        2.8628        .65875E-06** at limit **
  10  Prefactor     .11102E-09    3.0444        .63791E-06** at limit **
  11  Prefactor     24.923        2.4643       -.56602E-07   -.51630E-01
  12  Prefactor     2.2522        9.6453       -.28975E-05   -.45669E-01
  13  Prefactor     .28311E-08    4.9668       -.24053E-06** at limit **
  14  Prefactor     4.1545        3.6426        .34765E-06    .92771E-02
  15  norm          .72164E-09    3.1749        .44220E-07** at limit **
  16  Prefactor     .10000E-03    .91742        .83521E-06** at limit **
  17  Prefactor     7.4305        37.198        .81431E-05   -.50597E-01
  18  Normalizat    .85636        .18599        .16320E-04   -.49622E-04
  19  Prefactor     .93460        .97879E-01   -.43780E-05   -.10386E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.71727e-07
  Prefactor  = 56.6575
  Prefactor  = 1.03121
  Prefactor  = 20.5659
  Prefactor  = 1.66533e-10
  norm       = 5.55112e-11
  norm       = 17.1287
  Prefactor  = 6.8151e-07
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  Prefactor  = 24.9225
  Prefactor  = 2.25223
  Prefactor  = 2.83107e-09
  Prefactor  = 4.15447
  norm       = 7.21645e-10
  Prefactor  = 0.0001
  Prefactor  = 7.43047
  Normalizat = 0.856355
  Prefactor  = 0.9346
 **********
 **   18 **HESSE 
 **********

 FCN=   13279.00     FROM HESSE     STATUS=OK           306 CALLS     1731 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27173E-06    6.5871        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     56.658        38.288        .13350E-03   -1.5557    
   3  Prefactor     1.0312        2.2204        .12168E-02   -1.5688    
   4  Prefactor     20.566        22.182        .22119E-03   -1.5617    
   5  Prefactor     .16653E-09    18.693        .16895E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .55511E-10    2.1944        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          17.129        15.072        .24143E-03   -1.5625    
   8  Prefactor     .68151E-06    7.4436        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        2.8600        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11102E-09    3.0432        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     24.923        14.021        .20045E-03   -1.5608    
  12  Prefactor     2.2522        14.313        .68858E-03   -1.5678    
  13  Prefactor     .28311E-08    4.9738        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.1545        3.8400        .49410E-03   -1.5667    
  15  norm          .72164E-09    3.1352        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    .92122        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.4305        69.332        .37922E-03   -1.5653    
  18  Normalizat    .85636        .15752        .76549E-01   -.98011    
  19  Prefactor     .93460        .81668E-01    .45443E-01   -.94942    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.63476e-06
Minuit parameter uncertainties:
  1  0.00267583
  2  38.2879
  3  2.22041
  4  22.1821
  5  0.000104659
  6  1.81527e-05
  7  15.0717
  8  0.00450468
  9  1.48588e-05
  10  3.53455e-05
  11  14.0205
  12  11.3556
  13  0.000237954
  14  3.84005
  15  9.39862e-05
  16  2.94373e-06
  17  45.3954
  18  0.157602
  19  0.0816789
Done.

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

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  2.492e+01  1.402e+01  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  2.484e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.070e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
553    Prefactor:  9.346e-01  8.168e-02  0.000e+00  1.000e+01 ( 1.000e+00)
554        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
555        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
552   Normalization:  8.564e-01  1.576e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.51
Ra Dec: 331.914 0.891
Photon Index (Fixed Index): 2.48 +/- 0.00
Photon Flux (Fixed Index): 6.06e-08 +/- 3.41e-08
Energy Flux (Fixed Index): 1.79e-05 +/- 1.01e-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) = 13278.732663
delta logL = 0.266647152144

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13278.7326222
delta logL = 0.266687991481

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13278.73     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      280 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     31.788        443.04        .17729E-03    .15634E-03
   2  Index         2.1681        6.0740        .16286        .12616E-03
   3  Normalizat    .87326        .10955        .75873E-01    .42286E-04
   4  Prefactor     .92868        .42751E-01    .45369E-01    .27476E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 31.7877
  Index      = 2.16808
  Normalizat = 0.873261
  Prefactor  = 0.928685
 **********
 **   18 **HESSE 
 **********

 FCN=   13278.73     FROM HESSE     STATUS=OK            33 CALLS      313 TOTAL
                     EDM=   .81E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     31.788        19.208        .70914E-05   -1.5595    
   2  Index         2.1681        .42362        .89083E-02   -.60211    
   3  Normalizat    .87326        .17722        .33581E-03   -.97406    
   4  Prefactor     .92868        .97508E-01    .17981E-03   -.95146    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.1319e-12
Minuit parameter uncertainties:
  1  19.2078
  2  0.424373
  3  0.177337
  4  0.0975262
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/339997': 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) = 13278.732614
delta logL = 0.266696134484

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  3.179e+01  1.921e+01  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  2.168e+00  4.244e-01  0.000e+00  1.000e+01 (-1.000e+00)
288        Scale:  1.070e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
553    Prefactor:  9.287e-01  9.753e-02  0.000e+00  1.000e+01 ( 1.000e+00)
554        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
555        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
552   Normalization:  8.733e-01  1.773e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.97
Ra Dec: 331.914 0.891
Photon Index (Free Index): 2.17 +/- 0.42
Photon Flux (Free Index): 4.64e-08 +/- 3.39e-08
Energy Flux (Free Index): 2.21e-05 +/- 1.52e-05

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/339997/cmap_HighResolution_681696001_682300801_4FGL_J2207.6+0053_weekly_bin732.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.06e-08', energy_flux2='2.21e-05', photon_flux_error='3.41e-08', dlogl='2.67e-01', energy_flux='1.79e-05', photon_flux2='4.64e-08', job_status='DONE', time_completed='2022-09-17 05:29:02.323151', photon_index_error2='0.42', photon_index2='2.17', ts='5.51', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='1.52e-05', EG='0.86', time_epoch_completed='1663417742.32', return_code='0', job_id='339997', GAL2='0.93', EG2='0.87', return_code2='0', energy_flux_error='1.01e-05', photon_flux_error2='3.39e-08', ts2='5.97', photon_index='2.48' WHERE bin_id='732' AND source_name='4FGL J2207.6+0053' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Sep 17 05:29:02 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0033>
Subject: Job 339997: <4FGL_J2207.6+0053_weekly_bin732> in cluster <slac> Done

Job <4FGL_J2207.6+0053_weekly_bin732> 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) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 17 05:16:10 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:10 2022
Terminated at Sat Sep 17 05:29:03 2022
Results reported at Sat Sep 17 05:29:03 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.6+0053_weekly_bin732 331.914 0.8907 681696001 682300801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2207.6+0053 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   656.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             323.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   772 sec.
    Turnaround time :                            814 sec.

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

