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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1426
RA = 331.892, Dec = -53.7719
tmin = 608947201, tmax = 609206401
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='196645', job_status='RUN', time_executed='2021-09-28 05:46:26.097078', time_epoch_executed='1632833186.1' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1426'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/196645

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/196645/ft1_4FGL_J2207.5-5346_daily_bin1426.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/196645/ft2_4FGL_J2207.5-5346_daily_bin1426.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/196645/ft1_4FGL_J2207.5-5346_daily_bin1426.fits outfile=/scratch/kocevski/196645/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1426.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=608947201.0 tmax=609206401.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.14
user 2.91
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/196645/ft2_4FGL_J2207.5-5346_daily_bin1426.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/196645/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1426.fits evtable="EVENTS" outfile="/scratch/kocevski/196645/ft1_filtered_4FGL_J2207.5-5346_daily_bin1426.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/196645/ft1_filtered_4FGL_J2207.5-5346_daily_bin1426.fits" evtable="EVENTS" scfile=/scratch/kocevski/196645/ft2_4FGL_J2207.5-5346_daily_bin1426.fits sctable="SC_DATA" outfile=/scratch/kocevski/196645/ltcube_608947201_609206401_4FGL_J2207.5-5346_daily_bin1426.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/196645/ft2_4FGL_J2207.5-5346_daily_bin1426.fits
.....................!
real 12.34
user 11.98
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/196645/ft1_filtered_4FGL_J2207.5-5346_daily_bin1426.fits evtable="EVENTS" scfile=/scratch/kocevski/196645/ft2_4FGL_J2207.5-5346_daily_bin1426.fits sctable="SC_DATA" expcube=/scratch/kocevski/196645/ltcube_608947201_609206401_4FGL_J2207.5-5346_daily_bin1426.fits outfile=/scratch/kocevski/196645/expmap_608947201_609206401_4FGL_J2207.5-5346_daily_bin1426.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/196645/ltcube_608947201_609206401_4FGL_J2207.5-5346_daily_bin1426.fits
.....................!
real 190.48
user 185.32
sys 4.79

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/196645/ft1_filtered_4FGL_J2207.5-5346_daily_bin1426.fits scfile=/scratch/kocevski/196645/ft2_4FGL_J2207.5-5346_daily_bin1426.fits outfile=/scratch/kocevski/196645/cmap_608947201_609206401_4FGL_J2207.5-5346_daily_bin1426.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.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/196645/ft1_filtered_4FGL_J2207.5-5346_daily_bin1426.fits evtable="EVENTS" scfile=/scratch/kocevski/196645/ft2_4FGL_J2207.5-5346_daily_bin1426.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/196645/Model_4FGL_J2207.5-5346_daily_bin1426.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/196645/ft1_filtered_4FGL_J2207.5-5346_daily_bin1426.fits.....................!
real 70.25
user 68.91
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.0870       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    89.384       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.8532       1.0000         .10000E-03   10000.    
     6 'Prefactor '    31.022       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .38203E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .43141       1.0000         .10000E-03   10000.    
     9 'Prefactor '    39.040       1.0000         .10000E-03   10000.    
    10 'Prefactor '    16.120       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.5181       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10402E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.9576       1.0000         .10000E-03   10000.    
    18 'Prefactor '    53.619       1.0000         .10000E-03   10000.    
    19 'Prefactor '    24.351       1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.710       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .98829       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0801       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=   10169.37     FROM MIGRAD    STATUS=CONVERGED    476 CALLS     2387 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.0868        2.8154        .24286E-08   -.84070E-05
   2  Prefactor     .10000E-03    10.989       -.14511E-06** at limit **
   3  Prefactor     .10000E-03    8.5991       -.24715E-06** at limit **
   4  Prefactor     89.369        75.519       -.12588E-04   -.37730E-04
   5  Prefactor     2.8535        1.9975        .29018E-06   -.22686E-02
   6  Prefactor     31.025        18.005        .75250E-07    .83379E-05
   7  Prefactor     .10000E-03    1.3431       -.69803E-07** at limit **
   8  norm          .43100        .57742        .71460E-07    .55782E-03
   9  Prefactor     39.046        33.188        .46074E-05    .31371E-04
  10  Prefactor     16.113        8.7961       -.20775E-05   -.78813E-04
  11  Prefactor     1.5175        3.3027        .32839E-06   -.15615E-03
  12  Prefactor     .10000E-03    62.821       -.42443E-06** at limit **
  13  norm          .10000E-03    4.6432       -.17012E-06** at limit **
  14  Prefactor     .10000E-03    .63047        .85080E-08** at limit **
  15  Prefactor     .10000E-03    1.2649        .48416E-07** at limit **
  16  Prefactor     .10000E-03    28.218       -.32379E-06** at limit **
  17  Prefactor     6.9606        8.6551        .11304E-05    .57978E-05
  18  Prefactor     53.621        65.289        .21606E-05    .64749E-05
  19  Prefactor     24.351        26.506       -.36176E-06   -.19423E-05
  20  Prefactor     10.708        11.603       -.69800E-07   -.17828E-03
  21  Normalizat    .98839        .15914       -.34201E-06    .36344E-04
  22  Prefactor     1.0801        .12351        .67624E-06   -.58590E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.08681
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 89.3691
  Prefactor  = 2.85354
  Prefactor  = 31.0253
  Prefactor  = 0.0001
  norm       = 0.431
  Prefactor  = 39.0457
  Prefactor  = 16.113
  Prefactor  = 1.51748
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.96065
  Prefactor  = 53.6207
  Prefactor  = 24.3507
  Prefactor  = 10.7084
  Normalizat = 0.988391
  Prefactor  = 1.0801
 **********
 **   18 **HESSE 
 **********

 FCN=   10169.37     FROM HESSE     STATUS=OK           348 CALLS     2735 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.0868        2.8199        .10235E-03   -1.5175    
   2  Prefactor     .10000E-03    11.068        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    8.6014        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     89.369        75.661        .42500E-04   -1.3814    
   5  Prefactor     2.8535        5.7656        .12035E-02   -1.5370    
   6  Prefactor     31.025        17.998        .71937E-04   -1.4593    
   7  Prefactor     .10000E-03    6.0013        .22349E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .43100        .49693        .85268E-03   -1.5577    
   9  Prefactor     39.046        33.193        .64149E-04   -1.4457    
  10  Prefactor     16.113        8.7691        .99756E-04   -1.4905    
  11  Prefactor     1.5175        3.2892        .25210E-03   -1.5462    
  12  Prefactor     .10000E-03    62.926        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    4.7184        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    .63278        .78187E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.2724        .11072E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    28.720        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.9606        8.6381        .15209E-03   -1.5180    
  18  Prefactor     53.621        65.219        .54776E-04   -1.4242    
  19  Prefactor     24.351        26.508        .81175E-04   -1.4721    
  20  Prefactor     10.708        11.663        .61215E-03   -1.5053    
  21  Normalizat    .98839        .18243        .28212E-03   -.93420    
  22  Prefactor     1.0801        .14250        .21450E-03   -.90105    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.05182e-09
Minuit parameter uncertainties:
  1  2.81996
  2  5.62297e-06
  3  1.77158e-06
  4  75.7432
  5  5.76676
  6  18.0011
  7  3.30884e-05
  8  0.496932
  9  33.2089
  10  8.76977
  11  3.2896
  12  0.000306586
  13  5.83888e-06
  14  3.29566e-07
  15  5.01263e-07
  16  9.82104e-05
  17  8.63961
  18  65.3057
  19  26.5209
  20  11.6655
  21  0.182546
  22  0.142553
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.517e+00  3.290e+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.080e+00  1.426e-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.884e-01  1.825e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/196645/likelihoodResults_608947201_609206401_4FGL_J2207.5-5346_daily_bin1426.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) = 10168.4865966
delta logL = 0.883206091696

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10168.3734334
delta logL = 0.996369322229

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .64325E-01   1.0000         .10000E-03   10000.    
     2 'Index     '    5.2935       1.0000          .0000       10.000    
     3 'Normalizat'    .92007       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1165       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=   10168.37     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      262 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .64217E-01    .58867        .40104E-02    .76455E-02
   2  Index         5.2951        2.5469        .12737        .27232E-03
   3  Normalizat    .91984        .34084E-01    .65856E-01    .69617E-04
   4  Prefactor     1.1168        .27083E-01    .36990E-01   -.17314E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0642168
  Index      = 5.29513
  Normalizat = 0.919843
  Prefactor  = 1.11675
 **********
 **   18 **HESSE 
 **********

 FCN=   10168.37     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      297 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .64217E-01    1.6488        .18351E-03   -1.5657    
   2  Index         5.2951        7.3299        .64039E-02    .59060E-01
   3  Normalizat    .91984        .12817        .29131E-03   -.95766    
   4  Prefactor     1.1168        .10027        .21133E-03   -.88933    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.27618e-10
Minuit parameter uncertainties:
  1  0.650309
  2  5.59147
  3  0.128211
  4  0.100287
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/196645': 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) = 10168.3734309
delta logL = 0.996371745856

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  6.422e-02  6.503e-01  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  5.295e+00  5.591e+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.117e+00  1.003e-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.198e-01  1.282e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.41
Ra Dec: 331.892 -53.772
Photon Index (Free Index): 5.30 +/- 5.59
Photon Flux (Free Index): 6.10e-08 +/- 4.33e-08
Energy Flux (Free Index): 7.93e-06 +/- 7.18e-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/196645/cmap_HighResolution_608947201_609206401_4FGL_J2207.5-5346_daily_bin1426.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.30e-03', comment='SUCCESS', energy_flux2='7.93e-06', dlogl='9.96e-01', photon_flux2='6.10e-08', job_status='DONE', time_completed='2021-09-28 06:00:35.681512', photon_index_error2='5.59', photon_index2='5.30', ts='0.25', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', photon_flux_upper_limit='8.14e-08', energy_flux_error2='7.18e-06', EG='0.99', time_epoch_completed='1632834035.68', return_code='0', job_id='196645', GAL2='1.12', EG2='0.92', return_code2='102', photon_flux_error2='4.33e-08', ts2='2.41', photon_index='2.44' WHERE bin_id='1426' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:00:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 196645: <4FGL_J2207.5-5346_daily_bin1426> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin1426> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 28 05:45:10 2021
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:45:12 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:12 2021
Terminated at Tue Sep 28 06:00:36 2021
Results reported at Tue Sep 28 06:00:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1426 331.892 -53.7719 608947201 609206401 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 :                                   845.06 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             338.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   923 sec.
    Turnaround time :                            926 sec.

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

