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


Performing analysis on: 4FGL_J2206.8-0032_daily_bin1730
RA = 331.709, Dec = -0.5461
tmin = 687744001, tmax = 688003201
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='469089', job_status='RUN', time_executed='2022-10-21 00:38:37.765979', time_epoch_executed='1666337917.77' WHERE source_name='4FGL J2206.8-0032' and cadence='daily' and bin_id='1730'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/469089

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/469089/ft1_4FGL_J2206.8-0032_daily_bin1730.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/469089/ft2_4FGL_J2206.8-0032_daily_bin1730.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/469089/ft1_4FGL_J2206.8-0032_daily_bin1730.fits outfile=/scratch/kocevski/469089/ft1_filteredMKT_4FGL_J2206.8-0032_daily_bin1730.fits ra=331.709 dec=-0.5461 rad=12.0 tmin=687744001.0 tmax=688003201.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 4.90
user 4.64
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/469089/ft2_4FGL_J2206.8-0032_daily_bin1730.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/469089/ft2_4FGL_J2206.8-0032_daily_bin1730.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/469089/ft1_filteredMKT_4FGL_J2206.8-0032_daily_bin1730.fits evtable="EVENTS" outfile="/scratch/kocevski/469089/ft1_filtered_4FGL_J2206.8-0032_daily_bin1730.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.32
sys 0.16

Number of photons that the gtmktime cut: 519

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/469089/ft1_filtered_4FGL_J2206.8-0032_daily_bin1730.fits" evtable="EVENTS" scfile=/scratch/kocevski/469089/ft2_4FGL_J2206.8-0032_daily_bin1730.fits sctable="SC_DATA" outfile=/scratch/kocevski/469089/ltcube_687744001_688003201_4FGL_J2206.8-0032_daily_bin1730.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/469089/ft2_4FGL_J2206.8-0032_daily_bin1730.fits
.....................!
real 12.49
user 12.12
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/469089/ft1_filtered_4FGL_J2206.8-0032_daily_bin1730.fits evtable="EVENTS" scfile=/scratch/kocevski/469089/ft2_4FGL_J2206.8-0032_daily_bin1730.fits sctable="SC_DATA" expcube=/scratch/kocevski/469089/ltcube_687744001_688003201_4FGL_J2206.8-0032_daily_bin1730.fits outfile=/scratch/kocevski/469089/expmap_687744001_688003201_4FGL_J2206.8-0032_daily_bin1730.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/469089/ltcube_687744001_688003201_4FGL_J2206.8-0032_daily_bin1730.fits
.....................!
real 191.17
user 185.81
sys 5.01

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

Setting source of interest to:
4FGL J2206.8-0032 @ 331.709 -0.5461

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/469089/ft1_filtered_4FGL_J2206.8-0032_daily_bin1730.fits scfile=/scratch/kocevski/469089/ft2_4FGL_J2206.8-0032_daily_bin1730.fits outfile=/scratch/kocevski/469089/cmap_687744001_688003201_4FGL_J2206.8-0032_daily_bin1730.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.709 yref=-0.5461 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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/469089/ft1_filtered_4FGL_J2206.8-0032_daily_bin1730.fits scfile=/scratch/kocevski/469089/ft2_4FGL_J2206.8-0032_daily_bin1730.fits outfile=/scratch/kocevski/469089/cmap_HighResolution_687744001_688003201_4FGL_J2206.8-0032_daily_bin1730.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.709 yref=-0.5461 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/469089/ft1_filtered_4FGL_J2206.8-0032_daily_bin1730.fits evtable="EVENTS" scfile=/scratch/kocevski/469089/ft2_4FGL_J2206.8-0032_daily_bin1730.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/469089/Model_4FGL_J2206.8-0032_daily_bin1730.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/469089/ft1_filtered_4FGL_J2206.8-0032_daily_bin1730.fits.....................!
real 57.22
user 55.77
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/469089/ft1_filtered_4FGL_J2206.8-0032_daily_bin1730.fits', '/scratch/kocevski/469089/ft2_4FGL_J2206.8-0032_daily_bin1730.fits', expMap='/scratch/kocevski/469089/expmap_687744001_688003201_4FGL_J2206.8-0032_daily_bin1730.fits', expCube='/scratch/kocevski/469089/ltcube_687744001_688003201_4FGL_J2206.8-0032_daily_bin1730.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/469089/Model_4FGL_J2206.8-0032_daily_bin1730.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2206.8-0032'

4FGL J2206.8-0032
   Spectrum: PowerLaw
276    Prefactor:  6.940e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
277        Index:  2.247e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  1.226e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/469089/ft1_filtered_4FGL_J2206.8-0032_daily_bin1730.fits
Spacecraft file(s): /scratch/kocevski/469089/ft2_4FGL_J2206.8-0032_daily_bin1730.fits
Exposure map: /scratch/kocevski/469089/expmap_687744001_688003201_4FGL_J2206.8-0032_daily_bin1730.fits
Exposure cube: /scratch/kocevski/469089/ltcube_687744001_688003201_4FGL_J2206.8-0032_daily_bin1730.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/469089/Model_4FGL_J2206.8-0032_daily_bin1730.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) = 5653.85604961

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .76605E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    4.4606       1.0000          .0000       .10000E+07
     3 'Prefactor '    .34135E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .50653       1.0000          .0000       .10000E+07
     5 'norm      '    .14991E-05   1.0000          .0000       .10000E+07
     6 'norm      '    32.020       1.0000          .0000       .10000E+07
     7 'Prefactor '    .18124E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .22245E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    2.1846       1.0000          .0000       .10000E+07
    10 'Prefactor '    21.644       1.0000          .0000       .10000E+07
    11 'Prefactor '    6.0509       1.0000          .0000       .10000E+07
    12 'Prefactor '    .12403E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.6052       1.0000          .0000       .10000E+07
    14 'norm      '    4.4945       1.0000          .0000       .10000E+07
    15 'Prefactor '    46.384       1.0000          .0000       .10000E+07
    16 'Normalizat'    .95842       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .95800       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5270E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5653.852     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1261 TOTAL
                     EDM=   .33E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        115.70        .62299E-05** at limit **
   2  Prefactor     4.4622        2.4976        .58764E-06    .49835E-03
   3  Prefactor      .0000        9.5810       -.10988E-05** at limit **
   4  Prefactor     .11102E-08    77.939       -.83579E-06** at limit **
   5  norm           .0000        2.5861        .49905E-06** at limit **
   6  norm          32.112        2.3266        .13388E-06   -.32826E-01
   7  Prefactor      .0000        7.1207       -.85390E-06** at limit **
   8  Prefactor     .26090E-08    19.656       -.39078E-05** at limit **
   9  Prefactor     2.1412        8.0068       -.59409E-06   -.32082E-03
  10  Prefactor     21.663        8.1277       -.27405E-06    .20184E-01
  11  Prefactor     6.0441        14.483       -.12188E-05   -.71580E-02
  12  Prefactor     .88818E-09    44.387       -.59785E-05** at limit **
  13  Prefactor     4.6422        4.7916        .12446E-05   -.18244E-03
  14  norm          4.4714        3.8490       -.15445E-06   -.31288E-03
  15  Prefactor     47.376        76.765        .30452E-05   -.59330E-03
  16  Normalizat    .95822        .28765       -.17190E-04   -.10286E-04
  17  Prefactor     .95814        .16193        .10907E-04   -.14955E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 4.46222
  Prefactor  = 0
  Prefactor  = 1.11022e-09
  norm       = 0
  norm       = 32.1119
  Prefactor  = 0
  Prefactor  = 2.60902e-09
  Prefactor  = 2.14123
  Prefactor  = 21.6626
  Prefactor  = 6.04408
  Prefactor  = 8.88178e-10
  Prefactor  = 4.64215
  norm       = 4.47136
  Prefactor  = 47.3756
  Normalizat = 0.958219
  Prefactor  = 0.958137
 **********
 **   18 **HESSE 
 **********

 FCN=   5653.852     FROM HESSE     STATUS=OK           259 CALLS     1520 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        116.03        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.4622        2.4942        .47652E-03   -1.5666    
   3  Prefactor      .0000        9.5889        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-08    77.854        .78056E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        2.4950        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          32.112        21.036        .17675E-03   -1.5595    
   7  Prefactor      .0000        7.2359        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .26090E-08    19.548        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.1412        8.0937        .69615E-03   -1.5679    
  10  Prefactor     21.663        24.278        .21501E-03   -1.5615    
  11  Prefactor     6.0441        19.371        .40793E-03   -1.5659    
  12  Prefactor     .88818E-09    43.788        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.6422        4.7939        .46880E-03   -1.5665    
  14  norm          4.4714        3.8560        .47468E-03   -1.5666    
  15  Prefactor     47.376        76.653        .14684E-03   -1.5570    
  16  Normalizat    .95822        .23904        .72729E-01   -.94444    
  17  Prefactor     .95814        .13320        .45740E-01   -.94138    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.18972e-07
Minuit parameter uncertainties:
  1  0.000112242
  2  2.4942
  3  3.07248e-05
  4  0.00058156
  5  5.83455e-06
  6  21.0357
  7  2.68042e-05
  8  0.000452085
  9  8.09379
  10  24.2781
  11  19.3716
  12  0.000391065
  13  4.79386
  14  3.85605
  15  76.6546
  16  0.239304
  17  0.133246
Done.

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

Extracting fit parameters...

4FGL J2206.8-0032
   Spectrum: PowerLaw
276    Prefactor:  2.166e+01  2.428e+01  0.000e+00  1.000e+06 ( 1.000e-13)
277        Index:  2.247e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  1.226e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  9.581e-01  1.332e-01  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
523   Normalization:  9.582e-01  2.393e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.26
Ra Dec: 331.709 -0.546
Photon Index (Fixed Index): 2.25 +/- 0.00
Photon Flux (Fixed Index): 4.85e-08 +/- 5.44e-08
Energy Flux (Fixed Index): 2.00e-05 +/- 2.25e-05

TS (Fixed Index): 1.26
Ra Dec: 331.709 -0.546
Photon Flux Upper Limit: 1.53e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.17e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/469089/likelihoodResults_687744001_688003201_4FGL_J2206.8-0032_daily_bin1730.txt

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) = 5653.59057244
delta logL = 0.261052200901

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5653.58147521
delta logL = 0.270149425758

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.714       1.0000          .0000       .10000E+07
     2 'Index     '    2.7785       1.0000          .0000       10.000    
     3 'Normalizat'    .92077       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97171       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5270E+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=   5653.581     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      285 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.704        24.566        .11227E-04    .18228E-04
   2  Index         2.7794        .99975        .58128E-02    .38783E-04
   3  Normalizat    .92074        .28930        .32755E-03    .15504E-03
   4  Prefactor     .97166        .16441        .18310E-03   -.19930E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.7037
  Index      = 2.77936
  Normalizat = 0.920736
  Prefactor  = 0.971664
 **********
 **   18 **HESSE 
 **********

 FCN=   5653.581     FROM HESSE     STATUS=OK            25 CALLS      310 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.704        19.754        .44907E-06   -1.5637    
   2  Index         2.7794        .80513        .23251E-03   -.46020    
   3  Normalizat    .92074        .28818        .13102E-04   -.95735    
   4  Prefactor     .97166        .16367        .36619E-04   -.93680    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.51893e-10
Minuit parameter uncertainties:
  1  19.7539
  2  0.809533
  3  0.288667
  4  0.163749
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/469089': 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) = 5653.58147431
delta logL = 0.270150332147

Extracting fit parameters...

4FGL J2206.8-0032
   Spectrum: PowerLaw
276    Prefactor:  1.270e+01  1.975e+01  0.000e+00  1.000e+06 ( 1.000e-13)
277        Index:  2.779e+00  8.095e-01  0.000e+00  1.000e+01 (-1.000e+00)
278        Scale:  1.226e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  9.717e-01  1.637e-01  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
523   Normalization:  9.207e-01  2.887e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.82
Ra Dec: 331.709 -0.546
Photon Index (Free Index): 2.78 +/- 0.81
Photon Flux (Free Index): 7.58e-08 +/- 6.82e-08
Energy Flux (Free Index): 1.72e-05 +/- 1.55e-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/469089/cmap_HighResolution_687744001_688003201_4FGL_J2206.8-0032_daily_bin1730.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.17e-02', comment='SUCCESS', photon_flux='4.85e-08', energy_flux2='1.72e-05', photon_flux_error='5.44e-08', dlogl='2.70e-01', energy_flux='2.00e-05', photon_flux2='7.58e-08', job_status='DONE', time_completed='2022-10-21 00:46:53.666971', photon_index_error2='0.81', photon_index2='2.78', ts='1.26', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='1.53e-07', energy_flux_error2='1.55e-05', EG='0.96', time_epoch_completed='1666338413.67', return_code='0', job_id='469089', GAL2='0.97', EG2='0.92', return_code2='0', energy_flux_error='2.25e-05', photon_flux_error2='6.82e-08', ts2='1.82', photon_index='2.25' WHERE bin_id='1730' AND source_name='4FGL J2206.8-0032' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct 21 00:46:53 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 469089: <4FGL_J2206.8-0032_daily_bin1730> in cluster <slac> Done

Job <4FGL_J2206.8-0032_daily_bin1730> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Oct 21 00:35:20 2022
Job was executed on host(s) <bullet0107>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Oct 21 00:35:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Oct 21 00:35:21 2022
Terminated at Fri Oct 21 00:46:54 2022
Results reported at Fri Oct 21 00:46:54 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2206.8-0032_daily_bin1730 331.709 -0.5461 687744001 688003201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2206.8-0032 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   498.27 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             267.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   692 sec.
    Turnaround time :                            694 sec.

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

