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


Performing analysis on: 4FGL_J1416.1+1320_daily_bin605
RA = 214.029, Dec = 13.347
tmin = 396144001, tmax = 396403201
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='282104', job_status='RUN', time_executed='2021-09-09 06:18:45.949391', time_epoch_executed='1631193525.95' WHERE source_name='4FGL J1416.1+1320' and cadence='daily' and bin_id='605'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/282104

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/282104/ft1_4FGL_J1416.1+1320_daily_bin605.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/282104/ft2_4FGL_J1416.1+1320_daily_bin605.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/282104/ft1_4FGL_J1416.1+1320_daily_bin605.fits outfile=/scratch/kocevski/282104/ft1_filteredMKT_4FGL_J1416.1+1320_daily_bin605.fits ra=214.029 dec=13.347 rad=12.0 tmin=396144001.0 tmax=396403201.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 21.82
user 3.07
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/282104/ft2_4FGL_J1416.1+1320_daily_bin605.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/282104/ft2_4FGL_J1416.1+1320_daily_bin605.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/282104/ft1_filteredMKT_4FGL_J1416.1+1320_daily_bin605.fits evtable="EVENTS" outfile="/scratch/kocevski/282104/ft1_filtered_4FGL_J1416.1+1320_daily_bin605.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 31.11
user 0.35
sys 0.19

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/282104/ft1_filtered_4FGL_J1416.1+1320_daily_bin605.fits" evtable="EVENTS" scfile=/scratch/kocevski/282104/ft2_4FGL_J1416.1+1320_daily_bin605.fits sctable="SC_DATA" outfile=/scratch/kocevski/282104/ltcube_396144001_396403201_4FGL_J1416.1+1320_daily_bin605.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/282104/ft2_4FGL_J1416.1+1320_daily_bin605.fits
.....................!
real 43.83
user 11.50
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/282104/ft1_filtered_4FGL_J1416.1+1320_daily_bin605.fits evtable="EVENTS" scfile=/scratch/kocevski/282104/ft2_4FGL_J1416.1+1320_daily_bin605.fits sctable="SC_DATA" expcube=/scratch/kocevski/282104/ltcube_396144001_396403201_4FGL_J1416.1+1320_daily_bin605.fits outfile=/scratch/kocevski/282104/expmap_396144001_396403201_4FGL_J1416.1+1320_daily_bin605.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/282104/ltcube_396144001_396403201_4FGL_J1416.1+1320_daily_bin605.fits
.....................!
real 319.60
user 185.85
sys 4.52

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 142 point sources and 0 extended sources

Setting source of interest to:
4FGL J1416.1+1320 @ 214.029 13.347

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/282104/ft1_filtered_4FGL_J1416.1+1320_daily_bin605.fits scfile=/scratch/kocevski/282104/ft2_4FGL_J1416.1+1320_daily_bin605.fits outfile=/scratch/kocevski/282104/cmap_396144001_396403201_4FGL_J1416.1+1320_daily_bin605.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=214.029 yref=13.347 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.65
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/282104/ft1_filtered_4FGL_J1416.1+1320_daily_bin605.fits scfile=/scratch/kocevski/282104/ft2_4FGL_J1416.1+1320_daily_bin605.fits outfile=/scratch/kocevski/282104/cmap_HighResolution_396144001_396403201_4FGL_J1416.1+1320_daily_bin605.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=214.029 yref=13.347 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.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/282104/ft1_filtered_4FGL_J1416.1+1320_daily_bin605.fits evtable="EVENTS" scfile=/scratch/kocevski/282104/ft2_4FGL_J1416.1+1320_daily_bin605.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/282104/Model_4FGL_J1416.1+1320_daily_bin605.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/282104/ft1_filtered_4FGL_J1416.1+1320_daily_bin605.fits.....................!
real 44.15
user 42.66
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/282104/ft1_filtered_4FGL_J1416.1+1320_daily_bin605.fits', '/scratch/kocevski/282104/ft2_4FGL_J1416.1+1320_daily_bin605.fits', expMap='/scratch/kocevski/282104/expmap_396144001_396403201_4FGL_J1416.1+1320_daily_bin605.fits', expCube='/scratch/kocevski/282104/ltcube_396144001_396403201_4FGL_J1416.1+1320_daily_bin605.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/282104/Model_4FGL_J1416.1+1320_daily_bin605.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1416.1+1320'

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  8.909e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
243        Index:  2.373e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
244        Scale:  8.905e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/282104/ft1_filtered_4FGL_J1416.1+1320_daily_bin605.fits
Spacecraft file(s): /scratch/kocevski/282104/ft2_4FGL_J1416.1+1320_daily_bin605.fits
Exposure map: /scratch/kocevski/282104/expmap_396144001_396403201_4FGL_J1416.1+1320_daily_bin605.fits
Exposure cube: /scratch/kocevski/282104/ltcube_396144001_396403201_4FGL_J1416.1+1320_daily_bin605.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/282104/Model_4FGL_J1416.1+1320_daily_bin605.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) = 5622.5264387

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    39.903       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.9756       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.4238       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.4186       1.0000         .10000E-03   10000.    
     5 'Prefactor '    23.332       1.0000         .10000E-03   10000.    
     6 'Prefactor '    35.405       1.0000         .10000E-03   10000.    
     7 'Prefactor '    20.520       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    6.1860       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    8.0500       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .11615       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    19.187       1.0000         .10000E-03   10000.    
    18 'Prefactor '    37.569       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2618       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .70333       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5622.501     FROM MIGRAD    STATUS=CONVERGED    456 CALLS     2345 TOTAL
                     EDM=   .30E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     39.878        44.869       -.35401E-04    .57816E-05
   2  Prefactor     5.9758        4.3446       -.94681E-07   -.15034E-03
   3  Prefactor     3.4242        3.4349       -.16372E-07   -.13715E-04
   4  Prefactor     8.4177        11.686       -.18148E-06   -.17902E-04
   5  Prefactor     23.332        12.985       -.52331E-06    .24749E-04
   6  Prefactor     35.405        22.120       -.66214E-06    .66928E-05
   7  Prefactor     20.515        32.647       -.78468E-05    .11383E-04
   8  Prefactor     .10000E-03    16.545       -.80754E-06** at limit **
   9  norm          6.1842        14.891       -.21243E-05   -.32392E-04
  10  Prefactor     .10000E-03    2.9492        .39930E-07** at limit **
  11  norm          8.0501        3.1707       -.58615E-07    .14863E-03
  12  Prefactor     .10000E-03    3.5305       -.19807E-07** at limit **
  13  norm          .11698        1.3266       -.68415E-06    .89856E-04
  14  Prefactor     .10000E-03    12.809        .35900E-05** at limit **
  15  norm          .10000E-03    7.6648        .82533E-07** at limit **
  16  Prefactor     .10000E-03    6.1913       -.10834E-05** at limit **
  17  Prefactor     19.186        22.696       -.10676E-05   -.42573E-05
  18  Prefactor     37.570        18.220        .55338E-06    .29304E-04
  19  Prefactor     .10000E-03    7.0487        .18084E-05** at limit **
  20  Prefactor     .10000E-03    10.402       -.35538E-05** at limit **
  21  Normalizat    1.2618        .21004        .20491E-05    .87122E-04
  22  Prefactor     .70328        .15055        .17183E-05    .16154E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 39.878
  Prefactor  = 5.97577
  Prefactor  = 3.42422
  Prefactor  = 8.41774
  Prefactor  = 23.3324
  Prefactor  = 35.4048
  Prefactor  = 20.5153
  Prefactor  = 0.0001
  norm       = 6.18423
  Prefactor  = 0.0001
  norm       = 8.05008
  Prefactor  = 0.0001
  norm       = 0.116984
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.1864
  Prefactor  = 37.5702
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.26185
  Prefactor  = 0.703282
 **********
 **   18 **HESSE 
 **********

 FCN=   5622.501     FROM HESSE     STATUS=OK           348 CALLS     2693 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     39.878        44.870        .63454E-04   -1.4444    
   2  Prefactor     5.9758        4.3526        .12793E-03   -1.5219    
   3  Prefactor     3.4242        3.4295        .13514E-03   -1.5338    
   4  Prefactor     8.4177        11.688        .13816E-03   -1.5128    
   5  Prefactor     23.332        13.033        .82926E-04   -1.4742    
   6  Prefactor     35.405        22.122        .67350E-04   -1.4517    
   7  Prefactor     20.515        32.770        .88420E-04   -1.4802    
   8  Prefactor     .10000E-03    16.620        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          6.1842        14.889        .16141E-03   -1.5211    
  10  Prefactor     .10000E-03    2.9598        .12572E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          8.0501        3.1709        .81335E-04   -1.5140    
  12  Prefactor     .10000E-03    3.5825        .13751E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .11698        9.2648        .16486E-02   -1.5640    
  14  Prefactor     .10000E-03    12.815        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    7.6742        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.1973        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     19.186        22.708        .91437E-04   -1.4832    
  18  Prefactor     37.570        18.239        .65388E-04   -1.4481    
  19  Prefactor     .10000E-03    7.0514        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    10.407        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2618        .25522        .24503E-03   -.84713    
  22  Prefactor     .70328        .18218        .23364E-03   -1.0340    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5115e-10
Minuit parameter uncertainties:
  1  44.9084
  2  4.35287
  3  3.42973
  4  11.6914
  5  13.0349
  6  22.127
  7  32.7984
  8  2.94341e-05
  9  14.8984
  10  5.77478e-06
  11  3.17098
  12  7.39174e-06
  13  2.08159
  14  1.56919e-05
  15  1.23432e-05
  16  8.63474e-06
  17  22.7183
  18  18.242
  19  1.03775e-05
  20  7.08269e-06
  21  0.255472
  22  0.182332
Done.

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

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  2.052e+01  3.280e+01  1.000e-04  1.000e+04 ( 1.000e-13)
243        Index:  2.373e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
244        Scale:  8.905e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
458    Prefactor:  7.033e-01  1.823e-01  0.000e+00  1.000e+01 ( 1.000e+00)
459        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
460        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
457   Normalization:  1.262e+00  2.555e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.50
Ra Dec: 214.029 13.347
Photon Flux Upper Limit: 1.20e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.28e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/282104/likelihoodResults_396144001_396403201_4FGL_J1416.1+1320_daily_bin605.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) = 5622.28099052
delta logL = 0.219907924696

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5622.27227973
delta logL = 0.228618707946

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.577       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0202       1.0000          .0000       10.000    
     3 'Normalizat'    1.2308       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71664       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4610E+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=   5622.272     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      291 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.570        30.534        .10870E-03    .47272E-04
   2  Index         3.0200        1.2375        .77569E-02    .26163E-04
   3  Normalizat    1.2310        .25244        .24764E-03   -.13717E-02
   4  Prefactor     .71665        .18220        .23161E-03   -.13826E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.5702
  Index      = 3.02
  Normalizat = 1.23098
  Prefactor  = 0.716652
 **********
 **   18 **HESSE 
 **********

 FCN=   5622.272     FROM HESSE     STATUS=OK            25 CALLS      316 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.570        24.879        .43482E-05   -1.4971    
   2  Index         3.0200        1.0104        .31028E-03   -.40716    
   3  Normalizat    1.2310        .25261        .49528E-04   -.85651    
   4  Prefactor     .71665        .18211        .46322E-04   -1.0288    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.45206e-09
Minuit parameter uncertainties:
  1  24.8979
  2  1.01873
  3  0.252858
  4  0.182257
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/282104': 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) = 5622.27227818
delta logL = 0.228620263182

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  1.357e+01  2.490e+01  1.000e-04  1.000e+04 ( 1.000e-13)
243        Index:  3.020e+00  1.019e+00  0.000e+00  1.000e+01 (-1.000e+00)
244        Scale:  8.905e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
458    Prefactor:  7.167e-01  1.823e-01  0.000e+00  1.000e+01 ( 1.000e+00)
459        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
460        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
457   Normalization:  1.231e+00  2.529e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.04
Ra Dec: 214.029 13.347
Photon Index (Free Index): 3.02 +/- 1.02
Photon Flux (Free Index): 4.96e-08 +/- 5.81e-08
Energy Flux (Free Index): 9.81e-06 +/- 1.13e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/282104/cmap_HighResolution_396144001_396403201_4FGL_J1416.1+1320_daily_bin605.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.28e-03', comment='SUCCESS', energy_flux2='9.81e-06', dlogl='2.29e-01', photon_flux2='4.96e-08', job_status='DONE', time_completed='2021-09-09 06:31:22.180306', photon_index_error2='1.02', photon_index2='3.02', ts='0.50', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', photon_flux_upper_limit='1.20e-07', energy_flux_error2='1.13e-05', EG='1.26', time_epoch_completed='1631194282.18', return_code='0', job_id='282104', GAL2='0.72', EG2='1.23', return_code2='0', photon_flux_error2='5.81e-08', ts2='1.04', photon_index='2.37' WHERE bin_id='605' AND source_name='4FGL J1416.1+1320' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 06:31:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0123>
Subject: Job 282104: <4FGL_J1416.1+1320_daily_bin605> in cluster <slac> Done

Job <4FGL_J1416.1+1320_daily_bin605> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Sep  9 06:16:58 2021
Job was executed on host(s) <bullet0123>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 06:17:00 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 06:17:00 2021
Terminated at Thu Sep  9 06:31:22 2021
Results reported at Thu Sep  9 06:31:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1416.1+1320_daily_bin605 214.029 13.347 396144001 396403201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1416.1+1320 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   540.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             266.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   862 sec.
    Turnaround time :                            864 sec.

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

