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


Performing analysis on: 4FGL_J1416.1+1320_daily_bin686
RA = 214.029, Dec = 13.347
tmin = 417139201, tmax = 417398401
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='282207', job_status='RUN', time_executed='2021-09-09 06:19:09.053784', time_epoch_executed='1631193549.05' WHERE source_name='4FGL J1416.1+1320' and cadence='daily' and bin_id='686'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/282207

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/282207/ft1_4FGL_J1416.1+1320_daily_bin686.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/282207/ft2_4FGL_J1416.1+1320_daily_bin686.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/282207/ft1_4FGL_J1416.1+1320_daily_bin686.fits outfile=/scratch/kocevski/282207/ft1_filteredMKT_4FGL_J1416.1+1320_daily_bin686.fits ra=214.029 dec=13.347 rad=12.0 tmin=417139201.0 tmax=417398401.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.86
user 5.20
sys 0.25

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/282207/ft1_filtered_4FGL_J1416.1+1320_daily_bin686.fits evtable="EVENTS" scfile=/scratch/kocevski/282207/ft2_4FGL_J1416.1+1320_daily_bin686.fits sctable="SC_DATA" expcube=/scratch/kocevski/282207/ltcube_417139201_417398401_4FGL_J1416.1+1320_daily_bin686.fits outfile=/scratch/kocevski/282207/expmap_417139201_417398401_4FGL_J1416.1+1320_daily_bin686.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/282207/ltcube_417139201_417398401_4FGL_J1416.1+1320_daily_bin686.fits
.....................!
real 196.98
user 185.67
sys 4.64

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/282207/ft1_filtered_4FGL_J1416.1+1320_daily_bin686.fits scfile=/scratch/kocevski/282207/ft2_4FGL_J1416.1+1320_daily_bin686.fits outfile=/scratch/kocevski/282207/cmap_417139201_417398401_4FGL_J1416.1+1320_daily_bin686.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 4.30
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/282207/ft1_filtered_4FGL_J1416.1+1320_daily_bin686.fits scfile=/scratch/kocevski/282207/ft2_4FGL_J1416.1+1320_daily_bin686.fits outfile=/scratch/kocevski/282207/cmap_HighResolution_417139201_417398401_4FGL_J1416.1+1320_daily_bin686.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 3.12
user 0.39
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11840E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .68737E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.771       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    33.737       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    7.2147       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11194E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    9.0378       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .14734       1.0000         .10000E-03   10000.    
    13 'norm      '    .10075E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    36.253       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.2453       1.0000         .10000E-03   10000.    
    19 'Prefactor '    22.067       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .93519       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0183       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=   7138.280     FROM MIGRAD    STATUS=CONVERGED    472 CALLS     2369 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    81.615        .12500E-04** at limit **
   2  Prefactor     .10000E-03    3.4156       -.13996E-07** at limit **
   3  Prefactor     .68880E-01    3.2019       -.11567E-05    .46437E-04
   4  Prefactor     .10000E-03    4.5446        .16273E-06** at limit **
   5  Prefactor     14.770        14.768       -.91906E-06    .13231E-03
   6  Prefactor     .10000E-03    27.422        .42234E-05** at limit **
   7  Prefactor     33.741        35.008        .10327E-04    .42943E-03
   8  Prefactor     .10000E-03    18.167       -.10111E-04** at limit **
   9  norm          7.2159        16.142       -.19463E-05   -.12408E-05
  10  Prefactor     .10000E-03    12.611       -.34671E-05** at limit **
  11  norm          9.0376        3.0899       -.59981E-08    .30037E-03
  12  Prefactor     .11851        7.1220       -.51620E-05    .98337E-03
  13  norm          .10000E-03    2.5423        .18459E-07** at limit **
  14  Prefactor     36.247        26.383       -.49507E-05    .41573E-04
  15  norm          .10000E-03    6.6926        .20702E-06** at limit **
  16  Prefactor     .10000E-03    15.658        .10365E-04** at limit **
  17  Prefactor     .10000E-03    7.3478        .43532E-06** at limit **
  18  Prefactor     9.2450        16.514        .56181E-06    .10896E-03
  19  Prefactor     22.061        21.140       -.72995E-06    .79475E-04
  20  Prefactor     .10000E-03    17.033       -.73624E-06** at limit **
  21  Normalizat    .93526        .20004        .17013E-05    .10186E-02
  22  Prefactor     1.0183        .13821        .42715E-06    .12841E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.06888
  Prefactor  = 0.0001
  Prefactor  = 14.7697
  Prefactor  = 0.0001
  Prefactor  = 33.7412
  Prefactor  = 0.0001
  norm       = 7.2159
  Prefactor  = 0.0001
  norm       = 9.0376
  Prefactor  = 0.11851
  norm       = 0.0001
  Prefactor  = 36.2468
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.24502
  Prefactor  = 22.0611
  Prefactor  = 0.0001
  Normalizat = 0.935263
  Prefactor  = 1.01828
 **********
 **   18 **HESSE 
 **********

 FCN=   7138.280     FROM HESSE     STATUS=OK           350 CALLS     2719 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    82.050        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.4632        .15241E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .68880E-01    3.1827        .51169E-01   -1.5656    
   4  Prefactor     .10000E-03    4.5488        .17589E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     14.770        14.810        .10421E-03   -1.4939    
   6  Prefactor     .10000E-03    27.512        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     33.741        35.451        .68990E-04   -1.4546    
   8  Prefactor     .10000E-03    18.135        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          7.2159        16.151        .14933E-03   -1.5171    
  10  Prefactor     .10000E-03    12.847        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          9.0376        3.0906        .84397E-04   -1.5107    
  12  Prefactor     .11851        9.6452        .53321E-01   -1.5639    
  13  norm          .10000E-03    2.6494        .26241E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     36.247        26.396        .66561E-04   -1.4503    
  15  norm          .10000E-03    6.7020        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    15.547        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    7.3816        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     9.2450        16.467        .13181E-03   -1.5100    
  19  Prefactor     22.061        21.104        .85267E-04   -1.4768    
  20  Prefactor     .10000E-03    17.062        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .93526        .24599        .29864E-03   -.95232    
  22  Prefactor     1.0183        .16891        .20531E-03   -.92122    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.12259e-09
Minuit parameter uncertainties:
  1  0.000191609
  2  1.19847e-05
  3  0.935802
  4  6.56334e-06
  5  14.8132
  6  4.96012e-05
  7  35.4729
  8  8.75278e-06
  9  16.1607
  10  4.49313e-05
  11  3.09068
  12  2.13773
  13  5.5687e-06
  14  26.4048
  15  3.24557e-05
  16  1.64016e-05
  17  3.30305e-06
  18  16.4755
  19  21.1114
  20  9.84169e-06
  21  0.246284
  22  0.168999
Done.

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

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  3.374e+01  3.547e+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.018e+00  1.690e-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.353e-01  2.463e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.24
Ra Dec: 214.029 13.347
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 4.41e-08 +/- 4.63e-08
Energy Flux (Fixed Index): 1.50e-05 +/- 1.58e-05

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

Saving results to:
/scratch/kocevski/282207/likelihoodResults_417139201_417398401_4FGL_J1416.1+1320_daily_bin686.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) = 7138.22945341
delta logL = 0.0501177104861

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7138.21760093
delta logL = 0.061970197803

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    28.642       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6185       1.0000          .0000       10.000    
     3 'Normalizat'    .92188       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0246       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=   7138.218     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      282 TOTAL
                     EDM=   .42E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     28.648        37.471        .74860E-04   -.80489E-05
   2  Index         2.6187        .78141        .85862E-02   -.29308E-04
   3  Normalizat    .92188        .23824        .30059E-03   -.12247E-03
   4  Prefactor     1.0245        .16882        .20476E-03   -.17244E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 28.648
  Index      = 2.61869
  Normalizat = 0.921877
  Prefactor  = 1.02454
 **********
 **   18 **HESSE 
 **********

 FCN=   7138.218     FROM HESSE     STATUS=OK            25 CALLS      307 TOTAL
                     EDM=   .68E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     28.648        35.011        .29944E-05   -1.4637    
   2  Index         2.6187        .72934        .34345E-03   -.49640    
   3  Normalizat    .92188        .23825        .12024E-04   -.95696    
   4  Prefactor     1.0245        .16874        .40951E-04   -.91916    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.82908e-11
Minuit parameter uncertainties:
  1  35.0366
  2  0.732732
  3  0.238518
  4  0.168823
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/282207': 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) = 7138.21760075
delta logL = 0.0619703739239

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  2.865e+01  3.504e+01  1.000e-04  1.000e+04 ( 1.000e-13)
243        Index:  2.619e+00  7.327e-01  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.025e+00  1.688e-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.219e-01  2.385e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.39
Ra Dec: 214.029 13.347
Photon Index (Free Index): 2.62 +/- 0.73
Photon Flux (Free Index): 5.43e-08 +/- 5.78e-08
Energy Flux (Free Index): 1.40e-05 +/- 1.41e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/282207/cmap_HighResolution_417139201_417398401_4FGL_J1416.1+1320_daily_bin686.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.06e-02', comment='SUCCESS', photon_flux='4.41e-08', energy_flux2='1.40e-05', photon_flux_error='4.63e-08', dlogl='6.20e-02', energy_flux='1.50e-05', photon_flux2='5.43e-08', job_status='DONE', time_completed='2021-09-09 06:30:08.501533', photon_index_error2='0.73', photon_index2='2.62', ts='1.24', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='1.37e-07', energy_flux_error2='1.41e-05', EG='0.94', time_epoch_completed='1631194208.5', return_code='0', job_id='282207', GAL2='1.02', EG2='0.92', return_code2='0', energy_flux_error='1.58e-05', photon_flux_error2='5.78e-08', ts2='1.39', photon_index='2.37' WHERE bin_id='686' AND source_name='4FGL J1416.1+1320' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 06:30:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0148>
Subject: Job 282207: <4FGL_J1416.1+1320_daily_bin686> in cluster <slac> Done

Job <4FGL_J1416.1+1320_daily_bin686> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Sep  9 06:17:07 2021
Job was executed on host(s) <bullet0148>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 06:17:09 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:17:09 2021
Terminated at Thu Sep  9 06:30:09 2021
Results reported at Thu Sep  9 06:30:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1416.1+1320_daily_bin686 214.029 13.347 417139201 417398401 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 :                                   594.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             243.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   780 sec.
    Turnaround time :                            782 sec.

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

