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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1345
RA = 331.892, Dec = -53.7719
tmin = 587952001, tmax = 588211201
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='195546', job_status='RUN', time_executed='2021-09-28 05:43:03.974498', time_epoch_executed='1632832983.97' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1345'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/195546

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/195546/ft1_4FGL_J2207.5-5346_daily_bin1345.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/195546/ft2_4FGL_J2207.5-5346_daily_bin1345.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/195546/ft1_4FGL_J2207.5-5346_daily_bin1345.fits outfile=/scratch/kocevski/195546/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1345.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=587952001.0 tmax=588211201.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.44
user 3.22
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/195546/ft2_4FGL_J2207.5-5346_daily_bin1345.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/195546/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1345.fits evtable="EVENTS" outfile="/scratch/kocevski/195546/ft1_filtered_4FGL_J2207.5-5346_daily_bin1345.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/195546/ft1_filtered_4FGL_J2207.5-5346_daily_bin1345.fits" evtable="EVENTS" scfile=/scratch/kocevski/195546/ft2_4FGL_J2207.5-5346_daily_bin1345.fits sctable="SC_DATA" outfile=/scratch/kocevski/195546/ltcube_587952001_588211201_4FGL_J2207.5-5346_daily_bin1345.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/195546/ft2_4FGL_J2207.5-5346_daily_bin1345.fits
.....................!
real 11.73
user 11.35
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/195546/ft1_filtered_4FGL_J2207.5-5346_daily_bin1345.fits evtable="EVENTS" scfile=/scratch/kocevski/195546/ft2_4FGL_J2207.5-5346_daily_bin1345.fits sctable="SC_DATA" expcube=/scratch/kocevski/195546/ltcube_587952001_588211201_4FGL_J2207.5-5346_daily_bin1345.fits outfile=/scratch/kocevski/195546/expmap_587952001_588211201_4FGL_J2207.5-5346_daily_bin1345.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/195546/ltcube_587952001_588211201_4FGL_J2207.5-5346_daily_bin1345.fits
.....................!
real 191.07
user 186.30
sys 4.34

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/195546/ft1_filtered_4FGL_J2207.5-5346_daily_bin1345.fits scfile=/scratch/kocevski/195546/ft2_4FGL_J2207.5-5346_daily_bin1345.fits outfile=/scratch/kocevski/195546/cmap_587952001_588211201_4FGL_J2207.5-5346_daily_bin1345.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/195546/ft1_filtered_4FGL_J2207.5-5346_daily_bin1345.fits scfile=/scratch/kocevski/195546/ft2_4FGL_J2207.5-5346_daily_bin1345.fits outfile=/scratch/kocevski/195546/cmap_HighResolution_587952001_588211201_4FGL_J2207.5-5346_daily_bin1345.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/195546/ft1_filtered_4FGL_J2207.5-5346_daily_bin1345.fits evtable="EVENTS" scfile=/scratch/kocevski/195546/ft2_4FGL_J2207.5-5346_daily_bin1345.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/195546/Model_4FGL_J2207.5-5346_daily_bin1345.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/195546/ft1_filtered_4FGL_J2207.5-5346_daily_bin1345.fits.....................!
real 49.83
user 48.43
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.0292       1.0000         .10000E-03   10000.    
     2 'Prefactor '    41.669       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    67.643       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.6023       1.0000         .10000E-03   10000.    
     6 'Prefactor '    40.635       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.7822       1.0000         .10000E-03   10000.    
     8 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    34.133       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.0496       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.8746       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    15.251       1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.5094       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3095       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .72048       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=   6446.493     FROM MIGRAD    STATUS=CONVERGED    451 CALLS     2322 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.0294        3.8883        .22210E-06   -.28570E-04
   2  Prefactor     41.663        28.156       -.54182E-05    .20542E-04
   3  Prefactor     .10000E-03    19.012       -.27467E-05** at limit **
   4  Prefactor     67.609        91.769       -.39888E-04    .14919E-04
   5  Prefactor     7.6024        9.6343        .40545E-07   -.48852E-04
   6  Prefactor     40.631        27.850       -.36079E-05    .36496E-04
   7  Prefactor     6.7828        5.5662       -.35565E-06   -.11703E-03
   8  norm          .10000E-03    .26835       -.30250E-07** at limit **
   9  Prefactor     34.093        33.924       -.43536E-04    .20428E-04
  10  Prefactor     .10000E-03    3.0585        .24594E-06** at limit **
  11  Prefactor     5.0492        3.6901       -.18734E-05   -.10567E-03
  12  Prefactor     .10000E-03    49.556        .10060E-04** at limit **
  13  norm          .10000E-03    2.8758       -.29104E-07** at limit **
  14  Prefactor     1.8742        3.8819       -.15252E-05   -.82237E-03
  15  Prefactor     .10000E-03    2.4385       -.19068E-06** at limit **
  16  Prefactor     15.259        31.442        .18470E-04    .79106E-04
  17  Prefactor     5.4909        15.099       -.84783E-05   -.19118E-03
  18  Prefactor     .10000E-03    50.675       -.27277E-05** at limit **
  19  Prefactor     .10000E-03    17.293        .22847E-05** at limit **
  20  Prefactor     .10000E-03    4.8575        .19909E-06** at limit **
  21  Normalizat    1.3095        .19215        .41697E-05   -.11760E-04
  22  Prefactor     .72049        .14002        .36635E-05    .13553E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.02944
  Prefactor  = 41.6632
  Prefactor  = 0.0001
  Prefactor  = 67.6086
  Prefactor  = 7.60245
  Prefactor  = 40.631
  Prefactor  = 6.78275
  norm       = 0.0001
  Prefactor  = 34.0929
  Prefactor  = 0.0001
  Prefactor  = 5.04921
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.87422
  Prefactor  = 0.0001
  Prefactor  = 15.2589
  Prefactor  = 5.49085
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.3095
  Prefactor  = 0.720488
 **********
 **   18 **HESSE 
 **********

 FCN=   6446.493     FROM HESSE     STATUS=OK           344 CALLS     2666 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.0294        3.8883        .98785E-04   -1.5107    
   2  Prefactor     41.663        28.151        .62100E-04   -1.4416    
   3  Prefactor     .10000E-03    19.017        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     67.609        91.795        .48802E-04   -1.4062    
   5  Prefactor     7.6024        9.6300        .14545E-03   -1.5156    
   6  Prefactor     40.631        27.849        .62882E-04   -1.4432    
   7  Prefactor     6.7828        5.5604        .15407E-03   -1.5187    
   8  norm          .10000E-03    .27818        .81113E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     34.093        33.859        .68590E-04   -1.4540    
  10  Prefactor     .10000E-03    3.0720        .13711E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.0492        3.6926        .12642E-03   -1.5259    
  12  Prefactor     .10000E-03    49.597        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.8795        .13297E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.8742        3.8941        .21626E-03   -1.5434    
  15  Prefactor     .10000E-03    2.4539        .12238E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     15.259        31.252        .10256E-03   -1.4927    
  17  Prefactor     5.4909        14.884        .17118E-03   -1.5239    
  18  Prefactor     .10000E-03    50.691        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    17.310        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.8632        .17282E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.3095        .22518        .24430E-03   -.83283    
  22  Prefactor     .72049        .16246        .24383E-03   -1.0273    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05311e-09
Minuit parameter uncertainties:
  1  3.88842
  2  28.1598
  3  1.61548e-05
  4  91.988
  5  9.63193
  6  27.8581
  7  5.56079
  8  2.77608e-06
  9  33.8784
  10  5.30255e-05
  11  3.69273
  12  0.000128313
  13  6.51352e-06
  14  3.89464
  15  3.1956e-05
  16  31.2851
  17  14.8943
  18  8.0636e-05
  19  6.79747e-05
  20  1.91734e-05
  21  0.225346
  22  0.162566
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  5.049e+00  3.693e+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:  7.205e-01  1.626e-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.309e+00  2.253e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.73
Ra Dec: 331.892 -53.772
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 4.63e-08 +/- 3.38e-08
Energy Flux (Fixed Index): 1.45e-05 +/- 1.06e-05

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

Saving results to:
/scratch/kocevski/195546/likelihoodResults_587952001_588211201_4FGL_J2207.5-5346_daily_bin1345.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) = 6446.3251272
delta logL = 0.167674269601

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6446.32472957
delta logL = 0.168071900958

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.3029       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9930       1.0000          .0000       10.000    
     3 'Normalizat'    1.3240       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71325       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=   6446.325     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      266 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.3063        176.40        .39971E-02    .96158E-04
   2  Index         1.9936        5.0362        .18905       -.33184E-04
   3  Normalizat    1.3239        .19049        .54993E-01   -.35794E-04
   4  Prefactor     .71325        .12989        .42577E-01   -.20248E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.30626
  Index      = 1.9936
  Normalizat = 1.32392
  Prefactor  = 0.713255
 **********
 **   18 **HESSE 
 **********

 FCN=   6446.325     FROM HESSE     STATUS=OK            33 CALLS      299 TOTAL
                     EDM=   .67E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.3063        4.6184        .14252E-03   -1.5206    
   2  Index         1.9936        .65588        .99420E-02   -.64510    
   3  Normalizat    1.3239        .20801        .24317E-03   -.82855    
   4  Prefactor     .71325        .15852        .24489E-03   -1.0301    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.7361e-12
Minuit parameter uncertainties:
  1  4.61867
  2  0.658858
  3  0.208144
  4  0.158616
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/195546': 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) = 6446.32472889
delta logL = 0.168072572099

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  6.306e+00  4.619e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  1.994e+00  6.589e-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:  7.133e-01  1.586e-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.324e+00  2.081e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.06
Ra Dec: 331.892 -53.772
Photon Index (Free Index): 1.99 +/- 0.66
Photon Flux (Free Index): 3.44e-08 +/- 3.29e-08
Energy Flux (Free Index): 2.42e-05 +/- 3.03e-05

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/195546/cmap_HighResolution_587952001_588211201_4FGL_J2207.5-5346_daily_bin1345.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.49e-03', comment='SUCCESS', photon_flux='4.63e-08', energy_flux2='2.42e-05', photon_flux_error='3.38e-08', dlogl='1.68e-01', energy_flux='1.45e-05', photon_flux2='3.44e-08', job_status='DONE', time_completed='2021-09-28 05:54:14.033381', photon_index_error2='0.66', photon_index2='1.99', ts='3.73', fit_tolerance='1e-08', GAL='0.72', photon_index_error='0.00', photon_flux_upper_limit='1.23e-07', energy_flux_error2='3.03e-05', EG='1.31', time_epoch_completed='1632833654.03', return_code='0', job_id='195546', GAL2='0.71', EG2='1.32', return_code2='0', energy_flux_error='1.06e-05', photon_flux_error2='3.29e-08', ts2='4.06', photon_index='2.44' WHERE bin_id='1345' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:54:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 195546: <4FGL_J2207.5-5346_daily_bin1345> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin1345> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 05:40:49 2021
Job was executed on host(s) <bullet0233>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:40:51 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:51 2021
Terminated at Tue Sep 28 05:54:14 2021
Results reported at Tue Sep 28 05:54:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1345 331.892 -53.7719 587952001 588211201 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 :                                   643.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             260.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   803 sec.
    Turnaround time :                            805 sec.

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

