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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1423
RA = 331.892, Dec = -53.7719
tmin = 608169601, tmax = 608428801
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='195657', job_status='RUN', time_executed='2021-09-28 05:44:15.673622', time_epoch_executed='1632833055.67' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1423'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/195657

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/195657/ft1_4FGL_J2207.5-5346_daily_bin1423.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/195657/ft2_4FGL_J2207.5-5346_daily_bin1423.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/195657/ft1_4FGL_J2207.5-5346_daily_bin1423.fits outfile=/scratch/kocevski/195657/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1423.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=608169601.0 tmax=608428801.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.70
user 3.48
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/195657/ft1_filtered_4FGL_J2207.5-5346_daily_bin1423.fits" evtable="EVENTS" scfile=/scratch/kocevski/195657/ft2_4FGL_J2207.5-5346_daily_bin1423.fits sctable="SC_DATA" outfile=/scratch/kocevski/195657/ltcube_608169601_608428801_4FGL_J2207.5-5346_daily_bin1423.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/195657/ft2_4FGL_J2207.5-5346_daily_bin1423.fits
.....................!
real 12.16
user 11.77
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/195657/ft1_filtered_4FGL_J2207.5-5346_daily_bin1423.fits evtable="EVENTS" scfile=/scratch/kocevski/195657/ft2_4FGL_J2207.5-5346_daily_bin1423.fits sctable="SC_DATA" expcube=/scratch/kocevski/195657/ltcube_608169601_608428801_4FGL_J2207.5-5346_daily_bin1423.fits outfile=/scratch/kocevski/195657/expmap_608169601_608428801_4FGL_J2207.5-5346_daily_bin1423.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/195657/ltcube_608169601_608428801_4FGL_J2207.5-5346_daily_bin1423.fits
.....................!
real 190.80
user 185.66
sys 4.78

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/195657/ft1_filtered_4FGL_J2207.5-5346_daily_bin1423.fits scfile=/scratch/kocevski/195657/ft2_4FGL_J2207.5-5346_daily_bin1423.fits outfile=/scratch/kocevski/195657/cmap_608169601_608428801_4FGL_J2207.5-5346_daily_bin1423.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/195657/ft1_filtered_4FGL_J2207.5-5346_daily_bin1423.fits scfile=/scratch/kocevski/195657/ft2_4FGL_J2207.5-5346_daily_bin1423.fits outfile=/scratch/kocevski/195657/cmap_HighResolution_608169601_608428801_4FGL_J2207.5-5346_daily_bin1423.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/195657/ft1_filtered_4FGL_J2207.5-5346_daily_bin1423.fits evtable="EVENTS" scfile=/scratch/kocevski/195657/ft2_4FGL_J2207.5-5346_daily_bin1423.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/195657/Model_4FGL_J2207.5-5346_daily_bin1423.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/195657/ft1_filtered_4FGL_J2207.5-5346_daily_bin1423.fits.....................!
real 51.53
user 50.21
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1698       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.635       1.0000         .10000E-03   10000.    
     4 'Prefactor '    22.711       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.7180       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    76.211       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.3358       1.0000         .10000E-03   10000.    
    12 'Prefactor '    125.89       1.0000         .10000E-03   10000.    
    13 'norm      '    8.5314       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .62080       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .20933       1.0000         .10000E-03   10000.    
    16 'Prefactor '    29.813       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .19214E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .92392       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .83091       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=   6927.108     FROM MIGRAD    STATUS=CONVERGED    501 CALLS     2473 TOTAL
                     EDM=   .91E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1698        1.6560       -.38932E-06   -.35223E-03
   2  Prefactor     .10000E-03    16.700        .61661E-07** at limit **
   3  Prefactor     10.638        46.660       -.36570E-05   -.29406E-04
   4  Prefactor     22.707        52.893       -.47981E-07    .87078E-05
   5  Prefactor     6.7177        6.2199       -.30152E-06   -.64926E-04
   6  Prefactor     .10000E-03    41.247       -.43207E-05** at limit **
   7  Prefactor     .10000E-03    3.7901        .17575E-06** at limit **
   8  norm          .10000E-03    .28878       -.19992E-07** at limit **
   9  Prefactor     76.220        33.100       -.13600E-06   -.83243E-04
  10  Prefactor     .10000E-03    4.5736        .13736E-05** at limit **
  11  Prefactor     3.3363        3.3904       -.34699E-06   -.11350E-03
  12  Prefactor     125.86        86.472        .63045E-06    .32378E-04
  13  norm          8.5317        6.2972        .10062E-06    .11060E-03
  14  Prefactor     .62109        1.3208        .55640E-06    .35651E-03
  15  Prefactor     .20246        14.045       -.21748E-05   -.64790E-03
  16  Prefactor     29.817        25.691        .14711E-05    .41990E-03
  17  Prefactor     .10170E-03    34.291       -.53687E-05** at limit **
  18  Prefactor     .10000E-03    32.258        .54392E-06** at limit **
  19  Prefactor     .10000E-03    17.329       -.36572E-06** at limit **
  20  Prefactor     .10000E-03    3.5438       -.21749E-07** at limit **
  21  Normalizat    .92392        .16848       -.12740E-05    .16417E-03
  22  Prefactor     .83091        .12537        .95045E-06    .12883E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.16981
  Prefactor  = 0.0001
  Prefactor  = 10.6377
  Prefactor  = 22.7075
  Prefactor  = 6.71773
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 76.2199
  Prefactor  = 0.0001
  Prefactor  = 3.33633
  Prefactor  = 125.864
  norm       = 8.53173
  Prefactor  = 0.621086
  Prefactor  = 0.202462
  Prefactor  = 29.8175
  Prefactor  = 0.000101704
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.923919
  Prefactor  = 0.830909
 **********
 **   18 **HESSE 
 **********

 FCN=   6927.108     FROM HESSE     STATUS=OK           352 CALLS     2825 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1698        1.6258        .12348E-03   -1.5492    
   2  Prefactor     .10000E-03    16.870        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     10.638        46.074        .12286E-03   -1.5056    
   4  Prefactor     22.707        52.890        .84050E-04   -1.4755    
   5  Prefactor     6.7177        6.2406        .15481E-03   -1.5190    
   6  Prefactor     .10000E-03    41.573        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.9459        .31616E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .53338        .86270E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     76.220        33.181        .45996E-04   -1.3960    
  10  Prefactor     .10000E-03    4.6025        .17349E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.3363        3.3989        .14623E-03   -1.5343    
  12  Prefactor     125.86        86.619        .17939E-03   -1.3459    
  13  norm          8.5317        6.2988        .13724E-03   -1.5124    
  14  Prefactor     .62109        1.3183        .16516E-02   -1.5550    
  15  Prefactor     .20246        17.280        .23703E-02   -1.5618    
  16  Prefactor     29.817        24.679        .73378E-04   -1.4615    
  17  Prefactor     .10170E-03    121.53        .36717E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    32.442        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    17.384        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.5490        .15302E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .92392        .19038        .24614E-03   -.95625    
  22  Prefactor     .83091        .14351        .20190E-03   -.98599    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58407e-08
Minuit parameter uncertainties:
  1  1.62582
  2  5.16381e-05
  3  44.3348
  4  52.9991
  5  6.2412
  6  0.000465486
  7  1.67439e-05
  8  3.40853e-06
  9  33.1888
  10  5.13569e-05
  11  3.39913
  12  86.7066
  13  6.29924
  14  1.31835
  15  3.7411
  16  24.6872
  17  0.0288393
  18  0.00018073
  19  6.92008e-05
  20  5.01354e-08
  21  0.190516
  22  0.143575
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  3.336e+00  3.399e+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:  8.309e-01  1.436e-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:  9.239e-01  1.905e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.67
Ra Dec: 331.892 -53.772
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 3.06e-08 +/- 3.12e-08
Energy Flux (Fixed Index): 9.58e-06 +/- 9.76e-06

TS (Fixed Index): 1.67
Ra Dec: 331.892 -53.772
Photon Flux Upper Limit: 1.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.82e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/195657/likelihoodResults_608169601_608428801_4FGL_J2207.5-5346_daily_bin1423.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): 0
logL (Free Index) = 6926.14496035
delta logL = 0.962614980686

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6926.08904986
delta logL = 1.01852547051

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .67176       1.0000         .10000E-03   10000.    
     2 'Index     '    4.1386       1.0000          .0000       10.000    
     3 'Normalizat'    .85163       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86727       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=   6926.089     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      290 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .66958        4.9906        .85996E-02    .95932E-03
   2  Index         4.1403        2.5721        .12931        .14466E-03
   3  Normalizat    .85173        .41375E-01    .44280E-01   -.79337E-05
   4  Prefactor     .86722        .32308E-01    .44586E-01    .15751E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.669577
  Index      = 4.14026
  Normalizat = 0.85173
  Prefactor  = 0.867217
 **********
 **   18 **HESSE 
 **********

 FCN=   6926.089     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      323 TOTAL
                     EDM=   .41E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .66958        11.224        .38817E-04   -1.5544    
   2  Index         4.1403        6.8920        .47706E-02   -.17281    
   3  Normalizat    .85173        .18036        .25484E-03   -.98178    
   4  Prefactor     .86722        .13850        .19797E-03   -.97296    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.05954e-07
Minuit parameter uncertainties:
  1  5.48358
  2  5.01515
  3  0.180485
  4  0.138557
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/195657': 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) = 6926.08904857
delta logL = 1.01852675957

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  6.696e-01  5.484e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  4.140e+00  5.015e+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:  8.672e-01  1.386e-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:  8.517e-01  1.805e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.92
Ra Dec: 331.892 -53.772
Photon Index (Free Index): 4.14 +/- 5.02
Photon Flux (Free Index): 8.57e-08 +/- 5.62e-08
Energy Flux (Free Index): 1.26e-05 +/- 9.43e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/195657/cmap_HighResolution_608169601_608428801_4FGL_J2207.5-5346_daily_bin1423.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.82e-03', comment='SUCCESS', photon_flux='3.06e-08', energy_flux2='1.26e-05', photon_flux_error='3.12e-08', dlogl='1.02e+00', energy_flux='9.58e-06', photon_flux2='8.57e-08', job_status='DONE', time_completed='2021-09-28 05:56:40.586990', photon_index_error2='5.02', photon_index2='4.14', ts='1.67', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', photon_flux_upper_limit='1.01e-07', energy_flux_error2='9.43e-06', EG='0.92', time_epoch_completed='1632833800.59', return_code='0', job_id='195657', GAL2='0.87', EG2='0.85', return_code2='102', energy_flux_error='9.76e-06', photon_flux_error2='5.62e-08', ts2='3.92', photon_index='2.44' WHERE bin_id='1423' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:56:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 195657: <4FGL_J2207.5-5346_daily_bin1423> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin1423> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 05:41:00 2021
Job was executed on host(s) <bullet0085>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:41:01 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:41:01 2021
Terminated at Tue Sep 28 05:56:41 2021
Results reported at Tue Sep 28 05:56:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1423 331.892 -53.7719 608169601 608428801 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 :                                   691.03 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             281.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   939 sec.
    Turnaround time :                            941 sec.

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

