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 169 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1665
RA = 331.892, Dec = -53.7719
tmin = 670896001, tmax = 671155201
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='357044', job_status='RUN', time_executed='2022-04-09 00:38:46.122686', time_epoch_executed='1649489926.12' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1665'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/357044

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/357044/ft1_4FGL_J2207.5-5346_daily_bin1665.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/357044/ft2_4FGL_J2207.5-5346_daily_bin1665.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/357044/ft1_4FGL_J2207.5-5346_daily_bin1665.fits outfile=/scratch/kocevski/357044/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1665.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=670896001.0 tmax=671155201.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.41
user 5.13
sys 0.24

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

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

Number of photons that the gtmktime cut: 682

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/357044/ft1_filtered_4FGL_J2207.5-5346_daily_bin1665.fits" evtable="EVENTS" scfile=/scratch/kocevski/357044/ft2_4FGL_J2207.5-5346_daily_bin1665.fits sctable="SC_DATA" outfile=/scratch/kocevski/357044/ltcube_670896001_671155201_4FGL_J2207.5-5346_daily_bin1665.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/357044/ft2_4FGL_J2207.5-5346_daily_bin1665.fits
.....................!
real 11.42
user 11.08
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/357044/ft1_filtered_4FGL_J2207.5-5346_daily_bin1665.fits evtable="EVENTS" scfile=/scratch/kocevski/357044/ft2_4FGL_J2207.5-5346_daily_bin1665.fits sctable="SC_DATA" expcube=/scratch/kocevski/357044/ltcube_670896001_671155201_4FGL_J2207.5-5346_daily_bin1665.fits outfile=/scratch/kocevski/357044/expmap_670896001_671155201_4FGL_J2207.5-5346_daily_bin1665.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/357044/ltcube_670896001_671155201_4FGL_J2207.5-5346_daily_bin1665.fits
.....................!
real 190.72
user 185.35
sys 4.99

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/357044/ft1_filtered_4FGL_J2207.5-5346_daily_bin1665.fits scfile=/scratch/kocevski/357044/ft2_4FGL_J2207.5-5346_daily_bin1665.fits outfile=/scratch/kocevski/357044/cmap_670896001_671155201_4FGL_J2207.5-5346_daily_bin1665.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.37
sys 0.16

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

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/357044/ft1_filtered_4FGL_J2207.5-5346_daily_bin1665.fits', '/scratch/kocevski/357044/ft2_4FGL_J2207.5-5346_daily_bin1665.fits', expMap='/scratch/kocevski/357044/expmap_670896001_671155201_4FGL_J2207.5-5346_daily_bin1665.fits', expCube='/scratch/kocevski/357044/ltcube_670896001_671155201_4FGL_J2207.5-5346_daily_bin1665.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/357044/Model_4FGL_J2207.5-5346_daily_bin1665.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  1.000e-04  1.000e+04 ( 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/357044/ft1_filtered_4FGL_J2207.5-5346_daily_bin1665.fits
Spacecraft file(s): /scratch/kocevski/357044/ft2_4FGL_J2207.5-5346_daily_bin1665.fits
Exposure map: /scratch/kocevski/357044/expmap_670896001_671155201_4FGL_J2207.5-5346_daily_bin1665.fits
Exposure cube: /scratch/kocevski/357044/ltcube_670896001_671155201_4FGL_J2207.5-5346_daily_bin1665.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/357044/Model_4FGL_J2207.5-5346_daily_bin1665.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) = 7322.7443323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4661       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.5112       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.1130       1.0000         .10000E-03   10000.    
     4 'Prefactor '    114.49       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .77674       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10143E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .36351       1.0000         .10000E-03   10000.    
     8 'norm      '    .95653       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10105E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .49292E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.4464       1.0000         .10000E-03   10000.    
    12 'Prefactor '    26.185       1.0000         .10000E-03   10000.    
    13 'norm      '    13.251       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .83175       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.9843       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .12498E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .14328E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10131E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .95486       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .86634       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7322.711     FROM MIGRAD    STATUS=FAILED       873 CALLS     2866 TOTAL
                     EDM=   .56E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4664        2.1434        .11269E-03   -.54375E-04
   2  Prefactor     7.5032        13.337        .14633E-03    .22297E-04
   3  Prefactor     1.1551        189.01        .82183E-02    .80041E-03
   4  Prefactor     114.55        82.759        .18799E-03   -.84905E-04
   5  Prefactor     .74308        14.842        .29342E-02    .52215E-03
   6  Prefactor     .10000E-03    13.331        .18142E-02** at limit **
   7  Prefactor     .34736        12.825        .21737E-02   -.63913E-03
   8  norm          .95665        .92977        .78513E-04   -.14066E-02
   9  Prefactor     .10000E-03    29.946        .18142E-02** at limit **
  10  Prefactor     .10061E-03    7.4049        .54324E-01** at limit **
  11  Prefactor     5.4438        3.1672        .11094E-03   -.25486E-03
  12  Prefactor     26.152        77.935        .78285E-04   -.11818E-03
  13  norm          13.248        7.7889        .11004E-03   -.15085E-04
  14  Prefactor     .83218        1.6458        .17768E-02   -.52213E-03
  15  Prefactor     2.9818        4.0322        .19009E-03   -.80199E-04
  16  Prefactor     .10000E-03    72.065        .36285E-03** at limit **
  17  Prefactor     .10004E-03    30.810        .39220E-02** at limit **
  18  Prefactor     .10000E-03    28.310        .18142E-02** at limit **
  19  Prefactor     .10000E-03    15.161        .18142E-02** at limit **
  20  Prefactor     .10000E-03    4.8886        .18142E-02** at limit **
  21  Normalizat    .95484        .18169        .24471E-03    .27800E-03
  22  Prefactor     .86630        .14258        .20299E-03    .26982E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7322.711     FROM SIMPLEX   STATUS=PROGRESS     817 CALLS     3683 TOTAL
                     EDM=   .19E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4664        2.1434        .21315E-06   -1.5394    
   2  Prefactor     7.5031        13.337        .21916E-06   -1.5160    
   3  Prefactor     1.1554        189.01        .75539E-06   -1.5493    
   4  Prefactor     114.56        82.759        .35621E-06   -1.3563    
   5  Prefactor     .74284        14.842        .51597E-06   -1.5536    
   6  Prefactor     .10000E-03    13.331        .64028E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .34736        12.825        .21534E-06   -1.5590    
   8  norm          .95665        .92977        .21003E-06   -1.5512    
   9  Prefactor     .10000E-03    29.946        .94544E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10061E-03    7.4049        .12451E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.4438        3.1672        .20652E-06   -1.5241    
  12  Prefactor     26.152        77.935        .20205E-06   -1.4685    
  13  norm          13.248        7.7889        .20342E-06   -1.4980    
  14  Prefactor     .83218        1.6458        .21064E-06   -1.5526    
  15  Prefactor     2.9818        4.0322        .20875E-06   -1.5363    
  16  Prefactor     .10000E-03    72.065        .12052E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10004E-03    30.810        .14915E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    28.310        .67832E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    15.161        .40477E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.8886        .22607E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .95484        .18169        .12804E-06   -.94559    
  22  Prefactor     .86630        .14258        .13182E-06   -.97329    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7322.711     FROM MIGRAD    STATUS=CONVERGED    342 CALLS     4025 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4664        2.1431        .45078E-05   -.21185E-04
   2  Prefactor     7.5032        13.335        .58533E-05   -.73807E-05
   3  Prefactor     1.1553        192.09        .16437E-02   -.23517E-05
   4  Prefactor     114.56        82.734        .75198E-05   -.48379E-05
   5  Prefactor     .74284        14.732        .11737E-03   -.22666E-04
   6  Prefactor     .10000E-03    13.333        .36285E-03** at limit **
   7  Prefactor     .34762        12.639        .86949E-04    .47724E-04
   8  norm          .95666        .92921        .31405E-05    .14625E-03
   9  Prefactor     .10000E-03    29.954        .36285E-03** at limit **
  10  Prefactor     .10051E-03    7.1170        .55746E-01** at limit **
  11  Prefactor     5.4438        3.1669        .44375E-05   -.23826E-03
  12  Prefactor     26.152        77.781        .15657E-04   -.10282E-03
  13  norm          13.248        7.7882        .44014E-05   -.50626E-04
  14  Prefactor     .83221        1.6433        .71074E-04    .66862E-04
  15  Prefactor     2.9819        4.0305        .76038E-05   -.82532E-04
  16  Prefactor     .10000E-03    72.073        .72569E-04** at limit **
  17  Prefactor     .10000E-03    31.352        .78441E-03** at limit **
  18  Prefactor     .10000E-03    28.310        .36285E-03** at limit **
  19  Prefactor     .10000E-03    15.162        .36285E-03** at limit **
  20  Prefactor     .10000E-03    4.8890        .36285E-03** at limit **
  21  Normalizat    .95483        .18143        .97884E-05   -.30755E-03
  22  Prefactor     .86630        .14222        .40599E-04   -.27274E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.46643
  Prefactor  = 7.50317
  Prefactor  = 1.1553
  Prefactor  = 114.555
  Prefactor  = 0.742844
  Prefactor  = 0.0001
  Prefactor  = 0.347624
  norm       = 0.956664
  Prefactor  = 0.0001
  Prefactor  = 0.000100515
  Prefactor  = 5.44376
  Prefactor  = 26.1521
  norm       = 13.2484
  Prefactor  = 0.832205
  Prefactor  = 2.98187
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.954832
  Prefactor  = 0.866299
 **********
 **   18 **HESSE 
 **********

 FCN=   7322.711     FROM HESSE     STATUS=OK           332 CALLS     4357 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4664        2.1432        .90155E-06   -1.5394    
   2  Prefactor     7.5032        13.351        .11707E-05   -1.5160    
   3  Prefactor     1.1553        191.77        .65746E-04   -1.5493    
   4  Prefactor     114.56        82.738        .15040E-05   -1.3563    
   5  Prefactor     .74284        14.726        .46948E-05   -1.5536    
   6  Prefactor     .10000E-03    13.333        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .34762        12.628        .34780E-05   -1.5590    
   8  norm          .95666        .92917        .62810E-06   -1.5512    
   9  Prefactor     .10000E-03    29.955        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10051E-03    7.1896        .55377E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.4438        3.1675        .88750E-06   -1.5241    
  12  Prefactor     26.152        77.867        .31314E-05   -1.4685    
  13  norm          13.248        7.7909        .88028E-06   -1.4980    
  14  Prefactor     .83221        1.6433        .28429E-05   -1.5526    
  15  Prefactor     2.9819        4.0305        .15208E-05   -1.5363    
  16  Prefactor     .10000E-03    72.080        .14514E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    31.374        .15688E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    28.310        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    15.162        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.8890        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .95483        .18144        .19577E-05   -.94559    
  22  Prefactor     .86630        .14216        .81198E-05   -.97329    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.57239e-10
Minuit parameter uncertainties:
  1  2.14323
  2  13.356
  3  29.8658
  4  82.8213
  5  6.61619
  6  4.59054e-06
  7  4.19067
  8  0.929182
  9  1.18411e-05
  10  0.00384718
  11  3.16757
  12  78.1718
  13  7.79147
  14  1.64338
  15  4.03082
  16  1.37673e-06
  17  0.000277298
  18  5.60272e-06
  19  4.87811e-06
  20  1.61993e-06
  21  0.181561
  22  0.142221
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  5.444e+00  3.168e+00  1.000e-04  1.000e+04 ( 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:  8.663e-01  1.422e-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:  9.548e-01  1.816e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.71
Ra Dec: 331.892 -53.772
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 4.99e-08 +/- 2.90e-08
Energy Flux (Fixed Index): 1.56e-05 +/- 9.10e-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) = 7320.84989898
delta logL = 1.86108222193

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7320.81441274
delta logL = 1.89656846707

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.3226       1.0000         .10000E-03   10000.    
     2 'Index     '    1.5027       1.0000          .0000       10.000    
     3 'Normalizat'    .99130       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85320       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=   7320.814     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      214 TOTAL
                     EDM=   .56E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.3192        3.1168        .48439E-02    .21578E-04
   2  Index         1.5020        .31401        .17593       -.84684E-04
   3  Normalizat    .99114        .14797        .46058E-01    .26635E-04
   4  Prefactor     .85331        .11802        .44406E-01    .16860E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.31916
  Index      = 1.502
  Normalizat = 0.991135
  Prefactor  = 0.853312
 **********
 **   18 **HESSE 
 **********

 FCN=   7320.814     FROM HESSE     STATUS=OK            33 CALLS      247 TOTAL
                     EDM=   .44E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.3192        4.1935        .12076E-03   -1.5292    
   2  Index         1.5020        .46310        .70949E-02   -.77484    
   3  Normalizat    .99114        .17242        .24073E-03   -.93328    
   4  Prefactor     .85331        .13755        .20445E-03   -.97792    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.37967e-12
Minuit parameter uncertainties:
  1  4.19383
  2  0.464405
  3  0.172513
  4  0.137603
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/357044': 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) = 7320.81441114
delta logL = 1.89657006741

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  4.319e+00  4.194e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  1.502e+00  4.644e-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:  8.533e-01  1.376e-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:  9.911e-01  1.725e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.49
Ra Dec: 331.892 -53.772
Photon Index (Free Index): 1.50 +/- 0.46
Photon Flux (Free Index): 1.69e-08 +/- 1.77e-08
Energy Flux (Free Index): 5.31e-05 +/- 5.54e-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/357044/cmap_HighResolution_670896001_671155201_4FGL_J2207.5-5346_daily_bin1665.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.99e-08', energy_flux2='5.31e-05', photon_flux_error='2.90e-08', dlogl='1.90e+00', energy_flux='1.56e-05', photon_flux2='1.69e-08', job_status='DONE', time_completed='2022-04-09 00:51:33.020768', photon_index_error2='0.46', photon_index2='1.50', ts='7.71', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='5.54e-05', EG='0.95', time_epoch_completed='1649490693.02', return_code='0', job_id='357044', GAL2='0.85', EG2='0.99', return_code2='0', energy_flux_error='9.10e-06', photon_flux_error2='1.77e-08', ts2='11.49', photon_index='2.44' WHERE bin_id='1665' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Apr  9 00:51:33 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0158>
Subject: Job 357044: <4FGL_J2207.5-5346_daily_bin1665> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin1665> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Apr  9 00:35:47 2022
Job was executed on host(s) <bullet0158>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Apr  9 00:35:49 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Apr  9 00:35:49 2022
Terminated at Sat Apr  9 00:51:33 2022
Results reported at Sat Apr  9 00:51:33 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1665 331.892 -53.7719 670896001 671155201 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 :                                   768.47 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             240.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   944 sec.
    Turnaround time :                            946 sec.

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

