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


Performing analysis on: 4FGL_J1416.1+1320_daily_bin141
RA = 214.029, Dec = 13.347
tmin = 275875201, tmax = 276134401
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='276736', job_status='RUN', time_executed='2021-09-09 06:04:28.679226', time_epoch_executed='1631192668.68' WHERE source_name='4FGL J1416.1+1320' and cadence='daily' and bin_id='141'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/276736

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

Retrieving the FT1 file...

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

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

Retrieving 42 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/276736/ft1_4FGL_J1416.1+1320_daily_bin141.fits


Retrieving the FT1 file...

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

Retrieving 42 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/276736/ft2_4FGL_J1416.1+1320_daily_bin141.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/276736/ft1_4FGL_J1416.1+1320_daily_bin141.fits outfile=/scratch/kocevski/276736/ft1_filteredMKT_4FGL_J1416.1+1320_daily_bin141.fits ra=214.029 dec=13.347 rad=12.0 tmin=275875201.0 tmax=276134401.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.03
user 2.94
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/276736/ft1_filtered_4FGL_J1416.1+1320_daily_bin141.fits" evtable="EVENTS" scfile=/scratch/kocevski/276736/ft2_4FGL_J1416.1+1320_daily_bin141.fits sctable="SC_DATA" outfile=/scratch/kocevski/276736/ltcube_275875201_276134401_4FGL_J1416.1+1320_daily_bin141.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/276736/ft2_4FGL_J1416.1+1320_daily_bin141.fits
.....................!
real 11.66
user 10.21
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/276736/ft1_filtered_4FGL_J1416.1+1320_daily_bin141.fits evtable="EVENTS" scfile=/scratch/kocevski/276736/ft2_4FGL_J1416.1+1320_daily_bin141.fits sctable="SC_DATA" expcube=/scratch/kocevski/276736/ltcube_275875201_276134401_4FGL_J1416.1+1320_daily_bin141.fits outfile=/scratch/kocevski/276736/expmap_275875201_276134401_4FGL_J1416.1+1320_daily_bin141.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/276736/ltcube_275875201_276134401_4FGL_J1416.1+1320_daily_bin141.fits
.....................!
real 198.05
user 185.10
sys 4.93

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/276736/ft1_filtered_4FGL_J1416.1+1320_daily_bin141.fits scfile=/scratch/kocevski/276736/ft2_4FGL_J1416.1+1320_daily_bin141.fits outfile=/scratch/kocevski/276736/cmap_275875201_276134401_4FGL_J1416.1+1320_daily_bin141.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.89
user 0.39
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    57.770       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.8231       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.2577       1.0000         .10000E-03   10000.    
     5 'Prefactor '    42.212       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    17.934       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10329E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    14.087       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.5723       1.0000         .10000E-03   10000.    
    11 'norm      '    4.6499       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.0422       1.0000         .10000E-03   10000.    
    13 'norm      '    2.9663       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    35.782       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10578E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .18447       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0390       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .86727       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=   5079.697     FROM MIGRAD    STATUS=CONVERGED    496 CALLS     2442 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     57.781        92.463        .35521E-05    .10051E-03
   2  Prefactor     3.8253        6.2547        .91338E-06    .84826E-04
   3  Prefactor     .10000E-03    2.1800        .29019E-07** at limit **
   4  Prefactor     3.2592        8.8793        .73642E-05   -.70777E-03
   5  Prefactor     42.214        16.128        .59563E-06    .33405E-03
   6  Prefactor     .10000E-03    8.6133        .81479E-07** at limit **
   7  Prefactor     17.938        27.322        .30786E-05    .25434E-03
   8  Prefactor     .10000E-03    33.640        .16105E-05** at limit **
   9  norm          14.088        22.672        .36017E-05    .32516E-03
  10  Prefactor     7.5740        6.9271       -.59314E-07   -.78678E-05
  11  norm          4.6503        2.7093        .37786E-07   -.41887E-04
  12  Prefactor     2.0406        7.7318        .39712E-07   -.32326E-03
  13  norm          2.9668        2.6314        .18217E-06    .65962E-04
  14  Prefactor     .10000E-03    30.322       -.28882E-05** at limit **
  15  norm          .10000E-03    6.3010       -.54644E-07** at limit **
  16  Prefactor     35.766        28.559       -.34598E-05   -.66374E-03
  17  Prefactor     .10000E-03    18.645        .26594E-07** at limit **
  18  Prefactor     .10000E-03    4.1930       -.75865E-07** at limit **
  19  Prefactor     .10000E-03    26.596        .68524E-06** at limit **
  20  Prefactor     .66754        17.519        .12273E-05   -.10499E-03
  21  Normalizat    1.0393        .22608       -.16082E-05   -.20635E-04
  22  Prefactor     .86691        .15564       -.20972E-06   -.98041E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 57.781
  Prefactor  = 3.8253
  Prefactor  = 0.0001
  Prefactor  = 3.25922
  Prefactor  = 42.2142
  Prefactor  = 0.0001
  Prefactor  = 17.9379
  Prefactor  = 0.0001
  norm       = 14.0877
  Prefactor  = 7.57403
  norm       = 4.65027
  Prefactor  = 2.04061
  norm       = 2.96682
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 35.7665
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.667542
  Normalizat = 1.03926
  Prefactor  = 0.866908
 **********
 **   18 **HESSE 
 **********

 FCN=   5079.697     FROM HESSE     STATUS=OK           338 CALLS     2780 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     57.781        93.428        .52782E-04   -1.4186    
   2  Prefactor     3.8253        6.2636        .20642E-03   -1.5317    
   3  Prefactor     .10000E-03    2.1851        .10273E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.2592        9.4183        .11219E-02   -1.5347    
   5  Prefactor     42.214        16.282        .61701E-04   -1.4408    
   6  Prefactor     .10000E-03    8.6177        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     17.938        27.659        .94575E-04   -1.4861    
   8  Prefactor     .10000E-03    33.829        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          14.088        23.001        .10672E-03   -1.4957    
  10  Prefactor     7.5740        6.8715        .14574E-03   -1.5157    
  11  norm          4.6503        2.7104        .86939E-04   -1.5277    
  12  Prefactor     2.0406        7.7071        .28936E-03   -1.5422    
  13  norm          2.9668        2.6276        .10436E-03   -1.5363    
  14  Prefactor     .10000E-03    30.707        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    6.3087        .17473E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     35.766        29.504        .66996E-04   -1.4511    
  17  Prefactor     .10000E-03    19.143        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.1961        .14253E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    26.998        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .66754        158.32        .57827E-02   -1.5545    
  21  Normalizat    1.0393        .27240        .27053E-03   -.91727    
  22  Prefactor     .86691        .18725        .21602E-03   -.97307    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.04002e-09
Minuit parameter uncertainties:
  1  93.6663
  2  6.26471
  3  8.28605e-06
  4  9.42259
  5  16.2842
  6  6.88628e-06
  7  27.6791
  8  0.000170739
  9  23.0158
  10  6.87226
  11  2.71048
  12  7.71081
  13  2.62771
  14  0.000570398
  15  2.36019e-06
  16  29.5164
  17  2.89047e-05
  18  6.09457e-06
  19  0.000393869
  20  20.6147
  21  0.272762
  22  0.187389
Done.

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

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  1.794e+01  2.768e+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:  8.669e-01  1.874e-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.039e+00  2.728e-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: 1.15e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.83e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/276736/likelihoodResults_275875201_276134401_4FGL_J1416.1+1320_daily_bin141.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) = 5078.92667731
delta logL = 0.770771781683

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5078.76495409
delta logL = 0.932494995851

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34214E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    7.6764       1.0000          .0000       10.000    
     3 'Normalizat'    .91951       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93340       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=   5078.765     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      325 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33144E-02    .39985E-01    .69111E-03    .16391E-01
   2  Index         7.6929        2.6608        .12696        .13643E-03
   3  Normalizat    .91885        .55847E-01    .64542E-01    .38979E-04
   4  Prefactor     .93381        .41312E-01    .45429E-01    .27439E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0033144
  Index      = 7.69288
  Normalizat = 0.918853
  Prefactor  = 0.933813
 **********
 **   18 **HESSE 
 **********

 FCN=   5078.765     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      360 TOTAL
                     EDM=   .63E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33144E-02    .88136E-01    .29646E-04   -1.5697    
   2  Index         7.6929        7.7464        .50665E-02    .56875    
   3  Normalizat    .91885        .19762        .28548E-03   -.95801    
   4  Prefactor     .93381        .14339        .20900E-03   -.94969    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.2693e-11
Minuit parameter uncertainties:
  1  0.0336634
  2  4.90012
  3  0.197772
  4  0.143451
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/276736': 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) = 5078.76493822
delta logL = 0.932510864725

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  3.314e-03  3.366e-02  1.000e-04  1.000e+04 ( 1.000e-13)
243        Index:  7.693e+00  4.900e+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.338e-01  1.435e-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.189e-01  1.978e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.68
Ra Dec: 214.029 13.347
Photon Index (Free Index): 7.69 +/- 4.90
Photon Flux (Free Index): 1.02e-07 +/- 7.18e-08
Energy Flux (Free Index): 1.19e-05 +/- 8.88e-06

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/276736/cmap_HighResolution_275875201_276134401_4FGL_J1416.1+1320_daily_bin141.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.83e-03', comment='SUCCESS', energy_flux2='1.19e-05', dlogl='9.33e-01', photon_flux2='1.02e-07', job_status='DONE', time_completed='2021-09-09 06:14:08.580849', photon_index_error2='4.90', photon_index2='7.69', ts='0.60', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='1.15e-07', energy_flux_error2='8.88e-06', EG='1.04', time_epoch_completed='1631193248.58', return_code='0', job_id='276736', GAL2='0.93', EG2='0.92', return_code2='102', photon_flux_error2='7.18e-08', ts2='2.68', photon_index='2.37' WHERE bin_id='141' AND source_name='4FGL J1416.1+1320' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 06:14:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 276736: <4FGL_J1416.1+1320_daily_bin141> in cluster <slac> Done

Job <4FGL_J1416.1+1320_daily_bin141> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Sep  9 06:02:18 2021
Job was executed on host(s) <bullet0202>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 06:02:20 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 06:02:20 2021
Terminated at Thu Sep  9 06:14:09 2021
Results reported at Thu Sep  9 06:14:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1416.1+1320_daily_bin141 214.029 13.347 275875201 276134401 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 :                                   515.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             294.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   708 sec.
    Turnaround time :                            711 sec.

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

