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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1074
RA = 331.892, Dec = -53.7719
tmin = 517708801, tmax = 517968001
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='194082', job_status='RUN', time_executed='2021-09-28 05:39:49.708873', time_epoch_executed='1632832789.71' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1074'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/194082

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/194082/ft1_4FGL_J2207.5-5346_daily_bin1074.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/194082/ft2_4FGL_J2207.5-5346_daily_bin1074.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/194082/ft1_4FGL_J2207.5-5346_daily_bin1074.fits outfile=/scratch/kocevski/194082/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1074.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=517708801.0 tmax=517968001.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.67
user 3.45
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/194082/ft1_filtered_4FGL_J2207.5-5346_daily_bin1074.fits" evtable="EVENTS" scfile=/scratch/kocevski/194082/ft2_4FGL_J2207.5-5346_daily_bin1074.fits sctable="SC_DATA" outfile=/scratch/kocevski/194082/ltcube_517708801_517968001_4FGL_J2207.5-5346_daily_bin1074.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/194082/ft2_4FGL_J2207.5-5346_daily_bin1074.fits
.....................!
real 11.76
user 11.37
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/194082/ft1_filtered_4FGL_J2207.5-5346_daily_bin1074.fits evtable="EVENTS" scfile=/scratch/kocevski/194082/ft2_4FGL_J2207.5-5346_daily_bin1074.fits sctable="SC_DATA" expcube=/scratch/kocevski/194082/ltcube_517708801_517968001_4FGL_J2207.5-5346_daily_bin1074.fits outfile=/scratch/kocevski/194082/expmap_517708801_517968001_4FGL_J2207.5-5346_daily_bin1074.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/194082/ltcube_517708801_517968001_4FGL_J2207.5-5346_daily_bin1074.fits
.....................!
real 190.69
user 185.56
sys 4.82

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/194082/ft1_filtered_4FGL_J2207.5-5346_daily_bin1074.fits scfile=/scratch/kocevski/194082/ft2_4FGL_J2207.5-5346_daily_bin1074.fits outfile=/scratch/kocevski/194082/cmap_517708801_517968001_4FGL_J2207.5-5346_daily_bin1074.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.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/194082/ft1_filtered_4FGL_J2207.5-5346_daily_bin1074.fits scfile=/scratch/kocevski/194082/ft2_4FGL_J2207.5-5346_daily_bin1074.fits outfile=/scratch/kocevski/194082/cmap_HighResolution_517708801_517968001_4FGL_J2207.5-5346_daily_bin1074.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.53
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/194082/ft1_filtered_4FGL_J2207.5-5346_daily_bin1074.fits evtable="EVENTS" scfile=/scratch/kocevski/194082/ft2_4FGL_J2207.5-5346_daily_bin1074.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/194082/Model_4FGL_J2207.5-5346_daily_bin1074.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/194082/ft1_filtered_4FGL_J2207.5-5346_daily_bin1074.fits.....................!
real 49.59
user 48.25
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11656E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    31.256       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .33502E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10098E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    30.307       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.4541       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.559       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10040E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .14018E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    12.023       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.2953       1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.4071       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1836       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .75863       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=   6311.357     FROM MIGRAD    STATUS=CONVERGED    518 CALLS     2403 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.4031       -.38948E-06** at limit **
   2  Prefactor     .10000E-03    6.3226       -.15463E-06** at limit **
   3  Prefactor     31.262        37.812        .28455E-06    .10085E-04
   4  Prefactor     .10000E-03    212.50       -.95365E-06** at limit **
   5  Prefactor     .10000E-03    8.1133       -.43415E-07** at limit **
   6  Prefactor     30.308        21.515        .17928E-07    .12364E-04
   7  Prefactor     7.4555        4.6384       -.40507E-06    .29537E-03
   8  norm          .10000E-03    .27913       -.38174E-08** at limit **
   9  Prefactor     .10000E-03    74.955        .12261E-05** at limit **
  10  Prefactor     .10000E-03    3.0270        .46879E-06** at limit **
  11  Prefactor     11.560        4.8794       -.29491E-07    .30440E-04
  12  Prefactor     .10000E-03    27.830       -.85900E-06** at limit **
  13  norm          .10000E-03    6.9865        .82803E-06** at limit **
  14  Prefactor     .10001E-03    24.277        .22057E-05** at limit **
  15  Prefactor     12.018        7.6145        .78359E-06    .29543E-03
  16  Prefactor     .10000E-03    120.82        .65579E-05** at limit **
  17  Prefactor     2.2880        5.0540        .38406E-06    .55409E-03
  18  Prefactor     8.4047        101.85        .19550E-05    .42332E-05
  19  Prefactor     .10000E-03    12.228        .41219E-06** at limit **
  20  Prefactor     .10000E-03    5.6956        .17755E-07** at limit **
  21  Normalizat    1.1835        .18304       -.77848E-06    .17516E-03
  22  Prefactor     .75858        .13568        .16230E-05    .73906E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 31.2617
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 30.3079
  Prefactor  = 7.45551
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.5597
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100009
  Prefactor  = 12.0185
  Prefactor  = 0.0001
  Prefactor  = 2.28804
  Prefactor  = 8.40466
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.1835
  Prefactor  = 0.758579
 **********
 **   18 **HESSE 
 **********

 FCN=   6311.357     FROM HESSE     STATUS=OK           340 CALLS     2743 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.480        .15560E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.3350        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     31.262        37.843        .71669E-04   -1.4589    
   4  Prefactor     .10000E-03    213.95        .21343E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.3477        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     30.308        21.520        .72780E-04   -1.4606    
   7  Prefactor     7.4555        4.7188        .65270E-03   -1.5162    
   8  norm          .10000E-03    .29128        .81884E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    75.294        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.0368        .13492E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.560        4.8876        .10842E-03   -1.5028    
  12  Prefactor     .10000E-03    27.807        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    7.1027        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10001E-03    29.275        .20840E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     12.018        7.5877        .57764E-03   -1.5014    
  16  Prefactor     .10000E-03    118.84        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.2880        9.2010        .13546E-02   -1.5405    
  18  Prefactor     8.4047        103.34        .13826E-03   -1.5128    
  19  Prefactor     .10000E-03    12.222        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.7000        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1835        .21274        .24335E-03   -.87114    
  22  Prefactor     .75858        .15357        .22192E-03   -1.0127    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.49982e-09
Minuit parameter uncertainties:
  1  0.00012348
  2  6.81085e-06
  3  37.8724
  4  3.09187e-06
  5  1.27392e-05
  6  21.5253
  7  4.719
  8  6.79634e-07
  9  0.000149527
  10  5.80222e-06
  11  4.88776
  12  3.93209e-06
  13  5.15548e-06
  14  0.00102161
  15  7.58828
  16  5.9797e-05
  17  9.17882
  18  59.0685
  19  2.96716e-06
  20  1.78382e-06
  21  0.212897
  22  0.153659
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.156e+01  4.888e+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:  7.586e-01  1.537e-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:  1.183e+00  2.129e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.82
Ra Dec: 331.892 -53.772
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 1.06e-07 +/- 4.48e-08
Energy Flux (Fixed Index): 3.32e-05 +/- 1.40e-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) = 6310.89046236
delta logL = 0.466926393994

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6310.88390745
delta logL = 0.473481306109

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.5295       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1599       1.0000          .0000       10.000    
     3 'Normalizat'    1.1221       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79490       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=   6310.884     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      278 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.5291        10.352        .68750E-04   -.54405E-03
   2  Index         3.1599        1.3524        .41274E-02   -.56901E-04
   3  Normalizat    1.1221        .22381        .24877E-03   -.60095E-04
   4  Prefactor     .79491        .16336        .21744E-03   -.21703E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.52914
  Index      = 3.15994
  Normalizat = 1.1221
  Prefactor  = 0.794906
 **********
 **   18 **HESSE 
 **********

 FCN=   6310.884     FROM HESSE     STATUS=OK            25 CALLS      303 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.5291        6.5712        .27500E-05   -1.5238    
   2  Index         3.1599        .86499        .16510E-03   -.37687    
   3  Normalizat    1.1221        .21522        .99508E-05   -.89046    
   4  Prefactor     .79491        .15779        .86975E-05   -.99916    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18056e-10
Minuit parameter uncertainties:
  1  6.57203
  2  0.870059
  3  0.215389
  4  0.157879
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/194082': 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) = 6310.88390744
delta logL = 0.473481314373

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  5.529e+00  6.572e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  3.160e+00  8.701e-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:  7.949e-01  1.579e-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:  1.122e+00  2.154e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.99
Ra Dec: 331.892 -53.772
Photon Index (Free Index): 3.16 +/- 0.87
Photon Flux (Free Index): 1.44e-07 +/- 6.45e-08
Energy Flux (Free Index): 2.68e-05 +/- 1.10e-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/194082/cmap_HighResolution_517708801_517968001_4FGL_J2207.5-5346_daily_bin1074.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.06e-07', energy_flux2='2.68e-05', photon_flux_error='4.48e-08', dlogl='4.73e-01', energy_flux='3.32e-05', photon_flux2='1.44e-07', job_status='DONE', time_completed='2021-09-28 05:49:37.336947', photon_index_error2='0.87', photon_index2='3.16', ts='9.82', fit_tolerance='1e-08', GAL='0.76', photon_index_error='0.00', energy_flux_error2='1.10e-05', EG='1.18', time_epoch_completed='1632833377.34', return_code='0', job_id='194082', GAL2='0.79', EG2='1.12', return_code2='0', energy_flux_error='1.40e-05', photon_flux_error2='6.45e-08', ts2='10.99', photon_index='2.44' WHERE bin_id='1074' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:49:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 194082: <4FGL_J2207.5-5346_daily_bin1074> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin1074> 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) <bullet0244>, 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:49:38 2021
Results reported at Tue Sep 28 05:49:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1074 331.892 -53.7719 517708801 517968001 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 :                                   585.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             215.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   831 sec.
    Turnaround time :                            833 sec.

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

