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

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

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

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

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


Performing analysis on: 4FGL_J2207.6+0053_daily_bin835
RA = 331.914, Dec = 0.8907
tmin = 455760001, tmax = 456019201
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='200405', job_status='RUN', time_executed='2021-09-28 05:58:37.500952', time_epoch_executed='1632833917.5' WHERE source_name='4FGL J2207.6+0053' and cadence='daily' and bin_id='835'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/200405

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/200405/ft1_4FGL_J2207.6+0053_daily_bin835.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/200405/ft2_4FGL_J2207.6+0053_daily_bin835.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/200405/ft1_4FGL_J2207.6+0053_daily_bin835.fits outfile=/scratch/kocevski/200405/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin835.fits ra=331.914 dec=0.8907 rad=12.0 tmin=455760001.0 tmax=456019201.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.34
user 3.11
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/200405/ft2_4FGL_J2207.6+0053_daily_bin835.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/200405/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin835.fits evtable="EVENTS" outfile="/scratch/kocevski/200405/ft1_filtered_4FGL_J2207.6+0053_daily_bin835.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/200405/ft1_filtered_4FGL_J2207.6+0053_daily_bin835.fits" evtable="EVENTS" scfile=/scratch/kocevski/200405/ft2_4FGL_J2207.6+0053_daily_bin835.fits sctable="SC_DATA" outfile=/scratch/kocevski/200405/ltcube_455760001_456019201_4FGL_J2207.6+0053_daily_bin835.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/200405/ft2_4FGL_J2207.6+0053_daily_bin835.fits
.....................!
real 12.22
user 11.85
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/200405/ft1_filtered_4FGL_J2207.6+0053_daily_bin835.fits evtable="EVENTS" scfile=/scratch/kocevski/200405/ft2_4FGL_J2207.6+0053_daily_bin835.fits sctable="SC_DATA" expcube=/scratch/kocevski/200405/ltcube_455760001_456019201_4FGL_J2207.6+0053_daily_bin835.fits outfile=/scratch/kocevski/200405/expmap_455760001_456019201_4FGL_J2207.6+0053_daily_bin835.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/200405/ltcube_455760001_456019201_4FGL_J2207.6+0053_daily_bin835.fits
.....................!
real 190.04
user 184.95
sys 4.74

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/200405/ft1_filtered_4FGL_J2207.6+0053_daily_bin835.fits scfile=/scratch/kocevski/200405/ft2_4FGL_J2207.6+0053_daily_bin835.fits outfile=/scratch/kocevski/200405/cmap_455760001_456019201_4FGL_J2207.6+0053_daily_bin835.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/200405/ft1_filtered_4FGL_J2207.6+0053_daily_bin835.fits scfile=/scratch/kocevski/200405/ft2_4FGL_J2207.6+0053_daily_bin835.fits outfile=/scratch/kocevski/200405/cmap_HighResolution_455760001_456019201_4FGL_J2207.6+0053_daily_bin835.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.57
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/200405/ft1_filtered_4FGL_J2207.6+0053_daily_bin835.fits', '/scratch/kocevski/200405/ft2_4FGL_J2207.6+0053_daily_bin835.fits', expMap='/scratch/kocevski/200405/expmap_455760001_456019201_4FGL_J2207.6+0053_daily_bin835.fits', expCube='/scratch/kocevski/200405/ltcube_455760001_456019201_4FGL_J2207.6+0053_daily_bin835.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/200405/Model_4FGL_J2207.6+0053_daily_bin835.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2207.6+0053'

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  2.216e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
287        Index:  2.484e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.070e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/200405/ft1_filtered_4FGL_J2207.6+0053_daily_bin835.fits
Spacecraft file(s): /scratch/kocevski/200405/ft2_4FGL_J2207.6+0053_daily_bin835.fits
Exposure map: /scratch/kocevski/200405/expmap_455760001_456019201_4FGL_J2207.6+0053_daily_bin835.fits
Exposure cube: /scratch/kocevski/200405/ltcube_455760001_456019201_4FGL_J2207.6+0053_daily_bin835.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/200405/Model_4FGL_J2207.6+0053_daily_bin835.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) = 7490.755137

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.560       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10294E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10641E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    22.648       1.0000         .10000E-03   10000.    
     6 'Prefactor '    51.463       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.1976       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .40871       1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.138       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.3971       1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.649       1.0000         .10000E-03   10000.    
    14 'Prefactor '    22.151       1.0000         .10000E-03   10000.    
    15 'Prefactor '    29.830       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    10.477       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.9358       1.0000         .10000E-03   10000.    
    21 'Prefactor '    82.078       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .48963       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0097       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7490.672     FROM MIGRAD    STATUS=CONVERGED    499 CALLS     2651 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.528        32.848       -.42544E-04    .31439E-04
   2  Prefactor     .10000E-03    31.249       -.14983E-04** at limit **
   3  Prefactor     .10000E-03    .76455       -.13437E-07** at limit **
   4  Prefactor     .10000E-03    22.859        .25770E-04** at limit **
   5  Prefactor     22.646        39.975       -.44954E-05    .15780E-04
   6  Prefactor     51.439        79.818       -.31385E-04    .14710E-04
   7  Prefactor     .10000E-03    17.295       -.12143E-04** at limit **
   8  norm          2.1980        2.2388        .18187E-05   -.22070E-03
   9  norm          .10000E-03    6.6199       -.14107E-06** at limit **
  10  Prefactor     .43705        4.2579       -.40373E-05    .10250E-02
  11  Prefactor     10.135        10.428       -.60008E-06    .78279E-04
  12  Prefactor     2.3951        7.9520       -.17933E-05   -.23461E-03
  13  Prefactor     10.651        13.360        .33717E-06    .39288E-04
  14  Prefactor     22.150        17.985       -.21579E-05    .11222E-03
  15  Prefactor     29.832        23.563        .12118E-05    .35976E-04
  16  Prefactor     .10000E-03    10.107       -.50970E-06** at limit **
  17  Prefactor     .10000E-03    3.0930       -.53659E-07** at limit **
  18  Prefactor     .10000E-03    3.5325       -.69441E-07** at limit **
  19  norm          10.476        4.3014        .93232E-06   -.65979E-04
  20  Prefactor     2.9359        2.9794        .36934E-06    .28343E-03
  21  Prefactor     82.070        90.812       -.79529E-05    .74097E-05
  22  Normalizat    .49000        .19686        .49062E-05    .26975E-03
  23  Prefactor     1.0095        .11071        .14982E-05    .21582E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.5279
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.6456
  Prefactor  = 51.439
  Prefactor  = 0.0001
  norm       = 2.19796
  norm       = 0.0001
  Prefactor  = 0.43705
  Prefactor  = 10.1349
  Prefactor  = 2.39514
  Prefactor  = 10.6514
  Prefactor  = 22.1496
  Prefactor  = 29.8322
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.4765
  Prefactor  = 2.93586
  Prefactor  = 82.07
  Normalizat = 0.489996
  Prefactor  = 1.00948
 **********
 **   18 **HESSE 
 **********

 FCN=   7490.672     FROM HESSE     STATUS=OK           374 CALLS     3025 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.528        32.913        .76312E-04   -1.4658    
   2  Prefactor     .10000E-03    31.416        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.2091        .14614E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    23.026        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     22.646        39.751        .84167E-04   -1.4756    
   6  Prefactor     51.439        79.792        .55905E-04   -1.4272    
   7  Prefactor     .10000E-03    17.297        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.1980        2.2242        .11188E-03   -1.5411    
   9  norm          .10000E-03    6.6425        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .43705        12.709        .33950E-02   -1.5576    
  11  Prefactor     10.135        10.417        .12584E-03   -1.5071    
  12  Prefactor     2.3951        7.9272        .26449E-03   -1.5398    
  13  Prefactor     10.651        13.332        .12278E-03   -1.5055    
  14  Prefactor     22.150        17.940        .85106E-04   -1.4766    
  15  Prefactor     29.832        23.559        .73357E-04   -1.4615    
  16  Prefactor     .10000E-03    10.251        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    3.0943        .14866E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.6264        .31655E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          10.476        4.2986        .10556E-03   -1.5061    
  20  Prefactor     2.9359        2.9891        .14700E-03   -1.5365    
  21  Prefactor     82.070        90.674        .44335E-04   -1.3894    
  22  Normalizat    .49000        .21981        .39542E-03   -1.1288    
  23  Prefactor     1.0095        .12679        .16400E-03   -.92414    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.29965e-09
Minuit parameter uncertainties:
  1  32.9344
  2  6.59633e-06
  3  5.90669e-07
  4  6.21661e-05
  5  39.7971
  6  79.9585
  7  0.000128718
  8  2.2243
  9  2.14889e-05
  10  4.71418
  11  10.4186
  12  7.93064
  13  13.3354
  14  17.9441
  15  23.5664
  16  0.000115873
  17  3.47365e-06
  18  4.40712e-05
  19  4.29873
  20  2.9892
  21  90.827
  22  0.220197
  23  0.126832
Done.

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

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  2.215e+01  1.794e+01  1.000e-04  1.000e+04 ( 1.000e-13)
287        Index:  2.484e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.070e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
553    Prefactor:  1.009e+00  1.268e-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:  4.900e-01  2.202e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.44
Ra Dec: 331.914 0.891
Photon Index (Fixed Index): 2.48 +/- 0.00
Photon Flux (Fixed Index): 5.39e-08 +/- 4.36e-08
Energy Flux (Fixed Index): 1.59e-05 +/- 1.29e-05

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

Saving results to:
/scratch/kocevski/200405/likelihoodResults_455760001_456019201_4FGL_J2207.6+0053_daily_bin835.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) = 7490.61627031
delta logL = 0.0556407329868

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7490.61422406
delta logL = 0.0576869833612

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.903       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7088       1.0000          .0000       10.000    
     3 'Normalizat'    .47985       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0137       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=   7490.614     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      298 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.900        24.261        .97418E-04    .14109E-03
   2  Index         2.7088        .81166        .64382E-02    .70128E-04
   3  Normalizat    .47983        .21703        .39936E-03   -.29595E-03
   4  Prefactor     1.0138        .12591        .16369E-03   -.83082E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.9002
  Index      = 2.7088
  Normalizat = 0.479831
  Prefactor  = 1.01375
 **********
 **   18 **HESSE 
 **********

 FCN=   7490.614     FROM HESSE     STATUS=OK            25 CALLS      323 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.900        20.801        .38967E-05   -1.4886    
   2  Index         2.7088        .69620        .25753E-03   -.47601    
   3  Normalizat    .47983        .21671        .15974E-04   -1.1336    
   4  Prefactor     1.0138        .12569        .32737E-04   -.92273    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.18211e-10
Minuit parameter uncertainties:
  1  20.8098
  2  0.699084
  3  0.21709
  4  0.12573
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/200405': 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) = 7490.61422362
delta logL = 0.0576874306207

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  1.690e+01  2.081e+01  1.000e-04  1.000e+04 ( 1.000e-13)
287        Index:  2.709e+00  6.991e-01  0.000e+00  1.000e+01 (-1.000e+00)
288        Scale:  1.070e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
553    Prefactor:  1.014e+00  1.257e-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:  4.798e-01  2.171e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.59
Ra Dec: 331.914 0.891
Photon Index (Free Index): 2.71 +/- 0.70
Photon Flux (Free Index): 6.08e-08 +/- 4.77e-08
Energy Flux (Free Index): 1.45e-05 +/- 1.15e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/200405/cmap_HighResolution_455760001_456019201_4FGL_J2207.6+0053_daily_bin835.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.07e-02', comment='SUCCESS', photon_flux='5.39e-08', energy_flux2='1.45e-05', photon_flux_error='4.36e-08', dlogl='5.77e-02', energy_flux='1.59e-05', photon_flux2='6.08e-08', job_status='DONE', time_completed='2021-09-28 06:10:52.292540', photon_index_error2='0.70', photon_index2='2.71', ts='2.44', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='1.38e-07', energy_flux_error2='1.15e-05', EG='0.49', time_epoch_completed='1632834652.29', return_code='0', job_id='200405', GAL2='1.01', EG2='0.48', return_code2='0', energy_flux_error='1.29e-05', photon_flux_error2='4.77e-08', ts2='2.59', photon_index='2.48' WHERE bin_id='835' AND source_name='4FGL J2207.6+0053' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:10:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 200405: <4FGL_J2207.6+0053_daily_bin835> in cluster <slac> Done

Job <4FGL_J2207.6+0053_daily_bin835> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 05:55:44 2021
Job was executed on host(s) <bullet0283>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:55:45 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 05:55:45 2021
Terminated at Tue Sep 28 06:10:53 2021
Results reported at Tue Sep 28 06:10:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.6+0053_daily_bin835 331.914 0.8907 455760001 456019201 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 :                                   731.16 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             253.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   907 sec.
    Turnaround time :                            909 sec.

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

