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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin781
RA = 331.892, Dec = -53.7719
tmin = 441763201, tmax = 442022401
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='193616', job_status='RUN', time_executed='2021-09-28 05:35:27.240868', time_epoch_executed='1632832527.24' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='781'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/193616

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/193616/ft1_4FGL_J2207.5-5346_daily_bin781.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/193616/ft2_4FGL_J2207.5-5346_daily_bin781.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/193616/ft1_4FGL_J2207.5-5346_daily_bin781.fits outfile=/scratch/kocevski/193616/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin781.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=441763201.0 tmax=442022401.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.55
user 3.30
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/193616/ft1_filtered_4FGL_J2207.5-5346_daily_bin781.fits" evtable="EVENTS" scfile=/scratch/kocevski/193616/ft2_4FGL_J2207.5-5346_daily_bin781.fits sctable="SC_DATA" outfile=/scratch/kocevski/193616/ltcube_441763201_442022401_4FGL_J2207.5-5346_daily_bin781.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/193616/ft2_4FGL_J2207.5-5346_daily_bin781.fits
.....................!
real 15.85
user 15.43
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/193616/ft1_filtered_4FGL_J2207.5-5346_daily_bin781.fits evtable="EVENTS" scfile=/scratch/kocevski/193616/ft2_4FGL_J2207.5-5346_daily_bin781.fits sctable="SC_DATA" expcube=/scratch/kocevski/193616/ltcube_441763201_442022401_4FGL_J2207.5-5346_daily_bin781.fits outfile=/scratch/kocevski/193616/expmap_441763201_442022401_4FGL_J2207.5-5346_daily_bin781.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/193616/ltcube_441763201_442022401_4FGL_J2207.5-5346_daily_bin781.fits
.....................!
real 193.52
user 187.78
sys 5.28

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/193616/ft1_filtered_4FGL_J2207.5-5346_daily_bin781.fits scfile=/scratch/kocevski/193616/ft2_4FGL_J2207.5-5346_daily_bin781.fits outfile=/scratch/kocevski/193616/cmap_441763201_442022401_4FGL_J2207.5-5346_daily_bin781.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.58
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/193616/ft1_filtered_4FGL_J2207.5-5346_daily_bin781.fits scfile=/scratch/kocevski/193616/ft2_4FGL_J2207.5-5346_daily_bin781.fits outfile=/scratch/kocevski/193616/cmap_HighResolution_441763201_442022401_4FGL_J2207.5-5346_daily_bin781.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.59
user 0.42
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/193616/ft1_filtered_4FGL_J2207.5-5346_daily_bin781.fits evtable="EVENTS" scfile=/scratch/kocevski/193616/ft2_4FGL_J2207.5-5346_daily_bin781.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/193616/Model_4FGL_J2207.5-5346_daily_bin781.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/193616/ft1_filtered_4FGL_J2207.5-5346_daily_bin781.fits.....................!
real 57.04
user 55.56
sys 1.36

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.3518       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.1841       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.7507       1.0000         .10000E-03   10000.    
     8 'norm      '    7.5664       1.0000         .10000E-03   10000.    
     9 'Prefactor '    25.424       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.7687       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.2136       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.6553       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    15.763       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .20885E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    31.615       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .78087       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2717       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=   7504.002     FROM MIGRAD    STATUS=CONVERGED    464 CALLS     2314 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.9817        .15065E-06** at limit **
   2  Prefactor     .10000E-03    14.299       -.44515E-06** at limit **
   3  Prefactor     .10000E-03    16.779       -.95303E-06** at limit **
   4  Prefactor     .10000E-03    33.710       -.34762E-05** at limit **
   5  Prefactor     6.3514        7.2497        .28577E-05   -.60280E-03
   6  Prefactor     7.1819        18.136       -.25612E-06   -.27031E-04
   7  Prefactor     4.7507        4.7150       -.50425E-07   -.12174E-03
   8  norm          7.5664        1.4594        .78222E-08    .99862E-04
   9  Prefactor     25.414        39.726       -.28917E-05   -.11111E-03
  10  Prefactor     2.7717        5.9709        .15856E-05    .21263E-03
  11  Prefactor     9.2139        4.4244       -.17918E-06   -.34066E-03
  12  Prefactor     .10000E-03    29.461        .16053E-05** at limit **
  13  norm          .10000E-03    1.9969       -.36988E-07** at limit **
  14  Prefactor     1.6558        2.6160        .16021E-06   -.77886E-04
  15  Prefactor     .10000E-03    1.1745        .14641E-07** at limit **
  16  Prefactor     15.747        21.648       -.20976E-05   -.22122E-03
  17  Prefactor     .10000E-03    12.158       -.24629E-06** at limit **
  18  Prefactor     .10000E-03    27.238        .26244E-05** at limit **
  19  Prefactor     31.621        31.382        .13417E-05    .10445E-03
  20  Prefactor     .10000E-03    12.680        .54989E-06** at limit **
  21  Normalizat    .78049        .18829        .10663E-05   -.54871E-04
  22  Prefactor     1.2720        .14643       -.75094E-06    .99352E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 6.35138
  Prefactor  = 7.18186
  Prefactor  = 4.75073
  norm       = 7.56637
  Prefactor  = 25.4138
  Prefactor  = 2.77175
  Prefactor  = 9.21387
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.65578
  Prefactor  = 0.0001
  Prefactor  = 15.7466
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 31.6215
  Prefactor  = 0.0001
  Normalizat = 0.780487
  Prefactor  = 1.27205
 **********
 **   18 **HESSE 
 **********

 FCN=   7504.002     FROM HESSE     STATUS=OK           338 CALLS     2652 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.0462        .23799E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    14.396        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    16.836        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    34.355        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.3514        7.6181        .79631E-03   -1.5204    
   6  Prefactor     7.1819        18.139        .14965E-03   -1.5172    
   7  Prefactor     4.7507        4.7036        .17704E-03   -1.5272    
   8  norm          7.5664        1.4598        .44228E-04   -1.5158    
   9  Prefactor     25.414        40.190        .79446E-04   -1.4699    
  10  Prefactor     2.7717        6.0116        .24459E-03   -1.5375    
  11  Prefactor     9.2139        4.4387        .12059E-03   -1.5101    
  12  Prefactor     .10000E-03    29.588        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.9976        .11955E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.6558        2.5935        .17004E-03   -1.5451    
  15  Prefactor     .10000E-03    1.1764        .91674E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     15.747        22.200        .10088E-03   -1.4914    
  17  Prefactor     .10000E-03    12.414        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    27.631        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     31.621        31.554        .71261E-04   -1.4583    
  20  Prefactor     .10000E-03    12.848        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .78049        .21879        .32108E-03   -1.0080    
  22  Prefactor     1.2720        .17098        .20970E-03   -.84142    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.79823e-10
Minuit parameter uncertainties:
  1  1.34194e-06
  2  5.49731e-05
  3  0.000112414
  4  0.00057895
  5  7.61925
  6  18.1524
  7  4.70397
  8  1.45979
  9  40.2332
  10  6.01291
  11  4.43884
  12  0.000238292
  13  2.62969e-07
  14  2.59368
  15  2.04858e-06
  16  22.2117
  17  0.000157089
  18  0.000406337
  19  31.5706
  20  3.20757e-05
  21  0.219036
  22  0.171057
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  9.214e+00  4.439e+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.272e+00  1.711e-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:  7.805e-01  2.190e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.12
Ra Dec: 331.892 -53.772
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 8.45e-08 +/- 4.07e-08
Energy Flux (Fixed Index): 2.65e-05 +/- 1.27e-05

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) = 7502.87233918
delta logL = 1.12982116413

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7502.80507714
delta logL = 1.19708319629

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.405       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8749       1.0000          .0000       10.000    
     3 'Normalizat'    .81887       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2528       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=   7502.805     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      215 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.402        6.7653        .29656E-02    .18275E-03
   2  Index         1.8750        .35117        .16149       -.59029E-04
   3  Normalizat    .81877        .18263        .71005E-01    .11711E-03
   4  Prefactor     1.2530        .14839        .33487E-01   -.21553E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.4023
  Index      = 1.87499
  Normalizat = 0.818765
  Prefactor  = 1.25296
 **********
 **   18 **HESSE 
 **********

 FCN=   7502.805     FROM HESSE     STATUS=OK            31 CALLS      246 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.402        5.9018        .11862E-03   -1.5032    
   2  Index         1.8750        .33860        .64342E-02   -.67513    
   3  Normalizat    .81877        .20770        .31420E-03   -.99376    
   4  Prefactor     1.2530        .16901        .21096E-03   -.84717    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.19929e-10
Minuit parameter uncertainties:
  1  5.90212
  2  0.339026
  3  0.207904
  4  0.169084
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/193616': 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) = 7502.80507654
delta logL = 1.19708379907

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.140e+01  5.902e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  1.875e+00  3.390e-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.253e+00  1.691e-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.188e-01  2.079e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.49
Ra Dec: 331.892 -53.772
Photon Index (Free Index): 1.87 +/- 0.34
Photon Flux (Free Index): 5.57e-08 +/- 3.59e-08
Energy Flux (Free Index): 5.35e-05 +/- 4.05e-05

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/193616/cmap_HighResolution_441763201_442022401_4FGL_J2207.5-5346_daily_bin781.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.45e-08', energy_flux2='5.35e-05', photon_flux_error='4.07e-08', dlogl='1.20e+00', energy_flux='2.65e-05', photon_flux2='5.57e-08', job_status='DONE', time_completed='2021-09-28 05:46:15.084097', photon_index_error2='0.34', photon_index2='1.87', ts='11.12', fit_tolerance='1e-08', GAL='1.27', photon_index_error='0.00', energy_flux_error2='4.05e-05', EG='0.78', time_epoch_completed='1632833175.08', return_code='0', job_id='193616', GAL2='1.25', EG2='0.82', return_code2='0', energy_flux_error='1.27e-05', photon_flux_error2='3.59e-08', ts2='13.49', photon_index='2.44' WHERE bin_id='781' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:46:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0270>
Subject: Job 193616: <4FGL_J2207.5-5346_daily_bin781> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin781 331.892 -53.7719 441763201 442022401 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 :                                   647.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             355.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   661 sec.
    Turnaround time :                            663 sec.

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

