/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 139 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 = 7534
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2207.6+0053_daily_bin134
RA = 331.914, Dec = 0.8907
tmin = 274060801, tmax = 274320001
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='197090', job_status='RUN', time_executed='2021-09-28 05:48:14.872740', time_epoch_executed='1632833294.87' WHERE source_name='4FGL J2207.6+0053' and cadence='daily' and bin_id='134'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/197090

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/197090/ft1_4FGL_J2207.6+0053_daily_bin134.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/197090/ft2_4FGL_J2207.6+0053_daily_bin134.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/197090/ft1_4FGL_J2207.6+0053_daily_bin134.fits outfile=/scratch/kocevski/197090/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin134.fits ra=331.914 dec=0.8907 rad=12.0 tmin=274060801.0 tmax=274320001.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 3.66
user 3.41
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/197090/ft1_filtered_4FGL_J2207.6+0053_daily_bin134.fits evtable="EVENTS" scfile=/scratch/kocevski/197090/ft2_4FGL_J2207.6+0053_daily_bin134.fits sctable="SC_DATA" expcube=/scratch/kocevski/197090/ltcube_274060801_274320001_4FGL_J2207.6+0053_daily_bin134.fits outfile=/scratch/kocevski/197090/expmap_274060801_274320001_4FGL_J2207.6+0053_daily_bin134.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/197090/ltcube_274060801_274320001_4FGL_J2207.6+0053_daily_bin134.fits
.....................!
real 192.51
user 187.46
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/197090/ft1_filtered_4FGL_J2207.6+0053_daily_bin134.fits scfile=/scratch/kocevski/197090/ft2_4FGL_J2207.6+0053_daily_bin134.fits outfile=/scratch/kocevski/197090/cmap_274060801_274320001_4FGL_J2207.6+0053_daily_bin134.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/197090/ft1_filtered_4FGL_J2207.6+0053_daily_bin134.fits scfile=/scratch/kocevski/197090/ft2_4FGL_J2207.6+0053_daily_bin134.fits outfile=/scratch/kocevski/197090/cmap_HighResolution_274060801_274320001_4FGL_J2207.6+0053_daily_bin134.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7863       1.0000         .10000E-03   10000.    
     2 'Prefactor '    28.017       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .82119       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.658       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    24.187       1.0000         .10000E-03   10000.    
     8 'norm      '    2.0348       1.0000         .10000E-03   10000.    
     9 'norm      '    .10419E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11419E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    17.228       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10157E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.8136       1.0000         .10000E-03   10000.    
    14 'Prefactor '    25.458       1.0000         .10000E-03   10000.    
    15 'Prefactor '    30.219       1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.4788       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10218E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .14915       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .63606       1.0000         .10000E-03   10000.    
    21 'Prefactor '    74.210       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .99716       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .74525       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=   6021.914     FROM MIGRAD    STATUS=CONVERGED    522 CALLS     2570 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6784        96.472       -.56985E-06    .40407E-05
   2  Prefactor     28.114        57.320        .14157E-05    .11595E-05
   3  Prefactor     .81733        2.3176       -.10819E-06   -.98150E-04
   4  Prefactor     .10000E-03    17.647       -.70519E-07** at limit **
   5  Prefactor     12.656        52.711       -.65720E-06   -.30860E-04
   6  Prefactor     .10000E-03    36.542        .40510E-07** at limit **
   7  Prefactor     24.088        48.514       -.78072E-06    .12050E-04
   8  norm          2.0357        1.9605       -.50968E-07    .84289E-04
   9  norm          .10000E-03    7.4722       -.47748E-06** at limit **
  10  Prefactor     .10000E-03    3.8679       -.69358E-06** at limit **
  11  Prefactor     17.232        15.164       -.15186E-06    .39546E-04
  12  Prefactor     .10000E-03    16.326       -.64110E-06** at limit **
  13  Prefactor     9.8148        22.290       -.85973E-07    .23184E-04
  14  Prefactor     25.461        22.948       -.16118E-07    .55840E-04
  15  Prefactor     30.227        29.061       -.35671E-06    .35011E-04
  16  Prefactor     7.4761        12.097        .37745E-06    .16461E-03
  17  Prefactor     .10000E-03    8.2138       -.50106E-07** at limit **
  18  Prefactor     .10000E-03    2.5863       -.60409E-06** at limit **
  19  norm          .16552        32.884        .39647E-05   -.45229E-04
  20  Prefactor     .64213        11.594       -.48163E-05    .35117E-03
  21  Prefactor     74.054        96.655        .14152E-05    .11807E-04
  22  Normalizat    .99653        .24738       -.38700E-05    .15235E-03
  23  Prefactor     .74554        .12553        .34975E-05    .67617E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.67842
  Prefactor  = 28.1142
  Prefactor  = 0.817326
  Prefactor  = 0.0001
  Prefactor  = 12.6557
  Prefactor  = 0.0001
  Prefactor  = 24.0884
  norm       = 2.0357
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.2325
  Prefactor  = 0.0001
  Prefactor  = 9.81477
  Prefactor  = 25.4606
  Prefactor  = 30.227
  Prefactor  = 7.47607
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.16552
  Prefactor  = 0.642127
  Prefactor  = 74.0537
  Normalizat = 0.996533
  Prefactor  = 0.745537
 **********
 **   18 **HESSE 
 **********

 FCN=   6021.914     FROM HESSE     STATUS=OK           380 CALLS     2950 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6784        96.324        .31304E-03   -1.5449    
   2  Prefactor     28.114        57.467        .75688E-04   -1.4647    
   3  Prefactor     .81733        2.3310        .16850E-03   -1.5527    
   4  Prefactor     .10000E-03    17.681        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.656        52.789        .11259E-03   -1.4996    
   6  Prefactor     .10000E-03    36.553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     24.088        48.465        .81450E-04   -1.4726    
   8  norm          2.0357        1.9514        .10217E-03   -1.5423    
   9  norm          .10000E-03    7.4790        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.8613        .14832E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     17.232        15.153        .96495E-04   -1.4877    
  12  Prefactor     .10000E-03    16.476        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     9.8148        22.160        .12792E-03   -1.5081    
  14  Prefactor     25.461        22.847        .79394E-04   -1.4698    
  15  Prefactor     30.227        29.080        .72885E-04   -1.4608    
  16  Prefactor     7.4761        12.097        .14665E-03   -1.5161    
  17  Prefactor     .10000E-03    8.2669        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.6419        .12241E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .16552        33.635        .23366E-02   -1.5627    
  20  Prefactor     .64213        14.564        .36289E-02   -1.5548    
  21  Prefactor     74.054        97.278        .23304E-03   -1.3985    
  22  Normalizat    .99653        .26803        .29884E-03   -.93147    
  23  Prefactor     .74554        .13887        .18604E-03   -1.0177    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76176e-08
Minuit parameter uncertainties:
  1  25.4725
  2  57.5801
  3  2.3313
  4  8.96589e-05
  5  51.7729
  6  2.89784e-06
  7  48.5442
  8  1.95144
  9  1.23379e-05
  10  2.65498e-05
  11  15.1567
  12  4.13356e-05
  13  22.1786
  14  22.8546
  15  29.0937
  16  12.101
  17  1.34422e-05
  18  2.23637e-05
  19  4.72025
  20  6.11744
  21  97.4883
  22  0.268397
  23  0.138937
Done.

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

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  2.546e+01  2.285e+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:  7.455e-01  1.389e-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.965e-01  2.684e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.58
Ra Dec: 331.914 0.891
Photon Index (Fixed Index): 2.48 +/- 0.00
Photon Flux (Fixed Index): 6.19e-08 +/- 5.55e-08
Energy Flux (Fixed Index): 1.83e-05 +/- 1.64e-05

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

Saving results to:
/scratch/kocevski/197090/likelihoodResults_274060801_274320001_4FGL_J2207.6+0053_daily_bin134.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) = 6021.68322516
delta logL = 0.231125738705

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6021.60641432
delta logL = 0.307936577703

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    35.132       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0357       1.0000          .0000       10.000    
     3 'Normalizat'    1.0199       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73708       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=   6021.606     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      246 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     35.192        967.01        .16903E-02   -.10311E-04
   2  Index         2.0372        5.4908        .16771        .20971E-04
   3  Normalizat    1.0198        .21745        .66880E-01   -.12261E-04
   4  Prefactor     .73714        .85244E-01    .42893E-01   -.37640E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 35.1924
  Index      = 2.03721
  Normalizat = 1.01976
  Prefactor  = 0.737144
 **********
 **   18 **HESSE 
 **********

 FCN=   6021.606     FROM HESSE     STATUS=OK            33 CALLS      279 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     35.192        27.088        .67611E-04   -1.4521    
   2  Index         2.0372        .54238        .84547E-02   -.63423    
   3  Normalizat    1.0198        .24984        .29585E-03   -.92371    
   4  Prefactor     .73714        .13652        .18696E-03   -1.0209    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.26271e-10
Minuit parameter uncertainties:
  1  27.0978
  2  0.54403
  3  0.25013
  4  0.136586
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/197090': 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) = 6021.60640695
delta logL = 0.307943944927

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  3.519e+01  2.710e+01  1.000e-04  1.000e+04 ( 1.000e-13)
287        Index:  2.037e+00  5.440e-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:  7.371e-01  1.366e-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.020e+00  2.501e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.16
Ra Dec: 331.914 0.891
Photon Index (Free Index): 2.04 +/- 0.54
Photon Flux (Free Index): 4.24e-08 +/- 4.25e-08
Energy Flux (Free Index): 2.68e-05 +/- 2.64e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/197090/cmap_HighResolution_274060801_274320001_4FGL_J2207.6+0053_daily_bin134.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.27e-02', comment='SUCCESS', photon_flux='6.19e-08', energy_flux2='2.68e-05', photon_flux_error='5.55e-08', dlogl='3.08e-01', energy_flux='1.83e-05', photon_flux2='4.24e-08', job_status='DONE', time_completed='2021-09-28 05:58:56.945482', photon_index_error2='0.54', photon_index2='2.04', ts='2.58', fit_tolerance='1e-08', GAL='0.75', photon_index_error='0.00', photon_flux_upper_limit='1.64e-07', energy_flux_error2='2.64e-05', EG='1.00', time_epoch_completed='1632833936.95', return_code='0', job_id='197090', GAL2='0.74', EG2='1.02', return_code2='0', energy_flux_error='1.64e-05', photon_flux_error2='4.25e-08', ts2='3.16', photon_index='2.48' WHERE bin_id='134' AND source_name='4FGL J2207.6+0053' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:58:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0119>
Subject: Job 197090: <4FGL_J2207.6+0053_daily_bin134> in cluster <slac> Done

Job <4FGL_J2207.6+0053_daily_bin134> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 28 05:45:42 2021
Job was executed on host(s) <bullet0119>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:45:43 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:45:43 2021
Terminated at Tue Sep 28 05:58:57 2021
Results reported at Tue Sep 28 05:58:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.6+0053_daily_bin134 331.914 0.8907 274060801 274320001 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 :                                   639.19 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             304.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   794 sec.
    Turnaround time :                            795 sec.

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

