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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1576
RA = 331.892, Dec = -53.7719
tmin = 647827201, tmax = 648086401
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='196862', job_status='RUN', time_executed='2021-09-28 05:48:21.032997', time_epoch_executed='1632833301.03' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1576'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/196862

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/196862/ft1_4FGL_J2207.5-5346_daily_bin1576.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/196862/ft2_4FGL_J2207.5-5346_daily_bin1576.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/196862/ft1_4FGL_J2207.5-5346_daily_bin1576.fits outfile=/scratch/kocevski/196862/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1576.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=647827201.0 tmax=648086401.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 4.07
user 3.79
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/196862/ft1_filtered_4FGL_J2207.5-5346_daily_bin1576.fits" evtable="EVENTS" scfile=/scratch/kocevski/196862/ft2_4FGL_J2207.5-5346_daily_bin1576.fits sctable="SC_DATA" outfile=/scratch/kocevski/196862/ltcube_647827201_648086401_4FGL_J2207.5-5346_daily_bin1576.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/196862/ft2_4FGL_J2207.5-5346_daily_bin1576.fits
.....................!
real 11.93
user 11.55
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/196862/ft1_filtered_4FGL_J2207.5-5346_daily_bin1576.fits evtable="EVENTS" scfile=/scratch/kocevski/196862/ft2_4FGL_J2207.5-5346_daily_bin1576.fits sctable="SC_DATA" expcube=/scratch/kocevski/196862/ltcube_647827201_648086401_4FGL_J2207.5-5346_daily_bin1576.fits outfile=/scratch/kocevski/196862/expmap_647827201_648086401_4FGL_J2207.5-5346_daily_bin1576.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/196862/ltcube_647827201_648086401_4FGL_J2207.5-5346_daily_bin1576.fits
.....................!
real 190.66
user 185.24
sys 5.10

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/196862/ft1_filtered_4FGL_J2207.5-5346_daily_bin1576.fits scfile=/scratch/kocevski/196862/ft2_4FGL_J2207.5-5346_daily_bin1576.fits outfile=/scratch/kocevski/196862/cmap_647827201_648086401_4FGL_J2207.5-5346_daily_bin1576.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.52
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/196862/ft1_filtered_4FGL_J2207.5-5346_daily_bin1576.fits scfile=/scratch/kocevski/196862/ft2_4FGL_J2207.5-5346_daily_bin1576.fits outfile=/scratch/kocevski/196862/cmap_HighResolution_647827201_648086401_4FGL_J2207.5-5346_daily_bin1576.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.55
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.8813       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11311E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .31986E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.3238       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.041       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.3908       1.0000         .10000E-03   10000.    
    12 'Prefactor '    46.180       1.0000         .10000E-03   10000.    
    13 'norm      '    .18514E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10834E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .78476       1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.8438       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .49730E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.9359       1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.255       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .97931       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .79714       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1334       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=   6834.334     FROM MIGRAD    STATUS=CONVERGED    499 CALLS     2406 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.8833        3.1685        .51194E-07   -.11065E-05
   2  Prefactor     .10000E-03    6.7411        .16341E-07** at limit **
   3  Prefactor     .10000E-03    12.990        .35212E-07** at limit **
   4  Prefactor     .10000E-03    132.85       -.11481E-06** at limit **
   5  Prefactor     5.3213        6.9279        .25916E-06    .24027E-03
   6  Prefactor     .10000E-03    30.294        .47061E-06** at limit **
   7  Prefactor     .10000E-03    2.9285        .10605E-06** at limit **
   8  norm          .10000E-03    .15457        .10477E-07** at limit **
   9  Prefactor     .10000E-03    33.187       -.21266E-06** at limit **
  10  Prefactor     15.052        9.5700        .72352E-07    .15339E-03
  11  Prefactor     4.3912        3.3440        .56956E-07    .27020E-03
  12  Prefactor     46.106        74.700        .13373E-05    .22197E-05
  13  norm          .10000E-03    4.2487        .28631E-05** at limit **
  14  Prefactor     .10000E-03    2.4059        .31328E-06** at limit **
  15  Prefactor     .77655        3.9298        .25965E-05    .54175E-03
  16  Prefactor     9.8221        23.557       -.86252E-05    .99310E-04
  17  Prefactor     .10001E-03    27.793       -.13747E-04** at limit **
  18  Prefactor     1.8217        531.16       -.10611E-04   -.48062E-05
  19  Prefactor     10.281        21.492       -.12290E-06   -.90749E-04
  20  Prefactor     .98695        11.154        .39950E-05    .32190E-04
  21  Normalizat    .79681        .17982       -.20055E-05   -.43494E-03
  22  Prefactor     1.1335        .13781        .48181E-06   -.47744E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.88327
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 5.32126
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.0516
  Prefactor  = 4.39119
  Prefactor  = 46.1058
  norm       = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.776551
  Prefactor  = 9.82209
  Prefactor  = 0.000100007
  Prefactor  = 1.82169
  Prefactor  = 10.2806
  Prefactor  = 0.986945
  Normalizat = 0.796805
  Prefactor  = 1.13353
 **********
 **   18 **HESSE 
 **********

 FCN=   6834.334     FROM HESSE     STATUS=OK           354 CALLS     2760 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.8833        3.1692        .96076E-04   -1.5183    
   2  Prefactor     .10000E-03    6.7499        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    12.993        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    134.33        .21363E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.3213        6.9254        .17419E-03   -1.5247    
   6  Prefactor     .10000E-03    30.628        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.9897        .13804E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .15733        .31734E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    33.316        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     15.052        9.5795        .10327E-03   -1.4932    
  11  Prefactor     4.3912        3.3362        .12628E-03   -1.5289    
  12  Prefactor     46.106        74.677        .29501E-03   -1.4349    
  13  norm          .10000E-03    16.412        .31154E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.0305        .24551E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .77655        7.4173        .29551E-02   -1.5532    
  16  Prefactor     9.8221        23.780        .12772E-03   -1.5081    
  17  Prefactor     .10001E-03    29.689        .40792E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.8217        551.44        .29844E-02   -1.5438    
  19  Prefactor     10.281        21.465        .12512E-03   -1.5067    
  20  Prefactor     .98695        43.495        .50634E-02   -1.5509    
  21  Normalizat    .79681        .20741        .28591E-03   -1.0019    
  22  Prefactor     1.1335        .16021        .19710E-03   -.88402    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.94523e-09
Minuit parameter uncertainties:
  1  3.16923
  2  1.09094e-05
  3  9.64817e-06
  4  0.000935764
  5  6.92645
  6  3.39811e-05
  7  3.09665e-05
  8  1.00919e-06
  9  0.000222863
  10  9.58052
  11  3.3363
  12  74.8292
  13  0.000355717
  14  5.91647e-05
  15  4.80044
  16  23.8025
  17  0.000906524
  18  63.9914
  19  21.4811
  20  13.1133
  21  0.207617
  22  0.160274
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  4.391e+00  3.336e+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.134e+00  1.603e-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.968e-01  2.076e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.31
Ra Dec: 331.892 -53.772
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 4.03e-08 +/- 3.06e-08
Energy Flux (Fixed Index): 1.26e-05 +/- 9.58e-06

TS (Fixed Index): 3.31
Ra Dec: 331.892 -53.772
Photon Flux Upper Limit: 1.10e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.53e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/196862/likelihoodResults_647827201_648086401_4FGL_J2207.5-5346_daily_bin1576.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) = 6833.99679256
delta logL = 0.3370939971

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6833.97940374
delta logL = 0.354482811924

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.4293       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9552       1.0000          .0000       10.000    
     3 'Normalizat'    .81323       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1246       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=   6833.979     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      230 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.4304        163.30        .43114E-02    .88635E-04
   2  Index         1.9556        5.4369        .23428       -.22047E-04
   3  Normalizat    .81333        .24015        .64029E-01   -.18086E-04
   4  Prefactor     1.1247        .16665        .36718E-01   -.98768E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.43042
  Index      = 1.95556
  Normalizat = 0.813329
  Prefactor  = 1.12465
 **********
 **   18 **HESSE 
 **********

 FCN=   6833.979     FROM HESSE     STATUS=OK            31 CALLS      261 TOTAL
                     EDM=   .90E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.4304        4.0631        .13984E-03   -1.5242    
   2  Index         1.9556        .51103        .85869E-02   -.65466    
   3  Normalizat    .81333        .19352        .28324E-03   -.99576    
   4  Prefactor     1.1247        .15701        .19774E-03   -.88683    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.97251e-12
Minuit parameter uncertainties:
  1  4.06332
  2  0.51245
  3  0.193683
  4  0.157075
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/196862': 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) = 6833.97940271
delta logL = 0.35448383929

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  5.430e+00  4.063e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  1.956e+00  5.124e-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.125e+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:  8.133e-01  1.937e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.03
Ra Dec: 331.892 -53.772
Photon Index (Free Index): 1.96 +/- 0.51
Photon Flux (Free Index): 2.86e-08 +/- 2.57e-08
Energy Flux (Free Index): 2.21e-05 +/- 2.46e-05

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/196862/cmap_HighResolution_647827201_648086401_4FGL_J2207.5-5346_daily_bin1576.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.53e-03', comment='SUCCESS', photon_flux='4.03e-08', energy_flux2='2.21e-05', photon_flux_error='3.06e-08', dlogl='3.54e-01', energy_flux='1.26e-05', photon_flux2='2.86e-08', job_status='DONE', time_completed='2021-09-28 05:59:35.890996', photon_index_error2='0.51', photon_index2='1.96', ts='3.31', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', photon_flux_upper_limit='1.10e-07', energy_flux_error2='2.46e-05', EG='0.80', time_epoch_completed='1632833975.89', return_code='0', job_id='196862', GAL2='1.12', EG2='0.81', return_code2='0', energy_flux_error='9.58e-06', photon_flux_error2='2.57e-08', ts2='4.03', photon_index='2.44' WHERE bin_id='1576' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:59:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0119>
Subject: Job 196862: <4FGL_J2207.5-5346_daily_bin1576> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin1576> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 28 05:45:26 2021
Job was executed on host(s) <bullet0119>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:45:28 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:28 2021
Terminated at Tue Sep 28 05:59:36 2021
Results reported at Tue Sep 28 05:59:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1576 331.892 -53.7719 647827201 648086401 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 :                                   670.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             303.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   848 sec.
    Turnaround time :                            850 sec.

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

