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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1182
RA = 331.892, Dec = -53.7719
tmin = 545702401, tmax = 545961601
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='195279', job_status='RUN', time_executed='2021-09-28 05:42:46.436130', time_epoch_executed='1632832966.44' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1182'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/195279

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/195279/ft1_4FGL_J2207.5-5346_daily_bin1182.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/195279/ft2_4FGL_J2207.5-5346_daily_bin1182.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/195279/ft1_4FGL_J2207.5-5346_daily_bin1182.fits outfile=/scratch/kocevski/195279/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1182.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=545702401.0 tmax=545961601.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 4.10
user 3.83
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/195279/ft1_filtered_4FGL_J2207.5-5346_daily_bin1182.fits" evtable="EVENTS" scfile=/scratch/kocevski/195279/ft2_4FGL_J2207.5-5346_daily_bin1182.fits sctable="SC_DATA" outfile=/scratch/kocevski/195279/ltcube_545702401_545961601_4FGL_J2207.5-5346_daily_bin1182.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/195279/ft2_4FGL_J2207.5-5346_daily_bin1182.fits
.....................!
real 11.91
user 11.53
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/195279/ft1_filtered_4FGL_J2207.5-5346_daily_bin1182.fits evtable="EVENTS" scfile=/scratch/kocevski/195279/ft2_4FGL_J2207.5-5346_daily_bin1182.fits sctable="SC_DATA" expcube=/scratch/kocevski/195279/ltcube_545702401_545961601_4FGL_J2207.5-5346_daily_bin1182.fits outfile=/scratch/kocevski/195279/expmap_545702401_545961601_4FGL_J2207.5-5346_daily_bin1182.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/195279/ltcube_545702401_545961601_4FGL_J2207.5-5346_daily_bin1182.fits
.....................!
real 190.63
user 184.99
sys 5.31

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/195279/ft1_filtered_4FGL_J2207.5-5346_daily_bin1182.fits scfile=/scratch/kocevski/195279/ft2_4FGL_J2207.5-5346_daily_bin1182.fits outfile=/scratch/kocevski/195279/cmap_545702401_545961601_4FGL_J2207.5-5346_daily_bin1182.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.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/195279/ft1_filtered_4FGL_J2207.5-5346_daily_bin1182.fits scfile=/scratch/kocevski/195279/ft2_4FGL_J2207.5-5346_daily_bin1182.fits outfile=/scratch/kocevski/195279/cmap_HighResolution_545702401_545961601_4FGL_J2207.5-5346_daily_bin1182.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/195279/ft1_filtered_4FGL_J2207.5-5346_daily_bin1182.fits evtable="EVENTS" scfile=/scratch/kocevski/195279/ft2_4FGL_J2207.5-5346_daily_bin1182.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/195279/Model_4FGL_J2207.5-5346_daily_bin1182.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/195279/ft1_filtered_4FGL_J2207.5-5346_daily_bin1182.fits.....................!
real 70.96
user 69.62
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10664E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    52.620       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.3641       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.1471       1.0000         .10000E-03   10000.    
     8 'norm      '    .17258       1.0000         .10000E-03   10000.    
     9 'Prefactor '    30.700       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .13052E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.1048       1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.910       1.0000         .10000E-03   10000.    
    13 'norm      '    7.7288       1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.2362       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .36934       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11004E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .94520       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0991       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=   10161.98     FROM MIGRAD    STATUS=CONVERGED    513 CALLS     2429 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .74933       -.47830E-07** at limit **
   2  Prefactor     .10000E-03    14.751       -.14440E-05** at limit **
   3  Prefactor     .10000E-03    57.315       -.40348E-06** at limit **
   4  Prefactor     52.580        68.288       -.43142E-04    .21393E-04
   5  Prefactor     .10000E-03    3.6231       -.43476E-07** at limit **
   6  Prefactor     1.3241        54.189       -.11007E-04   -.12686E-03
   7  Prefactor     5.1465        3.2440       -.14957E-06   -.47043E-04
   8  norm          .17255        .46302       -.22258E-06   -.33834E-02
   9  Prefactor     30.734        28.790       -.96785E-05    .37608E-04
  10  Prefactor     .10000E-03    9.6522       -.67086E-06** at limit **
  11  Prefactor     3.1063        3.0707       -.10215E-05   -.71262E-03
  12  Prefactor     12.968        38.342        .41920E-04    .24312E-04
  13  norm          7.7318        5.5454        .27762E-05    .53328E-04
  14  Prefactor     7.2346        4.0166       -.64910E-06   -.22371E-03
  15  Prefactor     .10000E-03    1.3810       -.12476E-07** at limit **
  16  Prefactor     .13440        12.622       -.30144E-05   -.38873E-04
  17  Prefactor     .10007E-03    4.3623        .72552E-06** at limit **
  18  Prefactor     .10000E-03    24.120       -.63775E-06** at limit **
  19  Prefactor     .10000E-03    7.5386       -.42188E-07** at limit **
  20  Prefactor     .10000E-03    3.0880       -.62722E-08** at limit **
  21  Normalizat    .94580        .15396        .22966E-05    .37256E-03
  22  Prefactor     1.0989        .11607        .12064E-05    .41022E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 52.5804
  Prefactor  = 0.0001
  Prefactor  = 1.32413
  Prefactor  = 5.14648
  norm       = 0.172551
  Prefactor  = 30.7344
  Prefactor  = 0.000100002
  Prefactor  = 3.10634
  Prefactor  = 12.9683
  norm       = 7.7318
  Prefactor  = 7.23457
  Prefactor  = 0.0001
  Prefactor  = 0.134395
  Prefactor  = 0.000100069
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.945798
  Prefactor  = 1.09888
 **********
 **   18 **HESSE 
 **********

 FCN=   10161.98     FROM HESSE     STATUS=OK           352 CALLS     2781 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.3092        .16931E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    14.967        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    57.642        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     52.580        67.916        .55290E-04   -1.4256    
   5  Prefactor     .10000E-03    3.6534        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.3241        55.468        .37370E-03   -1.5478    
   7  Prefactor     5.1465        3.2409        .13812E-03   -1.5254    
   8  norm          .17255        .46024        .10756E-03   -1.5625    
   9  Prefactor     30.734        28.764        .72313E-04   -1.4599    
  10  Prefactor     .10000E-03    10.035        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.1063        3.0677        .16711E-03   -1.5355    
  12  Prefactor     12.968        38.218        .11148E-03   -1.4988    
  13  norm          7.7318        5.5434        .14424E-03   -1.5152    
  14  Prefactor     7.2346        4.0269        .14432E-03   -1.5170    
  15  Prefactor     .10000E-03    1.3869        .11565E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .13440        13.069        .99398E-01   -1.5635    
  17  Prefactor     .10007E-03    22.051        .39027E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    24.125        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    7.5400        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.0908        .17300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .94580        .17707        .28053E-03   -.94869    
  22  Prefactor     1.0989        .13342        .20329E-03   -.89503    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.76147e-09
Minuit parameter uncertainties:
  1  7.96393e-06
  2  4.14621e-05
  3  4.38903e-06
  4  68.016
  5  1.16834e-05
  6  17.1566
  7  3.24101
  8  0.460247
  9  28.7766
  10  0.000255101
  11  3.06783
  12  38.2899
  13  5.54372
  14  4.02706
  15  5.01689e-06
  16  2.65021
  17  0.00247187
  18  1.37545e-05
  19  4.86359e-06
  20  3.9361e-06
  21  0.177178
  22  0.133462
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  3.106e+00  3.068e+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.099e+00  1.335e-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.458e-01  1.772e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.34
Ra Dec: 331.892 -53.772
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 2.85e-08 +/- 2.81e-08
Energy Flux (Fixed Index): 8.92e-06 +/- 8.81e-06

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

Saving results to:
/scratch/kocevski/195279/likelihoodResults_545702401_545961601_4FGL_J2207.5-5346_daily_bin1182.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) = 10161.78717
delta logL = 0.188328314907

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10161.7807916
delta logL = 0.194706685052

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8066       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0617       1.0000          .0000       10.000    
     3 'Normalizat'    .92757       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1087       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=   10161.78     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      238 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8046        24.975        .77727E-02    .10631E-02
   2  Index         3.0619        3.0722        .21969        .12420E-03
   3  Normalizat    .92770        .37549E-01    .45253E-01    .32930E-04
   4  Prefactor     1.1087        .28222E-01    .37264E-01    .96515E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.80464
  Index      = 3.06194
  Normalizat = 0.927702
  Prefactor  = 1.10867
 **********
 **   18 **HESSE 
 **********

 FCN=   10161.78     FROM HESSE     STATUS=OK            33 CALLS      271 TOTAL
                     EDM=   .71E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8046        4.9178        .11155E-03   -1.5439    
   2  Index         3.0619        1.8293        .81310E-02   -.39804    
   3  Normalizat    .92770        .17415        .28295E-03   -.95493    
   4  Prefactor     1.1087        .13349        .20251E-03   -.89190    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.07093e-11
Minuit parameter uncertainties:
  1  4.91894
  2  1.88107
  3  0.17426
  4  0.133529
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/195279': 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) = 10161.7807909
delta logL = 0.194707364142

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.805e+00  4.919e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  3.062e+00  1.881e+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.109e+00  1.335e-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.277e-01  1.743e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.76
Ra Dec: 331.892 -53.772
Photon Index (Free Index): 3.06 +/- 1.88
Photon Flux (Free Index): 4.05e-08 +/- 3.67e-08
Energy Flux (Free Index): 7.84e-06 +/- 8.17e-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/195279/cmap_HighResolution_545702401_545961601_4FGL_J2207.5-5346_daily_bin1182.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.83e-03', comment='SUCCESS', photon_flux='2.85e-08', energy_flux2='7.84e-06', photon_flux_error='2.81e-08', dlogl='1.95e-01', energy_flux='8.92e-06', photon_flux2='4.05e-08', job_status='DONE', time_completed='2021-09-28 05:57:03.537017', photon_index_error2='1.88', photon_index2='3.06', ts='1.34', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', photon_flux_upper_limit='8.82e-08', energy_flux_error2='8.17e-06', EG='0.95', time_epoch_completed='1632833823.54', return_code='0', job_id='195279', GAL2='1.11', EG2='0.93', return_code2='0', energy_flux_error='8.81e-06', photon_flux_error2='3.67e-08', ts2='1.76', photon_index='2.44' WHERE bin_id='1182' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:57:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 195279: <4FGL_J2207.5-5346_daily_bin1182> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1182 331.892 -53.7719 545702401 545961601 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 :                                   842.25 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             301.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   995 sec.
    Turnaround time :                            997 sec.

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

