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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1214
RA = 331.892, Dec = -53.7719
tmin = 553996801, tmax = 554256001
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='195331', job_status='RUN', time_executed='2021-09-28 05:42:28.251504', time_epoch_executed='1632832948.25' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1214'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/195331

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/195331/ft1_4FGL_J2207.5-5346_daily_bin1214.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/195331/ft2_4FGL_J2207.5-5346_daily_bin1214.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/195331/ft1_4FGL_J2207.5-5346_daily_bin1214.fits outfile=/scratch/kocevski/195331/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1214.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=553996801.0 tmax=554256001.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 2.61
user 2.41
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/195331/ft1_filtered_4FGL_J2207.5-5346_daily_bin1214.fits" evtable="EVENTS" scfile=/scratch/kocevski/195331/ft2_4FGL_J2207.5-5346_daily_bin1214.fits sctable="SC_DATA" outfile=/scratch/kocevski/195331/ltcube_553996801_554256001_4FGL_J2207.5-5346_daily_bin1214.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/195331/ft2_4FGL_J2207.5-5346_daily_bin1214.fits
.....................!
real 12.23
user 11.89
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/195331/ft1_filtered_4FGL_J2207.5-5346_daily_bin1214.fits evtable="EVENTS" scfile=/scratch/kocevski/195331/ft2_4FGL_J2207.5-5346_daily_bin1214.fits sctable="SC_DATA" expcube=/scratch/kocevski/195331/ltcube_553996801_554256001_4FGL_J2207.5-5346_daily_bin1214.fits outfile=/scratch/kocevski/195331/expmap_553996801_554256001_4FGL_J2207.5-5346_daily_bin1214.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/195331/ltcube_553996801_554256001_4FGL_J2207.5-5346_daily_bin1214.fits
.....................!
real 191.01
user 185.36
sys 5.33

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/195331/ft1_filtered_4FGL_J2207.5-5346_daily_bin1214.fits scfile=/scratch/kocevski/195331/ft2_4FGL_J2207.5-5346_daily_bin1214.fits outfile=/scratch/kocevski/195331/cmap_553996801_554256001_4FGL_J2207.5-5346_daily_bin1214.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/195331/ft1_filtered_4FGL_J2207.5-5346_daily_bin1214.fits scfile=/scratch/kocevski/195331/ft2_4FGL_J2207.5-5346_daily_bin1214.fits outfile=/scratch/kocevski/195331/cmap_HighResolution_553996801_554256001_4FGL_J2207.5-5346_daily_bin1214.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.53
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/195331/ft1_filtered_4FGL_J2207.5-5346_daily_bin1214.fits evtable="EVENTS" scfile=/scratch/kocevski/195331/ft2_4FGL_J2207.5-5346_daily_bin1214.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/195331/Model_4FGL_J2207.5-5346_daily_bin1214.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/195331/ft1_filtered_4FGL_J2207.5-5346_daily_bin1214.fits......................!
real 21.87
user 20.64
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    23.727       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .12607E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10116E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    80.538       1.0000         .10000E-03   10000.    
     7 'Prefactor '    41.843       1.0000         .10000E-03   10000.    
     8 'norm      '    2.7533       1.0000         .10000E-03   10000.    
     9 'Prefactor '    57.839       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10579E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    19.217       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11260E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.937       1.0000         .10000E-03   10000.    
    15 'Prefactor '    26.848       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    58.811       1.0000         .10000E-03   10000.    
    18 'Prefactor '    16.337       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .71425       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1502       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=   1485.388     FROM MIGRAD    STATUS=CONVERGED    470 CALLS     2730 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.3010        .37227E-06** at limit **
   2  Prefactor     .10000E-03    128.19       -.18478E-04** at limit **
   3  Prefactor     23.711        902.92       -.28968E-04    .73742E-05
   4  Prefactor     .10000E-03    379.75       -.17553E-03** at limit **
   5  Prefactor     .10000E-03    46.782       -.11697E-04** at limit **
   6  Prefactor     80.443        135.21       -.89070E-04    .10642E-04
   7  Prefactor     41.844        31.886        .89165E-05    .78378E-05
   8  norm          2.7512        2.8101       -.58000E-06    .28935E-03
   9  Prefactor     57.779        167.24       -.71981E-04   -.14633E-04
  10  Prefactor     .10000E-03    30.879        .95212E-05** at limit **
  11  Prefactor     19.217        16.082        .70823E-06   -.46287E-04
  12  Prefactor     .10000E-03    233.14        .12799E-03** at limit **
  13  norm          .10000E-03    10.869       -.28592E-06** at limit **
  14  Prefactor     10.938        16.343        .21377E-07   -.21719E-04
  15  Prefactor     26.848        24.409       -.15997E-05   -.18468E-03
  16  Prefactor     .10000E-03    39.047        .25050E-04** at limit **
  17  Prefactor     58.833        44.093        .33750E-04    .13062E-03
  18  Prefactor     16.012        690.50       -.75936E-03    .30211E-04
  19  Prefactor     .10000E-03    33.854       -.22757E-04** at limit **
  20  Prefactor     .10000E-03    16.325        .66252E-07** at limit **
  21  Normalizat    .71412        .45935        .47039E-05    .10345E-03
  22  Prefactor     1.1503        .35407        .99747E-05   -.54077E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.7108
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 80.4432
  Prefactor  = 41.8442
  norm       = 2.75122
  Prefactor  = 57.7789
  Prefactor  = 0.000100002
  Prefactor  = 19.2174
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10.9377
  Prefactor  = 26.8481
  Prefactor  = 0.0001
  Prefactor  = 58.8334
  Prefactor  = 16.0117
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.714124
  Prefactor  = 1.15028
 **********
 **   18 **HESSE 
 **********

 FCN=   1485.388     FROM HESSE     STATUS=OK           336 CALLS     3066 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.3016        .10172E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    128.21        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     23.711        917.20        .82233E-04   -1.4734    
   4  Prefactor     .10000E-03    379.93        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    46.802        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     80.443        135.31        .22377E-03   -1.3912    
   7  Prefactor     41.844        31.877        .61971E-04   -1.4413    
   8  norm          2.7512        2.8042        .60546E-04   -1.5376    
   9  Prefactor     57.779        167.34        .52750E-04   -1.4186    
  10  Prefactor     .10000E-03    30.917        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     19.217        16.079        .91365E-04   -1.4831    
  12  Prefactor     .10000E-03    233.27        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    10.873        .12412E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.938        16.334        .12115E-03   -1.5046    
  15  Prefactor     26.848        24.468        .38657E-03   -1.4671    
  16  Prefactor     .10000E-03    39.046        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     58.833        44.099        .52315E-04   -1.4172    
  18  Prefactor     16.012        699.95        .99091E-04   -1.4907    
  19  Prefactor     .10000E-03    33.855        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    16.332        .15213E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .71412        .52736        .36314E-03   -1.0334    
  22  Prefactor     1.1503        .41179        .23414E-03   -.87875    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.96219e-10
Minuit parameter uncertainties:
  1  4.89498e-05
  2  0.000432067
  3  300.027
  4  0.000492373
  5  4.98847e-05
  6  135.831
  7  31.8904
  8  2.80434
  9  168.728
  10  0.000435369
  11  16.0822
  12  0.000248283
  13  3.48805e-05
  14  16.3402
  15  24.4776
  16  0.000151355
  17  44.1238
  18  214.462
  19  2.51215e-05
  20  2.83681e-05
  21  0.531172
  22  0.412946
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.922e+01  1.608e+01  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.150e+00  4.129e-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.141e-01  5.312e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.33
Ra Dec: 331.892 -53.772
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 1.76e-07 +/- 1.47e-07
Energy Flux (Fixed Index): 5.52e-05 +/- 4.62e-05

TS (Fixed Index): 3.33
Ra Dec: 331.892 -53.772
Photon Flux Upper Limit: 5.20e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.02e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/195331/likelihoodResults_553996801_554256001_4FGL_J2207.5-5346_daily_bin1214.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) = 1485.38079866
delta logL = 0.00739778704838

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1485.37854358
delta logL = 0.0096528686845

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.444       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5668       1.0000          .0000       10.000    
     3 'Normalizat'    .69362       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1595       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=   1485.379     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      270 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.452        16.732        .93260E-04    .93560E-05
   2  Index         2.5660        .95670        .56106E-02    .35475E-05
   3  Normalizat    .69423        .51633        .36766E-03    .38242E-04
   4  Prefactor     1.1589        .40171        .23330E-03   -.38998E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.452
  Index      = 2.56601
  Normalizat = 0.694232
  Prefactor  = 1.15888
 **********
 **   18 **HESSE 
 **********

 FCN=   1485.379     FROM HESSE     STATUS=OK            25 CALLS      295 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.452        16.443        .37304E-05   -1.4849    
   2  Index         2.5660        .93818        .22442E-03   -.50842    
   3  Normalizat    .69423        .51578        .14706E-04   -1.0412    
   4  Prefactor     1.1589        .40162        .46661E-04   -.87606    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.52011e-10
Minuit parameter uncertainties:
  1  16.4473
  2  0.94555
  3  0.519442
  4  0.40268
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/195331': 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) = 1485.37854231
delta logL = 0.00965413585845

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.845e+01  1.645e+01  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  2.566e+00  9.456e-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.159e+00  4.027e-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:  6.942e-01  5.194e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.36
Ra Dec: 331.892 -53.772
Photon Index (Free Index): 2.57 +/- 0.95
Photon Flux (Free Index): 2.02e-07 +/- 2.45e-07
Energy Flux (Free Index): 5.46e-05 +/- 4.40e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/195331/cmap_HighResolution_553996801_554256001_4FGL_J2207.5-5346_daily_bin1214.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.02e-02', comment='SUCCESS', photon_flux='1.76e-07', energy_flux2='5.46e-05', photon_flux_error='1.47e-07', dlogl='9.65e-03', energy_flux='5.52e-05', photon_flux2='2.02e-07', job_status='DONE', time_completed='2021-09-28 05:49:25.629849', photon_index_error2='0.95', photon_index2='2.57', ts='3.33', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', photon_flux_upper_limit='5.20e-07', energy_flux_error2='4.40e-05', EG='0.71', time_epoch_completed='1632833365.63', return_code='0', job_id='195331', GAL2='1.16', EG2='0.69', return_code2='0', energy_flux_error='4.62e-05', photon_flux_error2='2.45e-07', ts2='3.36', photon_index='2.44' WHERE bin_id='1214' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:49:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0192>
Subject: Job 195331: <4FGL_J2207.5-5346_daily_bin1214> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1214 331.892 -53.7719 553996801 554256001 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 :                                   392.35 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             251.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   532 sec.
    Turnaround time :                            535 sec.

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

