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


Performing analysis on: 4FGL_J2207.6+0053_daily_bin942
RA = 331.914, Dec = 0.8907
tmin = 483494401, tmax = 483753601
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='202135', job_status='RUN', time_executed='2021-09-28 06:00:58.059496', time_epoch_executed='1632834058.06' WHERE source_name='4FGL J2207.6+0053' and cadence='daily' and bin_id='942'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/202135

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/202135/ft1_4FGL_J2207.6+0053_daily_bin942.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/202135/ft2_4FGL_J2207.6+0053_daily_bin942.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/202135/ft1_4FGL_J2207.6+0053_daily_bin942.fits outfile=/scratch/kocevski/202135/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin942.fits ra=331.914 dec=0.8907 rad=12.0 tmin=483494401.0 tmax=483753601.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.23
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/202135/ft1_filtered_4FGL_J2207.6+0053_daily_bin942.fits" evtable="EVENTS" scfile=/scratch/kocevski/202135/ft2_4FGL_J2207.6+0053_daily_bin942.fits sctable="SC_DATA" outfile=/scratch/kocevski/202135/ltcube_483494401_483753601_4FGL_J2207.6+0053_daily_bin942.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/202135/ft2_4FGL_J2207.6+0053_daily_bin942.fits
.....................!
real 11.50
user 11.13
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/202135/ft1_filtered_4FGL_J2207.6+0053_daily_bin942.fits evtable="EVENTS" scfile=/scratch/kocevski/202135/ft2_4FGL_J2207.6+0053_daily_bin942.fits sctable="SC_DATA" expcube=/scratch/kocevski/202135/ltcube_483494401_483753601_4FGL_J2207.6+0053_daily_bin942.fits outfile=/scratch/kocevski/202135/expmap_483494401_483753601_4FGL_J2207.6+0053_daily_bin942.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/202135/ltcube_483494401_483753601_4FGL_J2207.6+0053_daily_bin942.fits
.....................!
real 193.58
user 188.42
sys 4.74

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/202135/ft1_filtered_4FGL_J2207.6+0053_daily_bin942.fits scfile=/scratch/kocevski/202135/ft2_4FGL_J2207.6+0053_daily_bin942.fits outfile=/scratch/kocevski/202135/cmap_483494401_483753601_4FGL_J2207.6+0053_daily_bin942.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/202135/ft1_filtered_4FGL_J2207.6+0053_daily_bin942.fits scfile=/scratch/kocevski/202135/ft2_4FGL_J2207.6+0053_daily_bin942.fits outfile=/scratch/kocevski/202135/cmap_HighResolution_483494401_483753601_4FGL_J2207.6+0053_daily_bin942.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.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.5414       1.0000         .10000E-03   10000.    
     2 'Prefactor '    37.029       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .18556       1.0000         .10000E-03   10000.    
     4 'Prefactor '    20.227       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.3725       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    15.746       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.6813       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.2631       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10121E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.0883       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.8405       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    11.644       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .46112E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .22454E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .97400       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .95160       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=   7631.352     FROM MIGRAD    STATUS=CONVERGED    518 CALLS     2545 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.5388        20.540       -.28876E-06   -.11210E-04
   2  Prefactor     37.043        44.727       -.26951E-05   -.13044E-03
   3  Prefactor     .17843        1.2838       -.26224E-06    .14742E-03
   4  Prefactor     20.193        28.994        .18882E-05    .54889E-04
   5  Prefactor     .10000E-03    13.158        .12203E-05** at limit **
   6  Prefactor     .10000E-03    29.480       -.41855E-06** at limit **
   7  Prefactor     3.3741        297.09       -.83017E-06    .36986E-05
   8  norm          .10000E-03    .88025        .84645E-07** at limit **
   9  norm          15.738        18.645       -.34982E-06   -.10636E-04
  10  Prefactor     3.6780        6.8942       -.56133E-06   -.11243E-03
  11  Prefactor     .10000E-03    4.2575       -.29369E-07** at limit **
  12  Prefactor     2.2630        10.639        .61875E-05   -.11566E-03
  13  Prefactor     .10000E-03    17.927        .17041E-05** at limit **
  14  Prefactor     9.0882        15.050       -.44195E-06   -.92490E-04
  15  Prefactor     .10000E-03    14.587       -.10400E-05** at limit **
  16  Prefactor     5.8413        10.637       -.11970E-07   -.24502E-04
  17  Prefactor     .10000E-03    15.214       -.12228E-05** at limit **
  18  Prefactor     .10000E-03    2.3318       -.12811E-06** at limit **
  19  norm          11.642        5.4054        .24488E-06    .17387E-03
  20  Prefactor     .10000E-03    4.2697        .71910E-06** at limit **
  21  Prefactor     .10000E-03    121.45       -.24677E-06** at limit **
  22  Normalizat    .97363        .21936       -.14267E-06   -.26661E-04
  23  Prefactor     .95178        .11350       -.52757E-07   -.55952E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.53875
  Prefactor  = 37.0427
  Prefactor  = 0.178428
  Prefactor  = 20.1927
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.3741
  norm       = 0.0001
  norm       = 15.7385
  Prefactor  = 3.67804
  Prefactor  = 0.0001
  Prefactor  = 2.26295
  Prefactor  = 0.0001
  Prefactor  = 9.08823
  Prefactor  = 0.0001
  Prefactor  = 5.84132
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.6425
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.973631
  Prefactor  = 0.951779
 **********
 **   18 **HESSE 
 **********

 FCN=   7631.352     FROM HESSE     STATUS=OK           372 CALLS     2917 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.5388        20.546        .15691E-03   -1.5196    
   2  Prefactor     37.043        46.360        .65862E-04   -1.4490    
   3  Prefactor     .17843        7.0556        .17159E-02   -1.5624    
   4  Prefactor     20.193        28.861        .89056E-04   -1.4809    
   5  Prefactor     .10000E-03    13.189        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    29.512        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.3741        270.12        .22034E-03   -1.5341    
   8  norm          .10000E-03    .92142        .15985E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          15.738        18.321        .10094E-03   -1.4914    
  10  Prefactor     3.6780        6.6881        .21051E-03   -1.5324    
  11  Prefactor     .10000E-03    4.2683        .17601E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.2630        10.881        .13652E-02   -1.5407    
  13  Prefactor     .10000E-03    18.040        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     9.0882        15.051        .13295E-03   -1.5105    
  15  Prefactor     .10000E-03    14.628        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.8413        10.646        .16618E-03   -1.5225    
  17  Prefactor     .10000E-03    15.322        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.3618        .13016E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          11.642        5.4211        .11740E-03   -1.5025    
  20  Prefactor     .10000E-03    13.549        .34685E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    122.24        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .97363        .26177        .34223E-03   -.93919    
  23  Prefactor     .95178        .13595        .18783E-03   -.94355    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.77864e-10
Minuit parameter uncertainties:
  1  20.5679
  2  46.4047
  3  2.24369
  4  28.881
  5  8.87973e-05
  6  4.00138e-05
  7  60.6637
  8  3.37217e-06
  9  18.328
  10  6.68941
  11  2.61678e-06
  12  9.92708
  13  9.58393e-05
  14  15.0573
  15  6.70408e-05
  16  10.6492
  17  7.86473e-05
  18  7.94721e-06
  19  5.42131
  20  0.000138544
  21  0.000179997
  22  0.262119
  23  0.135995
Done.

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

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  9.088e+00  1.506e+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:  9.518e-01  1.360e-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:  9.736e-01  2.621e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.52
Ra Dec: 331.914 0.891
Photon Flux Upper Limit: 1.16e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.99e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/202135/likelihoodResults_483494401_483753601_4FGL_J2207.6+0053_daily_bin942.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) = 7631.33759333
delta logL = 0.0140428320738

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7631.3274037
delta logL = 0.0242324635274

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.027       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2329       1.0000          .0000       10.000    
     3 'Normalizat'    .97877       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94936       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=   7631.327     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      242 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.025        22.775        .11551E-03    .28631E-03
   2  Index         2.2330        1.0896        .12992E-01    .86342E-04
   3  Normalizat    .97889        .24710        .34138E-03   -.26266E-03
   4  Prefactor     .94931        .13490        .18804E-03   -.56277E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.025
  Index      = 2.23297
  Normalizat = 0.978886
  Prefactor  = 0.949309
 **********
 **   18 **HESSE 
 **********

 FCN=   7631.327     FROM HESSE     STATUS=OK            25 CALLS      267 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.025        21.690        .46204E-05   -1.5014    
   2  Index         2.2330        1.0385        .51967E-03   -.58645    
   3  Normalizat    .97889        .24713        .13655E-04   -.93741    
   4  Prefactor     .94931        .13492        .37608E-04   -.94439    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.15327e-10
Minuit parameter uncertainties:
  1  21.7041
  2  1.04955
  3  0.247417
  4  0.134964
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/202135': 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) = 7631.32740358
delta logL = 0.024232581196

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  1.203e+01  2.170e+01  1.000e-04  1.000e+04 ( 1.000e-13)
287        Index:  2.233e+00  1.050e+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:  9.493e-01  1.350e-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:  9.789e-01  2.474e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.52
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/202135/cmap_HighResolution_483494401_483753601_4FGL_J2207.6+0053_daily_bin942.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.99e-03', job_status='DONE', photon_flux_upper_limit='1.16e-07', time_completed='2021-09-28 06:13:32.552347', job_id='202135', GAL2='0.95', fit_tolerance='1e-08', EG2='0.98', EG='0.97', time_epoch_completed='1632834812.55', return_code2='0', ts='0.52', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='2.42e-02', ts2='0.57', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='942' AND source_name='4FGL J2207.6+0053' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:13:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0295>
Subject: Job 202135: <4FGL_J2207.6+0053_daily_bin942> in cluster <slac> Done

Job <4FGL_J2207.6+0053_daily_bin942> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 06:00:22 2021
Job was executed on host(s) <bullet0295>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:00:23 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:00:23 2021
Terminated at Tue Sep 28 06:13:33 2021
Results reported at Tue Sep 28 06:13:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.6+0053_daily_bin942 331.914 0.8907 483494401 483753601 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 :                                   745.26 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             364.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   789 sec.
    Turnaround time :                            791 sec.

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

