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


Performing analysis on: 4FGL_J2207.6+0053_daily_bin662
RA = 331.914, Dec = 0.8907
tmin = 410918401, tmax = 411177601
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='200147', job_status='RUN', time_executed='2021-09-28 05:58:02.663989', time_epoch_executed='1632833882.66' WHERE source_name='4FGL J2207.6+0053' and cadence='daily' and bin_id='662'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/200147

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/200147/ft1_4FGL_J2207.6+0053_daily_bin662.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/200147/ft2_4FGL_J2207.6+0053_daily_bin662.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/200147/ft1_4FGL_J2207.6+0053_daily_bin662.fits outfile=/scratch/kocevski/200147/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin662.fits ra=331.914 dec=0.8907 rad=12.0 tmin=410918401.0 tmax=411177601.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 6.92
user 6.66
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/200147/ft2_4FGL_J2207.6+0053_daily_bin662.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/200147/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin662.fits evtable="EVENTS" outfile="/scratch/kocevski/200147/ft1_filtered_4FGL_J2207.6+0053_daily_bin662.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/200147/ft1_filtered_4FGL_J2207.6+0053_daily_bin662.fits" evtable="EVENTS" scfile=/scratch/kocevski/200147/ft2_4FGL_J2207.6+0053_daily_bin662.fits sctable="SC_DATA" outfile=/scratch/kocevski/200147/ltcube_410918401_411177601_4FGL_J2207.6+0053_daily_bin662.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/200147/ft2_4FGL_J2207.6+0053_daily_bin662.fits
.....................!
real 11.80
user 11.48
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/200147/ft1_filtered_4FGL_J2207.6+0053_daily_bin662.fits evtable="EVENTS" scfile=/scratch/kocevski/200147/ft2_4FGL_J2207.6+0053_daily_bin662.fits sctable="SC_DATA" expcube=/scratch/kocevski/200147/ltcube_410918401_411177601_4FGL_J2207.6+0053_daily_bin662.fits outfile=/scratch/kocevski/200147/expmap_410918401_411177601_4FGL_J2207.6+0053_daily_bin662.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/200147/ltcube_410918401_411177601_4FGL_J2207.6+0053_daily_bin662.fits
.....................!
real 190.93
user 186.05
sys 4.50

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/200147/ft1_filtered_4FGL_J2207.6+0053_daily_bin662.fits scfile=/scratch/kocevski/200147/ft2_4FGL_J2207.6+0053_daily_bin662.fits outfile=/scratch/kocevski/200147/cmap_410918401_411177601_4FGL_J2207.6+0053_daily_bin662.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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/200147/ft1_filtered_4FGL_J2207.6+0053_daily_bin662.fits scfile=/scratch/kocevski/200147/ft2_4FGL_J2207.6+0053_daily_bin662.fits outfile=/scratch/kocevski/200147/cmap_HighResolution_410918401_411177601_4FGL_J2207.6+0053_daily_bin662.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=331.914 yref=0.8907 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.3021       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    65.552       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .11141E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.638       1.0000         .10000E-03   10000.    
    12 'Prefactor '    26.347       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    25.086       1.0000         .10000E-03   10000.    
    15 'Prefactor '    25.167       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.0164       1.0000         .10000E-03   10000.    
    19 'norm      '    9.5635       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .78505       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0818       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=   3004.408     FROM MIGRAD    STATUS=CONVERGED    498 CALLS     2485 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    35.324       -.10745E-04** at limit **
   2  Prefactor     .10000E-03    91.532        .88435E-04** at limit **
   3  Prefactor     1.3020        4.1532       -.25882E-05   -.10238E-02
   4  Prefactor     .10000E-03    19.271        .50779E-05** at limit **
   5  Prefactor     65.552        55.417       -.35429E-06   -.23220E-04
   6  Prefactor     .10000E-03    131.94       -.10324E-03** at limit **
   7  Prefactor     .10000E-03    32.625       -.16270E-04** at limit **
   8  norm          .10000E-03    6.2261        .11587E-05** at limit **
   9  norm          .10000E-03    14.993       -.15500E-04** at limit **
  10  Prefactor     .10000E-03    5.3566        .26340E-06** at limit **
  11  Prefactor     11.639        19.485       -.24668E-05   -.47331E-04
  12  Prefactor     26.354        56.962        .27655E-04    .86522E-04
  13  Prefactor     .10000E-03    13.225        .85475E-05** at limit **
  14  Prefactor     25.090        29.599        .14095E-05   -.41520E-04
  15  Prefactor     25.082        82.373       -.13781E-03    .56996E-05
  16  Prefactor     .10000E-03    9.2075       -.51672E-06** at limit **
  17  Prefactor     .10000E-03    21.553        .95393E-05** at limit **
  18  Prefactor     2.0150        6.1758       -.30653E-05   -.47225E-03
  19  norm          9.5635        6.7493       -.94773E-06    .69593E-07
  20  Prefactor     .10000E-03    6.4159       -.14430E-05** at limit **
  21  Prefactor     .10000E-03    40.094        .10108E-04** at limit **
  22  Normalizat    .78502        .35107        .20870E-04   -.74282E-04
  23  Prefactor     1.0818        .19066       -.10261E-05    .21098E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.30204
  Prefactor  = 0.0001
  Prefactor  = 65.5523
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.639
  Prefactor  = 26.354
  Prefactor  = 0.0001
  Prefactor  = 25.0903
  Prefactor  = 25.0819
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.01505
  norm       = 9.56349
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.785024
  Prefactor  = 1.08183
 **********
 **   18 **HESSE 
 **********

 FCN=   3004.408     FROM HESSE     STATUS=OK           360 CALLS     2845 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    35.350        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    91.542        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.3020        4.1255        .18747E-03   -1.5480    
   4  Prefactor     .10000E-03    19.273        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     65.552        55.287        .49569E-04   -1.4087    
   6  Prefactor     .10000E-03    131.91        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    32.631        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    6.4827        .26694E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    14.990        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.3612        .12390E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.639        19.507        .11743E-03   -1.5026    
  12  Prefactor     26.354        56.833        .78045E-04   -1.4681    
  13  Prefactor     .10000E-03    13.231        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     25.090        29.572        .79978E-04   -1.4706    
  15  Prefactor     25.082        82.442        .79851E-04   -1.4706    
  16  Prefactor     .10000E-03    9.2378        .16230E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    21.582        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.0150        6.1407        .22025E-03   -1.5424    
  19  norm          9.5635        6.7494        .11176E-03   -1.5089    
  20  Prefactor     .10000E-03    6.4267        .13561E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    40.094        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .78502        .39749        .37184E-03   -1.0063    
  23  Prefactor     1.0818        .21861        .18435E-03   -.90050    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.50318e-09
Minuit parameter uncertainties:
  1  6.69678e-05
  2  0.000414075
  3  4.12642
  4  2.13756e-05
  5  55.3299
  6  2.65411e-05
  7  2.74537e-06
  8  7.2789e-05
  9  4.03955e-05
  10  8.25296e-06
  11  19.518
  12  56.9497
  13  3.81038e-05
  14  29.589
  15  82.8201
  16  2.74146e-05
  17  0.000130014
  18  6.14263
  19  6.74995
  20  5.09663e-06
  21  3.13861e-05
  22  0.398973
  23  0.218794
Done.

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

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  2.509e+01  2.959e+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.082e+00  2.188e-01  0.000e+00  1.000e+01 ( 1.000e+00)
554        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
555        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
552   Normalization:  7.850e-01  3.990e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.04
Ra Dec: 331.914 0.891
Photon Index (Fixed Index): 2.48 +/- 0.00
Photon Flux (Fixed Index): 6.10e-08 +/- 7.19e-08
Energy Flux (Fixed Index): 1.80e-05 +/- 2.13e-05

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

Saving results to:
/scratch/kocevski/200147/likelihoodResults_410918401_411177601_4FGL_J2207.6+0053_daily_bin662.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) = 3004.34172493
delta logL = 0.0658857682802

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3004.28188608
delta logL = 0.125724624829

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    40.906       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1232       1.0000          .0000       10.000    
     3 'Normalizat'    .79619       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0750       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=   3004.282     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      262 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     40.901        50.661        .62675E-04    .51430E-03
   2  Index         2.1232        .66473        .63972E-02    .27326E-03
   3  Normalizat    .79523        .37251        .36956E-03   -.69370E-04
   4  Prefactor     1.0754        .21599        .18476E-03   -.18220E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 40.9013
  Index      = 2.12319
  Normalizat = 0.795228
  Prefactor  = 1.07541
 **********
 **   18 **HESSE 
 **********

 FCN=   3004.282     FROM HESSE     STATUS=OK            23 CALLS      285 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     40.901        49.546        .12535E-04   -1.4428    
   2  Index         2.1232        .65019        .25589E-03   -.61305    
   3  Normalizat    .79523        .37270        .14782E-04   -1.0025    
   4  Prefactor     1.0754        .21609        .36952E-04   -.90257    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.92196e-09
Minuit parameter uncertainties:
  1  49.5956
  2  0.652962
  3  0.373904
  4  0.216269
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/200147': 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) = 3004.28188264
delta logL = 0.125728060498

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  4.090e+01  4.960e+01  1.000e-04  1.000e+04 ( 1.000e-13)
287        Index:  2.123e+00  6.530e-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.075e+00  2.163e-01  0.000e+00  1.000e+01 ( 1.000e+00)
554        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
555        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
552   Normalization:  7.952e-01  3.739e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.29
Ra Dec: 331.914 0.891
Photon Index (Free Index): 2.12 +/- 0.65
Photon Flux (Free Index): 5.58e-08 +/- 6.34e-08
Energy Flux (Free Index): 2.92e-05 +/- 4.20e-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/200147/cmap_HighResolution_410918401_411177601_4FGL_J2207.6+0053_daily_bin662.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.79e-02', comment='SUCCESS', photon_flux='6.10e-08', energy_flux2='2.92e-05', photon_flux_error='7.19e-08', dlogl='1.26e-01', energy_flux='1.80e-05', photon_flux2='5.58e-08', job_status='DONE', time_completed='2021-09-28 06:06:12.946689', photon_index_error2='0.65', photon_index2='2.12', ts='1.04', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', photon_flux_upper_limit='2.31e-07', energy_flux_error2='4.20e-05', EG='0.79', time_epoch_completed='1632834372.95', return_code='0', job_id='200147', GAL2='1.08', EG2='0.80', return_code2='0', energy_flux_error='2.13e-05', photon_flux_error2='6.34e-08', ts2='1.29', photon_index='2.48' WHERE bin_id='662' AND source_name='4FGL J2207.6+0053' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:06:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0276>
Subject: Job 200147: <4FGL_J2207.6+0053_daily_bin662> in cluster <slac> Done

Job <4FGL_J2207.6+0053_daily_bin662> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 05:55:25 2021
Job was executed on host(s) <bullet0276>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:55:27 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:27 2021
Terminated at Tue Sep 28 06:06:13 2021
Results reported at Tue Sep 28 06:06:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.6+0053_daily_bin662 331.914 0.8907 410918401 411177601 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 :                                   488.17 sec.
    Max Memory :                                 1070 MB
    Average Memory :                             278.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   646 sec.
    Turnaround time :                            648 sec.

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

