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


Performing analysis on: 4FGL_J1416.1+1320_daily_bin252
RA = 214.029, Dec = 13.347
tmin = 304646401, tmax = 304905601
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='278138', job_status='RUN', time_executed='2021-09-09 06:08:22.354056', time_epoch_executed='1631192902.35' WHERE source_name='4FGL J1416.1+1320' and cadence='daily' and bin_id='252'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/278138

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/278138/ft1_4FGL_J1416.1+1320_daily_bin252.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/278138/ft2_4FGL_J1416.1+1320_daily_bin252.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/278138/ft1_4FGL_J1416.1+1320_daily_bin252.fits outfile=/scratch/kocevski/278138/ft1_filteredMKT_4FGL_J1416.1+1320_daily_bin252.fits ra=214.029 dec=13.347 rad=12.0 tmin=304646401.0 tmax=304905601.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.52
user 3.23
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/278138/ft2_4FGL_J1416.1+1320_daily_bin252.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/278138/ft1_filteredMKT_4FGL_J1416.1+1320_daily_bin252.fits evtable="EVENTS" outfile="/scratch/kocevski/278138/ft1_filtered_4FGL_J1416.1+1320_daily_bin252.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.52
user 0.33
sys 0.14

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/278138/ft1_filtered_4FGL_J1416.1+1320_daily_bin252.fits evtable="EVENTS" scfile=/scratch/kocevski/278138/ft2_4FGL_J1416.1+1320_daily_bin252.fits sctable="SC_DATA" expcube=/scratch/kocevski/278138/ltcube_304646401_304905601_4FGL_J1416.1+1320_daily_bin252.fits outfile=/scratch/kocevski/278138/expmap_304646401_304905601_4FGL_J1416.1+1320_daily_bin252.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/278138/ltcube_304646401_304905601_4FGL_J1416.1+1320_daily_bin252.fits
.....................!
real 193.10
user 187.48
sys 4.58

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/278138/ft1_filtered_4FGL_J1416.1+1320_daily_bin252.fits scfile=/scratch/kocevski/278138/ft2_4FGL_J1416.1+1320_daily_bin252.fits outfile=/scratch/kocevski/278138/cmap_304646401_304905601_4FGL_J1416.1+1320_daily_bin252.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.67
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/278138/ft1_filtered_4FGL_J1416.1+1320_daily_bin252.fits scfile=/scratch/kocevski/278138/ft2_4FGL_J1416.1+1320_daily_bin252.fits outfile=/scratch/kocevski/278138/cmap_HighResolution_304646401_304905601_4FGL_J1416.1+1320_daily_bin252.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.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.7295       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.3569       1.0000         .10000E-03   10000.    
     5 'Prefactor '    31.525       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.8622       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    9.8780       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.8532       1.0000         .10000E-03   10000.    
    13 'norm      '    3.6218       1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.0353       1.0000         .10000E-03   10000.    
    15 'norm      '    .11598E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.0818       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    19.619       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.5460       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .63880       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=   6359.150     FROM MIGRAD    STATUS=CONVERGED    457 CALLS     2323 TOTAL
                     EDM=   .16E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    16.643        .32221E-08** at limit **
   2  Prefactor     2.7312        4.5436        .56829E-06    .21313E-04
   3  Prefactor     .10000E-03    2.5866        .50868E-07** at limit **
   4  Prefactor     9.3587        11.681        .10672E-06   -.48121E-05
   5  Prefactor     31.532        15.222        .30455E-07    .74988E-05
   6  Prefactor     .10000E-03    13.630       -.27380E-08** at limit **
   7  Prefactor     8.8653        28.081       -.14079E-06    .14242E-05
   8  Prefactor     .10000E-03    9.3290        .49769E-07** at limit **
   9  norm          .10000E-03    11.452        .83438E-07** at limit **
  10  Prefactor     .10000E-03    3.0473       -.30276E-07** at limit **
  11  norm          9.8781        3.2121        .86208E-09    .13499E-04
  12  Prefactor     6.8559        6.1384        .14079E-05   -.63702E-04
  13  norm          3.6232        3.6396       -.81722E-07   -.64722E-04
  14  Prefactor     6.0400        22.626        .12850E-06    .47243E-06
  15  norm          .10000E-03    12.866        .69631E-06** at limit **
  16  Prefactor     9.0511        26.911        .54107E-07   -.56672E-04
  17  Prefactor     .10000E-03    12.666        .42036E-07** at limit **
  18  Prefactor     .10000E-03    20.338        .28059E-06** at limit **
  19  Prefactor     19.632        25.292       -.20885E-06    .21762E-04
  20  Prefactor     .10000E-03    20.583        .55602E-06** at limit **
  21  Normalizat    1.5453        .21751       -.10535E-06   -.23868E-04
  22  Prefactor     .63926        .14841       -.46469E-06   -.20492E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.73117
  Prefactor  = 0.0001
  Prefactor  = 9.35873
  Prefactor  = 31.5317
  Prefactor  = 0.0001
  Prefactor  = 8.86531
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 9.87815
  Prefactor  = 6.85585
  norm       = 3.6232
  Prefactor  = 6.04002
  norm       = 0.0001
  Prefactor  = 9.05113
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.6316
  Prefactor  = 0.0001
  Normalizat = 1.54531
  Prefactor  = 0.63926
 **********
 **   18 **HESSE 
 **********

 FCN=   6359.150     FROM HESSE     STATUS=OK           342 CALLS     2665 TOTAL
                     EDM=   .33E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    16.649        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.7312        4.5578        .20766E-03   -1.5377    
   3  Prefactor     .10000E-03    2.6995        .25044E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.3587        11.687        .13102E-03   -1.5096    
   5  Prefactor     31.532        15.373        .71363E-04   -1.4584    
   6  Prefactor     .10000E-03    13.688        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.8653        28.121        .13464E-03   -1.5112    
   8  Prefactor     .10000E-03    9.3422        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    11.478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.0560        .13591E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          9.8781        3.2125        .79268E-04   -1.5079    
  12  Prefactor     6.8559        6.1483        .76630E-03   -1.5184    
  13  norm          3.6232        3.6268        .14194E-03   -1.5327    
  14  Prefactor     6.0400        22.532        .16344E-03   -1.5216    
  15  norm          .10000E-03    12.870        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.0511        26.823        .13299E-03   -1.5106    
  17  Prefactor     .10000E-03    12.723        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    20.873        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     19.632        25.170        .90426E-04   -1.4822    
  20  Prefactor     .10000E-03    20.621        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.5453        .26444        .24327E-03   -.76513    
  22  Prefactor     .63926        .17776        .25752E-03   -1.0596    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.31442e-11
Minuit parameter uncertainties:
  1  7.96329e-06
  2  4.55842
  3  4.36789e-07
  4  11.6895
  5  15.3749
  6  8.88203e-06
  7  28.1628
  8  1.20453e-06
  9  1.57602e-05
  10  4.88107e-06
  11  3.21258
  12  6.14885
  13  3.62701
  14  22.5635
  15  8.11954e-06
  16  26.8588
  17  5.99994e-07
  18  1.45487e-05
  19  25.1836
  20  1.06961e-05
  21  0.264679
  22  0.177914
Done.

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

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  8.865e+00  2.816e+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:  6.393e-01  1.779e-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.545e+00  2.647e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/278138/likelihoodResults_304646401_304905601_4FGL_J1416.1+1320_daily_bin252.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) = 6359.05333603
delta logL = 0.0968657970361

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6359.0468371
delta logL = 0.103364727645

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.8511       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0305       1.0000          .0000       10.000    
     3 'Normalizat'    1.5282       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .64597       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=   6359.047     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      247 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.8449        25.098        .15328E-03   -.39034E-03
   2  Index         3.0307        1.8940        .10087E-01   -.18235E-03
   3  Normalizat    1.5283        .25000        .24437E-03    .38627E-03
   4  Prefactor     .64595        .17696        .25627E-03    .58810E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.84491
  Index      = 3.03073
  Normalizat = 1.52826
  Prefactor  = 0.64595
 **********
 **   18 **HESSE 
 **********

 FCN=   6359.047     FROM HESSE     STATUS=OK            25 CALLS      272 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.8449        19.764        .61314E-05   -1.5185    
   2  Index         3.0307        1.5064        .40347E-03   -.40482    
   3  Normalizat    1.5283        .25024        .48875E-04   -.76987    
   4  Prefactor     .64595        .17693        .51254E-04   -1.0568    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.66955e-09
Minuit parameter uncertainties:
  1  19.7829
  2  1.53478
  3  0.250448
  4  0.177088
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/278138': 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) = 6359.046837
delta logL = 0.103364822744

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  6.845e+00  1.978e+01  1.000e-04  1.000e+04 ( 1.000e-13)
243        Index:  3.031e+00  1.535e+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:  6.460e-01  1.771e-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.528e+00  2.504e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.12
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/278138/cmap_HighResolution_304646401_304905601_4FGL_J1416.1+1320_daily_bin252.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.79e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2021-09-09 06:17:59.442083', job_id='278138', GAL2='0.65', fit_tolerance='1e-08', EG2='1.53', EG='1.55', time_epoch_completed='1631193479.44', return_code2='0', ts='0.12', comment='SUCCESS', return_code='0', GAL='0.64', dlogl='1.03e-01', ts2='0.34', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='252' AND source_name='4FGL J1416.1+1320' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 06:17:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 278138: <4FGL_J1416.1+1320_daily_bin252> in cluster <slac> Done

Job <4FGL_J1416.1+1320_daily_bin252> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep  9 06:06:34 2021
Job was executed on host(s) <bullet0250>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 06:06:36 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:06:36 2021
Terminated at Thu Sep  9 06:18:00 2021
Results reported at Thu Sep  9 06:18:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1416.1+1320_daily_bin252 214.029 13.347 304646401 304905601 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 :                                   568.01 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             341.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   684 sec.
    Turnaround time :                            686 sec.

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

