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


Performing analysis on: 4FGL_J2207.6+0053_daily_bin1726
RA = 331.914, Dec = 0.8907
tmin = 686707201, tmax = 686966401
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='88315', job_status='RUN', time_executed='2022-10-09 00:37:40.644692', time_epoch_executed='1665301060.64' WHERE source_name='4FGL J2207.6+0053' and cadence='daily' and bin_id='1726'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/88315

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/88315/ft1_4FGL_J2207.6+0053_daily_bin1726.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/88315/ft2_4FGL_J2207.6+0053_daily_bin1726.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/88315/ft1_4FGL_J2207.6+0053_daily_bin1726.fits outfile=/scratch/kocevski/88315/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin1726.fits ra=331.914 dec=0.8907 rad=12.0 tmin=686707201.0 tmax=686966401.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.11
user 2.84
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/88315/ft2_4FGL_J2207.6+0053_daily_bin1726.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/88315/ft2_4FGL_J2207.6+0053_daily_bin1726.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/88315/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin1726.fits evtable="EVENTS" outfile="/scratch/kocevski/88315/ft1_filtered_4FGL_J2207.6+0053_daily_bin1726.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.52
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 369

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/88315/ft1_filtered_4FGL_J2207.6+0053_daily_bin1726.fits" evtable="EVENTS" scfile=/scratch/kocevski/88315/ft2_4FGL_J2207.6+0053_daily_bin1726.fits sctable="SC_DATA" outfile=/scratch/kocevski/88315/ltcube_686707201_686966401_4FGL_J2207.6+0053_daily_bin1726.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/88315/ft2_4FGL_J2207.6+0053_daily_bin1726.fits
.....................!
real 13.23
user 12.84
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/88315/ft1_filtered_4FGL_J2207.6+0053_daily_bin1726.fits evtable="EVENTS" scfile=/scratch/kocevski/88315/ft2_4FGL_J2207.6+0053_daily_bin1726.fits sctable="SC_DATA" expcube=/scratch/kocevski/88315/ltcube_686707201_686966401_4FGL_J2207.6+0053_daily_bin1726.fits outfile=/scratch/kocevski/88315/expmap_686707201_686966401_4FGL_J2207.6+0053_daily_bin1726.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/88315/ltcube_686707201_686966401_4FGL_J2207.6+0053_daily_bin1726.fits
.....................!
real 190.03
user 185.48
sys 4.15

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 171 point sources and 0 extended sources

Setting source of interest to:
4FGL J2207.6+0053 @ 331.914 0.8907

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/88315/ft1_filtered_4FGL_J2207.6+0053_daily_bin1726.fits scfile=/scratch/kocevski/88315/ft2_4FGL_J2207.6+0053_daily_bin1726.fits outfile=/scratch/kocevski/88315/cmap_686707201_686966401_4FGL_J2207.6+0053_daily_bin1726.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.914 yref=0.8907 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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/88315/ft1_filtered_4FGL_J2207.6+0053_daily_bin1726.fits scfile=/scratch/kocevski/88315/ft2_4FGL_J2207.6+0053_daily_bin1726.fits outfile=/scratch/kocevski/88315/cmap_HighResolution_686707201_686966401_4FGL_J2207.6+0053_daily_bin1726.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.914 yref=0.8907 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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/88315/ft1_filtered_4FGL_J2207.6+0053_daily_bin1726.fits evtable="EVENTS" scfile=/scratch/kocevski/88315/ft2_4FGL_J2207.6+0053_daily_bin1726.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/88315/Model_4FGL_J2207.6+0053_daily_bin1726.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/88315/ft1_filtered_4FGL_J2207.6+0053_daily_bin1726.fits.....................!
real 46.86
user 45.55
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/88315/ft1_filtered_4FGL_J2207.6+0053_daily_bin1726.fits', '/scratch/kocevski/88315/ft2_4FGL_J2207.6+0053_daily_bin1726.fits', expMap='/scratch/kocevski/88315/expmap_686707201_686966401_4FGL_J2207.6+0053_daily_bin1726.fits', expCube='/scratch/kocevski/88315/ltcube_686707201_686966401_4FGL_J2207.6+0053_daily_bin1726.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/88315/Model_4FGL_J2207.6+0053_daily_bin1726.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2207.6+0053'

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  2.216e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  2.484e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.070e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/88315/ft1_filtered_4FGL_J2207.6+0053_daily_bin1726.fits
Spacecraft file(s): /scratch/kocevski/88315/ft2_4FGL_J2207.6+0053_daily_bin1726.fits
Exposure map: /scratch/kocevski/88315/expmap_686707201_686966401_4FGL_J2207.6+0053_daily_bin1726.fits
Exposure cube: /scratch/kocevski/88315/ltcube_686707201_686966401_4FGL_J2207.6+0053_daily_bin1726.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/88315/Model_4FGL_J2207.6+0053_daily_bin1726.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) = 4301.84308358

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .90898E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .78565E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    3.4698       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.7527       1.0000          .0000       .10000E+07
     5 'Prefactor '    .54595E-01   1.0000          .0000       .10000E+07
     6 'norm      '    5.0777       1.0000          .0000       .10000E+07
     7 'norm      '    .72198E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .40973E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    15.229       1.0000          .0000       .10000E+07
    10 'Prefactor '    7.1925       1.0000          .0000       .10000E+07
    11 'Prefactor '    .34560E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    4.1565       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.6470       1.0000          .0000       .10000E+07
    14 'Prefactor '    .13997E-05   1.0000          .0000       .10000E+07
    15 'norm      '    1.7015       1.0000          .0000       .10000E+07
    16 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .17525E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    .76232       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .85798       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4301.620     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     1455 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14911E-05    12.304        .54413E-07** at limit **
   2  Prefactor     .83694E-06    5.3138       -.14686E-06** at limit **
   3  Prefactor     3.4805        2.7385       -.10233E-08    .15567E-03
   4  Prefactor     2.2724        133.68        .38471E-06    .13622E-01
   5  Prefactor     .25924E-07    .96554       -.13805E-08** at limit **
   6  norm          5.0772        3.2676        .33831E-08    .77630E-03
   7  norm          .67935E-06    7.8298        .92732E-07** at limit **
   8  Prefactor     .15407E-05    7.7663       -.56079E-07** at limit **
   9  Prefactor     15.516        10.589       -.50033E-07    .69339E-01
  10  Prefactor     7.0351        11.524        .16682E-07   -.27179E-01
  11  Prefactor     .13327E-05    14.106        .15683E-06** at limit **
  12  Prefactor     4.1172        9.7563       -.30607E-06   -.11406E-02
  13  Prefactor     2.9360        3.4101        .39419E-08    .58366E-02
  14  Prefactor      .0000        3.9246        .28764E-06** at limit **
  15  norm          1.7026        3.9991       -.37688E-07   -.61713E-03
  16  Prefactor     .10000E-03    4.5522       -.26727E-06** at limit **
  17  Prefactor     .69333E-07    38.229       -.36750E-06** at limit **
  18  Normalizat    .76311        .30592        .22075E-05   -.30212E-04
  19  Prefactor     .85756        .16284       -.12563E-05   -.12589E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.49114e-06
  Prefactor  = 8.36942e-07
  Prefactor  = 3.48054
  Prefactor  = 2.27238
  Prefactor  = 2.59237e-08
  norm       = 5.07722
  norm       = 6.79345e-07
  Prefactor  = 1.54071e-06
  Prefactor  = 15.5164
  Prefactor  = 7.03511
  Prefactor  = 1.33266e-06
  Prefactor  = 4.11715
  Prefactor  = 2.93596
  Prefactor  = 0
  norm       = 1.70262
  Prefactor  = 0.0001
  Prefactor  = 6.93334e-08
  Normalizat = 0.763113
  Prefactor  = 0.857555
 **********
 **   18 **HESSE 
 **********

 FCN=   4301.620     FROM HESSE     STATUS=OK           310 CALLS     1765 TOTAL
                     EDM=   .65E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14911E-05    14.942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .83694E-06    37.363        .14545E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.4805        2.9217        .54263E-03   -1.5671    
   4  Prefactor     2.2724        174.68        .61329E-03   -1.5678    
   5  Prefactor     .25924E-07    155.56        .15362E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.0772        3.2661        .44597E-03   -1.5663    
   7  norm          .67935E-06    11.121        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .15407E-05    12.085        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     15.516        15.182        .25639E-03   -1.5629    
  10  Prefactor     7.0351        14.862        .37378E-03   -1.5655    
  11  Prefactor     .13327E-05    16.503        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.1172        9.7979        .49414E-03   -1.5667    
  13  Prefactor     2.9360        99.306        .62636E-03   -1.5674    
  14  Prefactor      .0000        3.9151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.7026        4.0283        .80607E-03   -1.5682    
  16  Prefactor     .10000E-03    4.5139        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .69333E-07    38.683        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .76311        .25948        .73913E-01   -1.0145    
  19  Prefactor     .85756        .13450        .44467E-01   -.97640    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.47956e-07
Minuit parameter uncertainties:
  1  0.00944036
  2  0.0111841
  3  2.92174
  4  39.8477
  5  0.00401433
  6  3.26606
  7  0.0054972
  8  0.00863002
  9  15.1817
  10  14.8621
  11  0.00937936
  12  9.79794
  13  34.1508
  14  1.45883e-05
  15  4.02831
  16  5.26372e-06
  17  0.00327476
  18  0.259898
  19  0.134556
Done.

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

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  1.333e-06  9.379e-03  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  2.484e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.070e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
553    Prefactor:  8.576e-01  1.346e-01  0.000e+00  1.000e+01 ( 1.000e+00)
554        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
555        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
552   Normalization:  7.631e-01  2.599e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 331.914 0.891
Photon Flux Upper Limit: 1.16e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.05e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/88315/likelihoodResults_686707201_686966401_4FGL_J2207.6+0053_daily_bin1726.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): 102
logL (Free Index) = 4301.61966676
delta logL = -8.34856746224e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4301.61958331
delta logL = -4.24051904702e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .43526E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.0493       1.0000          .0000       10.000    
     3 'Normalizat'    .76312       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85757       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4301.620     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      242 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .26645E-08    16.348        .47781E-05** at limit **
   2  Index         2.5095        6.1766       -.60861E-04    .43660E-10
   3  Normalizat    .76311        .28978       -.17408E-04   -.16381E-03
   4  Prefactor     .85756        .16078        .16394E-06   -.25276E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.66454e-09
  Index      = 2.50954
  Normalizat = 0.763111
  Prefactor  = 0.857556
 **********
 **   18 **HESSE 
 **********

 FCN=   4301.620     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      277 TOTAL
                     EDM=   .80E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .26645E-08    .77829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5095        5.7914        .39950       -.52140    
   3  Normalizat    .76311        .13094E-02    .73913E-01   -1.0145    
   4  Prefactor     .85756        .72703E-03    .44462E-01   -.97640    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.03288e-12
Minuit parameter uncertainties:
  1  9.10523e-05
  2  10331.8
  3  0.00130944
  4  0.000727032
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/88315': 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): 102
logL (Free Index) = 4301.61958323
delta logL = 4.02442310588e-08

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  2.665e-09  9.105e-05  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  2.510e+00  1.033e+04  0.000e+00  1.000e+01 (-1.000e+00)
288        Scale:  1.070e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
553    Prefactor:  8.576e-01  7.270e-04  0.000e+00  1.000e+01 ( 1.000e+00)
554        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
555        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
552   Normalization:  7.631e-01  1.309e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 331.914 0.891

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/88315/cmap_HighResolution_686707201_686966401_4FGL_J2207.6+0053_daily_bin1726.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.05e-03', job_status='DONE', photon_flux_upper_limit='1.16e-07', time_completed='2022-10-09 00:45:20.175406', job_id='88315', GAL2='0.86', fit_tolerance='1e-08', EG2='0.76', EG='0.76', time_epoch_completed='1665301520.18', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='4.02e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='1726' AND source_name='4FGL J2207.6+0053' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Oct  9 00:45:20 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0262>
Subject: Job 88315: <4FGL_J2207.6+0053_daily_bin1726> in cluster <slac> Done

Job <4FGL_J2207.6+0053_daily_bin1726> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Oct  9 00:35:49 2022
Job was executed on host(s) <bullet0262>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Oct  9 00:35:57 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Oct  9 00:35:57 2022
Terminated at Sun Oct  9 00:45:20 2022
Results reported at Sun Oct  9 00:45:20 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.6+0053_daily_bin1726 331.914 0.8907 686707201 686966401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2207.6+0053 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   461.37 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             300.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   563 sec.
    Turnaround time :                            571 sec.

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

