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


Performing analysis on: 4FGL_J2207.6+0053_daily_bin1715
RA = 331.914, Dec = 0.8907
tmin = 683856001, tmax = 684115201
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='240581', job_status='RUN', time_executed='2022-09-16 23:41:48.552052', time_epoch_executed='1663396908.55' WHERE source_name='4FGL J2207.6+0053' and cadence='daily' and bin_id='1715'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/240581

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/240581/ft1_4FGL_J2207.6+0053_daily_bin1715.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/240581/ft2_4FGL_J2207.6+0053_daily_bin1715.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/240581/ft1_4FGL_J2207.6+0053_daily_bin1715.fits outfile=/scratch/kocevski/240581/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin1715.fits ra=331.914 dec=0.8907 rad=12.0 tmin=683856001.0 tmax=684115201.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.48
user 3.24
sys 0.21

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

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

Number of photons that the gtmktime cut: 549

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/240581/ft1_filtered_4FGL_J2207.6+0053_daily_bin1715.fits" evtable="EVENTS" scfile=/scratch/kocevski/240581/ft2_4FGL_J2207.6+0053_daily_bin1715.fits sctable="SC_DATA" outfile=/scratch/kocevski/240581/ltcube_683856001_684115201_4FGL_J2207.6+0053_daily_bin1715.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/240581/ft2_4FGL_J2207.6+0053_daily_bin1715.fits
.....................!
real 14.89
user 14.47
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/240581/ft1_filtered_4FGL_J2207.6+0053_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/240581/ft2_4FGL_J2207.6+0053_daily_bin1715.fits sctable="SC_DATA" expcube=/scratch/kocevski/240581/ltcube_683856001_684115201_4FGL_J2207.6+0053_daily_bin1715.fits outfile=/scratch/kocevski/240581/expmap_683856001_684115201_4FGL_J2207.6+0053_daily_bin1715.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/240581/ltcube_683856001_684115201_4FGL_J2207.6+0053_daily_bin1715.fits
.....................!
real 193.10
user 187.79
sys 4.86

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/240581/ft1_filtered_4FGL_J2207.6+0053_daily_bin1715.fits scfile=/scratch/kocevski/240581/ft2_4FGL_J2207.6+0053_daily_bin1715.fits outfile=/scratch/kocevski/240581/cmap_683856001_684115201_4FGL_J2207.6+0053_daily_bin1715.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.58
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/240581/ft1_filtered_4FGL_J2207.6+0053_daily_bin1715.fits scfile=/scratch/kocevski/240581/ft2_4FGL_J2207.6+0053_daily_bin1715.fits outfile=/scratch/kocevski/240581/cmap_HighResolution_683856001_684115201_4FGL_J2207.6+0053_daily_bin1715.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.60
user 0.39
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/240581/ft1_filtered_4FGL_J2207.6+0053_daily_bin1715.fits', '/scratch/kocevski/240581/ft2_4FGL_J2207.6+0053_daily_bin1715.fits', expMap='/scratch/kocevski/240581/expmap_683856001_684115201_4FGL_J2207.6+0053_daily_bin1715.fits', expCube='/scratch/kocevski/240581/ltcube_683856001_684115201_4FGL_J2207.6+0053_daily_bin1715.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/240581/Model_4FGL_J2207.6+0053_daily_bin1715.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/240581/ft1_filtered_4FGL_J2207.6+0053_daily_bin1715.fits
Spacecraft file(s): /scratch/kocevski/240581/ft2_4FGL_J2207.6+0053_daily_bin1715.fits
Exposure map: /scratch/kocevski/240581/expmap_683856001_684115201_4FGL_J2207.6+0053_daily_bin1715.fits
Exposure cube: /scratch/kocevski/240581/ltcube_683856001_684115201_4FGL_J2207.6+0053_daily_bin1715.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/240581/Model_4FGL_J2207.6+0053_daily_bin1715.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) = 6153.34611219

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    49.652       1.0000          .0000       .10000E+07
     2 'Prefactor '    .78581E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .36755E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    11.448       1.0000          .0000       .10000E+07
     5 'Prefactor '    .16710E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .22663E-02   1.0000          .0000       .10000E+07
     7 'norm      '    35.964       1.0000          .0000       .10000E+07
     8 'Prefactor '    .22672E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    17.548       1.0000          .0000       .10000E+07
    10 'Prefactor '    17.488       1.0000          .0000       .10000E+07
    11 'Prefactor '    .36746E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    16.388       1.0000          .0000       .10000E+07
    13 'Prefactor '    .30354E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .17160       1.0000          .0000       .10000E+07
    15 'norm      '    10.589       1.0000          .0000       .10000E+07
    16 'Prefactor '    .32937E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .50970       1.0000          .0000       .10000E+07
    18 'Normalizat'    .59839       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0974       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=   6153.319     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     1417 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     49.619        1.6384       -.43008E-07    .98603E-02
   2  Prefactor     .15821E-07    47.331       -.51982E-05** at limit **
   3  Prefactor      .0000        1.1714        .38058E-06** at limit **
   4  Prefactor     11.475        1.3721        .76482E-07    .46140E-02
   5  Prefactor     .22204E-09    15.706       -.16519E-05** at limit **
   6  norm           .0000        4.6361        .16929E-06** at limit **
   7  norm          36.438        9.3988        .11379E-06    .46051E-01
   8  Prefactor      .0000        3.0684        .70299E-06** at limit **
   9  Prefactor     17.547        10.632        .44650E-06    .33631E-01
  10  Prefactor     17.511        3.4874        .14607E-06    .24725E-02
  11  Prefactor     .19984E-08    13.925       -.15443E-06** at limit **
  12  Prefactor     16.365        7.5113        .53180E-06   -.49172E-01
  13  Prefactor     .11102E-09    7.7935       -.41736E-06** at limit **
  14  Prefactor     .19557        26.157        .22310E-05** at limit **
  15  norm          10.644        5.5803       -.71801E-07   -.14233E-02
  16  Prefactor     .10000E-03    9.2457       -.20122E-05** at limit **
  17  Prefactor     .23836E-06    84.602       -.66037E-06** at limit **
  18  Normalizat    .59730        .28012        .14306E-04    .37063E-04
  19  Prefactor     1.0975        .15499       -.48535E-05    .74290E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 49.6189
  Prefactor  = 1.58207e-08
  Prefactor  = 0
  Prefactor  = 11.475
  Prefactor  = 2.22045e-10
  norm       = 0
  norm       = 36.4381
  Prefactor  = 0
  Prefactor  = 17.5473
  Prefactor  = 17.5114
  Prefactor  = 1.9984e-09
  Prefactor  = 16.3646
  Prefactor  = 1.11022e-10
  Prefactor  = 0.19557
  norm       = 10.644
  Prefactor  = 0.0001
  Prefactor  = 2.38365e-07
  Normalizat = 0.597305
  Prefactor  = 1.09754
 **********
 **   18 **HESSE 
 **********

 FCN=   6153.319     FROM HESSE     STATUS=OK           316 CALLS     1733 TOTAL
                     EDM=   .91E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     49.619        33.192        .14193E-03   -1.5567    
   2  Prefactor     .15821E-07    47.739        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.1722        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     11.475        27.224        .29584E-03   -1.5640    
   5  Prefactor     .22204E-09    15.951        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        4.5951        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          36.438        27.924        .16677E-03   -1.5587    
   8  Prefactor      .0000        3.0704        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.547        12.714        .23882E-03   -1.5624    
  10  Prefactor     17.511        15.022        .23923E-03   -1.5624    
  11  Prefactor     .19984E-08    14.001        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     16.365        12.123        .24714E-03   -1.5627    
  13  Prefactor     .11102E-09    7.8132        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .19557        2.8620        .86996E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          10.644        5.6155        .30765E-03   -1.5643    
  16  Prefactor     .10000E-03    4.3080        .61156E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .23836E-06    95.255        .77739E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .59730        .25799        .92815E-01   -1.0810    
  19  Prefactor     1.0975        .13778        .37685E-01   -.89545    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.09821e-08
Minuit parameter uncertainties:
  1  33.1923
  2  0.00173839
  3  3.90456e-06
  4  27.2242
  5  0.000114637
  6  1.12335e-05
  7  27.9245
  8  6.48397e-06
  9  12.7141
  10  15.0219
  11  0.000334321
  12  12.1234
  13  5.98778e-05
  14  1.4963
  15  5.61546
  16  2.66927e-06
  17  0.00953022
  18  0.258506
  19  0.137828
Done.

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

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  1.998e-09  3.343e-04  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:  1.098e+00  1.378e-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:  5.973e-01  2.585e-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.04e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.09e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/240581/likelihoodResults_683856001_684115201_4FGL_J2207.6+0053_daily_bin1715.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6153.35388423
delta logL = -0.0345955549537

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6153.31929047
delta logL = -1.78855862032e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .43570E-04   1.0000          .0000       .10000E+07
     2 'Index     '    2.2698       1.0000          .0000       10.000    
     3 'Normalizat'    .59716       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0976       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.

 FCN=   6153.319     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      227 TOTAL
                     EDM=   .63E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13878E-08    .12444E-01    .42118E-03** at limit **
   2  Index         3.7285        6.0530        .50000        .16598E-08
   3  Normalizat    .59730        .31312E-03    .92815E-01    .97192E-04
   4  Prefactor     1.0975        .17743E-03    .37679E-01    .68053E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.38778e-09
  Index      = 3.7285
  Normalizat = 0.597298
  Prefactor  = 1.09754
 **********
 **   18 **HESSE 
 **********

 FCN=   6153.319     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      258 TOTAL
                     EDM=   .74E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13878E-08    .14540        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.7285        5.2488        .50000       -.25712    
   3  Normalizat    .59730        .10579E-02    .41124E-03   -1.0810    
   4  Prefactor     1.0975        .60123E-03    .17519E-03   -.89545    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.4196e-12
Minuit parameter uncertainties:
  1  2.84491e-05
  2  2170.4
  3  0.00105788
  4  0.000601229
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/240581': 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) = 6153.31928868
delta logL = -4.8203219194e-10

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  1.388e-09  2.845e-05  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  3.728e+00  2.170e+03  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:  1.098e+00  6.012e-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:  5.973e-01  1.058e-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/240581/cmap_HighResolution_683856001_684115201_4FGL_J2207.6+0053_daily_bin1715.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.09e-03', job_status='DONE', photon_flux_upper_limit='1.04e-07', time_completed='2022-09-16 23:51:03.918520', job_id='240581', GAL2='1.10', fit_tolerance='1e-08', EG2='0.60', EG='0.60', time_epoch_completed='1663397463.92', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='-4.82e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='1715' AND source_name='4FGL J2207.6+0053' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 23:51:03 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0010>
Subject: Job 240581: <4FGL_J2207.6+0053_daily_bin1715> in cluster <slac> Done

Job <4FGL_J2207.6+0053_daily_bin1715> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 23:40:31 2022
Job was executed on host(s) <bullet0010>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 23:41:36 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 23:41:36 2022
Terminated at Fri Sep 16 23:51:04 2022
Results reported at Fri Sep 16 23:51:04 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.6+0053_daily_bin1715 331.914 0.8907 683856001 684115201 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 :                                   557.19 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             358.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   568 sec.
    Turnaround time :                            633 sec.

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

