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


Performing analysis on: 4FGL_J2207.6+0053_daily_bin209
RA = 331.914, Dec = 0.8907
tmin = 293500801, tmax = 293760001
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='198379', job_status='RUN', time_executed='2021-09-28 05:52:40.137314', time_epoch_executed='1632833560.14' WHERE source_name='4FGL J2207.6+0053' and cadence='daily' and bin_id='209'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/198379

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/198379/ft1_4FGL_J2207.6+0053_daily_bin209.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/198379/ft2_4FGL_J2207.6+0053_daily_bin209.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/198379/ft1_4FGL_J2207.6+0053_daily_bin209.fits outfile=/scratch/kocevski/198379/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin209.fits ra=331.914 dec=0.8907 rad=12.0 tmin=293500801.0 tmax=293760001.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.53
user 3.31
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/198379/ft1_filtered_4FGL_J2207.6+0053_daily_bin209.fits evtable="EVENTS" scfile=/scratch/kocevski/198379/ft2_4FGL_J2207.6+0053_daily_bin209.fits sctable="SC_DATA" expcube=/scratch/kocevski/198379/ltcube_293500801_293760001_4FGL_J2207.6+0053_daily_bin209.fits outfile=/scratch/kocevski/198379/expmap_293500801_293760001_4FGL_J2207.6+0053_daily_bin209.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/198379/ltcube_293500801_293760001_4FGL_J2207.6+0053_daily_bin209.fits
.....................!
real 190.77
user 186.02
sys 4.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/198379/ft1_filtered_4FGL_J2207.6+0053_daily_bin209.fits scfile=/scratch/kocevski/198379/ft2_4FGL_J2207.6+0053_daily_bin209.fits outfile=/scratch/kocevski/198379/cmap_293500801_293760001_4FGL_J2207.6+0053_daily_bin209.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/198379/ft1_filtered_4FGL_J2207.6+0053_daily_bin209.fits scfile=/scratch/kocevski/198379/ft2_4FGL_J2207.6+0053_daily_bin209.fits outfile=/scratch/kocevski/198379/cmap_HighResolution_293500801_293760001_4FGL_J2207.6+0053_daily_bin209.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/198379/ft1_filtered_4FGL_J2207.6+0053_daily_bin209.fits evtable="EVENTS" scfile=/scratch/kocevski/198379/ft2_4FGL_J2207.6+0053_daily_bin209.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/198379/Model_4FGL_J2207.6+0053_daily_bin209.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/198379/ft1_filtered_4FGL_J2207.6+0053_daily_bin209.fits.....................!
real 56.05
user 54.76
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10115E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    19.743       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.4673       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.3627       1.0000         .10000E-03   10000.    
     5 'Prefactor '    26.044       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .13173E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    22.318       1.0000         .10000E-03   10000.    
     8 'norm      '    .77905       1.0000         .10000E-03   10000.    
     9 'norm      '    22.448       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.6697       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.6175       1.0000         .10000E-03   10000.    
    13 'Prefactor '    28.614       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.3528       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.8951       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.2513       1.0000         .10000E-03   10000.    
    19 'norm      '    17.972       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .94780       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .57845       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .98958       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=   5652.532     FROM MIGRAD    STATUS=CONVERGED    584 CALLS     2601 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.2428        .68495E-07** at limit **
   2  Prefactor     19.728        57.571       -.32705E-06    .91120E-05
   3  Prefactor     2.4674        3.1733       -.12076E-05   -.60951E-03
   4  Prefactor     7.3562        19.531       -.75222E-05   -.15593E-05
   5  Prefactor     26.006        45.272        .28971E-04    .18685E-04
   6  Prefactor     .10000E-03    27.775        .23647E-06** at limit **
   7  Prefactor     22.291        38.407       -.11212E-04    .27583E-04
   8  norm          .77466        1.8197       -.12406E-05   -.19964E-02
   9  norm          22.475        19.329        .57674E-05    .18709E-03
  10  Prefactor     .10000E-03    5.4007        .66375E-06** at limit **
  11  Prefactor     5.6690        11.153       -.85177E-05   -.47920E-04
  12  Prefactor     7.6037        17.604       -.12519E-04    .11120E-04
  13  Prefactor     28.586        16.570        .17364E-05    .12035E-03
  14  Prefactor     5.3663        16.422       -.14001E-04   -.16281E-04
  15  Prefactor     .10000E-03    6.9421       -.40651E-07** at limit **
  16  Prefactor     2.8956        10.281       -.29020E-05   -.18582E-03
  17  Prefactor     .10000E-03    12.035       -.13648E-06** at limit **
  18  Prefactor     5.2537        5.1401       -.45945E-07   -.18726E-04
  19  norm          17.982        6.7181       -.29682E-06    .25250E-03
  20  Prefactor     .10000E-03    2.6859       -.91770E-07** at limit **
  21  Prefactor     .46500E-01    130.28       -.32012E-05    .26262E-04
  22  Normalizat    .57865        .23233        .33765E-05    .21316E-03
  23  Prefactor     .98965        .12589        .10072E-05    .28125E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 19.7283
  Prefactor  = 2.46737
  Prefactor  = 7.35621
  Prefactor  = 26.0064
  Prefactor  = 0.0001
  Prefactor  = 22.2911
  norm       = 0.774656
  norm       = 22.4754
  Prefactor  = 0.000100001
  Prefactor  = 5.66901
  Prefactor  = 7.6037
  Prefactor  = 28.586
  Prefactor  = 5.36625
  Prefactor  = 0.0001
  Prefactor  = 2.89562
  Prefactor  = 0.0001
  Prefactor  = 5.25372
  norm       = 17.9819
  Prefactor  = 0.0001
  Prefactor  = 0.0464999
  Normalizat = 0.578651
  Prefactor  = 0.989648
 **********
 **   18 **HESSE 
 **********

 FCN=   5652.532     FROM HESSE     STATUS=OK           386 CALLS     2987 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.2474        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     19.728        57.112        .90141E-04   -1.4819    
   3  Prefactor     2.4674        3.1343        .12403E-03   -1.5394    
   4  Prefactor     7.3562        19.497        .14781E-03   -1.5165    
   5  Prefactor     26.006        44.915        .78497E-04   -1.4688    
   6  Prefactor     .10000E-03    27.778        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     22.291        38.266        .84787E-04   -1.4763    
   8  norm          .77466        1.6510        .14382E-02   -1.5532    
   9  norm          22.475        19.055        .84541E-04   -1.4759    
  10  Prefactor     .10000E-03    5.4502        .17015E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.6690        11.156        .16870E-03   -1.5232    
  12  Prefactor     7.6037        17.579        .14530E-03   -1.5156    
  13  Prefactor     28.586        16.540        .74896E-04   -1.4638    
  14  Prefactor     5.3663        16.381        .17370E-03   -1.5245    
  15  Prefactor     .10000E-03    6.9450        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.8956        10.205        .23883E-03   -1.5368    
  17  Prefactor     .10000E-03    12.107        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.2537        5.0932        .15029E-03   -1.5250    
  19  norm          17.982        6.7157        .94477E-04   -1.4860    
  20  Prefactor     .10000E-03    2.7031        .12034E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .46500E-01    118.60        .21862       -1.5665    
  22  Normalizat    .57865        .26118        .38095E-03   -1.0890    
  23  Prefactor     .98965        .14477        .17061E-03   -.93075    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.1911e-09
Minuit parameter uncertainties:
  1  1.97852e-07
  2  57.2712
  3  3.13446
  4  19.5142
  5  44.9731
  6  1.21508e-05
  7  38.3086
  8  1.65107
  9  19.0599
  10  0.000144701
  11  11.1605
  12  17.5911
  13  16.5426
  14  16.3949
  15  1.63611e-05
  16  10.2113
  17  1.98307e-05
  18  5.09363
  19  6.71594
  20  2.4852e-06
  21  4.70104
  22  0.261738
  23  0.144832
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
553    Prefactor:  9.896e-01  1.448e-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:  5.787e-01  2.617e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/198379/likelihoodResults_293500801_293760001_4FGL_J2207.6+0053_daily_bin209.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) = 5652.43378661
delta logL = 0.0984720427878

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5652.42810177
delta logL = 0.104156879047

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.045       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0565       1.0000          .0000       10.000    
     3 'Normalizat'    .58196       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98589       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=   5652.428     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      303 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.040        26.326        .11090E-03    .10028E-02
   2  Index         2.0568        .78754        .99234E-02    .49230E-03
   3  Normalizat    .58214        .24737        .37979E-03   -.33236E-03
   4  Prefactor     .98578        .14377        .17085E-03   -.90372E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.0398
  Index      = 2.05678
  Normalizat = 0.582138
  Prefactor  = 0.985784
 **********
 **   18 **HESSE 
 **********

 FCN=   5652.428     FROM HESSE     STATUS=OK            23 CALLS      326 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.040        25.775        .22181E-04   -1.4986    
   2  Index         2.0568        .77146        .39694E-03   -.62938    
   3  Normalizat    .58214        .24746        .15192E-04   -1.0875    
   4  Prefactor     .98578        .14382        .34171E-04   -.93205    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10788e-08
Minuit parameter uncertainties:
  1  25.7969
  2  0.776222
  3  0.247929
  4  0.143872
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/198379': 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) = 5652.42810144
delta logL = 0.104157210082

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  1.304e+01  2.580e+01  1.000e-04  1.000e+04 ( 1.000e-13)
287        Index:  2.057e+00  7.762e-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:  9.858e-01  1.439e-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:  5.821e-01  2.479e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.13
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/198379/cmap_HighResolution_293500801_293760001_4FGL_J2207.6+0053_daily_bin209.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.58e-03', job_status='DONE', photon_flux_upper_limit='1.10e-07', time_completed='2021-09-28 06:03:17.320201', job_id='198379', GAL2='0.99', fit_tolerance='1e-08', EG2='0.58', EG='0.58', time_epoch_completed='1632834197.32', return_code2='0', ts='0.13', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='1.04e-01', ts2='0.35', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='209' AND source_name='4FGL J2207.6+0053' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:03:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 198379: <4FGL_J2207.6+0053_daily_bin209> in cluster <slac> Done

Job <4FGL_J2207.6+0053_daily_bin209> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 05:50:24 2021
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:50:25 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:50:25 2021
Terminated at Tue Sep 28 06:03:17 2021
Results reported at Tue Sep 28 06:03:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.6+0053_daily_bin209 331.914 0.8907 293500801 293760001 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 :                                   634.25 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             319.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   772 sec.
    Turnaround time :                            773 sec.

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

