/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 48 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 = 7436
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1029
RA = 331.892, Dec = -53.7719
tmin = 506044801, tmax = 506304001
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='194016', job_status='RUN', time_executed='2021-09-28 05:36:47.620093', time_epoch_executed='1632832607.62' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1029'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/194016

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/194016/ft1_4FGL_J2207.5-5346_daily_bin1029.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/194016/ft2_4FGL_J2207.5-5346_daily_bin1029.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/194016/ft1_4FGL_J2207.5-5346_daily_bin1029.fits outfile=/scratch/kocevski/194016/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1029.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=506044801.0 tmax=506304001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.30
user 4.08
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/194016/ft1_filtered_4FGL_J2207.5-5346_daily_bin1029.fits" evtable="EVENTS" scfile=/scratch/kocevski/194016/ft2_4FGL_J2207.5-5346_daily_bin1029.fits sctable="SC_DATA" outfile=/scratch/kocevski/194016/ltcube_506044801_506304001_4FGL_J2207.5-5346_daily_bin1029.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/194016/ft2_4FGL_J2207.5-5346_daily_bin1029.fits
.....................!
real 11.94
user 11.61
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/194016/ft1_filtered_4FGL_J2207.5-5346_daily_bin1029.fits evtable="EVENTS" scfile=/scratch/kocevski/194016/ft2_4FGL_J2207.5-5346_daily_bin1029.fits sctable="SC_DATA" expcube=/scratch/kocevski/194016/ltcube_506044801_506304001_4FGL_J2207.5-5346_daily_bin1029.fits outfile=/scratch/kocevski/194016/expmap_506044801_506304001_4FGL_J2207.5-5346_daily_bin1029.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/194016/ltcube_506044801_506304001_4FGL_J2207.5-5346_daily_bin1029.fits
.....................!
real 189.44
user 185.22
sys 3.90

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/194016/ft1_filtered_4FGL_J2207.5-5346_daily_bin1029.fits scfile=/scratch/kocevski/194016/ft2_4FGL_J2207.5-5346_daily_bin1029.fits outfile=/scratch/kocevski/194016/cmap_506044801_506304001_4FGL_J2207.5-5346_daily_bin1029.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.53
user 0.36
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/194016/ft1_filtered_4FGL_J2207.5-5346_daily_bin1029.fits evtable="EVENTS" scfile=/scratch/kocevski/194016/ft2_4FGL_J2207.5-5346_daily_bin1029.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/194016/Model_4FGL_J2207.5-5346_daily_bin1029.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/194016/ft1_filtered_4FGL_J2207.5-5346_daily_bin1029.fits.....................!
real 50.78
user 49.53
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.6882       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.9890       1.0000         .10000E-03   10000.    
     8 'norm      '    1.2932       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.0441       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    25.286       1.0000         .10000E-03   10000.    
    13 'norm      '    3.2345       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.6460       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.1252       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    10.235       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.4957       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1888       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .78468       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=   6501.895     FROM MIGRAD    STATUS=CONVERGED    454 CALLS     2307 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.6880        2.7653       -.76755E-07   -.17932E-03
   2  Prefactor     .10000E-03    3.8610       -.50405E-06** at limit **
   3  Prefactor     .10000E-03    23.414        .13088E-04** at limit **
   4  Prefactor     .10000E-03    22.028        .39656E-05** at limit **
   5  Prefactor     .10000E-03    3.6737        .45678E-06** at limit **
   6  Prefactor     .10000E-03    32.551       -.19238E-04** at limit **
   7  Prefactor     4.9894        4.2170       -.47172E-06   -.14692E-03
   8  norm          1.2932        .77237       -.48348E-07   -.36015E-03
   9  Prefactor     7.0406        73.847       -.98993E-05   -.15865E-05
  10  Prefactor     .10000E-03    4.9492        .51572E-06** at limit **
  11  Prefactor     .10000E-03    2.1060        .11524E-06** at limit **
  12  Prefactor     25.270        72.894       -.28277E-04    .20513E-05
  13  norm          3.2344        4.1312       -.25878E-06    .15032E-04
  14  Prefactor     4.6461        3.8834        .20039E-05   -.26129E-03
  15  Prefactor     5.1254        4.4565        .41770E-06   -.45649E-04
  16  Prefactor     .10000E-03    8.5144        .11881E-06** at limit **
  17  Prefactor     10.235        9.4217       -.16608E-06   -.57966E-04
  18  Prefactor     .10000E-03    28.023        .14002E-04** at limit **
  19  Prefactor     .10000E-03    20.311       -.13640E-04** at limit **
  20  Prefactor     1.4957        16.618       -.26323E-05   -.33088E-03
  21  Normalizat    1.1888        .17700        .72468E-06    .11913E-03
  22  Prefactor     .78466        .13305        .60079E-06    .12009E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.68801
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.98944
  norm       = 1.29324
  Prefactor  = 7.04063
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.2702
  norm       = 3.23438
  Prefactor  = 4.64607
  Prefactor  = 5.12539
  Prefactor  = 0.0001
  Prefactor  = 10.2353
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.49574
  Normalizat = 1.18884
  Prefactor  = 0.784659
 **********
 **   18 **HESSE 
 **********

 FCN=   6501.895     FROM HESSE     STATUS=OK           344 CALLS     2651 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.6880        2.7649        .99247E-04   -1.5275    
   2  Prefactor     .10000E-03    3.8619        .15474E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    23.418        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    22.029        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.6997        .15091E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    32.693        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.9894        4.2162        .14516E-03   -1.5261    
   8  norm          1.2932        .76212        .52887E-04   -1.5481    
   9  Prefactor     7.0406        74.023        .15115E-03   -1.5177    
  10  Prefactor     .10000E-03    5.0113        .17508E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.1689        .22840E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     25.270        72.857        .79663E-04   -1.4702    
  13  norm          3.2344        4.1259        .18068E-03   -1.5348    
  14  Prefactor     4.6461        3.8717        .13848E-03   -1.5277    
  15  Prefactor     5.1254        4.4634        .15253E-03   -1.5255    
  16  Prefactor     .10000E-03    8.5286        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     10.235        9.4360        .12525E-03   -1.5068    
  18  Prefactor     .10000E-03    27.995        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    20.318        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.4957        17.105        .35032E-03   -1.5463    
  21  Normalizat    1.1888        .21042        .23899E-03   -.86948    
  22  Prefactor     .78466        .15744        .22252E-03   -1.0030    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.75529e-10
Minuit parameter uncertainties:
  1  2.765
  2  4.59311e-07
  3  8.01454e-06
  4  5.29557e-06
  5  1.17774e-06
  6  9.02415e-05
  7  4.21645
  8  0.762131
  9  45.7307
  10  9.63487e-05
  11  1.43089e-05
  12  73.1147
  13  4.12622
  14  3.8719
  15  4.46367
  16  6.80442e-06
  17  9.43736
  18  4.82373e-07
  19  3.02948e-07
  20  10.1195
  21  0.210573
  22  0.157532
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.000e-04  1.431e-05  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.847e-01  1.575e-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.189e+00  2.106e-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.11e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.73e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/194016/likelihoodResults_506044801_506304001_4FGL_J2207.5-5346_daily_bin1029.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) = 6501.89762589
delta logL = -0.00219967324301

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6501.8954261
delta logL = 1.24646248878e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4179       1.0000          .0000       10.000    
     3 'Normalizat'    1.1889       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78467       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=   6501.895     FROM MIGRAD    STATUS=FAILED        91 CALLS      246 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10159E-03    27.177        .23119E-02** at limit **
   2  Index         2.3452        7.7837        .50000        .51653E-04
   3  Normalizat    1.1888        .15223E-01    .23899E-03   -.73971E-04
   4  Prefactor     .78466        .11827E-01    .22252E-03   -.36173E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6501.895     FROM SIMPLEX   STATUS=UNCHANGED    122 CALLS      368 TOTAL
                     EDM=   .15E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10159E-03    27.177        .30644E-03** at limit **
   2  Index         2.3452        7.7837        .63152E-03    .51653E-04
   3  Normalizat    1.1888        .15223E-01    .29470E-05   -.73971E-04
   4  Prefactor     .78466        .11827E-01    .30238E-05   -.36173E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6501.895     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      412 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    21.456        .46238E-02** at limit **
   2  Index         2.1199        7.0686        .50000       -.10579E-05
   3  Normalizat    1.1888        .13091E-01    .95596E-05    .43502E-03
   4  Prefactor     .78466        .10171E-01    .89007E-05    .49405E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.11995
  Normalizat = 1.18884
  Prefactor  = 0.78466
 **********
 **   18 **HESSE 
 **********

 FCN=   6501.895     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      439 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    105.85        .92476E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1199        6.7603        .50000       -.61384    
   3  Normalizat    1.1888        .30184E-01    .19119E-05   -.86948    
   4  Prefactor     .78466        .23454E-01    .17801E-05   -1.0030    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.2708e-08
Minuit parameter uncertainties:
  1  1.58308e-05
  2  447.429
  3  0.0301844
  4  0.0234539
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/194016': 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) = 6501.89542357
delta logL = 2.65411563305e-06

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.000e-04  1.583e-05  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  2.120e+00  4.474e+02  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.847e-01  2.345e-02  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.189e+00  3.018e-02  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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/194016/cmap_HighResolution_506044801_506304001_4FGL_J2207.5-5346_daily_bin1029.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.73e-03', job_status='DONE', photon_flux_upper_limit='6.11e-08', time_completed='2021-09-28 05:47:41.168051', job_id='194016', GAL2='0.78', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1632833261.17', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='2.65e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='1029' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:47:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0291>
Subject: Job 194016: <4FGL_J2207.5-5346_daily_bin1029> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1029 331.892 -53.7719 506044801 506304001 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 :                                   650.36 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             329.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   720 sec.
    Turnaround time :                            721 sec.

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

