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


Performing analysis on: 4FGL_J2207.6+0053_daily_bin584
RA = 331.914, Dec = 0.8907
tmin = 390700801, tmax = 390960001
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='200015', job_status='RUN', time_executed='2021-09-28 05:57:24.519470', time_epoch_executed='1632833844.52' WHERE source_name='4FGL J2207.6+0053' and cadence='daily' and bin_id='584'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/200015

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

Retrieving the FT1 file...

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

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

Retrieving 52 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/200015/ft1_4FGL_J2207.6+0053_daily_bin584.fits


Retrieving the FT1 file...

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

Retrieving 52 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/200015/ft2_4FGL_J2207.6+0053_daily_bin584.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/200015/ft1_4FGL_J2207.6+0053_daily_bin584.fits outfile=/scratch/kocevski/200015/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin584.fits ra=331.914 dec=0.8907 rad=12.0 tmin=390700801.0 tmax=390960001.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 7.17
user 6.88
sys 0.26

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/200015/ft2_4FGL_J2207.6+0053_daily_bin584.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/200015/ft2_4FGL_J2207.6+0053_daily_bin584.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/200015/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin584.fits evtable="EVENTS" outfile="/scratch/kocevski/200015/ft1_filtered_4FGL_J2207.6+0053_daily_bin584.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/200015/ft1_filtered_4FGL_J2207.6+0053_daily_bin584.fits" evtable="EVENTS" scfile=/scratch/kocevski/200015/ft2_4FGL_J2207.6+0053_daily_bin584.fits sctable="SC_DATA" outfile=/scratch/kocevski/200015/ltcube_390700801_390960001_4FGL_J2207.6+0053_daily_bin584.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/200015/ft2_4FGL_J2207.6+0053_daily_bin584.fits
.....................!
real 11.40
user 11.02
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/200015/ft1_filtered_4FGL_J2207.6+0053_daily_bin584.fits evtable="EVENTS" scfile=/scratch/kocevski/200015/ft2_4FGL_J2207.6+0053_daily_bin584.fits sctable="SC_DATA" expcube=/scratch/kocevski/200015/ltcube_390700801_390960001_4FGL_J2207.6+0053_daily_bin584.fits outfile=/scratch/kocevski/200015/expmap_390700801_390960001_4FGL_J2207.6+0053_daily_bin584.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/200015/ltcube_390700801_390960001_4FGL_J2207.6+0053_daily_bin584.fits
.....................!
real 190.58
user 185.55
sys 4.47

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 171 point sources and 0 extended sources

Setting source of interest to:
4FGL J2207.6+0053 @ 331.914 0.8907

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/200015/ft1_filtered_4FGL_J2207.6+0053_daily_bin584.fits scfile=/scratch/kocevski/200015/ft2_4FGL_J2207.6+0053_daily_bin584.fits outfile=/scratch/kocevski/200015/cmap_390700801_390960001_4FGL_J2207.6+0053_daily_bin584.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.914 yref=0.8907 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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/200015/ft1_filtered_4FGL_J2207.6+0053_daily_bin584.fits scfile=/scratch/kocevski/200015/ft2_4FGL_J2207.6+0053_daily_bin584.fits outfile=/scratch/kocevski/200015/cmap_HighResolution_390700801_390960001_4FGL_J2207.6+0053_daily_bin584.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.914 yref=0.8907 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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/200015/ft1_filtered_4FGL_J2207.6+0053_daily_bin584.fits evtable="EVENTS" scfile=/scratch/kocevski/200015/ft2_4FGL_J2207.6+0053_daily_bin584.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/200015/Model_4FGL_J2207.6+0053_daily_bin584.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/200015/ft1_filtered_4FGL_J2207.6+0053_daily_bin584.fits.....................!
real 55.01
user 53.56
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/200015/ft1_filtered_4FGL_J2207.6+0053_daily_bin584.fits', '/scratch/kocevski/200015/ft2_4FGL_J2207.6+0053_daily_bin584.fits', expMap='/scratch/kocevski/200015/expmap_390700801_390960001_4FGL_J2207.6+0053_daily_bin584.fits', expCube='/scratch/kocevski/200015/ltcube_390700801_390960001_4FGL_J2207.6+0053_daily_bin584.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/200015/Model_4FGL_J2207.6+0053_daily_bin584.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2207.6+0053'

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  2.216e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
287        Index:  2.484e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.070e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/200015/ft1_filtered_4FGL_J2207.6+0053_daily_bin584.fits
Spacecraft file(s): /scratch/kocevski/200015/ft2_4FGL_J2207.6+0053_daily_bin584.fits
Exposure map: /scratch/kocevski/200015/expmap_390700801_390960001_4FGL_J2207.6+0053_daily_bin584.fits
Exposure cube: /scratch/kocevski/200015/ltcube_390700801_390960001_4FGL_J2207.6+0053_daily_bin584.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/200015/Model_4FGL_J2207.6+0053_daily_bin584.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) = 5531.71490394

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.714       1.0000         .10000E-03   10000.    
     2 'Prefactor '    29.733       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.0088       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11455E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.487       1.0000         .10000E-03   10000.    
     8 'norm      '    3.7386       1.0000         .10000E-03   10000.    
     9 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.9019       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    16.369       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11788E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.6349       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .23982E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .28783       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2028       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5531.661     FROM MIGRAD    STATUS=CONVERGED    533 CALLS     2611 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.700        28.562        .36311E-06    .16428E-04
   2  Prefactor     29.740        44.518        .16274E-06    .28253E-04
   3  Prefactor     2.0073        3.0718        .47829E-06    .65316E-04
   4  Prefactor     .10000E-03    136.61       -.53699E-06** at limit **
   5  Prefactor     .10000E-03    17.093        .47222E-07** at limit **
   6  Prefactor     .10000E-03    35.864        .42000E-06** at limit **
   7  Prefactor     10.439        60.174       -.13640E-05   -.71977E-06
   8  norm          3.7397        2.5222        .16112E-06    .18393E-03
   9  norm          .10000E-03    10.535       -.77439E-06** at limit **
  10  Prefactor     .10000E-03    10.522       -.23681E-05** at limit **
  11  Prefactor     .10000E-03    5.1038       -.17599E-07** at limit **
  12  Prefactor     2.9014        9.1750        .57497E-06    .97614E-05
  13  Prefactor     .10000E-03    4.9851        .20662E-07** at limit **
  14  Prefactor     16.371        12.409        .15647E-06    .37271E-04
  15  Prefactor     .10000E-03    64.790        .29442E-06** at limit **
  16  Prefactor     5.6408        10.404        .70244E-06    .42430E-04
  17  Prefactor     .10000E-03    10.450        .38156E-06** at limit **
  18  Prefactor     .10000E-03    1.1266        .29854E-07** at limit **
  19  norm          .10006E-03    2.1175       -.13280E-06** at limit **
  20  Prefactor     .10000E-03    3.0020        .13887E-07** at limit **
  21  Prefactor     .10000E-03    21.353        .27307E-07** at limit **
  22  Normalizat    .28742        .26174       -.72680E-05    .95668E-05
  23  Prefactor     1.2030        .14855        .19000E-05    .13906E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.7
  Prefactor  = 29.7402
  Prefactor  = 2.00728
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.4386
  norm       = 3.73972
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.9014
  Prefactor  = 0.0001
  Prefactor  = 16.3714
  Prefactor  = 0.0001
  Prefactor  = 5.64076
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100061
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.28742
  Prefactor  = 1.20302
 **********
 **   18 **HESSE 
 **********

 FCN=   5531.661     FROM HESSE     STATUS=OK           370 CALLS     2981 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.700        28.593        .11705E-03   -1.5024    
   2  Prefactor     29.740        44.127        .73476E-04   -1.4617    
   3  Prefactor     2.0073        3.0476        .13598E-03   -1.5425    
   4  Prefactor     .10000E-03    140.35        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    17.103        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    35.873        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.439        60.011        .12373E-03   -1.5062    
   8  norm          3.7397        2.5234        .92501E-04   -1.5321    
   9  norm          .10000E-03    10.490        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    10.046        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    5.1144        .16408E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.9014        9.1628        .23853E-03   -1.5367    
  13  Prefactor     .10000E-03    4.9886        .16218E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     16.371        12.405        .98995E-04   -1.4899    
  15  Prefactor     .10000E-03    67.030        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.6408        10.397        .16923E-03   -1.5233    
  17  Prefactor     .10000E-03    10.558        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    1.1287        .77058E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10006E-03    36.194        .20770E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.0160        .12585E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    21.355        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .28742        .25577        .51416E-03   -1.2359    
  23  Prefactor     1.2030        .14764        .15510E-03   -.86238    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66328e-09
Minuit parameter uncertainties:
  1  28.6261
  2  44.1751
  3  3.04785
  4  0.000530092
  5  3.38387e-06
  6  4.05365e-05
  7  50.1336
  8  2.52343
  9  1.56563e-05
  10  0.000139431
  11  3.12556e-06
  12  9.16727
  13  1.31064e-06
  14  12.4072
  15  3.08572e-05
  16  10.4007
  17  1.68083e-05
  18  2.35157e-07
  19  0.0029806
  20  7.233e-07
  21  1.80712e-06
  22  0.256816
  23  0.147693
Done.

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

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  1.637e+01  1.241e+01  1.000e-04  1.000e+04 ( 1.000e-13)
287        Index:  2.484e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.070e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
553    Prefactor:  1.203e+00  1.477e-01  0.000e+00  1.000e+01 ( 1.000e+00)
554        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
555        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
552   Normalization:  2.874e-01  2.568e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.61
Ra Dec: 331.914 0.891
Photon Index (Fixed Index): 2.48 +/- 0.00
Photon Flux (Fixed Index): 3.98e-08 +/- 3.01e-08
Energy Flux (Fixed Index): 1.18e-05 +/- 8.91e-06

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) = 5530.39229844
delta logL = 1.2689189856

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5530.30500009
delta logL = 1.35621733795

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.351       1.0000         .10000E-03   10000.    
     2 'Index     '    1.5512       1.0000          .0000       10.000    
     3 'Normalizat'    .31110       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1965       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5530.305     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      213 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.337        19.548       -.78215E-05   -.69346E-04
   2  Index         1.5511        .51118       -.49143E-04    .60880E-04
   3  Normalizat    .31121        .25122        .75605E-05    .44444E-03
   4  Prefactor     1.1964        .15110       -.11699E-05    .79008E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.3375
  Index      = 1.55111
  Normalizat = 0.311209
  Prefactor  = 1.19641
 **********
 **   18 **HESSE 
 **********

 FCN=   5530.305     FROM HESSE     STATUS=OK            31 CALLS      244 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.337        19.386        .82893E-04   -1.4741    
   2  Index         1.5511        .50609        .84711E-02   -.76118    
   3  Normalizat    .31121        .24504        .49438E-03   -1.2217    
   4  Prefactor     1.1964        .14706        .15545E-03   -.86442    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.37573e-09
Minuit parameter uncertainties:
  1  19.3909
  2  0.507753
  3  0.24589
  4  0.147114
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/200015': 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) = 5530.30499931
delta logL = 1.35621811963

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  2.334e+01  1.939e+01  1.000e-04  1.000e+04 ( 1.000e-13)
287        Index:  1.551e+00  5.078e-01  0.000e+00  1.000e+01 (-1.000e+00)
288        Scale:  1.070e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
553    Prefactor:  1.196e+00  1.471e-01  0.000e+00  1.000e+01 ( 1.000e+00)
554        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
555        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
552   Normalization:  3.112e-01  2.459e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.29
Ra Dec: 331.914 0.891
Photon Index (Free Index): 1.55 +/- 0.51
Photon Flux (Free Index): 1.64e-08 +/- 1.65e-08
Energy Flux (Free Index): 4.36e-05 +/- 5.77e-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/200015/cmap_HighResolution_390700801_390960001_4FGL_J2207.6+0053_daily_bin584.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.98e-08', energy_flux2='4.36e-05', photon_flux_error='3.01e-08', dlogl='1.36e+00', energy_flux='1.18e-05', photon_flux2='1.64e-08', job_status='DONE', time_completed='2021-09-28 06:07:14.642515', photon_index_error2='0.51', photon_index2='1.55', ts='6.61', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', energy_flux_error2='5.77e-05', EG='0.29', time_epoch_completed='1632834434.64', return_code='0', job_id='200015', GAL2='1.20', EG2='0.31', return_code2='0', energy_flux_error='8.91e-06', photon_flux_error2='1.65e-08', ts2='9.29', photon_index='2.48' WHERE bin_id='584' AND source_name='4FGL J2207.6+0053' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:07:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0197>
Subject: Job 200015: <4FGL_J2207.6+0053_daily_bin584> in cluster <slac> Done

Job <4FGL_J2207.6+0053_daily_bin584> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 05:55:15 2021
Job was executed on host(s) <bullet0197>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:55:17 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:55:17 2021
Terminated at Tue Sep 28 06:07:15 2021
Results reported at Tue Sep 28 06:07:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.6+0053_daily_bin584 331.914 0.8907 390700801 390960001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2207.6+0053 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   583.42 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   717 sec.
    Turnaround time :                            720 sec.

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

