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


Performing analysis on: 4FGL_J1416.1+1320_daily_bin711
RA = 214.029, Dec = 13.347
tmin = 423619201, tmax = 423878401
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='441685', job_status='RUN', time_executed='2021-09-09 14:44:19.639678', time_epoch_executed='1631223859.64' WHERE source_name='4FGL J1416.1+1320' and cadence='daily' and bin_id='711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/441685

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/441685/ft1_4FGL_J1416.1+1320_daily_bin711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/441685/ft2_4FGL_J1416.1+1320_daily_bin711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/441685/ft1_4FGL_J1416.1+1320_daily_bin711.fits outfile=/scratch/kocevski/441685/ft1_filteredMKT_4FGL_J1416.1+1320_daily_bin711.fits ra=214.029 dec=13.347 rad=12.0 tmin=423619201.0 tmax=423878401.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 5.74
user 5.48
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/441685/ft2_4FGL_J1416.1+1320_daily_bin711.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/441685/ft1_filteredMKT_4FGL_J1416.1+1320_daily_bin711.fits evtable="EVENTS" outfile="/scratch/kocevski/441685/ft1_filtered_4FGL_J1416.1+1320_daily_bin711.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.49
user 0.33
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/441685/ft1_filtered_4FGL_J1416.1+1320_daily_bin711.fits evtable="EVENTS" scfile=/scratch/kocevski/441685/ft2_4FGL_J1416.1+1320_daily_bin711.fits sctable="SC_DATA" expcube=/scratch/kocevski/441685/ltcube_423619201_423878401_4FGL_J1416.1+1320_daily_bin711.fits outfile=/scratch/kocevski/441685/expmap_423619201_423878401_4FGL_J1416.1+1320_daily_bin711.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/441685/ltcube_423619201_423878401_4FGL_J1416.1+1320_daily_bin711.fits
.....................!
real 191.65
user 186.49
sys 4.79

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/441685/ft1_filtered_4FGL_J1416.1+1320_daily_bin711.fits scfile=/scratch/kocevski/441685/ft2_4FGL_J1416.1+1320_daily_bin711.fits outfile=/scratch/kocevski/441685/cmap_423619201_423878401_4FGL_J1416.1+1320_daily_bin711.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.53
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/441685/ft1_filtered_4FGL_J1416.1+1320_daily_bin711.fits scfile=/scratch/kocevski/441685/ft2_4FGL_J1416.1+1320_daily_bin711.fits outfile=/scratch/kocevski/441685/cmap_HighResolution_423619201_423878401_4FGL_J1416.1+1320_daily_bin711.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.54
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/441685/ft1_filtered_4FGL_J1416.1+1320_daily_bin711.fits', '/scratch/kocevski/441685/ft2_4FGL_J1416.1+1320_daily_bin711.fits', expMap='/scratch/kocevski/441685/expmap_423619201_423878401_4FGL_J1416.1+1320_daily_bin711.fits', expCube='/scratch/kocevski/441685/ltcube_423619201_423878401_4FGL_J1416.1+1320_daily_bin711.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/441685/Model_4FGL_J1416.1+1320_daily_bin711.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/441685/ft1_filtered_4FGL_J1416.1+1320_daily_bin711.fits
Spacecraft file(s): /scratch/kocevski/441685/ft2_4FGL_J1416.1+1320_daily_bin711.fits
Exposure map: /scratch/kocevski/441685/expmap_423619201_423878401_4FGL_J1416.1+1320_daily_bin711.fits
Exposure cube: /scratch/kocevski/441685/ltcube_423619201_423878401_4FGL_J1416.1+1320_daily_bin711.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/441685/Model_4FGL_J1416.1+1320_daily_bin711.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) = 3295.29254339

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    57.507       1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.8389       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.0795       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.8525       1.0000         .10000E-03   10000.    
     6 'Prefactor '    96.767       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.7410       1.0000         .10000E-03   10000.    
     8 'Prefactor '    24.091       1.0000         .10000E-03   10000.    
     9 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10161E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    32.151       1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.4515       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .16272E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10388E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .26297       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.3507       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=   3295.032     FROM MIGRAD    STATUS=CONVERGED    455 CALLS     2411 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 11.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     57.531        78.822       -.14943E-05    .24768E-04
   2  Prefactor     8.8425        6.4632       -.75957E-06   -.91859E-04
   3  Prefactor     6.0822        7.4573       -.36574E-06   -.84392E-04
   4  Prefactor     .10000E-03    10.362        .30123E-07** at limit **
   5  Prefactor     2.8492        39.141       -.28026E-05   -.23842E-04
   6  Prefactor     96.788        40.383       -.11656E-05    .77250E-04
   7  Prefactor     3.7550        100.71       -.19046E-05    .40817E-05
   8  Prefactor     24.103        30.684       -.16932E-05    .33074E-04
   9  norm          .10000E-03    18.218        .19458E-06** at limit **
  10  Prefactor     .10000E-03    3.7735       -.21526E-07** at limit **
  11  norm          .10000E-03    9.9259       -.23090E-06** at limit **
  12  Prefactor     .10000E-03    2.8209       -.78414E-07** at limit **
  13  norm          .10000E-03    2.6197       -.26609E-06** at limit **
  14  Prefactor     .10000E-03    27.855       -.12739E-06** at limit **
  15  norm          32.150        24.786       -.63531E-06    .99723E-04
  16  Prefactor     8.3785        96.246       -.22412E-05   -.37177E-04
  17  Prefactor     .10000E-03    83.423       -.48790E-06** at limit **
  18  Prefactor     .10000E-03    9.9174       -.36253E-06** at limit **
  19  Prefactor     .10001E-03    31.731       -.12972E-05** at limit **
  20  Prefactor     .10000E-03    28.882       -.25664E-06** at limit **
  21  Normalizat    .26280        .36438        .21501E-04    .85136E-05
  22  Prefactor     1.3507        .25592       -.56845E-05   -.18479E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 57.5306
  Prefactor  = 8.84255
  Prefactor  = 6.0822
  Prefactor  = 0.0001
  Prefactor  = 2.84923
  Prefactor  = 96.7885
  Prefactor  = 3.75496
  Prefactor  = 24.1033
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 32.1499
  Prefactor  = 8.37847
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100008
  Prefactor  = 0.0001
  Normalizat = 0.262795
  Prefactor  = 1.3507
 **********
 **   18 **HESSE 
 **********

 FCN=   3295.032     FROM HESSE     STATUS=OK           338 CALLS     2749 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     57.531        78.971        .52902E-04   -1.4190    
   2  Prefactor     8.8425        6.4844        .11388E-03   -1.5113    
   3  Prefactor     6.0822        7.4636        .16283E-03   -1.5215    
   4  Prefactor     .10000E-03    10.374        .18046E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.8492        39.292        .24072E-03   -1.5370    
   6  Prefactor     96.788        40.537        .20431E-03   -1.3737    
   7  Prefactor     3.7550        101.03        .20876E-03   -1.5320    
   8  Prefactor     24.103        30.783        .81611E-04   -1.4726    
   9  norm          .10000E-03    18.264        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.7744        .10890E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    10.041        .17663E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.8214        .94153E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.6147        .90593E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    27.857        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          32.150        24.848        .70666E-04   -1.4573    
  16  Prefactor     8.3785        97.460        .13789E-03   -1.5129    
  17  Prefactor     .10000E-03    84.527        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    9.9064        .17641E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10001E-03    31.733        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    28.870        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .26280        .36615        .54291E-03   -1.2513    
  22  Prefactor     1.3507        .25832        .18417E-03   -.81812    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.57845e-10
Minuit parameter uncertainties:
  1  79.1148
  2  6.48492
  3  7.46477
  4  1.16688e-05
  5  21.178
  6  40.5489
  7  39.0268
  8  30.8034
  9  6.89422e-05
  10  1.01088e-06
  11  1.23273e-05
  12  9.70046e-06
  13  4.09153e-05
  14  8.74374e-05
  15  24.8561
  16  57.2683
  17  5.11036e-05
  18  0.000105661
  19  0.00098345
  20  7.86444e-05
  21  0.369558
  22  0.258562
Done.

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

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  3.755e+00  3.903e+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:  1.351e+00  2.586e-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:  2.628e-01  3.696e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 214.029 13.347
Photon Flux Upper Limit: 1.49e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.15e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/441685/likelihoodResults_423619201_423878401_4FGL_J1416.1+1320_daily_bin711.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) = 3295.00003977
delta logL = 0.0321839139792

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3294.99839288
delta logL = 0.033830806713

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.856       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9115       1.0000          .0000       10.000    
     3 'Normalizat'    .26776       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3444       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=   3294.998     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      317 TOTAL
                     EDM=   .59E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.864        45.621        .11634E-03   -.14120E-04
   2  Index         1.9114        1.3254        .15694E-01    .36640E-05
   3  Normalizat    .26843        .33788        .53737E-03   -.27873E-04
   4  Prefactor     1.3439        .25268        .18455E-03    .17526E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.864
  Index      = 1.91137
  Normalizat = 0.268432
  Prefactor  = 1.34391
 **********
 **   18 **HESSE 
 **********

 FCN=   3294.998     FROM HESSE     STATUS=OK            25 CALLS      342 TOTAL
                     EDM=   .60E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.864        45.459        .46538E-05   -1.5019    
   2  Index         1.9114        1.3218        .62777E-03   -.66585    
   3  Normalizat    .26843        .33756        .21495E-04   -1.2477    
   4  Prefactor     1.3439        .25243        .73821E-05   -.82011    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.99412e-11
Minuit parameter uncertainties:
  1  45.5923
  2  1.34802
  3  0.340158
  4  0.252659
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/441685': 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) = 3294.99839072
delta logL = 0.0338329702604

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  1.186e+01  4.559e+01  1.000e-04  1.000e+04 ( 1.000e-13)
243        Index:  1.911e+00  1.348e+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:  1.344e+00  2.527e-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:  2.684e-01  3.402e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 214.029 13.347

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/441685/cmap_HighResolution_423619201_423878401_4FGL_J1416.1+1320_daily_bin711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.15e-02', job_status='DONE', photon_flux_upper_limit='1.49e-07', time_completed='2021-09-09 14:51:42.063785', job_id='441685', GAL2='1.34', fit_tolerance='1e-08', EG2='0.27', EG='0.26', time_epoch_completed='1631224302.06', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='1.35', dlogl='3.38e-02', ts2='0.08', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='711' AND source_name='4FGL J1416.1+1320' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:51:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 441685: <4FGL_J1416.1+1320_daily_bin711> in cluster <slac> Done

Job <4FGL_J1416.1+1320_daily_bin711> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep  9 14:41:08 2021
Job was executed on host(s) <bullet0083>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:41:10 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 14:41:10 2021
Terminated at Thu Sep  9 14:51:42 2021
Results reported at Thu Sep  9 14:51:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1416.1+1320_daily_bin711 214.029 13.347 423619201 423878401 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 :                                   445.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             244.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   39 MB
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   633 sec.
    Turnaround time :                            634 sec.

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

