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


Performing analysis on: 4FGL_J1416.1+1320_daily_bin1252
RA = 214.029, Dec = 13.347
tmin = 563846401, tmax = 564105601
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='285353', job_status='RUN', time_executed='2021-09-09 06:28:22.843017', time_epoch_executed='1631194102.84' WHERE source_name='4FGL J1416.1+1320' and cadence='daily' and bin_id='1252'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/285353

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/285353/ft1_4FGL_J1416.1+1320_daily_bin1252.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/285353/ft2_4FGL_J1416.1+1320_daily_bin1252.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/285353/ft1_4FGL_J1416.1+1320_daily_bin1252.fits outfile=/scratch/kocevski/285353/ft1_filteredMKT_4FGL_J1416.1+1320_daily_bin1252.fits ra=214.029 dec=13.347 rad=12.0 tmin=563846401.0 tmax=564105601.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.88
user 2.60
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/285353/ft1_filtered_4FGL_J1416.1+1320_daily_bin1252.fits evtable="EVENTS" scfile=/scratch/kocevski/285353/ft2_4FGL_J1416.1+1320_daily_bin1252.fits sctable="SC_DATA" expcube=/scratch/kocevski/285353/ltcube_563846401_564105601_4FGL_J1416.1+1320_daily_bin1252.fits outfile=/scratch/kocevski/285353/expmap_563846401_564105601_4FGL_J1416.1+1320_daily_bin1252.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/285353/ltcube_563846401_564105601_4FGL_J1416.1+1320_daily_bin1252.fits
.....................!
real 196.58
user 186.94
sys 5.67

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/285353/ft1_filtered_4FGL_J1416.1+1320_daily_bin1252.fits scfile=/scratch/kocevski/285353/ft2_4FGL_J1416.1+1320_daily_bin1252.fits outfile=/scratch/kocevski/285353/cmap_563846401_564105601_4FGL_J1416.1+1320_daily_bin1252.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.56
user 0.36
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.088       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.6064       1.0000         .10000E-03   10000.    
     4 'Prefactor '    24.755       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    32.660       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.7985       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.168       1.0000         .10000E-03   10000.    
    11 'norm      '    3.2388       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .47477       1.0000         .10000E-03   10000.    
    13 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10067E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.419       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10774E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10402E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    63.834       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2141       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .69933       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=   5809.230     FROM MIGRAD    STATUS=CONVERGED    461 CALLS     2326 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.098        56.449        .14231E-04    .68162E-05
   2  Prefactor     .10000E-03    1.3827       -.15218E-07** at limit **
   3  Prefactor     2.6059        3.1214       -.19756E-06   -.53051E-04
   4  Prefactor     24.751        14.798        .17871E-07    .71237E-04
   5  Prefactor     .10000E-03    15.368        .12896E-04** at limit **
   6  Prefactor     32.656        31.123       -.46876E-05    .21537E-04
   7  Prefactor     1.7639        118.03       -.13224E-03   -.10612E-04
   8  Prefactor     .10000E-03    18.275       -.54426E-05** at limit **
   9  norm          .10000E-03    18.827       -.73133E-05** at limit **
  10  Prefactor     14.188        9.8280        .39353E-05    .85375E-03
  11  norm          3.2386        1.8134       -.58884E-07    .51259E-04
  12  Prefactor     .43642        4.9528       -.14187E-07   -.16721E-03
  13  norm          .10000E-03    1.3560       -.12666E-06** at limit **
  14  Prefactor     .10000E-03    20.500       -.87907E-05** at limit **
  15  norm          .10000E-03    8.9988        .35947E-06** at limit **
  16  Prefactor     12.427        23.893        .94235E-05   -.92134E-04
  17  Prefactor     .10000E-03    43.761       -.15322E-04** at limit **
  18  Prefactor     .10000E-03    10.836       -.23773E-05** at limit **
  19  Prefactor     .10000E-03    34.058        .26428E-04** at limit **
  20  Prefactor     63.836        52.883        .12239E-05   -.89545E-04
  21  Normalizat    1.2144        .20462        .41574E-06    .31606E-03
  22  Prefactor     .69929        .14225        .14793E-05    .30072E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.0982
  Prefactor  = 0.0001
  Prefactor  = 2.60593
  Prefactor  = 24.7512
  Prefactor  = 0.0001
  Prefactor  = 32.6561
  Prefactor  = 1.76387
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 14.1877
  norm       = 3.23861
  Prefactor  = 0.436423
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 12.4273
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 63.8356
  Normalizat = 1.21444
  Prefactor  = 0.699285
 **********
 **   18 **HESSE 
 **********

 FCN=   5809.230     FROM HESSE     STATUS=OK           336 CALLS     2662 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.098        56.448        .70736E-04   -1.4574    
   2  Prefactor     .10000E-03    1.3869        .87516E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.6059        3.1136        .14298E-03   -1.5385    
   4  Prefactor     24.751        14.820        .80511E-04   -1.4713    
   5  Prefactor     .10000E-03    15.770        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     32.656        31.127        .70115E-04   -1.4564    
   7  Prefactor     1.7639        120.85        .31175E-03   -1.5442    
   8  Prefactor     .10000E-03    18.322        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    18.842        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     14.188        10.050        .10641E-03   -1.4954    
  11  norm          3.2386        1.8149        .74685E-04   -1.5348    
  12  Prefactor     .43642        42.133        .28882E-02   -1.5576    
  13  norm          .10000E-03    1.3842        .86562E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    20.512        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    9.0047        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     12.427        23.809        .11367E-03   -1.5003    
  17  Prefactor     .10000E-03    44.035        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    10.871        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    33.945        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     63.836        52.850        .50227E-04   -1.4108    
  21  Normalizat    1.2144        .24866        .25182E-03   -.86158    
  22  Prefactor     .69929        .17137        .23019E-03   -1.0355    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57887e-09
Minuit parameter uncertainties:
  1  56.5416
  2  1.93808e-06
  3  3.11376
  4  14.8217
  5  0.000169862
  6  31.1423
  7  29.2609
  8  3.52237e-05
  9  7.39963e-06
  10  10.0509
  11  1.81495
  12  8.58146
  13  1.43417e-05
  14  5.23328e-07
  15  2.45533e-07
  16  23.8272
  17  1.70839e-05
  18  8.44425e-05
  19  0.000509552
  20  52.8893
  21  0.248907
  22  0.171504
Done.

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

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  1.764e+00  2.926e+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.993e-01  1.715e-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.214e+00  2.489e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/285353/likelihoodResults_563846401_564105601_4FGL_J1416.1+1320_daily_bin1252.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) = 5809.22957337
delta logL = 0.000724024961528

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5809.22931091
delta logL = 0.000986489225397

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9000       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5059       1.0000          .0000       10.000    
     3 'Normalizat'    1.2140       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69938       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5809.229     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      286 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9183        99.172        .30174E-03   -.10813E-03
   2  Index         2.5092        2.9109        .15366E-01   -.85638E-04
   3  Normalizat    1.2139        .23717        .25187E-03    .64502E-04
   4  Prefactor     .69936        .16955        .23018E-03   -.12145E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.9183
  Index      = 2.50921
  Normalizat = 1.2139
  Prefactor  = 0.699361
 **********
 **   18 **HESSE 
 **********

 FCN=   5809.229     FROM HESSE     STATUS=OK            23 CALLS      309 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9183        87.893        .12070E-04   -1.5431    
   2  Index         2.5092        2.7726        .61465E-03   -.52147    
   3  Normalizat    1.2139        .23749        .10075E-04   -.86174    
   4  Prefactor     .69936        .16970        .92071E-05   -1.0355    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.71125e-09
Minuit parameter uncertainties:
  1  26.0096
  2  3.00828
  3  0.237701
  4  0.169829
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/285353': 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) = 5809.22930943
delta logL = 0.000987962568615

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  1.918e+00  2.601e+01  1.000e-04  1.000e+04 ( 1.000e-13)
243        Index:  2.509e+00  3.008e+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.994e-01  1.698e-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.214e+00  2.377e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
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/285353/cmap_HighResolution_563846401_564105601_4FGL_J1416.1+1320_daily_bin1252.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.84e-03', job_status='DONE', photon_flux_upper_limit='1.02e-07', time_completed='2021-09-09 06:37:29.187360', job_id='285353', GAL2='0.70', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1631194649.19', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.70', dlogl='9.88e-04', ts2='0.01', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1252' AND source_name='4FGL J1416.1+1320' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 06:37:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0054>
Subject: Job 285353: <4FGL_J1416.1+1320_daily_bin1252> in cluster <slac> Done

Job <4FGL_J1416.1+1320_daily_bin1252> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep  9 06:26:57 2021
Job was executed on host(s) <bullet0054>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 06:26:59 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:26:59 2021
Terminated at Thu Sep  9 06:37:29 2021
Results reported at Thu Sep  9 06:37:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1416.1+1320_daily_bin1252 214.029 13.347 563846401 564105601 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 :                                   533.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             371.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   630 sec.
    Turnaround time :                            632 sec.

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

