/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 0 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 = 7484
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1446.7+1719_daily_bin333
RA = 221.688, Dec = 17.3237
tmin = 325641601, tmax = 325900801
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='779478', job_status='RUN', time_executed='2021-09-10 09:21:20.483845', time_epoch_executed='1631290880.48' WHERE source_name='4FGL J1446.7+1719' and cadence='daily' and bin_id='333'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/779478

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/779478/ft1_4FGL_J1446.7+1719_daily_bin333.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/779478/ft2_4FGL_J1446.7+1719_daily_bin333.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/779478/ft1_4FGL_J1446.7+1719_daily_bin333.fits outfile=/scratch/kocevski/779478/ft1_filteredMKT_4FGL_J1446.7+1719_daily_bin333.fits ra=221.688 dec=17.3237 rad=12.0 tmin=325641601.0 tmax=325900801.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.00
user 3.76
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/779478/ft2_4FGL_J1446.7+1719_daily_bin333.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/779478/ft2_4FGL_J1446.7+1719_daily_bin333.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/779478/ft1_filteredMKT_4FGL_J1446.7+1719_daily_bin333.fits evtable="EVENTS" outfile="/scratch/kocevski/779478/ft1_filtered_4FGL_J1446.7+1719_daily_bin333.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.53
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/779478/ft1_filtered_4FGL_J1446.7+1719_daily_bin333.fits" evtable="EVENTS" scfile=/scratch/kocevski/779478/ft2_4FGL_J1446.7+1719_daily_bin333.fits sctable="SC_DATA" outfile=/scratch/kocevski/779478/ltcube_325641601_325900801_4FGL_J1446.7+1719_daily_bin333.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/779478/ft2_4FGL_J1446.7+1719_daily_bin333.fits
.....................!
real 11.73
user 11.35
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/779478/ft1_filtered_4FGL_J1446.7+1719_daily_bin333.fits evtable="EVENTS" scfile=/scratch/kocevski/779478/ft2_4FGL_J1446.7+1719_daily_bin333.fits sctable="SC_DATA" expcube=/scratch/kocevski/779478/ltcube_325641601_325900801_4FGL_J1446.7+1719_daily_bin333.fits outfile=/scratch/kocevski/779478/expmap_325641601_325900801_4FGL_J1446.7+1719_daily_bin333.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/779478/ltcube_325641601_325900801_4FGL_J1446.7+1719_daily_bin333.fits
.....................!
real 191.05
user 184.97
sys 5.71

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 154 point sources and 0 extended sources

Setting source of interest to:
4FGL J1446.7+1719 @ 221.688 17.3237

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/779478/ft1_filtered_4FGL_J1446.7+1719_daily_bin333.fits scfile=/scratch/kocevski/779478/ft2_4FGL_J1446.7+1719_daily_bin333.fits outfile=/scratch/kocevski/779478/cmap_325641601_325900801_4FGL_J1446.7+1719_daily_bin333.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=221.688 yref=17.3237 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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/779478/ft1_filtered_4FGL_J1446.7+1719_daily_bin333.fits scfile=/scratch/kocevski/779478/ft2_4FGL_J1446.7+1719_daily_bin333.fits outfile=/scratch/kocevski/779478/cmap_HighResolution_325641601_325900801_4FGL_J1446.7+1719_daily_bin333.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=221.688 yref=17.3237 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/779478/ft1_filtered_4FGL_J1446.7+1719_daily_bin333.fits evtable="EVENTS" scfile=/scratch/kocevski/779478/ft2_4FGL_J1446.7+1719_daily_bin333.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/779478/Model_4FGL_J1446.7+1719_daily_bin333.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/779478/ft1_filtered_4FGL_J1446.7+1719_daily_bin333.fits.....................!
real 52.66
user 51.32
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/779478/ft1_filtered_4FGL_J1446.7+1719_daily_bin333.fits', '/scratch/kocevski/779478/ft2_4FGL_J1446.7+1719_daily_bin333.fits', expMap='/scratch/kocevski/779478/expmap_325641601_325900801_4FGL_J1446.7+1719_daily_bin333.fits', expCube='/scratch/kocevski/779478/ltcube_325641601_325900801_4FGL_J1446.7+1719_daily_bin333.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/779478/Model_4FGL_J1446.7+1719_daily_bin333.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1446.7+1719'

4FGL J1446.7+1719
   Spectrum: PowerLaw
233    Prefactor:  3.187e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
234        Index:  2.497e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
235        Scale:  9.206e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/779478/ft1_filtered_4FGL_J1446.7+1719_daily_bin333.fits
Spacecraft file(s): /scratch/kocevski/779478/ft2_4FGL_J1446.7+1719_daily_bin333.fits
Exposure map: /scratch/kocevski/779478/expmap_325641601_325900801_4FGL_J1446.7+1719_daily_bin333.fits
Exposure cube: /scratch/kocevski/779478/ltcube_325641601_325900801_4FGL_J1446.7+1719_daily_bin333.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/779478/Model_4FGL_J1446.7+1719_daily_bin333.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) = 6873.16371727

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.610       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11365E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.3360       1.0000         .10000E-03   10000.    
     4 'norm      '    6.2225       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .22793E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10378E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.1560       1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10202E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.1927       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .12925E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.0197       1.0000         .10000E-03   10000.    
    16 'norm      '    1.7199       1.0000         .10000E-03   10000.    
    17 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    17.681       1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.396       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10150E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1756       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .90118       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6873.144     FROM MIGRAD    STATUS=CONVERGED    512 CALLS     2535 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.609        16.933        .11885E-07   -.11314E-04
   2  Prefactor     .10001E-03    90.230       -.11059E-04** at limit **
   3  Prefactor     9.3383        8.7476        .43705E-06   -.64125E-03
   4  norm          6.2224        2.7985        .11514E-07    .10252E-04
   5  Prefactor     .10000E-03    5.2311        .53343E-06** at limit **
   6  norm          .10000E-03    .85865        .18318E-07** at limit **
   7  Prefactor     .10001E-03    43.477       -.10508E-04** at limit **
   8  norm          2.1441        18.871        .75691E-05   -.57623E-03
   9  norm          .10000E-03    1.2370        .97735E-08** at limit **
  10  Prefactor     .10000E-03    11.254       -.23759E-07** at limit **
  11  Prefactor     .10000E-03    28.389        .24007E-05** at limit **
  12  Prefactor     .10000E-03    17.671       -.16527E-05** at limit **
  13  Prefactor     1.1677        173.62       -.11176E-04   -.56597E-04
  14  Prefactor     .10001E-03    80.774        .55776E-05** at limit **
  15  Prefactor     8.0195        8.8766        .65817E-07   -.29157E-04
  16  norm          1.7199        .29960        .42040E-08   -.16747E-03
  17  norm          .10000E-03    8.5130        .55319E-07** at limit **
  18  norm          17.698        36.018        .89195E-05    .23339E-03
  19  Prefactor     10.396        23.262       -.62125E-07   -.15294E-04
  20  Prefactor     .10000E-03    3.8602        .34051E-08** at limit **
  21  Prefactor     .10001E-03    59.901        .12047E-04** at limit **
  22  Normalizat    1.1757        .21146        .25486E-06   -.62402E-04
  23  Prefactor     .90119        .14043       -.57091E-06    .77936E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.6087
  Prefactor  = 0.000100011
  Prefactor  = 9.33833
  norm       = 6.2224
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 0.00010001
  norm       = 2.14409
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 1.1677
  Prefactor  = 0.000100008
  Prefactor  = 8.01952
  norm       = 1.71994
  norm       = 0.0001
  norm       = 17.698
  Prefactor  = 10.3956
  Prefactor  = 0.0001
  Prefactor  = 0.000100013
  Normalizat = 1.1757
  Prefactor  = 0.901185
 **********
 **   18 **HESSE 
 **********

 FCN=   6873.144     FROM HESSE     STATUS=OK           370 CALLS     2905 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.609        16.948        .88226E-04   -1.4800    
   2  Prefactor     .10001E-03    91.700        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     9.3383        8.6541        .65581E-03   -1.5097    
   4  norm          6.2224        2.8001        .90289E-04   -1.5209    
   5  Prefactor     .10000E-03    16.452        .34933E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    .86320        .75000E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10001E-03    44.316        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.1441        39.559        .14029E-02   -1.5415    
   9  norm          .10000E-03    1.2400        .90042E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    11.266        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    28.599        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    17.742        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.1677        183.09        .41676E-02   -1.5492    
  14  Prefactor     .10001E-03    81.672        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.0195        8.8791        .14158E-03   -1.5142    
  16  norm          1.7199        .29976        .18041E-04   -1.5446    
  17  norm          .10000E-03    8.8051        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          17.698        36.388        .95250E-04   -1.4866    
  19  Prefactor     10.396        23.272        .12427E-03   -1.5063    
  20  Prefactor     .10000E-03    3.8684        .15908E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10001E-03    60.984        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1757        .25503        .29188E-03   -.87357    
  23  Prefactor     .90119        .17164        .21943E-03   -.96100    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.06755e-09
Minuit parameter uncertainties:
  1  16.9524
  2  0.00199476
  3  8.6553
  4  2.80021
  5  0.000406407
  6  4.50933e-07
  7  0.00136143
  8  18.4332
  9  1.4132e-07
  10  2.65305e-05
  11  0.000251639
  12  4.78647e-05
  13  29.3334
  14  0.00163645
  15  8.88055
  16  0.299755
  17  2.71448e-06
  18  36.4333
  19  23.2921
  20  5.55818e-08
  21  0.00178834
  22  0.2553
  23  0.17174
Done.

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

Extracting fit parameters...

4FGL J1446.7+1719
   Spectrum: PowerLaw
233    Prefactor:  1.000e-04  2.653e-05  1.000e-04  1.000e+04 ( 1.000e-13)
234        Index:  2.497e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
235        Scale:  9.206e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
496    Prefactor:  9.012e-01  1.717e-01  0.000e+00  1.000e+01 ( 1.000e+00)
497        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
498        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
495   Normalization:  1.176e+00  2.553e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 221.688 17.324
Photon Flux Upper Limit: 7.80e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.07e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/779478/likelihoodResults_325641601_325900801_4FGL_J1446.7+1719_daily_bin333.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) = 6873.1449184
delta logL = -0.000422883322244

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6873.14449584
delta logL = -3.30403963744e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10504E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4898       1.0000          .0000       10.000    
     3 'Normalizat'    1.1756       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90126       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4990E+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=   6873.144     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      243 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10098E-03    525.90        .18142E-02** at limit **
   2  Index         2.3914        8.6318        .50000        .39963E-05
   3  Normalizat    1.1757        .36975E-01    .29188E-03   -.11296E-05
   4  Prefactor     .90118        .24835E-01    .21943E-03   -.67353E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010098
  Index      = 2.39141
  Normalizat = 1.1757
  Prefactor  = 0.901185
 **********
 **   18 **HESSE 
 **********

 FCN=   6873.144     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      272 TOTAL
                     EDM=   .51E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10098E-03    1790.3        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3914        8.7635        .50000       -.54886    
   3  Normalizat    1.1757        .89921E-01    .11675E-04   -.87357    
   4  Prefactor     .90118        .60337E-01    .87772E-05   -.96100    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.10309e-08
Minuit parameter uncertainties:
  1  0.0865002
  2  3876.4
  3  0.0899324
  4  0.060341
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/779478': 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) = 6873.14449544
delta logL = 7.62056515669e-08

Extracting fit parameters...

4FGL J1446.7+1719
   Spectrum: PowerLaw
233    Prefactor:  1.010e-04  8.650e-02  1.000e-04  1.000e+04 ( 1.000e-13)
234        Index:  2.391e+00  3.876e+03  0.000e+00  1.000e+01 (-1.000e+00)
235        Scale:  9.206e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
496    Prefactor:  9.012e-01  6.034e-02  0.000e+00  1.000e+01 ( 1.000e+00)
497        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
498        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
495   Normalization:  1.176e+00  8.993e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 221.688 17.324

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/779478/cmap_HighResolution_325641601_325900801_4FGL_J1446.7+1719_daily_bin333.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.07e-03', job_status='DONE', photon_flux_upper_limit='7.80e-08', time_completed='2021-09-10 09:31:40.805578', job_id='779478', GAL2='0.90', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1631291500.81', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='7.62e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='333' AND source_name='4FGL J1446.7+1719' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:31:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0253>
Subject: Job 779478: <4FGL_J1446.7+1719_daily_bin333> in cluster <slac> Done

Job <4FGL_J1446.7+1719_daily_bin333> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 09:21:10 2021
Job was executed on host(s) <bullet0253>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:21:11 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 09:21:11 2021
Terminated at Fri Sep 10 09:31:41 2021
Results reported at Fri Sep 10 09:31:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.7+1719_daily_bin333 221.688 17.3237 325641601 325900801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1446.7+1719 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   618.45 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             266.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   630 sec.
    Turnaround time :                            631 sec.

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

