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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1061
RA = 331.892, Dec = -53.7719
tmin = 514339201, tmax = 514598401
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='194064', job_status='RUN', time_executed='2021-09-28 05:37:18.556782', time_epoch_executed='1632832638.56' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1061'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/194064

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/194064/ft1_4FGL_J2207.5-5346_daily_bin1061.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/194064/ft2_4FGL_J2207.5-5346_daily_bin1061.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/194064/ft1_4FGL_J2207.5-5346_daily_bin1061.fits outfile=/scratch/kocevski/194064/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1061.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=514339201.0 tmax=514598401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 4.17
user 3.94
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/194064/ft2_4FGL_J2207.5-5346_daily_bin1061.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/194064/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1061.fits evtable="EVENTS" outfile="/scratch/kocevski/194064/ft1_filtered_4FGL_J2207.5-5346_daily_bin1061.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/194064/ft1_filtered_4FGL_J2207.5-5346_daily_bin1061.fits" evtable="EVENTS" scfile=/scratch/kocevski/194064/ft2_4FGL_J2207.5-5346_daily_bin1061.fits sctable="SC_DATA" outfile=/scratch/kocevski/194064/ltcube_514339201_514598401_4FGL_J2207.5-5346_daily_bin1061.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/194064/ft2_4FGL_J2207.5-5346_daily_bin1061.fits
.....................!
real 11.82
user 11.43
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/194064/ft1_filtered_4FGL_J2207.5-5346_daily_bin1061.fits evtable="EVENTS" scfile=/scratch/kocevski/194064/ft2_4FGL_J2207.5-5346_daily_bin1061.fits sctable="SC_DATA" expcube=/scratch/kocevski/194064/ltcube_514339201_514598401_4FGL_J2207.5-5346_daily_bin1061.fits outfile=/scratch/kocevski/194064/expmap_514339201_514598401_4FGL_J2207.5-5346_daily_bin1061.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/194064/ltcube_514339201_514598401_4FGL_J2207.5-5346_daily_bin1061.fits
.....................!
real 191.17
user 186.15
sys 4.71

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/194064/ft1_filtered_4FGL_J2207.5-5346_daily_bin1061.fits scfile=/scratch/kocevski/194064/ft2_4FGL_J2207.5-5346_daily_bin1061.fits outfile=/scratch/kocevski/194064/cmap_514339201_514598401_4FGL_J2207.5-5346_daily_bin1061.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/194064/ft1_filtered_4FGL_J2207.5-5346_daily_bin1061.fits scfile=/scratch/kocevski/194064/ft2_4FGL_J2207.5-5346_daily_bin1061.fits outfile=/scratch/kocevski/194064/cmap_HighResolution_514339201_514598401_4FGL_J2207.5-5346_daily_bin1061.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/194064/ft1_filtered_4FGL_J2207.5-5346_daily_bin1061.fits evtable="EVENTS" scfile=/scratch/kocevski/194064/ft2_4FGL_J2207.5-5346_daily_bin1061.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/194064/Model_4FGL_J2207.5-5346_daily_bin1061.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/194064/ft1_filtered_4FGL_J2207.5-5346_daily_bin1061.fits.....................!
real 48.28
user 46.99
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18602E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.4662       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    27.929       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.9574       1.0000         .10000E-03   10000.    
     8 'norm      '    1.8655       1.0000         .10000E-03   10000.    
     9 'Prefactor '    30.447       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.132       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .58673       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.3581       1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.383       1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.0908       1.0000         .10000E-03   10000.    
    18 'Prefactor '    77.179       1.0000         .10000E-03   10000.    
    19 'Prefactor '    29.297       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2726       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .72859       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=   6113.449     FROM MIGRAD    STATUS=CONVERGED    468 CALLS     2393 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10024E-03    1.4364        .75933E-06** at limit **
   2  Prefactor     3.4626        24.957       -.24813E-05   -.64043E-04
   3  Prefactor     .10000E-03    26.641        .10670E-04** at limit **
   4  Prefactor     .10000E-03    27.081        .13093E-04** at limit **
   5  Prefactor     .10000E-03    2.0272       -.57489E-07** at limit **
   6  Prefactor     27.931        29.541        .19530E-05   -.50756E-04
   7  Prefactor     5.9577        4.1881       -.82001E-06   -.70565E-04
   8  norm          1.8655        .90062        .53961E-08   -.93477E-04
   9  Prefactor     30.454        35.279        .79859E-05    .15544E-04
  10  Prefactor     .10000E-03    4.6095       -.12894E-06** at limit **
  11  Prefactor     12.133        4.7338        .68786E-06    .41701E-04
  12  Prefactor     .10000E-03    41.960       -.10361E-04** at limit **
  13  norm          .58636        .80752        .24219E-06   -.20531E-02
  14  Prefactor     .10000E-03    3.2365        .16368E-07** at limit **
  15  Prefactor     6.3586        7.0870       -.53059E-06    .62915E-04
  16  Prefactor     11.372        29.435       -.18700E-04   -.21149E-04
  17  Prefactor     4.0954        14.034        .39270E-05    .79213E-04
  18  Prefactor     77.207        74.321        .28184E-04    .11899E-04
  19  Prefactor     29.297        28.116       -.43056E-06    .18531E-04
  20  Prefactor     .10000E-03    21.452       -.18057E-04** at limit **
  21  Normalizat    1.2726        .19325        .66853E-06   -.11263E-03
  22  Prefactor     .72858        .14139       -.93384E-06   -.66235E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100238
  Prefactor  = 3.46262
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.9312
  Prefactor  = 5.95769
  norm       = 1.86553
  Prefactor  = 30.4535
  Prefactor  = 0.0001
  Prefactor  = 12.1327
  Prefactor  = 0.0001
  norm       = 0.586361
  Prefactor  = 0.0001
  Prefactor  = 6.35859
  Prefactor  = 11.3723
  Prefactor  = 4.09536
  Prefactor  = 77.2073
  Prefactor  = 29.2965
  Prefactor  = 0.000100001
  Normalizat = 1.27257
  Prefactor  = 0.72858
 **********
 **   18 **HESSE 
 **********

 FCN=   6113.449     FROM HESSE     STATUS=OK           348 CALLS     2741 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10024E-03    21.180        .17710E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.4626        24.534        .21721E-03   -1.5336    
   3  Prefactor     .10000E-03    26.685        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    27.091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.0303        .10872E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     27.931        29.547        .75807E-04   -1.4650    
   7  Prefactor     5.9577        4.1856        .12893E-03   -1.5220    
   8  norm          1.8655        .89854        .49691E-04   -1.5435    
   9  Prefactor     30.454        35.307        .72612E-04   -1.4604    
  10  Prefactor     .10000E-03    4.6407        .16385E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     12.133        4.7408        .10195E-03   -1.5011    
  12  Prefactor     .10000E-03    41.981        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .58636        7.9577        .21279E-02   -1.5555    
  14  Prefactor     .10000E-03    3.3174        .27453E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.3586        7.0970        .15918E-03   -1.5204    
  16  Prefactor     11.372        29.181        .11874E-03   -1.5033    
  17  Prefactor     4.0954        13.825        .19933E-03   -1.5303    
  18  Prefactor     77.207        74.222        .22854E-03   -1.3948    
  19  Prefactor     29.297        28.120        .74020E-04   -1.4625    
  20  Prefactor     .10000E-03    22.020        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2726        .22823        .24554E-03   -.84389    
  22  Prefactor     .72858        .16551        .23546E-03   -1.0242    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.37833e-08
Minuit parameter uncertainties:
  1  0.00449346
  2  18.4443
  3  1.03197e-05
  4  1.14458e-05
  5  1.89859e-07
  6  29.5629
  7  4.18584
  8  0.898545
  9  35.3312
  10  2.00083e-05
  11  4.74097
  12  2.57546e-05
  13  4.32056
  14  5.22538e-06
  15  7.09797
  16  29.2179
  17  13.8357
  18  74.3116
  19  28.133
  20  0.000330416
  21  0.228411
  22  0.165621
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.213e+01  4.741e+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.286e-01  1.656e-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.273e+00  2.284e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 22.11
Ra Dec: 331.892 -53.772
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 1.11e-07 +/- 4.35e-08
Energy Flux (Fixed Index): 3.48e-05 +/- 1.36e-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) = 6111.29679272
delta logL = 2.15214880003

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6111.23645737
delta logL = 2.21248415275

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.339       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7628       1.0000          .0000       10.000    
     3 'Normalizat'    1.3290       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70226       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=   6111.236     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      209 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.339        5.9783        .26443E-02   -.84567E-02
   2  Index         1.7629        .26602        .12603       -.19521E-04
   3  Normalizat    1.3291        .18558        .54549E-01   -.57484E-05
   4  Prefactor     .70222        .13858        .42431E-01    .22059E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.339
  Index      = 1.76288
  Normalizat = 1.32909
  Prefactor  = 0.702224
 **********
 **   18 **HESSE 
 **********

 FCN=   6111.236     FROM HESSE     STATUS=OK            31 CALLS      240 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.339        6.2091        .10577E-03   -1.4950    
   2  Index         1.7629        .29208        .52689E-02   -.70420    
   3  Normalizat    1.3291        .21631        .24120E-03   -.82702    
   4  Prefactor     .70222        .16138        .23932E-03   -1.0344    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.9046e-08
Minuit parameter uncertainties:
  1  6.20939
  2  0.292367
  3  0.216457
  4  0.161487
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/194064': 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) = 6111.23645733
delta logL = 2.21248419298

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.434e+01  6.209e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  1.763e+00  2.924e-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.022e-01  1.615e-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.329e+00  2.165e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 26.60
Ra Dec: 331.892 -53.772
Photon Index (Free Index): 1.76 +/- 0.29
Photon Flux (Free Index): 6.40e-08 +/- 3.42e-08
Energy Flux (Free Index): 8.57e-05 +/- 6.00e-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/194064/cmap_HighResolution_514339201_514598401_4FGL_J2207.5-5346_daily_bin1061.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.11e-07', energy_flux2='8.57e-05', photon_flux_error='4.35e-08', dlogl='2.21e+00', energy_flux='3.48e-05', photon_flux2='6.40e-08', job_status='DONE', time_completed='2021-09-28 05:46:56.901513', photon_index_error2='0.29', photon_index2='1.76', ts='22.11', fit_tolerance='1e-08', GAL='0.73', photon_index_error='0.00', energy_flux_error2='6.00e-05', EG='1.27', time_epoch_completed='1632833216.9', return_code='0', job_id='194064', GAL2='0.70', EG2='1.33', return_code2='0', energy_flux_error='1.36e-05', photon_flux_error2='3.42e-08', ts2='26.60', photon_index='2.44' WHERE bin_id='1061' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:46:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 194064: <4FGL_J2207.5-5346_daily_bin1061> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1061 331.892 -53.7719 514339201 514598401 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 :                                   574.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             299.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   672 sec.
    Turnaround time :                            674 sec.

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

