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


Performing analysis on: 4FGL_J1446.3+3111_daily_bin1747
RA = 221.591, Dec = 31.1955
tmin = 692150401, tmax = 692409601
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='804885', job_status='RUN', time_executed='2022-12-11 01:06:30.721676', time_epoch_executed='1670749590.72' WHERE source_name='4FGL J1446.3+3111' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/804885

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/804885/ft1_4FGL_J1446.3+3111_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/804885/ft2_4FGL_J1446.3+3111_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/804885/ft1_4FGL_J1446.3+3111_daily_bin1747.fits outfile=/scratch/kocevski/804885/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin1747.fits ra=221.591 dec=31.1955 rad=12.0 tmin=692150401.0 tmax=692409601.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.02
user 3.73
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/804885/ft2_4FGL_J1446.3+3111_daily_bin1747.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/804885/ft2_4FGL_J1446.3+3111_daily_bin1747.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/804885/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin1747.fits evtable="EVENTS" outfile="/scratch/kocevski/804885/ft1_filtered_4FGL_J1446.3+3111_daily_bin1747.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.49
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 732

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/804885/ft1_filtered_4FGL_J1446.3+3111_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/804885/ft2_4FGL_J1446.3+3111_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/804885/ltcube_692150401_692409601_4FGL_J1446.3+3111_daily_bin1747.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/804885/ft2_4FGL_J1446.3+3111_daily_bin1747.fits
.....................!
real 12.69
user 12.34
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/804885/ft1_filtered_4FGL_J1446.3+3111_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/804885/ft2_4FGL_J1446.3+3111_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/804885/ltcube_692150401_692409601_4FGL_J1446.3+3111_daily_bin1747.fits outfile=/scratch/kocevski/804885/expmap_692150401_692409601_4FGL_J1446.3+3111_daily_bin1747.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/804885/ltcube_692150401_692409601_4FGL_J1446.3+3111_daily_bin1747.fits
.....................!
real 191.24
user 185.34
sys 5.54

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

Setting source of interest to:
4FGL J1446.3+3111 @ 221.591 31.1955

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/804885/ft1_filtered_4FGL_J1446.3+3111_daily_bin1747.fits scfile=/scratch/kocevski/804885/ft2_4FGL_J1446.3+3111_daily_bin1747.fits outfile=/scratch/kocevski/804885/cmap_692150401_692409601_4FGL_J1446.3+3111_daily_bin1747.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.591 yref=31.1955 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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/804885/ft1_filtered_4FGL_J1446.3+3111_daily_bin1747.fits scfile=/scratch/kocevski/804885/ft2_4FGL_J1446.3+3111_daily_bin1747.fits outfile=/scratch/kocevski/804885/cmap_HighResolution_692150401_692409601_4FGL_J1446.3+3111_daily_bin1747.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.591 yref=31.1955 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/804885/ft1_filtered_4FGL_J1446.3+3111_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/804885/ft2_4FGL_J1446.3+3111_daily_bin1747.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/804885/Model_4FGL_J1446.3+3111_daily_bin1747.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/804885/ft1_filtered_4FGL_J1446.3+3111_daily_bin1747.fits.....................!
real 59.51
user 58.14
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/804885/ft1_filtered_4FGL_J1446.3+3111_daily_bin1747.fits', '/scratch/kocevski/804885/ft2_4FGL_J1446.3+3111_daily_bin1747.fits', expMap='/scratch/kocevski/804885/expmap_692150401_692409601_4FGL_J1446.3+3111_daily_bin1747.fits', expCube='/scratch/kocevski/804885/ltcube_692150401_692409601_4FGL_J1446.3+3111_daily_bin1747.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/804885/Model_4FGL_J1446.3+3111_daily_bin1747.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1446.3+3111'

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  5.552e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.556e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  7.435e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/804885/ft1_filtered_4FGL_J1446.3+3111_daily_bin1747.fits
Spacecraft file(s): /scratch/kocevski/804885/ft2_4FGL_J1446.3+3111_daily_bin1747.fits
Exposure map: /scratch/kocevski/804885/expmap_692150401_692409601_4FGL_J1446.3+3111_daily_bin1747.fits
Exposure cube: /scratch/kocevski/804885/ltcube_692150401_692409601_4FGL_J1446.3+3111_daily_bin1747.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/804885/Model_4FGL_J1446.3+3111_daily_bin1747.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) = 7778.91219094

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6378       1.0000          .0000       .10000E+07
     2 'norm      '    4.4080       1.0000          .0000       .10000E+07
     3 'Prefactor '    12.674       1.0000          .0000       .10000E+07
     4 'Prefactor '    .54755E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    68.583       1.0000          .0000       .10000E+07
     6 'norm      '    .61534E-03   1.0000          .0000       .10000E+07
     7 'norm      '    6.5379       1.0000          .0000       .10000E+07
     8 'norm      '    1.5815       1.0000          .0000       .10000E+07
     9 'norm      '    .16152E-04   1.0000          .0000       .10000E+07
    10 'norm      '    10.505       1.0000          .0000       .10000E+07
    11 'Prefactor '    67.423       1.0000          .0000       .10000E+07
    12 'norm      '    .75095E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    16.939       1.0000          .0000       .10000E+07
    14 'Prefactor '    .44587E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    15.125       1.0000          .0000       .10000E+07
    16 'norm      '    4.0361       1.0000          .0000       .10000E+07
    17 'Prefactor '    .10689E-02   1.0000          .0000       .10000E+07
    18 'norm      '    .13978E-06   1.0000          .0000       .10000E+07
    19 'Prefactor '    2.0794       1.0000          .0000       .10000E+07
    20 'Prefactor '    .14453E-02   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.0209       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .92787       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7778.893     FROM MIGRAD    STATUS=CONVERGED    172 CALLS     1791 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6183        5.4931        .19794E-05   -.39120E-02
   2  norm          4.3634        3.4883       -.27212E-06    .96557E-03
   3  Prefactor     12.704        11.514       -.25000E-05   -.20102E-01
   4  Prefactor     .55511E-10    25.930        .57888E-05** at limit **
   5  Prefactor     68.578        8.4466        .28743E-06   -.14487E-01
   6  norm          .11102E-09    6.5263        .89892E-06** at limit **
   7  norm          6.5346        2.5232        .24184E-06   -.21102E-02
   8  norm          1.5835        2.8688       -.31166E-07    .30173E-03
   9  norm          .55511E-10    2.0166       -.68404E-06** at limit **
  10  norm          10.500        5.0477        .16768E-06    .59483E-02
  11  Prefactor     68.010        36.822       -.77003E-05    .12287E-01
  12  norm          .33307E-09    3.0825       -.88589E-06** at limit **
  13  Prefactor     17.021        12.799        .58018E-06    .29969E-01
  14  Prefactor     .38858E-09    5.3951       -.18099E-05** at limit **
  15  Prefactor     15.155        5.3144       -.32381E-06   -.90132E-01
  16  norm          4.0374        1.5426       -.27781E-06   -.55290E-02
  17  Prefactor     .55511E-10    129.49        .29508E-05** at limit **
  18  norm           .0000        .32325        .22493E-07** at limit **
  19  Prefactor     2.0972        6.5946       -.13910E-05   -.20179E-02
  20  Prefactor     .22204E-08    20.048        .14189E-05** at limit **
  21  Normalizat    1.0207        .21191        .33373E-04   -.46707E-03
  22  Prefactor     .92775        .18583       -.28997E-04   -.55932E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.61828
  norm       = 4.3634
  Prefactor  = 12.7042
  Prefactor  = 5.55112e-11
  Prefactor  = 68.5777
  norm       = 1.11022e-10
  norm       = 6.53459
  norm       = 1.58349
  norm       = 5.55112e-11
  norm       = 10.4997
  Prefactor  = 68.0098
  norm       = 3.33067e-10
  Prefactor  = 17.0211
  Prefactor  = 3.88578e-10
  Prefactor  = 15.1549
  norm       = 4.03741
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 2.09716
  Prefactor  = 2.22045e-09
  Normalizat = 1.02074
  Prefactor  = 0.927753
 **********
 **   18 **HESSE 
 **********

 FCN=   7778.893     FROM HESSE     STATUS=OK           390 CALLS     2181 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6183        5.5249        .82552E-03   -1.5683    
   2  norm          4.3634        3.4988        .47943E-03   -1.5666    
   3  Prefactor     12.704        11.781        .28111E-03   -1.5637    
   4  Prefactor     .55511E-10    25.941        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     68.578        8.4292        .12076E-03   -1.5542    
   6  norm          .11102E-09    6.5711        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.5346        2.5252        .39225E-03   -1.5657    
   8  norm          1.5835        2.9087        .84414E-03   -1.5683    
   9  norm          .55511E-10    2.0223        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          10.500        5.0491        .30888E-03   -1.5643    
  11  Prefactor     68.010        37.045        .12179E-03   -1.5543    
  12  norm          .33307E-09    3.0849        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     17.021        13.315        .24308E-03   -1.5625    
  14  Prefactor     .38858E-09    5.3920        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     15.155        12.763        .25728E-03   -1.5630    
  16  norm          4.0374        1.5466        .50169E-03   -1.5668    
  17  Prefactor     .55511E-10    130.09        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        .32267        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.0972        6.6585        .71589E-03   -1.5679    
  20  Prefactor     .22204E-08    20.052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0207        .17979        .62881E-01   -.92339    
  22  Prefactor     .92775        .15998        .45359E-01   -.95178    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5997e-06
Minuit parameter uncertainties:
  1  5.52491
  2  3.49875
  3  11.7812
  4  5.98371e-05
  5  8.42918
  6  5.47739e-05
  7  2.52515
  8  2.90866
  9  2.14224e-05
  10  5.04907
  11  37.0451
  12  6.43602e-05
  13  13.3153
  14  9.40151e-05
  15  12.7634
  16  1.54657
  17  0.000184947
  18  5.23251e-06
  19  6.65852
  20  0.000423599
  21  0.179899
  22  0.160059
Done.

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

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  6.801e+01  3.705e+01  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.556e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  7.435e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  9.278e-01  1.601e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.021e+00  1.799e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.59
Ra Dec: 221.591 31.195
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 7.38e-08 +/- 4.02e-08
Energy Flux (Fixed Index): 2.02e-05 +/- 1.10e-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) = 7778.83981202
delta logL = 0.0532796215284

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7778.83221454
delta logL = 0.0608771062052

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    76.480       1.0000          .0000       .10000E+07
     2 'Index     '    2.3830       1.0000          .0000       10.000    
     3 'Normalizat'    1.0310       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92107       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+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=   7778.832     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      297 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     76.484        47.571        .45742E-05   -.49922E-02
   2  Index         2.3831        .49284        .69131E-02   -.33213E-03
   3  Normalizat    1.0306        .20057        .27698E-03    .22505E-03
   4  Prefactor     .92143        .18209        .26652E-03    .27035E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 76.4841
  Index      = 2.38309
  Normalizat = 1.0306
  Prefactor  = 0.921431
 **********
 **   18 **HESSE 
 **********

 FCN=   7778.832     FROM HESSE     STATUS=OK            23 CALLS      320 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     76.484        46.704        .91483E-06   -1.5533    
   2  Index         2.3831        .48358        .27653E-03   -.55082    
   3  Normalizat    1.0306        .20071        .11079E-04   -.92012    
   4  Prefactor     .92143        .18222        .10661E-04   -.95396    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.52942e-09
Minuit parameter uncertainties:
  1  46.7041
  2  0.484623
  3  0.200855
  4  0.182341
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/804885': 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) = 7778.83221223
delta logL = 0.060879411034

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  7.648e+01  4.670e+01  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.383e+00  4.846e-01  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  7.435e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  9.214e-01  1.823e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.031e+00  2.009e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.67
Ra Dec: 221.591 31.195
Photon Index (Free Index): 2.38 +/- 0.48
Photon Flux (Free Index): 6.60e-08 +/- 4.38e-08
Energy Flux (Free Index): 2.21e-05 +/- 1.39e-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/804885/cmap_HighResolution_692150401_692409601_4FGL_J1446.3+3111_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.38e-08', energy_flux2='2.21e-05', photon_flux_error='4.02e-08', dlogl='6.09e-02', energy_flux='2.02e-05', photon_flux2='6.60e-08', job_status='DONE', time_completed='2022-12-11 01:16:17.719665', photon_index_error2='0.48', photon_index2='2.38', ts='6.59', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='1.39e-05', EG='1.02', time_epoch_completed='1670750177.72', return_code='0', job_id='804885', GAL2='0.92', EG2='1.03', return_code2='0', energy_flux_error='1.10e-05', photon_flux_error2='4.38e-08', ts2='6.67', photon_index='2.56' WHERE bin_id='1747' AND source_name='4FGL J1446.3+3111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 01:16:17 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0182>
Subject: Job 804885: <4FGL_J1446.3+3111_daily_bin1747> in cluster <slac> Done

Job <4FGL_J1446.3+3111_daily_bin1747> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Dec 11 01:05:17 2022
Job was executed on host(s) <bullet0182>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 01:05:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 01:05:18 2022
Terminated at Sun Dec 11 01:16:18 2022
Results reported at Sun Dec 11 01:16:18 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.3+3111_daily_bin1747 221.591 31.1955 692150401 692409601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1446.3+3111 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   589.20 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             274.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   660 sec.
    Turnaround time :                            661 sec.

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

