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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1713
RA = 331.892, Dec = -53.7719
tmin = 683337601, tmax = 683596801
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='240561', job_status='RUN', time_executed='2022-09-16 23:45:06.054732', time_epoch_executed='1663397106.05' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1713'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/240561

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/240561/ft1_4FGL_J2207.5-5346_daily_bin1713.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/240561/ft2_4FGL_J2207.5-5346_daily_bin1713.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/240561/ft1_4FGL_J2207.5-5346_daily_bin1713.fits outfile=/scratch/kocevski/240561/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1713.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=683337601.0 tmax=683596801.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.53
user 3.31
sys 0.20

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

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

Number of photons that the gtmktime cut: 479

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/240561/ft1_filtered_4FGL_J2207.5-5346_daily_bin1713.fits" evtable="EVENTS" scfile=/scratch/kocevski/240561/ft2_4FGL_J2207.5-5346_daily_bin1713.fits sctable="SC_DATA" outfile=/scratch/kocevski/240561/ltcube_683337601_683596801_4FGL_J2207.5-5346_daily_bin1713.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/240561/ft2_4FGL_J2207.5-5346_daily_bin1713.fits
.....................!
real 13.41
user 13.03
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/240561/ft1_filtered_4FGL_J2207.5-5346_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/240561/ft2_4FGL_J2207.5-5346_daily_bin1713.fits sctable="SC_DATA" expcube=/scratch/kocevski/240561/ltcube_683337601_683596801_4FGL_J2207.5-5346_daily_bin1713.fits outfile=/scratch/kocevski/240561/expmap_683337601_683596801_4FGL_J2207.5-5346_daily_bin1713.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/240561/ltcube_683337601_683596801_4FGL_J2207.5-5346_daily_bin1713.fits
.....................!
real 190.54
user 186.16
sys 4.00

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/240561/ft1_filtered_4FGL_J2207.5-5346_daily_bin1713.fits scfile=/scratch/kocevski/240561/ft2_4FGL_J2207.5-5346_daily_bin1713.fits outfile=/scratch/kocevski/240561/cmap_683337601_683596801_4FGL_J2207.5-5346_daily_bin1713.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/240561/ft1_filtered_4FGL_J2207.5-5346_daily_bin1713.fits scfile=/scratch/kocevski/240561/ft2_4FGL_J2207.5-5346_daily_bin1713.fits outfile=/scratch/kocevski/240561/cmap_HighResolution_683337601_683596801_4FGL_J2207.5-5346_daily_bin1713.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.38
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/240561/ft1_filtered_4FGL_J2207.5-5346_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/240561/ft2_4FGL_J2207.5-5346_daily_bin1713.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/240561/Model_4FGL_J2207.5-5346_daily_bin1713.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/240561/ft1_filtered_4FGL_J2207.5-5346_daily_bin1713.fits.....................!
real 43.56
user 42.22
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .30154E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    6.1733       1.0000          .0000       .10000E+07
     3 'Prefactor '    13.852       1.0000          .0000       .10000E+07
     4 'Prefactor '    .77202E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    3.3163       1.0000          .0000       .10000E+07
     6 'norm      '    .12823E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    .25843E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10978E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    10.121       1.0000          .0000       .10000E+07
    10 'Prefactor '    204.65       1.0000          .0000       .10000E+07
    11 'norm      '    4.1350       1.0000          .0000       .10000E+07
    12 'Prefactor '    .79494E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.8332       1.0000          .0000       .10000E+07
    14 'Prefactor '    1.6789       1.0000          .0000       .10000E+07
    15 'Prefactor '    .59078E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .74137E-03   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.3599       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .62205       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=   5178.285     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     1332 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.8150       -.14680E-05** at limit **
   2  Prefactor     6.1758        1.1769       -.12576E-06    .21198E-01
   3  Prefactor     13.848        10.745       -.12962E-05   -.12987E-02
   4  Prefactor      .0000        17.134        .64898E-05** at limit **
   5  Prefactor     3.3101        4.2750        .67386E-07   -.74052E-03
   6  norm           .0000        .62701        .39666E-06** at limit **
   7  Prefactor     .11102E-09    10.707       -.20786E-05** at limit **
   8  Prefactor     .33307E-09    4.4262        .66171E-05** at limit **
   9  Prefactor     10.100        5.4333        .21318E-06    .86099E-04
  10  Prefactor     207.97        127.18        .18520E-05   -.18498E-02
  11  norm          4.1349        4.1905        .22950E-06   -.55101E-03
  12  Prefactor      .0000        5.0221       -.22655E-05** at limit **
  13  Prefactor     4.8258        5.3300        .21448E-06    .16214E-02
  14  Prefactor     1.7042        1.6924        .16081E-06   -.13944E-01
  15  Prefactor     .27756E-09    11.500       -.11688E-05** at limit **
  16  Prefactor      .0000        3.8397       -.43533E-06** at limit **
  17  Normalizat    1.3594        .22926       -.67667E-04    .49013E-04
  18  Prefactor     .62217        .16574        .86309E-04   -.36438E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 6.17577
  Prefactor  = 13.8475
  Prefactor  = 0
  Prefactor  = 3.31009
  norm       = 0
  Prefactor  = 1.11022e-10
  Prefactor  = 3.33067e-10
  Prefactor  = 10.1002
  Prefactor  = 207.968
  norm       = 4.13485
  Prefactor  = 0
  Prefactor  = 4.82579
  Prefactor  = 1.70416
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  Normalizat = 1.35935
  Prefactor  = 0.622167
 **********
 **   18 **HESSE 
 **********

 FCN=   5178.285     FROM HESSE     STATUS=OK           282 CALLS     1614 TOTAL
                     EDM=   .80E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.8072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.1758        19.498        .40381E-03   -1.5658    
   3  Prefactor     13.848        10.766        .26886E-03   -1.5634    
   4  Prefactor      .0000        17.128        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.3101        4.2912        .55564E-03   -1.5672    
   6  norm           .0000        .60890        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11102E-09    10.694        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .33307E-09    4.4146        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.100        5.4203        .31472E-03   -1.5644    
  10  Prefactor     207.97        127.01        .69911E-04   -1.5420    
  11  norm          4.1349        4.1847        .49546E-03   -1.5667    
  12  Prefactor      .0000        4.9313        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.8258        5.4416        .45735E-03   -1.5664    
  14  Prefactor     1.7042        73.781        .81279E-03   -1.5682    
  15  Prefactor     .27756E-09    11.502        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        3.8415        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.3594        .19891        .51318E-01   -.81812    
  18  Prefactor     .62217        .14375        .41354E-01   -1.0666    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.00701e-08
Minuit parameter uncertainties:
  1  8.41152e-06
  2  19.4984
  3  10.7658
  4  6.57725e-07
  5  4.29118
  6  5.05139e-07
  7  6.15524e-05
  8  7.70379e-05
  9  5.42026
  10  127.016
  11  4.18473
  12  1.65308e-05
  13  5.44163
  14  22.4267
  15  0.00010954
  16  3.21662e-06
  17  0.199022
  18  0.143833
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.010e+01  5.420e+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:  6.222e-01  1.438e-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.359e+00  1.990e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.27
Ra Dec: 331.892 -53.772
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 9.27e-08 +/- 4.97e-08
Energy Flux (Fixed Index): 2.90e-05 +/- 1.56e-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) = 5177.27672159
delta logL = 1.00825497013

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5177.27117288
delta logL = 1.01380367573

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.2889       1.0000          .0000       .10000E+07
     2 'Index     '    3.2219       1.0000          .0000       10.000    
     3 'Normalizat'    1.2934       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .65284       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=   5177.271     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      300 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.2886        5.1998        .67453E-05    .24691E-02
   2  Index         3.2217        .67921        .39700E-02    .56220E-04
   3  Normalizat    1.2934        .22951        .23114E-03   -.67236E-04
   4  Prefactor     .65281        .16705        .23330E-03   -.95561E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.28857
  Index      = 3.22175
  Normalizat = 1.29344
  Prefactor  = 0.652809
 **********
 **   18 **HESSE 
 **********

 FCN=   5177.271     FROM HESSE     STATUS=OK            25 CALLS      325 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.2886        4.5750        .26981E-06   -1.5662    
   2  Index         3.2217        .59763        .15880E-03   -.36361    
   3  Normalizat    1.2934        .22944        .46228E-04   -.83762    
   4  Prefactor     .65281        .16702        .93318E-05   -1.0541    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.92695e-11
Minuit parameter uncertainties:
  1  4.57503
  2  0.599274
  3  0.229621
  4  0.167148
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/240561': 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) = 5177.27117264
delta logL = 1.01380392217

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  5.289e+00  4.575e+00  0.000e+00  1.000e+06 ( 1.000e-12)
337        Index:  3.222e+00  5.993e-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.528e-01  1.671e-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.293e+00  2.296e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.47
Ra Dec: 331.892 -53.772
Photon Index (Free Index): 3.22 +/- 0.60
Photon Flux (Free Index): 1.52e-07 +/- 7.14e-08
Energy Flux (Free Index): 2.75e-05 +/- 1.20e-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/240561/cmap_HighResolution_683337601_683596801_4FGL_J2207.5-5346_daily_bin1713.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.27e-08', energy_flux2='2.75e-05', photon_flux_error='4.97e-08', dlogl='1.01e+00', energy_flux='2.90e-05', photon_flux2='1.52e-07', job_status='DONE', time_completed='2022-09-16 23:52:52.427243', photon_index_error2='0.60', photon_index2='3.22', ts='7.27', fit_tolerance='1e-08', GAL='0.62', photon_index_error='0.00', energy_flux_error2='1.20e-05', EG='1.36', time_epoch_completed='1663397572.43', return_code='0', job_id='240561', GAL2='0.65', EG2='1.29', return_code2='0', energy_flux_error='1.56e-05', photon_flux_error2='7.14e-08', ts2='9.47', photon_index='2.44' WHERE bin_id='1713' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 23:52:52 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0280>
Subject: Job 240561: <4FGL_J2207.5-5346_daily_bin1713> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin1713> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 23:40:30 2022
Job was executed on host(s) <bullet0280>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 23:41:32 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 23:41:32 2022
Terminated at Fri Sep 16 23:52:53 2022
Results reported at Fri Sep 16 23:52:53 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1713 331.892 -53.7719 683337601 683596801 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 :                                   469.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             249.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   680 sec.
    Turnaround time :                            743 sec.

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

