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


Performing analysis on: 4FGL_J1416.1+1320_daily_bin465
RA = 214.029, Dec = 13.347
tmin = 359856001, tmax = 360115201
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='280680', job_status='RUN', time_executed='2021-09-09 06:13:03.899288', time_epoch_executed='1631193183.9' WHERE source_name='4FGL J1416.1+1320' and cadence='daily' and bin_id='465'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/280680

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/280680/ft1_4FGL_J1416.1+1320_daily_bin465.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/280680/ft2_4FGL_J1416.1+1320_daily_bin465.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/280680/ft1_4FGL_J1416.1+1320_daily_bin465.fits outfile=/scratch/kocevski/280680/ft1_filteredMKT_4FGL_J1416.1+1320_daily_bin465.fits ra=214.029 dec=13.347 rad=12.0 tmin=359856001.0 tmax=360115201.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 4.43
user 3.03
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/280680/ft1_filtered_4FGL_J1416.1+1320_daily_bin465.fits evtable="EVENTS" scfile=/scratch/kocevski/280680/ft2_4FGL_J1416.1+1320_daily_bin465.fits sctable="SC_DATA" expcube=/scratch/kocevski/280680/ltcube_359856001_360115201_4FGL_J1416.1+1320_daily_bin465.fits outfile=/scratch/kocevski/280680/expmap_359856001_360115201_4FGL_J1416.1+1320_daily_bin465.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/280680/ltcube_359856001_360115201_4FGL_J1416.1+1320_daily_bin465.fits
.....................!
real 191.66
user 185.45
sys 5.24

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/280680/ft1_filtered_4FGL_J1416.1+1320_daily_bin465.fits scfile=/scratch/kocevski/280680/ft2_4FGL_J1416.1+1320_daily_bin465.fits outfile=/scratch/kocevski/280680/cmap_359856001_360115201_4FGL_J1416.1+1320_daily_bin465.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=214.029 yref=13.347 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 1.10
user 0.38
sys 0.18

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.6590       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .42807       1.0000         .10000E-03   10000.    
     6 'Prefactor '    30.390       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.031       1.0000         .10000E-03   10000.    
     9 'norm      '    .10041E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.4344       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11044E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10656E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    9.3941       1.0000         .10000E-03   10000.    
    16 'Prefactor '    26.948       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1565       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .95003       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=   5927.862     FROM MIGRAD    STATUS=CONVERGED    478 CALLS     2362 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    25.049        .30409E-06** at limit **
   2  Prefactor     7.6580        4.0602       -.16118E-06    .19566E-04
   3  Prefactor     .10000E-03    4.2567       -.53723E-06** at limit **
   4  Prefactor     .10000E-03    8.0093       -.98445E-06** at limit **
   5  Prefactor     .38281        67.958       -.13402E-04    .26717E-03
   6  Prefactor     30.386        25.738        .35449E-06    .68115E-04
   7  Prefactor     .10000E-03    22.398        .19155E-05** at limit **
   8  Prefactor     10.014        20.822        .15977E-05    .11168E-03
   9  norm          .10000E-03    11.022       -.13308E-06** at limit **
  10  Prefactor     .10000E-03    2.4526       -.14384E-06** at limit **
  11  norm          3.4340        2.5270       -.16717E-06    .11895E-04
  12  Prefactor     .10003E-03    5.9102       -.23758E-05** at limit **
  13  norm          .10000E-03    .78937       -.13630E-06** at limit **
  14  Prefactor     .10000E-03    30.778       -.25534E-05** at limit **
  15  norm          9.3858        17.023       -.19888E-05    .27828E-04
  16  Prefactor     26.949        20.618       -.18957E-07    .19506E-04
  17  Prefactor     .10000E-03    16.027        .60884E-06** at limit **
  18  Prefactor     .10000E-03    6.7563       -.12917E-06** at limit **
  19  Prefactor     .10000E-03    14.695       -.71564E-06** at limit **
  20  Prefactor     .10000E-03    13.559       -.14462E-05** at limit **
  21  Normalizat    1.1568        .20636        .20004E-05    .34906E-03
  22  Prefactor     .94992        .15128        .39534E-06    .35751E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 7.65803
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.382807
  Prefactor  = 30.3859
  Prefactor  = 0.0001
  Prefactor  = 10.0141
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.43401
  Prefactor  = 0.000100034
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 9.38577
  Prefactor  = 26.9487
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.15684
  Prefactor  = 0.949922
 **********
 **   18 **HESSE 
 **********

 FCN=   5927.862     FROM HESSE     STATUS=OK           338 CALLS     2700 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    25.073        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.6580        4.0627        .10938E-03   -1.5154    
   3  Prefactor     .10000E-03    4.3988        .31090E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    8.0633        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .38281        93.895        .44623E-02   -1.5584    
   6  Prefactor     30.386        25.772        .72680E-04   -1.4605    
   7  Prefactor     .10000E-03    22.467        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     10.014        20.998        .12652E-03   -1.5075    
   9  norm          .10000E-03    11.040        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.4602        .11777E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.4340        2.5238        .10186E-03   -1.5337    
  12  Prefactor     .10003E-03    9.7062        .29703E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    .80066        .66855E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    30.928        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          9.3858        17.018        .13075E-03   -1.5095    
  16  Prefactor     26.949        20.617        .77172E-04   -1.4669    
  17  Prefactor     .10000E-03    16.130        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    6.7857        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    14.788        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    13.608        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1568        .25484        .25853E-03   -.87947    
  22  Prefactor     .94992        .18725        .21268E-03   -.94418    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.74807e-09
Minuit parameter uncertainties:
  1  1.3573e-05
  2  4.06287
  3  2.98923e-05
  4  6.02759e-05
  5  12.0081
  6  25.781
  7  0.000104492
  8  21.0133
  9  3.41588e-05
  10  1.21573e-05
  11  2.52386
  12  0.00115457
  13  4.4642e-06
  14  0.000123564
  15  17.0263
  16  20.6229
  17  1.94386e-05
  18  1.75192e-05
  19  7.50242e-05
  20  0.000104462
  21  0.255112
  22  0.187374
Done.

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

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  1.000e-04  1.045e-04  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:  9.499e-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.157e+00  2.551e-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: 8.07e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.22e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/280680/likelihoodResults_359856001_360115201_4FGL_J1416.1+1320_daily_bin465.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5927.86265616
delta logL = -0.000212068333894

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5927.86244427
delta logL = -1.73255102709e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2853       1.0000          .0000       10.000    
     3 'Normalizat'    1.1569       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94993       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=   5927.862     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      236 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6339.0        .90712E-02** at limit **
   2  Index         2.3036        6.7156        .50000       -.74925E-05
   3  Normalizat    1.1568        .72431E-01    .58459E-01    .27716E-04
   4  Prefactor     .94992        .54780E-01    .45638E-01    .27614E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.30355
  Normalizat = 1.15684
  Prefactor  = 0.949923
 **********
 **   18 **HESSE 
 **********

 FCN=   5927.862     FROM HESSE     STATUS=OK            33 CALLS      269 TOTAL
                     EDM=   .74E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    43.953        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3036        5.9112        .50000       -.56959    
   3  Normalizat    1.1568        .24078        .25853E-03   -.87947    
   4  Prefactor     .94992        .18253        .21268E-03   -.94418    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.38747e-11
Minuit parameter uncertainties:
  1  0.000155263
  2  6.07782
  3  0.241012
  4  0.182651
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/280680': 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) = 5927.86244422
delta logL = -1.22858182294e-07

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  1.000e-04  1.553e-04  1.000e-04  1.000e+04 ( 1.000e-13)
243        Index:  2.304e+00  6.078e+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.499e-01  1.827e-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.157e+00  2.410e-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/280680/cmap_HighResolution_359856001_360115201_4FGL_J1416.1+1320_daily_bin465.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.22e-03', job_status='DONE', photon_flux_upper_limit='8.07e-08', time_completed='2021-09-09 06:22:26.112183', job_id='280680', GAL2='0.95', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1631193746.11', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='-1.23e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='465' AND source_name='4FGL J1416.1+1320' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 06:22:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0192>
Subject: Job 280680: <4FGL_J1416.1+1320_daily_bin465> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1416.1+1320_daily_bin465 214.029 13.347 359856001 360115201 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 :                                   550.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             292.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   630 sec.
    Turnaround time :                            633 sec.

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

