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


Performing analysis on: 4FGL_J2207.6+0053_daily_bin474
RA = 331.914, Dec = 0.8907
tmin = 362188801, tmax = 362448001
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='198792', job_status='RUN', time_executed='2021-09-28 05:53:00.670525', time_epoch_executed='1632833580.67' WHERE source_name='4FGL J2207.6+0053' and cadence='daily' and bin_id='474'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/198792

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/198792/ft1_4FGL_J2207.6+0053_daily_bin474.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/198792/ft2_4FGL_J2207.6+0053_daily_bin474.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/198792/ft1_4FGL_J2207.6+0053_daily_bin474.fits outfile=/scratch/kocevski/198792/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin474.fits ra=331.914 dec=0.8907 rad=12.0 tmin=362188801.0 tmax=362448001.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 4.36
user 3.92
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/198792/ft2_4FGL_J2207.6+0053_daily_bin474.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/198792/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin474.fits evtable="EVENTS" outfile="/scratch/kocevski/198792/ft1_filtered_4FGL_J2207.6+0053_daily_bin474.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.68
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/198792/ft1_filtered_4FGL_J2207.6+0053_daily_bin474.fits" evtable="EVENTS" scfile=/scratch/kocevski/198792/ft2_4FGL_J2207.6+0053_daily_bin474.fits sctable="SC_DATA" outfile=/scratch/kocevski/198792/ltcube_362188801_362448001_4FGL_J2207.6+0053_daily_bin474.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/198792/ft2_4FGL_J2207.6+0053_daily_bin474.fits
.....................!
real 12.17
user 11.44
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/198792/ft1_filtered_4FGL_J2207.6+0053_daily_bin474.fits evtable="EVENTS" scfile=/scratch/kocevski/198792/ft2_4FGL_J2207.6+0053_daily_bin474.fits sctable="SC_DATA" expcube=/scratch/kocevski/198792/ltcube_362188801_362448001_4FGL_J2207.6+0053_daily_bin474.fits outfile=/scratch/kocevski/198792/expmap_362188801_362448001_4FGL_J2207.6+0053_daily_bin474.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/198792/ltcube_362188801_362448001_4FGL_J2207.6+0053_daily_bin474.fits
.....................!
real 190.54
user 184.71
sys 5.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/198792/ft1_filtered_4FGL_J2207.6+0053_daily_bin474.fits scfile=/scratch/kocevski/198792/ft2_4FGL_J2207.6+0053_daily_bin474.fits outfile=/scratch/kocevski/198792/cmap_362188801_362448001_4FGL_J2207.6+0053_daily_bin474.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/198792/ft1_filtered_4FGL_J2207.6+0053_daily_bin474.fits scfile=/scratch/kocevski/198792/ft2_4FGL_J2207.6+0053_daily_bin474.fits outfile=/scratch/kocevski/198792/cmap_HighResolution_362188801_362448001_4FGL_J2207.6+0053_daily_bin474.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.54
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.0844       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .16326       1.0000         .10000E-03   10000.    
     4 'Prefactor '    25.382       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.6600       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11058E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10178E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10717       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.1532       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .20138       1.0000         .10000E-03   10000.    
    14 'Prefactor '    33.115       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.8950       1.0000         .10000E-03   10000.    
    19 'norm      '    2.1531       1.0000         .10000E-03   10000.    
    20 'Prefactor '    13.053       1.0000         .10000E-03   10000.    
    21 'Prefactor '    87.829       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2938       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .64274       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=   5478.056     FROM MIGRAD    STATUS=CONVERGED    956 CALLS     3388 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    68.780        .18142E-02** at limit **
   2  Prefactor     6.0465        183.54        .16277E-03   -.36250E-04
   3  Prefactor     .17095        33.748        .16624E-02    .55217E-03
   4  Prefactor     25.337        41.049        .79512E-04   -.15013E-04
   5  Prefactor     3.6468        129.78        .21114E-03   -.12330E-04
   6  Prefactor     .10000E-03    22.572        .18142E-02** at limit **
   7  Prefactor     .10001E-03    97.540        .18142E-02** at limit **
   8  norm          .10000E-03    1.2465        .15785E-03** at limit **
   9  norm          .34333E-03    22.729        .82643E-01** at limit **
  10  Prefactor     3.1599        10.262        .22827E-03    .13497E-03
  11  Prefactor     .10000E-03    9.7769        .18142E-02** at limit **
  12  Prefactor     .10000E-03    10.383        .18142E-02** at limit **
  13  Prefactor     .14649        26.180        .84162E-01    .35635E-03
  14  Prefactor     33.122        24.938        .69633E-04    .13450E-03
  15  Prefactor     .10000E-03    9.5930        .18142E-02** at limit **
  16  Prefactor     .10000E-03    5.1300        .16342E-02** at limit **
  17  Prefactor     .10000E-03    5.6470        .17168E-02** at limit **
  18  Prefactor     2.8952        4.3857        .18044E-03    .39756E-04
  19  norm          2.1501        5.2143        .23836E-03   -.97394E-04
  20  Prefactor     13.053        7.8524        .11087E-03    .41017E-05
  21  Prefactor     87.743        99.100        .21436E-03    .38982E-04
  22  Normalizat    1.2937        .27722        .26824E-03    .31682E-03
  23  Prefactor     .64291        .14069        .19906E-03    .20658E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 6.04652
  Prefactor  = 0.170951
  Prefactor  = 25.3371
  Prefactor  = 3.64679
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  norm       = 0.0001
  norm       = 0.00034333
  Prefactor  = 3.15993
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.146487
  Prefactor  = 33.122
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.89524
  norm       = 2.15007
  Prefactor  = 13.0526
  Prefactor  = 87.7432
  Normalizat = 1.29372
  Prefactor  = 0.64291
 **********
 **   18 **HESSE 
 **********

 FCN=   5478.056     FROM HESSE     STATUS=OK           368 CALLS     3756 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    68.812        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.0465        151.99        .65107E-05   -1.5216    
   3  Prefactor     .17095        26.542        .66494E-04   -1.5625    
   4  Prefactor     25.337        40.071        .31805E-05   -1.4701    
   5  Prefactor     3.6468        127.66        .84457E-05   -1.5326    
   6  Prefactor     .10000E-03    22.572        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10001E-03    97.549        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.2465        .31571E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .34333E-03    20.822        .87224E-01   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.1599        10.257        .91306E-05   -1.5352    
  11  Prefactor     .10000E-03    9.7790        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    10.385        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .14649        24.049        .88536E-01   -1.5631    
  14  Prefactor     33.122        24.834        .13927E-04   -1.4556    
  15  Prefactor     .10000E-03    9.5935        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    5.1305        .32684E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    5.6473        .34336E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.8952        4.3848        .72177E-05   -1.5368    
  19  norm          2.1501        5.2117        .95344E-05   -1.5415    
  20  Prefactor     13.053        7.8524        .44348E-05   -1.4985    
  21  Prefactor     87.743        99.079        .85742E-05   -1.3832    
  22  Normalizat    1.2937        .27734        .53648E-04   -.83754    
  23  Prefactor     .64291        .14081        .79622E-05   -1.0581    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.69847e-09
Minuit parameter uncertainties:
  1  0.000132888
  2  60.8024
  3  4.26091
  4  40.1133
  5  43.2533
  6  3.94908e-07
  7  0.00164874
  8  3.17535e-06
  9  0.14241
  10  10.2629
  11  5.32665e-05
  12  7.93586e-06
  13  3.75409
  14  24.8414
  15  6.56556e-06
  16  2.48468e-05
  17  3.22661e-06
  18  4.38531
  19  5.21276
  20  7.85302
  21  99.2661
  22  0.277658
  23  0.14089
Done.

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

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  3.312e+01  2.484e+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:  6.429e-01  1.409e-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:  1.294e+00  2.777e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.40
Ra Dec: 331.914 0.891
Photon Index (Fixed Index): 2.48 +/- 0.00
Photon Flux (Fixed Index): 8.05e-08 +/- 6.03e-08
Energy Flux (Fixed Index): 2.38e-05 +/- 1.78e-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) = 5477.47015663
delta logL = 0.586256878135

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5477.46265335
delta logL = 0.593760160852

Fit tolerance = 1e-08

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

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

 FCN=   5477.463     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      251 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.583        120.01        .28215E-02    .23748E-03
   2  Index         3.2818        2.8478        .99523E-01    .19082E-03
   3  Normalizat    1.2269        .96352E-01    .61969E-01    .15307E-04
   4  Prefactor     .66733        .47811E-01    .41965E-01   -.10246E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.583
  Index      = 3.28184
  Normalizat = 1.22688
  Prefactor  = 0.667335
 **********
 **   18 **HESSE 
 **********

 FCN=   5477.463     FROM HESSE     STATUS=OK            33 CALLS      284 TOTAL
                     EDM=   .66E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.583        26.523        .11286E-03   -1.4998    
   2  Index         3.2818        1.1812        .38980E-02   -.35078    
   3  Normalizat    1.2269        .26979        .27409E-03   -.85776    
   4  Prefactor     .66733        .14324        .19564E-03   -1.0482    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.63208e-11
Minuit parameter uncertainties:
  1  26.5481
  2  1.19399
  3  0.270102
  4  0.143323
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/198792': 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) = 5477.46265304
delta logL = 0.593760474389

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  1.258e+01  2.655e+01  1.000e-04  1.000e+04 ( 1.000e-13)
287        Index:  3.282e+00  1.194e+00  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:  6.673e-01  1.433e-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:  1.227e+00  2.701e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.88
Ra Dec: 331.914 0.891
Photon Index (Free Index): 3.28 +/- 1.19
Photon Flux (Free Index): 1.32e-07 +/- 7.91e-08
Energy Flux (Free Index): 2.35e-05 +/- 1.30e-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/198792/cmap_HighResolution_362188801_362448001_4FGL_J2207.6+0053_daily_bin474.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.05e-08', energy_flux2='2.35e-05', photon_flux_error='6.03e-08', dlogl='5.94e-01', energy_flux='2.38e-05', photon_flux2='1.32e-07', job_status='DONE', time_completed='2021-09-28 06:03:25.469221', photon_index_error2='1.19', photon_index2='3.28', ts='4.40', fit_tolerance='1e-08', GAL='0.64', photon_index_error='0.00', energy_flux_error2='1.30e-05', EG='1.29', time_epoch_completed='1632834205.47', return_code='0', job_id='198792', GAL2='0.67', EG2='1.23', return_code2='0', energy_flux_error='1.78e-05', photon_flux_error2='7.91e-08', ts2='5.88', photon_index='2.48' WHERE bin_id='474' AND source_name='4FGL J2207.6+0053' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:03:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 198792: <4FGL_J2207.6+0053_daily_bin474> in cluster <slac> Done

Job <4FGL_J2207.6+0053_daily_bin474> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 05:51:02 2021
Job was executed on host(s) <bullet0233>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:51:03 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:51:03 2021
Terminated at Tue Sep 28 06:03:26 2021
Results reported at Tue Sep 28 06:03:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.6+0053_daily_bin474 331.914 0.8907 362188801 362448001 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 :                                   619.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             305.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   742 sec.
    Turnaround time :                            744 sec.

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

