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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1601
RA = 331.892, Dec = -53.7719
tmin = 654307201, tmax = 654566401
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='546591', job_status='RUN', time_executed='2021-09-29 00:26:39.536000', time_epoch_executed='1632900399.54' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1601'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/546591

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/546591/ft1_4FGL_J2207.5-5346_daily_bin1601.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/546591/ft2_4FGL_J2207.5-5346_daily_bin1601.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/546591/ft1_4FGL_J2207.5-5346_daily_bin1601.fits outfile=/scratch/kocevski/546591/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1601.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=654307201.0 tmax=654566401.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.25
user 4.01
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/546591/ft1_filtered_4FGL_J2207.5-5346_daily_bin1601.fits" evtable="EVENTS" scfile=/scratch/kocevski/546591/ft2_4FGL_J2207.5-5346_daily_bin1601.fits sctable="SC_DATA" outfile=/scratch/kocevski/546591/ltcube_654307201_654566401_4FGL_J2207.5-5346_daily_bin1601.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/546591/ft2_4FGL_J2207.5-5346_daily_bin1601.fits
.....................!
real 11.71
user 11.36
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/546591/ft1_filtered_4FGL_J2207.5-5346_daily_bin1601.fits evtable="EVENTS" scfile=/scratch/kocevski/546591/ft2_4FGL_J2207.5-5346_daily_bin1601.fits sctable="SC_DATA" expcube=/scratch/kocevski/546591/ltcube_654307201_654566401_4FGL_J2207.5-5346_daily_bin1601.fits outfile=/scratch/kocevski/546591/expmap_654307201_654566401_4FGL_J2207.5-5346_daily_bin1601.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/546591/ltcube_654307201_654566401_4FGL_J2207.5-5346_daily_bin1601.fits
.....................!
real 190.18
user 185.66
sys 4.19

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/546591/ft1_filtered_4FGL_J2207.5-5346_daily_bin1601.fits scfile=/scratch/kocevski/546591/ft2_4FGL_J2207.5-5346_daily_bin1601.fits outfile=/scratch/kocevski/546591/cmap_654307201_654566401_4FGL_J2207.5-5346_daily_bin1601.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/546591/ft1_filtered_4FGL_J2207.5-5346_daily_bin1601.fits scfile=/scratch/kocevski/546591/ft2_4FGL_J2207.5-5346_daily_bin1601.fits outfile=/scratch/kocevski/546591/cmap_HighResolution_654307201_654566401_4FGL_J2207.5-5346_daily_bin1601.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/546591/ft1_filtered_4FGL_J2207.5-5346_daily_bin1601.fits evtable="EVENTS" scfile=/scratch/kocevski/546591/ft2_4FGL_J2207.5-5346_daily_bin1601.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/546591/Model_4FGL_J2207.5-5346_daily_bin1601.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/546591/ft1_filtered_4FGL_J2207.5-5346_daily_bin1601.fits.....................!
real 52.54
user 51.26
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .69583       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.5109       1.0000         .10000E-03   10000.    
     4 'Prefactor '    180.23       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.1738       1.0000         .10000E-03   10000.    
     8 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    84.085       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .16158E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    56.627       1.0000         .10000E-03   10000.    
    13 'norm      '    2.9387       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    32.738       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .68732       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2781       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=   7053.024     FROM MIGRAD    STATUS=CONVERGED    492 CALLS     2983 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .69594        2.2573       -.13235E-05   -.14534E-02
   2  Prefactor     .10000E-03    5.6248        .38974E-08** at limit **
   3  Prefactor     4.5113        44.958        .62810E-06   -.13528E-04
   4  Prefactor     180.22        108.06       -.67588E-05    .11142E-03
   5  Prefactor     .10000E-03    2.1054       -.66985E-08** at limit **
   6  Prefactor     .10000E-03    80.827        .17022E-07** at limit **
   7  Prefactor     4.1739        3.5558       -.23441E-06   -.26116E-03
   8  norm          .10000E-03    .29266        .55048E-07** at limit **
   9  Prefactor     84.085        38.859       -.10996E-06    .13159E-04
  10  Prefactor     .10000E-03    3.0741       -.10070E-06** at limit **
  11  Prefactor     .10000E-03    1.9784       -.54828E-06** at limit **
  12  Prefactor     56.637        71.151        .10969E-04   -.95909E-04
  13  norm          2.9393        6.4395        .85676E-06   -.36372E-03
  14  Prefactor     .10000E-03    1.2786       -.11413E-07** at limit **
  15  Prefactor     .10000E-03    1.5495       -.91116E-08** at limit **
  16  Prefactor     .10000E-03    9.0485        .19850E-06** at limit **
  17  Prefactor     .10000E-03    3.1567       -.19131E-07** at limit **
  18  Prefactor     .10000E-03    35.855        .13957E-06** at limit **
  19  Prefactor     32.737        30.297       -.84604E-06    .29796E-04
  20  Prefactor     .10000E-03    8.5658       -.20564E-06** at limit **
  21  Normalizat    .68739        .17701       -.12405E-06    .17524E-03
  22  Prefactor     1.2781        .14116        .51927E-06    .22911E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.695943
  Prefactor  = 0.0001
  Prefactor  = 4.51134
  Prefactor  = 180.221
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.17392
  norm       = 0.0001
  Prefactor  = 84.0853
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 56.6371
  norm       = 2.93934
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.7366
  Prefactor  = 0.0001
  Normalizat = 0.687393
  Prefactor  = 1.27807
 **********
 **   18 **HESSE 
 **********

 FCN=   7053.024     FROM HESSE     STATUS=OK           334 CALLS     3317 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .69594        2.5463        .23933E-03   -1.5541    
   2  Prefactor     .10000E-03    5.6341        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.5113        44.911        .18956E-03   -1.5283    
   4  Prefactor     180.22        106.27        .30067E-04   -1.3015    
   5  Prefactor     .10000E-03    2.1181        .11899E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    83.638        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.1739        3.5605        .14041E-03   -1.5299    
   8  norm          .10000E-03    .43847        .88012E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     84.085        38.870        .43807E-04   -1.3871    
  10  Prefactor     .10000E-03    3.0862        .14374E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    29.456        .22091E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     56.637        68.457        .53309E-04   -1.4201    
  13  norm          2.9393        6.3616        .23693E-03   -1.5365    
  14  Prefactor     .10000E-03    1.2939        .92717E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.5561        .10207E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    9.0656        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    3.1666        .14571E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    35.867        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     32.737        30.310        .70032E-04   -1.4563    
  20  Prefactor     .10000E-03    8.5873        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .68739        .19669        .31420E-03   -1.0439    
  22  Prefactor     1.2781        .16015        .19157E-03   -.83962    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.55267e-09
Minuit parameter uncertainties:
  1  2.54665
  2  3.92413e-06
  3  28.4957
  4  106.381
  5  8.46814e-07
  6  5.00011e-05
  7  3.5607
  8  3.9359e-06
  9  38.8822
  10  1.70086e-05
  11  0.000198808
  12  68.5522
  13  6.36304
  14  1.27616e-06
  15  2.01148e-06
  16  1.65964e-05
  17  2.72222e-06
  18  1.29416e-05
  19  30.3246
  20  3.89738e-06
  21  0.196887
  22  0.160209
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.000e-04  1.988e-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.278e+00  1.602e-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.874e-01  1.969e-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: 8.85e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.86e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/546591/likelihoodResults_654307201_654566401_4FGL_J2207.5-5346_daily_bin1601.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) = 7053.02410475
delta logL = -0.000161172374646

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7053.02381467
delta logL = 0.000128904770463

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35054E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6083       1.0000          .0000       10.000    
     3 'Normalizat'    .68734       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2782       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=   7052.546     FROM MIGRAD    STATUS=CONVERGED    143 CALLS      318 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10201E-01    .16558        .20337E-02    .10482E-01
   2  Index         6.1677        3.0759        .14139        .14459E-03
   3  Normalizat    .62493        .33180E-01    .74213E-01    .25003E-04
   4  Prefactor     1.3075        .26885E-01    .33001E-01    .30982E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0102006
  Index      = 6.16773
  Normalizat = 0.624933
  Prefactor  = 1.30748
 **********
 **   18 **HESSE 
 **********

 FCN=   7052.546     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      353 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10201E-01    .58482        .92131E-04   -1.5688    
   2  Index         6.1677        8.0557        .77553E-02    .23572    
   3  Normalizat    .62493        .13402        .32852E-03   -1.0694    
   4  Prefactor     1.3075        .10631        .18968E-03   -.83085    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.03598e-07
Minuit parameter uncertainties:
  1  0.153716
  2  8.05296
  3  0.134086
  4  0.106328
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/546591': 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) = 7052.54615773
delta logL = 0.477785842297

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.020e-02  1.537e-01  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  6.168e+00  8.053e+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.307e+00  1.063e-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.249e-01  1.341e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.08
Ra Dec: 331.892 -53.772
Photon Index (Free Index): 6.17 +/- 8.05
Photon Flux (Free Index): 4.64e-08 +/- 5.14e-08
Energy Flux (Free Index): 5.73e-06 +/- 7.50e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/546591/cmap_HighResolution_654307201_654566401_4FGL_J2207.5-5346_daily_bin1601.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.86e-03', comment='SUCCESS', energy_flux2='5.73e-06', dlogl='4.78e-01', photon_flux2='4.64e-08', job_status='DONE', time_completed='2021-09-29 00:38:56.963319', photon_index_error2='8.05', photon_index2='6.17', ts='-0.00', fit_tolerance='1e-08', GAL='1.28', photon_index_error='0.00', photon_flux_upper_limit='8.85e-08', energy_flux_error2='7.50e-06', EG='0.69', time_epoch_completed='1632901136.96', return_code='0', job_id='546591', GAL2='1.31', EG2='0.62', return_code2='102', photon_flux_error2='5.14e-08', ts2='1.08', photon_index='2.44' WHERE bin_id='1601' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 00:38:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0143>
Subject: Job 546591: <4FGL_J2207.5-5346_daily_bin1601> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin1601> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 00:25:28 2021
Job was executed on host(s) <bullet0143>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 00:25:30 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 00:25:30 2021
Terminated at Wed Sep 29 00:38:57 2021
Results reported at Wed Sep 29 00:38:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1601 331.892 -53.7719 654307201 654566401 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 :                                   740.10 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             325.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   807 sec.
    Turnaround time :                            809 sec.

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

