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


Performing analysis on: 4FGL_J2207.6+0053_daily_bin660
RA = 331.914, Dec = 0.8907
tmin = 410400001, tmax = 410659201
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='200144', job_status='RUN', time_executed='2021-09-28 05:59:07.681813', time_epoch_executed='1632833947.68' WHERE source_name='4FGL J2207.6+0053' and cadence='daily' and bin_id='660'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/200144

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/200144/ft1_4FGL_J2207.6+0053_daily_bin660.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/200144/ft2_4FGL_J2207.6+0053_daily_bin660.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/200144/ft1_4FGL_J2207.6+0053_daily_bin660.fits outfile=/scratch/kocevski/200144/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin660.fits ra=331.914 dec=0.8907 rad=12.0 tmin=410400001.0 tmax=410659201.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 6.54
user 6.27
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/200144/ft2_4FGL_J2207.6+0053_daily_bin660.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/200144/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin660.fits evtable="EVENTS" outfile="/scratch/kocevski/200144/ft1_filtered_4FGL_J2207.6+0053_daily_bin660.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.48
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/200144/ft1_filtered_4FGL_J2207.6+0053_daily_bin660.fits" evtable="EVENTS" scfile=/scratch/kocevski/200144/ft2_4FGL_J2207.6+0053_daily_bin660.fits sctable="SC_DATA" outfile=/scratch/kocevski/200144/ltcube_410400001_410659201_4FGL_J2207.6+0053_daily_bin660.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/200144/ft2_4FGL_J2207.6+0053_daily_bin660.fits
.....................!
real 12.00
user 11.66
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/200144/ft1_filtered_4FGL_J2207.6+0053_daily_bin660.fits evtable="EVENTS" scfile=/scratch/kocevski/200144/ft2_4FGL_J2207.6+0053_daily_bin660.fits sctable="SC_DATA" expcube=/scratch/kocevski/200144/ltcube_410400001_410659201_4FGL_J2207.6+0053_daily_bin660.fits outfile=/scratch/kocevski/200144/expmap_410400001_410659201_4FGL_J2207.6+0053_daily_bin660.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/200144/ltcube_410400001_410659201_4FGL_J2207.6+0053_daily_bin660.fits
.....................!
real 193.22
user 187.21
sys 5.46

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/200144/ft1_filtered_4FGL_J2207.6+0053_daily_bin660.fits scfile=/scratch/kocevski/200144/ft2_4FGL_J2207.6+0053_daily_bin660.fits outfile=/scratch/kocevski/200144/cmap_410400001_410659201_4FGL_J2207.6+0053_daily_bin660.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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/200144/ft1_filtered_4FGL_J2207.6+0053_daily_bin660.fits scfile=/scratch/kocevski/200144/ft2_4FGL_J2207.6+0053_daily_bin660.fits outfile=/scratch/kocevski/200144/cmap_HighResolution_410400001_410659201_4FGL_J2207.6+0053_daily_bin660.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/200144/ft1_filtered_4FGL_J2207.6+0053_daily_bin660.fits evtable="EVENTS" scfile=/scratch/kocevski/200144/ft2_4FGL_J2207.6+0053_daily_bin660.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/200144/Model_4FGL_J2207.6+0053_daily_bin660.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/200144/ft1_filtered_4FGL_J2207.6+0053_daily_bin660.fits.....................!
real 40.45
user 39.17
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10216E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10922E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    37.851       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    31.496       1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.205       1.0000         .10000E-03   10000.    
     8 'norm      '    .10683E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10528E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.6504       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .42350E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10150E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10285E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .12168E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    29.846       1.0000         .10000E-03   10000.    
    17 'Prefactor '    32.536       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.1719       1.0000         .10000E-03   10000.    
    19 'norm      '    12.905       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .13309E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.4211       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .57739       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=   3199.504     FROM MIGRAD    STATUS=CONVERGED    520 CALLS     2524 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.566       -.44591E-06** at limit **
   2  Prefactor     .10000E-03    14.821        .37925E-07** at limit **
   3  Prefactor     .10000E-03    2.4009        .14327E-07** at limit **
   4  Prefactor     37.881        35.962       -.43217E-06   -.32977E-04
   5  Prefactor     .10000E-03    23.447       -.74192E-06** at limit **
   6  Prefactor     31.581        99.500        .14928E-05    .32768E-04
   7  Prefactor     15.199        127.99       -.34858E-05    .30636E-04
   8  norm          .10000E-03    3.3022       -.32654E-05** at limit **
   9  norm          .10000E-03    40.354       -.67891E-07** at limit **
  10  Prefactor     1.6479        16.913        .52037E-05    .25434E-04
  11  Prefactor     .10002E-03    17.406       -.66184E-06** at limit **
  12  Prefactor     .10000E-03    22.813       -.46405E-07** at limit **
  13  Prefactor     .10000E-03    20.949        .13537E-05** at limit **
  14  Prefactor     .10000E-03    54.572       -.99046E-06** at limit **
  15  Prefactor     .10000E-03    47.803        .11780E-05** at limit **
  16  Prefactor     29.855        24.381       -.14551E-05    .34531E-04
  17  Prefactor     32.542        36.190        .59994E-07    .31157E-05
  18  Prefactor     2.1710        12.480        .45937E-05    .15759E-04
  19  norm          12.902        7.4852       -.31725E-06   -.20573E-04
  20  Prefactor     .10000E-03    5.6176        .87223E-08** at limit **
  21  Prefactor     .10000E-03    52.422        .63450E-07** at limit **
  22  Normalizat    1.4211        .31314       -.25693E-06    .16275E-03
  23  Prefactor     .57738        .15929       -.30164E-07    .14799E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 37.8807
  Prefactor  = 0.0001
  Prefactor  = 31.5815
  Prefactor  = 15.1986
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 1.6479
  Prefactor  = 0.000100017
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 29.8549
  Prefactor  = 32.542
  Prefactor  = 2.17104
  norm       = 12.9025
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.42113
  Prefactor  = 0.577385
 **********
 **   18 **HESSE 
 **********

 FCN=   3199.504     FROM HESSE     STATUS=OK           362 CALLS     2886 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.586        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    14.824        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.4626        .17088E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     37.881        36.021        .65146E-04   -1.4476    
   5  Prefactor     .10000E-03    23.475        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     31.581        100.26        .71396E-04   -1.4583    
   7  Prefactor     15.199        126.29        .10271E-03   -1.4928    
   8  norm          .10000E-03    3.3113        .19829E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    40.527        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.6479        16.486        .16433E-02   -1.5451    
  11  Prefactor     .10002E-03    216.82        .44914E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    22.877        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    21.079        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    55.563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    48.029        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     29.855        24.156        .73338E-04   -1.4615    
  17  Prefactor     32.542        36.181        .70248E-04   -1.4566    
  18  Prefactor     2.1710        12.319        .13971E-02   -1.5413    
  19  norm          12.902        7.4922        .11010E-03   -1.4989    
  20  Prefactor     .10000E-03    5.6207        .13094E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    52.426        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.4211        .37787        .27074E-03   -.80019    
  23  Prefactor     .57738        .19066        .21220E-03   -1.0855    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.63247e-10
Minuit parameter uncertainties:
  1  7.78297e-05
  2  3.76343e-06
  3  3.61709e-07
  4  36.0416
  5  0.000144509
  6  100.799
  7  87.875
  8  1.50499e-05
  9  3.83061e-05
  10  10.428
  11  0.00386045
  12  2.75617e-05
  13  0.000218452
  14  0.000337007
  15  0.000260726
  16  24.1638
  17  36.2054
  18  10.346
  19  7.49271
  20  5.07398e-07
  21  1.06117e-05
  22  0.378612
  23  0.190877
Done.

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

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  1.000e-04  3.370e-04  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:  5.774e-01  1.909e-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.421e+00  3.786e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 331.914 0.891
Photon Flux Upper Limit: 1.51e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.17e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/200144/likelihoodResults_410400001_410659201_4FGL_J2207.6+0053_daily_bin660.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): 102
logL (Free Index) = 3199.50374199
delta logL = -8.56719807416e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3199.40632585
delta logL = 0.0973304712452

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .72965       1.0000         .10000E-03   10000.    
     2 'Index     '    4.0559       1.0000          .0000       10.000    
     3 'Normalizat'    1.3827       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .58912       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=   3199.406     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      266 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .72647        42.057        .12175E-01   -.94069E-03
   2  Index         4.0572        3.5999        .20527       -.10532E-03
   3  Normalizat    1.3830        .50989E-01    .61920E-01   -.53971E-04
   4  Prefactor     .58907        .26798E-01    .40905E-01   -.17414E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.726469
  Index      = 4.05722
  Normalizat = 1.38298
  Prefactor  = 0.589075
 **********
 **   18 **HESSE 
 **********

 FCN=   3199.406     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      297 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .72647        216.69        .11222E-03   -1.5538    
   2  Index         4.0572        6.4939        .71142E-02   -.18969    
   3  Normalizat    1.3830        .33518        .27386E-03   -.81122    
   4  Prefactor     .58907        .17400        .21024E-03   -1.0805    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.04996e-09
Minuit parameter uncertainties:
  1  25.1843
  2  16.5639
  3  0.335708
  4  0.174162
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/200144': 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): 102
logL (Free Index) = 3199.40632514
delta logL = 0.0973311782673

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  7.265e-01  2.518e+01  1.000e-04  1.000e+04 ( 1.000e-13)
287        Index:  4.057e+00  1.656e+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:  5.891e-01  1.742e-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.383e+00  3.357e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 331.914 0.891

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/200144/cmap_HighResolution_410400001_410659201_4FGL_J2207.6+0053_daily_bin660.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.17e-02', job_status='DONE', photon_flux_upper_limit='1.51e-07', time_completed='2021-09-28 06:07:36.129015', job_id='200144', GAL2='0.59', fit_tolerance='1e-08', EG2='1.38', EG='1.42', time_epoch_completed='1632834456.13', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.58', dlogl='9.73e-02', ts2='0.21', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='660' AND source_name='4FGL J2207.6+0053' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:07:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 200144: <4FGL_J2207.6+0053_daily_bin660> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.6+0053_daily_bin660 331.914 0.8907 410400001 410659201 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 :                                   507.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             213.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   729 sec.
    Turnaround time :                            731 sec.

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

