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


Performing analysis on: 4FGL_J1416.1+1320_daily_bin514
RA = 214.029, Dec = 13.347
tmin = 372556801, tmax = 372816001
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='280751', job_status='RUN', time_executed='2021-09-09 06:13:37.288565', time_epoch_executed='1631193217.29' WHERE source_name='4FGL J1416.1+1320' and cadence='daily' and bin_id='514'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/280751

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/280751/ft1_4FGL_J1416.1+1320_daily_bin514.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/280751/ft2_4FGL_J1416.1+1320_daily_bin514.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/280751/ft1_4FGL_J1416.1+1320_daily_bin514.fits outfile=/scratch/kocevski/280751/ft1_filteredMKT_4FGL_J1416.1+1320_daily_bin514.fits ra=214.029 dec=13.347 rad=12.0 tmin=372556801.0 tmax=372816001.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.13
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/280751/ft1_filtered_4FGL_J1416.1+1320_daily_bin514.fits evtable="EVENTS" scfile=/scratch/kocevski/280751/ft2_4FGL_J1416.1+1320_daily_bin514.fits sctable="SC_DATA" expcube=/scratch/kocevski/280751/ltcube_372556801_372816001_4FGL_J1416.1+1320_daily_bin514.fits outfile=/scratch/kocevski/280751/expmap_372556801_372816001_4FGL_J1416.1+1320_daily_bin514.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/280751/ltcube_372556801_372816001_4FGL_J1416.1+1320_daily_bin514.fits
.....................!
real 195.77
user 187.62
sys 4.48

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/280751/ft1_filtered_4FGL_J1416.1+1320_daily_bin514.fits scfile=/scratch/kocevski/280751/ft2_4FGL_J1416.1+1320_daily_bin514.fits outfile=/scratch/kocevski/280751/cmap_372556801_372816001_4FGL_J1416.1+1320_daily_bin514.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.66
user 0.36
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .72094       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.5065       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.4782       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    28.188       1.0000         .10000E-03   10000.    
     6 'Prefactor '    79.520       1.0000         .10000E-03   10000.    
     7 'Prefactor '    20.805       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11175E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11987E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    4.1158       1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.537       1.0000         .10000E-03   10000.    
    13 'norm      '    .13598E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .12816E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    10.775       1.0000         .10000E-03   10000.    
    16 'Prefactor '    31.379       1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.6103       1.0000         .10000E-03   10000.    
    18 'Prefactor '    32.114       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .13021E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .79734       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2386       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=   5942.931     FROM MIGRAD    STATUS=CONVERGED    843 CALLS     2768 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .76464        48.688        .16100        .58043E-04
   2  Prefactor     6.5069        5.4962        .15640E-03    .64258E-04
   3  Prefactor     1.4779        3.3007        .20544E-03   -.34421E-04
   4  Prefactor     .10000E-03    9.8707        .18142E-02** at limit **
   5  Prefactor     28.180        14.290        .75458E-04    .35255E-04
   6  Prefactor     79.515        36.810        .45036E-04    .93653E-04
   7  Prefactor     20.804        36.601        .87812E-04   -.16960E-04
   8  Prefactor     .10000E-03    26.671        .18142E-02** at limit **
   9  norm          .10000E-03    13.822        .18142E-02** at limit **
  10  Prefactor     .10000E-03    13.860        .18142E-02** at limit **
  11  norm          4.1156        2.6174        .96623E-04   -.55653E-04
  12  Prefactor     12.536        8.3520        .11313E-03   -.18711E-03
  13  norm          .10005E-03    12.288        .16830E-02** at limit **
  14  Prefactor     .10000E-03    82.033        .18142E-02** at limit **
  15  norm          10.819        18.413        .12206E-03   -.48434E-04
  16  Prefactor     31.380        26.291        .71529E-04   -.54198E-04
  17  Prefactor     9.6160        22.719        .12927E-03   -.43973E-05
  18  Prefactor     32.122        18.221        .70708E-04    .32157E-05
  19  Prefactor     .10000E-03    15.229        .18142E-02** at limit **
  20  Prefactor     .10000E-03    44.019        .18142E-02** at limit **
  21  Normalizat    .79726        .28152        .33622E-03   -.10601E-03
  22  Prefactor     1.2388        .20421        .20921E-03    .13564E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.764639
  Prefactor  = 6.50687
  Prefactor  = 1.47788
  Prefactor  = 0.0001
  Prefactor  = 28.1796
  Prefactor  = 79.5152
  Prefactor  = 20.8045
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.11564
  Prefactor  = 12.5362
  norm       = 0.000100054
  Prefactor  = 0.0001
  norm       = 10.819
  Prefactor  = 31.3799
  Prefactor  = 9.61603
  Prefactor  = 32.1217
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.79726
  Prefactor  = 1.23879
 **********
 **   18 **HESSE 
 **********

 FCN=   5942.931     FROM HESSE     STATUS=OK           330 CALLS     3098 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .76464        47.972        .16295       -1.5533    
   2  Prefactor     6.5069        5.4960        .62559E-05   -1.5198    
   3  Prefactor     1.4779        3.3005        .82175E-05   -1.5465    
   4  Prefactor     .10000E-03    9.8726        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     28.180        14.290        .30183E-05   -1.4646    
   6  Prefactor     79.515        36.810        .90073E-05   -1.3922    
   7  Prefactor     20.804        36.611        .35125E-05   -1.4795    
   8  Prefactor     .10000E-03    26.676        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    13.822        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    13.869        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.1156        2.6174        .38649E-05   -1.5302    
  12  Prefactor     12.536        8.3510        .45253E-05   -1.5000    
  13  norm          .10005E-03    12.576        .33660E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    82.037        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          10.819        18.408        .48823E-05   -1.5050    
  16  Prefactor     31.380        26.292        .28612E-05   -1.4587    
  17  Prefactor     9.6160        22.718        .51707E-05   -1.5088    
  18  Prefactor     32.122        18.221        .28283E-05   -1.4574    
  19  Prefactor     .10000E-03    15.231        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    44.026        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .79726        .28177        .13449E-04   -1.0017    
  22  Prefactor     1.2388        .20440        .41841E-04   -.85146    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.55349e-09
Minuit parameter uncertainties:
  1  12.1224
  2  5.49646
  3  3.30095
  4  9.26803e-05
  5  14.2916
  6  36.8204
  7  36.6508
  8  1.04388e-05
  9  3.65255e-05
  10  1.38734e-05
  11  2.61747
  12  8.35174
  13  0.00164233
  14  0.000293814
  15  18.4176
  16  26.302
  17  22.7385
  18  18.2241
  19  9.08861e-05
  20  1.19818e-05
  21  0.282292
  22  0.204532
Done.

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

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  2.080e+01  3.665e+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:  1.239e+00  2.045e-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:  7.973e-01  2.823e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/280751/likelihoodResults_372556801_372816001_4FGL_J1416.1+1320_daily_bin514.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) = 5942.48323359
delta logL = 0.447444043981

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5942.46588395
delta logL = 0.464793691045

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.694       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3433       1.0000          .0000       10.000    
     3 'Normalizat'    .74770       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2597       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=   5942.466     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      286 TOTAL
                     EDM=   .66E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.696        32.771        .12252E-03   -.12295E-03
   2  Index         3.3431        1.6674        .67679E-02   -.21110E-04
   3  Normalizat    .74767        .27143        .34621E-03   -.32443E-04
   4  Prefactor     1.2597        .20315        .20762E-03    .46488E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.6963
  Index      = 3.34315
  Normalizat = 0.747675
  Prefactor  = 1.25971
 **********
 **   18 **HESSE 
 **********

 FCN=   5942.466     FROM HESSE     STATUS=OK            25 CALLS      311 TOTAL
                     EDM=   .48E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.696        21.588        .49007E-05   -1.5054    
   2  Index         3.3431        1.1093        .27072E-03   -.33776    
   3  Normalizat    .74767        .27130        .13848E-04   -1.0204    
   4  Prefactor     1.2597        .20268        .41525E-04   -.84513    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.83199e-11
Minuit parameter uncertainties:
  1  21.604
  2  1.11977
  3  0.271788
  4  0.20281
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/280751': 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) = 5942.46588394
delta logL = 0.46479370157

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  1.070e+01  2.160e+01  1.000e-04  1.000e+04 ( 1.000e-13)
243        Index:  3.343e+00  1.120e+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:  1.260e+00  2.028e-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:  7.477e-01  2.718e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.47
Ra Dec: 214.029 13.347
Photon Index (Free Index): 3.34 +/- 1.12
Photon Flux (Free Index): 6.84e-08 +/- 6.83e-08
Energy Flux (Free Index): 1.19e-05 +/- 1.18e-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/280751/cmap_HighResolution_372556801_372816001_4FGL_J1416.1+1320_daily_bin514.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.03e-02', comment='SUCCESS', energy_flux2='1.19e-05', dlogl='4.65e-01', photon_flux2='6.84e-08', job_status='DONE', time_completed='2021-09-09 06:23:25.691978', photon_index_error2='1.12', photon_index2='3.34', ts='0.41', fit_tolerance='1e-08', GAL='1.24', photon_index_error='0.00', photon_flux_upper_limit='1.33e-07', energy_flux_error2='1.18e-05', EG='0.80', time_epoch_completed='1631193805.69', return_code='0', job_id='280751', GAL2='1.26', EG2='0.75', return_code2='0', photon_flux_error2='6.83e-08', ts2='1.47', photon_index='2.37' WHERE bin_id='514' AND source_name='4FGL J1416.1+1320' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 06:23:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 280751: <4FGL_J1416.1+1320_daily_bin514> in cluster <slac> Done

Job <4FGL_J1416.1+1320_daily_bin514> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Thu Sep  9 06:12:00 2021
Job was executed on host(s) <bullet0242>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 06:12:02 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 06:12:02 2021
Terminated at Thu Sep  9 06:23:27 2021
Results reported at Thu Sep  9 06:23:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1416.1+1320_daily_bin514 214.029 13.347 372556801 372816001 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 :                                   572.37 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             340.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   684 sec.
    Turnaround time :                            687 sec.

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

