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


Performing analysis on: 4FGL_J1446.7+1719_daily_bin1326
RA = 221.688, Dec = 17.3237
tmin = 583027201, tmax = 583286401
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='783916', job_status='RUN', time_executed='2021-09-10 09:36:17.583376', time_epoch_executed='1631291777.58' WHERE source_name='4FGL J1446.7+1719' and cadence='daily' and bin_id='1326'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/783916

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/783916/ft1_4FGL_J1446.7+1719_daily_bin1326.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/783916/ft2_4FGL_J1446.7+1719_daily_bin1326.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/783916/ft1_4FGL_J1446.7+1719_daily_bin1326.fits outfile=/scratch/kocevski/783916/ft1_filteredMKT_4FGL_J1446.7+1719_daily_bin1326.fits ra=221.688 dec=17.3237 rad=12.0 tmin=583027201.0 tmax=583286401.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.55
user 3.34
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/783916/ft2_4FGL_J1446.7+1719_daily_bin1326.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/783916/ft1_filteredMKT_4FGL_J1446.7+1719_daily_bin1326.fits evtable="EVENTS" outfile="/scratch/kocevski/783916/ft1_filtered_4FGL_J1446.7+1719_daily_bin1326.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.51
user 0.34
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/783916/ft1_filtered_4FGL_J1446.7+1719_daily_bin1326.fits" evtable="EVENTS" scfile=/scratch/kocevski/783916/ft2_4FGL_J1446.7+1719_daily_bin1326.fits sctable="SC_DATA" outfile=/scratch/kocevski/783916/ltcube_583027201_583286401_4FGL_J1446.7+1719_daily_bin1326.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/783916/ft2_4FGL_J1446.7+1719_daily_bin1326.fits
.....................!
real 11.96
user 11.60
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/783916/ft1_filtered_4FGL_J1446.7+1719_daily_bin1326.fits evtable="EVENTS" scfile=/scratch/kocevski/783916/ft2_4FGL_J1446.7+1719_daily_bin1326.fits sctable="SC_DATA" expcube=/scratch/kocevski/783916/ltcube_583027201_583286401_4FGL_J1446.7+1719_daily_bin1326.fits outfile=/scratch/kocevski/783916/expmap_583027201_583286401_4FGL_J1446.7+1719_daily_bin1326.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/783916/ltcube_583027201_583286401_4FGL_J1446.7+1719_daily_bin1326.fits
.....................!
real 190.26
user 185.76
sys 4.10

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/783916/ft1_filtered_4FGL_J1446.7+1719_daily_bin1326.fits scfile=/scratch/kocevski/783916/ft2_4FGL_J1446.7+1719_daily_bin1326.fits outfile=/scratch/kocevski/783916/cmap_583027201_583286401_4FGL_J1446.7+1719_daily_bin1326.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/783916/ft1_filtered_4FGL_J1446.7+1719_daily_bin1326.fits scfile=/scratch/kocevski/783916/ft2_4FGL_J1446.7+1719_daily_bin1326.fits outfile=/scratch/kocevski/783916/cmap_HighResolution_583027201_583286401_4FGL_J1446.7+1719_daily_bin1326.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/783916/ft1_filtered_4FGL_J1446.7+1719_daily_bin1326.fits evtable="EVENTS" scfile=/scratch/kocevski/783916/ft2_4FGL_J1446.7+1719_daily_bin1326.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/783916/Model_4FGL_J1446.7+1719_daily_bin1326.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/783916/ft1_filtered_4FGL_J1446.7+1719_daily_bin1326.fits.....................!
real 51.32
user 49.88
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2345       1.0000         .10000E-03   10000.    
     2 'Prefactor '    50.221       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.7112       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10312E-02   1.0000         .10000E-03   10000.    
     6 'norm      '    7.5396       1.0000         .10000E-03   10000.    
     7 'Prefactor '    21.524       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.6047       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.8849       1.0000         .10000E-03   10000.    
    11 'Prefactor '    17.531       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.6816       1.0000         .10000E-03   10000.    
    13 'Prefactor '    36.407       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.2670       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.1568       1.0000         .10000E-03   10000.    
    16 'norm      '    .45929       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    17.265       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1731       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .95842       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=   6676.177     FROM MIGRAD    STATUS=CONVERGED    507 CALLS     2570 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2107        17.499       -.71597E-07   -.54243E-04
   2  Prefactor     50.208        28.776       -.10012E-05   -.41883E-03
   3  Prefactor     .10000E-03    4.3638       -.36432E-07** at limit **
   4  norm          1.7112        1.7195        .98686E-08   -.52676E-04
   5  Prefactor     .10002E-03    4.8581        .22387E-05** at limit **
   6  norm          7.5376        3.4572        .40976E-07   -.47363E-03
   7  Prefactor     21.524        20.804       -.61955E-07   -.10402E-04
   8  norm          .10000E-03    6.2350       -.11755E-06** at limit **
   9  norm          1.6050        2.7173        .92354E-07   -.54523E-04
  10  Prefactor     6.8502        22.321       -.39851E-05   -.32730E-03
  11  Prefactor     17.532        24.312       -.47686E-07   -.16759E-04
  12  Prefactor     8.6809        12.008        .22907E-06    .16724E-04
  13  Prefactor     36.411        32.132        .83442E-06    .30688E-04
  14  Prefactor     5.2577        36.033       -.17711E-05   -.72603E-04
  15  Prefactor     3.1574        5.0244        .42502E-05   -.38161E-03
  16  norm          .45929        .19209       -.10119E-08   -.19212E-03
  17  norm          .10000E-03    2.7387        .20392E-07** at limit **
  18  norm          .10000E-03    15.992       -.27866E-05** at limit **
  19  Prefactor     17.259        39.333       -.15575E-05   -.72663E-04
  20  Prefactor     .10000E-03    3.5664        .84277E-08** at limit **
  21  Prefactor     .10001E-03    17.587        .30447E-05** at limit **
  22  Normalizat    1.1733        .20702        .91932E-06   -.32516E-03
  23  Prefactor     .95825        .13853       -.53805E-06   -.25711E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.21066
  Prefactor  = 50.2077
  Prefactor  = 0.0001
  norm       = 1.71117
  Prefactor  = 0.000100019
  norm       = 7.53757
  Prefactor  = 21.524
  norm       = 0.0001
  norm       = 1.60495
  Prefactor  = 6.85024
  Prefactor  = 17.5315
  Prefactor  = 8.68089
  Prefactor  = 36.4106
  Prefactor  = 5.25768
  Prefactor  = 3.15739
  norm       = 0.459291
  norm       = 0.0001
  norm       = 0.000100005
  Prefactor  = 17.259
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Normalizat = 1.17325
  Prefactor  = 0.958245
 **********
 **   18 **HESSE 
 **********

 FCN=   6676.177     FROM HESSE     STATUS=OK           374 CALLS     2944 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2107        17.591        .19582E-03   -1.5298    
   2  Prefactor     50.208        29.046        .56589E-04   -1.4290    
   3  Prefactor     .10000E-03    4.3947        .16661E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.7112        1.7114        .10444E-03   -1.5446    
   5  Prefactor     .10002E-03    10.971        .33100E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          7.5376        3.4510        .98350E-04   -1.5159    
   7  Prefactor     21.524        20.804        .86335E-04   -1.4780    
   8  norm          .10000E-03    6.2407        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.6050        2.6841        .17003E-03   -1.5455    
  10  Prefactor     6.8502        22.980        .15290E-03   -1.5184    
  11  Prefactor     17.532        24.298        .95658E-04   -1.4870    
  12  Prefactor     8.6809        11.997        .13604E-03   -1.5119    
  13  Prefactor     36.411        32.213        .66420E-04   -1.4500    
  14  Prefactor     5.2577        36.249        .17514E-03   -1.5249    
  15  Prefactor     3.1574        5.1527        .11406E-02   -1.5353    
  16  norm          .45929        .19118        .22101E-04   -1.5572    
  17  norm          .10000E-03    2.7441        .13205E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    16.387        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     17.259        39.415        .96391E-04   -1.4877    
  20  Prefactor     .10000E-03    3.5821        .15069E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10001E-03    18.064        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1733        .24605        .28244E-03   -.87433    
  23  Prefactor     .95825        .16556        .21267E-03   -.94135    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.65419e-09
Minuit parameter uncertainties:
  1  17.2213
  2  29.0537
  3  3.17823e-06
  4  1.71146
  5  0.000908328
  6  3.45106
  7  20.811
  8  1.61787e-05
  9  2.68434
  10  23.0099
  11  24.3115
  12  12.0002
  13  32.228
  14  27.6344
  15  5.1534
  16  0.191181
  17  3.65974e-07
  18  0.000557792
  19  39.4748
  20  2.85099e-06
  21  0.000611865
  22  0.246297
  23  0.165644
Done.

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

Extracting fit parameters...

4FGL J1446.7+1719
   Spectrum: PowerLaw
233    Prefactor:  6.850e+00  2.301e+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.582e-01  1.656e-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.173e+00  2.463e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.11
Ra Dec: 221.688 17.324
Photon Flux Upper Limit: 1.06e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.27e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/783916/likelihoodResults_583027201_583286401_4FGL_J1446.7+1719_daily_bin1326.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6675.85385123
delta logL = 0.323134842269

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6675.81367478
delta logL = 0.363311301881

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1862       1.0000         .10000E-03   10000.    
     2 'Index     '    4.0200       1.0000          .0000       10.000    
     3 'Normalizat'    1.1259       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97680       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=   6675.814     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      263 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1819        63.320        .69595E-02    .18453E-02
   2  Index         4.0214        3.8900        .13051        .30043E-03
   3  Normalizat    1.1257        .56035E-01    .64941E-01    .90435E-04
   4  Prefactor     .97698        .37695E-01    .45976E-01   -.45248E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.18191
  Index      = 4.02138
  Normalizat = 1.12567
  Prefactor  = 0.976984
 **********
 **   18 **HESSE 
 **********

 FCN=   6675.814     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      294 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1819        142.15        .13419E-03   -1.5413    
   2  Index         4.0214        6.7888        .77081E-02   -.19700    
   3  Normalizat    1.1257        .21160        .28728E-03   -.88932    
   4  Prefactor     .97698        .14269        .21074E-03   -.93501    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.85134e-09
Minuit parameter uncertainties:
  1  35.3097
  2  8.81745
  3  0.211761
  4  0.142742
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/783916': 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) = 6675.81367384
delta logL = 0.363312237231

Extracting fit parameters...

4FGL J1446.7+1719
   Spectrum: PowerLaw
233    Prefactor:  2.182e+00  3.531e+01  1.000e-04  1.000e+04 ( 1.000e-13)
234        Index:  4.021e+00  8.817e+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:  9.770e-01  1.427e-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.126e+00  2.118e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.11
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/783916/cmap_HighResolution_583027201_583286401_4FGL_J1446.7+1719_daily_bin1326.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.27e-03', job_status='DONE', photon_flux_upper_limit='1.06e-07', time_completed='2021-09-10 09:46:46.586938', job_id='783916', GAL2='0.98', fit_tolerance='1e-08', EG2='1.13', EG='1.17', time_epoch_completed='1631292406.59', return_code2='102', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='3.63e-01', ts2='0.87', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='1326' AND source_name='4FGL J1446.7+1719' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:46:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0228>
Subject: Job 783916: <4FGL_J1446.7+1719_daily_bin1326> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.7+1719_daily_bin1326 221.688 17.3237 583027201 583286401 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 :                                   626.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             360.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   640 sec.
    Turnaround time :                            642 sec.

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

