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


Performing analysis on: 4FGL_J1416.1+1320_daily_bin816
RA = 214.029, Dec = 13.347
tmin = 450835201, tmax = 451094401
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='282392', job_status='RUN', time_executed='2021-09-09 06:18:58.057287', time_epoch_executed='1631193538.06' WHERE source_name='4FGL J1416.1+1320' and cadence='daily' and bin_id='816'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/282392

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/282392/ft1_4FGL_J1416.1+1320_daily_bin816.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/282392/ft2_4FGL_J1416.1+1320_daily_bin816.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/282392/ft1_4FGL_J1416.1+1320_daily_bin816.fits outfile=/scratch/kocevski/282392/ft1_filteredMKT_4FGL_J1416.1+1320_daily_bin816.fits ra=214.029 dec=13.347 rad=12.0 tmin=450835201.0 tmax=451094401.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.80
user 3.15
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/282392/ft2_4FGL_J1416.1+1320_daily_bin816.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/282392/ft1_filteredMKT_4FGL_J1416.1+1320_daily_bin816.fits evtable="EVENTS" outfile="/scratch/kocevski/282392/ft1_filtered_4FGL_J1416.1+1320_daily_bin816.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.87
user 0.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/282392/ft1_filtered_4FGL_J1416.1+1320_daily_bin816.fits" evtable="EVENTS" scfile=/scratch/kocevski/282392/ft2_4FGL_J1416.1+1320_daily_bin816.fits sctable="SC_DATA" outfile=/scratch/kocevski/282392/ltcube_450835201_451094401_4FGL_J1416.1+1320_daily_bin816.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/282392/ft2_4FGL_J1416.1+1320_daily_bin816.fits
.....................!
real 12.19
user 11.72
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/282392/ft1_filtered_4FGL_J1416.1+1320_daily_bin816.fits evtable="EVENTS" scfile=/scratch/kocevski/282392/ft2_4FGL_J1416.1+1320_daily_bin816.fits sctable="SC_DATA" expcube=/scratch/kocevski/282392/ltcube_450835201_451094401_4FGL_J1416.1+1320_daily_bin816.fits outfile=/scratch/kocevski/282392/expmap_450835201_451094401_4FGL_J1416.1+1320_daily_bin816.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/282392/ltcube_450835201_451094401_4FGL_J1416.1+1320_daily_bin816.fits
.....................!
real 192.28
user 186.51
sys 4.16

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/282392/ft1_filtered_4FGL_J1416.1+1320_daily_bin816.fits scfile=/scratch/kocevski/282392/ft2_4FGL_J1416.1+1320_daily_bin816.fits outfile=/scratch/kocevski/282392/cmap_450835201_451094401_4FGL_J1416.1+1320_daily_bin816.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 1.74
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/282392/ft1_filtered_4FGL_J1416.1+1320_daily_bin816.fits scfile=/scratch/kocevski/282392/ft2_4FGL_J1416.1+1320_daily_bin816.fits outfile=/scratch/kocevski/282392/cmap_HighResolution_450835201_451094401_4FGL_J1416.1+1320_daily_bin816.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 1.22
user 0.41
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.393       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .97313       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.1315       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.6022       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.028       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    23.220       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.0272       1.0000         .10000E-03   10000.    
    11 'norm      '    9.4259       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.2154       1.0000         .10000E-03   10000.    
    13 'norm      '    1.5033       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.4260       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    30.715       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.5224       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .71771       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=   6164.037     FROM MIGRAD    STATUS=CONVERGED    458 CALLS     2018 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.394        34.624        .74922E-06   -.16520E-05
   2  Prefactor     .10000E-03    2.6481        .60545E-07** at limit **
   3  Prefactor     .97298        1.8581        .50124E-06   -.19625E-02
   4  Prefactor     4.1298        13.978       -.12338E-05   -.10066E-04
   5  Prefactor     1.6015        18.299        .17338E-06   -.12520E-04
   6  Prefactor     .10000E-03    14.654       -.39378E-05** at limit **
   7  Prefactor     10.028        20.496       -.93840E-06   -.34045E-06
   8  Prefactor     .10000E-03    26.358       -.21167E-04** at limit **
   9  norm          23.220        22.980        .54173E-06    .84535E-04
  10  Prefactor     8.0270        6.7322       -.11121E-07   -.43929E-05
  11  norm          9.4254        3.6625        .84098E-06    .68114E-05
  12  Prefactor     4.2152        5.0541       -.11432E-06   -.20682E-04
  13  norm          1.5032        1.5452        .20545E-07   -.30003E-05
  14  Prefactor     .10000E-03    17.855        .13573E-04** at limit **
  15  norm          1.4272        22.721       -.17947E-05   -.43189E-03
  16  Prefactor     .10000E-03    7.7197       -.38509E-05** at limit **
  17  Prefactor     .10000E-03    21.457        .14150E-04** at limit **
  18  Prefactor     .10000E-03    8.4794        .63939E-05** at limit **
  19  Prefactor     30.717        21.828        .16582E-05   -.12557E-04
  20  Prefactor     .10000E-03    13.228       -.11609E-04** at limit **
  21  Normalizat    1.5225        .21687       -.57953E-06    .16773E-04
  22  Prefactor     .71764        .15650       -.20897E-07   -.29965E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.394
  Prefactor  = 0.0001
  Prefactor  = 0.972977
  Prefactor  = 4.12976
  Prefactor  = 1.60149
  Prefactor  = 0.0001
  Prefactor  = 10.0277
  Prefactor  = 0.0001
  norm       = 23.2199
  Prefactor  = 8.02696
  norm       = 9.42538
  Prefactor  = 4.21519
  norm       = 1.50321
  Prefactor  = 0.0001
  norm       = 1.42719
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 30.7169
  Prefactor  = 0.0001
  Normalizat = 1.52254
  Prefactor  = 0.717644
 **********
 **   18 **HESSE 
 **********

 FCN=   6164.037     FROM HESSE     STATUS=OK           346 CALLS     2364 TOTAL
                     EDM=   .97E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.394        34.639        .86597E-04   -1.4783    
   2  Prefactor     .10000E-03    2.7098        .12471E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .97298        5.1428        .16781E-02   -1.5511    
   4  Prefactor     4.1298        14.028        .19831E-03   -1.5302    
   5  Prefactor     1.6015        18.426        .33489E-03   -1.5455    
   6  Prefactor     .10000E-03    14.675        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.028        20.488        .12653E-03   -1.5075    
   8  Prefactor     .10000E-03    26.539        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          23.220        22.987        .83126E-04   -1.4744    
  10  Prefactor     8.0270        6.7274        .14152E-03   -1.5141    
  11  norm          9.4254        3.6652        .90576E-04   -1.5094    
  12  Prefactor     4.2152        5.0449        .18367E-03   -1.5297    
  13  norm          1.5032        1.5524        .96171E-04   -1.5463    
  14  Prefactor     .10000E-03    17.914        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.4272        27.283        .18100E-02   -1.5469    
  16  Prefactor     .10000E-03    7.7296        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    21.561        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    8.5063        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     30.717        21.836        .72295E-04   -1.4599    
  20  Prefactor     .10000E-03    13.246        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.5225        .26456        .24469E-03   -.77147    
  22  Prefactor     .71764        .19052        .24979E-03   -1.0284    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.65902e-09
Minuit parameter uncertainties:
  1  34.6717
  2  2.43425e-06
  3  4.47423
  4  14.0392
  5  10.8684
  6  5.16936e-06
  7  20.5025
  8  0.000172317
  9  22.9962
  10  6.72805
  11  3.6653
  12  5.04536
  13  1.55241
  14  3.2986e-05
  15  12.4863
  16  7.07153e-06
  17  1.2305e-05
  18  1.12203e-05
  19  21.8417
  20  1.39951e-05
  21  0.2648
  22  0.190696
Done.

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

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  1.003e+01  2.050e+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.176e-01  1.907e-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.523e+00  2.648e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.34
Ra Dec: 214.029 13.347
Photon Flux Upper Limit: 9.31e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.18e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/282392/likelihoodResults_450835201_451094401_4FGL_J1416.1+1320_daily_bin816.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) = 6163.95658782
delta logL = 0.0805262858648

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6163.95119483
delta logL = 0.0859192760663

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.923       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9275       1.0000          .0000       10.000    
     3 'Normalizat'    1.5294       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71318       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=   6163.951     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      310 TOTAL
                     EDM=   .65E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.967        24.563        .53673E-03   -.22029E-05
   2  Index         1.9295        .94467        .14640E-01   -.33185E-04
   3  Normalizat    1.5295        .25669        .24422E-03   -.10055E-04
   4  Prefactor     .71315        .18894        .25047E-03   -.21151E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.9671
  Index      = 1.92952
  Normalizat = 1.52948
  Prefactor  = 0.713152
 **********
 **   18 **HESSE 
 **********

 FCN=   6163.951     FROM HESSE     STATUS=OK            25 CALLS      335 TOTAL
                     EDM=   .98E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.967        24.515        .21469E-04   -1.4960    
   2  Index         1.9295        .94333        .29280E-02   -.66124    
   3  Normalizat    1.5295        .25697        .97690E-05   -.76953    
   4  Prefactor     .71315        .18915        .10019E-04   -1.0301    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.79995e-13
Minuit parameter uncertainties:
  1  24.5324
  2  0.952557
  3  0.25719
  4  0.18932
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/282392': 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) = 6163.95119061
delta logL = 0.0859234971467

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  1.397e+01  2.453e+01  1.000e-04  1.000e+04 ( 1.000e-13)
243        Index:  1.930e+00  9.526e-01  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.132e-01  1.893e-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.529e+00  2.572e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.34
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/282392/cmap_HighResolution_450835201_451094401_4FGL_J1416.1+1320_daily_bin816.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.18e-03', job_status='DONE', photon_flux_upper_limit='9.31e-08', time_completed='2021-09-09 06:28:28.407016', job_id='282392', GAL2='0.71', fit_tolerance='1e-08', EG2='1.53', EG='1.52', time_epoch_completed='1631194108.41', return_code2='0', ts='0.34', comment='SUCCESS', return_code='0', GAL='0.72', dlogl='8.59e-02', ts2='0.51', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='816' AND source_name='4FGL J1416.1+1320' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 06:28:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0172>
Subject: Job 282392: <4FGL_J1416.1+1320_daily_bin816> in cluster <slac> Done

Job <4FGL_J1416.1+1320_daily_bin816> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Sep  9 06:17:19 2021
Job was executed on host(s) <bullet0172>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 06:17:20 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:20 2021
Terminated at Thu Sep  9 06:28:35 2021
Results reported at Thu Sep  9 06:28:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1416.1+1320_daily_bin816 214.029 13.347 450835201 451094401 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 :                                   544.15 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             252.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   674 sec.
    Turnaround time :                            676 sec.

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

