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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1077
RA = 331.892, Dec = -53.7719
tmin = 518486401, tmax = 518745601
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='194087', job_status='RUN', time_executed='2021-09-28 05:39:41.568180', time_epoch_executed='1632832781.57' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1077'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/194087

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/194087/ft1_4FGL_J2207.5-5346_daily_bin1077.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/194087/ft2_4FGL_J2207.5-5346_daily_bin1077.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/194087/ft1_4FGL_J2207.5-5346_daily_bin1077.fits outfile=/scratch/kocevski/194087/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1077.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=518486401.0 tmax=518745601.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 6.88
user 6.63
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/194087/ft1_filtered_4FGL_J2207.5-5346_daily_bin1077.fits" evtable="EVENTS" scfile=/scratch/kocevski/194087/ft2_4FGL_J2207.5-5346_daily_bin1077.fits sctable="SC_DATA" outfile=/scratch/kocevski/194087/ltcube_518486401_518745601_4FGL_J2207.5-5346_daily_bin1077.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/194087/ft2_4FGL_J2207.5-5346_daily_bin1077.fits
.....................!
real 11.44
user 11.07
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/194087/ft1_filtered_4FGL_J2207.5-5346_daily_bin1077.fits evtable="EVENTS" scfile=/scratch/kocevski/194087/ft2_4FGL_J2207.5-5346_daily_bin1077.fits sctable="SC_DATA" expcube=/scratch/kocevski/194087/ltcube_518486401_518745601_4FGL_J2207.5-5346_daily_bin1077.fits outfile=/scratch/kocevski/194087/expmap_518486401_518745601_4FGL_J2207.5-5346_daily_bin1077.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/194087/ltcube_518486401_518745601_4FGL_J2207.5-5346_daily_bin1077.fits
.....................!
real 190.71
user 185.25
sys 5.10

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/194087/ft1_filtered_4FGL_J2207.5-5346_daily_bin1077.fits scfile=/scratch/kocevski/194087/ft2_4FGL_J2207.5-5346_daily_bin1077.fits outfile=/scratch/kocevski/194087/cmap_518486401_518745601_4FGL_J2207.5-5346_daily_bin1077.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.55
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/194087/ft1_filtered_4FGL_J2207.5-5346_daily_bin1077.fits scfile=/scratch/kocevski/194087/ft2_4FGL_J2207.5-5346_daily_bin1077.fits outfile=/scratch/kocevski/194087/cmap_HighResolution_518486401_518745601_4FGL_J2207.5-5346_daily_bin1077.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.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/194087/ft1_filtered_4FGL_J2207.5-5346_daily_bin1077.fits evtable="EVENTS" scfile=/scratch/kocevski/194087/ft2_4FGL_J2207.5-5346_daily_bin1077.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/194087/Model_4FGL_J2207.5-5346_daily_bin1077.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/194087/ft1_filtered_4FGL_J2207.5-5346_daily_bin1077.fits......................!
real 33.02
user 31.77
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.546       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11805E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.9470       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10190E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.8947       1.0000         .10000E-03   10000.    
     8 'norm      '    .10076E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.2403       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .13066E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.985       1.0000         .10000E-03   10000.    
    12 'Prefactor '    49.984       1.0000         .10000E-03   10000.    
    13 'norm      '    .10075E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .15543E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    26.403       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10802       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10405E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .73582       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2964       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=   3502.583     FROM MIGRAD    STATUS=CONVERGED    511 CALLS     2413 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.2557       -.23623E-08** at limit **
   2  Prefactor     .10000E-03    8.1894       -.17723E-07** at limit **
   3  Prefactor     14.566        56.224       -.58868E-07   -.46190E-05
   4  Prefactor     .10000E-03    67.559        .50248E-08** at limit **
   5  Prefactor     1.9503        16.265        .16832E-05    .94460E-05
   6  Prefactor     .10000E-03    14.988       -.82089E-07** at limit **
   7  Prefactor     1.8922        6.6481        .15760E-05    .20541E-04
   8  norm          .10000E-03    .91495        .92911E-07** at limit **
   9  Prefactor     2.2130        145.83       -.52142E-06    .14895E-04
  10  Prefactor     .10000E-03    14.652       -.35386E-05** at limit **
  11  Prefactor     12.984        7.7857        .46052E-07    .15458E-03
  12  Prefactor     49.855        155.09        .75067E-05    .28584E-04
  13  norm          .10000E-03    4.3468       -.82973E-07** at limit **
  14  Prefactor     .10000E-03    13.968        .83255E-07** at limit **
  15  Prefactor     26.398        13.005       -.99695E-07    .28615E-03
  16  Prefactor     .10486E-03    61.645       -.29235E-05** at limit **
  17  Prefactor     .10000E-03    7.2110        .25852E-08** at limit **
  18  Prefactor     .10000E-03    77.073        .43321E-07** at limit **
  19  Prefactor     .10000E-03    15.937       -.15449E-07** at limit **
  20  Prefactor     .10000E-03    11.844        .42453E-07** at limit **
  21  Normalizat    .73559        .28685        .86746E-06    .74292E-04
  22  Prefactor     1.2964        .22188       -.10360E-05    .10807E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.5665
  Prefactor  = 0.0001
  Prefactor  = 1.9503
  Prefactor  = 0.0001
  Prefactor  = 1.89218
  norm       = 0.0001
  Prefactor  = 2.21304
  Prefactor  = 0.0001
  Prefactor  = 12.9841
  Prefactor  = 49.8554
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 26.3978
  Prefactor  = 0.000104864
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.735593
  Prefactor  = 1.2964
 **********
 **   18 **HESSE 
 **********

 FCN=   3502.583     FROM HESSE     STATUS=OK           348 CALLS     2761 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.2609        .64760E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    8.1933        .16543E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     14.566        56.241        .10502E-03   -1.4944    
   4  Prefactor     .10000E-03    67.604        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.9503        16.127        .29746E-03   -1.5429    
   6  Prefactor     .10000E-03    14.994        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.8922        6.5844        .26761E-03   -1.5433    
   8  norm          .10000E-03    1.7003        .10906E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.2130        141.89        .27460E-03   -1.5410    
  10  Prefactor     .10000E-03    15.366        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     12.984        7.7817        .11116E-03   -1.4987    
  12  Prefactor     49.855        158.43        .28361E-03   -1.4295    
  13  norm          .10000E-03    4.3479        .12051E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    14.492        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     26.398        13.007        .77962E-04   -1.4680    
  16  Prefactor     .10486E-03    63.248        .10766       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    7.2215        .15514E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    77.097        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    15.926        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    11.877        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .73559        .32953        .32494E-03   -1.0250    
  22  Prefactor     1.2964        .25506        .19871E-03   -.83414    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.71091e-10
Minuit parameter uncertainties:
  1  4.95054e-07
  2  1.3757e-07
  3  56.4465
  4  8.09757e-06
  5  11.2203
  6  8.44243e-06
  7  6.58693
  8  2.05813e-06
  9  35.5283
  10  0.000114462
  11  7.78234
  12  159.795
  13  7.83199e-07
  14  9.9854e-06
  15  13.0086
  16  0.0351167
  17  8.57633e-06
  18  3.35008e-05
  19  1.53066e-05
  20  3.34607e-06
  21  0.330426
  22  0.255303
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.298e+01  7.782e+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.296e+00  2.553e-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.356e-01  3.304e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.51
Ra Dec: 331.892 -53.772
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 1.19e-07 +/- 7.13e-08
Energy Flux (Fixed Index): 3.73e-05 +/- 2.24e-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) = 3502.58240396
delta logL = 0.000167828563463

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3502.58231301
delta logL = 0.000258777763065

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.092       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4222       1.0000          .0000       10.000    
     3 'Normalizat'    .73690       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2958       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3502.582     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      268 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.111        9.7666        .55352E-03   -.27522E-05
   2  Index         2.4233        .53804        .51082E-02    .17877E-03
   3  Normalizat    .73670        .31424        .32472E-03    .10906E-04
   4  Prefactor     1.2957        .24651        .19875E-03    .11383E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.1111
  Index      = 2.42333
  Normalizat = 0.736697
  Prefactor  = 1.29574
 **********
 **   18 **HESSE 
 **********

 FCN=   3502.582     FROM HESSE     STATUS=OK            27 CALLS      295 TOTAL
                     EDM=   .72E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.111        9.5153        .22141E-04   -1.4984    
   2  Index         2.4233        .52400        .10216E-02   -.54140    
   3  Normalizat    .73670        .31441        .12989E-04   -1.0246    
   4  Prefactor     1.2957        .24662        .79500E-05   -.83434    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.23302e-13
Minuit parameter uncertainties:
  1  9.5164
  2  0.525319
  3  0.315188
  4  0.246841
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/194087': 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) = 3502.58230211
delta logL = 0.000269672477771

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.311e+01  9.516e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  2.423e+00  5.253e-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.296e+00  2.468e-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.367e-01  3.152e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.51
Ra Dec: 331.892 -53.772
Photon Index (Free Index): 2.42 +/- 0.53
Photon Flux (Free Index): 1.18e-07 +/- 7.68e-08
Energy Flux (Free Index): 3.76e-05 +/- 2.69e-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/194087/cmap_HighResolution_518486401_518745601_4FGL_J2207.5-5346_daily_bin1077.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.19e-07', energy_flux2='3.76e-05', photon_flux_error='7.13e-08', dlogl='2.70e-04', energy_flux='3.73e-05', photon_flux2='1.18e-07', job_status='DONE', time_completed='2021-09-28 05:47:39.786148', photon_index_error2='0.53', photon_index2='2.42', ts='5.51', fit_tolerance='1e-08', GAL='1.30', photon_index_error='0.00', energy_flux_error2='2.69e-05', EG='0.74', time_epoch_completed='1632833259.79', return_code='0', job_id='194087', GAL2='1.30', EG2='0.74', return_code2='0', energy_flux_error='2.24e-05', photon_flux_error2='7.68e-08', ts2='5.51', photon_index='2.44' WHERE bin_id='1077' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:47:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0119>
Subject: Job 194087: <4FGL_J2207.5-5346_daily_bin1077> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin1077> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 05:35:45 2021
Job was executed on host(s) <bullet0119>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:35:46 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:35:46 2021
Terminated at Tue Sep 28 05:47:40 2021
Results reported at Tue Sep 28 05:47:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1077 331.892 -53.7719 518486401 518745601 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 :                                   476.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             214.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   714 sec.
    Turnaround time :                            715 sec.

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

