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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1160
RA = 331.892, Dec = -53.7719
tmin = 540000001, tmax = 540259201
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='195246', job_status='RUN', time_executed='2021-09-28 05:42:04.332411', time_epoch_executed='1632832924.33' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1160'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/195246

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/195246/ft1_4FGL_J2207.5-5346_daily_bin1160.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/195246/ft2_4FGL_J2207.5-5346_daily_bin1160.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/195246/ft1_4FGL_J2207.5-5346_daily_bin1160.fits outfile=/scratch/kocevski/195246/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1160.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=540000001.0 tmax=540259201.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.58
user 3.36
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/195246/ft1_filtered_4FGL_J2207.5-5346_daily_bin1160.fits" evtable="EVENTS" scfile=/scratch/kocevski/195246/ft2_4FGL_J2207.5-5346_daily_bin1160.fits sctable="SC_DATA" outfile=/scratch/kocevski/195246/ltcube_540000001_540259201_4FGL_J2207.5-5346_daily_bin1160.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/195246/ft2_4FGL_J2207.5-5346_daily_bin1160.fits
.....................!
real 11.92
user 11.56
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/195246/ft1_filtered_4FGL_J2207.5-5346_daily_bin1160.fits evtable="EVENTS" scfile=/scratch/kocevski/195246/ft2_4FGL_J2207.5-5346_daily_bin1160.fits sctable="SC_DATA" expcube=/scratch/kocevski/195246/ltcube_540000001_540259201_4FGL_J2207.5-5346_daily_bin1160.fits outfile=/scratch/kocevski/195246/expmap_540000001_540259201_4FGL_J2207.5-5346_daily_bin1160.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/195246/ltcube_540000001_540259201_4FGL_J2207.5-5346_daily_bin1160.fits
.....................!
real 190.87
user 185.81
sys 4.67

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/195246/ft1_filtered_4FGL_J2207.5-5346_daily_bin1160.fits scfile=/scratch/kocevski/195246/ft2_4FGL_J2207.5-5346_daily_bin1160.fits outfile=/scratch/kocevski/195246/cmap_540000001_540259201_4FGL_J2207.5-5346_daily_bin1160.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/195246/ft1_filtered_4FGL_J2207.5-5346_daily_bin1160.fits scfile=/scratch/kocevski/195246/ft2_4FGL_J2207.5-5346_daily_bin1160.fits outfile=/scratch/kocevski/195246/cmap_HighResolution_540000001_540259201_4FGL_J2207.5-5346_daily_bin1160.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/195246/ft1_filtered_4FGL_J2207.5-5346_daily_bin1160.fits evtable="EVENTS" scfile=/scratch/kocevski/195246/ft2_4FGL_J2207.5-5346_daily_bin1160.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/195246/Model_4FGL_J2207.5-5346_daily_bin1160.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/195246/ft1_filtered_4FGL_J2207.5-5346_daily_bin1160.fits.....................!
real 54.57
user 53.21
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9263       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.1854       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .14796E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.8402       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.0544       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11977E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.0609       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.4057       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .46063E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   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 '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .84582       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.3057       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=   7469.822     FROM MIGRAD    STATUS=CONVERGED    503 CALLS     2059 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9259        2.5153        .14224E-06   -.96567E-03
   2  Prefactor     .10000E-03    17.045        .13208E-04** at limit **
   3  Prefactor     .10000E-03    11.393       -.71686E-05** at limit **
   4  Prefactor     .10000E-03    75.850       -.18417E-04** at limit **
   5  Prefactor     .10000E-03    4.5928       -.14827E-05** at limit **
   6  Prefactor     4.1852        15.025       -.42233E-06   -.79793E-04
   7  Prefactor     .10000E-03    1.6203        .16453E-06** at limit **
   8  norm          .10000E-03    .23944       -.52068E-08** at limit **
   9  Prefactor     7.8382        34.175       -.32980E-05   -.21123E-04
  10  Prefactor     7.0572        7.1630        .94792E-07   -.19638E-03
  11  Prefactor     .10000E-03    1.9201        .35687E-06** at limit **
  12  Prefactor     .10000E-03    23.417       -.17033E-04** at limit **
  13  norm          3.0613        3.8482        .72012E-07    .19282E-04
  14  Prefactor     5.4070        4.3395        .52954E-06   -.46301E-03
  15  Prefactor     .10001E-03    2.3101        .43719E-06** at limit **
  16  Prefactor     .10000E-03    8.9650        .27166E-05** at limit **
  17  Prefactor     .10000E-03    4.7715        .15290E-05** at limit **
  18  Prefactor     .10000E-03    39.425        .29369E-04** at limit **
  19  Prefactor     .10000E-03    30.957       -.93285E-05** at limit **
  20  Prefactor     .10000E-03    6.8859       -.14972E-05** at limit **
  21  Normalizat    .84588        .18105       -.34653E-06   -.20883E-03
  22  Prefactor     1.3057        .14268       -.12971E-06   -.22837E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.92595
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.18519
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.83817
  Prefactor  = 7.05718
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.06128
  Prefactor  = 5.40704
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.845884
  Prefactor  = 1.30571
 **********
 **   18 **HESSE 
 **********

 FCN=   7469.822     FROM HESSE     STATUS=OK           342 CALLS     2401 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9259        2.5009        .14984E-03   -1.5430    
   2  Prefactor     .10000E-03    17.222        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    11.398        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    75.938        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.6553        .18079E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.1852        15.017        .19699E-03   -1.5299    
   7  Prefactor     .10000E-03    12.337        .21144E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .31436        .82333E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.8382        34.052        .14321E-03   -1.5148    
  10  Prefactor     7.0572        7.1231        .15104E-03   -1.5177    
  11  Prefactor     .10000E-03    4.0377        .23048E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    23.423        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.0613        3.8431        .18553E-03   -1.5358    
  14  Prefactor     5.4070        4.3334        .15296E-03   -1.5243    
  15  Prefactor     .10001E-03    10.305        .25153E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    8.9789        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    4.7947        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    39.460        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    31.002        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    6.9078        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .84588        .20627        .29849E-03   -.98389    
  22  Prefactor     1.3057        .16436        .19830E-03   -.83137    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11908e-09
Minuit parameter uncertainties:
  1  2.50106
  2  6.76983e-05
  3  8.37789e-07
  4  4.05749e-05
  5  8.72034e-06
  6  15.0301
  7  0.000112673
  8  9.94193e-07
  9  32.7056
  10  7.12395
  11  5.88301e-05
  12  2.68385e-06
  13  3.84338
  14  4.33361
  15  0.000517211
  16  4.1069e-06
  17  3.1551e-06
  18  5.58137e-06
  19  4.65244e-06
  20  2.3309e-06
  21  0.206461
  22  0.164423
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.000e-04  5.883e-05  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.306e+00  1.644e-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.459e-01  2.065e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/195246/likelihoodResults_540000001_540259201_4FGL_J2207.5-5346_daily_bin1160.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) = 7469.82293638
delta logL = -0.00117863059222

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7469.8217581
delta logL = -3.47110471921e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4202       1.0000          .0000       10.000    
     3 'Normalizat'    .84577       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3058       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=   7469.822     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      226 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.4749        .40594E-01** at limit **
   2  Index         2.4053        5.6541        .50000        .30761E-04
   3  Normalizat    .84589        .74513E-02    .67468E-01    .71378E-04
   4  Prefactor     1.3057        .60313E-02    .32509E-01   -.38192E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.40526
  Normalizat = 0.845889
  Prefactor  = 1.30571
 **********
 **   18 **HESSE 
 **********

 FCN=   7469.822     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      259 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    942.39        .23241E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4053        6.8795        .50000       -.54562    
   3  Normalizat    .84589        .14981        .29849E-03   -.98388    
   4  Prefactor     1.3057        .12075        .19830E-03   -.83137    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.37838e-07
Minuit parameter uncertainties:
  1  0.00155425
  2  65.8087
  3  0.149884
  4  0.120779
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/195246': 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) = 7469.82175752
delta logL = 2.26424162975e-07

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.000e-04  1.554e-03  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  2.405e+00  6.581e+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.306e+00  1.208e-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.459e-01  1.499e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.99e-03', job_status='DONE', photon_flux_upper_limit='6.44e-08', time_completed='2021-09-28 05:53:46.407594', job_id='195246', GAL2='1.31', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1632833626.41', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.31', dlogl='2.26e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='1160' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:53:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 195246: <4FGL_J2207.5-5346_daily_bin1160> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1160 331.892 -53.7719 540000001 540259201 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 :                                   668.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             299.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   800 sec.
    Turnaround time :                            803 sec.

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

