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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1732
RA = 331.892, Dec = -53.7719
tmin = 688262401, tmax = 688521601
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='647614', job_status='RUN', time_executed='2022-10-27 00:39:19.345943', time_epoch_executed='1666856359.35' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1732'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/647614

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/647614/ft1_4FGL_J2207.5-5346_daily_bin1732.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/647614/ft2_4FGL_J2207.5-5346_daily_bin1732.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/647614/ft1_4FGL_J2207.5-5346_daily_bin1732.fits outfile=/scratch/kocevski/647614/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1732.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=688262401.0 tmax=688521601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.54
user 3.34
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/647614/ft2_4FGL_J2207.5-5346_daily_bin1732.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/647614/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1732.fits evtable="EVENTS" outfile="/scratch/kocevski/647614/ft1_filtered_4FGL_J2207.5-5346_daily_bin1732.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.32
sys 0.16

Number of photons that the gtmktime cut: 532

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/647614/ft1_filtered_4FGL_J2207.5-5346_daily_bin1732.fits" evtable="EVENTS" scfile=/scratch/kocevski/647614/ft2_4FGL_J2207.5-5346_daily_bin1732.fits sctable="SC_DATA" outfile=/scratch/kocevski/647614/ltcube_688262401_688521601_4FGL_J2207.5-5346_daily_bin1732.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/647614/ft2_4FGL_J2207.5-5346_daily_bin1732.fits
.....................!
real 12.08
user 11.71
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/647614/ft1_filtered_4FGL_J2207.5-5346_daily_bin1732.fits evtable="EVENTS" scfile=/scratch/kocevski/647614/ft2_4FGL_J2207.5-5346_daily_bin1732.fits sctable="SC_DATA" expcube=/scratch/kocevski/647614/ltcube_688262401_688521601_4FGL_J2207.5-5346_daily_bin1732.fits outfile=/scratch/kocevski/647614/expmap_688262401_688521601_4FGL_J2207.5-5346_daily_bin1732.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/647614/ltcube_688262401_688521601_4FGL_J2207.5-5346_daily_bin1732.fits
.....................!
real 190.62
user 185.30
sys 4.88

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/647614/ft1_filtered_4FGL_J2207.5-5346_daily_bin1732.fits scfile=/scratch/kocevski/647614/ft2_4FGL_J2207.5-5346_daily_bin1732.fits outfile=/scratch/kocevski/647614/cmap_688262401_688521601_4FGL_J2207.5-5346_daily_bin1732.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.65
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/647614/ft1_filtered_4FGL_J2207.5-5346_daily_bin1732.fits scfile=/scratch/kocevski/647614/ft2_4FGL_J2207.5-5346_daily_bin1732.fits outfile=/scratch/kocevski/647614/cmap_HighResolution_688262401_688521601_4FGL_J2207.5-5346_daily_bin1732.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.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .53180E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    .85085E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    4.3218       1.0000          .0000       .10000E+07
     4 'Prefactor '    9.6920       1.0000          .0000       .10000E+07
     5 'Prefactor '    .17765E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .47600       1.0000          .0000       .10000E+07
     7 'Prefactor '    .12568E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .19509E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    7.4617       1.0000          .0000       .10000E+07
    10 'Prefactor '    120.55       1.0000          .0000       .10000E+07
    11 'norm      '    7.3456       1.0000          .0000       .10000E+07
    12 'Prefactor '    .30820E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .47184E-07   1.0000          .0000       .10000E+07
    14 'Prefactor '    .96856E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    16.164       1.0000          .0000       .10000E+07
    16 'Prefactor '    23.295       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1102       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .79701       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=   5769.247     FROM MIGRAD    STATUS=CONVERGED    101 CALLS     1569 TOTAL
                     EDM=   .62E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    2.8700        .74063E-06** at limit **
   2  Prefactor     .16653E-09    32.127       -.30322E-05** at limit **
   3  Prefactor     4.3185        10.247       -.75536E-06   -.16519E-02
   4  Prefactor     9.6905        1.0165        .25519E-07   -.24791E-02
   5  Prefactor     .17375E-07    3.0023        .12707E-05** at limit **
   6  norm          .47588        .72331       -.10203E-06   -.89224E-02
   7  Prefactor     .54678E-07    7.4146       -.24957E-05** at limit **
   8  Prefactor     .70697E-05    68.685       -.19358E-04** at limit **
   9  Prefactor     7.4630        4.0439        .33761E-06    .69803E-02
  10  Prefactor     120.56        1.9894        .19500E-06   -.13141    
  11  norm          7.3458        6.2866        .17661E-06    .28387E-02
  12  Prefactor     .27756E-09    2.1468       -.15495E-06** at limit **
  13  Prefactor     .12212E-08    5.0146        .26654E-05** at limit **
  14  Prefactor     .61728E-07    7.7493        .47732E-05** at limit **
  15  Prefactor     16.165        1.0824        .11949E-06   -.50950E-02
  16  Prefactor     23.293        7.3303        .17852E-05   -.41082E-01
  17  Normalizat    1.1103        .20646        .94279E-05    .80335E-04
  18  Prefactor     .79701        .15742       -.16365E-04   -.40374E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Prefactor  = 1.66533e-10
  Prefactor  = 4.31853
  Prefactor  = 9.69051
  Prefactor  = 1.7375e-08
  norm       = 0.475881
  Prefactor  = 5.46785e-08
  Prefactor  = 7.06973e-06
  Prefactor  = 7.46303
  Prefactor  = 120.561
  norm       = 7.3458
  Prefactor  = 2.77556e-10
  Prefactor  = 1.22125e-09
  Prefactor  = 6.17284e-08
  Prefactor  = 16.1654
  Prefactor  = 23.2934
  Normalizat = 1.11026
  Prefactor  = 0.797012
 **********
 **   18 **HESSE 
 **********

 FCN=   5769.247     FROM HESSE     STATUS=OK           292 CALLS     1861 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    2.8487        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .16653E-09    32.078        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.3185        10.310        .48433E-03   -1.5666    
   4  Prefactor     9.6905        19.710        .32164E-03   -1.5646    
   5  Prefactor     .17375E-07    2.2215        .60577E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .47588        .74931        .81161E-03   -1.5694    
   7  Prefactor     .54678E-07    12.039        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .70697E-05    4.4790        .10421E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.4630        4.0688        .36692E-03   -1.5653    
  10  Prefactor     120.56        106.58        .91085E-04   -1.5488    
  11  norm          7.3458        6.2948        .36983E-03   -1.5654    
  12  Prefactor     .27756E-09    2.1534        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .12212E-08    5.0619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .61728E-07    12.425        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     16.165        29.945        .24885E-03   -1.5628    
  16  Prefactor     23.293        17.418        .20724E-03   -1.5611    
  17  Normalizat    1.1103        .17946        .54285E-01   -.89423    
  18  Prefactor     .79701        .13519        .43678E-01   -.99839    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6573e-06
Minuit parameter uncertainties:
  1  2.32407e-05
  2  0.000157366
  3  10.3104
  4  19.7105
  5  0.000393153
  6  0.749315
  7  0.00162288
  8  0.0112544
  9  4.06878
  10  106.585
  11  6.2948
  12  4.66588e-05
  13  0.000156947
  14  0.00175172
  15  29.9451
  16  17.4185
  17  0.179555
  18  0.135247
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  7.463e+00  4.069e+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:  7.970e-01  1.352e-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.110e+00  1.796e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.23
Ra Dec: 331.892 -53.772
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 6.85e-08 +/- 3.73e-08
Energy Flux (Fixed Index): 2.14e-05 +/- 1.17e-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) = 5769.24701102
delta logL = 0.000113939508992

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5769.24696313
delta logL = 0.000161823484632

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.4222       1.0000          .0000       .10000E+07
     2 'Index     '    2.4460       1.0000          .0000       10.000    
     3 'Normalizat'    1.1096       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79730       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=   5769.247     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      225 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.4192        81.889        .36790E-03    .28535E-02
   2  Index         2.4453        6.2219        .17355        .10419E-03
   3  Normalizat    1.1097        .94914E-01    .54297E-01    .15799E-04
   4  Prefactor     .79730        .59361E-01    .43682E-01    .97525E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.41918
  Index      = 2.44525
  Normalizat = 1.10967
  Prefactor  = 0.797299
 **********
 **   18 **HESSE 
 **********

 FCN=   5769.247     FROM HESSE     STATUS=OK            33 CALLS      258 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.4192        4.8251        .10717E-04   -1.5653    
   2  Index         2.4453        .55257        .62355E-02   -.53629    
   3  Normalizat    1.1097        .20703        .24008E-03   -.89442    
   4  Prefactor     .79730        .15818        .21482E-03   -.99828    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.36719e-11
Minuit parameter uncertainties:
  1  4.82515
  2  0.554102
  3  0.207179
  4  0.158266
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/647614': 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) = 5769.24696068
delta logL = 0.000164279829733

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  7.419e+00  4.825e+00  0.000e+00  1.000e+06 ( 1.000e-12)
337        Index:  2.445e+00  5.541e-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:  7.973e-01  1.583e-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.110e+00  2.072e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.23
Ra Dec: 331.892 -53.772
Photon Index (Free Index): 2.45 +/- 0.55
Photon Flux (Free Index): 6.89e-08 +/- 4.49e-08
Energy Flux (Free Index): 2.13e-05 +/- 1.33e-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/647614/cmap_HighResolution_688262401_688521601_4FGL_J2207.5-5346_daily_bin1732.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.85e-08', energy_flux2='2.13e-05', photon_flux_error='3.73e-08', dlogl='1.64e-04', energy_flux='2.14e-05', photon_flux2='6.89e-08', job_status='DONE', time_completed='2022-10-27 00:47:27.967310', photon_index_error2='0.55', photon_index2='2.45', ts='8.23', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', energy_flux_error2='1.33e-05', EG='1.11', time_epoch_completed='1666856847.97', return_code='0', job_id='647614', GAL2='0.80', EG2='1.11', return_code2='0', energy_flux_error='1.17e-05', photon_flux_error2='4.49e-08', ts2='8.23', photon_index='2.44' WHERE bin_id='1732' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Oct 27 00:47:27 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0197>
Subject: Job 647614: <4FGL_J2207.5-5346_daily_bin1732> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin1732> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Oct 27 00:35:40 2022
Job was executed on host(s) <bullet0197>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Oct 27 00:35:41 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Oct 27 00:35:41 2022
Terminated at Thu Oct 27 00:47:28 2022
Results reported at Thu Oct 27 00:47:28 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1732 331.892 -53.7719 688262401 688521601 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 :                                   490.44 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             220.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   707 sec.
    Turnaround time :                            708 sec.

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

