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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1721
RA = 331.892, Dec = -53.7719
tmin = 685411201, tmax = 685670401
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='70631', job_status='RUN', time_executed='2022-09-24 01:13:48.285052', time_epoch_executed='1664007228.29' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1721'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/70631

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/70631/ft1_4FGL_J2207.5-5346_daily_bin1721.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/70631/ft2_4FGL_J2207.5-5346_daily_bin1721.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/70631/ft1_4FGL_J2207.5-5346_daily_bin1721.fits outfile=/scratch/kocevski/70631/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1721.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=685411201.0 tmax=685670401.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 5.24
user 4.98
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/70631/ft2_4FGL_J2207.5-5346_daily_bin1721.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/70631/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1721.fits evtable="EVENTS" outfile="/scratch/kocevski/70631/ft1_filtered_4FGL_J2207.5-5346_daily_bin1721.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.56
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 703

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/70631/ft1_filtered_4FGL_J2207.5-5346_daily_bin1721.fits" evtable="EVENTS" scfile=/scratch/kocevski/70631/ft2_4FGL_J2207.5-5346_daily_bin1721.fits sctable="SC_DATA" outfile=/scratch/kocevski/70631/ltcube_685411201_685670401_4FGL_J2207.5-5346_daily_bin1721.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/70631/ft2_4FGL_J2207.5-5346_daily_bin1721.fits
.....................!
real 18.18
user 17.71
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/70631/ft1_filtered_4FGL_J2207.5-5346_daily_bin1721.fits evtable="EVENTS" scfile=/scratch/kocevski/70631/ft2_4FGL_J2207.5-5346_daily_bin1721.fits sctable="SC_DATA" expcube=/scratch/kocevski/70631/ltcube_685411201_685670401_4FGL_J2207.5-5346_daily_bin1721.fits outfile=/scratch/kocevski/70631/expmap_685411201_685670401_4FGL_J2207.5-5346_daily_bin1721.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/70631/ltcube_685411201_685670401_4FGL_J2207.5-5346_daily_bin1721.fits
.....................!
real 190.95
user 185.22
sys 5.33

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/70631/ft1_filtered_4FGL_J2207.5-5346_daily_bin1721.fits scfile=/scratch/kocevski/70631/ft2_4FGL_J2207.5-5346_daily_bin1721.fits outfile=/scratch/kocevski/70631/cmap_685411201_685670401_4FGL_J2207.5-5346_daily_bin1721.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.61
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/70631/ft1_filtered_4FGL_J2207.5-5346_daily_bin1721.fits scfile=/scratch/kocevski/70631/ft2_4FGL_J2207.5-5346_daily_bin1721.fits outfile=/scratch/kocevski/70631/cmap_HighResolution_685411201_685670401_4FGL_J2207.5-5346_daily_bin1721.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.59
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/70631/ft1_filtered_4FGL_J2207.5-5346_daily_bin1721.fits evtable="EVENTS" scfile=/scratch/kocevski/70631/ft2_4FGL_J2207.5-5346_daily_bin1721.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/70631/Model_4FGL_J2207.5-5346_daily_bin1721.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/70631/ft1_filtered_4FGL_J2207.5-5346_daily_bin1721.fits.....................!
real 56.26
user 54.88
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17546E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .10548E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .48121E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    14.570       1.0000          .0000       .10000E+07
     5 'Prefactor '    .53080E-06   1.0000          .0000       .10000E+07
     6 'norm      '    .10592E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    13.268       1.0000          .0000       .10000E+07
     8 'Prefactor '    .11530E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    6.4623       1.0000          .0000       .10000E+07
    10 'Prefactor '    .33064E-01   1.0000          .0000       .10000E+07
    11 'norm      '    .70299E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .17991E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    2.1133       1.0000          .0000       .10000E+07
    14 'Prefactor '    .55488E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    12.197       1.0000          .0000       .10000E+07
    16 'Prefactor '    4.4091       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1317       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .74468       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=   7546.968     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1052 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    1.6744       -.11707E-06** at limit **
   2  Prefactor     .28727E-06    26.163       -.34467E-06** at limit **
   3  Prefactor     .19429E-08    8.3350        .53247E-06** at limit **
   4  Prefactor     14.540        1.5421       -.10483E-06    .14507E-01
   5  Prefactor     .49960E-09    1.9730       -.20556E-06** at limit **
   6  norm          .16653E-09    .50673       -.13694E-06** at limit **
   7  Prefactor     13.536        14.653        .27698E-07   -.81412E-01
   8  Prefactor     .55511E-10    2.5963        .71334E-07** at limit **
   9  Prefactor     6.4616        3.3814       -.69794E-07   -.48145E-02
  10  Prefactor     .51431E-06    22.636        .40920E-05** at limit **
  11  norm           .0000        1.8413       -.53081E-07** at limit **
  12  Prefactor      .0000        .90860       -.20408E-08** at limit **
  13  Prefactor     2.1253        3.6332       -.43886E-06   -.90073E-02
  14  Prefactor     .36476E-06    23.772        .74814E-06** at limit **
  15  Prefactor     11.593        20.155       -.11562E-05    .55116E-01
  16  Prefactor     4.5815        7.3357       -.15785E-05   -.12780E-03
  17  Normalizat    1.1315        .17211        .24090E-05    .31886E-03
  18  Prefactor     .74475        .12905        .18488E-05    .61338E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Prefactor  = 2.8727e-07
  Prefactor  = 1.94289e-09
  Prefactor  = 14.5405
  Prefactor  = 4.996e-10
  norm       = 1.66533e-10
  Prefactor  = 13.5357
  Prefactor  = 5.55112e-11
  Prefactor  = 6.46157
  Prefactor  = 5.14311e-07
  norm       = 0
  Prefactor  = 0
  Prefactor  = 2.12525
  Prefactor  = 3.64764e-07
  Prefactor  = 11.5935
  Prefactor  = 4.58145
  Normalizat = 1.1315
  Prefactor  = 0.744753
 **********
 **   18 **HESSE 
 **********

 FCN=   7546.968     FROM HESSE     STATUS=OK           282 CALLS     1334 TOTAL
                     EDM=   .64E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    1.6603        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .28727E-06    26.590        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .19429E-08    8.2650        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     14.540        22.702        .26214E-03   -1.5632    
   5  Prefactor     .49960E-09    1.9682        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .16653E-09    .48894        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     13.536        21.104        .27473E-03   -1.5634    
   8  Prefactor     .55511E-10    2.5953        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.4616        3.3903        .39456E-03   -1.5657    
  10  Prefactor     .51431E-06    31.551        .16293E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.8430        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        .90818        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.1253        3.6953        .70932E-03   -1.5679    
  14  Prefactor     .36476E-06    11.920        .10385E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     11.593        26.334        .28657E-03   -1.5640    
  16  Prefactor     4.5815        9.5688        .47938E-03   -1.5665    
  17  Normalizat    1.1315        .15269        .36836E-01   -.88747    
  18  Prefactor     .74475        .11352        .42993E-01   -1.0180    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.39114e-07
Minuit parameter uncertainties:
  1  1.64029e-05
  2  0.00552773
  3  0.000252576
  4  22.7017
  5  6.25431e-05
  6  1.84609e-05
  7  21.1045
  8  2.39296e-05
  9  3.3903
  10  0.00805648
  11  7.40763e-06
  12  4.95152e-06
  13  3.69531
  14  0.00417026
  15  26.3343
  16  9.56883
  17  0.152745
  18  0.113552
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  6.462e+00  3.390e+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.448e-01  1.136e-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.132e+00  1.527e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.51
Ra Dec: 331.892 -53.772
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 5.93e-08 +/- 3.11e-08
Energy Flux (Fixed Index): 1.86e-05 +/- 9.74e-06

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) = 7546.94459213
delta logL = 0.0238868499173

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7546.93709852
delta logL = 0.0313804550615

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.9145       1.0000          .0000       .10000E+07
     2 'Index     '    2.3071       1.0000          .0000       10.000    
     3 'Normalizat'    1.1389       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74110       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=   7546.937     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      240 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.9144        4.0173        .11661E-04    .10815E-01
   2  Index         2.3082        .50510        .69410E-02    .17049E-03
   3  Normalizat    1.1387        .17125        .22722E-03   -.13094E-03
   4  Prefactor     .74129        .12935        .21046E-03   -.17648E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.91438
  Index      = 2.30819
  Normalizat = 1.13873
  Prefactor  = 0.741287
 **********
 **   18 **HESSE 
 **********

 FCN=   7546.937     FROM HESSE     STATUS=OK            25 CALLS      265 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.9144        3.9548        .46644E-06   -1.5655    
   2  Index         2.3082        .49688        .27764E-03   -.56849    
   3  Normalizat    1.1387        .17132        .90887E-05   -.88518    
   4  Prefactor     .74129        .12942        .84185E-05   -1.0193    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.49169e-10
Minuit parameter uncertainties:
  1  3.95485
  2  0.498039
  3  0.171408
  4  0.129477
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/70631': 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) = 7546.93709392
delta logL = 0.0313850576522

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  6.914e+00  3.955e+00  0.000e+00  1.000e+06 ( 1.000e-12)
337        Index:  2.308e+00  4.980e-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.413e-01  1.295e-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.139e+00  1.714e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.56
Ra Dec: 331.892 -53.772
Photon Index (Free Index): 2.31 +/- 0.50
Photon Flux (Free Index): 5.39e-08 +/- 3.61e-08
Energy Flux (Free Index): 2.02e-05 +/- 1.30e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/70631/cmap_HighResolution_685411201_685670401_4FGL_J2207.5-5346_daily_bin1721.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.93e-08', energy_flux2='2.02e-05', photon_flux_error='3.11e-08', dlogl='3.14e-02', energy_flux='1.86e-05', photon_flux2='5.39e-08', job_status='DONE', time_completed='2022-09-24 01:22:37.083555', photon_index_error2='0.50', photon_index2='2.31', ts='6.51', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', energy_flux_error2='1.30e-05', EG='1.13', time_epoch_completed='1664007757.08', return_code='0', job_id='70631', GAL2='0.74', EG2='1.14', return_code2='0', energy_flux_error='9.74e-06', photon_flux_error2='3.61e-08', ts2='6.56', photon_index='2.44' WHERE bin_id='1721' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 24 01:22:37 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0115>
Subject: Job 70631: <4FGL_J2207.5-5346_daily_bin1721> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin1721> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Sep 24 01:10:36 2022
Job was executed on host(s) <bullet0115>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 24 01:12:45 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 24 01:12:45 2022
Terminated at Sat Sep 24 01:22:37 2022
Results reported at Sat Sep 24 01:22:37 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1721 331.892 -53.7719 685411201 685670401 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 :                                   526.17 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             313.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   592 sec.
    Turnaround time :                            721 sec.

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

