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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1071
RA = 331.892, Dec = -53.7719
tmin = 516931201, tmax = 517190401
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='194078', job_status='RUN', time_executed='2021-09-28 05:37:35.694240', time_epoch_executed='1632832655.69' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1071'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/194078

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/194078/ft1_4FGL_J2207.5-5346_daily_bin1071.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/194078/ft2_4FGL_J2207.5-5346_daily_bin1071.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/194078/ft1_4FGL_J2207.5-5346_daily_bin1071.fits outfile=/scratch/kocevski/194078/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1071.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=516931201.0 tmax=517190401.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.04
user 2.82
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/194078/ft2_4FGL_J2207.5-5346_daily_bin1071.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/194078/ft2_4FGL_J2207.5-5346_daily_bin1071.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/194078/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1071.fits evtable="EVENTS" outfile="/scratch/kocevski/194078/ft1_filtered_4FGL_J2207.5-5346_daily_bin1071.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.41
user 0.25
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/194078/ft1_filtered_4FGL_J2207.5-5346_daily_bin1071.fits" evtable="EVENTS" scfile=/scratch/kocevski/194078/ft2_4FGL_J2207.5-5346_daily_bin1071.fits sctable="SC_DATA" outfile=/scratch/kocevski/194078/ltcube_516931201_517190401_4FGL_J2207.5-5346_daily_bin1071.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/194078/ft2_4FGL_J2207.5-5346_daily_bin1071.fits
.....................!
real 8.90
user 8.57
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/194078/ft1_filtered_4FGL_J2207.5-5346_daily_bin1071.fits evtable="EVENTS" scfile=/scratch/kocevski/194078/ft2_4FGL_J2207.5-5346_daily_bin1071.fits sctable="SC_DATA" expcube=/scratch/kocevski/194078/ltcube_516931201_517190401_4FGL_J2207.5-5346_daily_bin1071.fits outfile=/scratch/kocevski/194078/expmap_516931201_517190401_4FGL_J2207.5-5346_daily_bin1071.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/194078/ltcube_516931201_517190401_4FGL_J2207.5-5346_daily_bin1071.fits
.....................!
real 142.91
user 138.69
sys 3.98

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 177 point sources and 0 extended sources

Setting source of interest to:
4FGL J2207.5-5346 @ 331.892 -53.7719

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/194078/ft1_filtered_4FGL_J2207.5-5346_daily_bin1071.fits scfile=/scratch/kocevski/194078/ft2_4FGL_J2207.5-5346_daily_bin1071.fits outfile=/scratch/kocevski/194078/cmap_516931201_517190401_4FGL_J2207.5-5346_daily_bin1071.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.892 yref=-53.7719 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.44
user 0.29
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/194078/ft1_filtered_4FGL_J2207.5-5346_daily_bin1071.fits scfile=/scratch/kocevski/194078/ft2_4FGL_J2207.5-5346_daily_bin1071.fits outfile=/scratch/kocevski/194078/cmap_HighResolution_516931201_517190401_4FGL_J2207.5-5346_daily_bin1071.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.892 yref=-53.7719 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.44
user 0.29
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/194078/ft1_filtered_4FGL_J2207.5-5346_daily_bin1071.fits evtable="EVENTS" scfile=/scratch/kocevski/194078/ft2_4FGL_J2207.5-5346_daily_bin1071.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/194078/Model_4FGL_J2207.5-5346_daily_bin1071.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/194078/ft1_filtered_4FGL_J2207.5-5346_daily_bin1071.fits.....................!
real 37.49
user 36.37
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/194078/ft1_filtered_4FGL_J2207.5-5346_daily_bin1071.fits', '/scratch/kocevski/194078/ft2_4FGL_J2207.5-5346_daily_bin1071.fits', expMap='/scratch/kocevski/194078/expmap_516931201_517190401_4FGL_J2207.5-5346_daily_bin1071.fits', expCube='/scratch/kocevski/194078/ltcube_516931201_517190401_4FGL_J2207.5-5346_daily_bin1071.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/194078/Model_4FGL_J2207.5-5346_daily_bin1071.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2207.5-5346'

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.875e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  2.436e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
338        Scale:  7.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/194078/ft1_filtered_4FGL_J2207.5-5346_daily_bin1071.fits
Spacecraft file(s): /scratch/kocevski/194078/ft2_4FGL_J2207.5-5346_daily_bin1071.fits
Exposure map: /scratch/kocevski/194078/expmap_516931201_517190401_4FGL_J2207.5-5346_daily_bin1071.fits
Exposure cube: /scratch/kocevski/194078/ltcube_516931201_517190401_4FGL_J2207.5-5346_daily_bin1071.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/194078/Model_4FGL_J2207.5-5346_daily_bin1071.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) = 6597.00844824

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    117.19       1.0000         .10000E-03   10000.    
     4 'Prefactor '    36.557       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11250E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .50423       1.0000         .10000E-03   10000.    
     9 'Prefactor '    62.990       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.5389       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.8773       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.6860       1.0000         .10000E-03   10000.    
    15 'Prefactor '    20.003       1.0000         .10000E-03   10000.    
    16 'Prefactor '    14.133       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .55756       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    11.782       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .79835       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0113       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6597.003     FROM MIGRAD    STATUS=CONVERGED    468 CALLS     2385 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.1515       -.83429E-07** at limit **
   2  Prefactor     .10000E-03    11.527       -.22599E-06** at limit **
   3  Prefactor     117.19        51.422       -.64941E-07    .77316E-04
   4  Prefactor     36.663        66.949       -.11208E-05    .11146E-04
   5  Prefactor     .10000E-03    31.242       -.22338E-04** at limit **
   6  Prefactor     .10000E-03    6.0318       -.19780E-07** at limit **
   7  Prefactor     .10000E-03    1.3532       -.84947E-07** at limit **
   8  norm          .50496        .63698       -.80329E-06   -.32862E-04
   9  Prefactor     62.994        42.714       -.36707E-06    .13788E-03
  10  Prefactor     6.5401        7.2170        .17181E-07    .46167E-03
  11  Prefactor     2.8777        2.8828       -.47936E-08    .42505E-03
  12  Prefactor     .10000E-03    23.769       -.39090E-06** at limit **
  13  norm          .10000E-03    2.4753       -.29238E-07** at limit **
  14  Prefactor     4.6869        3.7514       -.34526E-07    .41781E-03
  15  Prefactor     20.004        7.7253       -.51728E-07    .24127E-03
  16  Prefactor     14.134        32.286        .35975E-06    .69982E-04
  17  Prefactor     .55843        10.676        .17585E-05    .83497E-04
  18  Prefactor     .10000E-03    24.455       -.39864E-06** at limit **
  19  Prefactor     11.795        37.535       -.62164E-06   -.83787E-05
  20  Prefactor     .10000E-03    15.842        .38980E-07** at limit **
  21  Normalizat    .79805        .17798        .17337E-05    .52417E-03
  22  Prefactor     1.0115        .13364       -.73258E-06    .32276E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 117.195
  Prefactor  = 36.6628
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.504959
  Prefactor  = 62.9944
  Prefactor  = 6.54008
  Prefactor  = 2.87771
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.68695
  Prefactor  = 20.0044
  Prefactor  = 14.1336
  Prefactor  = 0.558431
  Prefactor  = 0.0001
  Prefactor  = 11.7951
  Prefactor  = 0.000100001
  Normalizat = 0.798049
  Prefactor  = 1.01145
 **********
 **   18 **HESSE 
 **********

 FCN=   6597.003     FROM HESSE     STATUS=OK           346 CALLS     2731 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.1843        .17017E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    11.596        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     117.19        51.453        .37169E-04   -1.3539    
   4  Prefactor     36.663        66.890        .33142E-03   -1.4496    
   5  Prefactor     .10000E-03    30.618        .32444E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    6.0354        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.3695        .92247E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .50496        .63541        .78251E-03   -1.5566    
   9  Prefactor     62.994        42.765        .50560E-04   -1.4119    
  10  Prefactor     6.5401        7.1994        .15694E-03   -1.5196    
  11  Prefactor     2.8777        2.8756        .13239E-03   -1.5369    
  12  Prefactor     .10000E-03    23.774        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.4811        .12480E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.6869        3.7495        .13466E-03   -1.5275    
  15  Prefactor     20.004        7.7410        .89555E-04   -1.4813    
  16  Prefactor     14.134        31.549        .10654E-03   -1.4956    
  17  Prefactor     .55843        41.150        .41711E-02   -1.5559    
  18  Prefactor     .10000E-03    24.458        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     11.795        37.504        .11671E-03   -1.5021    
  20  Prefactor     .10000E-03    15.979        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .79805        .20995        .28333E-03   -1.0014    
  22  Prefactor     1.0115        .15701        .19971E-03   -.92349    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.1074e-09
Minuit parameter uncertainties:
  1  1.22133e-05
  2  9.89045e-05
  3  51.4723
  4  67.0275
  5  0.000276346
  6  5.44572e-06
  7  1.64568e-05
  8  0.635414
  9  42.7862
  10  7.20039
  11  2.87574
  12  5.49646e-05
  13  9.20041e-06
  14  3.74972
  15  7.74142
  16  31.5861
  17  9.59334
  18  5.5236e-05
  19  37.5793
  20  0.000189685
  21  0.210167
  22  0.157077
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  2.878e+00  2.876e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  2.436e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
338        Scale:  7.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  1.011e+00  1.571e-01  0.000e+00  1.000e+01 ( 1.000e+00)
579        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
580        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  7.980e-01  2.102e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.02
Ra Dec: 331.892 -53.772
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 2.64e-08 +/- 2.64e-08
Energy Flux (Fixed Index): 8.27e-06 +/- 8.26e-06

TS (Fixed Index): 2.02
Ra Dec: 331.892 -53.772
Photon Flux Upper Limit: 9.26e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.17e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/194078/likelihoodResults_516931201_517190401_4FGL_J2207.5-5346_daily_bin1071.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) = 6597.00057041
delta logL = 0.00194274537716

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6597.00029372
delta logL = 0.00221943775887

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.9252       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3742       1.0000          .0000       10.000    
     3 'Normalizat'    .79941       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0111       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6597.000     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      203 TOTAL
                     EDM=   .62E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9274        96.550        .59379E-02    .18190E-03
   2  Index         2.3732        5.5391        .24004        .24658E-04
   3  Normalizat    .79999        .88762E-01    .63981E-01   -.31508E-05
   4  Prefactor     1.0107        .50154E-01    .43175E-01   -.12972E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.92738
  Index      = 2.37324
  Normalizat = 0.79999
  Prefactor  = 1.01065
 **********
 **   18 **HESSE 
 **********

 FCN=   6597.000     FROM HESSE     STATUS=OK            33 CALLS      236 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.9274        3.0480        .13515E-03   -1.5366    
   2  Index         2.3732        .93558        .11969E-01   -.55313    
   3  Normalizat    .79999        .19581        .28302E-03   -1.0007    
   4  Prefactor     1.0107        .15281        .19978E-03   -.92375    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.81684e-10
Minuit parameter uncertainties:
  1  3.04814
  2  0.943286
  3  0.195984
  4  0.152876
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/194078': 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) = 6597.00028874
delta logL = 0.00222441911046

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  2.927e+00  3.048e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  2.373e+00  9.433e-01  0.000e+00  1.000e+01 (-1.000e+00)
338        Scale:  7.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  1.011e+00  1.529e-01  0.000e+00  1.000e+01 ( 1.000e+00)
579        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
580        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  8.000e-01  1.960e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.02
Ra Dec: 331.892 -53.772
Photon Index (Free Index): 2.37 +/- 0.94
Photon Flux (Free Index): 2.48e-08 +/- 3.41e-08
Energy Flux (Free Index): 8.42e-06 +/- 9.02e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/194078/cmap_HighResolution_516931201_517190401_4FGL_J2207.5-5346_daily_bin1071.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.17e-03', comment='SUCCESS', photon_flux='2.64e-08', energy_flux2='8.42e-06', photon_flux_error='2.64e-08', dlogl='2.22e-03', energy_flux='8.27e-06', photon_flux2='2.48e-08', job_status='DONE', time_completed='2021-09-28 05:45:40.253395', photon_index_error2='0.94', photon_index2='2.37', ts='2.02', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='9.26e-08', energy_flux_error2='9.02e-06', EG='0.80', time_epoch_completed='1632833140.25', return_code='0', job_id='194078', GAL2='1.01', EG2='0.80', return_code2='0', energy_flux_error='8.26e-06', photon_flux_error2='3.41e-08', ts2='2.02', photon_index='2.44' WHERE bin_id='1071' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:45:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0033>
Subject: Job 194078: <4FGL_J2207.5-5346_daily_bin1071> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin1071> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 05:35:45 2021
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:35:46 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:35:46 2021
Terminated at Tue Sep 28 05:45:41 2021
Results reported at Tue Sep 28 05:45:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1071 331.892 -53.7719 516931201 517190401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2207.5-5346 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   482.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   594 sec.
    Turnaround time :                            596 sec.

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

