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


Performing analysis on: 4FGL_J2207.6+0053_daily_bin1710
RA = 331.914, Dec = 0.8907
tmin = 682560001, tmax = 682819201
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='240574', job_status='RUN', time_executed='2022-09-16 23:45:23.325986', time_epoch_executed='1663397123.33' WHERE source_name='4FGL J2207.6+0053' and cadence='daily' and bin_id='1710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/240574

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/240574/ft1_4FGL_J2207.6+0053_daily_bin1710.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/240574/ft2_4FGL_J2207.6+0053_daily_bin1710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/240574/ft1_4FGL_J2207.6+0053_daily_bin1710.fits outfile=/scratch/kocevski/240574/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin1710.fits ra=331.914 dec=0.8907 rad=12.0 tmin=682560001.0 tmax=682819201.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.03
user 2.79
sys 0.21

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

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

Number of photons that the gtmktime cut: 511

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/240574/ft1_filtered_4FGL_J2207.6+0053_daily_bin1710.fits" evtable="EVENTS" scfile=/scratch/kocevski/240574/ft2_4FGL_J2207.6+0053_daily_bin1710.fits sctable="SC_DATA" outfile=/scratch/kocevski/240574/ltcube_682560001_682819201_4FGL_J2207.6+0053_daily_bin1710.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/240574/ft2_4FGL_J2207.6+0053_daily_bin1710.fits
.....................!
real 12.04
user 11.72
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/240574/ft1_filtered_4FGL_J2207.6+0053_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/240574/ft2_4FGL_J2207.6+0053_daily_bin1710.fits sctable="SC_DATA" expcube=/scratch/kocevski/240574/ltcube_682560001_682819201_4FGL_J2207.6+0053_daily_bin1710.fits outfile=/scratch/kocevski/240574/expmap_682560001_682819201_4FGL_J2207.6+0053_daily_bin1710.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/240574/ltcube_682560001_682819201_4FGL_J2207.6+0053_daily_bin1710.fits
.....................!
real 155.81
user 151.35
sys 4.16

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/240574/ft1_filtered_4FGL_J2207.6+0053_daily_bin1710.fits scfile=/scratch/kocevski/240574/ft2_4FGL_J2207.6+0053_daily_bin1710.fits outfile=/scratch/kocevski/240574/cmap_682560001_682819201_4FGL_J2207.6+0053_daily_bin1710.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.49
user 0.33
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/240574/ft1_filtered_4FGL_J2207.6+0053_daily_bin1710.fits scfile=/scratch/kocevski/240574/ft2_4FGL_J2207.6+0053_daily_bin1710.fits outfile=/scratch/kocevski/240574/cmap_HighResolution_682560001_682819201_4FGL_J2207.6+0053_daily_bin1710.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.50
user 0.35
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    33.813       1.0000          .0000       .10000E+07
     2 'Prefactor '    .25861E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.3520       1.0000          .0000       .10000E+07
     4 'Prefactor '    .37099E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .35911E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .73517E-04   1.0000          .0000       .10000E+07
     7 'norm      '    1.9490       1.0000          .0000       .10000E+07
     8 'Prefactor '    .36969E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .14886E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    1.1849       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.9890       1.0000          .0000       .10000E+07
    12 'Prefactor '    16.981       1.0000          .0000       .10000E+07
    13 'Prefactor '    .59284E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .32779E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .46961       1.0000          .0000       .10000E+07
    16 'Prefactor '    5.3647       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .30502       1.0000          .0000       .10000E+07
    18 'Normalizat'    .93984       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .88567       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=   5628.484     FROM MIGRAD    STATUS=CONVERGED    124 CALLS     1405 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     33.877        8.4189        .13900E-05   -.41240E-02
   2  Prefactor     .86103E-06    5.7105        .41420E-06** at limit **
   3  Prefactor     2.3516        2.3430        .56947E-07   -.23015E-02
   4  Prefactor     .27756E-09    10.770       -.95617E-06** at limit **
   5  Prefactor     .74329E-06    10.453        .33354E-07** at limit **
   6  norm          .19318E-05    53.577        .14315E-04** at limit **
   7  norm          1.9476        10.574       -.48595E-05   -.20696E-01
   8  Prefactor     .83267E-09    2.2118       -.58072E-06** at limit **
   9  Prefactor     .33862E-08    3.7600        .13081E-05** at limit **
  10  Prefactor     1.2150        2.0015        .95850E-06    .24374E-02
  11  Prefactor     4.9819        1.6004        .51325E-06    .77282E-02
  12  Prefactor     16.952        7.2725       -.68753E-06   -.14079    
  13  Prefactor     .58842E-08    4.2796       -.23312E-08** at limit **
  14  Prefactor     .18874E-08    3.0066        .16139E-06** at limit **
  15  norm          .47530        4.2009       -.91986E-06    .51598E-03
  16  Prefactor     5.3738        5.9906       -.14489E-05    .61957E-04
  17  Prefactor     .18133E-05    41.690        .52323E-05** at limit **
  18  Normalizat    .93988        .24606        .30586E-05    .33894E-03
  19  Prefactor     .88565        .13932        .99318E-05    .43630E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 33.8767
  Prefactor  = 8.61033e-07
  Prefactor  = 2.35164
  Prefactor  = 2.77556e-10
  Prefactor  = 7.43294e-07
  norm       = 1.93184e-06
  norm       = 1.9476
  Prefactor  = 8.32667e-10
  Prefactor  = 3.38618e-09
  Prefactor  = 1.21502
  Prefactor  = 4.98194
  Prefactor  = 16.9521
  Prefactor  = 5.88418e-09
  Prefactor  = 1.88738e-09
  norm       = 0.475302
  Prefactor  = 5.37378
  Prefactor  = 1.81327e-06
  Normalizat = 0.939877
  Prefactor  = 0.885654
 **********
 **   18 **HESSE 
 **********

 FCN=   5628.484     FROM HESSE     STATUS=OK           308 CALLS     1713 TOTAL
                     EDM=   .35E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     33.877        34.182        .17199E-03   -1.5592    
   2  Prefactor     .86103E-06    13.863        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.3516        2.3596        .66808E-03   -1.5677    
   4  Prefactor     .27756E-09    11.970        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .74329E-06    14.802        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .19318E-05    1.6037        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.9476        12.182        .74311E-03   -1.5680    
   8  Prefactor     .83267E-09    2.2137        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .33862E-08    3.7707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.2150        30.979        .10481E-02   -1.5686    
  11  Prefactor     4.9819        13.131        .45000E-03   -1.5663    
  12  Prefactor     16.952        12.099        .24278E-03   -1.5626    
  13  Prefactor     .58842E-08    4.2956        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .18874E-08    3.0051        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .47530        4.1947        .81827E-03   -1.5694    
  16  Prefactor     5.3738        5.9911        .43377E-02   -1.5244    
  17  Prefactor     .18133E-05    52.914        .10144E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .93988        .21362        .69529E-01   -.95073    
  19  Prefactor     .88565        .11819        .44822E-01   -.96644    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.54548e-07
Minuit parameter uncertainties:
  1  34.1822
  2  0.00690972
  3  2.35961
  4  0.00011307
  5  0.00663404
  6  0.00352026
  7  9.74166
  8  8.59862e-05
  9  0.000225784
  10  12.2704
  11  13.1315
  12  12.0988
  13  0.000318317
  14  0.000149679
  15  2.82401
  16  5.99173
  17  0.0195906
  18  0.213817
  19  0.118229
Done.

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

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  4.982e+00  1.313e+01  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.857e-01  1.182e-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:  9.399e-01  2.138e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/240574/likelihoodResults_682560001_682819201_4FGL_J2207.6+0053_daily_bin1710.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) = 5628.47568066
delta logL = 0.0080009989515

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5628.47231732
delta logL = 0.0113643453569

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.2077       1.0000          .0000       .10000E+07
     2 'Index     '    2.2756       1.0000          .0000       10.000    
     3 'Normalizat'    .94177       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88489       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=   5628.472     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      280 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2037        16.457        .16107E-04    .29800E-02
   2  Index         2.2737        1.3463        .10922E-01    .11651E-03
   3  Normalizat    .94198        .24447        .30728E-03   -.65353E-03
   4  Prefactor     .88479        .13905        .17879E-03   -.12510E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.20375
  Index      = 2.27372
  Normalizat = 0.941982
  Prefactor  = 0.884791
 **********
 **   18 **HESSE 
 **********

 FCN=   5628.472     FROM HESSE     STATUS=OK            23 CALLS      303 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2037        16.012        .64429E-06   -1.5658    
   2  Index         2.2737        1.3112        .43686E-03   -.57669    
   3  Normalizat    .94198        .24460        .61457E-04   -.95000    
   4  Prefactor     .88479        .13914        .35759E-04   -.96675    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.34403e-09
Minuit parameter uncertainties:
  1  16.0118
  2  1.33354
  3  0.244892
  4  0.139191
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/240574': 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) = 5628.4723156
delta logL = 0.0113660624693

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  6.204e+00  1.601e+01  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  2.274e+00  1.334e+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.848e-01  1.392e-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:  9.420e-01  2.449e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.21
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/240574/cmap_HighResolution_682560001_682819201_4FGL_J2207.6+0053_daily_bin1710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.96e-03', job_status='DONE', photon_flux_upper_limit='1.02e-07', time_completed='2022-09-16 23:52:45.279269', job_id='240574', GAL2='0.88', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1663397565.28', return_code2='0', ts='0.21', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='1.14e-02', ts2='0.23', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='1710' AND source_name='4FGL J2207.6+0053' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 23:52:45 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 240574: <4FGL_J2207.6+0053_daily_bin1710> in cluster <slac> Done

Job <4FGL_J2207.6+0053_daily_bin1710> 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) <bullet0086>, 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:52:46 2022
Results reported at Fri Sep 16 23:52:46 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.6+0053_daily_bin1710 331.914 0.8907 682560001 682819201 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 :                                   443.21 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             284.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   669 sec.
    Turnaround time :                            735 sec.

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

