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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1089
RA = 331.892, Dec = -53.7719
tmin = 521596801, tmax = 521856001
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='194105', job_status='RUN', time_executed='2021-09-28 05:36:39.069717', time_epoch_executed='1632832599.07' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1089'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/194105

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/194105/ft1_4FGL_J2207.5-5346_daily_bin1089.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/194105/ft2_4FGL_J2207.5-5346_daily_bin1089.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/194105/ft1_4FGL_J2207.5-5346_daily_bin1089.fits outfile=/scratch/kocevski/194105/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1089.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=521596801.0 tmax=521856001.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.43
user 4.14
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/194105/ft1_filtered_4FGL_J2207.5-5346_daily_bin1089.fits" evtable="EVENTS" scfile=/scratch/kocevski/194105/ft2_4FGL_J2207.5-5346_daily_bin1089.fits sctable="SC_DATA" outfile=/scratch/kocevski/194105/ltcube_521596801_521856001_4FGL_J2207.5-5346_daily_bin1089.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/194105/ft2_4FGL_J2207.5-5346_daily_bin1089.fits
.....................!
real 12.07
user 11.61
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/194105/ft1_filtered_4FGL_J2207.5-5346_daily_bin1089.fits evtable="EVENTS" scfile=/scratch/kocevski/194105/ft2_4FGL_J2207.5-5346_daily_bin1089.fits sctable="SC_DATA" expcube=/scratch/kocevski/194105/ltcube_521596801_521856001_4FGL_J2207.5-5346_daily_bin1089.fits outfile=/scratch/kocevski/194105/expmap_521596801_521856001_4FGL_J2207.5-5346_daily_bin1089.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/194105/ltcube_521596801_521856001_4FGL_J2207.5-5346_daily_bin1089.fits
.....................!
real 191.81
user 185.47
sys 4.90

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/194105/ft1_filtered_4FGL_J2207.5-5346_daily_bin1089.fits scfile=/scratch/kocevski/194105/ft2_4FGL_J2207.5-5346_daily_bin1089.fits outfile=/scratch/kocevski/194105/cmap_521596801_521856001_4FGL_J2207.5-5346_daily_bin1089.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.52
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/194105/ft1_filtered_4FGL_J2207.5-5346_daily_bin1089.fits scfile=/scratch/kocevski/194105/ft2_4FGL_J2207.5-5346_daily_bin1089.fits outfile=/scratch/kocevski/194105/cmap_HighResolution_521596801_521856001_4FGL_J2207.5-5346_daily_bin1089.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.296       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    23.098       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .39918E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.6306       1.0000         .10000E-03   10000.    
     8 'norm      '    1.1299       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.3057       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.8153       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.7269       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.8807       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10752E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    10.780       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .15176E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    17.191       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .26451E-02   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .61184       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1400       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=   7243.399     FROM MIGRAD    STATUS=CONVERGED    527 CALLS     2454 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.2638       -.93799E-08** at limit **
   2  Prefactor     10.301        16.300       -.18842E-05   -.26165E-03
   3  Prefactor     .10000E-03    12.914        .26726E-07** at limit **
   4  Prefactor     23.093        44.912        .42288E-06    .15436E-04
   5  Prefactor     .11698        5.3325       -.27448E-06    .75952E-04
   6  Prefactor     .10000E-03    13.886        .38650E-07** at limit **
   7  Prefactor     5.6281        3.7574       -.24768E-07   -.24635E-04
   8  norm          1.1303        .80024        .35773E-07   -.14029E-03
   9  Prefactor     4.3130        70.144        .78639E-05   -.86278E-04
  10  Prefactor     6.8167        6.3022       -.42012E-06   -.59632E-04
  11  Prefactor     .10000E-03    2.3217        .61071E-07** at limit **
  12  Prefactor     .10000E-03    19.868       -.18880E-06** at limit **
  13  norm          .10000E-03    4.3575        .19464E-07** at limit **
  14  Prefactor     2.7287        3.0842        .59031E-07   -.14856E-03
  15  Prefactor     6.8815        4.2354        .54376E-06   -.72750E-03
  16  Prefactor     .10000E-03    17.266       -.42224E-07** at limit **
  17  Prefactor     10.801        10.088       -.27017E-06   -.12757E-03
  18  Prefactor     .10000E-03    339.77       -.34683E-05** at limit **
  19  Prefactor     17.196        25.410       -.25140E-05   -.21785E-03
  20  Prefactor     .10000E-03    8.1954        .21819E-06** at limit **
  21  Normalizat    .61160        .16559       -.48400E-06    .22652E-04
  22  Prefactor     1.1400        .12796        .10389E-06    .16223E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 10.3012
  Prefactor  = 0.0001
  Prefactor  = 23.0933
  Prefactor  = 0.116983
  Prefactor  = 0.0001
  Prefactor  = 5.62805
  norm       = 1.13026
  Prefactor  = 4.31297
  Prefactor  = 6.8167
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.7287
  Prefactor  = 6.88154
  Prefactor  = 0.0001
  Prefactor  = 10.8011
  Prefactor  = 0.000100001
  Prefactor  = 17.1962
  Prefactor  = 0.0001
  Normalizat = 0.611599
  Prefactor  = 1.14
 **********
 **   18 **HESSE 
 **********

 FCN=   7243.399     FROM HESSE     STATUS=OK           354 CALLS     2808 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.3235        .18667E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.301        17.138        .12487E-03   -1.5066    
   3  Prefactor     .10000E-03    12.925        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     23.093        44.943        .83344E-04   -1.4746    
   5  Prefactor     .11698        7.3156        .52906E-01   -1.5640    
   6  Prefactor     .10000E-03    14.024        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.6281        3.7510        .12773E-03   -1.5233    
   8  norm          1.1303        .78337        .61515E-04   -1.5495    
   9  Prefactor     4.3130        78.975        .97072E-03   -1.5293    
  10  Prefactor     6.8167        6.3036        .15369E-03   -1.5186    
  11  Prefactor     .10000E-03    2.4102        .25298E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    19.875        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    4.4159        .17349E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.7287        3.0798        .15202E-03   -1.5378    
  15  Prefactor     6.8815        4.3444        .67406E-03   -1.5183    
  16  Prefactor     .10000E-03    17.396        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     10.801        10.117        .12203E-03   -1.5051    
  18  Prefactor     .10000E-03    342.09        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     17.196        26.445        .96599E-04   -1.4878    
  20  Prefactor     .10000E-03    55.336        .47009E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .61160        .18933        .30354E-03   -1.0749    
  22  Prefactor     1.1400        .14705        .18428E-03   -.88198    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41569e-09
Minuit parameter uncertainties:
  1  5.26362e-06
  2  17.1464
  3  7.93092e-06
  4  45.0091
  5  1.84963
  6  2.1595e-06
  7  3.75113
  8  0.783374
  9  36.968
  10  6.30419
  11  2.52182e-07
  12  3.03957e-05
  13  6.26248e-07
  14  3.08001
  15  4.34456
  16  3.31577e-05
  17  10.1191
  18  0.00134691
  19  26.4626
  20  0.000273133
  21  0.189534
  22  0.147106
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.000e-04  2.522e-07  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.140e+00  1.471e-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:  6.116e-01  1.895e-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: 5.75e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.45e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/194105/likelihoodResults_521596801_521856001_4FGL_J2207.5-5346_daily_bin1089.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) = 7243.40142597
delta logL = -0.00197972087244

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7243.39944574
delta logL = 5.11358848598e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3941       1.0000          .0000       10.000    
     3 'Normalizat'    .61141       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1402       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7243.332     FROM MIGRAD    STATUS=CONVERGED    185 CALLS      341 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .50006        1.5821        .27271E-02    .56181E-03
   2  Index         1.2920        .66278        .31382       -.85453E-04
   3  Normalizat    .61302        .17709        .30354E-03    .12622E-04
   4  Prefactor     1.1371        .14431        .18428E-03    .25911E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.500061
  Index      = 1.29198
  Normalizat = 0.61302
  Prefactor  = 1.13707
 **********
 **   18 **HESSE 
 **********

 FCN=   7243.332     FROM HESSE     STATUS=OK            29 CALLS      370 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .50006        1.6843        .10908E-03   -1.5567    
   2  Index         1.2920        .99690        .16005E-01   -.83546    
   3  Normalizat    .61302        .17720        .12142E-04   -1.0743    
   4  Prefactor     1.1371        .14437        .73713E-05   -.88290    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.89273e-11
Minuit parameter uncertainties:
  1  1.68446
  2  1.01219
  3  0.177369
  4  0.144421
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/194105': 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) = 7243.33205991
delta logL = 0.0673863384527

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  5.001e-01  1.684e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  1.292e+00  1.012e+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.137e+00  1.444e-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:  6.130e-01  1.774e-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/194105/cmap_HighResolution_521596801_521856001_4FGL_J2207.5-5346_daily_bin1089.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.45e-03', job_status='DONE', photon_flux_upper_limit='5.75e-08', time_completed='2021-09-28 05:48:28.072142', job_id='194105', GAL2='1.14', fit_tolerance='1e-08', EG2='0.61', EG='0.61', time_epoch_completed='1632833308.07', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='6.74e-02', ts2='0.13', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='1089' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:48:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0287>
Subject: Job 194105: <4FGL_J2207.5-5346_daily_bin1089> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin1089> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 05:35:48 2021
Job was executed on host(s) <bullet0287>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:35:50 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:35:50 2021
Terminated at Tue Sep 28 05:48:28 2021
Results reported at Tue Sep 28 05:48:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1089 331.892 -53.7719 521596801 521856001 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 :                                   696.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             344.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   758 sec.
    Turnaround time :                            760 sec.

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

