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


Performing analysis on: 4FGL_J1416.1+1320_daily_bin907
RA = 214.029, Dec = 13.347
tmin = 474422401, tmax = 474681601
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='283536', job_status='RUN', time_executed='2021-09-09 06:23:09.600171', time_epoch_executed='1631193789.6' WHERE source_name='4FGL J1416.1+1320' and cadence='daily' and bin_id='907'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/283536

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/283536/ft1_4FGL_J1416.1+1320_daily_bin907.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/283536/ft2_4FGL_J1416.1+1320_daily_bin907.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/283536/ft1_4FGL_J1416.1+1320_daily_bin907.fits outfile=/scratch/kocevski/283536/ft1_filteredMKT_4FGL_J1416.1+1320_daily_bin907.fits ra=214.029 dec=13.347 rad=12.0 tmin=474422401.0 tmax=474681601.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.11
user 3.21
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/283536/ft1_filtered_4FGL_J1416.1+1320_daily_bin907.fits evtable="EVENTS" scfile=/scratch/kocevski/283536/ft2_4FGL_J1416.1+1320_daily_bin907.fits sctable="SC_DATA" expcube=/scratch/kocevski/283536/ltcube_474422401_474681601_4FGL_J1416.1+1320_daily_bin907.fits outfile=/scratch/kocevski/283536/expmap_474422401_474681601_4FGL_J1416.1+1320_daily_bin907.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/283536/ltcube_474422401_474681601_4FGL_J1416.1+1320_daily_bin907.fits
.....................!
real 193.73
user 187.26
sys 4.56

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/283536/ft1_filtered_4FGL_J1416.1+1320_daily_bin907.fits scfile=/scratch/kocevski/283536/ft2_4FGL_J1416.1+1320_daily_bin907.fits outfile=/scratch/kocevski/283536/cmap_474422401_474681601_4FGL_J1416.1+1320_daily_bin907.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.54
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/283536/ft1_filtered_4FGL_J1416.1+1320_daily_bin907.fits scfile=/scratch/kocevski/283536/ft2_4FGL_J1416.1+1320_daily_bin907.fits outfile=/scratch/kocevski/283536/cmap_HighResolution_474422401_474681601_4FGL_J1416.1+1320_daily_bin907.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.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    40.580       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.3471       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.3526       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .22859E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.2599       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .48528       1.0000         .10000E-03   10000.    
     8 'Prefactor '    21.614       1.0000         .10000E-03   10000.    
     9 'norm      '    17.235       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.7425       1.0000         .10000E-03   10000.    
    11 'norm      '    4.2126       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12389E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.5696       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.7545       1.0000         .10000E-03   10000.    
    17 'Prefactor '    10.058       1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.5440       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11318E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10309E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1546       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1118       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=   7179.004     FROM MIGRAD    STATUS=CONVERGED    496 CALLS     2383 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     40.529        49.970       -.41120E-04    .51261E-05
   2  Prefactor     .10000E-03    1.4239        .14259E-06** at limit **
   3  Prefactor     1.3477        2.9283       -.87816E-07   -.66235E-03
   4  Prefactor     2.3498        9.3492        .73126E-05   -.22399E-03
   5  Prefactor     .10030E-03    6.5388       -.13274E-06** at limit **
   6  Prefactor     4.2627        30.529       -.69587E-05   -.32058E-04
   7  Prefactor     .34003        12.862       -.21158E-05    .11455E-03
   8  Prefactor     21.584        26.513       -.56053E-06    .29299E-04
   9  norm          17.242        16.667       -.54353E-07    .18296E-04
  10  Prefactor     2.7460        5.2846       -.81015E-06   -.35158E-03
  11  norm          4.2131        2.4249       -.97359E-07    .32796E-05
  12  Prefactor     .10000E-03    8.4942       -.27261E-06** at limit **
  13  norm          2.5697        2.3667       -.22458E-06   -.27936E-03
  14  Prefactor     .10000E-03    26.270       -.49996E-05** at limit **
  15  norm          .10000E-03    8.8321        .17779E-06** at limit **
  16  Prefactor     9.7592        15.753       -.19346E-05   -.58029E-03
  17  Prefactor     10.039        29.037       -.10763E-04   -.12944E-05
  18  Prefactor     9.5559        11.691       -.89624E-06   -.27081E-04
  19  Prefactor     .10000E-03    33.175        .18901E-04** at limit **
  20  Prefactor     .10000E-03    41.055       -.23086E-04** at limit **
  21  Normalizat    1.1548        .21372        .35333E-05    .60786E-04
  22  Prefactor     1.1118        .15590        .62739E-06    .25193E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 40.5286
  Prefactor  = 0.0001
  Prefactor  = 1.3477
  Prefactor  = 2.34982
  Prefactor  = 0.000100298
  Prefactor  = 4.26275
  Prefactor  = 0.340033
  Prefactor  = 21.5837
  norm       = 17.2416
  Prefactor  = 2.74605
  norm       = 4.21313
  Prefactor  = 0.0001
  norm       = 2.56974
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 9.75918
  Prefactor  = 10.0393
  Prefactor  = 9.55586
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.15482
  Prefactor  = 1.11176
 **********
 **   18 **HESSE 
 **********

 FCN=   7179.004     FROM HESSE     STATUS=OK           358 CALLS     2741 TOTAL
                     EDM=   .74E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     40.529        49.928        .62925E-04   -1.4434    
   2  Prefactor     .10000E-03    1.4345        .98710E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.3477        2.8814        .20716E-03   -1.5476    
   4  Prefactor     2.3498        9.2905        .26724E-03   -1.5401    
   5  Prefactor     .10030E-03    60.768        .41043E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.2627        30.555        .19521E-03   -1.5295    
   7  Prefactor     .34003        23.124        .10331       -1.5591    
   8  Prefactor     21.584        26.507        .86155E-04   -1.4778    
   9  norm          17.242        16.666        .96474E-04   -1.4877    
  10  Prefactor     2.7460        5.2644        .24585E-03   -1.5377    
  11  norm          4.2131        2.4247        .97326E-04   -1.5297    
  12  Prefactor     .10000E-03    8.8126        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.5697        2.3594        .12049E-03   -1.5387    
  14  Prefactor     .10000E-03    26.419        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    8.8657        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.7592        15.813        .64153E-03   -1.5083    
  17  Prefactor     10.039        29.044        .12635E-03   -1.5074    
  18  Prefactor     9.5559        11.682        .12972E-03   -1.5090    
  19  Prefactor     .10000E-03    33.498        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    41.135        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1548        .25395        .28958E-03   -.88011    
  22  Prefactor     1.1118        .18756        .22295E-03   -.89091    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.44211e-09
Minuit parameter uncertainties:
  1  49.979
  2  1.96333e-06
  3  2.88174
  4  9.2962
  5  0.00852448
  6  22.8416
  7  5.60966
  8  26.5215
  9  16.6709
  10  5.26529
  11  2.42477
  12  4.61602e-05
  13  2.35951
  14  2.27171e-06
  15  2.17669e-06
  16  15.8201
  17  29.0846
  18  11.6852
  19  0.00013321
  20  3.55651e-05
  21  0.254217
  22  0.187673
Done.

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

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  3.400e-01  5.610e+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

GAL_V02
   Spectrum: PowerLaw
458    Prefactor:  1.112e+00  1.877e-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.155e+00  2.542e-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: 7.70e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.94e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/283536/likelihoodResults_474422401_474681601_4FGL_J1416.1+1320_daily_bin907.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) = 7178.58014359
delta logL = 0.423860789942

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7178.57496723
delta logL = 0.429037142324

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .75864       1.0000         .10000E-03   10000.    
     2 'Index     '    4.5407       1.0000          .0000       10.000    
     3 'Normalizat'    1.0947       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1382       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=   7178.575     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      243 TOTAL
                     EDM=   .88E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .75745        15.766        .12285E-01    .13902E-02
   2  Index         4.5426        3.3082        .13522        .16242E-03
   3  Normalizat    1.0949        .42436E-01    .66998E-01    .12634E-04
   4  Prefactor     1.1382        .32222E-01    .36288E-01    .15396E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.757453
  Index      = 4.54257
  Normalizat = 1.09487
  Prefactor  = 1.13816
 **********
 **   18 **HESSE 
 **********

 FCN=   7178.575     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      276 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .75745        49.921        .83346E-04   -1.5534    
   2  Index         4.5426        7.1900        .76238E-02   -.91614E-01
   3  Normalizat    1.0949        .19725        .29640E-03   -.89917    
   4  Prefactor     1.1382        .14744        .22065E-03   -.88256    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.97921e-09
Minuit parameter uncertainties:
  1  12.3083
  2  8.63776
  3  0.19738
  4  0.14749
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/283536': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7178.57496474
delta logL = 0.429039639966

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  7.575e-01  1.231e+01  1.000e-04  1.000e+04 ( 1.000e-13)
243        Index:  4.543e+00  8.638e+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.138e+00  1.475e-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.095e+00  1.974e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/283536/cmap_HighResolution_474422401_474681601_4FGL_J1416.1+1320_daily_bin907.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.94e-03', job_status='DONE', photon_flux_upper_limit='7.70e-08', time_completed='2021-09-09 06:33:32.590136', job_id='283536', GAL2='1.14', fit_tolerance='1e-08', EG2='1.09', EG='1.15', time_epoch_completed='1631194412.59', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='4.29e-01', ts2='0.95', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='907' AND source_name='4FGL J1416.1+1320' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 06:33:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0263>
Subject: Job 283536: <4FGL_J1416.1+1320_daily_bin907> in cluster <slac> Done

Job <4FGL_J1416.1+1320_daily_bin907> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep  9 06:21:13 2021
Job was executed on host(s) <bullet0263>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 06:21:15 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:21:15 2021
Terminated at Thu Sep  9 06:33:33 2021
Results reported at Thu Sep  9 06:33:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1416.1+1320_daily_bin907 214.029 13.347 474422401 474681601 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 :                                   615.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             301.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   737 sec.
    Turnaround time :                            740 sec.

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

