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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1627
RA = 331.892, Dec = -53.7719
tmin = 661046401, tmax = 661305601
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='250958', job_status='RUN', time_executed='2021-12-16 00:36:28.872538', time_epoch_executed='1639643788.87' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1627'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/250958

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/250958/ft1_4FGL_J2207.5-5346_daily_bin1627.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/250958/ft2_4FGL_J2207.5-5346_daily_bin1627.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/250958/ft1_4FGL_J2207.5-5346_daily_bin1627.fits outfile=/scratch/kocevski/250958/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1627.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=661046401.0 tmax=661305601.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.56
user 3.34
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/250958/ft2_4FGL_J2207.5-5346_daily_bin1627.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/250958/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1627.fits evtable="EVENTS" outfile="/scratch/kocevski/250958/ft1_filtered_4FGL_J2207.5-5346_daily_bin1627.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/250958/ft1_filtered_4FGL_J2207.5-5346_daily_bin1627.fits" evtable="EVENTS" scfile=/scratch/kocevski/250958/ft2_4FGL_J2207.5-5346_daily_bin1627.fits sctable="SC_DATA" outfile=/scratch/kocevski/250958/ltcube_661046401_661305601_4FGL_J2207.5-5346_daily_bin1627.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/250958/ft2_4FGL_J2207.5-5346_daily_bin1627.fits
.....................!
real 12.33
user 11.98
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/250958/ft1_filtered_4FGL_J2207.5-5346_daily_bin1627.fits evtable="EVENTS" scfile=/scratch/kocevski/250958/ft2_4FGL_J2207.5-5346_daily_bin1627.fits sctable="SC_DATA" expcube=/scratch/kocevski/250958/ltcube_661046401_661305601_4FGL_J2207.5-5346_daily_bin1627.fits outfile=/scratch/kocevski/250958/expmap_661046401_661305601_4FGL_J2207.5-5346_daily_bin1627.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/250958/ltcube_661046401_661305601_4FGL_J2207.5-5346_daily_bin1627.fits
.....................!
real 192.92
user 186.69
sys 5.83

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/250958/ft1_filtered_4FGL_J2207.5-5346_daily_bin1627.fits scfile=/scratch/kocevski/250958/ft2_4FGL_J2207.5-5346_daily_bin1627.fits outfile=/scratch/kocevski/250958/cmap_661046401_661305601_4FGL_J2207.5-5346_daily_bin1627.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/250958/ft1_filtered_4FGL_J2207.5-5346_daily_bin1627.fits scfile=/scratch/kocevski/250958/ft2_4FGL_J2207.5-5346_daily_bin1627.fits outfile=/scratch/kocevski/250958/cmap_HighResolution_661046401_661305601_4FGL_J2207.5-5346_daily_bin1627.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.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/250958/ft1_filtered_4FGL_J2207.5-5346_daily_bin1627.fits evtable="EVENTS" scfile=/scratch/kocevski/250958/ft2_4FGL_J2207.5-5346_daily_bin1627.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/250958/Model_4FGL_J2207.5-5346_daily_bin1627.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/250958/ft1_filtered_4FGL_J2207.5-5346_daily_bin1627.fits.....................!
real 45.16
user 43.80
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1416       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.8573       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .14009       1.0000         .10000E-03   10000.    
     6 'Prefactor '    38.833       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.9631       1.0000         .10000E-03   10000.    
     8 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10336E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    9.3835       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.7809       1.0000         .10000E-03   10000.    
    16 'Prefactor '    23.636       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    52.888       1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.7353       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .63031       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1122       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=   5832.942     FROM MIGRAD    STATUS=CONVERGED    500 CALLS     2447 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1408        3.4178       -.17171E-06   -.39939E-03
   2  Prefactor     5.8580        17.726        .15009E-05   -.25780E-04
   3  Prefactor     .10000E-03    88.359       -.10766E-04** at limit **
   4  Prefactor     .10000E-03    36.812       -.24559E-06** at limit **
   5  Prefactor     .10820        7.1320        .18493E-05   -.84868E-03
   6  Prefactor     38.825        31.214        .29802E-06    .15252E-04
   7  Prefactor     2.9638        3.5658       -.26701E-06   -.50926E-03
   8  norm          .10000E-03    .28450       -.30867E-08** at limit **
   9  Prefactor     .10000E-03    8.7037        .96167E-08** at limit **
  10  Prefactor     .10000E-03    5.9384        .25907E-07** at limit **
  11  Prefactor     .10000E-03    2.4550        .32279E-07** at limit **
  12  Prefactor     .10000E-03    242.08       -.12437E-04** at limit **
  13  norm          9.3828        6.9651       -.30249E-05   -.30185E-03
  14  Prefactor     .10000E-03    1.7765        .41511E-08** at limit **
  15  Prefactor     3.7805        5.5361       -.34663E-06   -.44644E-03
  16  Prefactor     23.632        22.812        .21844E-05    .47144E-04
  17  Prefactor     .10000E-03    13.445       -.89913E-07** at limit **
  18  Prefactor     .10000E-03    26.337        .38017E-07** at limit **
  19  Prefactor     52.878        44.162       -.41344E-05   -.60784E-04
  20  Prefactor     8.7340        10.619        .26902E-07   -.25038E-04
  21  Normalizat    .63039        .17960       -.13245E-07   -.12730E-03
  22  Prefactor     1.1122        .14162        .11289E-06   -.16057E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.14076
  Prefactor  = 5.85797
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.108202
  Prefactor  = 38.8253
  Prefactor  = 2.96382
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 9.3828
  Prefactor  = 0.0001
  Prefactor  = 3.78052
  Prefactor  = 23.6322
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 52.8778
  Prefactor  = 8.73398
  Normalizat = 0.63039
  Prefactor  = 1.11223
 **********
 **   18 **HESSE 
 **********

 FCN=   5832.942     FROM HESSE     STATUS=OK           350 CALLS     2797 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1408        3.4280        .12230E-03   -1.5301    
   2  Prefactor     5.8580        17.702        .16594E-03   -1.5224    
   3  Prefactor     .10000E-03    88.704        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    36.831        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10820        9.0256        .55585E-01   -1.5642    
   6  Prefactor     38.825        31.210        .64319E-04   -1.4461    
   7  Prefactor     2.9638        3.5643        .15182E-03   -1.5364    
   8  norm          .10000E-03    .39690        .79147E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    8.7072        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.0402        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.5103        .11673E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    243.12        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          9.3828        6.9010        .13083E-03   -1.5095    
  14  Prefactor     .10000E-03    1.8175        .99360E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.7805        5.5723        .20062E-03   -1.5319    
  16  Prefactor     23.632        22.863        .82393E-04   -1.4735    
  17  Prefactor     .10000E-03    13.822        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    26.339        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     52.878        44.009        .55151E-04   -1.4252    
  20  Prefactor     8.7340        10.619        .13562E-03   -1.5117    
  21  Normalizat    .63039        .20664        .29675E-03   -1.0671    
  22  Prefactor     1.1122        .16414        .18621E-03   -.89077    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.45662e-09
Minuit parameter uncertainties:
  1  3.42819
  2  17.7179
  3  0.000530886
  4  9.72154e-06
  5  1.97585
  6  31.2235
  7  3.56457
  8  2.92332e-07
  9  2.74265e-07
  10  4.86543e-06
  11  3.56046e-06
  12  0.000840921
  13  6.90162
  14  6.69268e-07
  15  5.5731
  16  22.8713
  17  2.35452e-05
  18  1.21382e-07
  19  44.0356
  20  10.6214
  21  0.206891
  22  0.164215
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.000e-04  3.560e-06  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.112e+00  1.642e-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.304e-01  2.069e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/250958/likelihoodResults_661046401_661305601_4FGL_J2207.5-5346_daily_bin1627.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5832.94391058
delta logL = -0.0018994398697

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5832.94201158
delta logL = -4.33230525232e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10263E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4596       1.0000          .0000       10.000    
     3 'Normalizat'    .63026       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1124       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5832.942     FROM MIGRAD    STATUS=FAILED        91 CALLS      244 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    3.0652        .23876E-03** at limit **
   2  Index         2.4847        6.2409        .50000       -.88995E-04
   3  Normalizat    .63039        .19219        .29675E-03   -.14941E-04
   4  Prefactor     1.1122        .15774        .18621E-03   -.54618E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5832.942     FROM SIMPLEX   STATUS=UNCHANGED    121 CALLS      365 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    3.0652        .22232E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4847        6.2409        .45593E-03   -.52713    
   3  Normalizat    .63039        .19219        .51262E-04   -1.0671    
   4  Prefactor     1.1122        .15774        .34895E-04   -.89077    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5832.479     FROM MIGRAD    STATUS=CONVERGED    170 CALLS      535 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .37817E-02    .83001E-01    .47752E-03    .55134E-02
   2  Index         6.6509        3.2135        .20000        .47438E-04
   3  Normalizat    .57626        .38197E-01    .11870E-03   -.12173E-03
   4  Prefactor     1.1384        .31276E-01    .37242E-04   -.24769E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00378168
  Index      = 6.65094
  Normalizat = 0.576257
  Prefactor  = 1.13836
 **********
 **   18 **HESSE 
 **********

 FCN=   5832.479     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      564 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .37817E-02    .25363        .52431E-05   -1.5696    
   2  Index         6.6509        8.3195        .68144E-02    .33650    
   3  Normalizat    .57626        .16123        .23740E-04   -1.0900    
   4  Prefactor     1.1384        .12971        .74484E-05   -.88250    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.1078e-10
Minuit parameter uncertainties:
  1  0.0611166
  2  8.67608
  3  0.161364
  4  0.129745
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/250958': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5832.47883446
delta logL = 0.463176689329

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  3.782e-03  6.112e-02  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  6.651e+00  8.676e+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.138e+00  1.297e-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:  5.763e-01  1.614e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/250958/cmap_HighResolution_661046401_661305601_4FGL_J2207.5-5346_daily_bin1627.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.33e-03', job_status='DONE', photon_flux_upper_limit='6.88e-08', time_completed='2021-12-16 00:47:02.702519', job_id='250958', GAL2='1.14', fit_tolerance='1e-08', EG2='0.58', EG='0.63', time_epoch_completed='1639644422.7', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='4.63e-01', ts2='1.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='1627' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec 16 00:47:02 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0297>
Subject: Job 250958: <4FGL_J2207.5-5346_daily_bin1627> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin1627> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Thu Dec 16 00:35:41 2021
Job was executed on host(s) <bullet0297>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec 16 00:35:43 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec 16 00:35:43 2021
Terminated at Thu Dec 16 00:47:03 2021
Results reported at Thu Dec 16 00:47:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1627 331.892 -53.7719 661046401 661305601 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 :                                   636.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             363.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   679 sec.
    Turnaround time :                            682 sec.

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

