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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1289
RA = 331.892, Dec = -53.7719
tmin = 573436801, tmax = 573696001
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='195450', job_status='RUN', time_executed='2021-09-28 05:42:19.808200', time_epoch_executed='1632832939.81' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1289'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/195450

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/195450/ft1_4FGL_J2207.5-5346_daily_bin1289.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/195450/ft2_4FGL_J2207.5-5346_daily_bin1289.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/195450/ft1_4FGL_J2207.5-5346_daily_bin1289.fits outfile=/scratch/kocevski/195450/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1289.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=573436801.0 tmax=573696001.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 5.37
user 5.11
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/195450/ft1_filtered_4FGL_J2207.5-5346_daily_bin1289.fits" evtable="EVENTS" scfile=/scratch/kocevski/195450/ft2_4FGL_J2207.5-5346_daily_bin1289.fits sctable="SC_DATA" outfile=/scratch/kocevski/195450/ltcube_573436801_573696001_4FGL_J2207.5-5346_daily_bin1289.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/195450/ft2_4FGL_J2207.5-5346_daily_bin1289.fits
.....................!
real 11.66
user 11.31
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/195450/ft1_filtered_4FGL_J2207.5-5346_daily_bin1289.fits evtable="EVENTS" scfile=/scratch/kocevski/195450/ft2_4FGL_J2207.5-5346_daily_bin1289.fits sctable="SC_DATA" expcube=/scratch/kocevski/195450/ltcube_573436801_573696001_4FGL_J2207.5-5346_daily_bin1289.fits outfile=/scratch/kocevski/195450/expmap_573436801_573696001_4FGL_J2207.5-5346_daily_bin1289.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/195450/ltcube_573436801_573696001_4FGL_J2207.5-5346_daily_bin1289.fits
.....................!
real 191.31
user 186.02
sys 4.47

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/195450/ft1_filtered_4FGL_J2207.5-5346_daily_bin1289.fits scfile=/scratch/kocevski/195450/ft2_4FGL_J2207.5-5346_daily_bin1289.fits outfile=/scratch/kocevski/195450/cmap_573436801_573696001_4FGL_J2207.5-5346_daily_bin1289.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.37
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/195450/ft1_filtered_4FGL_J2207.5-5346_daily_bin1289.fits evtable="EVENTS" scfile=/scratch/kocevski/195450/ft2_4FGL_J2207.5-5346_daily_bin1289.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/195450/Model_4FGL_J2207.5-5346_daily_bin1289.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/195450/ft1_filtered_4FGL_J2207.5-5346_daily_bin1289.fits.....................!
real 44.00
user 42.62
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10457E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    66.979       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.1120       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    23.153       1.0000         .10000E-03   10000.    
     6 'Prefactor '    19.861       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10085E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    86.218       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10756E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.9579       1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.438       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.213       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .14154       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.7691       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .83012E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    71.163       1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.0285       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .91155       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2234       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5212.759     FROM MIGRAD    STATUS=CONVERGED    113 CALLS     2033 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.7637       -.29071E-05** at limit **
   2  Prefactor     66.957        6.4796       -.25455E-06   -.51189E-03
   3  Prefactor     3.3335        101.92        .12212E-04    .39366E-02
   4  Prefactor     .10000E-03    43.348       -.46991E-04** at limit **
   5  Prefactor     23.153        12.945        .22404E-04    .64567E-02
   6  Prefactor     19.840        24.848       -.18504E-05   -.38752E-02
   7  Prefactor     .10000E-03    3.5157        .24450E-06** at limit **
   8  norm          .10000E-03    .41470       -.12775E-06** at limit **
   9  Prefactor     86.214        1.3776       -.22715E-06    .27865E-02
  10  Prefactor     .10000E-03    5.2678        .14185E-05** at limit **
  11  Prefactor     3.9575        4.2416       -.11853E-06    .71771E-04
  12  Prefactor     13.676        35.701        .12141E-04    .22259E-02
  13  norm          .10000E-03    4.8179        .21392E-06** at limit **
  14  Prefactor     10.213        5.8123       -.11725E-05    .76695E-03
  15  Prefactor     .10000E-03    2.4785        .16682E-05** at limit **
  16  Prefactor     .17986E-01    1300.2       -.11162E-03    .13225E-02
  17  Prefactor     1.7612        19.911        .22762E-05    .65324E-04
  18  Prefactor     .29330E-03    139.23       -.35071E-04** at limit **
  19  Prefactor     71.152        3.9501        .27730E-06   -.45188E-02
  20  Prefactor     4.0202        13.720        .95681E-05   -.61521E-02
  21  Normalizat    .91190        .27340       -.29749E-04    .18106E-03
  22  Prefactor     1.2230        .20474        .94894E-05    .15299E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 66.9569
  Prefactor  = 3.33346
  Prefactor  = 0.0001
  Prefactor  = 23.1534
  Prefactor  = 19.8399
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 86.2142
  Prefactor  = 0.0001
  Prefactor  = 3.95748
  Prefactor  = 13.6761
  norm       = 0.0001
  Prefactor  = 10.2129
  Prefactor  = 0.0001
  Prefactor  = 0.0179864
  Prefactor  = 1.76118
  Prefactor  = 0.000293296
  Prefactor  = 71.1523
  Prefactor  = 4.02018
  Normalizat = 0.911897
  Prefactor  = 1.22299
 **********
 **   18 **HESSE 
 **********

 FCN=   5212.759     FROM HESSE     STATUS=OK           412 CALLS     2445 TOTAL
                     EDM=   .27E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.9170        .38993E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     66.957        33.116        .12260E-02   -1.4070    
   3  Prefactor     3.3335        250.29        .57463E-02   -1.5343    
   4  Prefactor     .10000E-03    43.285        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     23.153        13.017        .20811E-02   -1.4745    
   6  Prefactor     19.840        35.001        .22468E-02   -1.4817    
   7  Prefactor     .10000E-03    3.4465        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .33731        .19976E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     86.214        54.064        .10817E-02   -1.3848    
  10  Prefactor     .10000E-03    5.2340        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.9575        4.2602        .50689E-02   -1.5310    
  12  Prefactor     13.676        99.318        .27316E-02   -1.4968    
  13  norm          .10000E-03    4.8074        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.213        5.8061        .31345E-02   -1.5069    
  15  Prefactor     .10000E-03    2.4782        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .17986E-01    41.607        .12019       -1.5681    
  17  Prefactor     1.7612        25.929        .78717E-02   -1.5443    
  18  Prefactor     .29330E-03    97.173        .21864       -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     71.152        56.543        .11897E-02   -1.4019    
  20  Prefactor     4.0202        35.562        .50228E-02   -1.5307    
  21  Normalizat    .91190        .24613        .71023E-01   -.96043    
  22  Prefactor     1.2230        .18083        .34100E-01   -.85627    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.67085e-06
Minuit parameter uncertainties:
  1  6.94279e-06
  2  33.1253
  3  58.0222
  4  0.000197512
  5  13.0187
  6  35.037
  7  3.08763e-06
  8  2.53344e-07
  9  54.095
  10  3.99502e-06
  11  4.26057
  12  73.8829
  13  5.1473e-06
  14  5.80645
  15  1.30674e-07
  16  1.72654
  17  13.5219
  18  0.274549
  19  56.5862
  20  23.9325
  21  0.246432
  22  0.180917
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  3.957e+00  4.261e+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:  1.223e+00  1.809e-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.119e-01  2.464e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.50
Ra Dec: 331.892 -53.772
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 3.63e-08 +/- 3.91e-08
Energy Flux (Fixed Index): 1.14e-05 +/- 1.22e-05

TS (Fixed Index): 1.50
Ra Dec: 331.892 -53.772
Photon Flux Upper Limit: 1.32e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.02e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/195450/likelihoodResults_573436801_573696001_4FGL_J2207.5-5346_daily_bin1289.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) = 5212.68479357
delta logL = 0.0743210294095

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5212.67952239
delta logL = 0.079592213986

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.3851       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0927       1.0000          .0000       10.000    
     3 'Normalizat'    .92522       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2167       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=   5212.680     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      204 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.3874        225.16        .48083E-02    .13463E-03
   2  Index         2.0928        5.2206        .25281       -.32324E-05
   3  Normalizat    .92521        .14971        .70555E-01    .14622E-04
   4  Prefactor     1.2168        .91039E-01    .34247E-01   -.85414E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.38741
  Index      = 2.09284
  Normalizat = 0.925211
  Prefactor  = 1.21676
 **********
 **   18 **HESSE 
 **********

 FCN=   5212.680     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .77E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.3874        4.7584        .15878E-03   -1.5289    
   2  Index         2.0928        .81844        .10515E-01   -.62049    
   3  Normalizat    .92521        .26132        .31216E-03   -.95580    
   4  Prefactor     1.2168        .20274        .21456E-03   -.85817    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.74136e-12
Minuit parameter uncertainties:
  1  4.75878
  2  0.824063
  3  0.261679
  4  0.20287
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/195450': 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) = 5212.67952224
delta logL = 0.0795923620426

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  4.387e+00  4.759e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  2.093e+00  8.241e-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:  1.217e+00  2.029e-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.252e-01  2.617e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.65
Ra Dec: 331.892 -53.772
Photon Index (Free Index): 2.09 +/- 0.82
Photon Flux (Free Index): 2.66e-08 +/- 3.77e-08
Energy Flux (Free Index): 1.48e-05 +/- 2.07e-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/195450/cmap_HighResolution_573436801_573696001_4FGL_J2207.5-5346_daily_bin1289.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.02e-02', comment='SUCCESS', photon_flux='3.63e-08', energy_flux2='1.48e-05', photon_flux_error='3.91e-08', dlogl='7.96e-02', energy_flux='1.14e-05', photon_flux2='2.66e-08', job_status='DONE', time_completed='2021-09-28 05:52:14.015963', photon_index_error2='0.82', photon_index2='2.09', ts='1.50', fit_tolerance='1e-08', GAL='1.22', photon_index_error='0.00', photon_flux_upper_limit='1.32e-07', energy_flux_error2='2.07e-05', EG='0.91', time_epoch_completed='1632833534.02', return_code='0', job_id='195450', GAL2='1.22', EG2='0.93', return_code2='0', energy_flux_error='1.22e-05', photon_flux_error2='3.77e-08', ts2='1.65', photon_index='2.44' WHERE bin_id='1289' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:52:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 195450: <4FGL_J2207.5-5346_daily_bin1289> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1289 331.892 -53.7719 573436801 573696001 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 :                                   576.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             320.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   691 sec.
    Turnaround time :                            692 sec.

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

