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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1590
RA = 331.892, Dec = -53.7719
tmin = 651456001, tmax = 651715201
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='196882', job_status='RUN', time_executed='2021-09-28 05:47:33.191470', time_epoch_executed='1632833253.19' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1590'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/196882

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/196882/ft1_4FGL_J2207.5-5346_daily_bin1590.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/196882/ft2_4FGL_J2207.5-5346_daily_bin1590.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/196882/ft1_4FGL_J2207.5-5346_daily_bin1590.fits outfile=/scratch/kocevski/196882/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1590.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=651456001.0 tmax=651715201.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.49
user 3.27
sys 0.20

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/196882/ft1_filtered_4FGL_J2207.5-5346_daily_bin1590.fits" evtable="EVENTS" scfile=/scratch/kocevski/196882/ft2_4FGL_J2207.5-5346_daily_bin1590.fits sctable="SC_DATA" outfile=/scratch/kocevski/196882/ltcube_651456001_651715201_4FGL_J2207.5-5346_daily_bin1590.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/196882/ft2_4FGL_J2207.5-5346_daily_bin1590.fits
.....................!
real 11.87
user 11.56
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/196882/ft1_filtered_4FGL_J2207.5-5346_daily_bin1590.fits evtable="EVENTS" scfile=/scratch/kocevski/196882/ft2_4FGL_J2207.5-5346_daily_bin1590.fits sctable="SC_DATA" expcube=/scratch/kocevski/196882/ltcube_651456001_651715201_4FGL_J2207.5-5346_daily_bin1590.fits outfile=/scratch/kocevski/196882/expmap_651456001_651715201_4FGL_J2207.5-5346_daily_bin1590.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/196882/ltcube_651456001_651715201_4FGL_J2207.5-5346_daily_bin1590.fits
.....................!
real 192.19
user 186.79
sys 5.08

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/196882/ft1_filtered_4FGL_J2207.5-5346_daily_bin1590.fits scfile=/scratch/kocevski/196882/ft2_4FGL_J2207.5-5346_daily_bin1590.fits outfile=/scratch/kocevski/196882/cmap_651456001_651715201_4FGL_J2207.5-5346_daily_bin1590.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/196882/ft1_filtered_4FGL_J2207.5-5346_daily_bin1590.fits scfile=/scratch/kocevski/196882/ft2_4FGL_J2207.5-5346_daily_bin1590.fits outfile=/scratch/kocevski/196882/cmap_HighResolution_651456001_651715201_4FGL_J2207.5-5346_daily_bin1590.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.8473       1.0000         .10000E-03   10000.    
     2 'Prefactor '    39.952       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    81.995       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.8290       1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.377       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.1057       1.0000         .10000E-03   10000.    
     8 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    29.448       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11831E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.1980       1.0000         .10000E-03   10000.    
    12 'Prefactor '    101.93       1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.2445       1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.053       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    20.129       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .23676E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .84237       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0160       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=   5293.446     FROM MIGRAD    STATUS=CONVERGED    476 CALLS     2382 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.8477        3.6304       -.19320E-06   -.36547E-03
   2  Prefactor     39.954        30.138        .78065E-06   -.46446E-06
   3  Prefactor     .10000E-03    21.194       -.24571E-05** at limit **
   4  Prefactor     82.019        95.750        .25206E-04    .18135E-04
   5  Prefactor     3.8304        8.7631        .45368E-06   -.20415E-03
   6  Prefactor     16.378        26.081        .51786E-06   -.13019E-04
   7  Prefactor     1.1083        4.1683       -.30909E-06   -.92766E-03
   8  norm          .10000E-03    .43598       -.29870E-06** at limit **
   9  Prefactor     29.422        44.451       -.34533E-04   -.44031E-04
  10  Prefactor     .10000E-03    9.7115        .44394E-05** at limit **
  11  Prefactor     6.1995        4.6139       -.10280E-06   -.24418E-03
  12  Prefactor     101.98        112.20        .47353E-04   -.35107E-04
  13  norm          .10000E-03    4.9587        .10359E-06** at limit **
  14  Prefactor     1.2452        3.2265        .50178E-07   -.72408E-03
  15  Prefactor     10.054        6.4462       -.58492E-08   -.49947E-04
  16  Prefactor     .10000E-03    10.228       -.89302E-05** at limit **
  17  Prefactor     .10000E-03    11.012        .50710E-05** at limit **
  18  Prefactor     .10000E-03    32.856        .23532E-05** at limit **
  19  Prefactor     20.121        43.016       -.12011E-04   -.17270E-05
  20  Prefactor     .10000E-03    52.205       -.21287E-05** at limit **
  21  Normalizat    .84223        .19683        .78089E-07   -.47937E-05
  22  Prefactor     1.0161        .15402       -.72610E-06    .94840E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.84773
  Prefactor  = 39.9541
  Prefactor  = 0.0001
  Prefactor  = 82.0194
  Prefactor  = 3.83038
  Prefactor  = 16.3781
  Prefactor  = 1.10828
  norm       = 0.0001
  Prefactor  = 29.4224
  Prefactor  = 0.000100001
  Prefactor  = 6.19947
  Prefactor  = 101.976
  norm       = 0.0001
  Prefactor  = 1.24518
  Prefactor  = 10.0541
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.1214
  Prefactor  = 0.0001
  Normalizat = 0.842228
  Prefactor  = 1.01607
 **********
 **   18 **HESSE 
 **********

 FCN=   5293.446     FROM HESSE     STATUS=OK           348 CALLS     2730 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.8477        3.6292        .12731E-03   -1.5316    
   2  Prefactor     39.954        30.112        .63415E-04   -1.4443    
   3  Prefactor     .10000E-03    21.200        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     82.019        95.550        .44357E-04   -1.3894    
   5  Prefactor     3.8304        8.7458        .20626E-03   -1.5317    
   6  Prefactor     16.378        26.072        .98971E-04   -1.4898    
   7  Prefactor     1.1083        4.1661        .27352E-03   -1.5497    
   8  norm          .10000E-03    2.1424        .92369E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     29.422        44.471        .73830E-04   -1.4623    
  10  Prefactor     .10000E-03    9.7691        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.1995        4.6169        .12736E-03   -1.5210    
  12  Prefactor     101.98        111.63        .19912E-03   -1.3685    
  13  norm          .10000E-03    4.9826        .15821E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.2452        3.1857        .20280E-03   -1.5485    
  15  Prefactor     10.054        6.4595        .12638E-03   -1.5074    
  16  Prefactor     .10000E-03    10.238        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    11.243        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    32.858        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     20.121        43.032        .89273E-04   -1.4811    
  20  Prefactor     .10000E-03    54.318        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .84223        .22844        .28119E-03   -.98521    
  22  Prefactor     1.0161        .17939        .20399E-03   -.92196    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.14955e-09
Minuit parameter uncertainties:
  1  3.62944
  2  30.1239
  3  1.4758e-06
  4  95.7292
  5  8.74869
  6  26.0897
  7  4.16716
  8  3.65637e-07
  9  44.521
  10  0.00016524
  11  4.61713
  12  111.861
  13  3.73021e-05
  14  3.18611
  15  6.46
  16  1.2377e-05
  17  4.626e-05
  18  7.68199e-06
  19  43.0989
  20  0.000291039
  21  0.228705
  22  0.1795
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  6.199e+00  4.617e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  2.436e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
338        Scale:  7.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  1.016e+00  1.795e-01  0.000e+00  1.000e+01 ( 1.000e+00)
579        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
580        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  8.422e-01  2.287e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.52
Ra Dec: 331.892 -53.772
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 5.69e-08 +/- 4.23e-08
Energy Flux (Fixed Index): 1.78e-05 +/- 1.33e-05

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) = 5293.27790487
delta logL = 0.168390398064

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5293.27007996
delta logL = 0.1762153076

Fit tolerance = 1e-08

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

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

 FCN=   5293.270     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      273 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.5197        59.030        .47337E-02    .21024E-03
   2  Index         2.9269        6.4565        .12985        .11040E-03
   3  Normalizat    .80833        .90546E-01    .64709E-01    .15705E-04
   4  Prefactor     1.0326        .59043E-01    .41086E-01    .57871E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.51974
  Index      = 2.92685
  Normalizat = 0.808332
  Prefactor  = 1.03257
 **********
 **   18 **HESSE 
 **********

 FCN=   5293.270     FROM HESSE     STATUS=OK            33 CALLS      306 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.5197        5.6925        .92668E-04   -1.5283    
   2  Index         2.9269        1.0224        .64045E-02   -.42754    
   3  Normalizat    .80833        .23073        .28625E-03   -.99760    
   4  Prefactor     1.0326        .17807        .20250E-03   -.91652    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00546e-08
Minuit parameter uncertainties:
  1  5.69319
  2  1.03123
  3  0.231012
  4  0.178168
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/196882': 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) = 5293.27007761
delta logL = 0.176217654434

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  4.520e+00  5.693e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  2.927e+00  1.031e+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.033e+00  1.782e-01  0.000e+00  1.000e+01 ( 1.000e+00)
579        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
580        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  8.083e-01  2.310e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.92
Ra Dec: 331.892 -53.772
Photon Index (Free Index): 2.93 +/- 1.03
Photon Flux (Free Index): 8.27e-08 +/- 6.40e-08
Energy Flux (Free Index): 1.71e-05 +/- 1.11e-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/196882/cmap_HighResolution_651456001_651715201_4FGL_J2207.5-5346_daily_bin1590.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.69e-08', energy_flux2='1.71e-05', photon_flux_error='4.23e-08', dlogl='1.76e-01', energy_flux='1.78e-05', photon_flux2='8.27e-08', job_status='DONE', time_completed='2021-09-28 05:56:35.945682', photon_index_error2='1.03', photon_index2='2.93', ts='4.52', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='1.11e-05', EG='0.84', time_epoch_completed='1632833795.95', return_code='0', job_id='196882', GAL2='1.03', EG2='0.81', return_code2='0', energy_flux_error='1.33e-05', photon_flux_error2='6.40e-08', ts2='4.92', photon_index='2.44' WHERE bin_id='1590' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:56:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0289>
Subject: Job 196882: <4FGL_J2207.5-5346_daily_bin1590> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin1590> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 28 05:45:27 2021
Job was executed on host(s) <bullet0289>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:45:29 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:45:29 2021
Terminated at Tue Sep 28 05:56:36 2021
Results reported at Tue Sep 28 05:56:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1590 331.892 -53.7719 651456001 651715201 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 :                                   534.21 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             239.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   667 sec.
    Turnaround time :                            669 sec.

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

