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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1748
RA = 331.892, Dec = -53.7719
tmin = 692409601, tmax = 692668801
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='898153', job_status='RUN', time_executed='2022-12-14 01:23:42.274612', time_epoch_executed='1671009822.27' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/898153

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/898153/ft1_4FGL_J2207.5-5346_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/898153/ft2_4FGL_J2207.5-5346_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/898153/ft1_4FGL_J2207.5-5346_daily_bin1748.fits outfile=/scratch/kocevski/898153/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1748.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=692409601.0 tmax=692668801.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.59
user 3.35
sys 0.22

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

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

Number of photons that the gtmktime cut: 518

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/898153/ft1_filtered_4FGL_J2207.5-5346_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/898153/ft2_4FGL_J2207.5-5346_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/898153/ltcube_692409601_692668801_4FGL_J2207.5-5346_daily_bin1748.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/898153/ft2_4FGL_J2207.5-5346_daily_bin1748.fits
.....................!
real 12.35
user 12.02
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/898153/ft1_filtered_4FGL_J2207.5-5346_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/898153/ft2_4FGL_J2207.5-5346_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/898153/ltcube_692409601_692668801_4FGL_J2207.5-5346_daily_bin1748.fits outfile=/scratch/kocevski/898153/expmap_692409601_692668801_4FGL_J2207.5-5346_daily_bin1748.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/898153/ltcube_692409601_692668801_4FGL_J2207.5-5346_daily_bin1748.fits
.....................!
real 190.57
user 185.35
sys 4.77

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/898153/ft1_filtered_4FGL_J2207.5-5346_daily_bin1748.fits scfile=/scratch/kocevski/898153/ft2_4FGL_J2207.5-5346_daily_bin1748.fits outfile=/scratch/kocevski/898153/cmap_692409601_692668801_4FGL_J2207.5-5346_daily_bin1748.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/898153/ft1_filtered_4FGL_J2207.5-5346_daily_bin1748.fits scfile=/scratch/kocevski/898153/ft2_4FGL_J2207.5-5346_daily_bin1748.fits outfile=/scratch/kocevski/898153/cmap_HighResolution_692409601_692668801_4FGL_J2207.5-5346_daily_bin1748.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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/898153/ft1_filtered_4FGL_J2207.5-5346_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/898153/ft2_4FGL_J2207.5-5346_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/898153/Model_4FGL_J2207.5-5346_daily_bin1748.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/898153/ft1_filtered_4FGL_J2207.5-5346_daily_bin1748.fits.....................!
real 45.15
user 43.82
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.5977       1.0000          .0000       .10000E+07
     2 'Prefactor '    22.233       1.0000          .0000       .10000E+07
     3 'Prefactor '    15.685       1.0000          .0000       .10000E+07
     4 'Prefactor '    .19827       1.0000          .0000       .10000E+07
     5 'Prefactor '    .21386E-01   1.0000          .0000       .10000E+07
     6 'norm      '    .12963       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.2423       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.9413       1.0000          .0000       .10000E+07
     9 'Prefactor '    5.6100       1.0000          .0000       .10000E+07
    10 'Prefactor '    .49930E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .90901       1.0000          .0000       .10000E+07
    12 'Prefactor '    .87313E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .42192E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .98783E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .37552E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .85694E-01   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.3391       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .90807       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=   5582.993     FROM MIGRAD    STATUS=CONVERGED    149 CALLS     1335 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.5927        3.5199       -.71802E-07    .48335E-02
   2  Prefactor     22.339        7.4013        .86155E-06   -.11679    
   3  Prefactor     15.605        12.086        .11542E-05    .34979E-02
   4  Prefactor     .61062E-09    30.296        .14758E-06** at limit **
   5  Prefactor     .56066E-08    11.025       -.31387E-06** at limit **
   6  norm          .12969        .79733       -.29616E-06** at limit **
   7  Prefactor     2.4276        209.14       -.67442E-06    .49387E-02
   8  Prefactor     3.9670        8.8408        .74063E-06    .20830E-02
   9  Prefactor     5.6194        4.8201        .54251E-07   -.37147E-02
  10  Prefactor     .57565E-07    57.097        .14343E-05** at limit **
  11  norm          .89810        7.6686       -.72067E-05   -.12878E-01
  12  Prefactor     .11102E-09    1.5140        .19147E-06** at limit **
  13  Prefactor     .16653E-09    3.2336        .25055E-06** at limit **
  14  Prefactor     .10880E-07    21.047       -.31790E-06** at limit **
  15  Prefactor     .13878E-08    11.088       -.86530E-07** at limit **
  16  Prefactor     .30531E-08    22.859        .19231E-06** at limit **
  17  Normalizat    1.3402        .24480       -.82078E-05   -.23496E-03
  18  Prefactor     .90801        .18399        .88903E-05   -.50695E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.59271
  Prefactor  = 22.3393
  Prefactor  = 15.6045
  Prefactor  = 6.10623e-10
  Prefactor  = 5.60663e-09
  norm       = 0.129693
  Prefactor  = 2.4276
  Prefactor  = 3.96704
  Prefactor  = 5.61943
  Prefactor  = 5.75651e-08
  norm       = 0.8981
  Prefactor  = 1.11022e-10
  Prefactor  = 1.66533e-10
  Prefactor  = 1.08802e-08
  Prefactor  = 1.38778e-09
  Prefactor  = 3.05311e-09
  Normalizat = 1.34016
  Prefactor  = 0.908007
 **********
 **   18 **HESSE 
 **********

 FCN=   5582.993     FROM HESSE     STATUS=OK           290 CALLS     1625 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.5927        3.5632        .46919E-03   -1.5665    
   2  Prefactor     22.339        26.601        .21213E-03   -1.5613    
   3  Prefactor     15.605        12.102        .25263E-03   -1.5629    
   4  Prefactor     .61062E-09    30.054        .11807E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .56066E-08    3.6059        .44328E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .12969        .45018        .25806E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.4276        226.26        .56225E-03   -1.5677    
   8  Prefactor     3.9670        8.9619        .50788E-03   -1.5668    
   9  Prefactor     5.6194        4.8097        .42390E-03   -1.5661    
  10  Prefactor     .57565E-07    57.244        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .89810        7.8276        .45139E-03   -1.5689    
  12  Prefactor     .11102E-09    1.5188        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .16653E-09    3.2344        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10880E-07    21.048        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .13878E-08    11.097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .30531E-08    22.114        .14331E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.3402        .20870        .57788E-01   -.82376    
  18  Prefactor     .90801        .15718        .45108E-01   -.95862    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.56693e-07
Minuit parameter uncertainties:
  1  3.56322
  2  26.6015
  3  12.1018
  4  0.000275443
  5  0.000284723
  6  0.450179
  7  46.8751
  8  8.96194
  9  4.80967
  10  0.00362974
  11  5.30282
  12  2.52037e-05
  13  4.37633e-05
  14  0.000958158
  15  0.00024843
  16  0.000517843
  17  0.208827
  18  0.157256
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  5.619e+00  4.810e+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:  9.080e-01  1.573e-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.340e+00  2.088e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.90
Ra Dec: 331.892 -53.772
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 5.15e-08 +/- 4.41e-08
Energy Flux (Fixed Index): 1.61e-05 +/- 1.38e-05

TS (Fixed Index): 2.90
Ra Dec: 331.892 -53.772
Photon Flux Upper Limit: 1.52e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.18e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/898153/likelihoodResults_692409601_692668801_4FGL_J2207.5-5346_daily_bin1748.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) = 5582.97448954
delta logL = 0.0189740600281

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5582.96952305
delta logL = 0.0239405500643

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.2502       1.0000          .0000       .10000E+07
     2 'Index     '    2.6853       1.0000          .0000       10.000    
     3 'Normalizat'    1.3191       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91736       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=   5582.970     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      217 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.2483        93.285        .43844E-03    .13765E-02
   2  Index         2.6856        6.1828        .16921        .59833E-04
   3  Normalizat    1.3190        .12040        .58167E-01   -.38362E-05
   4  Prefactor     .91747        .58645E-01    .45226E-01    .80579E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.24827
  Index      = 2.68556
  Normalizat = 1.31897
  Prefactor  = 0.917467
 **********
 **   18 **HESSE 
 **********

 FCN=   5582.970     FROM HESSE     STATUS=OK            33 CALLS      250 TOTAL
                     EDM=   .80E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.2483        5.5501        .12619E-04   -1.5662    
   2  Index         2.6856        1.2451        .93721E-02   -.48125    
   3  Normalizat    1.3190        .26437        .25723E-03   -.83002    
   4  Prefactor     .91747        .18988        .23037E-03   -.95533    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.99094e-09
Minuit parameter uncertainties:
  1  5.55008
  2  1.26207
  3  0.264644
  4  0.190013
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/898153': 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) = 5582.96952276
delta logL = 0.0239408418574

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  5.248e+00  5.550e+00  0.000e+00  1.000e+06 ( 1.000e-12)
337        Index:  2.686e+00  1.262e+00  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:  9.175e-01  1.900e-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.319e+00  2.646e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.97
Ra Dec: 331.892 -53.772
Photon Index (Free Index): 2.69 +/- 1.26
Photon Flux (Free Index): 6.77e-08 +/- 8.96e-08
Energy Flux (Free Index): 1.65e-05 +/- 1.29e-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/898153/cmap_HighResolution_692409601_692668801_4FGL_J2207.5-5346_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.18e-02', comment='SUCCESS', photon_flux='5.15e-08', energy_flux2='1.65e-05', photon_flux_error='4.41e-08', dlogl='2.39e-02', energy_flux='1.61e-05', photon_flux2='6.77e-08', job_status='DONE', time_completed='2022-12-14 01:32:08.132396', photon_index_error2='1.26', photon_index2='2.69', ts='2.90', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='1.52e-07', energy_flux_error2='1.29e-05', EG='1.34', time_epoch_completed='1671010328.13', return_code='0', job_id='898153', GAL2='0.92', EG2='1.32', return_code2='0', energy_flux_error='1.38e-05', photon_flux_error2='8.96e-08', ts2='2.97', photon_index='2.44' WHERE bin_id='1748' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 01:32:08 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0053>
Subject: Job 898153: <4FGL_J2207.5-5346_daily_bin1748> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin1748> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Dec 14 01:20:22 2022
Job was executed on host(s) <bullet0053>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 01:20:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 01:20:24 2022
Terminated at Wed Dec 14 01:32:08 2022
Results reported at Wed Dec 14 01:32:08 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1748 331.892 -53.7719 692409601 692668801 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 :                                   508.08 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             266.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   704 sec.
    Turnaround time :                            706 sec.

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

