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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1155
RA = 331.892, Dec = -53.7719
tmin = 538704001, tmax = 538963201
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='195238', job_status='RUN', time_executed='2021-09-28 05:43:36.594567', time_epoch_executed='1632833016.59' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1155'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/195238

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/195238/ft1_4FGL_J2207.5-5346_daily_bin1155.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/195238/ft2_4FGL_J2207.5-5346_daily_bin1155.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/195238/ft1_4FGL_J2207.5-5346_daily_bin1155.fits outfile=/scratch/kocevski/195238/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1155.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=538704001.0 tmax=538963201.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.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/195238/ft1_filtered_4FGL_J2207.5-5346_daily_bin1155.fits" evtable="EVENTS" scfile=/scratch/kocevski/195238/ft2_4FGL_J2207.5-5346_daily_bin1155.fits sctable="SC_DATA" outfile=/scratch/kocevski/195238/ltcube_538704001_538963201_4FGL_J2207.5-5346_daily_bin1155.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/195238/ft2_4FGL_J2207.5-5346_daily_bin1155.fits
.....................!
real 11.84
user 11.41
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/195238/ft1_filtered_4FGL_J2207.5-5346_daily_bin1155.fits evtable="EVENTS" scfile=/scratch/kocevski/195238/ft2_4FGL_J2207.5-5346_daily_bin1155.fits sctable="SC_DATA" expcube=/scratch/kocevski/195238/ltcube_538704001_538963201_4FGL_J2207.5-5346_daily_bin1155.fits outfile=/scratch/kocevski/195238/expmap_538704001_538963201_4FGL_J2207.5-5346_daily_bin1155.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/195238/ltcube_538704001_538963201_4FGL_J2207.5-5346_daily_bin1155.fits
.....................!
real 190.71
user 186.31
sys 4.02

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/195238/ft1_filtered_4FGL_J2207.5-5346_daily_bin1155.fits scfile=/scratch/kocevski/195238/ft2_4FGL_J2207.5-5346_daily_bin1155.fits outfile=/scratch/kocevski/195238/cmap_538704001_538963201_4FGL_J2207.5-5346_daily_bin1155.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/195238/ft1_filtered_4FGL_J2207.5-5346_daily_bin1155.fits scfile=/scratch/kocevski/195238/ft2_4FGL_J2207.5-5346_daily_bin1155.fits outfile=/scratch/kocevski/195238/cmap_HighResolution_538704001_538963201_4FGL_J2207.5-5346_daily_bin1155.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.39
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0973       1.0000         .10000E-03   10000.    
     2 'Prefactor '    15.471       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.0866       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .28888       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.1964       1.0000         .10000E-03   10000.    
     8 'norm      '    2.2922       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .66001       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.5336       1.0000         .10000E-03   10000.    
    12 'Prefactor '    64.388       1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.3292       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.1625       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .70208       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0665       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=   7553.294     FROM MIGRAD    STATUS=CONVERGED    476 CALLS     2353 TOTAL
                     EDM=   .47E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0959        2.3909        .48576E-06    .11202E-04
   2  Prefactor     15.470        19.115       -.20996E-06   -.98355E-04
   3  Prefactor     .10000E-03    24.675        .73815E-06** at limit **
   4  Prefactor     6.0883        271.17        .35038E-05   -.22535E-05
   5  Prefactor     .28765        3.4708       -.22679E-05    .66778E-03
   6  Prefactor     .10000E-03    28.770        .36585E-05** at limit **
   7  Prefactor     8.1961        4.0254        .11688E-06    .46232E-03
   8  norm          2.2923        1.0628       -.30351E-08   -.31559E-03
   9  Prefactor     .10000E-03    21.373        .87763E-06** at limit **
  10  Prefactor     .62592        34.302       -.53745E-05    .81675E-04
  11  Prefactor     4.5337        3.1369        .10754E-07    .34323E-03
  12  Prefactor     64.537        106.66        .48326E-05    .50217E-04
  13  norm          .10000E-03    2.3728        .10298E-06** at limit **
  14  Prefactor     3.3293        2.4539       -.94199E-07   -.70505E-05
  15  Prefactor     .10000E-03    1.4580        .47979E-06** at limit **
  16  Prefactor     .10000E-03    3.8004        .18319E-06** at limit **
  17  Prefactor     2.1627        7.0618       -.33342E-06   -.37741E-04
  18  Prefactor     .10000E-03    20.885        .10663E-06** at limit **
  19  Prefactor     .10000E-03    12.861        .61802E-06** at limit **
  20  Prefactor     .10000E-03    3.0312        .26355E-06** at limit **
  21  Normalizat    .70192        .17400        .58023E-05    .49925E-04
  22  Prefactor     1.0666        .13919       -.46069E-05   -.15264E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.09591
  Prefactor  = 15.4704
  Prefactor  = 0.0001
  Prefactor  = 6.08826
  Prefactor  = 0.287653
  Prefactor  = 0.000100005
  Prefactor  = 8.19609
  norm       = 2.2923
  Prefactor  = 0.0001
  Prefactor  = 0.62592
  Prefactor  = 4.53368
  Prefactor  = 64.5374
  norm       = 0.0001
  Prefactor  = 3.32926
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.16268
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.701917
  Prefactor  = 1.0666
 **********
 **   18 **HESSE 
 **********

 FCN=   7553.294     FROM HESSE     STATUS=OK           348 CALLS     2701 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0959        2.3908        .18828E-03   -1.5499    
   2  Prefactor     15.470        19.093        .10183E-03   -1.4921    
   3  Prefactor     .10000E-03    24.749        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.0883        271.16        .16274E-03   -1.5214    
   5  Prefactor     .28765        5.8611        .26460E-02   -1.5601    
   6  Prefactor     .10000E-03    29.791        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.1961        4.0303        .11623E-03   -1.5135    
   8  norm          2.2923        1.0624        .27111E-04   -1.5405    
   9  Prefactor     .10000E-03    21.486        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .62592        41.559        .29726E-02   -1.5550    
  11  Prefactor     4.5337        3.1324        .12176E-03   -1.5282    
  12  Prefactor     64.537        116.55        .25006E-03   -1.4100    
  13  norm          .10000E-03    2.3830        .13078E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.3293        2.4548        .11255E-03   -1.5343    
  15  Prefactor     .10000E-03    1.4824        .10277E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    3.8037        .16549E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.1627        7.0744        .28009E-03   -1.5414    
  18  Prefactor     .10000E-03    20.889        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    12.918        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.0389        .14785E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .70192        .18504        .28486E-03   -1.0382    
  22  Prefactor     1.0666        .15014        .19207E-03   -.90541    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.32303e-09
Minuit parameter uncertainties:
  1  2.39097
  2  19.1009
  3  6.84654e-05
  4  81.659
  5  2.59674
  6  0.00076092
  7  4.03039
  8  1.06243
  9  0.000116347
  10  10.2071
  11  3.13254
  12  116.963
  13  5.69668e-06
  14  2.4549
  15  1.61381e-05
  16  9.40216e-06
  17  7.07711
  18  1.98759e-05
  19  9.03507e-05
  20  1.4946e-05
  21  0.185201
  22  0.1502
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  4.534e+00  3.133e+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.067e+00  1.502e-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.019e-01  1.852e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.53
Ra Dec: 331.892 -53.772
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 4.16e-08 +/- 2.87e-08
Energy Flux (Fixed Index): 1.30e-05 +/- 9.00e-06

TS (Fixed Index): 3.53
Ra Dec: 331.892 -53.772
Photon Flux Upper Limit: 1.03e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.94e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/195238/likelihoodResults_538704001_538963201_4FGL_J2207.5-5346_daily_bin1155.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) = 7552.91730063
delta logL = 0.376293464865

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7552.8928379
delta logL = 0.40075619983

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7488       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0516       1.0000          .0000       10.000    
     3 'Normalizat'    .67727       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0788       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=   7552.893     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      316 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7486        3.3973        .82474E-04   -.39700E-03
   2  Index         3.0515        .86782        .59797E-02   -.39515E-04
   3  Normalizat    .67732        .18077        .28952E-03   -.93497E-04
   4  Prefactor     1.0788        .14620        .19108E-03   -.13869E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.7486
  Index      = 3.05147
  Normalizat = 0.677325
  Prefactor  = 1.07878
 **********
 **   18 **HESSE 
 **********

 FCN=   7552.893     FROM HESSE     STATUS=OK            25 CALLS      341 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7486        2.9410        .32989E-05   -1.5376    
   2  Index         3.0515        .75172        .23919E-03   -.40031    
   3  Normalizat    .67732        .18064        .11581E-04   -1.0480    
   4  Prefactor     1.0788        .14615        .38215E-04   -.90148    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.37666e-11
Minuit parameter uncertainties:
  1  2.94114
  2  0.755097
  3  0.180797
  4  0.146201
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/195238': 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) = 7552.89283778
delta logL = 0.400756312991

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  2.749e+00  2.941e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  3.051e+00  7.551e-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.079e+00  1.462e-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.773e-01  1.808e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.38
Ra Dec: 331.892 -53.772
Photon Index (Free Index): 3.05 +/- 0.76
Photon Flux (Free Index): 6.07e-08 +/- 3.97e-08
Energy Flux (Free Index): 1.18e-05 +/- 7.18e-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/195238/cmap_HighResolution_538704001_538963201_4FGL_J2207.5-5346_daily_bin1155.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.94e-03', comment='SUCCESS', photon_flux='4.16e-08', energy_flux2='1.18e-05', photon_flux_error='2.87e-08', dlogl='4.01e-01', energy_flux='1.30e-05', photon_flux2='6.07e-08', job_status='DONE', time_completed='2021-09-28 05:55:32.868103', photon_index_error2='0.76', photon_index2='3.05', ts='3.53', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='1.03e-07', energy_flux_error2='7.18e-06', EG='0.70', time_epoch_completed='1632833732.87', return_code='0', job_id='195238', GAL2='1.08', EG2='0.68', return_code2='0', energy_flux_error='9.00e-06', photon_flux_error2='3.97e-08', ts2='4.38', photon_index='2.44' WHERE bin_id='1155' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:55:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0197>
Subject: Job 195238: <4FGL_J2207.5-5346_daily_bin1155> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin1155> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 05:40:24 2021
Job was executed on host(s) <bullet0197>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:40:25 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:40:25 2021
Terminated at Tue Sep 28 05:55:33 2021
Results reported at Tue Sep 28 05:55:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1155 331.892 -53.7719 538704001 538963201 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 :                                   709.17 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             276.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   908 sec.
    Turnaround time :                            909 sec.

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

