/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 157 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 = 7395
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2207.6+0053_daily_bin481
RA = 331.914, Dec = 0.8907
tmin = 364003201, tmax = 364262401
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='198803', job_status='RUN', time_executed='2021-09-28 05:53:50.721312', time_epoch_executed='1632833630.72' WHERE source_name='4FGL J2207.6+0053' and cadence='daily' and bin_id='481'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/198803

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/198803/ft1_4FGL_J2207.6+0053_daily_bin481.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/198803/ft2_4FGL_J2207.6+0053_daily_bin481.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/198803/ft1_4FGL_J2207.6+0053_daily_bin481.fits outfile=/scratch/kocevski/198803/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin481.fits ra=331.914 dec=0.8907 rad=12.0 tmin=364003201.0 tmax=364262401.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.20
user 3.01
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/198803/ft1_filtered_4FGL_J2207.6+0053_daily_bin481.fits" evtable="EVENTS" scfile=/scratch/kocevski/198803/ft2_4FGL_J2207.6+0053_daily_bin481.fits sctable="SC_DATA" outfile=/scratch/kocevski/198803/ltcube_364003201_364262401_4FGL_J2207.6+0053_daily_bin481.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/198803/ft2_4FGL_J2207.6+0053_daily_bin481.fits
.....................!
real 11.75
user 11.38
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/198803/ft1_filtered_4FGL_J2207.6+0053_daily_bin481.fits evtable="EVENTS" scfile=/scratch/kocevski/198803/ft2_4FGL_J2207.6+0053_daily_bin481.fits sctable="SC_DATA" expcube=/scratch/kocevski/198803/ltcube_364003201_364262401_4FGL_J2207.6+0053_daily_bin481.fits outfile=/scratch/kocevski/198803/expmap_364003201_364262401_4FGL_J2207.6+0053_daily_bin481.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/198803/ltcube_364003201_364262401_4FGL_J2207.6+0053_daily_bin481.fits
.....................!
real 190.18
user 185.74
sys 4.13

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/198803/ft1_filtered_4FGL_J2207.6+0053_daily_bin481.fits scfile=/scratch/kocevski/198803/ft2_4FGL_J2207.6+0053_daily_bin481.fits outfile=/scratch/kocevski/198803/cmap_364003201_364262401_4FGL_J2207.6+0053_daily_bin481.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.53
user 0.38
sys 0.13

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    29.244       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    16.643       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.8253       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .26231E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    18.408       1.0000         .10000E-03   10000.    
    14 'Prefactor '    16.838       1.0000         .10000E-03   10000.    
    15 'Prefactor '    62.550       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10255E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    10.265       1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.8425       1.0000         .10000E-03   10000.    
    19 'norm      '    13.980       1.0000         .10000E-03   10000.    
    20 'Prefactor '    11.784       1.0000         .10000E-03   10000.    
    21 'Prefactor '    96.928       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .39522       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0675       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=   7824.345     FROM MIGRAD    STATUS=CONVERGED    526 CALLS     2599 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     29.242        30.389       -.23359E-05   -.35313E-04
   2  Prefactor     .10000E-03    109.72        .25755E-04** at limit **
   3  Prefactor     16.633        3.9090       -.57944E-06   -.99580E-03
   4  Prefactor     .10000E-03    21.594       -.16292E-05** at limit **
   5  Prefactor     .10000E-03    13.493        .77844E-06** at limit **
   6  Prefactor     .10000E-03    76.882       -.12801E-04** at limit **
   7  Prefactor     .10000E-03    26.045        .17544E-05** at limit **
   8  norm          3.8250        2.2453       -.45587E-06   -.37981E-03
   9  norm          .10000E-03    7.8573       -.27495E-06** at limit **
  10  Prefactor     .10000E-03    5.9021       -.40531E-06** at limit **
  11  Prefactor     .10000E-03    6.1809       -.31051E-06** at limit **
  12  Prefactor     .27429E-01    19.375        .18463E-05   -.53131E-03
  13  Prefactor     18.407        18.252       -.14199E-05   -.11577E-03
  14  Prefactor     16.835        18.416       -.16370E-05   -.15683E-03
  15  Prefactor     62.538        37.868       -.64367E-05   -.19982E-03
  16  Prefactor     .10000E-03    12.112       -.89553E-06** at limit **
  17  Prefactor     10.250        20.919       -.15630E-05   -.75115E-04
  18  Prefactor     8.8435        4.3622        .30022E-05   -.26140E-04
  19  norm          13.982        5.2346        .55835E-05   -.30718E-03
  20  Prefactor     11.784        7.3819       -.21357E-06   -.45930E-04
  21  Prefactor     96.751        108.64       -.15934E-03   -.20375E-04
  22  Normalizat    .39523        .23488        .15740E-04    .65280E-04
  23  Prefactor     1.0675        .12777       -.37422E-07   -.54952E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 29.2423
  Prefactor  = 0.000100002
  Prefactor  = 16.6329
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.82502
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0274291
  Prefactor  = 18.4065
  Prefactor  = 16.8347
  Prefactor  = 62.5379
  Prefactor  = 0.0001
  Prefactor  = 10.2495
  Prefactor  = 8.8435
  norm       = 13.9817
  Prefactor  = 11.7839
  Prefactor  = 96.7505
  Normalizat = 0.395232
  Prefactor  = 1.06752
 **********
 **   18 **HESSE 
 **********

 FCN=   7824.345     FROM HESSE     STATUS=OK           374 CALLS     2973 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     29.242        30.360        .74087E-04   -1.4626    
   2  Prefactor     .10000E-03    110.95        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     16.633        3.8932        .80321E-04   -1.4892    
   4  Prefactor     .10000E-03    21.641        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    13.497        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    77.046        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    26.081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.8250        2.2388        .97459E-04   -1.5317    
   9  norm          .10000E-03    7.8765        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.9982        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    6.2223        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .27429E-01    23.545        .98907E-01   -1.5675    
  13  Prefactor     18.407        18.224        .93351E-04   -1.4850    
  14  Prefactor     16.835        18.357        .97605E-04   -1.4887    
  15  Prefactor     62.538        37.889        .50737E-04   -1.4125    
  16  Prefactor     .10000E-03    12.363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     10.250        20.882        .12506E-03   -1.5068    
  18  Prefactor     8.8435        4.3425        .12101E-03   -1.5113    
  19  norm          13.982        5.2165        .10712E-03   -1.4960    
  20  Prefactor     11.784        7.3838        .11670E-03   -1.5021    
  21  Prefactor     96.751        108.72        .20414E-03   -1.3738    
  22  Normalizat    .39523        .23365        .49131E-03   -1.1755    
  23  Prefactor     1.0675        .13165        .17649E-03   -.90512    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.30886e-09
Minuit parameter uncertainties:
  1  30.3764
  2  0.000825015
  3  3.89329
  4  0.000109139
  5  2.63482e-05
  6  7.75637e-05
  7  0.000134905
  8  2.23887
  9  3.91279e-05
  10  7.40444e-05
  11  3.45912e-05
  12  1.60495
  13  18.2296
  14  18.3634
  15  37.9037
  16  0.000148015
  17  20.8969
  18  4.34264
  19  5.21666
  20  7.38439
  21  108.941
  22  0.234225
  23  0.131685
Done.

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

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  1.683e+01  1.836e+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.068e+00  1.317e-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:  3.952e-01  2.342e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.41
Ra Dec: 331.914 0.891
Photon Index (Fixed Index): 2.48 +/- 0.00
Photon Flux (Fixed Index): 4.09e-08 +/- 4.46e-08
Energy Flux (Fixed Index): 1.21e-05 +/- 1.32e-05

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

Saving results to:
/scratch/kocevski/198803/likelihoodResults_364003201_364262401_4FGL_J2207.6+0053_daily_bin481.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) = 7824.34303848
delta logL = 0.00189475462594

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7824.34188498
delta logL = 0.00304826041611

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.877       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5378       1.0000          .0000       10.000    
     3 'Normalizat'    .39361       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0681       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=   7824.342     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      280 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.877        22.134        .10052E-03    .26319E-03
   2  Index         2.5378        .74646        .85753E-02    .11568E-03
   3  Normalizat    .39364        .22654        .49224E-03    .18246E-05
   4  Prefactor     1.0681        .13040        .17644E-03    .10438E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.8772
  Index      = 2.53781
  Normalizat = 0.39364
  Prefactor  = 1.06812
 **********
 **   18 **HESSE 
 **********

 FCN=   7824.342     FROM HESSE     STATUS=OK            25 CALLS      305 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.877        20.533        .40206E-05   -1.4911    
   2  Index         2.5378        .69262        .34301E-03   -.51489    
   3  Normalizat    .39364        .22643        .19690E-04   -1.1763    
   4  Prefactor     1.0681        .13032        .70578E-05   -.90492    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58312e-10
Minuit parameter uncertainties:
  1  20.5417
  2  0.695574
  3  0.226953
  4  0.130358
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/198803': 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) = 7824.34188497
delta logL = 0.00304826842512

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  1.588e+01  2.054e+01  1.000e-04  1.000e+04 ( 1.000e-13)
287        Index:  2.538e+00  6.956e-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.068e+00  1.304e-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:  3.936e-01  2.270e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.42
Ra Dec: 331.914 0.891
Photon Index (Free Index): 2.54 +/- 0.70
Photon Flux (Free Index): 4.23e-08 +/- 4.57e-08
Energy Flux (Free Index): 1.18e-05 +/- 1.25e-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/198803/cmap_HighResolution_364003201_364262401_4FGL_J2207.6+0053_daily_bin481.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.03e-02', comment='SUCCESS', photon_flux='4.09e-08', energy_flux2='1.18e-05', photon_flux_error='4.46e-08', dlogl='3.05e-03', energy_flux='1.21e-05', photon_flux2='4.23e-08', job_status='DONE', time_completed='2021-09-28 06:06:15.325721', photon_index_error2='0.70', photon_index2='2.54', ts='1.41', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='1.32e-07', energy_flux_error2='1.25e-05', EG='0.40', time_epoch_completed='1632834375.33', return_code='0', job_id='198803', GAL2='1.07', EG2='0.39', return_code2='0', energy_flux_error='1.32e-05', photon_flux_error2='4.57e-08', ts2='1.42', photon_index='2.48' WHERE bin_id='481' AND source_name='4FGL J2207.6+0053' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:06:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 198803: <4FGL_J2207.6+0053_daily_bin481> in cluster <slac> Done

Job <4FGL_J2207.6+0053_daily_bin481> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 05:51:03 2021
Job was executed on host(s) <bullet0264>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:51:04 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:51:04 2021
Terminated at Tue Sep 28 06:06:16 2021
Results reported at Tue Sep 28 06:06:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.6+0053_daily_bin481 331.914 0.8907 364003201 364262401 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 :                                   742.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             267.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   911 sec.
    Turnaround time :                            913 sec.

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

