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


Performing analysis on: 4FGL_J1446.3+3111_daily_bin1744
RA = 221.591, Dec = 31.1955
tmin = 691372801, tmax = 691632001
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='583770', job_status='RUN', time_executed='2022-12-02 01:13:08.963969', time_epoch_executed='1669972388.96' WHERE source_name='4FGL J1446.3+3111' and cadence='daily' and bin_id='1744'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/583770

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/583770/ft1_4FGL_J1446.3+3111_daily_bin1744.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/583770/ft2_4FGL_J1446.3+3111_daily_bin1744.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/583770/ft1_4FGL_J1446.3+3111_daily_bin1744.fits outfile=/scratch/kocevski/583770/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin1744.fits ra=221.591 dec=31.1955 rad=12.0 tmin=691372801.0 tmax=691632001.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 2.50
user 2.31
sys 0.18

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

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

Number of photons that the gtmktime cut: 980

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/583770/ft1_filtered_4FGL_J1446.3+3111_daily_bin1744.fits" evtable="EVENTS" scfile=/scratch/kocevski/583770/ft2_4FGL_J1446.3+3111_daily_bin1744.fits sctable="SC_DATA" outfile=/scratch/kocevski/583770/ltcube_691372801_691632001_4FGL_J1446.3+3111_daily_bin1744.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/583770/ft2_4FGL_J1446.3+3111_daily_bin1744.fits
.....................!
real 12.86
user 12.52
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/583770/ft1_filtered_4FGL_J1446.3+3111_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/583770/ft2_4FGL_J1446.3+3111_daily_bin1744.fits sctable="SC_DATA" expcube=/scratch/kocevski/583770/ltcube_691372801_691632001_4FGL_J1446.3+3111_daily_bin1744.fits outfile=/scratch/kocevski/583770/expmap_691372801_691632001_4FGL_J1446.3+3111_daily_bin1744.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/583770/ltcube_691372801_691632001_4FGL_J1446.3+3111_daily_bin1744.fits
.....................!
real 189.54
user 184.91
sys 4.31

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/583770/ft1_filtered_4FGL_J1446.3+3111_daily_bin1744.fits scfile=/scratch/kocevski/583770/ft2_4FGL_J1446.3+3111_daily_bin1744.fits outfile=/scratch/kocevski/583770/cmap_691372801_691632001_4FGL_J1446.3+3111_daily_bin1744.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 3.61
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/583770/ft1_filtered_4FGL_J1446.3+3111_daily_bin1744.fits scfile=/scratch/kocevski/583770/ft2_4FGL_J1446.3+3111_daily_bin1744.fits outfile=/scratch/kocevski/583770/cmap_HighResolution_691372801_691632001_4FGL_J1446.3+3111_daily_bin1744.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.99
user 0.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/583770/ft1_filtered_4FGL_J1446.3+3111_daily_bin1744.fits', '/scratch/kocevski/583770/ft2_4FGL_J1446.3+3111_daily_bin1744.fits', expMap='/scratch/kocevski/583770/expmap_691372801_691632001_4FGL_J1446.3+3111_daily_bin1744.fits', expCube='/scratch/kocevski/583770/ltcube_691372801_691632001_4FGL_J1446.3+3111_daily_bin1744.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/583770/Model_4FGL_J1446.3+3111_daily_bin1744.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/583770/ft1_filtered_4FGL_J1446.3+3111_daily_bin1744.fits
Spacecraft file(s): /scratch/kocevski/583770/ft2_4FGL_J1446.3+3111_daily_bin1744.fits
Exposure map: /scratch/kocevski/583770/expmap_691372801_691632001_4FGL_J1446.3+3111_daily_bin1744.fits
Exposure cube: /scratch/kocevski/583770/ltcube_691372801_691632001_4FGL_J1446.3+3111_daily_bin1744.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/583770/Model_4FGL_J1446.3+3111_daily_bin1744.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) = 10602.7733481

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.917       1.0000          .0000       .10000E+07
     2 'norm      '    .92582E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .34502E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    14.975       1.0000          .0000       .10000E+07
     5 'Prefactor '    21.169       1.0000          .0000       .10000E+07
     6 'norm      '    .59008E-03   1.0000          .0000       .10000E+07
     7 'norm      '    5.7721       1.0000          .0000       .10000E+07
     8 'norm      '    2.4905       1.0000          .0000       .10000E+07
     9 'norm      '    .12157E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .31328       1.0000          .0000       .10000E+07
    11 'Prefactor '    86.885       1.0000          .0000       .10000E+07
    12 'norm      '    .16300E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    5.4462       1.0000          .0000       .10000E+07
    14 'Prefactor '    .53555       1.0000          .0000       .10000E+07
    15 'Prefactor '    9.2023       1.0000          .0000       .10000E+07
    16 'norm      '    1.7733       1.0000          .0000       .10000E+07
    17 'Prefactor '    .51022E-01   1.0000          .0000       .10000E+07
    18 'norm      '    1.9452       1.0000          .0000       .10000E+07
    19 'Prefactor '    .11872E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    .40030E-05   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.2530       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .90722       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=   10602.73     FROM MIGRAD    STATUS=CONVERGED    141 CALLS     1789 TOTAL
                     EDM=   .92E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.034        6.5559       -.70729E-07    .62755E-02
   2  norm          .21139E-06    4.5242        .24187E-06** at limit **
   3  Prefactor     .15599E-07    14.157        .92059E-06** at limit **
   4  Prefactor     14.657        12.697       -.13540E-07    .58393E-02
   5  Prefactor     21.158        4.7245       -.26067E-07    .18846E-02
   6  norm          .44964E-08    4.1520       -.50794E-06** at limit **
   7  norm          5.7732        2.4464       -.21785E-06    .53458E-02
   8  norm          2.4920        2.8135       -.15402E-06    .16266E-02
   9  norm          .38858E-09    2.9335        .44291E-06** at limit **
  10  norm          .32285        6.7023        .87291E-06    .36451E-03
  11  Prefactor     88.139        35.665       -.12533E-07    .89263E-03
  12  norm          .22204E-09    2.8995        .39450E-06** at limit **
  13  Prefactor     5.4447        2.0785        .46328E-07    .90490E-01
  14  Prefactor     .53701        2.9864       -.65498E-06   -.14356E-03
  15  Prefactor     9.2342        6.7158        .12838E-07    .68595E-02
  16  norm          1.7743        1.1878        .72798E-07   -.61218E-03
  17  Prefactor     .39191E-07    .68571        .77519E-07** at limit **
  18  norm          1.9456        .83836       -.35690E-07    .11525E-02
  19  Prefactor     .22204E-09    2.2634        .31204E-06** at limit **
  20  Prefactor     .81990E-07    8.2628        .40528E-06** at limit **
  21  Normalizat    1.2526        .18597       -.42987E-05    .35827E-04
  22  Prefactor     .90699        .16225        .22158E-05    .27146E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.0335
  norm       = 2.11386e-07
  Prefactor  = 1.55986e-08
  Prefactor  = 14.6566
  Prefactor  = 21.1577
  norm       = 4.4964e-09
  norm       = 5.77317
  norm       = 2.492
  norm       = 3.88578e-10
  norm       = 0.322849
  Prefactor  = 88.1395
  norm       = 2.22045e-10
  Prefactor  = 5.44467
  Prefactor  = 0.537011
  Prefactor  = 9.2342
  norm       = 1.77433
  Prefactor  = 3.91909e-08
  norm       = 1.94559
  Prefactor  = 2.22045e-10
  Prefactor  = 8.199e-08
  Normalizat = 1.25265
  Prefactor  = 0.906988
 **********
 **   18 **HESSE 
 **********

 FCN=   10602.73     FROM HESSE     STATUS=OK           398 CALLS     2187 TOTAL
                     EDM=   .30E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.034        6.5437        .26823E-03   -1.5633    
   2  norm          .21139E-06    10.290        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .15599E-07    14.223        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     14.657        14.269        .25856E-03   -1.5631    
   5  Prefactor     21.158        4.6997        .21741E-03   -1.5616    
   6  norm          .44964E-08    4.1729        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.7732        2.4489        .41781E-03   -1.5660    
   8  norm          2.4920        2.8230        .64743E-03   -1.5676    
   9  norm          .38858E-09    2.9186        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .32285        1.6038        .67836E-02   -1.5697    
  11  Prefactor     88.139        35.492        .10729E-03   -1.5520    
  12  norm          .22204E-09    2.8991        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.4447        9.6210        .43034E-03   -1.5661    
  14  Prefactor     .53701        3.0938        .75211E-03   -1.5693    
  15  Prefactor     9.2342        6.7245        .33014E-03   -1.5647    
  16  norm          1.7743        1.2049        .78595E-03   -1.5681    
  17  Prefactor     .39191E-07    30.111        .15500E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.9456        .84216        .74394E-03   -1.5680    
  19  Prefactor     .22204E-09    2.2686        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .81990E-07    10.266        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2526        .15713        .57424E-01   -.84991    
  22  Prefactor     .90699        .13727        .45097E-01   -.95897    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.03376e-06
Minuit parameter uncertainties:
  1  6.54366
  2  0.00294959
  3  0.000942517
  4  14.2689
  5  4.69971
  6  0.000274523
  7  2.44893
  8  2.82295
  9  6.69446e-05
  10  1.43914
  11  35.4925
  12  5.32465e-05
  13  9.62104
  14  2.57792
  15  6.72446
  16  1.2049
  17  0.00217309
  18  0.842165
  19  4.26624e-05
  20  0.00183464
  21  0.157191
  22  0.13732
Done.

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

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  8.814e+01  3.549e+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.070e-01  1.373e-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.253e+00  1.572e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.87
Ra Dec: 221.591 31.195
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 9.57e-08 +/- 3.85e-08
Energy Flux (Fixed Index): 2.62e-05 +/- 1.05e-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) = 10602.4289268
delta logL = 0.29773091794

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10602.4245368
delta logL = 0.302120855553

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    64.864       1.0000          .0000       .10000E+07
     2 'Index     '    2.8945       1.0000          .0000       10.000    
     3 'Normalizat'    1.2270       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92435       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=   10602.42     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      291 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     64.860        46.333        .49669E-05    .21140E-02
   2  Index         2.8944        .51277        .50610E-02    .14558E-03
   3  Normalizat    1.2270        .17566        .25613E-03   -.35195E-03
   4  Prefactor     .92439        .15927        .26821E-03   -.39674E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 64.8599
  Index      = 2.89445
  Normalizat = 1.22704
  Prefactor  = 0.92439
 **********
 **   18 **HESSE 
 **********

 FCN=   10602.42     FROM HESSE     STATUS=OK            25 CALLS      316 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     64.860        42.179        .99338E-06   -1.5547    
   2  Index         2.8944        .46645        .20244E-03   -.43467    
   3  Normalizat    1.2270        .17557        .51225E-04   -.85771    
   4  Prefactor     .92439        .15916        .10729E-04   -.95294    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.9452e-10
Minuit parameter uncertainties:
  1  42.1793
  2  0.46728
  3  0.175654
  4  0.159243
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/583770': 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) = 10602.4245366
delta logL = 0.302121078184

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  6.486e+01  4.218e+01  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.894e+00  4.673e-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.244e-01  1.592e-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.227e+00  1.757e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.53
Ra Dec: 221.591 31.195
Photon Index (Free Index): 2.89 +/- 0.47
Photon Flux (Free Index): 1.14e-07 +/- 4.78e-08
Energy Flux (Free Index): 2.41e-05 +/- 9.60e-06

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/583770/cmap_HighResolution_691372801_691632001_4FGL_J1446.3+3111_daily_bin1744.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.57e-08', energy_flux2='2.41e-05', photon_flux_error='3.85e-08', dlogl='3.02e-01', energy_flux='2.62e-05', photon_flux2='1.14e-07', job_status='DONE', time_completed='2022-12-02 01:24:13.479060', photon_index_error2='0.47', photon_index2='2.89', ts='9.87', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='9.60e-06', EG='1.25', time_epoch_completed='1669973053.48', return_code='0', job_id='583770', GAL2='0.92', EG2='1.23', return_code2='0', energy_flux_error='1.05e-05', photon_flux_error2='4.78e-08', ts2='10.53', photon_index='2.56' WHERE bin_id='1744' AND source_name='4FGL J1446.3+3111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec  2 01:24:13 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 583770: <4FGL_J1446.3+3111_daily_bin1744> in cluster <slac> Done

Job <4FGL_J1446.3+3111_daily_bin1744> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Dec  2 01:10:17 2022
Job was executed on host(s) <bullet0283>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec  2 01:10:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec  2 01:10:18 2022
Terminated at Fri Dec  2 01:24:14 2022
Results reported at Fri Dec  2 01:24:14 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.3+3111_daily_bin1744 221.591 31.1955 691372801 691632001 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 :                                   663.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             275.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   835 sec.
    Turnaround time :                            837 sec.

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

