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


Performing analysis on: 4FGL_J2207.6+0053_daily_bin720
RA = 331.914, Dec = 0.8907
tmin = 425952001, tmax = 426211201
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='200233', job_status='RUN', time_executed='2021-09-28 05:58:33.993300', time_epoch_executed='1632833913.99' WHERE source_name='4FGL J2207.6+0053' and cadence='daily' and bin_id='720'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/200233

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/200233/ft1_4FGL_J2207.6+0053_daily_bin720.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/200233/ft2_4FGL_J2207.6+0053_daily_bin720.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/200233/ft1_4FGL_J2207.6+0053_daily_bin720.fits outfile=/scratch/kocevski/200233/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin720.fits ra=331.914 dec=0.8907 rad=12.0 tmin=425952001.0 tmax=426211201.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.62
user 3.40
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/200233/ft2_4FGL_J2207.6+0053_daily_bin720.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/200233/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin720.fits evtable="EVENTS" outfile="/scratch/kocevski/200233/ft1_filtered_4FGL_J2207.6+0053_daily_bin720.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.54
user 0.32
sys 0.18

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/200233/ft1_filtered_4FGL_J2207.6+0053_daily_bin720.fits evtable="EVENTS" scfile=/scratch/kocevski/200233/ft2_4FGL_J2207.6+0053_daily_bin720.fits sctable="SC_DATA" expcube=/scratch/kocevski/200233/ltcube_425952001_426211201_4FGL_J2207.6+0053_daily_bin720.fits outfile=/scratch/kocevski/200233/expmap_425952001_426211201_4FGL_J2207.6+0053_daily_bin720.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/200233/ltcube_425952001_426211201_4FGL_J2207.6+0053_daily_bin720.fits
.....................!
real 191.23
user 185.64
sys 5.11

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/200233/ft1_filtered_4FGL_J2207.6+0053_daily_bin720.fits scfile=/scratch/kocevski/200233/ft2_4FGL_J2207.6+0053_daily_bin720.fits outfile=/scratch/kocevski/200233/cmap_425952001_426211201_4FGL_J2207.6+0053_daily_bin720.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/200233/ft1_filtered_4FGL_J2207.6+0053_daily_bin720.fits scfile=/scratch/kocevski/200233/ft2_4FGL_J2207.6+0053_daily_bin720.fits outfile=/scratch/kocevski/200233/cmap_HighResolution_425952001_426211201_4FGL_J2207.6+0053_daily_bin720.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=331.914 yref=0.8907 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.786       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .15137E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    35.473       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10944E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .19169E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    7.9124       1.0000         .10000E-03   10000.    
     9 'norm      '    20.677       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.5577       1.0000         .10000E-03   10000.    
    12 'Prefactor '    40.946       1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.9296       1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.3100       1.0000         .10000E-03   10000.    
    15 'Prefactor '    43.833       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .52003       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    6.0884       1.0000         .10000E-03   10000.    
    20 'Prefactor '    11.219       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10238E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .99383       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .85850       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=   6850.314     FROM MIGRAD    STATUS=CONVERGED    510 CALLS     2551 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.786        17.781        .38116E-06    .89130E-05
   2  Prefactor     .10000E-03    17.906        .53519E-06** at limit **
   3  Prefactor     .10000E-03    1.0658        .11137E-06** at limit **
   4  Prefactor     35.463        30.887       -.14940E-05    .81394E-04
   5  Prefactor     .10002E-03    63.518       -.30187E-04** at limit **
   6  Prefactor     .10002E-03    85.314        .37548E-04** at limit **
   7  Prefactor     .10004E-03    120.42       -.43823E-04** at limit **
   8  norm          7.9134        3.4793        .27419E-06   -.49490E-03
   9  norm          20.654        26.358       -.25297E-05    .16173E-03
  10  Prefactor     .10000E-03    3.2292        .28502E-06** at limit **
  11  Prefactor     5.5592        9.5477        .21866E-05   -.12602E-03
  12  Prefactor     40.944        26.094       -.39306E-05    .22223E-05
  13  Prefactor     9.8834        27.774       -.55002E-04   -.19041E-03
  14  Prefactor     6.3497        42.497        .80049E-04    .92769E-04
  15  Prefactor     43.835        31.646       -.92881E-08   -.33392E-04
  16  Prefactor     .60485        9.0898        .11401E-05   -.20133E-03
  17  Prefactor     .10000E-03    3.7248       -.25318E-06** at limit **
  18  Prefactor     .10000E-03    1.5855        .10154E-06** at limit **
  19  norm          6.0893        4.0780        .46315E-06   -.50882E-03
  20  Prefactor     11.220        6.6102       -.30787E-05    .66560E-03
  21  Prefactor     .10002E-03    88.043        .37345E-04** at limit **
  22  Normalizat    .99360        .22485       -.11300E-05   -.81781E-04
  23  Prefactor     .85848        .11684        .11106E-06   -.20181E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.7862
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 35.4633
  Prefactor  = 0.000100018
  Prefactor  = 0.000100022
  Prefactor  = 0.000100035
  norm       = 7.91335
  norm       = 20.6536
  Prefactor  = 0.0001
  Prefactor  = 5.55916
  Prefactor  = 40.9436
  Prefactor  = 9.88335
  Prefactor  = 6.34971
  Prefactor  = 43.8347
  Prefactor  = 0.604849
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.08926
  Prefactor  = 11.2197
  Prefactor  = 0.000100023
  Normalizat = 0.993603
  Prefactor  = 0.858479
 **********
 **   18 **HESSE 
 **********

 FCN=   6850.314     FROM HESSE     STATUS=OK           374 CALLS     2925 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.786        17.781        .10081E-03   -1.4913    
   2  Prefactor     .10000E-03    17.940        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.5627        .16504E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     35.463        30.800        .67287E-04   -1.4516    
   5  Prefactor     .10002E-03    63.699        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10002E-03    84.936        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10004E-03    120.34        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          7.9134        3.4734        .93485E-04   -1.5145    
   9  norm          20.654        26.306        .88083E-04   -1.4799    
  10  Prefactor     .10000E-03    3.2368        .14521E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.5592        9.5232        .17042E-03   -1.5236    
  12  Prefactor     40.944        26.087        .62644E-04   -1.4427    
  13  Prefactor     9.8834        27.752        .12716E-03   -1.5079    
  14  Prefactor     6.3497        42.256        .15979E-03   -1.5204    
  15  Prefactor     43.835        31.639        .60554E-04   -1.4383    
  16  Prefactor     .60485        49.174        .45172E-02   -1.5552    
  17  Prefactor     .10000E-03    3.7255        .15601E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    1.5967        .10165E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          6.0893        4.0782        .13131E-03   -1.5214    
  20  Prefactor     11.220        6.5998        .11961E-03   -1.5038    
  21  Prefactor     .10002E-03    88.003        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .99360        .26605        .32667E-03   -.93245    
  23  Prefactor     .85848        .13929        .19150E-03   -.97607    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.55183e-09
Minuit parameter uncertainties:
  1  17.7868
  2  1.33606e-06
  3  3.28116e-05
  4  30.8133
  5  0.00211744
  6  0.00270864
  7  0.00411659
  8  3.47353
  9  26.3209
  10  2.74767e-06
  11  9.52576
  12  26.0943
  13  27.7878
  14  32.794
  15  31.6512
  16  10.9158
  17  4.47695e-06
  18  1.40479e-06
  19  4.07843
  20  6.60021
  21  0.00285095
  22  0.266405
  23  0.139347
Done.

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

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  6.350e+00  3.279e+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:  8.585e-01  1.393e-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.936e-01  2.664e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/200233/likelihoodResults_425952001_426211201_4FGL_J2207.6+0053_daily_bin720.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) = 6850.17474078
delta logL = 0.138866682348

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6850.16822064
delta logL = 0.145386825996

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.5503       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1297       1.0000          .0000       10.000    
     3 'Normalizat'    .96595       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86568       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=   6850.168     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      258 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.5507        19.614        .17053E-03    .12140E-03
   2  Index         3.1298        1.5798        .90296E-02    .54640E-04
   3  Normalizat    .96598        .25920        .33070E-03    .18327E-03
   4  Prefactor     .86565        .13977        .19072E-03    .15858E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55073
  Index      = 3.12975
  Normalizat = 0.965976
  Prefactor  = 0.865654
 **********
 **   18 **HESSE 
 **********

 FCN=   6850.168     FROM HESSE     STATUS=OK            25 CALLS      283 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.5507        14.668        .68214E-05   -1.5237    
   2  Index         3.1298        1.1892        .36119E-03   -.38337    
   3  Normalizat    .96598        .25967        .13228E-04   -.94179    
   4  Prefactor     .86565        .13978        .38145E-04   -.97352    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03363e-10
Minuit parameter uncertainties:
  1  14.6777
  2  1.20264
  3  0.260013
  4  0.139833
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/200233': 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) = 6850.16822061
delta logL = 0.145386850627

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  5.551e+00  1.468e+01  1.000e-04  1.000e+04 ( 1.000e-13)
287        Index:  3.130e+00  1.203e+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:  8.657e-01  1.398e-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.660e-01  2.600e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.09
Ra Dec: 331.914 0.891

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/200233/cmap_HighResolution_425952001_426211201_4FGL_J2207.6+0053_daily_bin720.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.08e-02', job_status='DONE', photon_flux_upper_limit='1.39e-07', time_completed='2021-09-28 06:10:33.356786', job_id='200233', GAL2='0.87', fit_tolerance='1e-08', EG2='0.97', EG='0.99', time_epoch_completed='1632834633.36', return_code2='0', ts='0.09', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='1.45e-01', ts2='0.42', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='720' AND source_name='4FGL J2207.6+0053' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:10:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0104>
Subject: Job 200233: <4FGL_J2207.6+0053_daily_bin720> in cluster <slac> Done

Job <4FGL_J2207.6+0053_daily_bin720> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 05:55:32 2021
Job was executed on host(s) <bullet0104>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:55:33 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 05:55:33 2021
Terminated at Tue Sep 28 06:10:33 2021
Results reported at Tue Sep 28 06:10:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.6+0053_daily_bin720 331.914 0.8907 425952001 426211201 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 :                                   718.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             304.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   900 sec.
    Turnaround time :                            901 sec.

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

