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


Performing analysis on: 4FGL_J2207.6+0053_daily_bin1698
RA = 331.914, Dec = 0.8907
tmin = 679449601, tmax = 679708801
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='925685', job_status='RUN', time_executed='2022-07-17 00:39:22.959140', time_epoch_executed='1658043562.96' WHERE source_name='4FGL J2207.6+0053' and cadence='daily' and bin_id='1698'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/925685

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/925685/ft1_4FGL_J2207.6+0053_daily_bin1698.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/925685/ft2_4FGL_J2207.6+0053_daily_bin1698.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/925685/ft1_4FGL_J2207.6+0053_daily_bin1698.fits outfile=/scratch/kocevski/925685/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin1698.fits ra=331.914 dec=0.8907 rad=12.0 tmin=679449601.0 tmax=679708801.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.45
user 3.23
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/925685/ft2_4FGL_J2207.6+0053_daily_bin1698.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/925685/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin1698.fits evtable="EVENTS" outfile="/scratch/kocevski/925685/ft1_filtered_4FGL_J2207.6+0053_daily_bin1698.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.33
sys 0.15

Number of photons that the gtmktime cut: 684

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/925685/ft1_filtered_4FGL_J2207.6+0053_daily_bin1698.fits" evtable="EVENTS" scfile=/scratch/kocevski/925685/ft2_4FGL_J2207.6+0053_daily_bin1698.fits sctable="SC_DATA" outfile=/scratch/kocevski/925685/ltcube_679449601_679708801_4FGL_J2207.6+0053_daily_bin1698.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/925685/ft2_4FGL_J2207.6+0053_daily_bin1698.fits
.....................!
real 12.05
user 11.65
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/925685/ft1_filtered_4FGL_J2207.6+0053_daily_bin1698.fits evtable="EVENTS" scfile=/scratch/kocevski/925685/ft2_4FGL_J2207.6+0053_daily_bin1698.fits sctable="SC_DATA" expcube=/scratch/kocevski/925685/ltcube_679449601_679708801_4FGL_J2207.6+0053_daily_bin1698.fits outfile=/scratch/kocevski/925685/expmap_679449601_679708801_4FGL_J2207.6+0053_daily_bin1698.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/925685/ltcube_679449601_679708801_4FGL_J2207.6+0053_daily_bin1698.fits
.....................!
real 191.29
user 186.19
sys 4.60

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/925685/ft1_filtered_4FGL_J2207.6+0053_daily_bin1698.fits scfile=/scratch/kocevski/925685/ft2_4FGL_J2207.6+0053_daily_bin1698.fits outfile=/scratch/kocevski/925685/cmap_679449601_679708801_4FGL_J2207.6+0053_daily_bin1698.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.54
user 0.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/925685/ft1_filtered_4FGL_J2207.6+0053_daily_bin1698.fits scfile=/scratch/kocevski/925685/ft2_4FGL_J2207.6+0053_daily_bin1698.fits outfile=/scratch/kocevski/925685/cmap_HighResolution_679449601_679708801_4FGL_J2207.6+0053_daily_bin1698.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.54
user 0.37
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/925685/ft1_filtered_4FGL_J2207.6+0053_daily_bin1698.fits', '/scratch/kocevski/925685/ft2_4FGL_J2207.6+0053_daily_bin1698.fits', expMap='/scratch/kocevski/925685/expmap_679449601_679708801_4FGL_J2207.6+0053_daily_bin1698.fits', expCube='/scratch/kocevski/925685/ltcube_679449601_679708801_4FGL_J2207.6+0053_daily_bin1698.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/925685/Model_4FGL_J2207.6+0053_daily_bin1698.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  1.000e-04  1.000e+04 ( 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/925685/ft1_filtered_4FGL_J2207.6+0053_daily_bin1698.fits
Spacecraft file(s): /scratch/kocevski/925685/ft2_4FGL_J2207.6+0053_daily_bin1698.fits
Exposure map: /scratch/kocevski/925685/expmap_679449601_679708801_4FGL_J2207.6+0053_daily_bin1698.fits
Exposure cube: /scratch/kocevski/925685/ltcube_679449601_679708801_4FGL_J2207.6+0053_daily_bin1698.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/925685/Model_4FGL_J2207.6+0053_daily_bin1698.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) = 7610.05636046

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19669E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .15413E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .23703E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.2868       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    25.621       1.0000         .10000E-03   10000.    
     8 'norm      '    3.0190       1.0000         .10000E-03   10000.    
     9 'norm      '    .10089E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.1700       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10193E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    25.700       1.0000         .10000E-03   10000.    
    15 'Prefactor '    16.919       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10222E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.3367       1.0000         .10000E-03   10000.    
    19 'norm      '    3.8033       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    23.834       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3454       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .74608       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7610.030     FROM MIGRAD    STATUS=CONVERGED    545 CALLS     3001 TOTAL
                     EDM=   .78E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10223E-03    29.277       -.29092E-06** at limit **
   2  Prefactor     .10000E-03    148.85       -.10739E-05** at limit **
   3  Prefactor     .10000E-03    1.0648       -.14723E-06** at limit **
   4  Prefactor     9.2899        29.511       -.67885E-05    .26160E-04
   5  Prefactor     .10000E-03    10.744        .35230E-07** at limit **
   6  Prefactor     .10000E-03    34.905        .14695E-06** at limit **
   7  Prefactor     25.615        43.895       -.39136E-06    .38785E-04
   8  norm          3.0186        2.0422       -.29944E-06   -.73507E-04
   9  norm          .10000E-03    6.3664        .10043E-06** at limit **
  10  Prefactor     4.1734        6.7445       -.28842E-05   -.24145E-03
  11  Prefactor     .10000E-03    2.8800       -.21257E-07** at limit **
  12  Prefactor     .10000E-03    5.8243        .32534E-07** at limit **
  13  Prefactor     .10000E-03    4.6882        .81129E-07** at limit **
  14  Prefactor     25.697        16.936       -.48317E-05    .48557E-04
  15  Prefactor     16.924        23.386        .21831E-06    .99223E-05
  16  Prefactor     .10000E-03    6.8603       -.22256E-06** at limit **
  17  Prefactor     .10000E-03    14.904       -.34268E-06** at limit **
  18  Prefactor     3.3373        3.4048        .18453E-05    .33721E-04
  19  norm          3.8045        3.8095        .29966E-05   -.25750E-04
  20  Prefactor     .10000E-03    3.1207       -.87082E-08** at limit **
  21  Prefactor     23.718        86.386       -.14561E-03    .37906E-05
  22  Normalizat    1.3459        .21306        .75058E-05   -.21079E-03
  23  Prefactor     .74577        .11074       -.63236E-06    .51933E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102233
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 9.2899
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.6151
  norm       = 3.01864
  norm       = 0.0001
  Prefactor  = 4.17339
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.6968
  Prefactor  = 16.9243
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.33731
  norm       = 3.80448
  Prefactor  = 0.0001
  Prefactor  = 23.7182
  Normalizat = 1.34592
  Prefactor  = 0.745771
 **********
 **   18 **HESSE 
 **********

 FCN=   7610.030     FROM HESSE     STATUS=OK           376 CALLS     3377 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10223E-03    29.405        .13904       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    155.21        .40899E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.2944        .16986E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.2899        28.929        .13151E-03   -1.5098    
   5  Prefactor     .10000E-03    10.748        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    34.921        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     25.615        43.799        .79141E-04   -1.4695    
   8  norm          3.0186        2.0423        .98778E-04   -1.5360    
   9  norm          .10000E-03    6.3741        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.1734        6.7185        .19737E-03   -1.5299    
  11  Prefactor     .10000E-03    2.8847        .14457E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.8284        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.6923        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     25.697        16.972        .79019E-04   -1.4694    
  15  Prefactor     16.924        23.386        .97371E-04   -1.4885    
  16  Prefactor     .10000E-03    6.9319        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    15.026        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.3373        3.3913        .15424E-03   -1.5343    
  19  norm          3.8045        3.7970        .15928E-03   -1.5318    
  20  Prefactor     .10000E-03    3.1594        .15050E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     23.718        86.325        .82049E-04   -1.4734    
  22  Normalizat    1.3459        .25694        .28960E-03   -.82206    
  23  Prefactor     .74577        .13360        .20357E-03   -1.0176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.14883e-09
Minuit parameter uncertainties:
  1  0.0162146
  2  0.000862645
  3  3.26267e-05
  4  28.9727
  5  1.25074e-05
  6  1.68726e-05
  7  43.8538
  8  2.04238
  9  1.13629e-05
  10  6.71975
  11  9.64611e-07
  12  4.01895e-06
  13  1.443e-05
  14  16.9754
  15  23.3983
  16  6.83968e-07
  17  6.23263e-05
  18  3.3915
  19  3.79719
  20  5.5138e-06
  21  86.7843
  22  0.257187
  23  0.133655
Done.

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

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  2.570e+01  1.698e+01  1.000e-04  1.000e+04 ( 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:  7.458e-01  1.337e-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:  1.346e+00  2.572e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.38
Ra Dec: 331.914 0.891
Photon Index (Fixed Index): 2.48 +/- 0.00
Photon Flux (Fixed Index): 6.25e-08 +/- 4.12e-08
Energy Flux (Fixed Index): 1.85e-05 +/- 1.22e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7609.80203895
delta logL = 0.22766321672

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7609.77290053
delta logL = 0.25680163542

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.171       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9014       1.0000          .0000       10.000    
     3 'Normalizat'    1.3175       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75492       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+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=   7609.773     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      277 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.170        18.298        .96655E-04   -.55987E-04
   2  Index         2.9016        .65407        .52708E-02    .50712E-03
   3  Normalizat    1.3176        .25129        .29218E-03   -.11506E-03
   4  Prefactor     .75485        .13395        .20242E-03   -.15001E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.1698
  Index      = 2.90158
  Normalizat = 1.31759
  Prefactor  = 0.754848
 **********
 **   18 **HESSE 
 **********

 FCN=   7609.773     FROM HESSE     STATUS=OK            25 CALLS      302 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.170        16.858        .38662E-05   -1.4879    
   2  Index         2.9016        .60230        .10542E-02   -.43310    
   3  Normalizat    1.3176        .25129        .11687E-04   -.83043    
   4  Prefactor     .75485        .13400        .80968E-05   -1.0141    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70785e-11
Minuit parameter uncertainties:
  1  16.8628
  2  0.604085
  3  0.251524
  4  0.134054
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/925685': 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) = 7609.7729002
delta logL = 0.2568019582

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  1.717e+01  1.686e+01  1.000e-04  1.000e+04 ( 1.000e-13)
287        Index:  2.902e+00  6.041e-01  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:  7.548e-01  1.341e-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:  1.318e+00  2.515e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.01
Ra Dec: 331.914 0.891
Photon Index (Free Index): 2.90 +/- 0.60
Photon Flux (Free Index): 8.77e-08 +/- 6.08e-08
Energy Flux (Free Index): 1.84e-05 +/- 1.12e-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/925685/cmap_HighResolution_679449601_679708801_4FGL_J2207.6+0053_daily_bin1698.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.25e-08', energy_flux2='1.84e-05', photon_flux_error='4.12e-08', dlogl='2.57e-01', energy_flux='1.85e-05', photon_flux2='8.77e-08', job_status='DONE', time_completed='2022-07-17 00:50:50.286590', photon_index_error2='0.60', photon_index2='2.90', ts='4.38', fit_tolerance='1e-08', GAL='0.75', photon_index_error='0.00', energy_flux_error2='1.12e-05', EG='1.35', time_epoch_completed='1658044250.29', return_code='0', job_id='925685', GAL2='0.75', EG2='1.32', return_code2='0', energy_flux_error='1.22e-05', photon_flux_error2='6.08e-08', ts2='5.01', photon_index='2.48' WHERE bin_id='1698' AND source_name='4FGL J2207.6+0053' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 17 00:50:50 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0077>
Subject: Job 925685: <4FGL_J2207.6+0053_daily_bin1698> in cluster <slac> Done

Job <4FGL_J2207.6+0053_daily_bin1698> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Jul 17 00:35:23 2022
Job was executed on host(s) <bullet0077>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jul 17 00:35:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jul 17 00:35:24 2022
Terminated at Sun Jul 17 00:50:51 2022
Results reported at Sun Jul 17 00:50:51 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.6+0053_daily_bin1698 331.914 0.8907 679449601 679708801 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 :                                   689.18 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             294.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   926 sec.
    Turnaround time :                            928 sec.

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

