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


Performing analysis on: 4FGL_J2207.6+0053_daily_bin1441
RA = 331.914, Dec = 0.8907
tmin = 612835201, tmax = 613094401
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='204517', job_status='RUN', time_executed='2021-09-28 06:06:14.228065', time_epoch_executed='1632834374.23' WHERE source_name='4FGL J2207.6+0053' and cadence='daily' and bin_id='1441'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/204517

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/204517/ft1_4FGL_J2207.6+0053_daily_bin1441.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/204517/ft2_4FGL_J2207.6+0053_daily_bin1441.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/204517/ft1_4FGL_J2207.6+0053_daily_bin1441.fits outfile=/scratch/kocevski/204517/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin1441.fits ra=331.914 dec=0.8907 rad=12.0 tmin=612835201.0 tmax=613094401.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 2.89
user 2.66
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/204517/ft2_4FGL_J2207.6+0053_daily_bin1441.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/204517/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin1441.fits evtable="EVENTS" outfile="/scratch/kocevski/204517/ft1_filtered_4FGL_J2207.6+0053_daily_bin1441.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.51
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/204517/ft1_filtered_4FGL_J2207.6+0053_daily_bin1441.fits" evtable="EVENTS" scfile=/scratch/kocevski/204517/ft2_4FGL_J2207.6+0053_daily_bin1441.fits sctable="SC_DATA" outfile=/scratch/kocevski/204517/ltcube_612835201_613094401_4FGL_J2207.6+0053_daily_bin1441.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/204517/ft2_4FGL_J2207.6+0053_daily_bin1441.fits
.....................!
real 13.68
user 13.32
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/204517/ft1_filtered_4FGL_J2207.6+0053_daily_bin1441.fits evtable="EVENTS" scfile=/scratch/kocevski/204517/ft2_4FGL_J2207.6+0053_daily_bin1441.fits sctable="SC_DATA" expcube=/scratch/kocevski/204517/ltcube_612835201_613094401_4FGL_J2207.6+0053_daily_bin1441.fits outfile=/scratch/kocevski/204517/expmap_612835201_613094401_4FGL_J2207.6+0053_daily_bin1441.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/204517/ltcube_612835201_613094401_4FGL_J2207.6+0053_daily_bin1441.fits
.....................!
real 190.78
user 184.95
sys 5.33

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/204517/ft1_filtered_4FGL_J2207.6+0053_daily_bin1441.fits scfile=/scratch/kocevski/204517/ft2_4FGL_J2207.6+0053_daily_bin1441.fits outfile=/scratch/kocevski/204517/cmap_612835201_613094401_4FGL_J2207.6+0053_daily_bin1441.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/204517/ft1_filtered_4FGL_J2207.6+0053_daily_bin1441.fits scfile=/scratch/kocevski/204517/ft2_4FGL_J2207.6+0053_daily_bin1441.fits outfile=/scratch/kocevski/204517/cmap_HighResolution_612835201_613094401_4FGL_J2207.6+0053_daily_bin1441.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.57
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    54.857       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.7285       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    71.670       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.4167       1.0000         .10000E-03   10000.    
     8 'norm      '    .10100E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .65467       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    36.130       1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.317       1.0000         .10000E-03   10000.    
    14 'Prefactor '    31.005       1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.3987       1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.0783       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .27608E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .56436       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    27.861       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .75181       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0422       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=   9147.147     FROM MIGRAD    STATUS=CONVERGED    510 CALLS     2573 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     54.855        33.154        .76748E-07   -.49330E-04
   2  Prefactor     1.7239        41.363        .36875E-05    .66162E-04
   3  Prefactor     .10000E-03    .77852       -.24280E-06** at limit **
   4  Prefactor     .10000E-03    19.576        .14648E-06** at limit **
   5  Prefactor     .10000E-03    8.9784        .51690E-06** at limit **
   6  Prefactor     71.684        50.276        .53327E-06    .14203E-03
   7  Prefactor     1.4075        91.289        .11431E-05    .79231E-04
   8  norm          .10000E-03    .57034        .41098E-06** at limit **
   9  norm          .53837        7.1910       -.80661E-06    .24419E-03
  10  Prefactor     .10002E-03    7.4869       -.39115E-05** at limit **
  11  Prefactor     .10000E-03    6.8796       -.13943E-06** at limit **
  12  Prefactor     36.137        21.494        .19389E-06    .21475E-03
  13  Prefactor     14.312        16.508        .15781E-06   -.10503E-03
  14  Prefactor     31.004        19.075        .63944E-07   -.11218E-03
  15  Prefactor     9.3944        21.899        .52393E-06   -.43618E-04
  16  Prefactor     7.0865        8.1347       -.80660E-07   -.38933E-03
  17  Prefactor     .10000E-03    2.4187        .17904E-08** at limit **
  18  Prefactor     .10000E-03    1.9146        .75687E-06** at limit **
  19  norm          .56684        2.1794        .12221E-05   -.18240E-03
  20  Prefactor     .10000E-03    1.5061        .21969E-08** at limit **
  21  Prefactor     27.874        64.127       -.27187E-05   -.12180E-03
  22  Normalizat    .75182        .18331       -.23033E-05   -.68397E-03
  23  Prefactor     1.0423        .10324       -.16618E-06   -.11939E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 54.855
  Prefactor  = 1.72395
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 71.6836
  Prefactor  = 1.40751
  norm       = 0.0001
  norm       = 0.538369
  Prefactor  = 0.000100017
  Prefactor  = 0.0001
  Prefactor  = 36.1372
  Prefactor  = 14.3122
  Prefactor  = 31.0037
  Prefactor  = 9.39443
  Prefactor  = 7.08647
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.566836
  Prefactor  = 0.0001
  Prefactor  = 27.8737
  Normalizat = 0.751817
  Prefactor  = 1.04232
 **********
 **   18 **HESSE 
 **********

 FCN=   9147.147     FROM HESSE     STATUS=OK           372 CALLS     2945 TOTAL
                     EDM=   .51E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     54.855        33.143        .54157E-04   -1.4225    
   2  Prefactor     1.7239        42.610        .31935E-03   -1.5445    
   3  Prefactor     .10000E-03    .80716        .16440E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    19.720        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.0241        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     71.684        50.276        .23710E-03   -1.4013    
   7  Prefactor     1.4075        89.389        .36365E-03   -1.5471    
   8  norm          .10000E-03    .58957        .70981E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .53837        63.186        .47164E-02   -1.5561    
  10  Prefactor     .10002E-03    9.5732        .33294E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    6.9769        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     36.137        21.495        .66674E-04   -1.4505    
  13  Prefactor     14.312        16.482        .10586E-03   -1.4951    
  14  Prefactor     31.004        19.061        .71957E-04   -1.4594    
  15  Prefactor     9.3944        21.899        .13072E-03   -1.5095    
  16  Prefactor     7.0865        7.9758        .15078E-03   -1.5175    
  17  Prefactor     .10000E-03    2.4199        .14526E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.5033        .24635E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .56684        3.6262        .24414E-02   -1.5557    
  20  Prefactor     .10000E-03    1.5083        .11463E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     27.874        64.120        .75899E-04   -1.4652    
  22  Normalizat    .75182        .21312        .34800E-03   -1.0188    
  23  Prefactor     1.0423        .12053        .17501E-03   -.91332    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.10219e-08
Minuit parameter uncertainties:
  1  33.1543
  2  17.1546
  3  9.44617e-06
  4  0.000100545
  5  0.000161002
  6  50.3054
  7  22.4679
  8  1.56296e-05
  9  11.6764
  10  0.000805275
  11  8.79168e-06
  12  21.4992
  13  16.4871
  14  19.0643
  15  21.9176
  16  7.97697
  17  8.12332e-07
  18  2.21043e-06
  19  2.86739
  20  5.95399e-07
  21  64.2795
  22  0.213352
  23  0.120562
Done.

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

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  3.100e+01  1.906e+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.042e+00  1.206e-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:  7.518e-01  2.134e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.93
Ra Dec: 331.914 0.891
Photon Index (Fixed Index): 2.48 +/- 0.00
Photon Flux (Fixed Index): 7.54e-08 +/- 4.63e-08
Energy Flux (Fixed Index): 2.23e-05 +/- 1.37e-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) = 9146.90090246
delta logL = 0.245875608367

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9146.89549568
delta logL = 0.251282385676

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.677       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9057       1.0000          .0000       10.000    
     3 'Normalizat'    .72394       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0533       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=   9146.895     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      263 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.677        144.67        .23169E-02    .24118E-03
   2  Index         2.9051        2.4864        .13405        .19360E-03
   3  Normalizat    .72438        .69211E-01    .79909E-01    .37709E-04
   4  Prefactor     1.0531        .36090E-01    .39721E-01   -.89809E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.677
  Index      = 2.90508
  Normalizat = 0.724384
  Prefactor  = 1.05314
 **********
 **   18 **HESSE 
 **********

 FCN=   9146.895     FROM HESSE     STATUS=OK            33 CALLS      296 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.677        24.616        .92676E-04   -1.4843    
   2  Index         2.9051        .78111        .47648E-02   -.43233    
   3  Normalizat    .72438        .20998        .35380E-03   -1.0294    
   4  Prefactor     1.0531        .12109        .17418E-03   -.90979    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.53056e-08
Minuit parameter uncertainties:
  1  24.6296
  2  0.785018
  3  0.210211
  4  0.121119
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/204517': 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) = 9146.89549183
delta logL = 0.2512862394

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  1.868e+01  2.463e+01  1.000e-04  1.000e+04 ( 1.000e-13)
287        Index:  2.905e+00  7.850e-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.053e+00  1.211e-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:  7.244e-01  2.102e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.59
Ra Dec: 331.914 0.891
Photon Index (Free Index): 2.91 +/- 0.79
Photon Flux (Free Index): 9.60e-08 +/- 5.38e-08
Energy Flux (Free Index): 2.01e-05 +/- 1.11e-05

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/204517/cmap_HighResolution_612835201_613094401_4FGL_J2207.6+0053_daily_bin1441.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.54e-08', energy_flux2='2.01e-05', photon_flux_error='4.63e-08', dlogl='2.51e-01', energy_flux='2.23e-05', photon_flux2='9.60e-08', job_status='DONE', time_completed='2021-09-28 06:18:40.843649', photon_index_error2='0.79', photon_index2='2.91', ts='5.93', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='1.11e-05', EG='0.75', time_epoch_completed='1632835120.84', return_code='0', job_id='204517', GAL2='1.05', EG2='0.72', return_code2='0', energy_flux_error='1.37e-05', photon_flux_error2='5.38e-08', ts2='6.59', photon_index='2.48' WHERE bin_id='1441' AND source_name='4FGL J2207.6+0053' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:18:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0072>
Subject: Job 204517: <4FGL_J2207.6+0053_daily_bin1441> in cluster <slac> Done

Job <4FGL_J2207.6+0053_daily_bin1441> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 06:06:00 2021
Job was executed on host(s) <bullet0072>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:06:01 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 06:06:01 2021
Terminated at Tue Sep 28 06:18:41 2021
Results reported at Tue Sep 28 06:18:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.6+0053_daily_bin1441 331.914 0.8907 612835201 613094401 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 :                                   736.22 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             386.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   760 sec.
    Turnaround time :                            761 sec.

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

