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


Performing analysis on: 4FGL_J1446.7+1719_daily_bin1303
RA = 221.688, Dec = 17.3237
tmin = 577065601, tmax = 577324801
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='783882', job_status='RUN', time_executed='2021-09-10 09:37:47.063122', time_epoch_executed='1631291867.06' WHERE source_name='4FGL J1446.7+1719' and cadence='daily' and bin_id='1303'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/783882

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/783882/ft1_4FGL_J1446.7+1719_daily_bin1303.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/783882/ft2_4FGL_J1446.7+1719_daily_bin1303.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/783882/ft1_4FGL_J1446.7+1719_daily_bin1303.fits outfile=/scratch/kocevski/783882/ft1_filteredMKT_4FGL_J1446.7+1719_daily_bin1303.fits ra=221.688 dec=17.3237 rad=12.0 tmin=577065601.0 tmax=577324801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.07
user 2.87
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/783882/ft2_4FGL_J1446.7+1719_daily_bin1303.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/783882/ft1_filteredMKT_4FGL_J1446.7+1719_daily_bin1303.fits evtable="EVENTS" outfile="/scratch/kocevski/783882/ft1_filtered_4FGL_J1446.7+1719_daily_bin1303.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.52
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/783882/ft1_filtered_4FGL_J1446.7+1719_daily_bin1303.fits" evtable="EVENTS" scfile=/scratch/kocevski/783882/ft2_4FGL_J1446.7+1719_daily_bin1303.fits sctable="SC_DATA" outfile=/scratch/kocevski/783882/ltcube_577065601_577324801_4FGL_J1446.7+1719_daily_bin1303.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/783882/ft2_4FGL_J1446.7+1719_daily_bin1303.fits
.....................!
real 12.45
user 12.10
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/783882/ft1_filtered_4FGL_J1446.7+1719_daily_bin1303.fits evtable="EVENTS" scfile=/scratch/kocevski/783882/ft2_4FGL_J1446.7+1719_daily_bin1303.fits sctable="SC_DATA" expcube=/scratch/kocevski/783882/ltcube_577065601_577324801_4FGL_J1446.7+1719_daily_bin1303.fits outfile=/scratch/kocevski/783882/expmap_577065601_577324801_4FGL_J1446.7+1719_daily_bin1303.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/783882/ltcube_577065601_577324801_4FGL_J1446.7+1719_daily_bin1303.fits
.....................!
real 191.84
user 186.85
sys 4.58

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/783882/ft1_filtered_4FGL_J1446.7+1719_daily_bin1303.fits scfile=/scratch/kocevski/783882/ft2_4FGL_J1446.7+1719_daily_bin1303.fits outfile=/scratch/kocevski/783882/cmap_577065601_577324801_4FGL_J1446.7+1719_daily_bin1303.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/783882/ft1_filtered_4FGL_J1446.7+1719_daily_bin1303.fits scfile=/scratch/kocevski/783882/ft2_4FGL_J1446.7+1719_daily_bin1303.fits outfile=/scratch/kocevski/783882/cmap_HighResolution_577065601_577324801_4FGL_J1446.7+1719_daily_bin1303.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.57
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/783882/ft1_filtered_4FGL_J1446.7+1719_daily_bin1303.fits evtable="EVENTS" scfile=/scratch/kocevski/783882/ft2_4FGL_J1446.7+1719_daily_bin1303.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/783882/Model_4FGL_J1446.7+1719_daily_bin1303.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/783882/ft1_filtered_4FGL_J1446.7+1719_daily_bin1303.fits.....................!
real 42.87
user 41.60
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/783882/ft1_filtered_4FGL_J1446.7+1719_daily_bin1303.fits', '/scratch/kocevski/783882/ft2_4FGL_J1446.7+1719_daily_bin1303.fits', expMap='/scratch/kocevski/783882/expmap_577065601_577324801_4FGL_J1446.7+1719_daily_bin1303.fits', expCube='/scratch/kocevski/783882/ltcube_577065601_577324801_4FGL_J1446.7+1719_daily_bin1303.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/783882/Model_4FGL_J1446.7+1719_daily_bin1303.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/783882/ft1_filtered_4FGL_J1446.7+1719_daily_bin1303.fits
Spacecraft file(s): /scratch/kocevski/783882/ft2_4FGL_J1446.7+1719_daily_bin1303.fits
Exposure map: /scratch/kocevski/783882/expmap_577065601_577324801_4FGL_J1446.7+1719_daily_bin1303.fits
Exposure cube: /scratch/kocevski/783882/ltcube_577065601_577324801_4FGL_J1446.7+1719_daily_bin1303.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/783882/Model_4FGL_J1446.7+1719_daily_bin1303.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) = 5122.19818907

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.724       1.0000         .10000E-03   10000.    
     2 'Prefactor '    102.92       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.3785       1.0000         .10000E-03   10000.    
     4 'norm      '    9.3263       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .90229E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.6586       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .12830E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    95.054       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    24.297       1.0000         .10000E-03   10000.    
    14 'Prefactor '    52.956       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.2592       1.0000         .10000E-03   10000.    
    16 'norm      '    1.0706       1.0000         .10000E-03   10000.    
    17 'norm      '    1.6611       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    20.286       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .99081       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .94860       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=   5122.193     FROM MIGRAD    STATUS=CONVERGED    517 CALLS     2618 TOTAL
                     EDM=   .91E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.729        30.411       -.71982E-06   -.31813E-04
   2  Prefactor     103.01        92.060       -.12116E-04   -.14177E-03
   3  Prefactor     2.3527        33.547        .98225E-05   -.26471E-05
   4  norm          9.3261        3.3071        .37706E-07    .69483E-05
   5  Prefactor     .10102E-03    11.962        .29778E-05** at limit **
   6  norm          1.6586        3.1037        .98938E-07   -.26683E-03
   7  Prefactor     .10000E-03    53.798       -.40927E-05** at limit **
   8  norm          .10000E-03    26.214       -.29547E-05** at limit **
   9  norm          .26629E-01    1.9875        .55804E-06   -.55213E-03
  10  Prefactor     95.057        57.582       -.65623E-06   -.15759E-03
  11  Prefactor     .10000E-03    45.123        .25853E-05** at limit **
  12  Prefactor     .10000E-03    16.099       -.15860E-06** at limit **
  13  Prefactor     24.295        35.995       -.15544E-06   -.24472E-04
  14  Prefactor     52.964        52.649       -.84025E-06   -.51357E-06
  15  Prefactor     2.2619        10.816        .87708E-05    .26325E-04
  16  norm          1.0707        .39931       -.62693E-07    .94487E-04
  17  norm          1.6625        24.959        .14473E-04    .16648E-04
  18  norm          .10000E-03    18.891        .44732E-06** at limit **
  19  Prefactor     20.309        55.887       -.44871E-05    .15971E-04
  20  Prefactor     .10000E-03    2.1005       -.58497E-07** at limit **
  21  Prefactor     .10000E-03    29.780        .27196E-05** at limit **
  22  Normalizat    .99089        .25054        .11695E-05   -.30518E-03
  23  Prefactor     .94839        .16323       -.10209E-05   -.21952E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.7294
  Prefactor  = 103.012
  Prefactor  = 2.35268
  norm       = 9.32611
  Prefactor  = 0.000101019
  norm       = 1.6586
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0266294
  Prefactor  = 95.0568
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.2949
  Prefactor  = 52.9636
  Prefactor  = 2.26185
  norm       = 1.07075
  norm       = 1.66245
  norm       = 0.0001
  Prefactor  = 20.3085
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.990889
  Prefactor  = 0.948394
 **********
 **   18 **HESSE 
 **********

 FCN=   5122.193     FROM HESSE     STATUS=OK           380 CALLS     2998 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.729        30.429        .85938E-04   -1.4775    
   2  Prefactor     103.01        92.066        .19816E-03   -1.3675    
   3  Prefactor     2.3527        28.693        .26562E-03   -1.5401    
   4  norm          9.3261        3.3081        .74786E-04   -1.5097    
   5  Prefactor     .10102E-03    92.791        .39568E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.6586        3.0513        .16262E-03   -1.5450    
   7  Prefactor     .10000E-03    53.750        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    26.196        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .26629E-01    2.8659        .37534E-01   -1.5675    
  10  Prefactor     95.057        56.729        .41224E-04   -1.3755    
  11  Prefactor     .10000E-03    45.131        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    16.138        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     24.295        35.949        .81265E-04   -1.4722    
  14  Prefactor     52.964        52.653        .27558E-03   -1.4251    
  15  Prefactor     2.2619        10.877        .13666E-02   -1.5407    
  16  norm          1.0707        .39799        .26067E-04   -1.5501    
  17  norm          1.6625        25.068        .16366E-02   -1.5450    
  18  norm          .10000E-03    18.890        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     20.309        55.831        .88927E-04   -1.4806    
  20  Prefactor     .10000E-03    2.1017        .10130E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    29.800        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .99089        .29299        .31851E-03   -.93336    
  23  Prefactor     .94839        .19352        .21531E-03   -.94470    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10709e-08
Minuit parameter uncertainties:
  1  30.4507
  2  92.1938
  3  16.4417
  4  3.30817
  5  0.0194739
  6  3.05157
  7  0.000108179
  8  4.92675e-05
  9  0.551503
  10  56.7609
  11  0.000138235
  12  1.10592e-05
  13  35.9813
  14  52.6993
  15  9.92304
  16  0.397993
  17  12.9172
  18  6.22937e-06
  19  55.9755
  20  3.81565e-06
  21  0.000145894
  22  0.293468
  23  0.193656
Done.

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

Extracting fit parameters...

4FGL J1446.7+1719
   Spectrum: PowerLaw
233    Prefactor:  9.506e+01  5.676e+01  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.484e-01  1.937e-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:  9.909e-01  2.935e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.38
Ra Dec: 221.688 17.324
Photon Index (Fixed Index): 2.50 +/- 0.00
Photon Flux (Fixed Index): 1.62e-07 +/- 9.69e-08
Energy Flux (Fixed Index): 4.73e-05 +/- 2.82e-05

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) = 5120.35546671
delta logL = 1.83751765871

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5120.31903611
delta logL = 1.87394825976

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.389       1.0000         .10000E-03   10000.    
     2 'Index     '    3.9624       1.0000          .0000       10.000    
     3 'Normalizat'    .83215       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0298       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.

 FCN=   5120.319     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      259 TOTAL
                     EDM=   .85E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.389        93.396        .26398E-02    .87548E-03
   2  Index         3.9624        2.5166        .70618E-01    .14379E-03
   3  Normalizat    .83214        .11496        .77509E-01    .19342E-04
   4  Prefactor     1.0298        .74994E-01    .41276E-01    .33308E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.3886
  Index      = 3.96238
  Normalizat = 0.832142
  Prefactor  = 1.02979
 **********
 **   18 **HESSE 
 **********

 FCN=   5120.319     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      292 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.389        116.09        .10559E-03   -1.4949    
   2  Index         3.9624        2.9017        .29714E-02   -.20904    
   3  Normalizat    .83214        .29752        .34310E-03   -.98887    
   4  Prefactor     1.0298        .20225        .20739E-03   -.91743    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.1856e-08
Minuit parameter uncertainties:
  1  81.9576
  2  3.10631
  3  0.298107
  4  0.202396
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/783882': 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) = 5120.3190361
delta logL = 1.87394826666

Extracting fit parameters...

4FGL J1446.7+1719
   Spectrum: PowerLaw
233    Prefactor:  1.439e+01  8.196e+01  1.000e-04  1.000e+04 ( 1.000e-13)
234        Index:  3.962e+00  3.106e+00  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:  1.030e+00  2.024e-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:  8.321e-01  2.981e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.73
Ra Dec: 221.688 17.324
Photon Index (Free Index): 3.96 +/- 3.11
Photon Flux (Free Index): 3.22e-07 +/- 1.48e-07
Energy Flux (Free Index): 4.85e-05 +/- 2.74e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/783882/cmap_HighResolution_577065601_577324801_4FGL_J1446.7+1719_daily_bin1303.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.62e-07', energy_flux2='4.85e-05', photon_flux_error='9.69e-08', dlogl='1.87e+00', energy_flux='4.73e-05', photon_flux2='3.22e-07', job_status='DONE', time_completed='2021-09-10 09:46:07.389302', photon_index_error2='3.11', photon_index2='3.96', ts='4.38', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='2.74e-05', EG='0.99', time_epoch_completed='1631292367.39', return_code='0', job_id='783882', GAL2='1.03', EG2='0.83', return_code2='102', energy_flux_error='2.82e-05', photon_flux_error2='1.48e-07', ts2='8.73', photon_index='2.50' WHERE bin_id='1303' AND source_name='4FGL J1446.7+1719' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:46:07 PDT 2021


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

Job <4FGL_J1446.7+1719_daily_bin1303> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 10 09:36:02 2021
Job was executed on host(s) <bullet0253>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:36:03 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:36:03 2021
Terminated at Fri Sep 10 09:46:08 2021
Results reported at Fri Sep 10 09:46:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.7+1719_daily_bin1303 221.688 17.3237 577065601 577324801 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 :                                   498.11 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             293.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   604 sec.
    Turnaround time :                            606 sec.

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

