aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 16 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 17418
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1446.7+1719_weekly_bin749
RA = 221.688, Dec = 17.3237
tmin = 691977601, tmax = 692582401
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='530716', job_status='RUN', time_executed='2022-12-13 01:10:56.696501', time_epoch_executed='1670922656.7' WHERE source_name='4FGL J1446.7+1719' and cadence='weekly' and bin_id='749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/530716

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/530716/ft1_4FGL_J1446.7+1719_weekly_bin749.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/530716/ft2_4FGL_J1446.7+1719_weekly_bin749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/530716/ft1_4FGL_J1446.7+1719_weekly_bin749.fits outfile=/scratch/kocevski/530716/ft1_filteredMKT_4FGL_J1446.7+1719_weekly_bin749.fits ra=221.688 dec=17.3237 rad=12.0 tmin=691977601.0 tmax=692582401.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 9.17
user 8.81
sys 0.31

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/530716/ft2_4FGL_J1446.7+1719_weekly_bin749.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/530716/ft1_filteredMKT_4FGL_J1446.7+1719_weekly_bin749.fits evtable="EVENTS" outfile="/scratch/kocevski/530716/ft1_filtered_4FGL_J1446.7+1719_weekly_bin749.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.56
user 0.36
sys 0.17

Number of photons that the gtmktime cut: 1663

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/530716/ft1_filtered_4FGL_J1446.7+1719_weekly_bin749.fits" evtable="EVENTS" scfile=/scratch/kocevski/530716/ft2_4FGL_J1446.7+1719_weekly_bin749.fits sctable="SC_DATA" outfile=/scratch/kocevski/530716/ltcube_691977601_692582401_4FGL_J1446.7+1719_weekly_bin749.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/530716/ft2_4FGL_J1446.7+1719_weekly_bin749.fits
.....................!
real 26.57
user 26.12
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/530716/ft1_filtered_4FGL_J1446.7+1719_weekly_bin749.fits evtable="EVENTS" scfile=/scratch/kocevski/530716/ft2_4FGL_J1446.7+1719_weekly_bin749.fits sctable="SC_DATA" expcube=/scratch/kocevski/530716/ltcube_691977601_692582401_4FGL_J1446.7+1719_weekly_bin749.fits outfile=/scratch/kocevski/530716/expmap_691977601_692582401_4FGL_J1446.7+1719_weekly_bin749.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/530716/ltcube_691977601_692582401_4FGL_J1446.7+1719_weekly_bin749.fits
.....................!
real 191.45
user 185.65
sys 5.27

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/530716/ft1_filtered_4FGL_J1446.7+1719_weekly_bin749.fits scfile=/scratch/kocevski/530716/ft2_4FGL_J1446.7+1719_weekly_bin749.fits outfile=/scratch/kocevski/530716/cmap_691977601_692582401_4FGL_J1446.7+1719_weekly_bin749.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.57
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/530716/ft1_filtered_4FGL_J1446.7+1719_weekly_bin749.fits scfile=/scratch/kocevski/530716/ft2_4FGL_J1446.7+1719_weekly_bin749.fits outfile=/scratch/kocevski/530716/cmap_HighResolution_691977601_692582401_4FGL_J1446.7+1719_weekly_bin749.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.58
user 0.41
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/530716/ft1_filtered_4FGL_J1446.7+1719_weekly_bin749.fits evtable="EVENTS" scfile=/scratch/kocevski/530716/ft2_4FGL_J1446.7+1719_weekly_bin749.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/530716/Model_4FGL_J1446.7+1719_weekly_bin749.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/530716/ft1_filtered_4FGL_J1446.7+1719_weekly_bin749.fits.....................!
real 117.64
user 116.04
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/530716/ft1_filtered_4FGL_J1446.7+1719_weekly_bin749.fits', '/scratch/kocevski/530716/ft2_4FGL_J1446.7+1719_weekly_bin749.fits', expMap='/scratch/kocevski/530716/expmap_691977601_692582401_4FGL_J1446.7+1719_weekly_bin749.fits', expCube='/scratch/kocevski/530716/ltcube_691977601_692582401_4FGL_J1446.7+1719_weekly_bin749.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/530716/Model_4FGL_J1446.7+1719_weekly_bin749.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  0.000e+00  1.000e+06 ( 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/530716/ft1_filtered_4FGL_J1446.7+1719_weekly_bin749.fits
Spacecraft file(s): /scratch/kocevski/530716/ft2_4FGL_J1446.7+1719_weekly_bin749.fits
Exposure map: /scratch/kocevski/530716/expmap_691977601_692582401_4FGL_J1446.7+1719_weekly_bin749.fits
Exposure cube: /scratch/kocevski/530716/ltcube_691977601_692582401_4FGL_J1446.7+1719_weekly_bin749.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/530716/Model_4FGL_J1446.7+1719_weekly_bin749.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) = 18389.6098101

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33784E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    66.582       1.0000          .0000       .10000E+07
     3 'Prefactor '    .11118E-03   1.0000          .0000       .10000E+07
     4 'norm      '    7.6574       1.0000          .0000       .10000E+07
     5 'norm      '    .19273E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    6.4173       1.0000          .0000       .10000E+07
     7 'norm      '    .17972E-03   1.0000          .0000       .10000E+07
     8 'norm      '    3.6526       1.0000          .0000       .10000E+07
     9 'Prefactor '    21.357       1.0000          .0000       .10000E+07
    10 'Prefactor '    .30590       1.0000          .0000       .10000E+07
    11 'Prefactor '    .35790E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.1710       1.0000          .0000       .10000E+07
    13 'norm      '    .66329       1.0000          .0000       .10000E+07
    14 'norm      '    .73942       1.0000          .0000       .10000E+07
    15 'norm      '    .53507E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .34890E-01   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.2736       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .94544       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=   18389.55     FROM MIGRAD    STATUS=CONVERGED    403 CALLS     1328 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    4.1159        .20425E-07** at limit **
   2  Prefactor     66.592        19.430        .72663E-07    .59281E-02
   3  Prefactor     .11102E-09    2.7889        .48468E-07** at limit **
   4  norm          7.6560        1.9188        .14893E-09   -.36309E-03
   5  norm           .0000        .80537        .48322E-09** at limit **
   6  Prefactor     6.4137        8.1455       -.14825E-06   -.67907E-02
   7  norm          .16653E-09    3.7225       -.91969E-07** at limit **
   8  norm          3.6505        2.1984        .67617E-07   -.56579E-02
   9  Prefactor     21.319        15.531        .11386E-07   -.10057E-03
  10  Prefactor     .10838E-05    4.3089       -.10725E-06** at limit **
  11  Prefactor     .16653E-09    10.005        .44296E-07** at limit **
  12  Prefactor     1.1691        3.6753        .25716E-06   -.18332E-02
  13  norm          .66329        .13471        .35214E-09    .15592E-01
  14  norm          .78608        3.6783        .10694E-06   -.79528E-03
  15  norm          .55511E-10    7.1931       -.30541E-07** at limit **
  16  Prefactor     .72164E-09    8.7018        .15078E-07** at limit **
  17  Normalizat    1.2742        .12877       -.55223E-06    .11777E-03
  18  Prefactor     .94534        .86690E-01    .84299E-08    .42898E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Prefactor  = 66.5924
  Prefactor  = 1.11022e-10
  norm       = 7.65601
  norm       = 0
  Prefactor  = 6.41367
  norm       = 1.66533e-10
  norm       = 3.6505
  Prefactor  = 21.3185
  Prefactor  = 1.0838e-06
  Prefactor  = 1.66533e-10
  Prefactor  = 1.16914
  norm       = 0.663289
  norm       = 0.78608
  norm       = 5.55112e-11
  Prefactor  = 7.21645e-10
  Normalizat = 1.27419
  Prefactor  = 0.945339
 **********
 **   18 **HESSE 
 **********

 FCN=   18389.55     FROM HESSE     STATUS=OK           248 CALLS     1576 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    4.1253        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     66.592        19.721        .49024E-05   -1.5545    
   3  Prefactor     .11102E-09    2.8184        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.6560        1.9189        .91115E-05   -1.5653    
   5  norm           .0000        .81719        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.4137        8.4786        .15839E-04   -1.5657    
   7  norm          .16653E-09    3.7277        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.6505        2.2133        .76175E-04   -1.5670    
   9  Prefactor     21.319        15.544        .86579E-05   -1.5616    
  10  Prefactor     .10838E-05    70.896        .52534E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .16653E-09    10.035        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.1691        3.7121        .42398E-04   -1.5686    
  13  norm          .66329        .13364        .21259E-05   -1.5692    
  14  norm          .78608        3.7120        .23026E-04   -1.5690    
  15  norm          .55511E-10    7.2039        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .72164E-09    52.323        .77009E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.2742        .15575        .28322E-03   -.84340    
  18  Prefactor     .94534        .10524        .21930E-03   -.94574    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50414e-08
Minuit parameter uncertainties:
  1  2.19213e-05
  2  19.7215
  3  3.66144e-05
  4  1.91885
  5  1.94101e-07
  6  8.4786
  7  5.09098e-05
  8  2.21329
  9  15.544
  10  0.0175315
  11  7.75964e-05
  12  3.7121
  13  0.133638
  14  3.41637
  15  4.52084e-05
  16  0.000381094
  17  0.155808
  18  0.105259
Done.

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

Extracting fit parameters...

4FGL J1446.7+1719
   Spectrum: PowerLaw
233    Prefactor:  2.132e+01  1.554e+01  0.000e+00  1.000e+06 ( 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.453e-01  1.053e-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.274e+00  1.558e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.57
Ra Dec: 221.688 17.324
Photon Index (Fixed Index): 2.50 +/- 0.00
Photon Flux (Fixed Index): 3.64e-08 +/- 2.65e-08
Energy Flux (Fixed Index): 1.06e-05 +/- 7.73e-06

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

Saving results to:
/scratch/kocevski/530716/likelihoodResults_691977601_692582401_4FGL_J1446.7+1719_weekly_bin749.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) = 18389.3140915
delta logL = 0.231682664518

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18389.3127708
delta logL = 0.233003433008

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    28.245       1.0000          .0000       .10000E+07
     2 'Index     '    2.0914       1.0000          .0000       10.000    
     3 'Normalizat'    1.2898       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93749       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=   18389.31     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      306 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     28.245        20.353        .75277E-05    .84573E-03
   2  Index         2.0914        .54659        .11377E-01    .18810E-04
   3  Normalizat    1.2898        .15462        .28176E-03    .14574E-03
   4  Prefactor     .93751        .10493        .22008E-03    .24754E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 28.2455
  Index      = 2.09136
  Normalizat = 1.28976
  Prefactor  = 0.937506
 **********
 **   18 **HESSE 
 **********

 FCN=   18389.31     FROM HESSE     STATUS=OK            25 CALLS      331 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     28.245        20.152        .30111E-06   -1.5602    
   2  Index         2.0914        .54108        .45508E-03   -.62085    
   3  Normalizat    1.2898        .15470        .11270E-04   -.83872    
   4  Prefactor     .93751        .10501        .88033E-05   -.94843    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.56529e-11
Minuit parameter uncertainties:
  1  20.152
  2  0.542688
  3  0.154753
  4  0.105029
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/530716': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18389.3127707
delta logL = 0.23300344505

Extracting fit parameters...

4FGL J1446.7+1719
   Spectrum: PowerLaw
233    Prefactor:  2.825e+01  2.015e+01  0.000e+00  1.000e+06 ( 1.000e-13)
234        Index:  2.091e+00  5.427e-01  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.375e-01  1.050e-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.290e+00  1.548e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.03
Ra Dec: 221.688 17.324
Photon Index (Free Index): 2.09 +/- 0.54
Photon Flux (Free Index): 2.69e-08 +/- 2.48e-08
Energy Flux (Free Index): 1.50e-05 +/- 1.38e-05

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/530716/cmap_HighResolution_691977601_692582401_4FGL_J1446.7+1719_weekly_bin749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.91e-03', comment='SUCCESS', photon_flux='3.64e-08', energy_flux2='1.50e-05', photon_flux_error='2.65e-08', dlogl='2.33e-01', energy_flux='1.06e-05', photon_flux2='2.69e-08', job_status='DONE', time_completed='2022-12-13 01:26:36.563752', photon_index_error2='0.54', photon_index2='2.09', ts='2.57', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='8.89e-08', energy_flux_error2='1.38e-05', EG='1.27', time_epoch_completed='1670923596.56', return_code='0', job_id='530716', GAL2='0.94', EG2='1.29', return_code2='0', energy_flux_error='7.73e-06', photon_flux_error2='2.48e-08', ts2='3.03', photon_index='2.50' WHERE bin_id='749' AND source_name='4FGL J1446.7+1719' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 13 01:26:36 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 530716: <4FGL_J1446.7+1719_weekly_bin749> in cluster <slac> Done

Job <4FGL_J1446.7+1719_weekly_bin749> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Dec 13 01:10:29 2022
Job was executed on host(s) <bullet0057>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 13 01:10:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 13 01:10:30 2022
Terminated at Tue Dec 13 01:26:37 2022
Results reported at Tue Dec 13 01:26:37 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.7+1719_weekly_bin749 221.688 17.3237 691977601 692582401 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 :                                   937.00 sec.
    Max Memory :                                 1050 MB
    Average Memory :                             347.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   966 sec.
    Turnaround time :                            968 sec.

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

