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


Performing analysis on: 4FGL_J2207.6+0053_daily_bin461
RA = 331.914, Dec = 0.8907
tmin = 358819201, tmax = 359078401
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='198776', job_status='RUN', time_executed='2021-09-28 05:53:07.686898', time_epoch_executed='1632833587.69' WHERE source_name='4FGL J2207.6+0053' and cadence='daily' and bin_id='461'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/198776

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

Retrieving the FT1 file...

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

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

Retrieving 49 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/198776/ft1_4FGL_J2207.6+0053_daily_bin461.fits


Retrieving the FT1 file...

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

Retrieving 49 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/198776/ft2_4FGL_J2207.6+0053_daily_bin461.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/198776/ft1_4FGL_J2207.6+0053_daily_bin461.fits outfile=/scratch/kocevski/198776/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin461.fits ra=331.914 dec=0.8907 rad=12.0 tmin=358819201.0 tmax=359078401.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 5.37
user 5.09
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/198776/ft1_filtered_4FGL_J2207.6+0053_daily_bin461.fits" evtable="EVENTS" scfile=/scratch/kocevski/198776/ft2_4FGL_J2207.6+0053_daily_bin461.fits sctable="SC_DATA" outfile=/scratch/kocevski/198776/ltcube_358819201_359078401_4FGL_J2207.6+0053_daily_bin461.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/198776/ft2_4FGL_J2207.6+0053_daily_bin461.fits
.....................!
real 11.69
user 11.29
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/198776/ft1_filtered_4FGL_J2207.6+0053_daily_bin461.fits evtable="EVENTS" scfile=/scratch/kocevski/198776/ft2_4FGL_J2207.6+0053_daily_bin461.fits sctable="SC_DATA" expcube=/scratch/kocevski/198776/ltcube_358819201_359078401_4FGL_J2207.6+0053_daily_bin461.fits outfile=/scratch/kocevski/198776/expmap_358819201_359078401_4FGL_J2207.6+0053_daily_bin461.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/198776/ltcube_358819201_359078401_4FGL_J2207.6+0053_daily_bin461.fits
.....................!
real 190.59
user 184.85
sys 5.36

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/198776/ft1_filtered_4FGL_J2207.6+0053_daily_bin461.fits scfile=/scratch/kocevski/198776/ft2_4FGL_J2207.6+0053_daily_bin461.fits outfile=/scratch/kocevski/198776/cmap_358819201_359078401_4FGL_J2207.6+0053_daily_bin461.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.36
sys 0.13

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    30.155       1.0000         .10000E-03   10000.    
     2 'Prefactor '    21.135       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .57121E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    23.378       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10132E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    12.839       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.9945       1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.570       1.0000         .10000E-03   10000.    
    12 'Prefactor '    17.618       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11201E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10103E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.436       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.0328       1.0000         .10000E-03   10000.    
    19 'norm      '    .66529       1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.476       1.0000         .10000E-03   10000.    
    21 'Prefactor '    8.0974       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3073       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .76386       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=   6587.680     FROM MIGRAD    STATUS=CONVERGED    547 CALLS     2583 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     30.140        39.785        .18977E-05    .11475E-03
   2  Prefactor     21.113        36.683        .41251E-05    .21021E-03
   3  Prefactor     .10000E-03    .98033        .41830E-06** at limit **
   4  Prefactor     .10000E-03    132.60       -.83078E-06** at limit **
   5  Prefactor     23.373        43.164        .22671E-06    .62046E-05
   6  Prefactor     .10000E-03    26.294       -.47727E-07** at limit **
   7  Prefactor     .10000E-03    69.887       -.87530E-06** at limit **
   8  norm          .10000E-03    1.3822       -.29145E-07** at limit **
   9  norm          12.840        16.900       -.28012E-06   -.34423E-04
  10  Prefactor     4.9931        6.9113        .37760E-05   -.20941E-03
  11  Prefactor     15.569        14.442       -.11141E-06   -.24871E-04
  12  Prefactor     17.626        25.650       -.90407E-06   -.91081E-04
  13  Prefactor     .10000E-03    13.588        .62673E-08** at limit **
  14  Prefactor     .10000E-03    45.370       -.16834E-06** at limit **
  15  Prefactor     .10000E-03    23.701       -.17586E-06** at limit **
  16  Prefactor     12.439        12.387        .71839E-06    .71511E-04
  17  Prefactor     .10000E-03    10.502       -.49577E-07** at limit **
  18  Prefactor     4.0330        3.7311        .55845E-07   -.11451E-03
  19  norm          .66483        3.2564        .88763E-06   -.27106E-03
  20  Prefactor     10.476        7.9867       -.75997E-06   -.46503E-03
  21  Prefactor     7.8343        226.01       -.64440E-05   -.45224E-04
  22  Normalizat    1.3071        .23066       -.14712E-05   -.56674E-04
  23  Prefactor     .76391        .12079        .66224E-07   -.15009E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 30.14
  Prefactor  = 21.1134
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 23.3729
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 12.8403
  Prefactor  = 4.99312
  Prefactor  = 15.5694
  Prefactor  = 17.6259
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.4389
  Prefactor  = 0.0001
  Prefactor  = 4.03304
  norm       = 0.664828
  Prefactor  = 10.4763
  Prefactor  = 7.83425
  Normalizat = 1.30709
  Prefactor  = 0.763908
 **********
 **   18 **HESSE 
 **********

 FCN=   6587.680     FROM HESSE     STATUS=OK           372 CALLS     2955 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     30.140        40.093        .72962E-04   -1.4609    
   2  Prefactor     21.113        37.587        .87125E-04   -1.4789    
   3  Prefactor     .10000E-03    .98390        .78180E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    137.63        .42180E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     23.373        43.190        .82844E-04   -1.4741    
   6  Prefactor     .10000E-03    26.302        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    70.488        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.4444        .18596E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          12.840        16.886        .11179E-03   -1.4991    
  10  Prefactor     4.9931        7.0695        .89972E-03   -1.5261    
  11  Prefactor     15.569        14.447        .10150E-03   -1.4919    
  12  Prefactor     17.626        25.764        .95421E-04   -1.4868    
  13  Prefactor     .10000E-03    13.647        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    46.609        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    23.806        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     12.439        12.414        .11359E-03   -1.5002    
  17  Prefactor     .10000E-03    10.567        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.0330        3.7122        .14113E-03   -1.5306    
  19  norm          .66483        5.8168        .26286E-02   -1.5545    
  20  Prefactor     10.476        8.0795        .12379E-03   -1.5061    
  21  Prefactor     7.8343        223.62        .14090E-03   -1.5148    
  22  Normalizat    1.3071        .27533        .29266E-03   -.83355    
  23  Prefactor     .76391        .14421        .20437E-03   -1.0107    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.83886e-08
Minuit parameter uncertainties:
  1  40.129
  2  37.6296
  3  6.14192e-06
  4  0.00140503
  5  43.2478
  6  4.31443e-06
  7  0.000321889
  8  3.28531e-06
  9  16.8922
  10  7.07068
  11  14.4501
  12  25.7799
  13  4.33776e-06
  14  6.82376e-05
  15  3.71984e-05
  16  12.4166
  17  7.19986e-06
  18  3.71245
  19  3.93324
  20  8.08038
  21  84.0597
  22  0.275635
  23  0.144276
Done.

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

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  1.000e-04  6.824e-05  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:  7.639e-01  1.443e-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.307e+00  2.756e-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.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.13e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/198776/likelihoodResults_358819201_359078401_4FGL_J2207.6+0053_daily_bin461.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) = 6587.67997481
delta logL = -0.000102274798337

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6587.67987331
delta logL = -7.7446566138e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7499       1.0000          .0000       10.000    
     3 'Normalizat'    1.3071       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76391       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=   6587.680     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      237 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    699.29        .90712E-02** at limit **
   2  Index         2.7054        7.8996        .50000        .14428E-04
   3  Normalizat    1.3071        .28637E-01    .66156E-01   -.25059E-03
   4  Prefactor     .76391        .15820E-01    .43246E-01   -.18478E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.70541
  Normalizat = 1.30709
  Prefactor  = 0.76391
 **********
 **   18 **HESSE 
 **********

 FCN=   6587.680     FROM HESSE     STATUS=OK            31 CALLS      268 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    29.749        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7054        6.3442        .50000       -.47678    
   3  Normalizat    1.3071        .25691        .29266E-03   -.83355    
   4  Prefactor     .76391        .14211        .20437E-03   -1.0107    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.49828e-10
Minuit parameter uncertainties:
  1  3.12406e-05
  2  4.49284
  3  0.25716
  4  0.14218
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/198776': 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) = 6587.67987316
delta logL = -6.26385372016e-07

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  1.000e-04  3.124e-05  1.000e-04  1.000e+04 ( 1.000e-13)
287        Index:  2.705e+00  4.493e+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:  7.639e-01  1.422e-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.307e+00  2.572e-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/198776/cmap_HighResolution_358819201_359078401_4FGL_J2207.6+0053_daily_bin461.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.13e-03', job_status='DONE', photon_flux_upper_limit='1.05e-07', time_completed='2021-09-28 06:04:49.213029', job_id='198776', GAL2='0.76', fit_tolerance='1e-08', EG2='1.31', EG='1.31', time_epoch_completed='1632834289.21', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='-6.26e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='461' AND source_name='4FGL J2207.6+0053' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:04:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0131>
Subject: Job 198776: <4FGL_J2207.6+0053_daily_bin461> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.6+0053_daily_bin461 331.914 0.8907 358819201 359078401 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 :                                   696.00 sec.
    Max Memory :                                 1059 MB
    Average Memory :                             266.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   827 sec.
    Turnaround time :                            829 sec.

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

