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


Performing analysis on: 4FGL_J1416.1+1320_daily_bin478
RA = 214.029, Dec = 13.347
tmin = 363225601, tmax = 363484801
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='280698', job_status='RUN', time_executed='2021-09-09 06:13:17.679781', time_epoch_executed='1631193197.68' WHERE source_name='4FGL J1416.1+1320' and cadence='daily' and bin_id='478'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/280698

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/280698/ft1_4FGL_J1416.1+1320_daily_bin478.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/280698/ft2_4FGL_J1416.1+1320_daily_bin478.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/280698/ft1_4FGL_J1416.1+1320_daily_bin478.fits outfile=/scratch/kocevski/280698/ft1_filteredMKT_4FGL_J1416.1+1320_daily_bin478.fits ra=214.029 dec=13.347 rad=12.0 tmin=363225601.0 tmax=363484801.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 6.99
user 6.69
sys 0.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/280698/ft1_filtered_4FGL_J1416.1+1320_daily_bin478.fits" evtable="EVENTS" scfile=/scratch/kocevski/280698/ft2_4FGL_J1416.1+1320_daily_bin478.fits sctable="SC_DATA" outfile=/scratch/kocevski/280698/ltcube_363225601_363484801_4FGL_J1416.1+1320_daily_bin478.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/280698/ft2_4FGL_J1416.1+1320_daily_bin478.fits
.....................!
real 12.18
user 11.77
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/280698/ft1_filtered_4FGL_J1416.1+1320_daily_bin478.fits evtable="EVENTS" scfile=/scratch/kocevski/280698/ft2_4FGL_J1416.1+1320_daily_bin478.fits sctable="SC_DATA" expcube=/scratch/kocevski/280698/ltcube_363225601_363484801_4FGL_J1416.1+1320_daily_bin478.fits outfile=/scratch/kocevski/280698/expmap_363225601_363484801_4FGL_J1416.1+1320_daily_bin478.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/280698/ltcube_363225601_363484801_4FGL_J1416.1+1320_daily_bin478.fits
.....................!
real 190.27
user 185.27
sys 4.32

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/280698/ft1_filtered_4FGL_J1416.1+1320_daily_bin478.fits scfile=/scratch/kocevski/280698/ft2_4FGL_J1416.1+1320_daily_bin478.fits outfile=/scratch/kocevski/280698/cmap_363225601_363484801_4FGL_J1416.1+1320_daily_bin478.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.57
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/280698/ft1_filtered_4FGL_J1416.1+1320_daily_bin478.fits scfile=/scratch/kocevski/280698/ft2_4FGL_J1416.1+1320_daily_bin478.fits outfile=/scratch/kocevski/280698/cmap_HighResolution_363225601_363484801_4FGL_J1416.1+1320_daily_bin478.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.66
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.714       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    73.572       1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.572       1.0000         .10000E-03   10000.    
     6 'Prefactor '    51.300       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.1297       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10085E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10371E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10505E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    17.545       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    4.1367       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .12196E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    18.761       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10670E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    41.847       1.0000         .10000E-03   10000.    
    18 'Prefactor '    17.174       1.0000         .10000E-03   10000.    
    19 'Prefactor '    25.342       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .23893E-02   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0580       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .61843       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=   2875.709     FROM MIGRAD    STATUS=CONVERGED    476 CALLS     2352 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    40.312       -.39207E-06** at limit **
   2  Prefactor     12.715        8.3664        .26832E-06    .35668E-04
   3  Prefactor     .10000E-03    6.6354       -.37201E-06** at limit **
   4  Prefactor     73.598        33.661        .31278E-06   -.63420E-05
   5  Prefactor     11.570        12.755        .48033E-06    .54414E-05
   6  Prefactor     51.308        49.683        .56690E-06    .12662E-04
   7  Prefactor     8.2666        62.941        .39108E-05    .32563E-04
   8  Prefactor     .10000E-03    10.403       -.38089E-07** at limit **
   9  norm          .10000E-03    25.728       -.37162E-06** at limit **
  10  Prefactor     .10000E-03    8.3053        .19393E-05** at limit **
  11  norm          17.547        5.8559        .68223E-07   -.56697E-04
  12  Prefactor     .10000E-03    3.6073        .44125E-06** at limit **
  13  norm          4.1375        3.6926        .18742E-06    .37556E-04
  14  Prefactor     .10000E-03    44.512       -.19211E-05** at limit **
  15  norm          18.786        24.994       -.46282E-07   -.15824E-04
  16  Prefactor     .10000E-03    33.996        .82926E-06** at limit **
  17  Prefactor     41.836        41.042        .52340E-06    .72696E-05
  18  Prefactor     17.166        24.017        .94792E-06    .13236E-03
  19  Prefactor     25.287        36.679        .30869E-05    .12040E-03
  20  Prefactor     .10001E-03    236.91        .89051E-05** at limit **
  21  Normalizat    1.0575        .34762       -.93185E-05    .12616E-03
  22  Prefactor     .61864        .22859        .77818E-05   -.14486E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 12.7154
  Prefactor  = 0.0001
  Prefactor  = 73.5981
  Prefactor  = 11.5704
  Prefactor  = 51.3077
  Prefactor  = 8.26663
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 17.5465
  Prefactor  = 0.0001
  norm       = 4.13753
  Prefactor  = 0.000100001
  norm       = 18.786
  Prefactor  = 0.0001
  Prefactor  = 41.836
  Prefactor  = 17.1658
  Prefactor  = 25.2872
  Prefactor  = 0.00010001
  Normalizat = 1.05754
  Prefactor  = 0.61864
 **********
 **   18 **HESSE 
 **********

 FCN=   2875.709     FROM HESSE     STATUS=OK           342 CALLS     2694 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    40.347        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.715        8.3720        .11234E-03   -1.4995    
   3  Prefactor     .10000E-03    6.6935        .13489E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     73.598        33.684        .46808E-04   -1.3990    
   5  Prefactor     11.570        12.761        .11776E-03   -1.5028    
   6  Prefactor     51.308        49.718        .55994E-04   -1.4274    
   7  Prefactor     8.2666        63.455        .14061E-03   -1.5133    
   8  Prefactor     .10000E-03    10.406        .16895E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    25.834        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    8.5245        .15236E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          17.547        5.8577        .72600E-04   -1.4870    
  12  Prefactor     .10000E-03    3.6273        .99588E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.1375        3.6905        .93267E-04   -1.5301    
  14  Prefactor     .10000E-03    44.738        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          18.786        24.981        .92470E-04   -1.4841    
  16  Prefactor     .10000E-03    34.148        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     41.836        41.048        .61969E-04   -1.4413    
  18  Prefactor     17.166        24.027        .96645E-04   -1.4879    
  19  Prefactor     25.287        36.632        .79574E-04   -1.4702    
  20  Prefactor     .10001E-03    243.30        .40125E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0575        .35796        .26001E-03   -.91127    
  22  Prefactor     .61864        .23418        .23473E-03   -1.0681    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.75368e-10
Minuit parameter uncertainties:
  1  0.000135227
  2  8.37274
  3  1.69899e-05
  4  33.6927
  5  12.7636
  6  49.7583
  7  45.8739
  8  5.67329e-07
  9  5.84745e-05
  10  0.000126867
  11  5.8579
  12  2.11266e-05
  13  3.69071
  14  0.000302898
  15  24.9949
  16  0.000132053
  17  41.076
  18  24.0403
  19  36.6641
  20  0.00307229
  21  0.358777
  22  0.234549
Done.

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

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  8.267e+00  4.587e+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.186e-01  2.345e-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.058e+00  3.588e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/280698/likelihoodResults_363225601_363484801_4FGL_J1416.1+1320_daily_bin478.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): 102
logL (Free Index) = 2874.18626756
delta logL = 1.52246837394

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2874.09803868
delta logL = 1.61069725227

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25216       1.0000         .10000E-03   10000.    
     2 'Index     '    5.6974       1.0000          .0000       10.000    
     3 'Normalizat'    .88138       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69953       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=   2874.098     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      266 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .24905        3.6960        .39866E-02    .38608E-03
   2  Index         5.7039        3.2772        .80309E-01    .78714E-04
   3  Normalizat    .88160        .94657E-01    .44663E-01   -.31410E-03
   4  Prefactor     .69964        .67037E-01    .42395E-01   -.50285E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.249052
  Index      = 5.7039
  Normalizat = 0.881603
  Prefactor  = 0.699639
 **********
 **   18 **HESSE 
 **********

 FCN=   2874.098     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      295 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .24905        5.9788        .17854E-04   -1.5608    
   2  Index         5.7039        4.1318        .33576E-02    .14125    
   3  Normalizat    .88160        .30190        .28114E-03   -.97110    
   4  Prefactor     .69964        .21062        .22171E-03   -1.0354    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.495e-10
Minuit parameter uncertainties:
  1  2.44029
  2  4.88846
  3  0.302477
  4  0.21086
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/280698': 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): 102
logL (Free Index) = 2874.09803318
delta logL = 1.61070275874

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  2.491e-01  2.440e+00  1.000e-04  1.000e+04 ( 1.000e-13)
243        Index:  5.704e+00  4.888e+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.996e-01  2.109e-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:  8.816e-01  3.025e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.56
Ra Dec: 214.029 13.347
Photon Index (Free Index): 5.70 +/- 4.89
Photon Flux (Free Index): 1.39e-07 +/- 9.72e-08
Energy Flux (Free Index): 1.76e-05 +/- 1.41e-05

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/280698/cmap_HighResolution_363225601_363484801_4FGL_J1416.1+1320_daily_bin478.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.23e-02', comment='SUCCESS', energy_flux2='1.76e-05', dlogl='1.61e+00', photon_flux2='1.39e-07', job_status='DONE', time_completed='2021-09-09 06:20:57.610048', photon_index_error2='4.89', photon_index2='5.70', ts='0.04', fit_tolerance='1e-08', GAL='0.62', photon_index_error='0.00', photon_flux_upper_limit='1.59e-07', energy_flux_error2='1.41e-05', EG='1.06', time_epoch_completed='1631193657.61', return_code='0', job_id='280698', GAL2='0.70', EG2='0.88', return_code2='102', photon_flux_error2='9.72e-08', ts2='3.56', photon_index='2.37' WHERE bin_id='478' AND source_name='4FGL J1416.1+1320' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 06:20:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0124>
Subject: Job 280698: <4FGL_J1416.1+1320_daily_bin478> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1416.1+1320_daily_bin478 214.029 13.347 363225601 363484801 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 :                                   442.11 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             304.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   540 sec.
    Turnaround time :                            542 sec.

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

