/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 39 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 = 7371
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2207.6+0053_daily_bin988
RA = 331.914, Dec = 0.8907
tmin = 495417601, tmax = 495676801
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='202201', job_status='RUN', time_executed='2021-09-28 06:01:31.683372', time_epoch_executed='1632834091.68' WHERE source_name='4FGL J2207.6+0053' and cadence='daily' and bin_id='988'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/202201

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/202201/ft1_4FGL_J2207.6+0053_daily_bin988.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/202201/ft2_4FGL_J2207.6+0053_daily_bin988.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/202201/ft1_4FGL_J2207.6+0053_daily_bin988.fits outfile=/scratch/kocevski/202201/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin988.fits ra=331.914 dec=0.8907 rad=12.0 tmin=495417601.0 tmax=495676801.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.58
user 3.32
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/202201/ft1_filtered_4FGL_J2207.6+0053_daily_bin988.fits evtable="EVENTS" scfile=/scratch/kocevski/202201/ft2_4FGL_J2207.6+0053_daily_bin988.fits sctable="SC_DATA" expcube=/scratch/kocevski/202201/ltcube_495417601_495676801_4FGL_J2207.6+0053_daily_bin988.fits outfile=/scratch/kocevski/202201/expmap_495417601_495676801_4FGL_J2207.6+0053_daily_bin988.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/202201/ltcube_495417601_495676801_4FGL_J2207.6+0053_daily_bin988.fits
.....................!
real 191.97
user 185.93
sys 5.47

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/202201/ft1_filtered_4FGL_J2207.6+0053_daily_bin988.fits scfile=/scratch/kocevski/202201/ft2_4FGL_J2207.6+0053_daily_bin988.fits outfile=/scratch/kocevski/202201/cmap_495417601_495676801_4FGL_J2207.6+0053_daily_bin988.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.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    77.233       1.0000         .10000E-03   10000.    
     5 'Prefactor '    22.514       1.0000         .10000E-03   10000.    
     6 'Prefactor '    66.861       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10673E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.8178       1.0000         .10000E-03   10000.    
     9 'norm      '    21.614       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.8583       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10626E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    23.147       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.0367       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.333       1.0000         .10000E-03   10000.    
    17 'Prefactor '    18.369       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .13313E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    12.618       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.7966       1.0000         .10000E-03   10000.    
    21 'Prefactor '    162.81       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .70730       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0393       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=   5999.352     FROM MIGRAD    STATUS=CONVERGED    487 CALLS     2512 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    16.953        .47646E-05** at limit **
   2  Prefactor     .10000E-03    18.123       -.65264E-05** at limit **
   3  Prefactor     .10000E-03    1.1008        .12107E-06** at limit **
   4  Prefactor     77.236        40.154        .25412E-05    .83668E-05
   5  Prefactor     22.493        47.155       -.33743E-04    .84057E-05
   6  Prefactor     66.795        93.340       -.75115E-04    .22601E-04
   7  Prefactor     .10000E-03    28.851        .26142E-05** at limit **
   8  norm          2.8200        3.2909        .55685E-05   -.75424E-03
   9  norm          21.612        21.525       -.31039E-05   -.90490E-04
  10  Prefactor     .10000E-03    3.0279       -.10742E-06** at limit **
  11  Prefactor     3.8578        7.2342       -.76101E-06   -.18214E-03
  12  Prefactor     .10000E-03    47.522       -.13062E-05** at limit **
  13  Prefactor     23.139        19.609       -.47297E-05   -.73525E-04
  14  Prefactor     2.0465        43.710        .87131E-05   -.75255E-04
  15  Prefactor     .10000E-03    14.485       -.22585E-07** at limit **
  16  Prefactor     11.329        11.652       -.10067E-05   -.11965E-02
  17  Prefactor     18.369        14.960       -.49687E-06   -.55207E-05
  18  Prefactor     .10000E-03    4.5904        .88461E-06** at limit **
  19  norm          12.619        6.5032        .19888E-05   -.15172E-03
  20  Prefactor     2.7960        6.1363       -.71054E-05   -.42068E-03
  21  Prefactor     162.73        121.32       -.63959E-04   -.50432E-05
  22  Normalizat    .70693        .25158        .45008E-05   -.30005E-04
  23  Prefactor     1.0395        .13398        .22780E-05   -.22154E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 77.2362
  Prefactor  = 22.4928
  Prefactor  = 66.7952
  Prefactor  = 0.0001
  norm       = 2.81995
  norm       = 21.6121
  Prefactor  = 0.0001
  Prefactor  = 3.85782
  Prefactor  = 0.000100002
  Prefactor  = 23.1386
  Prefactor  = 2.04653
  Prefactor  = 0.0001
  Prefactor  = 11.3291
  Prefactor  = 18.3689
  Prefactor  = 0.000100002
  norm       = 12.6189
  Prefactor  = 2.79605
  Prefactor  = 162.726
  Normalizat = 0.706931
  Prefactor  = 1.03952
 **********
 **   18 **HESSE 
 **********

 FCN=   5999.352     FROM HESSE     STATUS=OK           372 CALLS     2884 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    16.984        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    18.133        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.1198        .79236E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     77.236        40.176        .45693E-04   -1.3948    
   5  Prefactor     22.493        47.164        .84418E-04   -1.4759    
   6  Prefactor     66.795        93.120        .24542E-03   -1.4072    
   7  Prefactor     .10000E-03    28.905        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.8200        3.2659        .12111E-03   -1.5372    
   9  norm          21.612        21.461        .86156E-04   -1.4778    
  10  Prefactor     .10000E-03    3.0376        .13161E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.8578        7.2204        .20544E-03   -1.5315    
  12  Prefactor     .10000E-03    48.773        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     23.139        19.296        .83257E-04   -1.4746    
  14  Prefactor     2.0465        42.228        .28981E-03   -1.5422    
  15  Prefactor     .10000E-03    14.524        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     11.329        11.664        .59503E-03   -1.5035    
  17  Prefactor     18.369        14.958        .93451E-04   -1.4851    
  18  Prefactor     .10000E-03    4.7010        .32340E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          12.619        6.5063        .11277E-03   -1.4997    
  20  Prefactor     2.7960        6.1413        .24328E-03   -1.5374    
  21  Prefactor     162.73        121.27        .15804E-03   -1.3150    
  22  Normalizat    .70693        .28480        .38338E-03   -1.0362    
  23  Prefactor     1.0395        .15349        .18219E-03   -.91423    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.95814e-09
Minuit parameter uncertainties:
  1  5.6538e-05
  2  5.50589e-05
  3  1.37902e-05
  4  40.1901
  5  47.2423
  6  93.324
  7  0.000101012
  8  3.26613
  9  21.4682
  10  1.3844e-05
  11  7.22201
  12  0.000572661
  13  19.3014
  14  18.6072
  15  6.00648e-05
  16  11.6663
  17  14.9608
  18  0.00019142
  19  6.50667
  20  6.1427
  21  121.454
  22  0.285399
  23  0.153555
Done.

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

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  2.047e+00  1.861e+01  1.000e-04  1.000e+04 ( 1.000e-13)
287        Index:  2.484e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.070e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
553    Prefactor:  1.040e+00  1.536e-01  0.000e+00  1.000e+01 ( 1.000e+00)
554        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
555        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
552   Normalization:  7.069e-01  2.854e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/202201/likelihoodResults_495417601_495676801_4FGL_J2207.6+0053_daily_bin988.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) = 5999.33755123
delta logL = 0.0143506867034

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5999.32757833
delta logL = 0.0243235865228

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40399       1.0000         .10000E-03   10000.    
     2 'Index     '    3.9051       1.0000          .0000       10.000    
     3 'Normalizat'    .69298       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0447       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=   5999.328     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      242 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40099        7.3561        .29885E-01    .12962E-02
   2  Index         3.9110        1.0354        .36996        .11896E-04
   3  Normalizat    .69307        .15816E-01    .87363E-01    .22807E-04
   4  Prefactor     1.0447        .90137E-02    .40231E-01   -.67216E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.400994
  Index      = 3.91102
  Normalizat = 0.693072
  Prefactor  = 1.0447
 **********
 **   18 **HESSE 
 **********

 FCN=   5999.328     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      277 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40099        291.24        .15072E-02   -1.5581    
   2  Index         3.9110        7.1166        .59395E-02   -.21956    
   3  Normalizat    .69307        .14801        .38696E-03   -1.0417    
   4  Prefactor     1.0447        .84454E-01    .18179E-03   -.91254    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.11078e-09
Minuit parameter uncertainties:
  1  21.7177
  2  26.2716
  3  0.148094
  4  0.084465
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/202201': 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) = 5999.32757666
delta logL = 0.0243252598921

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  4.010e-01  2.172e+01  1.000e-04  1.000e+04 ( 1.000e-13)
287        Index:  3.911e+00  2.627e+01  0.000e+00  1.000e+01 (-1.000e+00)
288        Scale:  1.070e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
553    Prefactor:  1.045e+00  8.447e-02  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:  6.931e-01  1.481e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
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/202201/cmap_HighResolution_495417601_495676801_4FGL_J2207.6+0053_daily_bin988.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.75e-03', job_status='DONE', photon_flux_upper_limit='1.13e-07', time_completed='2021-09-28 06:12:34.487225', job_id='202201', GAL2='1.04', fit_tolerance='1e-08', EG2='0.69', EG='0.71', time_epoch_completed='1632834754.49', return_code2='102', ts='0.02', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='2.43e-02', ts2='0.07', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='988' AND source_name='4FGL J2207.6+0053' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:12:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0146>
Subject: Job 202201: <4FGL_J2207.6+0053_daily_bin988> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.6+0053_daily_bin988 331.914 0.8907 495417601 495676801 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 :                                   652.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             338.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   725 sec.
    Turnaround time :                            727 sec.

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

