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


Performing analysis on: 4FGL_J2010.0+7229_daily_bin1202
RA = 302.516, Dec = 72.4874
tmin = 550886401, tmax = 551145601
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='718486', job_status='RUN', time_executed='2021-09-24 17:22:52.194386', time_epoch_executed='1632529372.19' WHERE source_name='4FGL J2010.0+7229' and cadence='daily' and bin_id='1202'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/718486

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/718486/ft1_4FGL_J2010.0+7229_daily_bin1202.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/718486/ft2_4FGL_J2010.0+7229_daily_bin1202.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/718486/ft1_4FGL_J2010.0+7229_daily_bin1202.fits outfile=/scratch/kocevski/718486/ft1_filteredMKT_4FGL_J2010.0+7229_daily_bin1202.fits ra=302.516 dec=72.4874 rad=12.0 tmin=550886401.0 tmax=551145601.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.86
user 3.59
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/718486/ft2_4FGL_J2010.0+7229_daily_bin1202.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/718486/ft2_4FGL_J2010.0+7229_daily_bin1202.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/718486/ft1_filteredMKT_4FGL_J2010.0+7229_daily_bin1202.fits evtable="EVENTS" outfile="/scratch/kocevski/718486/ft1_filtered_4FGL_J2010.0+7229_daily_bin1202.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.51
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/718486/ft1_filtered_4FGL_J2010.0+7229_daily_bin1202.fits" evtable="EVENTS" scfile=/scratch/kocevski/718486/ft2_4FGL_J2010.0+7229_daily_bin1202.fits sctable="SC_DATA" outfile=/scratch/kocevski/718486/ltcube_550886401_551145601_4FGL_J2010.0+7229_daily_bin1202.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/718486/ft2_4FGL_J2010.0+7229_daily_bin1202.fits
.....................!
real 13.47
user 13.04
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/718486/ft1_filtered_4FGL_J2010.0+7229_daily_bin1202.fits evtable="EVENTS" scfile=/scratch/kocevski/718486/ft2_4FGL_J2010.0+7229_daily_bin1202.fits sctable="SC_DATA" expcube=/scratch/kocevski/718486/ltcube_550886401_551145601_4FGL_J2010.0+7229_daily_bin1202.fits outfile=/scratch/kocevski/718486/expmap_550886401_551145601_4FGL_J2010.0+7229_daily_bin1202.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/718486/ltcube_550886401_551145601_4FGL_J2010.0+7229_daily_bin1202.fits
.....................!
real 193.95
user 188.80
sys 4.50

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
Extended source FHES J2208.4+6443 in ROI with RadialGaussian spatial model.
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Added 197 point sources and 3 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2010.0+7229 @ 302.516 72.4874

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/718486/ft1_filtered_4FGL_J2010.0+7229_daily_bin1202.fits scfile=/scratch/kocevski/718486/ft2_4FGL_J2010.0+7229_daily_bin1202.fits outfile=/scratch/kocevski/718486/cmap_550886401_551145601_4FGL_J2010.0+7229_daily_bin1202.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=302.516 yref=72.4874 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.56
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/718486/ft1_filtered_4FGL_J2010.0+7229_daily_bin1202.fits scfile=/scratch/kocevski/718486/ft2_4FGL_J2010.0+7229_daily_bin1202.fits outfile=/scratch/kocevski/718486/cmap_HighResolution_550886401_551145601_4FGL_J2010.0+7229_daily_bin1202.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=302.516 yref=72.4874 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.56
user 0.41
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/718486/ft1_filtered_4FGL_J2010.0+7229_daily_bin1202.fits evtable="EVENTS" scfile=/scratch/kocevski/718486/ft2_4FGL_J2010.0+7229_daily_bin1202.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/718486/Model_4FGL_J2010.0+7229_daily_bin1202.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 CTB 109
adding source EG_v02
adding source FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source GAL_V02
Working on...
/scratch/kocevski/718486/ft1_filtered_4FGL_J2010.0+7229_daily_bin1202.fits.....................!
real 82.45
user 80.94
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/718486/ft1_filtered_4FGL_J2010.0+7229_daily_bin1202.fits', '/scratch/kocevski/718486/ft2_4FGL_J2010.0+7229_daily_bin1202.fits', expMap='/scratch/kocevski/718486/expmap_550886401_551145601_4FGL_J2010.0+7229_daily_bin1202.fits', expCube='/scratch/kocevski/718486/ltcube_550886401_551145601_4FGL_J2010.0+7229_daily_bin1202.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/718486/Model_4FGL_J2010.0+7229_daily_bin1202.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2010.0+7229'

4FGL J2010.0+7229
   Spectrum: LogParabola
403         norm:  2.347e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
404        alpha:  2.198e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
405         beta:  1.036e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
406           Eb:  9.954e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/718486/ft1_filtered_4FGL_J2010.0+7229_daily_bin1202.fits
Spacecraft file(s): /scratch/kocevski/718486/ft2_4FGL_J2010.0+7229_daily_bin1202.fits
Exposure map: /scratch/kocevski/718486/expmap_550886401_551145601_4FGL_J2010.0+7229_daily_bin1202.fits
Exposure cube: /scratch/kocevski/718486/ltcube_550886401_551145601_4FGL_J2010.0+7229_daily_bin1202.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/718486/Model_4FGL_J2010.0+7229_daily_bin1202.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) = 5465.16083968

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    6.0860       1.0000         .10000E-03   10000.    
     3 'norm      '    3.0024       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    421.26       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .42632       1.0000         .10000E-03   10000.    
     7 'Prefactor '    84.225       1.0000         .10000E-03   10000.    
     8 'Prefactor '    147.35       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.2068       1.0000         .10000E-03   10000.    
    12 'norm      '    .94350E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    54.606       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .39101E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    4.5892       1.0000         .10000E-03   10000.    
    16 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    67.593       1.0000         .10000E-03   10000.    
    20 'norm      '    3.1806       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    3.6701       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .57558       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.1307       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5465.125     FROM MIGRAD    STATUS=CONVERGED    632 CALLS     3139 TOTAL
                     EDM=   .67E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    17.452       -.38893E-06** at limit **
   2  norm          6.0852        4.6815       -.16679E-06   -.21165E-04
   3  norm          3.0021        1.6862       -.21709E-07   -.34945E-04
   4  norm          .10000E-03    2.8267        .12836E-06** at limit **
   5  Prefactor     421.08        363.08       -.52104E-05    .52884E-05
   6  Prefactor     .44329        18.928        .58918E-05   -.11003E-03
   7  Prefactor     84.191        47.632       -.41412E-05   -.57879E-04
   8  Prefactor     147.36        157.57       -.11020E-05   -.13978E-04
   9  Prefactor     .10000E-03    70.024        .20009E-08** at limit **
  10  norm          .10000E-03    2.2181        .84272E-06** at limit **
  11  norm          1.1995        10.346        .41392E-05    .72972E-04
  12  norm          .10000E-03    148.56        .19141E-05** at limit **
  13  Prefactor     54.595        35.727       -.23067E-06   -.36448E-04
  14  Prefactor     .10000E-03    9.3377        .73859E-07** at limit **
  15  norm          4.5893        3.1990        .81644E-07   -.67975E-04
  16  norm          .10000E-03    32.790       -.10196E-06** at limit **
  17  norm          .10000E-03    6.1216       -.50174E-06** at limit **
  18  norm          .10000E-03    35.746        .60259E-06** at limit **
  19  Prefactor     67.585        44.774        .26215E-07   -.23864E-04
  20  norm          3.1812        5.5503       -.22698E-06   -.11123E-03
  21  Prefactor     .10000E-03    26.381       -.80460E-06** at limit **
  22  norm          .10000E-03    10.634        .56173E-08** at limit **
  23  Prefactor     3.6675        10.060       -.27787E-06    .13070E-04
  24  Prefactor     .10000E-03    18.492        .40217E-06** at limit **
  25  Normalizat    .57595        .38343       -.75808E-06   -.80395E-04
  26  Prefactor     1.1307        .92291E-01   -.14526E-06   -.20735E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 6.08522
  norm       = 3.00207
  norm       = 0.0001
  Prefactor  = 421.083
  Prefactor  = 0.443292
  Prefactor  = 84.1908
  Prefactor  = 147.357
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.1995
  norm       = 0.0001
  Prefactor  = 54.5947
  Prefactor  = 0.000100001
  norm       = 4.58925
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 67.585
  norm       = 3.18117
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.66751
  Prefactor  = 0.0001
  Normalizat = 0.575954
  Prefactor  = 1.13065
 **********
 **   18 **HESSE 
 **********

 FCN=   5465.125     FROM HESSE     STATUS=OK           452 CALLS     3591 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    17.428        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.0852        4.6802        .13662E-03   -1.5215    
   3  norm          3.0021        1.6757        .66523E-04   -1.5361    
   4  norm          .10000E-03    2.8334        .12138E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     421.08        364.26        .99564E-04   -1.1575    
   6  Prefactor     .44329        60.277        .42122E-02   -1.5575    
   7  Prefactor     84.191        48.915        .21885E-03   -1.3870    
   8  Prefactor     147.36        157.43        .16599E-03   -1.3274    
   9  Prefactor     .10000E-03    70.013        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    2.2303        .10774E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.1995        12.075        .20619E-02   -1.5489    
  12  norm          .10000E-03    156.17        .36364E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     54.595        35.613        .54281E-04   -1.4229    
  14  Prefactor     .10000E-03    30.150        .40693E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.5893        3.1931        .10388E-03   -1.5279    
  16  norm          .10000E-03    32.789        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    6.1749        .17826E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    35.922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     67.585        44.638        .48820E-04   -1.4062    
  20  norm          3.1812        5.4490        .21831E-03   -1.5351    
  21  Prefactor     .10000E-03    26.435        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    10.683        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     3.6675        10.100        .21084E-03   -1.5325    
  24  Prefactor     .10000E-03    18.460        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .57595        .36185        .69581E-03   -1.0901    
  26  Prefactor     1.1307        .91744E-01    .13480E-03   -.88493    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.31842e-10
Minuit parameter uncertainties:
  1  2.02585e-05
  2  4.68049
  3  1.67574
  4  1.74887e-06
  5  366.292
  6  10.3479
  7  48.9384
  8  157.882
  9  4.75151e-05
  10  2.01221e-06
  11  7.61329
  12  0.000144744
  13  35.6271
  14  0.000416486
  15  3.1932
  16  1.0797e-05
  17  1.77896e-05
  18  3.09016e-05
  19  44.6602
  20  5.44987
  21  9.3159e-06
  22  3.17234e-06
  23  10.1051
  24  3.69376e-05
  25  0.36335
  26  0.0917568
Done.

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

Extracting fit parameters...

4FGL J2010.0+7229
   Spectrum: LogParabola
403         norm:  3.181e+00  5.450e+00  1.000e-04  1.000e+04 ( 1.000e-12)
404        alpha:  2.198e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
405         beta:  1.036e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
406           Eb:  9.954e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
662    Prefactor:  1.131e+00  9.176e-02  0.000e+00  1.000e+01 ( 1.000e+00)
663        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
664        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
654   Normalization:  5.760e-01  3.633e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.51
Ra Dec: 302.516 72.487
Photon Flux Upper Limit: 1.84e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.10e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/718486/likelihoodResults_550886401_551145601_4FGL_J2010.0+7229_daily_bin1202.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) = 5465.07349759
delta logL = 0.05190841072

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5465.06745865
delta logL = 0.0579473440412

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6718       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6840       1.0000          .0000       5.0000    
     3 'Normalizat'    .55795       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1313       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5465.067     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      212 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6703        119.30        .62331E-02    .43284E-03
   2  alpha         2.6848        3.3135        .41293        .31536E-04
   3  Normalizat    .55798        .12506        .15892        .39045E-04
   4  Prefactor     1.1313        .27674E-01    .36501E-01   -.11292E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.67035
  alpha      = 2.68479
  Normalizat = 0.557977
  Prefactor  = 1.13134
 **********
 **   18 **HESSE 
 **********

 FCN=   5465.067     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6703        5.7658        .17131E-03   -1.5381    
   2  alpha         2.6848        1.5096        .20293E-01    .73985E-01
   3  Normalizat    .55798        .33033        .70593E-03   -1.0980    
   4  Prefactor     1.1313        .86589E-01    .13475E-03   -.88471    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.71176e-09
Minuit parameter uncertainties:
  1  5.76696
  2  1.62154
  3  0.331506
  4  0.0865994
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/718486': 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) = 5465.06745849
delta logL = 0.0579475088434

Extracting fit parameters...

4FGL J2010.0+7229
   Spectrum: LogParabola
403         norm:  2.670e+00  5.767e+00  1.000e-04  1.000e+04 ( 1.000e-12)
404        alpha:  2.685e+00  1.622e+00  0.000e+00  5.000e+00 ( 1.000e+00)
405         beta:  1.036e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
406           Eb:  9.954e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
662    Prefactor:  1.131e+00  8.660e-02  0.000e+00  1.000e+01 ( 1.000e+00)
663        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
664        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
654   Normalization:  5.580e-01  3.315e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.51
Ra Dec: 302.516 72.487

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/718486/cmap_HighResolution_550886401_551145601_4FGL_J2010.0+7229_daily_bin1202.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.10e-05', job_status='DONE', photon_flux_upper_limit='1.84e-07', time_completed='2021-09-24 17:36:25.020657', job_id='718486', GAL2='1.13', fit_tolerance='1e-08', EG2='0.56', EG='0.58', time_epoch_completed='1632530185.02', return_code2='0', ts='0.51', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='5.79e-02', ts2='0.63', photon_index_error='0.00', photon_index='2.20' WHERE bin_id='1202' AND source_name='4FGL J2010.0+7229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 24 17:36:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0051>
Subject: Job 718486: <4FGL_J2010.0+7229_daily_bin1202> in cluster <slac> Done

Job <4FGL_J2010.0+7229_daily_bin1202> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Fri Sep 24 17:21:11 2021
Job was executed on host(s) <bullet0051>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 24 17:21:28 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 24 17:21:28 2021
Terminated at Fri Sep 24 17:36:25 2021
Results reported at Fri Sep 24 17:36:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2010.0+7229_daily_bin1202 302.516 72.4874 550886401 551145601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2010.0+7229 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   807.47 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             347.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   897 sec.
    Turnaround time :                            914 sec.

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

