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


Performing analysis on: 4FGL_J2207.6+0053_daily_bin1749
RA = 331.914, Dec = 0.8907
tmin = 692668801, tmax = 692928001
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='964215', job_status='RUN', time_executed='2022-12-17 01:31:12.902162', time_epoch_executed='1671269472.9' WHERE source_name='4FGL J2207.6+0053' and cadence='daily' and bin_id='1749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/964215

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/964215/ft1_4FGL_J2207.6+0053_daily_bin1749.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/964215/ft2_4FGL_J2207.6+0053_daily_bin1749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/964215/ft1_4FGL_J2207.6+0053_daily_bin1749.fits outfile=/scratch/kocevski/964215/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin1749.fits ra=331.914 dec=0.8907 rad=12.0 tmin=692668801.0 tmax=692928001.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.69
user 3.46
sys 0.21

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

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

Number of photons that the gtmktime cut: 545

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/964215/ft1_filtered_4FGL_J2207.6+0053_daily_bin1749.fits" evtable="EVENTS" scfile=/scratch/kocevski/964215/ft2_4FGL_J2207.6+0053_daily_bin1749.fits sctable="SC_DATA" outfile=/scratch/kocevski/964215/ltcube_692668801_692928001_4FGL_J2207.6+0053_daily_bin1749.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/964215/ft2_4FGL_J2207.6+0053_daily_bin1749.fits
.....................!
real 11.94
user 11.58
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/964215/ft1_filtered_4FGL_J2207.6+0053_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/964215/ft2_4FGL_J2207.6+0053_daily_bin1749.fits sctable="SC_DATA" expcube=/scratch/kocevski/964215/ltcube_692668801_692928001_4FGL_J2207.6+0053_daily_bin1749.fits outfile=/scratch/kocevski/964215/expmap_692668801_692928001_4FGL_J2207.6+0053_daily_bin1749.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/964215/ltcube_692668801_692928001_4FGL_J2207.6+0053_daily_bin1749.fits
.....................!
real 191.05
user 185.11
sys 5.58

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/964215/ft1_filtered_4FGL_J2207.6+0053_daily_bin1749.fits scfile=/scratch/kocevski/964215/ft2_4FGL_J2207.6+0053_daily_bin1749.fits outfile=/scratch/kocevski/964215/cmap_692668801_692928001_4FGL_J2207.6+0053_daily_bin1749.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/964215/ft1_filtered_4FGL_J2207.6+0053_daily_bin1749.fits scfile=/scratch/kocevski/964215/ft2_4FGL_J2207.6+0053_daily_bin1749.fits outfile=/scratch/kocevski/964215/cmap_HighResolution_692668801_692928001_4FGL_J2207.6+0053_daily_bin1749.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.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24800E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .19067E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .33401E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    27.651       1.0000          .0000       .10000E+07
     5 'Prefactor '    72.289       1.0000          .0000       .10000E+07
     6 'norm      '    1.4722       1.0000          .0000       .10000E+07
     7 'norm      '    .32563E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .16005E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .17657E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    21.684       1.0000          .0000       .10000E+07
    11 'Prefactor '    21.294       1.0000          .0000       .10000E+07
    12 'Prefactor '    34.022       1.0000          .0000       .10000E+07
    13 'Prefactor '    .88955E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    3.1436       1.0000          .0000       .10000E+07
    15 'norm      '    .24425E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    3.4982       1.0000         .10000E-03   10000.    
    17 'Prefactor '    148.96       1.0000          .0000       .10000E+07
    18 'Normalizat'    .83058       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .86123       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=   5979.514     FROM MIGRAD    STATUS=CONVERGED    169 CALLS     1460 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .15210E-07    18.534        .44552E-06** at limit **
   2  Prefactor     .53962E-06    32.881        .94151E-06** at limit **
   3  Prefactor      .0000        1.1776        .88373E-07** at limit **
   4  Prefactor     27.144        23.146        .11539E-04   -.15901    
   5  Prefactor     75.059        59.470        .68346E-07   -.11411E-01
   6  norm          1.4643        2.2439        .23825E-06    .75415E-03
   7  norm          .87408E-06    28.870        .11729E-05** at limit **
   8  Prefactor     .55511E-10    6.5203       -.35676E-06** at limit **
   9  Prefactor     .71609E-08    16.067       -.19835E-05** at limit **
  10  Prefactor     21.426        14.248       -.17953E-05    .89561E-03
  11  Prefactor     21.345        13.730        .60004E-05    .65698E-01
  12  Prefactor     33.933        13.224       -.60893E-05   -.23864    
  13  Prefactor     .55511E-10    5.4031       -.94303E-06** at limit **
  14  Prefactor     3.2517        7.1935        .59660E-05    .14876E-01
  15  norm          .44409E-09    3.4546       -.13074E-05** at limit **
  16  Prefactor     3.5085        4.8625        .43330E-05   -.30075E-04
  17  Prefactor     145.04        106.98       -.47036E-05    .23447E-01
  18  Normalizat    .82844        .28562       -.10534E-04   -.72994E-04
  19  Prefactor     .86208        .14914       -.69294E-05   -.92114E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.52101e-08
  Prefactor  = 5.39624e-07
  Prefactor  = 0
  Prefactor  = 27.1438
  Prefactor  = 75.0591
  norm       = 1.46432
  norm       = 8.74079e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 7.16094e-09
  Prefactor  = 21.4263
  Prefactor  = 21.3453
  Prefactor  = 33.9327
  Prefactor  = 5.55112e-11
  Prefactor  = 3.25172
  norm       = 4.44089e-10
  Prefactor  = 3.50849
  Prefactor  = 145.036
  Normalizat = 0.82844
  Prefactor  = 0.862082
 **********
 **   18 **HESSE 
 **********

 FCN=   5979.514     FROM HESSE     STATUS=OK           304 CALLS     1764 TOTAL
                     EDM=   .21E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .15210E-07    18.493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .53962E-06    33.030        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.1763        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     27.144        34.901        .19021E-03   -1.5604    
   5  Prefactor     75.059        59.140        .11762E-03   -1.5535    
   6  norm          1.4643        2.2706        .88517E-03   -1.5684    
   7  norm          .87408E-06    29.360        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .55511E-10    6.5107        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .71609E-08    16.037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     21.426        19.367        .21481E-03   -1.5615    
  11  Prefactor     21.345        22.116        .21677E-03   -1.5616    
  12  Prefactor     33.933        20.619        .17146E-03   -1.5591    
  13  Prefactor     .55511E-10    5.3940        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.2517        8.1024        .57148E-03   -1.5672    
  15  norm          .44409E-09    3.4457        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.5085        4.8603        .54043E-02   -1.5333    
  17  Prefactor     145.04        107.87        .81942E-04   -1.5467    
  18  Normalizat    .82844        .24068        .76180E-01   -.99022    
  19  Prefactor     .86208        .12369        .44509E-01   -.97479    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.1209e-06
Minuit parameter uncertainties:
  1  0.00106
  2  0.00844358
  3  1.99164e-06
  4  34.901
  5  59.1403
  6  2.27064
  7  0.0101319
  8  3.31301e-05
  9  0.000677687
  10  19.3673
  11  22.1158
  12  20.6188
  13  3.09413e-05
  14  8.10246
  15  7.72833e-05
  16  4.86086
  17  107.872
  18  0.240992
  19  0.123725
Done.

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

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  2.135e+01  2.212e+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.621e-01  1.237e-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:  8.284e-01  2.410e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.71
Ra Dec: 331.914 0.891
Photon Index (Fixed Index): 2.48 +/- 0.00
Photon Flux (Fixed Index): 5.19e-08 +/- 5.37e-08
Energy Flux (Fixed Index): 1.53e-05 +/- 1.59e-05

TS (Fixed Index): 1.71
Ra Dec: 331.914 0.891
Photon Flux Upper Limit: 1.65e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.28e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/964215/likelihoodResults_692668801_692928001_4FGL_J2207.6+0053_daily_bin1749.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) = 5979.42420118
delta logL = 0.0895888346895

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5979.4196933
delta logL = 0.0940967135175

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.267       1.0000          .0000       .10000E+07
     2 'Index     '    2.8838       1.0000          .0000       10.000    
     3 'Normalizat'    .80326       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87127       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=   5979.420     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      271 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.248        349.77        .26491E-03    .47720E-02
   2  Index         2.8853        6.4391        .12317        .26018E-03
   3  Normalizat    .80297        .95655E-01    .77252E-01   -.16148E-03
   4  Prefactor     .87171        .44081E-01    .44638E-01    .91250E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.2477
  Index      = 2.88529
  Normalizat = 0.802967
  Prefactor  = 0.871711
 **********
 **   18 **HESSE 
 **********

 FCN=   5979.420     FROM HESSE     STATUS=OK            31 CALLS      302 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.248        29.408        .10597E-04   -1.5632    
   2  Index         2.8853        1.2635        .70952E-02   -.43669    
   3  Normalizat    .80297        .27808        .34196E-03   -.99959    
   4  Prefactor     .87171        .15097        .18183E-03   -.97137    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17674e-09
Minuit parameter uncertainties:
  1  29.4087
  2  1.28051
  3  0.278577
  4  0.15104
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/964215': 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) = 5979.41968126
delta logL = 0.0941087541523

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  1.425e+01  2.941e+01  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  2.885e+00  1.281e+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.717e-01  1.510e-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:  8.030e-01  2.786e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.96
Ra Dec: 331.914 0.891
Photon Index (Free Index): 2.89 +/- 1.28
Photon Flux (Free Index): 7.06e-08 +/- 7.27e-08
Energy Flux (Free Index): 1.50e-05 +/- 1.40e-05

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/964215/cmap_HighResolution_692668801_692928001_4FGL_J2207.6+0053_daily_bin1749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.28e-02', comment='SUCCESS', photon_flux='5.19e-08', energy_flux2='1.50e-05', photon_flux_error='5.37e-08', dlogl='9.41e-02', energy_flux='1.53e-05', photon_flux2='7.06e-08', job_status='DONE', time_completed='2022-12-17 01:40:02.095838', photon_index_error2='1.28', photon_index2='2.89', ts='1.71', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', photon_flux_upper_limit='1.65e-07', energy_flux_error2='1.40e-05', EG='0.83', time_epoch_completed='1671270002.1', return_code='0', job_id='964215', GAL2='0.87', EG2='0.80', return_code2='0', energy_flux_error='1.59e-05', photon_flux_error2='7.27e-08', ts2='1.96', photon_index='2.48' WHERE bin_id='1749' AND source_name='4FGL J2207.6+0053' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 17 01:40:02 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0158>
Subject: Job 964215: <4FGL_J2207.6+0053_daily_bin1749> in cluster <slac> Done

Job <4FGL_J2207.6+0053_daily_bin1749> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Dec 17 01:30:17 2022
Job was executed on host(s) <bullet0158>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Dec 17 01:30:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Dec 17 01:30:18 2022
Terminated at Sat Dec 17 01:40:02 2022
Results reported at Sat Dec 17 01:40:02 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.6+0053_daily_bin1749 331.914 0.8907 692668801 692928001 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 :                                   531.33 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   584 sec.
    Turnaround time :                            585 sec.

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

