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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1433
RA = 331.892, Dec = -53.7719
tmin = 610761601, tmax = 611020801
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='196655', job_status='RUN', time_executed='2021-09-28 05:48:34.333946', time_epoch_executed='1632833314.33' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1433'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/196655

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/196655/ft1_4FGL_J2207.5-5346_daily_bin1433.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/196655/ft2_4FGL_J2207.5-5346_daily_bin1433.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/196655/ft1_4FGL_J2207.5-5346_daily_bin1433.fits outfile=/scratch/kocevski/196655/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1433.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=610761601.0 tmax=611020801.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.73
user 3.47
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/196655/ft1_filtered_4FGL_J2207.5-5346_daily_bin1433.fits" evtable="EVENTS" scfile=/scratch/kocevski/196655/ft2_4FGL_J2207.5-5346_daily_bin1433.fits sctable="SC_DATA" outfile=/scratch/kocevski/196655/ltcube_610761601_611020801_4FGL_J2207.5-5346_daily_bin1433.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/196655/ft2_4FGL_J2207.5-5346_daily_bin1433.fits
.....................!
real 16.71
user 16.33
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/196655/ft1_filtered_4FGL_J2207.5-5346_daily_bin1433.fits evtable="EVENTS" scfile=/scratch/kocevski/196655/ft2_4FGL_J2207.5-5346_daily_bin1433.fits sctable="SC_DATA" expcube=/scratch/kocevski/196655/ltcube_610761601_611020801_4FGL_J2207.5-5346_daily_bin1433.fits outfile=/scratch/kocevski/196655/expmap_610761601_611020801_4FGL_J2207.5-5346_daily_bin1433.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/196655/ltcube_610761601_611020801_4FGL_J2207.5-5346_daily_bin1433.fits
.....................!
real 197.52
user 191.43
sys 5.66

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/196655/ft1_filtered_4FGL_J2207.5-5346_daily_bin1433.fits scfile=/scratch/kocevski/196655/ft2_4FGL_J2207.5-5346_daily_bin1433.fits outfile=/scratch/kocevski/196655/cmap_610761601_611020801_4FGL_J2207.5-5346_daily_bin1433.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.56
user 0.39
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/196655/ft1_filtered_4FGL_J2207.5-5346_daily_bin1433.fits evtable="EVENTS" scfile=/scratch/kocevski/196655/ft2_4FGL_J2207.5-5346_daily_bin1433.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/196655/Model_4FGL_J2207.5-5346_daily_bin1433.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/196655/ft1_filtered_4FGL_J2207.5-5346_daily_bin1433.fits.....................!
real 48.99
user 47.38
sys 1.30

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.6773       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.9051       1.0000         .10000E-03   10000.    
     3 'Prefactor '    28.156       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.091       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12417E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.6677       1.0000         .10000E-03   10000.    
     8 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .47591E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .81909       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10272E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    18.166       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .38366E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.679       1.0000         .10000E-03   10000.    
    19 'Prefactor '    13.853       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10402E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .75950       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0715       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=   6190.210     FROM MIGRAD    STATUS=CONVERGED    851 CALLS     2793 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.6773        3.0974        .10774E-03    .13527E-03
   2  Prefactor     7.9085        20.630        .14261E-03    .20567E-04
   3  Prefactor     28.149        48.714        .75502E-04    .98687E-04
   4  Prefactor     .10000E-03    34.547        .18142E-02** at limit **
   5  Prefactor     15.093        10.745        .10310E-03    .11181E-03
   6  Prefactor     .10001E-03    131.23        .67144E-02** at limit **
   7  Prefactor     5.6654        5.1238        .79668E-03    .97024E-03
   8  norm          .10000E-03    1.2401        .10798E-02** at limit **
   9  Prefactor     .10000E-03    37.955        .18142E-02** at limit **
  10  Prefactor     .10000E-03    13.086        .34712E-02** at limit **
  11  Prefactor     .81784        3.2285        .26294E-03    .11380E-03
  12  Prefactor     .10000E-03    45.672        .18142E-02** at limit **
  13  norm          .10000E-03    2.6075        .12393E-02** at limit **
  14  Prefactor     .10000E-03    1.6943        .99425E-03** at limit **
  15  Prefactor     .10000E-03    3.8754        .14943E-02** at limit **
  16  Prefactor     18.151        26.580        .93970E-04   -.34037E-03
  17  Prefactor     .10000E-03    36.529        .40161E-02** at limit **
  18  Prefactor     13.639        82.209        .10830E-03   -.29393E-05
  19  Prefactor     13.855        26.755        .10762E-03   -.38136E-04
  20  Prefactor     .10000E-03    24.674        .18142E-02** at limit **
  21  Normalizat    .75916        .20295        .27979E-03    .23835E-03
  22  Prefactor     1.0717        .16320        .19346E-03    .41096E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.67735
  Prefactor  = 7.90849
  Prefactor  = 28.1487
  Prefactor  = 0.000100001
  Prefactor  = 15.0928
  Prefactor  = 0.000100009
  Prefactor  = 5.66541
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.817844
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.1514
  Prefactor  = 0.000100002
  Prefactor  = 13.6393
  Prefactor  = 13.8555
  Prefactor  = 0.0001
  Normalizat = 0.759159
  Prefactor  = 1.07168
 **********
 **   18 **HESSE 
 **********

 FCN=   6190.210     FROM HESSE     STATUS=OK           320 CALLS     3113 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.6773        3.0974        .43097E-05   -1.5275    
   2  Prefactor     7.9085        20.627        .57044E-05   -1.5145    
   3  Prefactor     28.149        48.691        .15100E-04   -1.4646    
   4  Prefactor     .10000E-03    34.548        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     15.093        10.744        .41240E-05   -1.4931    
   6  Prefactor     .10001E-03    133.81        .13429E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.6654        5.1216        .31867E-04   -1.5232    
   8  norm          .10000E-03    1.2476        .21596E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    37.964        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    13.168        .69423E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .81784        3.2275        .10517E-04   -1.5527    
  12  Prefactor     .10000E-03    45.674        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.6076        .24786E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.6946        .19885E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.8775        .29886E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     18.151        26.533        .18794E-04   -1.4856    
  17  Prefactor     .10000E-03    36.996        .80321E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     13.639        81.904        .43319E-05   -1.4969    
  19  Prefactor     13.855        26.750        .43046E-05   -1.4963    
  20  Prefactor     .10000E-03    24.696        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .75916        .20305        .11192E-04   -1.0160    
  22  Prefactor     1.0717        .16332        .38692E-04   -.90377    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41918e-09
Minuit parameter uncertainties:
  1  3.09746
  2  20.6451
  3  48.7595
  4  0.00040012
  5  10.7454
  6  0.00217251
  7  5.12201
  8  7.98452e-06
  9  1.15755e-05
  10  0.000390446
  11  3.2282
  12  0.000724347
  13  1.25797e-06
  14  8.19778e-06
  15  6.86855e-06
  16  26.5504
  17  0.000499556
  18  66.9838
  19  26.7731
  20  0.000203271
  21  0.203254
  22  0.163396
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  8.178e-01  3.228e+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.072e+00  1.634e-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:  7.592e-01  2.033e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/196655/likelihoodResults_610761601_611020801_4FGL_J2207.5-5346_daily_bin1433.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): 0
logL (Free Index) = 6189.77179137
delta logL = 0.437837933758

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6189.77093222
delta logL = 0.438697080689

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8460       1.0000         .10000E-03   10000.    
     2 'Index     '    1.6547       1.0000          .0000       10.000    
     3 'Normalizat'    .77023       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0581       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=   6189.771     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      256 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8361        5.4430        .60254E-02    .24825E-03
   2  Index         1.6542        .67223        .26912       -.33982E-04
   3  Normalizat    .77024        .16726        .62822E-01   -.10762E-03
   4  Prefactor     1.0581        .13660        .39457E-01   -.22389E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.83608
  Index      = 1.65416
  Normalizat = 0.770242
  Prefactor  = 1.05813
 **********
 **   18 **HESSE 
 **********

 FCN=   6189.771     FROM HESSE     STATUS=OK            31 CALLS      287 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8361        3.7650        .16257E-03   -1.5371    
   2  Index         1.6542        .60530        .91864E-02   -.73309    
   3  Normalizat    .77024        .19363        .27789E-03   -1.0118    
   4  Prefactor     1.0581        .15789        .19442E-03   -.90816    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.94224e-10
Minuit parameter uncertainties:
  1  3.76533
  2  0.608008
  3  0.193806
  4  0.157955
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/196655': 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) = 6189.77092883
delta logL = 0.438700469306

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  2.836e+00  3.765e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  1.654e+00  6.080e-01  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.058e+00  1.580e-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:  7.702e-01  1.938e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.07
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/196655/cmap_HighResolution_610761601_611020801_4FGL_J2207.5-5346_daily_bin1433.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.23e-03', job_status='DONE', photon_flux_upper_limit='8.05e-08', time_completed='2021-09-28 06:00:15.286376', job_id='196655', GAL2='1.06', fit_tolerance='1e-08', EG2='0.77', EG='0.76', time_epoch_completed='1632834015.29', return_code2='0', ts='0.07', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='4.39e-01', ts2='0.95', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='1433' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:00:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0253>
Subject: Job 196655: <4FGL_J2207.5-5346_daily_bin1433> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin1433> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 28 05:45:11 2021
Job was executed on host(s) <bullet0253>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:45:12 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:12 2021
Terminated at Tue Sep 28 06:00:16 2021
Results reported at Tue Sep 28 06:00:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1433 331.892 -53.7719 610761601 611020801 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 :                                   697.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             278.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   927 sec.
    Turnaround time :                            905 sec.

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

