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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1597
RA = 331.892, Dec = -53.7719
tmin = 653270401, tmax = 653529601
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='196891', job_status='RUN', time_executed='2021-09-28 05:45:38.431716', time_epoch_executed='1632833138.43' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1597'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/196891

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/196891/ft1_4FGL_J2207.5-5346_daily_bin1597.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/196891/ft2_4FGL_J2207.5-5346_daily_bin1597.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/196891/ft1_4FGL_J2207.5-5346_daily_bin1597.fits outfile=/scratch/kocevski/196891/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1597.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=653270401.0 tmax=653529601.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.38
user 3.15
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/196891/ft2_4FGL_J2207.5-5346_daily_bin1597.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/196891/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1597.fits evtable="EVENTS" outfile="/scratch/kocevski/196891/ft1_filtered_4FGL_J2207.5-5346_daily_bin1597.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/196891/ft1_filtered_4FGL_J2207.5-5346_daily_bin1597.fits" evtable="EVENTS" scfile=/scratch/kocevski/196891/ft2_4FGL_J2207.5-5346_daily_bin1597.fits sctable="SC_DATA" outfile=/scratch/kocevski/196891/ltcube_653270401_653529601_4FGL_J2207.5-5346_daily_bin1597.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/196891/ft2_4FGL_J2207.5-5346_daily_bin1597.fits
.....................!
real 12.12
user 11.79
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/196891/ft1_filtered_4FGL_J2207.5-5346_daily_bin1597.fits evtable="EVENTS" scfile=/scratch/kocevski/196891/ft2_4FGL_J2207.5-5346_daily_bin1597.fits sctable="SC_DATA" expcube=/scratch/kocevski/196891/ltcube_653270401_653529601_4FGL_J2207.5-5346_daily_bin1597.fits outfile=/scratch/kocevski/196891/expmap_653270401_653529601_4FGL_J2207.5-5346_daily_bin1597.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/196891/ltcube_653270401_653529601_4FGL_J2207.5-5346_daily_bin1597.fits
.....................!
real 189.44
user 184.78
sys 4.32

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/196891/ft1_filtered_4FGL_J2207.5-5346_daily_bin1597.fits scfile=/scratch/kocevski/196891/ft2_4FGL_J2207.5-5346_daily_bin1597.fits outfile=/scratch/kocevski/196891/cmap_653270401_653529601_4FGL_J2207.5-5346_daily_bin1597.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.55
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/196891/ft1_filtered_4FGL_J2207.5-5346_daily_bin1597.fits scfile=/scratch/kocevski/196891/ft2_4FGL_J2207.5-5346_daily_bin1597.fits outfile=/scratch/kocevski/196891/cmap_HighResolution_653270401_653529601_4FGL_J2207.5-5346_daily_bin1597.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/196891/ft1_filtered_4FGL_J2207.5-5346_daily_bin1597.fits evtable="EVENTS" scfile=/scratch/kocevski/196891/ft2_4FGL_J2207.5-5346_daily_bin1597.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/196891/Model_4FGL_J2207.5-5346_daily_bin1597.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/196891/ft1_filtered_4FGL_J2207.5-5346_daily_bin1597.fits.......................!
real 25.03
user 23.73
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.156       1.0000         .10000E-03   10000.    
     3 'Prefactor '    36.039       1.0000         .10000E-03   10000.    
     4 'Prefactor '    42.194       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.2836       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.7265       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.3793       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    30.199       1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.920       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11232E-01   1.0000         .10000E-03   10000.    
    13 'norm      '    .10059E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .47934E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10159E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .69083E-01   1.0000         .10000E-03   10000.    
    17 'Prefactor '    29.831       1.0000         .10000E-03   10000.    
    18 'Prefactor '    20.832       1.0000         .10000E-03   10000.    
    19 'Prefactor '    14.537       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .65317       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .96565       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=   1956.507     FROM MIGRAD    STATUS=CONVERGED    860 CALLS     2812 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.0304        .43754E-03** at limit **
   2  Prefactor     13.134        25.810        .11043E-03   -.34513E-04
   3  Prefactor     36.034        84.497        .66758E-04   -.16928E-04
   4  Prefactor     42.104        101.73        .61714E-04   -.47436E-05
   5  Prefactor     9.2809        11.832        .13153E-03   -.31764E-04
   6  Prefactor     5.7168        31.299        .16785E-03   -.15849E-04
   7  Prefactor     .10000E-03    11.529        .28794E-03** at limit **
   8  norm          1.3794        1.2779        .45074E-04    .63056E-05
   9  Prefactor     .10000E-03    91.293        .18142E-02** at limit **
  10  Prefactor     30.191        25.528        .72909E-04   -.94485E-04
  11  Prefactor     15.921        11.266        .10038E-03   -.40976E-04
  12  Prefactor     .10001E-03    1161.6        .18158E-02** at limit **
  13  norm          .10000E-03    11.361        .14564E-02** at limit **
  14  Prefactor     .10001E-03    112.45        .24932E-02** at limit **
  15  Prefactor     .10000E-03    15.802        .17046E-02** at limit **
  16  Prefactor     .10022E-03    155.62        .13336    ** at limit **
  17  Prefactor     29.836        42.340        .73356E-04    .21349E-04
  18  Prefactor     20.978        1036.9        .87756E-04    .25262E-06
  19  Prefactor     14.526        160.01        .10505E-03    .16233E-06
  20  Prefactor     .10000E-03    17.134        .17887E-02** at limit **
  21  Normalizat    .65345        .37382        .31374E-03   -.12473E-03
  22  Prefactor     .96548        .25709        .18317E-03    .15799E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 13.1341
  Prefactor  = 36.0339
  Prefactor  = 42.1041
  Prefactor  = 9.28088
  Prefactor  = 5.71685
  Prefactor  = 0.0001
  norm       = 1.37936
  Prefactor  = 0.0001
  Prefactor  = 30.1908
  Prefactor  = 15.9209
  Prefactor  = 0.000100005
  norm       = 0.0001
  Prefactor  = 0.000100013
  Prefactor  = 0.0001
  Prefactor  = 0.000100216
  Prefactor  = 29.8356
  Prefactor  = 20.9782
  Prefactor  = 14.5258
  Prefactor  = 0.0001
  Normalizat = 0.653451
  Prefactor  = 0.965483
 **********
 **   18 **HESSE 
 **********

 FCN=   1956.507     FROM HESSE     STATUS=OK           330 CALLS     3142 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.0304        .87509E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.134        25.809        .44173E-05   -1.4983    
   3  Prefactor     36.034        84.492        .13352E-04   -1.4507    
   4  Prefactor     42.104        101.63        .24686E-05   -1.4409    
   5  Prefactor     9.2809        11.831        .52614E-05   -1.5099    
   6  Prefactor     5.7168        31.293        .67139E-05   -1.5230    
   7  Prefactor     .10000E-03    11.529        .57588E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.3794        1.2778        .18030E-05   -1.5473    
   9  Prefactor     .10000E-03    91.298        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     30.191        25.527        .14582E-04   -1.4608    
  11  Prefactor     15.921        11.266        .20076E-04   -1.4910    
  12  Prefactor     .10001E-03    1161.6        .36316E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    11.361        .29127E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10001E-03    115.33        .99729E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    15.810        .34092E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10022E-03    154.73        .13385       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     29.836        42.323        .29342E-05   -1.4615    
  18  Prefactor     20.978        1036.9        .17551E-04   -1.4792    
  19  Prefactor     14.526        159.92        .42021E-05   -1.4946    
  20  Prefactor     .10000E-03    17.134        .35775E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .65345        .37399        .12550E-04   -1.0576    
  22  Prefactor     .96548        .25726        .36634E-04   -.93889    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.61412e-10
Minuit parameter uncertainties:
  1  2.12539e-06
  2  25.8306
  3  84.7746
  4  102.056
  5  11.8344
  6  26.772
  7  7.85759e-05
  8  1.27782
  9  0.000272411
  10  25.5365
  11  11.2675
  12  0.00510347
  13  3.77252e-06
  14  0.00243288
  15  3.95902e-05
  16  0.0115937
  17  42.3659
  18  300.665
  19  96.7235
  20  6.44458e-07
  21  0.37546
  22  0.257587
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.592e+01  1.127e+01  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:  9.655e-01  2.576e-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.535e-01  3.755e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.56
Ra Dec: 331.892 -53.772
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 1.46e-07 +/- 1.03e-07
Energy Flux (Fixed Index): 4.57e-05 +/- 3.24e-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) = 1956.49922552
delta logL = 0.00801602877141

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1956.495485
delta logL = 0.0117565469147

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.034       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3255       1.0000          .0000       10.000    
     3 'Normalizat'    .66034       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96245       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=   1956.495     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      235 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.035        13.970        .97041E-04   -.40137E-03
   2  Index         2.3255        .71617        .56283E-02   -.10173E-03
   3  Normalizat    .66043        .35662        .31230E-03    .21760E-04
   4  Prefactor     .96242        .24916        .18345E-03    .45234E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.0347
  Index      = 2.3255
  Normalizat = 0.660429
  Prefactor  = 0.962422
 **********
 **   18 **HESSE 
 **********

 FCN=   1956.495     FROM HESSE     STATUS=OK            23 CALLS      258 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.035        13.750        .19408E-04   -1.4882    
   2  Index         2.3255        .70479        .22513E-03   -.56439    
   3  Normalizat    .66043        .35678        .12492E-04   -1.0548    
   4  Prefactor     .96242        .24929        .36689E-04   -.93993    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.75157e-10
Minuit parameter uncertainties:
  1  13.7527
  2  0.708098
  3  0.358038
  4  0.249592
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/196891': 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) = 1956.49548495
delta logL = 0.0117566038293

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.703e+01  1.375e+01  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  2.325e+00  7.081e-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:  9.624e-01  2.496e-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.604e-01  3.580e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.58
Ra Dec: 331.892 -53.772
Photon Index (Free Index): 2.33 +/- 0.71
Photon Flux (Free Index): 1.36e-07 +/- 1.18e-07
Energy Flux (Free Index): 4.94e-05 +/- 4.48e-05

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/196891/cmap_HighResolution_653270401_653529601_4FGL_J2207.5-5346_daily_bin1597.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.46e-07', energy_flux2='4.94e-05', photon_flux_error='1.03e-07', dlogl='1.18e-02', energy_flux='4.57e-05', photon_flux2='1.36e-07', job_status='DONE', time_completed='2021-09-28 05:52:30.157864', photon_index_error2='0.71', photon_index2='2.33', ts='6.56', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='4.48e-05', EG='0.65', time_epoch_completed='1632833550.16', return_code='0', job_id='196891', GAL2='0.96', EG2='0.66', return_code2='0', energy_flux_error='3.24e-05', photon_flux_error2='1.18e-07', ts2='6.58', photon_index='2.44' WHERE bin_id='1597' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:52:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0124>
Subject: Job 196891: <4FGL_J2207.5-5346_daily_bin1597> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1597 331.892 -53.7719 653270401 653529601 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 :                                   403.08 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             295.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   421 sec.
    Turnaround time :                            425 sec.

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

