/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 4 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 = 7487
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2207.6+0053_daily_bin37
RA = 331.914, Dec = 0.8907
tmin = 248918401, tmax = 249177601
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='196949', job_status='RUN', time_executed='2021-09-28 05:45:46.495864', time_epoch_executed='1632833146.5' WHERE source_name='4FGL J2207.6+0053' and cadence='daily' and bin_id='37'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/196949

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/196949/ft1_4FGL_J2207.6+0053_daily_bin37.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/196949/ft2_4FGL_J2207.6+0053_daily_bin37.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/196949/ft1_4FGL_J2207.6+0053_daily_bin37.fits outfile=/scratch/kocevski/196949/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin37.fits ra=331.914 dec=0.8907 rad=12.0 tmin=248918401.0 tmax=249177601.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 1.94
user 1.75
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/196949/ft1_filtered_4FGL_J2207.6+0053_daily_bin37.fits" evtable="EVENTS" scfile=/scratch/kocevski/196949/ft2_4FGL_J2207.6+0053_daily_bin37.fits sctable="SC_DATA" outfile=/scratch/kocevski/196949/ltcube_248918401_249177601_4FGL_J2207.6+0053_daily_bin37.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/196949/ft2_4FGL_J2207.6+0053_daily_bin37.fits
.....................!
real 12.73
user 12.33
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/196949/ft1_filtered_4FGL_J2207.6+0053_daily_bin37.fits evtable="EVENTS" scfile=/scratch/kocevski/196949/ft2_4FGL_J2207.6+0053_daily_bin37.fits sctable="SC_DATA" expcube=/scratch/kocevski/196949/ltcube_248918401_249177601_4FGL_J2207.6+0053_daily_bin37.fits outfile=/scratch/kocevski/196949/expmap_248918401_249177601_4FGL_J2207.6+0053_daily_bin37.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/196949/ltcube_248918401_249177601_4FGL_J2207.6+0053_daily_bin37.fits
.....................!
real 192.88
user 187.50
sys 5.05

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/196949/ft1_filtered_4FGL_J2207.6+0053_daily_bin37.fits scfile=/scratch/kocevski/196949/ft2_4FGL_J2207.6+0053_daily_bin37.fits outfile=/scratch/kocevski/196949/cmap_248918401_249177601_4FGL_J2207.6+0053_daily_bin37.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/196949/ft1_filtered_4FGL_J2207.6+0053_daily_bin37.fits scfile=/scratch/kocevski/196949/ft2_4FGL_J2207.6+0053_daily_bin37.fits outfile=/scratch/kocevski/196949/cmap_HighResolution_248918401_249177601_4FGL_J2207.6+0053_daily_bin37.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.40
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    41.507       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .91122       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    58.294       1.0000         .10000E-03   10000.    
     7 'Prefactor '    77.364       1.0000         .10000E-03   10000.    
     8 'norm      '    3.7390       1.0000         .10000E-03   10000.    
     9 'norm      '    22.895       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.9689       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.1613       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10828E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.9088       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .26715E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    16.226       1.0000         .10000E-03   10000.    
    16 'Prefactor '    16.727       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.4555       1.0000         .10000E-03   10000.    
    19 'norm      '    14.241       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .38679       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1008       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=   10749.64     FROM MIGRAD    STATUS=CONVERGED    515 CALLS     2607 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.525        .37491E-07** at limit **
   2  Prefactor     41.493        33.822       -.18574E-05    .17915E-03
   3  Prefactor     .91133        1.6386        .73942E-06    .10168E-02
   4  Prefactor     .10000E-03    10.766       -.12390E-06** at limit **
   5  Prefactor     .10000E-03    7.7759        .34941E-07** at limit **
   6  Prefactor     58.298        49.647       -.20937E-06   -.75613E-04
   7  Prefactor     77.360        42.340        .23381E-06    .14097E-03
   8  norm          3.7391        1.9503       -.70604E-07   -.64052E-04
   9  norm          22.892        15.362       -.68213E-07   -.26969E-04
  10  Prefactor     4.9696        5.1985        .95180E-07    .34941E-03
  11  Prefactor     1.1608        8.4788       -.31180E-05    .17476E-03
  12  Prefactor     .10000E-03    38.766        .14993E-05** at limit **
  13  Prefactor     9.9210        13.138        .48381E-06    .36500E-03
  14  Prefactor     .10000E-03    82.273       -.14826E-04** at limit **
  15  Prefactor     16.228        20.978        .33168E-06   -.48560E-04
  16  Prefactor     16.728        9.4014        .16951E-06    .34702E-04
  17  Prefactor     .10000E-03    3.2300       -.40242E-07** at limit **
  18  Prefactor     2.4544        3.5470       -.71986E-06    .98545E-04
  19  norm          14.241        3.9631       -.56111E-07    .27357E-03
  20  Prefactor     .10000E-03    1.3498       -.16163E-07** at limit **
  21  Prefactor     .10001E-03    47.989       -.13982E-05** at limit **
  22  Normalizat    .38686        .19987        .18909E-05    .45832E-04
  23  Prefactor     1.1008        .10568        .53162E-08    .52788E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 41.4934
  Prefactor  = 0.911331
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 58.2977
  Prefactor  = 77.3596
  norm       = 3.73913
  norm       = 22.8924
  Prefactor  = 4.96956
  Prefactor  = 1.16083
  Prefactor  = 0.000100003
  Prefactor  = 9.92096
  Prefactor  = 0.000100002
  Prefactor  = 16.2275
  Prefactor  = 16.7276
  Prefactor  = 0.0001
  Prefactor  = 2.45445
  norm       = 14.2405
  Prefactor  = 0.0001
  Prefactor  = 0.000100008
  Normalizat = 0.386864
  Prefactor  = 1.10081
 **********
 **   18 **HESSE 
 **********

 FCN=   10749.64     FROM HESSE     STATUS=OK           376 CALLS     2983 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.544        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     41.493        33.132        .62220E-04   -1.4419    
   3  Prefactor     .91133        1.5030        .15679E-02   -1.5517    
   4  Prefactor     .10000E-03    10.805        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.7855        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     58.298        49.825        .52545E-04   -1.4179    
   7  Prefactor     77.360        42.095        .45655E-04   -1.3947    
   8  norm          3.7391        1.9490        .94203E-04   -1.5321    
   9  norm          22.892        15.317        .83712E-04   -1.4751    
  10  Prefactor     4.9696        5.1848        .18042E-03   -1.5262    
  11  Prefactor     1.1608        8.4890        .42745E-03   -1.5492    
  12  Prefactor     .10000E-03    40.388        .41419E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     9.9210        13.064        .63649E-03   -1.5078    
  14  Prefactor     .10000E-03    79.804        .55889E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     16.228        20.815        .99429E-04   -1.4902    
  16  Prefactor     16.728        9.3033        .97928E-04   -1.4890    
  17  Prefactor     .10000E-03    3.2364        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.4544        3.5068        .20898E-03   -1.5395    
  19  norm          14.241        3.9436        .10293E-03   -1.4953    
  20  Prefactor     .10000E-03    1.3515        .11764E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10001E-03    48.685        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .38686        .19575        .46177E-03   -1.1799    
  23  Prefactor     1.1008        .10834        .16530E-03   -.89441    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04253e-09
Minuit parameter uncertainties:
  1  3.61098e-05
  2  33.1465
  3  1.50302
  4  9.32989e-05
  5  5.95466e-06
  6  49.8606
  7  42.1113
  8  1.949
  9  15.3195
  10  5.18528
  11  6.27928
  12  0.000663837
  13  13.0681
  14  0.000726566
  15  20.8247
  16  9.30411
  17  2.2907e-06
  18  3.50704
  19  3.94371
  20  6.93514e-07
  21  0.00125296
  22  0.196097
  23  0.108366
Done.

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

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  1.000e-04  7.266e-04  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.101e+00  1.084e-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.869e-01  1.961e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 331.914 0.891
Photon Flux Upper Limit: 7.12e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.53e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/196949/likelihoodResults_248918401_249177601_4FGL_J2207.6+0053_daily_bin37.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): 102
logL (Free Index) = 10749.6396059
delta logL = -5.82024058531e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10749.6396056
delta logL = -5.79859679419e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96159E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4845       1.0000          .0000       10.000    
     3 'Normalizat'    .38674       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1009       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=   10748.76     FROM MIGRAD    STATUS=CONVERGED    132 CALLS      305 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .81272E-02    .91813E-01    .17722E-02    .80005E-02
   2  Index         6.3258        2.2164        .12276        .17275E-03
   3  Normalizat    .31524        .31245E-01    .11525        .90995E-04
   4  Prefactor     1.1274        .18417E-01    .37554E-01   -.22530E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0081272
  Index      = 6.32584
  Normalizat = 0.315241
  Prefactor  = 1.12736
 **********
 **   18 **HESSE 
 **********

 FCN=   10748.76     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      338 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .81272E-02    .29681        .81499E-04   -1.5690    
   2  Index         6.3258        7.5296        .64245E-02    .26838    
   3  Normalizat    .31524        .12570        .51005E-03   -1.2194    
   4  Prefactor     1.1274        .72916E-01    .16352E-03   -.88597    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.04721e-10
Minuit parameter uncertainties:
  1  0.0976239
  2  5.35807
  3  0.12581
  4  0.0729228
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/196949': 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): 102
logL (Free Index) = 10748.7592756
delta logL = 0.880272031511

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  8.127e-03  9.762e-02  1.000e-04  1.000e+04 ( 1.000e-13)
287        Index:  6.326e+00  5.358e+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:  1.127e+00  7.292e-02  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.152e-01  1.258e-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): 6.33 +/- 5.36
Photon Flux (Free Index): 5.01e-08 +/- 4.23e-08
Energy Flux (Free Index): 6.14e-06 +/- 5.84e-06

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/196949/cmap_HighResolution_248918401_249177601_4FGL_J2207.6+0053_daily_bin37.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.53e-03', comment='SUCCESS', energy_flux2='6.14e-06', dlogl='8.80e-01', photon_flux2='5.01e-08', job_status='DONE', time_completed='2021-09-28 06:01:13.148153', photon_index_error2='5.36', photon_index2='6.33', ts='-0.00', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', photon_flux_upper_limit='7.12e-08', energy_flux_error2='5.84e-06', EG='0.39', time_epoch_completed='1632834073.15', return_code='0', job_id='196949', GAL2='1.13', EG2='0.32', return_code2='102', photon_flux_error2='4.23e-08', ts2='1.96', photon_index='2.48' WHERE bin_id='37' AND source_name='4FGL J2207.6+0053' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:01:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0036>
Subject: Job 196949: <4FGL_J2207.6+0053_daily_bin37> in cluster <slac> Done

Job <4FGL_J2207.6+0053_daily_bin37> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 28 05:45:32 2021
Job was executed on host(s) <bullet0036>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:45:34 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:45:34 2021
Terminated at Tue Sep 28 06:01:14 2021
Results reported at Tue Sep 28 06:01:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.6+0053_daily_bin37 331.914 0.8907 248918401 249177601 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 :                                   924.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             365.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   939 sec.
    Turnaround time :                            942 sec.

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

