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


Performing analysis on: 4FGL_J1416.1+1320_daily_bin510
RA = 214.029, Dec = 13.347
tmin = 371520001, tmax = 371779201
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='280745', job_status='RUN', time_executed='2021-09-09 06:15:11.455100', time_epoch_executed='1631193311.46' WHERE source_name='4FGL J1416.1+1320' and cadence='daily' and bin_id='510'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/280745

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/280745/ft1_4FGL_J1416.1+1320_daily_bin510.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/280745/ft2_4FGL_J1416.1+1320_daily_bin510.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/280745/ft1_4FGL_J1416.1+1320_daily_bin510.fits outfile=/scratch/kocevski/280745/ft1_filteredMKT_4FGL_J1416.1+1320_daily_bin510.fits ra=214.029 dec=13.347 rad=12.0 tmin=371520001.0 tmax=371779201.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.49
user 4.18
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/280745/ft2_4FGL_J1416.1+1320_daily_bin510.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/280745/ft1_filteredMKT_4FGL_J1416.1+1320_daily_bin510.fits evtable="EVENTS" outfile="/scratch/kocevski/280745/ft1_filtered_4FGL_J1416.1+1320_daily_bin510.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.99
user 0.34
sys 0.17

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/280745/ft1_filtered_4FGL_J1416.1+1320_daily_bin510.fits evtable="EVENTS" scfile=/scratch/kocevski/280745/ft2_4FGL_J1416.1+1320_daily_bin510.fits sctable="SC_DATA" expcube=/scratch/kocevski/280745/ltcube_371520001_371779201_4FGL_J1416.1+1320_daily_bin510.fits outfile=/scratch/kocevski/280745/expmap_371520001_371779201_4FGL_J1416.1+1320_daily_bin510.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/280745/ltcube_371520001_371779201_4FGL_J1416.1+1320_daily_bin510.fits
.....................!
real 199.17
user 185.35
sys 4.50

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
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/280745/ft1_filtered_4FGL_J1416.1+1320_daily_bin510.fits scfile=/scratch/kocevski/280745/ft2_4FGL_J1416.1+1320_daily_bin510.fits outfile=/scratch/kocevski/280745/cmap_371520001_371779201_4FGL_J1416.1+1320_daily_bin510.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 2.15
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/280745/ft1_filtered_4FGL_J1416.1+1320_daily_bin510.fits scfile=/scratch/kocevski/280745/ft2_4FGL_J1416.1+1320_daily_bin510.fits outfile=/scratch/kocevski/280745/cmap_HighResolution_371520001_371779201_4FGL_J1416.1+1320_daily_bin510.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.42
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.2573       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .26409E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.6158       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.336       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    13.736       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    15.746       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.3436       1.0000         .10000E-03   10000.    
    13 'norm      '    1.4370       1.0000         .10000E-03   10000.    
    14 'Prefactor '    25.372       1.0000         .10000E-03   10000.    
    15 'norm      '    .10134E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10124E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.2337       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2409       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .91458       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=   6617.041     FROM MIGRAD    STATUS=CONVERGED    459 CALLS     2335 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    19.004       -.28149E-06** at limit **
   2  Prefactor     4.2571        4.0460        .19299E-06   -.21365E-03
   3  Prefactor     .10003E-03    3.4403        .27337E-05** at limit **
   4  Prefactor     .10000E-03    10.772        .36755E-06** at limit **
   5  Prefactor     4.6133        13.827        .40487E-06   -.51123E-04
   6  Prefactor     .10000E-03    29.390       -.10522E-05** at limit **
   7  Prefactor     14.328        25.915       -.17153E-05   -.27765E-03
   8  Prefactor     .10000E-03    4.7355       -.36652E-07** at limit **
   9  norm          13.736        13.137        .12223E-07   -.14793E-04
  10  Prefactor     .10000E-03    6.6554       -.95361E-06** at limit **
  11  norm          15.745        4.4916        .86012E-07    .62777E-03
  12  Prefactor     7.3449        8.1738        .37598E-05    .19467E-03
  13  norm          1.4372        2.6690       -.10950E-07   -.90049E-04
  14  Prefactor     25.375        25.383        .88556E-06    .15830E-03
  15  norm          .10000E-03    9.9873        .11935E-05** at limit **
  16  Prefactor     .10000E-03    11.914       -.11592E-05** at limit **
  17  Prefactor     .10000E-03    21.374        .10550E-05** at limit **
  18  Prefactor     .10000E-03    11.761       -.10512E-05** at limit **
  19  Prefactor     3.2178        30.514       -.27229E-05   -.24478E-03
  20  Prefactor     .10000E-03    21.927        .69800E-06** at limit **
  21  Normalizat    1.2411        .20925       -.82079E-06   -.17446E-03
  22  Prefactor     .91457        .14657       -.37391E-06   -.27377E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 4.25705
  Prefactor  = 0.000100031
  Prefactor  = 0.0001
  Prefactor  = 4.61333
  Prefactor  = 0.000100003
  Prefactor  = 14.3276
  Prefactor  = 0.0001
  norm       = 13.7358
  Prefactor  = 0.000100001
  norm       = 15.7454
  Prefactor  = 7.34492
  norm       = 1.43723
  Prefactor  = 25.3753
  norm       = 0.000100002
  Prefactor  = 0.000100002
  Prefactor  = 0.000100002
  Prefactor  = 0.000100001
  Prefactor  = 3.21777
  Prefactor  = 0.000100002
  Normalizat = 1.24105
  Prefactor  = 0.914571
 **********
 **   18 **HESSE 
 **********

 FCN=   6617.041     FROM HESSE     STATUS=OK           334 CALLS     2669 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    19.020        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.2571        4.0508        .15254E-03   -1.5295    
   3  Prefactor     .10003E-03    7.0002        .23854E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    10.867        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.6133        13.858        .18734E-03   -1.5278    
   6  Prefactor     .10000E-03    29.989        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     14.328        26.069        .10579E-03   -1.4951    
   8  Prefactor     .10000E-03    4.7366        .17289E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          13.736        13.139        .10807E-03   -1.4967    
  10  Prefactor     .10000E-03    6.7949        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          15.745        4.4949        .89281E-04   -1.4914    
  12  Prefactor     7.3449        8.5423        .74003E-03   -1.5166    
  13  norm          1.4372        2.6273        .17267E-03   -1.5468    
  14  Prefactor     25.375        25.366        .79528E-04   -1.4700    
  15  norm          .10000E-03    10.055        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    11.988        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    21.606        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    11.890        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.2178        31.297        .22526E-03   -1.5349    
  20  Prefactor     .10000E-03    22.036        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2411        .25431        .27548E-03   -.85343    
  22  Prefactor     .91457        .17772        .22671E-03   -.95634    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.5749e-09
Minuit parameter uncertainties:
  1  0.000141432
  2  4.05107
  3  0.000934344
  4  9.17186e-05
  5  13.8678
  6  0.000576145
  7  26.0897
  8  1.08474e-05
  9  13.1417
  10  0.000135222
  11  4.495
  12  8.54376
  13  2.62753
  14  25.3768
  15  0.000303316
  16  0.000303632
  17  0.000408855
  18  0.000253678
  19  20.084
  20  0.000448392
  21  0.254561
  22  0.177832
Done.

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

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  1.433e+01  2.609e+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:  9.146e-01  1.778e-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.241e+00  2.546e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/280745/likelihoodResults_371520001_371779201_4FGL_J1416.1+1320_daily_bin510.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) = 6617.00768328
delta logL = 0.0328491179789

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6617.00157673
delta logL = 0.0389556641903

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.675       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8117       1.0000          .0000       10.000    
     3 'Normalizat'    1.2265       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92095       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.

 FCN=   6617.002     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      208 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.675        598.79        .29311E-02    .10368E-03
   2  Index         2.8119        6.3279        .22575        .58953E-04
   3  Normalizat    1.2266        .61659E-01    .62598E-01    .92252E-05
   4  Prefactor     .92087        .38786E-01    .45272E-01    .92596E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.675
  Index      = 2.81191
  Normalizat = 1.22659
  Prefactor  = 0.920875
 **********
 **   18 **HESSE 
 **********

 FCN=   6617.002     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.675        30.370        .11724E-03   -1.5024    
   2  Index         2.8119        1.9127        .11687E-01   -.45295    
   3  Normalizat    1.2266        .25485        .27688E-03   -.85785    
   4  Prefactor     .92087        .17980        .22601E-03   -.95415    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.2374e-11
Minuit parameter uncertainties:
  1  30.4103
  2  1.97572
  3  0.255107
  4  0.179918
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/280745': 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) = 6617.0015766
delta logL = 0.0389557942717

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  1.168e+01  3.041e+01  1.000e-04  1.000e+04 ( 1.000e-13)
243        Index:  2.812e+00  1.976e+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:  9.209e-01  1.799e-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.227e+00  2.551e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.42
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/280745/cmap_HighResolution_371520001_371779201_4FGL_J1416.1+1320_daily_bin510.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.27e-03', job_status='DONE', photon_flux_upper_limit='1.07e-07', time_completed='2021-09-09 06:25:16.385047', job_id='280745', GAL2='0.92', fit_tolerance='1e-08', EG2='1.23', EG='1.24', time_epoch_completed='1631193916.39', return_code2='0', ts='0.42', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='3.90e-02', ts2='0.52', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='510' AND source_name='4FGL J1416.1+1320' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 06:25:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 280745: <4FGL_J1416.1+1320_daily_bin510> in cluster <slac> Done

Job <4FGL_J1416.1+1320_daily_bin510> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Thu Sep  9 06:12:00 2021
Job was executed on host(s) <bullet0067>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 06:12:01 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:12:01 2021
Terminated at Thu Sep  9 06:25:17 2021
Results reported at Thu Sep  9 06:25:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1416.1+1320_daily_bin510 214.029 13.347 371520001 371779201 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 :                                   563.03 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             233.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   796 sec.
    Turnaround time :                            797 sec.

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

