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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1560
RA = 331.892, Dec = -53.7719
tmin = 643680001, tmax = 643939201
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='196839', job_status='RUN', time_executed='2021-09-28 05:46:50.222739', time_epoch_executed='1632833210.22' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1560'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/196839

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/196839/ft1_4FGL_J2207.5-5346_daily_bin1560.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/196839/ft2_4FGL_J2207.5-5346_daily_bin1560.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/196839/ft1_4FGL_J2207.5-5346_daily_bin1560.fits outfile=/scratch/kocevski/196839/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1560.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=643680001.0 tmax=643939201.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.51
user 3.28
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/196839/ft1_filtered_4FGL_J2207.5-5346_daily_bin1560.fits" evtable="EVENTS" scfile=/scratch/kocevski/196839/ft2_4FGL_J2207.5-5346_daily_bin1560.fits sctable="SC_DATA" outfile=/scratch/kocevski/196839/ltcube_643680001_643939201_4FGL_J2207.5-5346_daily_bin1560.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/196839/ft2_4FGL_J2207.5-5346_daily_bin1560.fits
.....................!
real 11.71
user 11.37
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/196839/ft1_filtered_4FGL_J2207.5-5346_daily_bin1560.fits evtable="EVENTS" scfile=/scratch/kocevski/196839/ft2_4FGL_J2207.5-5346_daily_bin1560.fits sctable="SC_DATA" expcube=/scratch/kocevski/196839/ltcube_643680001_643939201_4FGL_J2207.5-5346_daily_bin1560.fits outfile=/scratch/kocevski/196839/expmap_643680001_643939201_4FGL_J2207.5-5346_daily_bin1560.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/196839/ltcube_643680001_643939201_4FGL_J2207.5-5346_daily_bin1560.fits
.....................!
real 192.25
user 186.76
sys 5.13

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/196839/ft1_filtered_4FGL_J2207.5-5346_daily_bin1560.fits scfile=/scratch/kocevski/196839/ft2_4FGL_J2207.5-5346_daily_bin1560.fits outfile=/scratch/kocevski/196839/cmap_643680001_643939201_4FGL_J2207.5-5346_daily_bin1560.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.35
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/196839/ft1_filtered_4FGL_J2207.5-5346_daily_bin1560.fits scfile=/scratch/kocevski/196839/ft2_4FGL_J2207.5-5346_daily_bin1560.fits outfile=/scratch/kocevski/196839/cmap_HighResolution_643680001_643939201_4FGL_J2207.5-5346_daily_bin1560.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/196839/ft1_filtered_4FGL_J2207.5-5346_daily_bin1560.fits evtable="EVENTS" scfile=/scratch/kocevski/196839/ft2_4FGL_J2207.5-5346_daily_bin1560.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/196839/Model_4FGL_J2207.5-5346_daily_bin1560.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/196839/ft1_filtered_4FGL_J2207.5-5346_daily_bin1560.fits.....................!
real 53.28
user 51.93
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.5614       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.7791       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.4812       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.6653       1.0000         .10000E-03   10000.    
     8 'norm      '    .44351       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.884       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.3084       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .61053       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.6860       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .51768E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.5600       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    18.216       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .89790       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0410       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=   7283.237     FROM MIGRAD    STATUS=CONVERGED    505 CALLS     2067 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.5617        2.4734        .47121E-02    .34328E-03
   2  Prefactor     4.7616        17.633        .46010E-02    .13070E-02
   3  Prefactor     .10000E-03    13.332        .90712E-02** at limit **
   4  Prefactor     .10002E-03    59.840        .90712E-02** at limit **
   5  Prefactor     .10000E-03    4.9340        .90712E-02** at limit **
   6  Prefactor     6.4780        19.395        .39411E-02    .51320E-04
   7  Prefactor     7.6651        3.7306        .36210E-02    .46077E-03
   8  norm          .44325        .83887        .11038E-01    .12508E-02
   9  Prefactor     13.885        16.605        .26874E-02    .35840E-04
  10  Prefactor     .10000E-03    3.9512        .90712E-02** at limit **
  11  Prefactor     9.3088        4.4282        .32839E-02    .32774E-03
  12  Prefactor     .10000E-03    18.512        .90712E-02** at limit **
  13  norm          .56191        5.5205        .66561E-01    .66283E-03
  14  Prefactor     3.6862        3.4132        .52592E-02    .12323E-02
  15  Prefactor     .10002E-03    2.3261        .76632E-01** at limit **
  16  Prefactor     .10000E-03    8.0144        .90712E-02** at limit **
  17  Prefactor     5.5585        7.9342        .42596E-02    .38900E-03
  18  Prefactor     .10000E-03    23.615        .90712E-02** at limit **
  19  Prefactor     18.218        20.365        .23460E-02    .81097E-04
  20  Prefactor     .10000E-03    3.0332        .90712E-02** at limit **
  21  Normalizat    .89791        .17463        .44875E-01    .98171E-03
  22  Prefactor     1.0411        .13418        .40467E-01    .11166E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.56172
  Prefactor  = 4.76157
  Prefactor  = 0.000100001
  Prefactor  = 0.000100021
  Prefactor  = 0.0001
  Prefactor  = 6.47797
  Prefactor  = 7.66508
  norm       = 0.443251
  Prefactor  = 13.8852
  Prefactor  = 0.0001
  Prefactor  = 9.3088
  Prefactor  = 0.000100002
  norm       = 0.561912
  Prefactor  = 3.6862
  Prefactor  = 0.000100019
  Prefactor  = 0.0001
  Prefactor  = 5.55852
  Prefactor  = 0.0001
  Prefactor  = 18.2179
  Prefactor  = 0.0001
  Normalizat = 0.897908
  Prefactor  = 1.0411
 **********
 **   18 **HESSE 
 **********

 FCN=   7283.237     FROM HESSE     STATUS=OK           350 CALLS     2417 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.5617        2.4715        .95151E-04   -1.5281    
   2  Prefactor     4.7616        17.614        .92020E-03   -1.5272    
   3  Prefactor     .10000E-03    13.338        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10002E-03    59.884        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.0146        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.4780        19.380        .15765E-03   -1.5199    
   7  Prefactor     7.6651        3.7295        .11064E-03   -1.5154    
   8  norm          .44325        .81845        .10233E-03   -1.5575    
   9  Prefactor     13.885        16.605        .10749E-03   -1.4963    
  10  Prefactor     .10000E-03    3.9862        .16557E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.3088        4.4329        .11689E-03   -1.5098    
  12  Prefactor     .10000E-03    18.513        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .56191        18.419        .38677E-02   -1.5558    
  14  Prefactor     3.6862        3.4177        .14374E-03   -1.5324    
  15  Prefactor     .10002E-03    5.7920        .41203E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    8.0339        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.5585        7.9256        .17038E-03   -1.5236    
  18  Prefactor     .10000E-03    23.619        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     18.218        20.367        .93841E-04   -1.4854    
  20  Prefactor     .10000E-03    3.0354        .14516E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .89791        .20227        .27354E-03   -.96534    
  22  Prefactor     1.0411        .15571        .20437E-03   -.91372    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.05695e-09
Minuit parameter uncertainties:
  1  2.47151
  2  17.633
  3  0.000206239
  4  0.00223437
  5  4.76526e-05
  6  19.3993
  7  3.72964
  8  0.818467
  9  16.6106
  10  2.35383e-05
  11  4.43304
  12  0.000368154
  13  6.43591
  14  3.4179
  15  0.00066733
  16  0.000121287
  17  7.92709
  18  0.000157118
  19  20.3752
  20  2.54186e-05
  21  0.202438
  22  0.155773
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  9.309e+00  4.433e+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.041e+00  1.558e-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.979e-01  2.024e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.93
Ra Dec: 331.892 -53.772
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 8.54e-08 +/- 4.06e-08
Energy Flux (Fixed Index): 2.67e-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) = 7281.92166349
delta logL = 1.31484615684

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7281.91332194
delta logL = 1.32318770288

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.6205       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3924       1.0000          .0000       10.000    
     3 'Normalizat'    .82723       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0793       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=   7281.913     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      250 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6200        19.113        .53084E-02    .28016E-03
   2  Index         3.3925        2.6392        .99365E-01    .16614E-03
   3  Normalizat    .82721        .73202E-01    .64123E-01    .19067E-04
   4  Prefactor     1.0793        .54226E-01    .38431E-01    .23973E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.62004
  Index      = 3.39247
  Normalizat = 0.827211
  Prefactor  = 1.07932
 **********
 **   18 **HESSE 
 **********

 FCN=   7281.913     FROM HESSE     STATUS=OK            33 CALLS      283 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6200        5.3942        .59955E-04   -1.5327    
   2  Index         3.3925        .99233        .40396E-02   -.32732    
   3  Normalizat    .82721        .19987        .28365E-03   -.99067    
   4  Prefactor     1.0793        .15681        .20107E-03   -.90130    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.0104e-08
Minuit parameter uncertainties:
  1  5.39488
  2  0.999743
  3  0.200047
  4  0.156877
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/196839': 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) = 7281.91332193
delta logL = 1.32318771323

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  3.620e+00  5.395e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  3.392e+00  9.997e-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.079e+00  1.569e-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.272e-01  2.000e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.88
Ra Dec: 331.892 -53.772
Photon Index (Free Index): 3.39 +/- 1.00
Photon Flux (Free Index): 1.36e-07 +/- 5.71e-08
Energy Flux (Free Index): 2.33e-05 +/- 9.84e-06

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.54e-08', energy_flux2='2.33e-05', photon_flux_error='4.06e-08', dlogl='1.32e+00', energy_flux='2.67e-05', photon_flux2='1.36e-07', job_status='DONE', time_completed='2021-09-28 05:56:52.818880', photon_index_error2='1.00', photon_index2='3.39', ts='7.93', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='9.84e-06', EG='0.90', time_epoch_completed='1632833812.82', return_code='0', job_id='196839', GAL2='1.08', EG2='0.83', return_code2='0', energy_flux_error='1.27e-05', photon_flux_error2='5.71e-08', ts2='10.88', photon_index='2.44' WHERE bin_id='1560' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:56:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0169>
Subject: Job 196839: <4FGL_J2207.5-5346_daily_bin1560> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin1560> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 28 05:45:24 2021
Job was executed on host(s) <bullet0169>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:45:27 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:45:27 2021
Terminated at Tue Sep 28 05:56:53 2021
Results reported at Tue Sep 28 05:56:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1560 331.892 -53.7719 643680001 643939201 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 :                                   599.56 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             330.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   686 sec.
    Turnaround time :                            689 sec.

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

