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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1296
RA = 331.892, Dec = -53.7719
tmin = 575251201, tmax = 575510401
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='195463', job_status='RUN', time_executed='2021-09-28 05:43:36.077856', time_epoch_executed='1632833016.08' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1296'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/195463

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/195463/ft1_4FGL_J2207.5-5346_daily_bin1296.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/195463/ft2_4FGL_J2207.5-5346_daily_bin1296.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/195463/ft1_4FGL_J2207.5-5346_daily_bin1296.fits outfile=/scratch/kocevski/195463/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1296.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=575251201.0 tmax=575510401.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 5.30
user 5.06
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/195463/ft2_4FGL_J2207.5-5346_daily_bin1296.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/195463/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1296.fits evtable="EVENTS" outfile="/scratch/kocevski/195463/ft1_filtered_4FGL_J2207.5-5346_daily_bin1296.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.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/195463/ft1_filtered_4FGL_J2207.5-5346_daily_bin1296.fits" evtable="EVENTS" scfile=/scratch/kocevski/195463/ft2_4FGL_J2207.5-5346_daily_bin1296.fits sctable="SC_DATA" outfile=/scratch/kocevski/195463/ltcube_575251201_575510401_4FGL_J2207.5-5346_daily_bin1296.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/195463/ft2_4FGL_J2207.5-5346_daily_bin1296.fits
.....................!
real 11.73
user 11.38
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/195463/ft1_filtered_4FGL_J2207.5-5346_daily_bin1296.fits evtable="EVENTS" scfile=/scratch/kocevski/195463/ft2_4FGL_J2207.5-5346_daily_bin1296.fits sctable="SC_DATA" expcube=/scratch/kocevski/195463/ltcube_575251201_575510401_4FGL_J2207.5-5346_daily_bin1296.fits outfile=/scratch/kocevski/195463/expmap_575251201_575510401_4FGL_J2207.5-5346_daily_bin1296.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/195463/ltcube_575251201_575510401_4FGL_J2207.5-5346_daily_bin1296.fits
.....................!
real 193.27
user 187.90
sys 4.91

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/195463/ft1_filtered_4FGL_J2207.5-5346_daily_bin1296.fits scfile=/scratch/kocevski/195463/ft2_4FGL_J2207.5-5346_daily_bin1296.fits outfile=/scratch/kocevski/195463/cmap_575251201_575510401_4FGL_J2207.5-5346_daily_bin1296.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/195463/ft1_filtered_4FGL_J2207.5-5346_daily_bin1296.fits scfile=/scratch/kocevski/195463/ft2_4FGL_J2207.5-5346_daily_bin1296.fits outfile=/scratch/kocevski/195463/cmap_HighResolution_575251201_575510401_4FGL_J2207.5-5346_daily_bin1296.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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/195463/ft1_filtered_4FGL_J2207.5-5346_daily_bin1296.fits evtable="EVENTS" scfile=/scratch/kocevski/195463/ft2_4FGL_J2207.5-5346_daily_bin1296.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/195463/Model_4FGL_J2207.5-5346_daily_bin1296.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/195463/ft1_filtered_4FGL_J2207.5-5346_daily_bin1296.fits.....................!
real 56.23
user 54.89
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/195463/ft1_filtered_4FGL_J2207.5-5346_daily_bin1296.fits', '/scratch/kocevski/195463/ft2_4FGL_J2207.5-5346_daily_bin1296.fits', expMap='/scratch/kocevski/195463/expmap_575251201_575510401_4FGL_J2207.5-5346_daily_bin1296.fits', expCube='/scratch/kocevski/195463/ltcube_575251201_575510401_4FGL_J2207.5-5346_daily_bin1296.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/195463/Model_4FGL_J2207.5-5346_daily_bin1296.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/195463/ft1_filtered_4FGL_J2207.5-5346_daily_bin1296.fits
Spacecraft file(s): /scratch/kocevski/195463/ft2_4FGL_J2207.5-5346_daily_bin1296.fits
Exposure map: /scratch/kocevski/195463/expmap_575251201_575510401_4FGL_J2207.5-5346_daily_bin1296.fits
Exposure cube: /scratch/kocevski/195463/ltcube_575251201_575510401_4FGL_J2207.5-5346_daily_bin1296.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/195463/Model_4FGL_J2207.5-5346_daily_bin1296.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) = 7635.53603528

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.2377       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    64.248       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.1767       1.0000         .10000E-03   10000.    
     6 'Prefactor '    20.418       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .14100E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.5740       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.1132       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .33800E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10761E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.7999       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10900E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.4055       1.0000         .10000E-03   10000.    
    18 'Prefactor '    34.023       1.0000         .10000E-03   10000.    
    19 'Prefactor '    29.982       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .39980E-01   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0249       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .90935       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=   7635.532     FROM MIGRAD    STATUS=CONVERGED    512 CALLS     2448 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.2380        2.3901       -.56563E-06   -.12965E-03
   2  Prefactor     .10000E-03    41.121        .74674E-07** at limit **
   3  Prefactor     .10000E-03    66.744        .34937E-06** at limit **
   4  Prefactor     64.249        59.842        .13183E-06    .28001E-04
   5  Prefactor     3.1749        6.0590       -.20127E-05   -.67167E-04
   6  Prefactor     20.416        21.949        .54066E-07   -.88798E-04
   7  Prefactor     .10000E-03    2.5073        .95694E-06** at limit **
   8  norm          .10000E-03    .31428        .12390E-06** at limit **
   9  Prefactor     4.5712        40.355        .18917E-06    .67907E-04
  10  Prefactor     7.1100        6.7343       -.23416E-05   -.15176E-03
  11  Prefactor     .10004E-03    3.0089        .76601E-05** at limit **
  12  Prefactor     .10001E-03    127.72       -.11828E-04** at limit **
  13  norm          .10000E-03    1.7915       -.68058E-08** at limit **
  14  Prefactor     3.7999        2.6397       -.11779E-06    .30720E-04
  15  Prefactor     .10000E-03    1.1867       -.14066E-07** at limit **
  16  Prefactor     .10001E-03    64.219        .53962E-05** at limit **
  17  Prefactor     4.4055        9.1751       -.95054E-06   -.54383E-03
  18  Prefactor     33.990        61.907        .37390E-05    .47892E-04
  19  Prefactor     29.981        25.646       -.14393E-06   -.59005E-04
  20  Prefactor     .10000E-03    198.87       -.85353E-04** at limit **
  21  Normalizat    1.0249        .15872        .47677E-07   -.37663E-03
  22  Prefactor     .90932        .12050        .60521E-06   -.50205E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.23797
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 64.2494
  Prefactor  = 3.17493
  Prefactor  = 20.4158
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 4.57121
  Prefactor  = 7.11
  Prefactor  = 0.000100039
  Prefactor  = 0.00010001
  norm       = 0.0001
  Prefactor  = 3.79995
  Prefactor  = 0.0001
  Prefactor  = 0.000100008
  Prefactor  = 4.40553
  Prefactor  = 33.9905
  Prefactor  = 29.9807
  Prefactor  = 0.0001
  Normalizat = 1.02492
  Prefactor  = 0.909321
 **********
 **   18 **HESSE 
 **********

 FCN=   7635.532     FROM HESSE     STATUS=OK           352 CALLS     2800 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.2380        2.3794        .13381E-03   -1.5409    
   2  Prefactor     .10000E-03    41.854        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    67.070        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     64.249        59.827        .50066E-04   -1.4103    
   5  Prefactor     3.1749        6.0542        .22737E-03   -1.5352    
   6  Prefactor     20.416        21.923        .88639E-04   -1.4804    
   7  Prefactor     .10000E-03    5.1315        .26451E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .80968        .95116E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.5712        39.891        .18822E-03   -1.5280    
  10  Prefactor     7.1100        6.7202        .15041E-03   -1.5175    
  11  Prefactor     .10004E-03    46.520        .20335E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10001E-03    128.74        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.7936        .11422E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.7999        2.6396        .11422E-03   -1.5318    
  15  Prefactor     .10000E-03    1.1940        .92936E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10001E-03    66.003        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.4055        9.1529        .19187E-03   -1.5288    
  18  Prefactor     33.990        61.891        .68701E-04   -1.4541    
  19  Prefactor     29.981        25.646        .73171E-04   -1.4612    
  20  Prefactor     .10000E-03    11.799        .78514E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0249        .18066        .24693E-03   -.92200    
  22  Prefactor     .90932        .13866        .20616E-03   -.95816    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.20314e-09
Minuit parameter uncertainties:
  1  2.37947
  2  8.72857e-05
  3  7.32143e-05
  4  59.883
  5  6.05535
  6  21.9311
  7  0.000164005
  8  1.97516e-05
  9  27.0314
  10  6.72093
  11  0.00270399
  12  0.00228594
  13  6.82854e-08
  14  2.63969
  15  3.11541e-07
  16  0.00145677
  17  9.15581
  18  62.0081
  19  25.6558
  20  1.55248e-05
  21  0.180764
  22  0.138718
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.000e-04  2.704e-03  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:  9.093e-01  1.387e-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:  1.025e+00  1.808e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/195463/likelihoodResults_575251201_575510401_4FGL_J2207.5-5346_daily_bin1296.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) = 7635.53234403
delta logL = -0.000102095579678

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7633.44346546
delta logL = 2.08877647661

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18757E-01   1.0000         .10000E-03   10000.    
     2 'Index     '    6.2129       1.0000          .0000       10.000    
     3 'Normalizat'    .90595       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96440       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=   7633.443     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      264 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18732E-01    .13421        .14440E-02    .60938E-02
   2  Index         6.2137        2.3947        .11602        .17257E-03
   3  Normalizat    .90599        .43020E-01    .44978E-01    .12593E-04
   4  Prefactor     .96436        .34144E-01    .45821E-01    .22201E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0187318
  Index      = 6.21369
  Normalizat = 0.905992
  Prefactor  = 0.964362
 **********
 **   18 **HESSE 
 **********

 FCN=   7633.443     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      297 TOTAL
                     EDM=   .40E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18732E-01    .28564        .64704E-05   -1.5681    
   2  Index         6.2137        3.7030        .45584E-02    .24519    
   3  Normalizat    .90599        .15788        .26047E-03   -.96250    
   4  Prefactor     .96436        .12240        .20073E-03   -.93927    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.03e-07
Minuit parameter uncertainties:
  1  0.145904
  2  4.21323
  3  0.157961
  4  0.122433
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/195463': 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) = 7633.44346534
delta logL = 2.08877659376

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.873e-02  1.459e-01  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  6.214e+00  4.213e+00  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:  9.644e-01  1.224e-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:  9.060e-01  1.580e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.53
Ra Dec: 331.892 -53.772
Photon Index (Free Index): 6.21 +/- 4.21
Photon Flux (Free Index): 9.27e-08 +/- 5.24e-08
Energy Flux (Free Index): 1.14e-05 +/- 7.31e-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/195463/cmap_HighResolution_575251201_575510401_4FGL_J2207.5-5346_daily_bin1296.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.75e-03', comment='SUCCESS', energy_flux2='1.14e-05', dlogl='2.09e+00', photon_flux2='9.27e-08', job_status='DONE', time_completed='2021-09-28 05:56:05.506805', photon_index_error2='4.21', photon_index2='6.21', ts='-0.00', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='7.43e-08', energy_flux_error2='7.31e-06', EG='1.02', time_epoch_completed='1632833765.51', return_code='0', job_id='195463', GAL2='0.96', EG2='0.91', return_code2='102', photon_flux_error2='5.24e-08', ts2='4.53', photon_index='2.44' WHERE bin_id='1296' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:56:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0052>
Subject: Job 195463: <4FGL_J2207.5-5346_daily_bin1296> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin1296> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 05:40:43 2021
Job was executed on host(s) <bullet0052>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:40:44 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:40:44 2021
Terminated at Tue Sep 28 05:56:06 2021
Results reported at Tue Sep 28 05:56:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1296 331.892 -53.7719 575251201 575510401 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 :                                   738.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             313.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   921 sec.
    Turnaround time :                            923 sec.

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

