/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 17 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 = 7399
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2207.6+0053_daily_bin58
RA = 331.914, Dec = 0.8907
tmin = 254361601, tmax = 254620801
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='196979', job_status='RUN', time_executed='2021-09-28 05:46:00.042387', time_epoch_executed='1632833160.04' WHERE source_name='4FGL J2207.6+0053' and cadence='daily' and bin_id='58'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/196979

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/196979/ft1_4FGL_J2207.6+0053_daily_bin58.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/196979/ft2_4FGL_J2207.6+0053_daily_bin58.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/196979/ft1_4FGL_J2207.6+0053_daily_bin58.fits outfile=/scratch/kocevski/196979/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin58.fits ra=331.914 dec=0.8907 rad=12.0 tmin=254361601.0 tmax=254620801.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 1.42
user 1.24
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/196979/ft2_4FGL_J2207.6+0053_daily_bin58.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/196979/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin58.fits evtable="EVENTS" outfile="/scratch/kocevski/196979/ft1_filtered_4FGL_J2207.6+0053_daily_bin58.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/196979/ft1_filtered_4FGL_J2207.6+0053_daily_bin58.fits" evtable="EVENTS" scfile=/scratch/kocevski/196979/ft2_4FGL_J2207.6+0053_daily_bin58.fits sctable="SC_DATA" outfile=/scratch/kocevski/196979/ltcube_254361601_254620801_4FGL_J2207.6+0053_daily_bin58.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/196979/ft2_4FGL_J2207.6+0053_daily_bin58.fits
.....................!
real 12.90
user 12.54
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/196979/ft1_filtered_4FGL_J2207.6+0053_daily_bin58.fits evtable="EVENTS" scfile=/scratch/kocevski/196979/ft2_4FGL_J2207.6+0053_daily_bin58.fits sctable="SC_DATA" expcube=/scratch/kocevski/196979/ltcube_254361601_254620801_4FGL_J2207.6+0053_daily_bin58.fits outfile=/scratch/kocevski/196979/expmap_254361601_254620801_4FGL_J2207.6+0053_daily_bin58.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/196979/ltcube_254361601_254620801_4FGL_J2207.6+0053_daily_bin58.fits
.....................!
real 190.27
user 185.55
sys 4.39

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/196979/ft1_filtered_4FGL_J2207.6+0053_daily_bin58.fits scfile=/scratch/kocevski/196979/ft2_4FGL_J2207.6+0053_daily_bin58.fits outfile=/scratch/kocevski/196979/cmap_254361601_254620801_4FGL_J2207.6+0053_daily_bin58.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/196979/ft1_filtered_4FGL_J2207.6+0053_daily_bin58.fits scfile=/scratch/kocevski/196979/ft2_4FGL_J2207.6+0053_daily_bin58.fits outfile=/scratch/kocevski/196979/cmap_HighResolution_254361601_254620801_4FGL_J2207.6+0053_daily_bin58.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.53
user 0.39
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/196979/ft1_filtered_4FGL_J2207.6+0053_daily_bin58.fits', '/scratch/kocevski/196979/ft2_4FGL_J2207.6+0053_daily_bin58.fits', expMap='/scratch/kocevski/196979/expmap_254361601_254620801_4FGL_J2207.6+0053_daily_bin58.fits', expCube='/scratch/kocevski/196979/ltcube_254361601_254620801_4FGL_J2207.6+0053_daily_bin58.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/196979/Model_4FGL_J2207.6+0053_daily_bin58.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/196979/ft1_filtered_4FGL_J2207.6+0053_daily_bin58.fits
Spacecraft file(s): /scratch/kocevski/196979/ft2_4FGL_J2207.6+0053_daily_bin58.fits
Exposure map: /scratch/kocevski/196979/expmap_254361601_254620801_4FGL_J2207.6+0053_daily_bin58.fits
Exposure cube: /scratch/kocevski/196979/ltcube_254361601_254620801_4FGL_J2207.6+0053_daily_bin58.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/196979/Model_4FGL_J2207.6+0053_daily_bin58.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) = 10467.8638103

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    35.123       1.0000         .10000E-03   10000.    
     2 'Prefactor '    43.898       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    44.184       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    96.863       1.0000         .10000E-03   10000.    
     8 'norm      '    4.0268       1.0000         .10000E-03   10000.    
     9 'norm      '    33.312       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.1774       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    33.540       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.0918       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .95062       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .74154       1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.8757       1.0000         .10000E-03   10000.    
    19 'norm      '    12.457       1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.0276       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .60805       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0233       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=   10467.83     FROM MIGRAD    STATUS=CONVERGED    502 CALLS     2573 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     35.121        25.770        .12183E-05    .32919E-05
   2  Prefactor     43.892        32.558        .25128E-05   -.18853E-04
   3  Prefactor     .10000E-03    .61198       -.35052E-08** at limit **
   4  Prefactor     44.182        27.030        .10753E-05    .99416E-05
   5  Prefactor     .10000E-03    14.401        .13060E-05** at limit **
   6  Prefactor     .10000E-03    34.773       -.10966E-05** at limit **
   7  Prefactor     96.873        57.601        .17175E-05    .13661E-03
   8  norm          4.0264        1.9732        .54172E-07    .75608E-04
   9  norm          33.316        17.350       -.13414E-06    .46130E-04
  10  Prefactor     1.1755        18.042       -.39414E-05    .12017E-04
  11  Prefactor     .10000E-03    4.3152        .16047E-06** at limit **
  12  Prefactor     33.537        16.830        .97787E-06    .33483E-04
  13  Prefactor     .10000E-03    4.0286        .24196E-08** at limit **
  14  Prefactor     5.0939        7.7435        .11108E-06    .85762E-05
  15  Prefactor     .10000E-03    10.049       -.26614E-06** at limit **
  16  Prefactor     .88441        42.680        .11386E-04   -.62537E-05
  17  Prefactor     .74058        .54353       -.16723E-07   -.67311E-03
  18  Prefactor     9.8885        6.1257       -.67632E-06    .70263E-04
  19  norm          12.456        4.1807        .19760E-06   -.27306E-04
  20  Prefactor     5.0274        4.6280       -.12984E-07    .33034E-05
  21  Prefactor     .10000E-03    35.495        .35185E-05** at limit **
  22  Normalizat    .60807        .19192       -.12298E-05    .36812E-04
  23  Prefactor     1.0233        .10185        .19172E-07    .15074E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 35.1214
  Prefactor  = 43.8924
  Prefactor  = 0.0001
  Prefactor  = 44.1821
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 96.873
  norm       = 4.02635
  norm       = 33.3158
  Prefactor  = 1.17552
  Prefactor  = 0.0001
  Prefactor  = 33.5368
  Prefactor  = 0.0001
  Prefactor  = 5.09385
  Prefactor  = 0.0001
  Prefactor  = 0.884412
  Prefactor  = 0.740578
  Prefactor  = 9.8885
  norm       = 12.4558
  Prefactor  = 5.0274
  Prefactor  = 0.0001
  Normalizat = 0.608066
  Prefactor  = 1.02334
 **********
 **   18 **HESSE 
 **********

 FCN=   10467.83     FROM HESSE     STATUS=OK           376 CALLS     2949 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     35.121        25.747        .67619E-04   -1.4522    
   2  Prefactor     43.892        32.483        .60509E-04   -1.4382    
   3  Prefactor     .10000E-03    .61715        .77911E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     44.182        27.017        .60314E-04   -1.4378    
   5  Prefactor     .10000E-03    14.383        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    34.805        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     96.873        56.744        .40841E-04   -1.3736    
   8  norm          4.0264        1.9676        .94727E-04   -1.5307    
   9  norm          33.316        17.321        .69428E-04   -1.4553    
  10  Prefactor     1.1755        17.613        .42183E-03   -1.5491    
  11  Prefactor     .10000E-03    4.3369        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     33.537        16.839        .69192E-04   -1.4549    
  13  Prefactor     .10000E-03    4.0353        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.0939        7.7303        .17818E-03   -1.5257    
  15  Prefactor     .10000E-03    10.080        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .88441        47.023        .49262E-02   -1.5520    
  17  Prefactor     .74058        9.6671        .24440E-02   -1.5536    
  18  Prefactor     9.8885        5.9282        .12751E-03   -1.5079    
  19  norm          12.456        4.1789        .11350E-03   -1.5002    
  20  Prefactor     5.0274        4.6329        .17934E-03   -1.5259    
  21  Prefactor     .10000E-03    35.494        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .60807        .21327        .39878E-03   -1.0764    
  23  Prefactor     1.0233        .11581        .17927E-03   -.91955    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.95993e-08
Minuit parameter uncertainties:
  1  25.7549
  2  32.4961
  3  1.35186e-05
  4  27.0249
  5  3.53468e-05
  6  2.57043e-06
  7  56.7761
  8  1.96764
  9  17.3234
  10  9.10315
  11  1.38414e-06
  12  16.8417
  13  2.75783e-07
  14  7.73182
  15  8.3642e-06
  16  12.9077
  17  5.35205
  18  5.9285
  19  4.17903
  20  4.63319
  21  2.74314e-05
  22  0.213554
  23  0.115834
Done.

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

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  5.094e+00  7.732e+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

GAL_V02
   Spectrum: PowerLaw
553    Prefactor:  1.023e+00  1.158e-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:  6.081e-01  2.136e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.75
Ra Dec: 331.914 0.891
Photon Flux Upper Limit: 6.93e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.39e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/196979/likelihoodResults_254361601_254620801_4FGL_J2207.6+0053_daily_bin58.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10467.7699914
delta logL = 0.063385016354

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10467.7527731
delta logL = 0.0806033225654

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.8305       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0741       1.0000          .0000       10.000    
     3 'Normalizat'    .61343       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0215       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10467.75     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      286 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.8298        10.086        .15352E-03    .30096E-03
   2  Index         2.0733        .97161        .11107E-01    .10045E-03
   3  Normalizat    .61298        .19812        .39724E-03   -.14167E-03
   4  Prefactor     1.0216        .11415        .17939E-03   -.33193E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.82975
  Index      = 2.07327
  Normalizat = 0.612982
  Prefactor  = 1.02164
 **********
 **   18 **HESSE 
 **********

 FCN=   10467.75     FROM HESSE     STATUS=OK            23 CALLS      309 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.8298        10.013        .61407E-05   -1.5185    
   2  Index         2.0733        .96496        .44430E-03   -.62531    
   3  Normalizat    .61298        .19819        .15890E-04   -1.0744    
   4  Prefactor     1.0216        .11419        .35878E-04   -.92012    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.6939e-10
Minuit parameter uncertainties:
  1  10.0155
  2  0.974309
  3  0.198417
  4  0.114221
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/196979': 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) = 10467.7527678
delta logL = 0.0806085885924

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  6.830e+00  1.002e+01  1.000e-04  1.000e+04 ( 1.000e-13)
287        Index:  2.073e+00  9.743e-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.022e+00  1.142e-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:  6.130e-01  1.984e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.75
Ra Dec: 331.914 0.891

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/196979/cmap_HighResolution_254361601_254620801_4FGL_J2207.6+0053_daily_bin58.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.39e-03', job_status='DONE', photon_flux_upper_limit='6.93e-08', time_completed='2021-09-28 06:00:57.889752', job_id='196979', GAL2='1.02', fit_tolerance='1e-08', EG2='0.61', EG='0.61', time_epoch_completed='1632834057.89', return_code2='0', ts='0.75', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='8.06e-02', ts2='0.91', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='58' AND source_name='4FGL J2207.6+0053' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:00:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0109>
Subject: Job 196979: <4FGL_J2207.6+0053_daily_bin58> in cluster <slac> Done

Job <4FGL_J2207.6+0053_daily_bin58> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 28 05:45:34 2021
Job was executed on host(s) <bullet0109>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:45:35 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:35 2021
Terminated at Tue Sep 28 06:00:58 2021
Results reported at Tue Sep 28 06:00:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.6+0053_daily_bin58 331.914 0.8907 254361601 254620801 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 :                                   896.29 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             349.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   923 sec.
    Turnaround time :                            924 sec.

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

