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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1649
RA = 331.892, Dec = -53.7719
tmin = 666748801, tmax = 667008001
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='143323', job_status='RUN', time_executed='2022-02-20 00:51:07.354058', time_epoch_executed='1645347067.35' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1649'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/143323

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/143323/ft1_4FGL_J2207.5-5346_daily_bin1649.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/143323/ft2_4FGL_J2207.5-5346_daily_bin1649.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/143323/ft1_4FGL_J2207.5-5346_daily_bin1649.fits outfile=/scratch/kocevski/143323/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1649.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=666748801.0 tmax=667008001.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.68
user 2.93
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/143323/ft1_filtered_4FGL_J2207.5-5346_daily_bin1649.fits" evtable="EVENTS" scfile=/scratch/kocevski/143323/ft2_4FGL_J2207.5-5346_daily_bin1649.fits sctable="SC_DATA" outfile=/scratch/kocevski/143323/ltcube_666748801_667008001_4FGL_J2207.5-5346_daily_bin1649.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/143323/ft2_4FGL_J2207.5-5346_daily_bin1649.fits
.....................!
real 14.67
user 12.39
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/143323/ft1_filtered_4FGL_J2207.5-5346_daily_bin1649.fits evtable="EVENTS" scfile=/scratch/kocevski/143323/ft2_4FGL_J2207.5-5346_daily_bin1649.fits sctable="SC_DATA" expcube=/scratch/kocevski/143323/ltcube_666748801_667008001_4FGL_J2207.5-5346_daily_bin1649.fits outfile=/scratch/kocevski/143323/expmap_666748801_667008001_4FGL_J2207.5-5346_daily_bin1649.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/143323/ltcube_666748801_667008001_4FGL_J2207.5-5346_daily_bin1649.fits
.....................!
real 193.84
user 185.43
sys 4.95

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/143323/ft1_filtered_4FGL_J2207.5-5346_daily_bin1649.fits scfile=/scratch/kocevski/143323/ft2_4FGL_J2207.5-5346_daily_bin1649.fits outfile=/scratch/kocevski/143323/cmap_666748801_667008001_4FGL_J2207.5-5346_daily_bin1649.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 2.21
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/143323/ft1_filtered_4FGL_J2207.5-5346_daily_bin1649.fits scfile=/scratch/kocevski/143323/ft2_4FGL_J2207.5-5346_daily_bin1649.fits outfile=/scratch/kocevski/143323/cmap_HighResolution_666748801_667008001_4FGL_J2207.5-5346_daily_bin1649.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.79
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/143323/ft1_filtered_4FGL_J2207.5-5346_daily_bin1649.fits evtable="EVENTS" scfile=/scratch/kocevski/143323/ft2_4FGL_J2207.5-5346_daily_bin1649.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/143323/Model_4FGL_J2207.5-5346_daily_bin1649.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/143323/ft1_filtered_4FGL_J2207.5-5346_daily_bin1649.fits.......................!
real 28.37
user 22.53
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    54.374       1.0000         .10000E-03   10000.    
     3 'Prefactor '    54.164       1.0000         .10000E-03   10000.    
     4 'Prefactor '    299.33       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.6655       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .15581E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    61.246       1.0000         .10000E-03   10000.    
    15 'Prefactor '    63.918       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5557.4       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10228E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11270E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2470       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=   1723.791     FROM MIGRAD    STATUS=CONVERGED    475 CALLS     3196 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.1701        .83853E-08** at limit **
   2  Prefactor     54.373        35.882        .25597E-06    .26807E-03
   3  Prefactor     54.142        80.794       -.11392E-06    .92036E-04
   4  Prefactor     299.30        175.55        .91700E-06    .21650E-03
   5  Prefactor     .10000E-03    16.517        .42973E-07** at limit **
   6  Prefactor     .10000E-03    56.610       -.89384E-06** at limit **
   7  Prefactor     .10000E-03    11.340       -.10772E-05** at limit **
   8  norm          1.6652        1.2134        .58008E-07    .24182E-02
   9  Prefactor     .10000E-03    81.423       -.37909E-06** at limit **
  10  Prefactor     .10000E-03    25.866       -.13958E-05** at limit **
  11  Prefactor     .10000E-03    5.7781       -.81214E-06** at limit **
  12  Prefactor     .10000E-03    424.86       -.23449E-05** at limit **
  13  norm          .10000E-03    29.754       -.17844E-06** at limit **
  14  Prefactor     61.578        1671.4        .46343E-05    .21426E-04
  15  Prefactor     63.702        7750.4       -.32226E-05    .14342E-04
  16  Prefactor     5554.5        3047.7        .95561E-05    .29307E-04
  17  Prefactor     .10001E-03    396.99       -.18943E-05** at limit **
  18  Prefactor     .10021E-03    1137.8       -.97013E-05** at limit **
  19  Prefactor     .10000E-03    370.59        .99689E-06** at limit **
  20  Prefactor     .10000E-03    15.673       -.12169E-06** at limit **
  21  Normalizat    .10000E-01    .14607       -.37169E-04** at limit **
  22  Prefactor     1.2471        .15561        .54837E-05    .81799E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 54.3728
  Prefactor  = 54.1421
  Prefactor  = 299.295
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 1.66523
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 61.5781
  Prefactor  = 63.7019
  Prefactor  = 5554.47
  Prefactor  = 0.000100008
  Prefactor  = 0.000100209
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Normalizat = 0.01
  Prefactor  = 1.24707
 **********
 **   18 **HESSE 
 **********

 FCN=   1723.791     FROM HESSE     STATUS=OK           322 CALLS     3518 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.1829        .43856E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     54.373        35.964        .54396E-04   -1.4232    
   3  Prefactor     54.142        80.934        .54501E-04   -1.4235    
   4  Prefactor     299.30        176.12        .11737E-03   -1.2230    
   5  Prefactor     .10000E-03    16.591        .16481E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    57.039        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    11.567        .13638E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.6652        1.2039        .36081E-04   -1.5450    
   9  Prefactor     .10000E-03    81.428        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    25.855        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    5.7800        .97371E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    425.07        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    29.755        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     61.578        1647.3        .51271E-04   -1.4137    
  15  Prefactor     63.702        7737.5        .25097E-03   -1.4110    
  16  Prefactor     5554.5        3045.0        .40251E-04    .11112    
  17  Prefactor     .10001E-03    397.34        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10021E-03    1136.4        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    370.61        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    15.676        .16058E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .10000E-01    .19226        .94277E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.2471        .16518        .16872E-03   -.84895    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.22095e-09
Minuit parameter uncertainties:
  1  6.43959e-06
  2  35.9783
  3  81.0987
  4  176.433
  5  5.11023e-05
  6  0.000323765
  7  0.000176201
  8  1.20392
  9  2.04606e-06
  10  0.000375497
  11  0.000102145
  12  0.00217267
  13  3.77886e-05
  14  658.202
  15  1462.71
  16  3277.51
  17  0.00363482
  18  0.0314671
  19  0.00245617
  20  2.38492e-05
  21  1.44534e-05
  22  0.165251
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.000e-04  1.021e-04  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.247e+00  1.653e-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.000e-02  1.445e-05  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/143323/likelihoodResults_666748801_667008001_4FGL_J2207.5-5346_daily_bin1649.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) = 1723.79204229
delta logL = -0.000807931004829

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1723.79123634
delta logL = -1.98106181415e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4198       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2468       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=   1723.791     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      264 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    34.399        .98425E-02** at limit **
   2  Index         1.9800        8.7405        .50000        .50630E-07
   3  Normalizat    .10000E-01    .19728E-02    .94292E-02** at limit **
   4  Prefactor     1.2471        .13886E-01    .16872E-03    .28220E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.97999
  Normalizat = 0.01
  Prefactor  = 1.24707
 **********
 **   18 **HESSE 
 **********

 FCN=   1723.791     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      293 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    299.04        .10581E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9800        9.0074        .50000       -.64851    
   3  Normalizat    .10000E-01    .18778E-01    .18858E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.2471        .42829E-01    .33743E-04   -.84895    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.54406e-10
Minuit parameter uncertainties:
  1  9.8799e-06
  2  942.782
  3  1.46666e-06
  4  0.0428301
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/143323': 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) = 1723.79123304
delta logL = 1.31411206894e-06

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.000e-04  9.880e-06  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  1.980e+00  9.428e+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:  1.247e+00  4.283e-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.000e-02  1.467e-06  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/143323/cmap_HighResolution_666748801_667008001_4FGL_J2207.5-5346_daily_bin1649.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.88e-02', job_status='DONE', photon_flux_upper_limit='2.42e-07', time_completed='2022-02-20 00:58:28.125803', job_id='143323', GAL2='1.25', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1645347508.13', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.25', dlogl='1.31e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='1649' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Feb 20 00:58:28 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 143323: <4FGL_J2207.5-5346_daily_bin1649> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin1649> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sun Feb 20 00:47:34 2022
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Feb 20 00:47:35 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Feb 20 00:47:35 2022
Terminated at Sun Feb 20 00:58:30 2022
Results reported at Sun Feb 20 00:58:30 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1649 331.892 -53.7719 666748801 667008001 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 :                                   420.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             245.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   654 sec.
    Turnaround time :                            656 sec.

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

