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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1508
RA = 331.892, Dec = -53.7719
tmin = 630201601, tmax = 630460801
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='196763', job_status='RUN', time_executed='2021-09-28 05:46:16.504062', time_epoch_executed='1632833176.5' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1508'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/196763

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/196763/ft1_4FGL_J2207.5-5346_daily_bin1508.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/196763/ft2_4FGL_J2207.5-5346_daily_bin1508.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/196763/ft1_4FGL_J2207.5-5346_daily_bin1508.fits outfile=/scratch/kocevski/196763/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1508.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=630201601.0 tmax=630460801.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.68
user 3.46
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/196763/ft1_filtered_4FGL_J2207.5-5346_daily_bin1508.fits" evtable="EVENTS" scfile=/scratch/kocevski/196763/ft2_4FGL_J2207.5-5346_daily_bin1508.fits sctable="SC_DATA" outfile=/scratch/kocevski/196763/ltcube_630201601_630460801_4FGL_J2207.5-5346_daily_bin1508.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/196763/ft2_4FGL_J2207.5-5346_daily_bin1508.fits
.....................!
real 12.22
user 11.88
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/196763/ft1_filtered_4FGL_J2207.5-5346_daily_bin1508.fits evtable="EVENTS" scfile=/scratch/kocevski/196763/ft2_4FGL_J2207.5-5346_daily_bin1508.fits sctable="SC_DATA" expcube=/scratch/kocevski/196763/ltcube_630201601_630460801_4FGL_J2207.5-5346_daily_bin1508.fits outfile=/scratch/kocevski/196763/expmap_630201601_630460801_4FGL_J2207.5-5346_daily_bin1508.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/196763/ltcube_630201601_630460801_4FGL_J2207.5-5346_daily_bin1508.fits
.....................!
real 190.06
user 185.14
sys 4.57

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/196763/ft1_filtered_4FGL_J2207.5-5346_daily_bin1508.fits scfile=/scratch/kocevski/196763/ft2_4FGL_J2207.5-5346_daily_bin1508.fits outfile=/scratch/kocevski/196763/cmap_630201601_630460801_4FGL_J2207.5-5346_daily_bin1508.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.52
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/196763/ft1_filtered_4FGL_J2207.5-5346_daily_bin1508.fits scfile=/scratch/kocevski/196763/ft2_4FGL_J2207.5-5346_daily_bin1508.fits outfile=/scratch/kocevski/196763/cmap_HighResolution_630201601_630460801_4FGL_J2207.5-5346_daily_bin1508.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.0374       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.4014       1.0000         .10000E-03   10000.    
     3 'Prefactor '    93.546       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.1177       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .87354E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.200       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .12152E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    94.645       1.0000         .10000E-03   10000.    
    13 'norm      '    3.0557       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .94783       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.9320       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .29705       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    33.886       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.7938       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .53895       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2901       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=   4683.329     FROM MIGRAD    STATUS=CONVERGED    519 CALLS     2467 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0382        4.2731        .13364E-05    .42654E-04
   2  Prefactor     6.3304        30.471       -.41224E-05    .30396E-04
   3  Prefactor     93.547        81.096        .76683E-06    .46367E-04
   4  Prefactor     .10000E-03    132.34        .99524E-06** at limit **
   5  Prefactor     2.1110        12.506       -.16140E-05    .43309E-04
   6  Prefactor     .10000E-03    15.774       -.75998E-07** at limit **
   7  Prefactor     .10000E-03    3.3875        .58819E-06** at limit **
   8  norm          .89389E-01    1.2184        .25751E-06   -.21226E-03
   9  Prefactor     10.193        23.438       -.37493E-06    .71807E-04
  10  Prefactor     .10000E-03    4.5622       -.53099E-06** at limit **
  11  Prefactor     .10000E-03    1.0275       -.11729E-06** at limit **
  12  Prefactor     94.619        98.097        .46620E-06    .91866E-04
  13  norm          3.0569        4.7972        .54153E-07    .10239E-03
  14  Prefactor     .94486        2.9546       -.51954E-06   -.13246E-03
  15  Prefactor     1.9405        5.5297        .76889E-05    .54545E-04
  16  Prefactor     .10586E-03    23.954       -.76627E-05** at limit **
  17  Prefactor     .10000E-03    4.5875       -.13698E-06** at limit **
  18  Prefactor     .10000E-03    46.120       -.11241E-07** at limit **
  19  Prefactor     33.896        29.370       -.36423E-06    .13230E-03
  20  Prefactor     2.7850        10.737       -.62425E-06    .30766E-04
  21  Normalizat    .53972        .21062        .82760E-06    .89150E-03
  22  Prefactor     1.2898        .18223       -.51701E-06    .95872E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.03821
  Prefactor  = 6.3304
  Prefactor  = 93.5472
  Prefactor  = 0.0001
  Prefactor  = 2.11096
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0893888
  Prefactor  = 10.1934
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 94.6186
  norm       = 3.05687
  Prefactor  = 0.944861
  Prefactor  = 1.94047
  Prefactor  = 0.000105859
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.8957
  Prefactor  = 2.78504
  Normalizat = 0.53972
  Prefactor  = 1.28976
 **********
 **   18 **HESSE 
 **********

 FCN=   4683.329     FROM HESSE     STATUS=OK           350 CALLS     2817 TOTAL
                     EDM=   .31E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0382        4.2495        .80650E-03   -1.5359    
   2  Prefactor     6.3304        30.343        .15864E-03   -1.5205    
   3  Prefactor     93.547        81.069        .41552E-04   -1.3771    
   4  Prefactor     .10000E-03    132.36        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.1110        12.517        .28343E-03   -1.5417    
   6  Prefactor     .10000E-03    15.789        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.4372        .12303E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .89389E-01    3.2735        .14469E-02   -1.5648    
   9  Prefactor     10.193        23.426        .12546E-03   -1.5069    
  10  Prefactor     .10000E-03    4.5918        .14275E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.0300        .67754E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     94.619        97.965        .41313E-04   -1.3759    
  13  norm          3.0569        4.7838        .18303E-03   -1.5358    
  14  Prefactor     .94486        2.9120        .19628E-03   -1.5514    
  15  Prefactor     1.9405        5.6772        .12489E-02   -1.5429    
  16  Prefactor     .10586E-03    32.379        .83128E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    4.6179        .14309E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    46.147        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     33.896        29.359        .68839E-04   -1.4543    
  20  Prefactor     2.7850        10.730        .24341E-03   -1.5374    
  21  Normalizat    .53972        .24182        .31386E-03   -1.1061    
  22  Prefactor     1.2898        .20904        .18896E-03   -.83612    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.07005e-08
Minuit parameter uncertainties:
  1  4.24988
  2  27.7414
  3  81.1648
  4  0.000387637
  5  10.2834
  6  2.72241e-05
  7  6.69277e-05
  8  1.08134
  9  23.447
  10  7.55319e-05
  11  7.75976e-06
  12  98.1332
  13  4.78439
  14  2.91243
  15  5.67882
  16  0.027562
  17  1.5482e-05
  18  6.35881e-05
  19  29.3718
  20  10.7378
  21  0.242294
  22  0.209174
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.000e-04  7.760e-06  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.290e+00  2.092e-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.397e-01  2.423e-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: 5.19e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.02e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/196763/likelihoodResults_630201601_630460801_4FGL_J2207.5-5346_daily_bin1508.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) = 4683.33365441
delta logL = -0.00424897368794

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4683.32940522
delta logL = 2.12809027289e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4253       1.0000          .0000       10.000    
     3 'Normalizat'    .53972       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2898       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=   4683.329     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      246 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    19.775        .68097E-02** at limit **
   2  Index         1.9290        5.8329        .50000       -.60124E-06
   3  Normalizat    .53971        .19580E-01    .31386E-03   -.24624E-03
   4  Prefactor     1.2898        .17691E-01    .18896E-03   -.38782E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.92898
  Normalizat = 0.53971
  Prefactor  = 1.28976
 **********
 **   18 **HESSE 
 **********

 FCN=   4683.329     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      275 TOTAL
                     EDM=   .62E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    161.09        .72418E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9290        5.1859        .50000       -.66138    
   3  Normalizat    .53971        .68630E-01    .12554E-04   -1.1061    
   4  Prefactor     1.2898        .62009E-01    .37793E-04   -.83612    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.20933e-09
Minuit parameter uncertainties:
  1  0.000510879
  2  917.683
  3  0.0686409
  4  0.0620121
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/196763': 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) = 4683.32939947
delta logL = 5.96482459514e-06

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.000e-04  5.109e-04  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  1.929e+00  9.177e+02  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.290e+00  6.201e-02  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.397e-01  6.864e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 331.892 -53.772

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/196763/cmap_HighResolution_630201601_630460801_4FGL_J2207.5-5346_daily_bin1508.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.02e-03', job_status='DONE', photon_flux_upper_limit='5.19e-08', time_completed='2021-09-28 05:55:37.566670', job_id='196763', GAL2='1.29', fit_tolerance='1e-08', EG2='0.54', EG='0.54', time_epoch_completed='1632833737.57', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.29', dlogl='5.96e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='1508' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:55:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0249>
Subject: Job 196763: <4FGL_J2207.5-5346_daily_bin1508> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin1508> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 28 05:45:18 2021
Job was executed on host(s) <bullet0249>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:45:20 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:45:20 2021
Terminated at Tue Sep 28 05:55:38 2021
Results reported at Tue Sep 28 05:55:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1508 331.892 -53.7719 630201601 630460801 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 :                                   559.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             315.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   617 sec.
    Turnaround time :                            620 sec.

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

