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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1263
RA = 331.892, Dec = -53.7719
tmin = 566697601, tmax = 566956801
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='195408', job_status='RUN', time_executed='2021-09-28 05:41:07.814123', time_epoch_executed='1632832867.81' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1263'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/195408

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/195408/ft1_4FGL_J2207.5-5346_daily_bin1263.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/195408/ft2_4FGL_J2207.5-5346_daily_bin1263.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/195408/ft1_4FGL_J2207.5-5346_daily_bin1263.fits outfile=/scratch/kocevski/195408/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1263.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=566697601.0 tmax=566956801.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 1.98
user 1.78
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/195408/ft2_4FGL_J2207.5-5346_daily_bin1263.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/195408/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1263.fits evtable="EVENTS" outfile="/scratch/kocevski/195408/ft1_filtered_4FGL_J2207.5-5346_daily_bin1263.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/195408/ft1_filtered_4FGL_J2207.5-5346_daily_bin1263.fits" evtable="EVENTS" scfile=/scratch/kocevski/195408/ft2_4FGL_J2207.5-5346_daily_bin1263.fits sctable="SC_DATA" outfile=/scratch/kocevski/195408/ltcube_566697601_566956801_4FGL_J2207.5-5346_daily_bin1263.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/195408/ft2_4FGL_J2207.5-5346_daily_bin1263.fits
.....................!
real 12.67
user 12.32
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/195408/ft1_filtered_4FGL_J2207.5-5346_daily_bin1263.fits evtable="EVENTS" scfile=/scratch/kocevski/195408/ft2_4FGL_J2207.5-5346_daily_bin1263.fits sctable="SC_DATA" expcube=/scratch/kocevski/195408/ltcube_566697601_566956801_4FGL_J2207.5-5346_daily_bin1263.fits outfile=/scratch/kocevski/195408/expmap_566697601_566956801_4FGL_J2207.5-5346_daily_bin1263.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/195408/ltcube_566697601_566956801_4FGL_J2207.5-5346_daily_bin1263.fits
.....................!
real 191.18
user 186.31
sys 4.51

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/195408/ft1_filtered_4FGL_J2207.5-5346_daily_bin1263.fits scfile=/scratch/kocevski/195408/ft2_4FGL_J2207.5-5346_daily_bin1263.fits outfile=/scratch/kocevski/195408/cmap_566697601_566956801_4FGL_J2207.5-5346_daily_bin1263.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=331.892 yref=-53.7719 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/195408/ft1_filtered_4FGL_J2207.5-5346_daily_bin1263.fits scfile=/scratch/kocevski/195408/ft2_4FGL_J2207.5-5346_daily_bin1263.fits outfile=/scratch/kocevski/195408/cmap_HighResolution_566697601_566956801_4FGL_J2207.5-5346_daily_bin1263.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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/195408/ft1_filtered_4FGL_J2207.5-5346_daily_bin1263.fits evtable="EVENTS" scfile=/scratch/kocevski/195408/ft2_4FGL_J2207.5-5346_daily_bin1263.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/195408/Model_4FGL_J2207.5-5346_daily_bin1263.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/195408/ft1_filtered_4FGL_J2207.5-5346_daily_bin1263.fits.....................!
real 43.10
user 41.74
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.8260       1.0000         .10000E-03   10000.    
     2 'Prefactor '    55.178       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10215E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    167.66       1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.445       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10164E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.9697       1.0000         .10000E-03   10000.    
     8 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .19661E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .28458       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10177E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .14512E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    14.415       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .71326       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1872       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=   5568.477     FROM MIGRAD    STATUS=CONVERGED    487 CALLS     2424 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.8254        14.654       -.14676E-04   -.15073E-03
   2  Prefactor     55.244        92.866        .77642E-04    .20558E-04
   3  Prefactor     .10000E-03    25.096       -.93460E-06** at limit **
   4  Prefactor     167.71        149.38        .36081E-04    .15463E-05
   5  Prefactor     15.448        12.794       -.25045E-06   -.30133E-04
   6  Prefactor     .10000E-03    17.571       -.55730E-05** at limit **
   7  Prefactor     2.9691        6.4375       -.39751E-05   -.60176E-03
   8  norm          .10000E-03    .14166       -.49328E-07** at limit **
   9  Prefactor     .10000E-03    21.955        .14584E-04** at limit **
  10  Prefactor     .10000E-03    5.7664       -.19855E-07** at limit **
  11  Prefactor     .10000E-03    2.5116        .52358E-06** at limit **
  12  Prefactor     .10000E-03    37.878       -.24904E-05** at limit **
  13  norm          .10000E-03    1.8599       -.46078E-07** at limit **
  14  Prefactor     .28738        1.9420        .43700E-06   -.51094E-03
  15  Prefactor     .10000E-03    5.8306        .82239E-07** at limit **
  16  Prefactor     .10058E-03    25.519       -.12497E-05** at limit **
  17  Prefactor     14.409        12.660        .45307E-06    .10732E-03
  18  Prefactor     .10000E-03    40.641        .15679E-04** at limit **
  19  Prefactor     .10000E-03    37.143       -.61137E-05** at limit **
  20  Prefactor     .10000E-03    26.659       -.12897E-04** at limit **
  21  Normalizat    .71293        .19234       -.51654E-06   -.35282E-04
  22  Prefactor     1.1873        .15828       -.20794E-05    .14148E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.82542
  Prefactor  = 55.2441
  Prefactor  = 0.0001
  Prefactor  = 167.709
  Prefactor  = 15.4484
  Prefactor  = 0.0001
  Prefactor  = 2.9691
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.287378
  Prefactor  = 0.0001
  Prefactor  = 0.000100576
  Prefactor  = 14.409
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 0.712934
  Prefactor  = 1.18735
 **********
 **   18 **HESSE 
 **********

 FCN=   5568.477     FROM HESSE     STATUS=OK           342 CALLS     2766 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.8254        14.661        .14334E-03   -1.5148    
   2  Prefactor     55.244        92.905        .54000E-04   -1.4220    
   3  Prefactor     .10000E-03    25.100        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     167.71        149.28        .15577E-03   -1.3111    
   5  Prefactor     15.448        12.780        .10191E-03   -1.4922    
   6  Prefactor     .10000E-03    17.598        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.9691        6.4424        .23562E-03   -1.5363    
   8  norm          .10000E-03    .14373        .27420E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    21.998        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.8149        .17486E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    13.881        .22197E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    37.886        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.8603        .99387E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .28738        12.244        .19612E-02   -1.5601    
  15  Prefactor     .10000E-03    6.0586        .35121E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10058E-03    159.16        .63696E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     14.409        11.610        .10549E-03   -1.4949    
  18  Prefactor     .10000E-03    40.637        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    37.231        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    27.433        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .71293        .21518        .28946E-03   -1.0338    
  22  Prefactor     1.1873        .18255        .19790E-03   -.86722    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.28457e-09
Minuit parameter uncertainties:
  1  14.6673
  2  93.1498
  3  0.00010825
  4  149.62
  5  12.7824
  6  3.16552e-05
  7  6.44392
  8  1.32706e-06
  9  3.23263e-05
  10  1.92623e-05
  11  0.000101225
  12  2.04521e-05
  13  7.97577e-07
  14  3.75182
  15  4.51095e-05
  16  0.0192041
  17  11.6115
  18  1.67453e-05
  19  9.54908e-05
  20  0.000367728
  21  0.215437
  22  0.18265
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.000e-04  1.012e-04  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.187e+00  1.826e-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.129e-01  2.154e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/195408/likelihoodResults_566697601_566956801_4FGL_J2207.5-5346_daily_bin1263.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): 102
logL (Free Index) = 5568.47742959
delta logL = -0.000342795833603

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5568.47696477
delta logL = 0.000122026318422

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26772E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5899       1.0000          .0000       10.000    
     3 'Normalizat'    .71327       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1871       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=   5566.774     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      262 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11129        1.0765        .33589E-02    .89625E-02
   2  Index         5.2882        2.8292        .11112        .27687E-03
   3  Normalizat    .59238        .52413E-01    .71181E-01    .74611E-03
   4  Prefactor     1.2439        .45201E-01    .34944E-01    .71566E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.111289
  Index      = 5.28817
  Normalizat = 0.592381
  Prefactor  = 1.24385
 **********
 **   18 **HESSE 
 **********

 FCN=   5566.774     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      291 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11129        2.1316        .15160E-04   -1.5641    
   2  Index         5.2882        4.1190        .44008E-02    .57666E-01
   3  Normalizat    .59238        .19391        .31506E-03   -1.0831    
   4  Prefactor     1.2439        .16455        .19370E-03   -.84992    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.06539e-09
Minuit parameter uncertainties:
  1  0.973707
  2  4.84447
  3  0.19413
  4  0.164616
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/195408': 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): 102
logL (Free Index) = 5566.77363006
delta logL = 1.70345673075

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.113e-01  9.737e-01  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  5.288e+00  4.844e+00  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.244e+00  1.646e-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:  5.924e-01  1.941e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.67
Ra Dec: 331.892 -53.772
Photon Index (Free Index): 5.29 +/- 4.84
Photon Flux (Free Index): 1.04e-07 +/- 6.72e-08
Energy Flux (Free Index): 1.36e-05 +/- 1.08e-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/195408/cmap_HighResolution_566697601_566956801_4FGL_J2207.5-5346_daily_bin1263.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.58e-03', comment='SUCCESS', energy_flux2='1.36e-05', dlogl='1.70e+00', photon_flux2='1.04e-07', job_status='DONE', time_completed='2021-09-28 05:51:11.278366', photon_index_error2='4.84', photon_index2='5.29', ts='-0.00', fit_tolerance='1e-08', GAL='1.19', photon_index_error='0.00', photon_flux_upper_limit='9.78e-08', energy_flux_error2='1.08e-05', EG='0.71', time_epoch_completed='1632833471.28', return_code='0', job_id='195408', GAL2='1.24', EG2='0.59', return_code2='102', photon_flux_error2='6.72e-08', ts2='3.67', photon_index='2.44' WHERE bin_id='1263' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:51:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0218>
Subject: Job 195408: <4FGL_J2207.5-5346_daily_bin1263> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1263 331.892 -53.7719 566697601 566956801 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 :                                   588.26 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             341.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   631 sec.
    Turnaround time :                            634 sec.

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

