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


Performing analysis on: 4FGL_J2207.6+0053_daily_bin876
RA = 331.914, Dec = 0.8907
tmin = 466387201, tmax = 466646401
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='202037', job_status='RUN', time_executed='2021-09-28 06:00:26.897671', time_epoch_executed='1632834026.9' WHERE source_name='4FGL J2207.6+0053' and cadence='daily' and bin_id='876'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/202037

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/202037/ft1_4FGL_J2207.6+0053_daily_bin876.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/202037/ft2_4FGL_J2207.6+0053_daily_bin876.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/202037/ft1_4FGL_J2207.6+0053_daily_bin876.fits outfile=/scratch/kocevski/202037/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin876.fits ra=331.914 dec=0.8907 rad=12.0 tmin=466387201.0 tmax=466646401.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.66
user 3.39
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/202037/ft1_filtered_4FGL_J2207.6+0053_daily_bin876.fits evtable="EVENTS" scfile=/scratch/kocevski/202037/ft2_4FGL_J2207.6+0053_daily_bin876.fits sctable="SC_DATA" expcube=/scratch/kocevski/202037/ltcube_466387201_466646401_4FGL_J2207.6+0053_daily_bin876.fits outfile=/scratch/kocevski/202037/expmap_466387201_466646401_4FGL_J2207.6+0053_daily_bin876.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/202037/ltcube_466387201_466646401_4FGL_J2207.6+0053_daily_bin876.fits
.....................!
real 191.05
user 185.88
sys 4.83

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/202037/ft1_filtered_4FGL_J2207.6+0053_daily_bin876.fits scfile=/scratch/kocevski/202037/ft2_4FGL_J2207.6+0053_daily_bin876.fits outfile=/scratch/kocevski/202037/cmap_466387201_466646401_4FGL_J2207.6+0053_daily_bin876.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.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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.0925       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10253E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .49061E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.3181       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    4.1631       1.0000         .10000E-03   10000.    
     9 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.9341       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    16.765       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .28130       1.0000         .10000E-03   10000.    
    15 'Prefactor '    41.003       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .19035       1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.1273       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.3106       1.0000         .10000E-03   10000.    
    19 'norm      '    15.025       1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.6299       1.0000         .10000E-03   10000.    
    21 'Prefactor '    24.018       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .95042       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .75926       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=   7061.235     FROM MIGRAD    STATUS=CONVERGED    936 CALLS     3353 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.971        .18142E-02** at limit **
   2  Prefactor     .10000E-03    28.604        .18142E-02** at limit **
   3  Prefactor     1.0922        1.2485        .97787E-04    .32715E-03
   4  Prefactor     .10000E-03    60.970        .36285E-03** at limit **
   5  Prefactor     .10038E-03    38.968        .13658    ** at limit **
   6  Prefactor     3.3195        264.35        .22223E-03   -.28137E-05
   7  Prefactor     .10000E-03    20.397        .18142E-02** at limit **
   8  norm          4.1637        2.4680        .86101E-04    .84505E-05
   9  norm          .10000E-03    4.2744        .16961E-02** at limit **
  10  Prefactor     3.9346        4.8921        .20088E-03   -.17884E-04
  11  Prefactor     .10000E-03    4.2328        .16778E-02** at limit **
  12  Prefactor     .10000E-03    6.7075        .18142E-02** at limit **
  13  Prefactor     16.738        19.882        .97818E-04   -.18073E-03
  14  Prefactor     .29254        206.19        .51706E-02   -.67604E-04
  15  Prefactor     41.006        29.463        .62600E-04   -.54482E-05
  16  Prefactor     .21485        120.74        .35728E-02    .26880E-03
  17  Prefactor     8.1349        18.320        .14063E-03   -.13662E-04
  18  Prefactor     5.3064        4.3378        .13634E-03    .45319E-03
  19  norm          15.025        4.6741        .95779E-04    .11502E-03
  20  Prefactor     5.6307        5.4854        .16930E-03   -.12087E-05
  21  Prefactor     24.027        46.547        .81736E-04    .15022E-04
  22  Normalizat    .95036        .22978        .29771E-03    .22198E-03
  23  Prefactor     .75914        .12348        .18421E-03    .19318E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.09217
  Prefactor  = 0.0001
  Prefactor  = 0.000100377
  Prefactor  = 3.31948
  Prefactor  = 0.0001
  norm       = 4.16371
  norm       = 0.0001
  Prefactor  = 3.93464
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.738
  Prefactor  = 0.292536
  Prefactor  = 41.006
  Prefactor  = 0.214855
  Prefactor  = 8.13487
  Prefactor  = 5.30636
  norm       = 15.0249
  Prefactor  = 5.63073
  Prefactor  = 24.0273
  Normalizat = 0.950359
  Prefactor  = 0.759145
 **********
 **   18 **HESSE 
 **********

 FCN=   7061.235     FROM HESSE     STATUS=OK           362 CALLS     3715 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.973        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    28.607        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.0922        1.2483        .39115E-05   -1.5499    
   4  Prefactor     .10000E-03    60.973        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10038E-03    39.340        .13565       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.3195        263.66        .88892E-05   -1.5344    
   7  Prefactor     .10000E-03    20.398        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.1637        2.4660        .34440E-05   -1.5300    
   9  norm          .10000E-03    4.2745        .33922E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.9346        4.8914        .80351E-05   -1.5311    
  11  Prefactor     .10000E-03    4.2346        .33556E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.7078        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     16.738        19.062        .39127E-05   -1.4889    
  14  Prefactor     .29254        195.81        .20682E-02   -1.5600    
  15  Prefactor     41.006        29.458        .25040E-05   -1.4426    
  16  Prefactor     .21485        114.18        .14291E-03   -1.5615    
  17  Prefactor     8.1349        18.316        .56254E-05   -1.5137    
  18  Prefactor     5.3064        4.2183        .54537E-05   -1.5247    
  19  norm          15.025        4.6739        .38312E-05   -1.4933    
  20  Prefactor     5.6307        5.4854        .67722E-05   -1.5233    
  21  Prefactor     24.027        46.544        .32694E-05   -1.4727    
  22  Normalizat    .95036        .22860        .11908E-04   -.94713    
  23  Prefactor     .75914        .12351        .36842E-04   -1.0125    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.98123e-09
Minuit parameter uncertainties:
  1  3.45663e-06
  2  4.06552e-05
  3  1.24832
  4  8.39422e-05
  5  0.00770262
  6  59.4409
  7  1.11606e-06
  8  2.4661
  9  6.1663e-07
  10  4.89186
  11  6.05048e-07
  12  1.32842e-06
  13  19.0691
  14  15.1845
  15  29.4689
  16  9.92272
  17  18.3288
  18  4.21853
  19  4.67402
  20  5.48587
  21  46.6144
  22  0.22883
  23  0.12355
Done.

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

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  2.925e-01  1.518e+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:  7.591e-01  1.236e-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:  9.504e-01  2.288e-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: 8.90e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.92e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/202037/likelihoodResults_466387201_466646401_4FGL_J2207.6+0053_daily_bin876.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) = 7061.23451192
delta logL = 0.000210760206755

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7061.23250976
delta logL = 0.00221292088918

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1513       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2328       1.0000          .0000       10.000    
     3 'Normalizat'    .95010       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75879       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=   7061.233     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      397 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1503        69.654        .43116E-03   -.10708E-03
   2  Index         2.2346        2.7881        .17356E-01    .16449E-04
   3  Normalizat    .95016        .21723        .29773E-03   -.27188E-03
   4  Prefactor     .75877        .12235        .18425E-03   -.45712E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.15026
  Index      = 2.23457
  Normalizat = 0.950161
  Prefactor  = 0.758773
 **********
 **   18 **HESSE 
 **********

 FCN=   7061.233     FROM HESSE     STATUS=OK            25 CALLS      422 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1503        61.682        .17246E-04   -1.5493    
   2  Index         2.2346        2.6548        .69424E-03   -.58606    
   3  Normalizat    .95016        .21743        .11909E-04   -.94719    
   4  Prefactor     .75877        .12242        .36849E-04   -1.0127    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.11454e-10
Minuit parameter uncertainties:
  1  16.864
  2  2.87846
  3  0.217633
  4  0.122459
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/202037': 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) = 7061.23250948
delta logL = 0.002213202245

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  1.150e+00  1.686e+01  1.000e-04  1.000e+04 ( 1.000e-13)
287        Index:  2.235e+00  2.878e+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:  7.588e-01  1.225e-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:  9.502e-01  2.176e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 331.914 0.891

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/202037/cmap_HighResolution_466387201_466646401_4FGL_J2207.6+0053_daily_bin876.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.92e-03', job_status='DONE', photon_flux_upper_limit='8.90e-08', time_completed='2021-09-28 06:13:21.005669', job_id='202037', GAL2='0.76', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1632834801.01', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='2.21e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='876' AND source_name='4FGL J2207.6+0053' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:13:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0296>
Subject: Job 202037: <4FGL_J2207.6+0053_daily_bin876> in cluster <slac> Done

Job <4FGL_J2207.6+0053_daily_bin876> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 06:00:13 2021
Job was executed on host(s) <bullet0296>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:00:15 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 06:00:15 2021
Terminated at Tue Sep 28 06:13:21 2021
Results reported at Tue Sep 28 06:13:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.6+0053_daily_bin876 331.914 0.8907 466387201 466646401 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 :                                   768.19 sec.
    Max Memory :                                 1097 MB
    Average Memory :                             313.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   786 sec.
    Turnaround time :                            788 sec.

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

