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


Performing analysis on: 4FGL_J1416.1+1320_daily_bin458
RA = 214.029, Dec = 13.347
tmin = 358041601, tmax = 358300801
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='280668', job_status='RUN', time_executed='2021-09-09 06:13:17.119982', time_epoch_executed='1631193197.12' WHERE source_name='4FGL J1416.1+1320' and cadence='daily' and bin_id='458'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/280668

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/280668/ft1_4FGL_J1416.1+1320_daily_bin458.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/280668/ft2_4FGL_J1416.1+1320_daily_bin458.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/280668/ft1_4FGL_J1416.1+1320_daily_bin458.fits outfile=/scratch/kocevski/280668/ft1_filteredMKT_4FGL_J1416.1+1320_daily_bin458.fits ra=214.029 dec=13.347 rad=12.0 tmin=358041601.0 tmax=358300801.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.87
user 3.37
sys 0.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/280668/ft1_filtered_4FGL_J1416.1+1320_daily_bin458.fits" evtable="EVENTS" scfile=/scratch/kocevski/280668/ft2_4FGL_J1416.1+1320_daily_bin458.fits sctable="SC_DATA" outfile=/scratch/kocevski/280668/ltcube_358041601_358300801_4FGL_J1416.1+1320_daily_bin458.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/280668/ft2_4FGL_J1416.1+1320_daily_bin458.fits
.....................!
real 12.65
user 11.90
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/280668/ft1_filtered_4FGL_J1416.1+1320_daily_bin458.fits evtable="EVENTS" scfile=/scratch/kocevski/280668/ft2_4FGL_J1416.1+1320_daily_bin458.fits sctable="SC_DATA" expcube=/scratch/kocevski/280668/ltcube_358041601_358300801_4FGL_J1416.1+1320_daily_bin458.fits outfile=/scratch/kocevski/280668/expmap_358041601_358300801_4FGL_J1416.1+1320_daily_bin458.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/280668/ltcube_358041601_358300801_4FGL_J1416.1+1320_daily_bin458.fits
.....................!
real 190.70
user 185.26
sys 4.25

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/280668/ft1_filtered_4FGL_J1416.1+1320_daily_bin458.fits scfile=/scratch/kocevski/280668/ft2_4FGL_J1416.1+1320_daily_bin458.fits outfile=/scratch/kocevski/280668/cmap_358041601_358300801_4FGL_J1416.1+1320_daily_bin458.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.57
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/280668/ft1_filtered_4FGL_J1416.1+1320_daily_bin458.fits scfile=/scratch/kocevski/280668/ft2_4FGL_J1416.1+1320_daily_bin458.fits outfile=/scratch/kocevski/280668/cmap_HighResolution_358041601_358300801_4FGL_J1416.1+1320_daily_bin458.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.61
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    87.210       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.8177       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.1586       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.8773       1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.826       1.0000         .10000E-03   10000.    
     8 'Prefactor '    57.516       1.0000         .10000E-03   10000.    
     9 'norm      '    10.664       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    6.4774       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.6152       1.0000         .10000E-03   10000.    
    13 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11711E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.7893       1.0000         .10000E-03   10000.    
    16 'Prefactor '    27.562       1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.8264       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .99105       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .98973       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=   6404.446     FROM MIGRAD    STATUS=CONVERGED    471 CALLS     2425 TOTAL
                     EDM=   .48E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     87.075        70.365       -.57214E-07   -.37236E-04
   2  Prefactor     .10000E-03    1.1480       -.65563E-07** at limit **
   3  Prefactor     2.8183        2.7377       -.11895E-06    .71603E-04
   4  Prefactor     .10000E-03    7.7992       -.20554E-06** at limit **
   5  Prefactor     5.1579        14.448        .36051E-06   -.11402E-04
   6  Prefactor     3.8727        29.524        .82502E-06   -.47463E-05
   7  Prefactor     12.827        20.972       -.88466E-07   -.29288E-05
   8  Prefactor     57.519        29.877       -.85592E-07    .16173E-04
   9  norm          10.662        16.242        .43204E-07    .25843E-05
  10  Prefactor     .10000E-03    3.8613        .19640E-06** at limit **
  11  norm          6.4773        3.0262       -.23286E-08   -.83028E-05
  12  Prefactor     2.6114        8.1610        .10430E-05   -.59994E-04
  13  norm          .10000E-03    1.9898        .39067E-06** at limit **
  14  Prefactor     .10000E-03    158.43       -.12577E-04** at limit **
  15  norm          2.8009        25.180        .40271E-05    .55224E-04
  16  Prefactor     27.561        23.396       -.78036E-07   -.11467E-04
  17  Prefactor     5.8244        34.380       -.18794E-06    .19562E-05
  18  Prefactor     .10000E-03    5.6750        .14102E-06** at limit **
  19  Prefactor     .10000E-03    20.110        .36954E-06** at limit **
  20  Prefactor     .10000E-03    34.282        .35164E-06** at limit **
  21  Normalizat    .99107        .21930        .47510E-06   -.34825E-04
  22  Prefactor     .98978        .15197       -.86364E-06    .80840E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 87.0753
  Prefactor  = 0.0001
  Prefactor  = 2.81834
  Prefactor  = 0.0001
  Prefactor  = 5.15794
  Prefactor  = 3.87266
  Prefactor  = 12.8266
  Prefactor  = 57.519
  norm       = 10.6624
  Prefactor  = 0.0001
  norm       = 6.47727
  Prefactor  = 2.61144
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.8009
  Prefactor  = 27.561
  Prefactor  = 5.82443
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.991067
  Prefactor  = 0.989779
 **********
 **   18 **HESSE 
 **********

 FCN=   6404.446     FROM HESSE     STATUS=OK           348 CALLS     2773 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     87.075        70.327        .21511E-03   -1.3839    
   2  Prefactor     .10000E-03    1.1519        .83696E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.8183        2.7441        .12669E-03   -1.5372    
   4  Prefactor     .10000E-03    7.8227        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.1579        14.471        .17700E-03   -1.5254    
   6  Prefactor     3.8727        29.463        .20492E-03   -1.5314    
   7  Prefactor     12.827        20.967        .11185E-03   -1.4992    
   8  Prefactor     57.519        29.933        .52897E-04   -1.4190    
   9  norm          10.662        16.241        .12269E-03   -1.5055    
  10  Prefactor     .10000E-03    3.8615        .15316E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.4773        3.0269        .92372E-04   -1.5199    
  12  Prefactor     2.6114        8.0752        .25222E-03   -1.5385    
  13  norm          .10000E-03    2.0217        .21948E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    170.87        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.8009        27.875        .24362E-03   -1.5373    
  16  Prefactor     27.561        23.392        .76309E-04   -1.4658    
  17  Prefactor     5.8244        34.209        .16638E-03   -1.5225    
  18  Prefactor     .10000E-03    5.6807        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    20.215        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    34.361        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .99107        .26016        .29045E-03   -.93330    
  22  Prefactor     .98978        .17990        .21095E-03   -.93071    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12081e-10
Minuit parameter uncertainties:
  1  70.3946
  2  1.56353e-06
  3  2.74417
  4  1.13029e-05
  5  14.4813
  6  21.3777
  7  20.9794
  8  29.9412
  9  16.2478
  10  1.3306e-05
  11  3.02698
  12  8.07856
  13  8.37124e-06
  14  9.96801e-05
  15  17.6824
  16  23.4
  17  28.2551
  18  3.25425e-06
  19  1.24931e-05
  20  1.38895e-05
  21  0.26049
  22  0.180005
Done.

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

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  1.283e+01  2.098e+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.898e-01  1.800e-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:  9.911e-01  2.605e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/280668/likelihoodResults_358041601_358300801_4FGL_J1416.1+1320_daily_bin458.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) = 6404.42712712
delta logL = 0.0188520135689

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6404.42416733
delta logL = 0.0218117984159

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.270       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6601       1.0000          .0000       10.000    
     3 'Normalizat'    .98354       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99293       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=   6404.424     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      213 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.291        677.22        .29834E-02    .39912E-04
   2  Index         2.6628        5.7592        .23010        .55509E-04
   3  Normalizat    .98332        .79711E-01    .65953E-01    .11024E-03
   4  Prefactor     .99309        .44964E-01    .46179E-01    .13014E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.2908
  Index      = 2.66283
  Normalizat = 0.983317
  Prefactor  = 0.993094
 **********
 **   18 **HESSE 
 **********

 FCN=   6404.424     FROM HESSE     STATUS=OK            31 CALLS      244 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.291        22.198        .11934E-03   -1.5036    
   2  Index         2.6628        1.4984        .13403E-01   -.48639    
   3  Normalizat    .98332        .24960        .29172E-03   -.93591    
   4  Prefactor     .99309        .17963        .21064E-03   -.92960    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.37492e-11
Minuit parameter uncertainties:
  1  22.2142
  2  1.52872
  3  0.249894
  4  0.179733
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/280668': 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) = 6404.42416229
delta logL = 0.021816839544

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  1.129e+01  2.221e+01  1.000e-04  1.000e+04 ( 1.000e-13)
243        Index:  2.663e+00  1.529e+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.931e-01  1.797e-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:  9.833e-01  2.499e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.60
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/280668/cmap_HighResolution_358041601_358300801_4FGL_J1416.1+1320_daily_bin458.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.46e-03', job_status='DONE', photon_flux_upper_limit='9.68e-08', time_completed='2021-09-09 06:22:58.489347', job_id='280668', GAL2='0.99', fit_tolerance='1e-08', EG2='0.98', EG='0.99', time_epoch_completed='1631193778.49', return_code2='0', ts='0.60', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='2.18e-02', ts2='0.65', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='458' AND source_name='4FGL J1416.1+1320' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 06:22:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 280668: <4FGL_J1416.1+1320_daily_bin458> in cluster <slac> Done

Job <4FGL_J1416.1+1320_daily_bin458> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Thu Sep  9 06:11:53 2021
Job was executed on host(s) <bullet0214>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 06:11:55 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:11:55 2021
Terminated at Thu Sep  9 06:22:59 2021
Results reported at Thu Sep  9 06:22:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1416.1+1320_daily_bin458 214.029 13.347 358041601 358300801 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 :                                   564.21 sec.
    Max Memory :                                 1237 MB
    Average Memory :                             292.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   664 sec.
    Turnaround time :                            666 sec.

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

