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 91 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7534
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2207.6+0053_daily_bin1721
RA = 331.914, Dec = 0.8907
tmin = 685411201, tmax = 685670401
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='70633', job_status='RUN', time_executed='2022-09-24 01:14:26.652041', time_epoch_executed='1664007266.65' WHERE source_name='4FGL J2207.6+0053' and cadence='daily' and bin_id='1721'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/70633

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/70633/ft1_4FGL_J2207.6+0053_daily_bin1721.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/70633/ft2_4FGL_J2207.6+0053_daily_bin1721.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/70633/ft1_4FGL_J2207.6+0053_daily_bin1721.fits outfile=/scratch/kocevski/70633/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin1721.fits ra=331.914 dec=0.8907 rad=12.0 tmin=685411201.0 tmax=685670401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 5.25
user 4.98
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/70633/ft2_4FGL_J2207.6+0053_daily_bin1721.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/70633/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin1721.fits evtable="EVENTS" outfile="/scratch/kocevski/70633/ft1_filtered_4FGL_J2207.6+0053_daily_bin1721.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.52
user 0.35
sys 0.16

Number of photons that the gtmktime cut: 634

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/70633/ft1_filtered_4FGL_J2207.6+0053_daily_bin1721.fits" evtable="EVENTS" scfile=/scratch/kocevski/70633/ft2_4FGL_J2207.6+0053_daily_bin1721.fits sctable="SC_DATA" outfile=/scratch/kocevski/70633/ltcube_685411201_685670401_4FGL_J2207.6+0053_daily_bin1721.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /scratch/kocevski/70633/ft2_4FGL_J2207.6+0053_daily_bin1721.fits
.....................!
real 14.89
user 14.50
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/70633/ft1_filtered_4FGL_J2207.6+0053_daily_bin1721.fits evtable="EVENTS" scfile=/scratch/kocevski/70633/ft2_4FGL_J2207.6+0053_daily_bin1721.fits sctable="SC_DATA" expcube=/scratch/kocevski/70633/ltcube_685411201_685670401_4FGL_J2207.6+0053_daily_bin1721.fits outfile=/scratch/kocevski/70633/expmap_685411201_685670401_4FGL_J2207.6+0053_daily_bin1721.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /scratch/kocevski/70633/ltcube_685411201_685670401_4FGL_J2207.6+0053_daily_bin1721.fits
.....................!
real 192.14
user 186.14
sys 5.43

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/70633/ft1_filtered_4FGL_J2207.6+0053_daily_bin1721.fits scfile=/scratch/kocevski/70633/ft2_4FGL_J2207.6+0053_daily_bin1721.fits outfile=/scratch/kocevski/70633/cmap_685411201_685670401_4FGL_J2207.6+0053_daily_bin1721.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=331.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.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/70633/ft1_filtered_4FGL_J2207.6+0053_daily_bin1721.fits scfile=/scratch/kocevski/70633/ft2_4FGL_J2207.6+0053_daily_bin1721.fits outfile=/scratch/kocevski/70633/cmap_HighResolution_685411201_685670401_4FGL_J2207.6+0053_daily_bin1721.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=331.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.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/70633/ft1_filtered_4FGL_J2207.6+0053_daily_bin1721.fits evtable="EVENTS" scfile=/scratch/kocevski/70633/ft2_4FGL_J2207.6+0053_daily_bin1721.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/70633/Model_4FGL_J2207.6+0053_daily_bin1721.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/70633/ft1_filtered_4FGL_J2207.6+0053_daily_bin1721.fits.....................!
real 65.97
user 64.58
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/70633/ft1_filtered_4FGL_J2207.6+0053_daily_bin1721.fits', '/scratch/kocevski/70633/ft2_4FGL_J2207.6+0053_daily_bin1721.fits', expMap='/scratch/kocevski/70633/expmap_685411201_685670401_4FGL_J2207.6+0053_daily_bin1721.fits', expCube='/scratch/kocevski/70633/ltcube_685411201_685670401_4FGL_J2207.6+0053_daily_bin1721.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/70633/Model_4FGL_J2207.6+0053_daily_bin1721.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/70633/ft1_filtered_4FGL_J2207.6+0053_daily_bin1721.fits
Spacecraft file(s): /scratch/kocevski/70633/ft2_4FGL_J2207.6+0053_daily_bin1721.fits
Exposure map: /scratch/kocevski/70633/expmap_685411201_685670401_4FGL_J2207.6+0053_daily_bin1721.fits
Exposure cube: /scratch/kocevski/70633/ltcube_685411201_685670401_4FGL_J2207.6+0053_daily_bin1721.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/70633/Model_4FGL_J2207.6+0053_daily_bin1721.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22394E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    36.099       1.0000          .0000       .10000E+07
     3 'Prefactor '    .43840       1.0000          .0000       .10000E+07
     4 'Prefactor '    33.358       1.0000          .0000       .10000E+07
     5 'Prefactor '    .93131E-06   1.0000          .0000       .10000E+07
     6 'norm      '    2.1293       1.0000          .0000       .10000E+07
     7 'norm      '    .52886E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .34034E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .25775E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    21.469       1.0000          .0000       .10000E+07
    11 'Prefactor '    .52569E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    7.7822       1.0000          .0000       .10000E+07
    13 'Prefactor '    .50453E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .53653E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .99115E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    32.385       1.0000          .0000       .10000E+07
    18 'Normalizat'    .72834       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .88753       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=   6991.232     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1433 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .53790E-07    19.168       -.31405E-05** at limit **
   2  Prefactor     36.257        1.0414       -.59699E-08    .25146E-02
   3  Prefactor     .43509        1.3499        .96405E-08   -.25222E-02
   4  Prefactor     33.506        6.0722        .97720E-06   -.43750E-01
   5  Prefactor     .54401E-08    12.837        .37062E-06** at limit **
   6  norm          2.1289        1.7399        .69141E-09   -.18245E-01
   7  norm          .21427E-06    3.1009        .10912E-05** at limit **
   8  Prefactor     .55511E-10    1.3432       -.62007E-07** at limit **
   9  Prefactor     .30531E-08    15.678        .68071E-05** at limit **
  10  Prefactor     21.266        3.4570       -.27795E-06   -.39334E-01
  11  Prefactor     .23709E-06    3.2674       -.18421E-05** at limit **
  12  Prefactor     7.7474        7.9938        .21215E-06    .41602E-02
  13  Prefactor     .29421E-08    4.2929       -.19902E-06** at limit **
  14  Prefactor     .44076E-07    6.5335        .14595E-05** at limit **
  15  norm          .13878E-08    4.3398       -.30585E-06** at limit **
  16  Prefactor     .10000E-03    4.3879        .99327E-06** at limit **
  17  Prefactor     32.348        6.3375        .10683E-05   -.88506E-01
  18  Normalizat    .72843        .20809        .26416E-05   -.32139E-03
  19  Prefactor     .88758        .12117       -.10397E-05   -.75873E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.37903e-08
  Prefactor  = 36.2571
  Prefactor  = 0.435087
  Prefactor  = 33.5063
  Prefactor  = 5.44009e-09
  norm       = 2.12892
  norm       = 2.14273e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 3.05311e-09
  Prefactor  = 21.2659
  Prefactor  = 2.37088e-07
  Prefactor  = 7.74744
  Prefactor  = 2.94209e-09
  Prefactor  = 4.40759e-08
  norm       = 1.38778e-09
  Prefactor  = 0.0001
  Prefactor  = 32.3482
  Normalizat = 0.728432
  Prefactor  = 0.887577
 **********
 **   18 **HESSE 
 **********

 FCN=   6991.232     FROM HESSE     STATUS=OK           306 CALLS     1739 TOTAL
                     EDM=   .83E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .53790E-07    20.174        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     36.257        32.354        .16646E-03   -1.5588    
   3  Prefactor     .43509        1.4499        .85166E-03   -1.5695    
   4  Prefactor     33.506        27.474        .17316E-03   -1.5592    
   5  Prefactor     .54401E-08    13.095        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.1289        1.7454        .70629E-03   -1.5679    
   7  norm          .21427E-06    5.1323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .55511E-10    1.3424        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .30531E-08    18.318        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     21.266        13.950        .21588E-03   -1.5616    
  11  Prefactor     .23709E-06    4.9668        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.7474        8.0080        .35921E-03   -1.5652    
  13  Prefactor     .29421E-08    4.3868        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .44076E-07    7.2726        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .13878E-08    4.2417        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.3623        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     32.348        52.311        .17575E-03   -1.5594    
  18  Normalizat    .72843        .17960        .70996E-01   -1.0278    
  19  Prefactor     .88758        .10206        .44846E-01   -.96577    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.31637e-07
Minuit parameter uncertainties:
  1  0.00208378
  2  32.3543
  3  1.44993
  4  27.4746
  5  0.000534707
  6  1.74541
  7  0.00209731
  8  1.22773e-05
  9  0.000472802
  10  13.9502
  11  0.00217021
  12  8.00803
  13  0.000226369
  14  0.00113203
  15  0.000152675
  16  7.31446e-05
  17  52.3122
  18  0.179749
  19  0.102086
Done.

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

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  2.371e-07  2.170e-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.876e-01  1.021e-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.284e-01  1.797e-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: 5.80e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.51e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/70633/likelihoodResults_685411201_685670401_4FGL_J2207.6+0053_daily_bin1721.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) = 6991.23375984
delta logL = -0.00127365528988

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6991.23248622
delta logL = -3.48627509084e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17392E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .96276       1.0000          .0000       10.000    
     3 'Normalizat'    .72841       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88758       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6991.232     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      241 TOTAL
                     EDM=   .84E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.6138        .42118E-03** at limit **
   2  Index         2.5537        1.9281       -.33721E-05     .0000    
   3  Normalizat    .72843        1.0681       -.25765E-04   -.20841E-03
   4  Prefactor     .88758        1.2331        .82172E-05   -.14623E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.55371
  Normalizat = 0.728429
  Prefactor  = 0.887579
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6991.232     FROM HESSE     STATUS=FAILED         9 CALLS      250 TOTAL
                     EDM=   .84E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.6138        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .73622        2.0696       -.33721E-05   -.51124    
   3  Normalizat    .72843        1.0681       -.25765E-04   -1.0278    
   4  Prefactor     .88758        1.2331        .82172E-05   -.96576    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.43898e-11
Minuit parameter uncertainties:
  1  8.28866e-06
  2  1.9972
  3  1.10123
  4  1.27541
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/70633': 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): 101
logL (Free Index) = 6991.23248616
delta logL = 2.39197106566e-08

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  0.000e+00  8.289e-06  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  2.554e+00  1.997e+00  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.876e-01  1.275e+00  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.284e-01  1.101e+00  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/70633/cmap_HighResolution_685411201_685670401_4FGL_J2207.6+0053_daily_bin1721.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.51e-03', job_status='DONE', photon_flux_upper_limit='5.80e-08', time_completed='2022-09-24 01:24:03.579507', job_id='70633', GAL2='0.89', fit_tolerance='1e-08', EG2='0.73', EG='0.73', time_epoch_completed='1664007843.58', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='2.39e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='1721' AND source_name='4FGL J2207.6+0053' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 24 01:24:03 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0160>
Subject: Job 70633: <4FGL_J2207.6+0053_daily_bin1721> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.6+0053_daily_bin1721 331.914 0.8907 685411201 685670401 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 :                                   579.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             311.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   678 sec.
    Turnaround time :                            808 sec.

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

