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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1015
RA = 331.892, Dec = -53.7719
tmin = 502416001, tmax = 502675201
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='193984', job_status='RUN', time_executed='2021-09-28 05:37:24.267242', time_epoch_executed='1632832644.27' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1015'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/193984

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/193984/ft1_4FGL_J2207.5-5346_daily_bin1015.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/193984/ft2_4FGL_J2207.5-5346_daily_bin1015.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/193984/ft1_4FGL_J2207.5-5346_daily_bin1015.fits outfile=/scratch/kocevski/193984/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1015.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=502416001.0 tmax=502675201.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.59
user 3.33
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/193984/ft1_filtered_4FGL_J2207.5-5346_daily_bin1015.fits" evtable="EVENTS" scfile=/scratch/kocevski/193984/ft2_4FGL_J2207.5-5346_daily_bin1015.fits sctable="SC_DATA" outfile=/scratch/kocevski/193984/ltcube_502416001_502675201_4FGL_J2207.5-5346_daily_bin1015.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/193984/ft2_4FGL_J2207.5-5346_daily_bin1015.fits
.....................!
real 12.79
user 12.36
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/193984/ft1_filtered_4FGL_J2207.5-5346_daily_bin1015.fits evtable="EVENTS" scfile=/scratch/kocevski/193984/ft2_4FGL_J2207.5-5346_daily_bin1015.fits sctable="SC_DATA" expcube=/scratch/kocevski/193984/ltcube_502416001_502675201_4FGL_J2207.5-5346_daily_bin1015.fits outfile=/scratch/kocevski/193984/expmap_502416001_502675201_4FGL_J2207.5-5346_daily_bin1015.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/193984/ltcube_502416001_502675201_4FGL_J2207.5-5346_daily_bin1015.fits
.....................!
real 190.48
user 185.86
sys 4.26

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/193984/ft1_filtered_4FGL_J2207.5-5346_daily_bin1015.fits scfile=/scratch/kocevski/193984/ft2_4FGL_J2207.5-5346_daily_bin1015.fits outfile=/scratch/kocevski/193984/cmap_502416001_502675201_4FGL_J2207.5-5346_daily_bin1015.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.40
sys 0.13

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/193984/ft1_filtered_4FGL_J2207.5-5346_daily_bin1015.fits evtable="EVENTS" scfile=/scratch/kocevski/193984/ft2_4FGL_J2207.5-5346_daily_bin1015.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/193984/Model_4FGL_J2207.5-5346_daily_bin1015.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/193984/ft1_filtered_4FGL_J2207.5-5346_daily_bin1015.fits.....................!
real 57.18
user 55.79
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   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 '    35.374       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.0151       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.7363       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.1143       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.0179       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    7.8429       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .82903       1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.654       1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.3662       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .86599       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0162       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=   8013.165     FROM MIGRAD    STATUS=CONVERGED    491 CALLS     2425 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .85018       -.18874E-07** at limit **
   2  Prefactor     .10000E-03    4.8936        .42287E-07** at limit **
   3  Prefactor     .10000E-03    15.841       -.68388E-06** at limit **
   4  Prefactor     35.370        74.135        .14801E-05   -.42380E-06
   5  Prefactor     .10000E-03    1.9730        .32019E-07** at limit **
   6  Prefactor     3.0139        22.621        .52459E-05    .59008E-04
   7  Prefactor     .10000E-03    2.0642       -.68620E-07** at limit **
   8  norm          1.7363        .85268        .31886E-07   -.24542E-03
   9  Prefactor     .10000E-03    20.610        .78699E-06** at limit **
  10  Prefactor     2.1117        5.5144        .51463E-05   -.53663E-03
  11  Prefactor     1.0181        2.5180       -.12661E-07   -.14539E-03
  12  Prefactor     .10000E-03    60.225        .94131E-06** at limit **
  13  norm          7.8425        6.1177       -.49226E-07   -.10025E-03
  14  Prefactor     .82963        2.0527        .32094E-06    .47094E-04
  15  Prefactor     10.655        4.9656        .10521E-06   -.38152E-03
  16  Prefactor     7.3690        15.400        .45499E-06    .13256E-04
  17  Prefactor     .10000E-03    6.4110        .66109E-07** at limit **
  18  Prefactor     .10000E-03    34.249       -.12591E-05** at limit **
  19  Prefactor     .10000E-03    11.937        .18013E-06** at limit **
  20  Prefactor     .10000E-03    3.0434        .21270E-07** at limit **
  21  Normalizat    .86587        .15540       -.23150E-05   -.64888E-03
  22  Prefactor     1.0163        .12013        .10071E-06   -.71117E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 35.3696
  Prefactor  = 0.0001
  Prefactor  = 3.01387
  Prefactor  = 0.0001
  norm       = 1.73626
  Prefactor  = 0.0001
  Prefactor  = 2.1117
  Prefactor  = 1.01811
  Prefactor  = 0.0001
  norm       = 7.84253
  Prefactor  = 0.829635
  Prefactor  = 10.6545
  Prefactor  = 7.36901
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.865865
  Prefactor  = 1.01629
 **********
 **   18 **HESSE 
 **********

 FCN=   8013.165     FROM HESSE     STATUS=OK           340 CALLS     2765 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.3914        .16045E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.9011        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    15.853        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     35.370        74.130        .67380E-04   -1.4518    
   5  Prefactor     .10000E-03    1.9842        .12278E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.0139        22.780        .11687E-02   -1.5361    
   7  Prefactor     .10000E-03    4.4895        .24714E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.7363        .85096        .55837E-04   -1.5444    
   9  Prefactor     .10000E-03    20.664        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.1117        5.5212        .14185E-02   -1.5417    
  11  Prefactor     1.0181        2.4548        .21166E-03   -1.5506    
  12  Prefactor     .10000E-03    60.327        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          7.8425        6.1126        .14318E-03   -1.5148    
  14  Prefactor     .82963        2.0344        .19186E-03   -1.5526    
  15  Prefactor     10.655        4.9598        .61375E-03   -1.5055    
  16  Prefactor     7.3690        15.400        .14778E-03   -1.5165    
  17  Prefactor     .10000E-03    6.5357        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    34.262        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    11.951        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.0463        .15251E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .86587        .17831        .26443E-03   -.97670    
  22  Prefactor     1.0163        .13938        .19718E-03   -.92188    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.55769e-10
Minuit parameter uncertainties:
  1  2.00004e-08
  2  6.66354e-06
  3  2.1854e-05
  4  74.3237
  5  4.84696e-06
  6  16.5803
  7  8.88133e-06
  8  0.850969
  9  6.62396e-05
  10  5.52254
  11  2.45501
  12  5.57283e-05
  13  6.11308
  14  2.0346
  15  4.96003
  16  15.4081
  17  1.54613e-05
  18  8.61252e-05
  19  1.31808e-05
  20  3.26376e-06
  21  0.178432
  22  0.139425
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.018e+00  2.455e+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.016e+00  1.394e-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.659e-01  1.784e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/193984/likelihoodResults_502416001_502675201_4FGL_J2207.5-5346_daily_bin1015.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) = 8013.14400273
delta logL = 0.0210092982852

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8013.14066559
delta logL = 0.0243464403866

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2361       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1645       1.0000          .0000       10.000    
     3 'Normalizat'    .86834       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0147       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8013.141     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      252 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2354        2.7729        .21605E-03   -.14118E-03
   2  Index         2.1645        1.1292        .12459E-01   -.19547E-04
   3  Normalizat    .86835        .17118        .26408E-03   -.18124E-04
   4  Prefactor     1.0147        .13778        .19731E-03   -.39987E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.23538
  Index      = 2.16454
  Normalizat = 0.868351
  Prefactor  = 1.01472
 **********
 **   18 **HESSE 
 **********

 FCN=   8013.141     FROM HESSE     STATUS=OK            23 CALLS      275 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2354        2.7525        .86419E-05   -1.5486    
   2  Index         2.1645        1.1215        .49836E-03   -.60297    
   3  Normalizat    .86835        .17131        .10563E-04   -.97581    
   4  Prefactor     1.0147        .13788        .78925E-05   -.92241    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.81072e-11
Minuit parameter uncertainties:
  1  2.75283
  2  1.1358
  3  0.171422
  4  0.137933
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/193984': 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) = 8013.14066555
delta logL = 0.0243464858449

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.235e+00  2.753e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  2.165e+00  1.136e+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:  1.015e+00  1.379e-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.684e-01  1.714e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.21
Ra Dec: 331.892 -53.772

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/193984/cmap_HighResolution_502416001_502675201_4FGL_J2207.5-5346_daily_bin1015.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.30e-03', job_status='DONE', photon_flux_upper_limit='6.84e-08', time_completed='2021-09-28 05:49:35.166016', job_id='193984', GAL2='1.01', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1632833375.17', return_code2='0', ts='0.21', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='2.43e-02', ts2='0.26', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='1015' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:49:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 193984: <4FGL_J2207.5-5346_daily_bin1015> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1015 331.892 -53.7719 502416001 502675201 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 :                                   727.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             267.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   835 sec.
    Turnaround time :                            837 sec.

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

