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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin847
RA = 331.892, Dec = -53.7719
tmin = 458870401, tmax = 459129601
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='193714', job_status='RUN', time_executed='2021-09-28 05:38:46.570786', time_epoch_executed='1632832726.57' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='847'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/193714

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/193714/ft1_4FGL_J2207.5-5346_daily_bin847.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/193714/ft2_4FGL_J2207.5-5346_daily_bin847.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/193714/ft1_4FGL_J2207.5-5346_daily_bin847.fits outfile=/scratch/kocevski/193714/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin847.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=458870401.0 tmax=459129601.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.67
user 3.36
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/193714/ft2_4FGL_J2207.5-5346_daily_bin847.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/193714/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin847.fits evtable="EVENTS" outfile="/scratch/kocevski/193714/ft1_filtered_4FGL_J2207.5-5346_daily_bin847.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/193714/ft1_filtered_4FGL_J2207.5-5346_daily_bin847.fits" evtable="EVENTS" scfile=/scratch/kocevski/193714/ft2_4FGL_J2207.5-5346_daily_bin847.fits sctable="SC_DATA" outfile=/scratch/kocevski/193714/ltcube_458870401_459129601_4FGL_J2207.5-5346_daily_bin847.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/193714/ft2_4FGL_J2207.5-5346_daily_bin847.fits
.....................!
real 11.84
user 11.48
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/193714/ft1_filtered_4FGL_J2207.5-5346_daily_bin847.fits evtable="EVENTS" scfile=/scratch/kocevski/193714/ft2_4FGL_J2207.5-5346_daily_bin847.fits sctable="SC_DATA" expcube=/scratch/kocevski/193714/ltcube_458870401_459129601_4FGL_J2207.5-5346_daily_bin847.fits outfile=/scratch/kocevski/193714/expmap_458870401_459129601_4FGL_J2207.5-5346_daily_bin847.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/193714/ltcube_458870401_459129601_4FGL_J2207.5-5346_daily_bin847.fits
.....................!
real 191.56
user 187.60
sys 3.64

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/193714/ft1_filtered_4FGL_J2207.5-5346_daily_bin847.fits scfile=/scratch/kocevski/193714/ft2_4FGL_J2207.5-5346_daily_bin847.fits outfile=/scratch/kocevski/193714/cmap_458870401_459129601_4FGL_J2207.5-5346_daily_bin847.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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/193714/ft1_filtered_4FGL_J2207.5-5346_daily_bin847.fits scfile=/scratch/kocevski/193714/ft2_4FGL_J2207.5-5346_daily_bin847.fits outfile=/scratch/kocevski/193714/cmap_HighResolution_458870401_459129601_4FGL_J2207.5-5346_daily_bin847.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.53
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/193714/ft1_filtered_4FGL_J2207.5-5346_daily_bin847.fits evtable="EVENTS" scfile=/scratch/kocevski/193714/ft2_4FGL_J2207.5-5346_daily_bin847.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/193714/Model_4FGL_J2207.5-5346_daily_bin847.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/193714/ft1_filtered_4FGL_J2207.5-5346_daily_bin847.fits.....................!
real 42.56
user 41.30
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.0845       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    30.501       1.0000         .10000E-03   10000.    
     4 'Prefactor '    59.060       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.609       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.4498       1.0000         .10000E-03   10000.    
     8 'norm      '    1.6962       1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.3340       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10183E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    90.743       1.0000         .10000E-03   10000.    
    13 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.6150       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    81.335       1.0000         .10000E-03   10000.    
    19 'Prefactor '    17.866       1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.3933       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .97626       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0392       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=   5291.064     FROM MIGRAD    STATUS=CONVERGED    453 CALLS     2315 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.0847        3.0393        .65581E-07   -.41961E-04
   2  Prefactor     .10000E-03    6.7017        .47489E-06** at limit **
   3  Prefactor     30.502        34.254        .37050E-06    .17235E-04
   4  Prefactor     58.919        100.15       -.14350E-04   -.21293E-03
   5  Prefactor     .10000E-03    5.6538        .84429E-07** at limit **
   6  Prefactor     10.610        19.280        .37962E-06    .98240E-05
   7  Prefactor     3.4501        3.4051       -.66688E-07   -.30305E-04
   8  norm          1.6965        .87567        .28258E-07    .20979E-03
   9  Prefactor     9.2831        62.101       -.13909E-04   -.11334E-03
  10  Prefactor     .10000E-03    7.2493       -.15868E-05** at limit **
  11  Prefactor     .10000E-03    1.4452        .16117E-06** at limit **
  12  Prefactor     90.762        87.850        .12255E-05    .40756E-04
  13  norm          .10000E-03    3.0877        .83699E-07** at limit **
  14  Prefactor     4.6141        5.8967        .63198E-05   -.72048E-03
  15  Prefactor     .10000E-03    2.9613       -.85675E-07** at limit **
  16  Prefactor     .10000E-03    14.194        .24449E-06** at limit **
  17  Prefactor     .10000E-03    18.229        .12675E-05** at limit **
  18  Prefactor     81.339        91.652        .56510E-06    .13576E-04
  19  Prefactor     17.866        32.503       -.69116E-07    .60729E-05
  20  Prefactor     9.3904        19.853       -.28845E-06   -.16413E-04
  21  Normalizat    .97644        .21468        .47877E-06   -.34891E-04
  22  Prefactor     1.0391        .16014       -.88581E-06    .36014E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.08471
  Prefactor  = 0.0001
  Prefactor  = 30.5019
  Prefactor  = 58.9194
  Prefactor  = 0.0001
  Prefactor  = 10.6097
  Prefactor  = 3.45012
  norm       = 1.69646
  Prefactor  = 9.28313
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 90.7618
  norm       = 0.0001
  Prefactor  = 4.61415
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 81.3391
  Prefactor  = 17.8662
  Prefactor  = 9.39037
  Normalizat = 0.976439
  Prefactor  = 1.0391
 **********
 **   18 **HESSE 
 **********

 FCN=   5291.064     FROM HESSE     STATUS=OK           338 CALLS     2653 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.0847        3.0391        .10549E-03   -1.5304    
   2  Prefactor     .10000E-03    6.7084        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     30.502        34.263        .72548E-04   -1.4603    
   4  Prefactor     58.919        104.03        .26103E-03   -1.4171    
   5  Prefactor     .10000E-03    5.7021        .16889E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.610        19.283        .12301E-03   -1.5056    
   7  Prefactor     3.4501        3.4061        .12885E-03   -1.5336    
   8  norm          1.6965        .87465        .47170E-04   -1.5447    
   9  Prefactor     9.2831        64.618        .13118E-03   -1.5099    
  10  Prefactor     .10000E-03    7.2636        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.4506        .85376E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     90.762        87.937        .21092E-03   -1.3800    
  13  norm          .10000E-03    3.0941        .12483E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.6141        6.0494        .93679E-03   -1.5278    
  15  Prefactor     .10000E-03    2.9836        .12222E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    14.221        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    18.672        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     81.339        91.613        .44535E-04   -1.3902    
  19  Prefactor     17.866        32.501        .94755E-04   -1.4862    
  20  Prefactor     9.3904        19.921        .13076E-03   -1.5095    
  21  Normalizat    .97644        .24884        .27784E-03   -.93824    
  22  Prefactor     1.0391        .18547        .20948E-03   -.91437    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71709e-09
Minuit parameter uncertainties:
  1  3.03918
  2  2.40633e-05
  3  34.285
  4  104.357
  5  4.33396e-06
  6  19.2941
  7  3.40632
  8  0.874652
  9  49.0594
  10  5.6007e-05
  11  4.67875e-07
  12  88.0633
  13  7.8992e-07
  14  6.05022
  15  1.88884e-05
  16  2.09212e-05
  17  3.85533e-05
  18  91.7729
  19  32.5333
  20  19.9352
  21  0.249139
  22  0.185581
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.000e-04  4.679e-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.039e+00  1.856e-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.764e-01  2.491e-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.61e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.12e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/193714/likelihoodResults_458870401_459129601_4FGL_J2207.5-5346_daily_bin847.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) = 5291.06714791
delta logL = -0.00324993835511

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5291.06389796
delta logL = 1.36005837703e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4290       1.0000          .0000       10.000    
     3 'Normalizat'    .97645       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0391       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=   5291.064     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      246 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    317.71        .85527E-02** at limit **
   2  Index         2.1078        6.8016        .20000E-01   -.45475E-07
   3  Normalizat    .97644        .12808        .27783E-03    .30239E-04
   4  Prefactor     1.0391        .99279E-01    .20948E-03    .56985E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.10778
  Normalizat = 0.976441
  Prefactor  = 1.0391
 **********
 **   18 **HESSE 
 **********

 FCN=   5291.064     FROM HESSE     STATUS=OK            23 CALLS      269 TOTAL
                     EDM=   .96E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.5222        .87577E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1078        8.8592        .80000E-03   -.61682    
   3  Normalizat    .97644        .23200        .11113E-04   -.93824    
   4  Prefactor     1.0391        .18088        .83792E-05   -.91437    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.59372e-12
Minuit parameter uncertainties:
  1  5.20261e-06
  2  169.386
  3  0.232236
  4  0.18099
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/193714': 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) = 5291.06389635
delta logL = 1.62062315212e-06

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.000e-04  5.203e-06  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  2.108e+00  1.694e+02  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.039e+00  1.810e-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.764e-01  2.322e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/193714/cmap_HighResolution_458870401_459129601_4FGL_J2207.5-5346_daily_bin847.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.12e-03', job_status='DONE', photon_flux_upper_limit='6.61e-08', time_completed='2021-09-28 05:48:17.230102', job_id='193714', GAL2='1.04', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1632833297.23', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.62e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='847' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:48:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0006>
Subject: Job 193714: <4FGL_J2207.5-5346_daily_bin847> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin847 331.892 -53.7719 458870401 459129601 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 :                                   569.32 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             298.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   774 sec.
    Turnaround time :                            776 sec.

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

