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


Performing analysis on: 4FGL_J1446.3+3111_daily_bin1751
RA = 221.591, Dec = 31.1955
tmin = 693187201, tmax = 693446401
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='80335', job_status='RUN', time_executed='2022-12-23 00:52:46.779841', time_epoch_executed='1671785566.78' WHERE source_name='4FGL J1446.3+3111' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/80335

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/80335/ft1_4FGL_J1446.3+3111_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/80335/ft2_4FGL_J1446.3+3111_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/80335/ft1_4FGL_J1446.3+3111_daily_bin1751.fits outfile=/scratch/kocevski/80335/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin1751.fits ra=221.591 dec=31.1955 rad=12.0 tmin=693187201.0 tmax=693446401.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.65
user 3.43
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/80335/ft2_4FGL_J1446.3+3111_daily_bin1751.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/80335/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/80335/ft1_filtered_4FGL_J1446.3+3111_daily_bin1751.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.52
user 0.33
sys 0.17

Number of photons that the gtmktime cut: 620

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/80335/ft1_filtered_4FGL_J1446.3+3111_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/80335/ft2_4FGL_J1446.3+3111_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/80335/ltcube_693187201_693446401_4FGL_J1446.3+3111_daily_bin1751.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/80335/ft2_4FGL_J1446.3+3111_daily_bin1751.fits
.....................!
real 12.17
user 11.82
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/80335/ft1_filtered_4FGL_J1446.3+3111_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/80335/ft2_4FGL_J1446.3+3111_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/80335/ltcube_693187201_693446401_4FGL_J1446.3+3111_daily_bin1751.fits outfile=/scratch/kocevski/80335/expmap_693187201_693446401_4FGL_J1446.3+3111_daily_bin1751.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/80335/ltcube_693187201_693446401_4FGL_J1446.3+3111_daily_bin1751.fits
.....................!
real 190.60
user 185.44
sys 4.85

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/80335/ft1_filtered_4FGL_J1446.3+3111_daily_bin1751.fits scfile=/scratch/kocevski/80335/ft2_4FGL_J1446.3+3111_daily_bin1751.fits outfile=/scratch/kocevski/80335/cmap_693187201_693446401_4FGL_J1446.3+3111_daily_bin1751.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/80335/ft1_filtered_4FGL_J1446.3+3111_daily_bin1751.fits scfile=/scratch/kocevski/80335/ft2_4FGL_J1446.3+3111_daily_bin1751.fits outfile=/scratch/kocevski/80335/cmap_HighResolution_693187201_693446401_4FGL_J1446.3+3111_daily_bin1751.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/80335/ft1_filtered_4FGL_J1446.3+3111_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/80335/ft2_4FGL_J1446.3+3111_daily_bin1751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/80335/Model_4FGL_J1446.3+3111_daily_bin1751.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/80335/ft1_filtered_4FGL_J1446.3+3111_daily_bin1751.fits....................!
real 50.08
user 48.69
sys 1.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.0653       1.0000          .0000       .10000E+07
     2 'norm      '    5.7969       1.0000          .0000       .10000E+07
     3 'Prefactor '    .11368E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .11561E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    38.475       1.0000          .0000       .10000E+07
     6 'norm      '    .87073E-04   1.0000          .0000       .10000E+07
     7 'norm      '    6.3547       1.0000          .0000       .10000E+07
     8 'norm      '    .12668E-06   1.0000          .0000       .10000E+07
     9 'norm      '    .93431E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .14355E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    115.39       1.0000          .0000       .10000E+07
    12 'norm      '    .73056E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .20084E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    8.2321       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.5106       1.0000          .0000       .10000E+07
    16 'norm      '    .18968       1.0000          .0000       .10000E+07
    17 'Prefactor '    26.141       1.0000          .0000       .10000E+07
    18 'norm      '    1.0543       1.0000          .0000       .10000E+07
    19 'Prefactor '    .20925E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    7.3866       1.0000          .0000       .10000E+07
    21 'Normalizat'    .73803       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1979       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=   6645.843     FROM MIGRAD    STATUS=CONVERGED    192 CALLS     1845 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.0560        4.7862       -.50717E-07    .31577E-03
   2  norm          5.7851        4.1670       -.84807E-06   -.50754E-03
   3  Prefactor     .55511E-09    14.949        .33407E-05** at limit **
   4  Prefactor     .37192E-08    18.624        .15552E-05** at limit **
   5  Prefactor     38.611        7.1901        .29193E-06    .90565E-03
   6  norm           .0000        3.7374        .20714E-05** at limit **
   7  norm          6.3543        2.7877       -.35250E-06    .34077E-02
   8  norm           .0000        1.0499        .47915E-06** at limit **
   9  norm          .77494E-07    103.88       -.12750E-04** at limit **
  10  norm           .0000        2.5992       -.64474E-06** at limit **
  11  Prefactor     117.09        46.249        .63509E-07    .43542E-01
  12  norm          .17042E-07    30.742       -.49541E-06** at limit **
  13  Prefactor     .27756E-09    9.1928        .10369E-05** at limit **
  14  Prefactor     8.1561        7.9338        .30138E-06   -.48155E-04
  15  Prefactor     2.4793        8.7678        .22716E-05   -.78680E-03
  16  norm          .20036        1.5790        .14316E-05** at limit **
  17  Prefactor     24.862        67.323       -.26985E-05    .16505E-01
  18  norm          1.0554        .90410        .19703E-06   -.10717E-02
  19  Prefactor      .0000        7.4035        .11887E-06** at limit **
  20  Prefactor     7.4217        9.8817       -.28375E-06   -.80071E-01
  21  Normalizat    .73606        .21055       -.54717E-05    .87551E-04
  22  Prefactor     1.1992        .19466        .18731E-05    .90196E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.05596
  norm       = 5.78506
  Prefactor  = 5.55112e-10
  Prefactor  = 3.71925e-09
  Prefactor  = 38.6105
  norm       = 0
  norm       = 6.35429
  norm       = 0
  norm       = 7.74936e-08
  norm       = 0
  Prefactor  = 117.093
  norm       = 1.70419e-08
  Prefactor  = 2.77556e-10
  Prefactor  = 8.15612
  Prefactor  = 2.47928
  norm       = 0.200357
  Prefactor  = 24.8618
  norm       = 1.05538
  Prefactor  = 0
  Prefactor  = 7.42167
  Normalizat = 0.736062
  Prefactor  = 1.19916
 **********
 **   18 **HESSE 
 **********

 FCN=   6645.843     FROM HESSE     STATUS=OK           402 CALLS     2247 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.0560        4.7875        .40744E-03   -1.5659    
   2  norm          5.7851        4.1688        .41690E-03   -1.5660    
   3  Prefactor     .55511E-09    14.897        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .37192E-08    18.565        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     38.611        7.1718        .16123E-03   -1.5584    
   6  norm           .0000        3.7462        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.3543        2.7893        .39794E-03   -1.5658    
   8  norm           .0000        1.0460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .77494E-07    3.4430        .10448E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.5857        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     117.09        46.878        .93099E-04   -1.5492    
  12  norm          .17042E-07    30.400        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .27756E-09    9.1933        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     8.1561        7.5865        .34918E-03   -1.5651    
  15  Prefactor     2.4793        8.7828        .64459E-03   -1.5676    
  16  norm          .20036        .83271        .27801E-02   -1.5717    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     24.862        68.369        .19562E-03   -1.5608    
  18  norm          1.0554        .93040        .12002E-02   -1.5687    
  19  Prefactor      .0000        7.4045        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     7.4217        36.198        .36879E-03   -1.5653    
  21  Normalizat    .73606        .18071        .66808E-01   -1.0249    
  22  Prefactor     1.1992        .16499        .51341E-01   -.86357    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1742e-06
Minuit parameter uncertainties:
  1  4.7875
  2  4.16881
  3  0.00018024
  4  0.000526696
  5  7.17175
  6  1.28955e-05
  7  2.78927
  8  4.34368e-07
  9  0.00103303
  10  8.51414e-06
  11  46.8782
  12  0.00143914
  13  9.88121e-05
  14  7.58655
  15  8.78286
  16  0.816917
  17  68.3709
  18  0.930402
  19  1.45307e-05
  20  32.7815
  21  0.180859
  22  0.165057
Done.

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

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  1.171e+02  4.688e+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:  1.199e+00  1.651e-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:  7.361e-01  1.809e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.74
Ra Dec: 221.591 31.195
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 1.27e-07 +/- 5.08e-08
Energy Flux (Fixed Index): 3.48e-05 +/- 1.39e-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) = 6645.84221607
delta logL = 0.00102966717168

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6645.84097224
delta logL = 0.00227349718898

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    113.97       1.0000          .0000       .10000E+07
     2 'Index     '    2.5864       1.0000          .0000       10.000    
     3 'Normalizat'    .73343       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2011       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=   6645.841     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      272 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     113.99        68.434        .37470E-05    .99517E-04
   2  Index         2.5862        .46664        .47589E-02    .47706E-03
   3  Normalizat    .73349        .20408        .29606E-03   -.58368E-05
   4  Prefactor     1.2010        .19186        .22683E-03   -.31726E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 113.991
  Index      = 2.58623
  Normalizat = 0.733493
  Prefactor  = 1.20101
 **********
 **   18 **HESSE 
 **********

 FCN=   6645.841     FROM HESSE     STATUS=OK            25 CALLS      297 TOTAL
                     EDM=   .46E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     113.99        65.664        .74940E-06   -1.5494    
   2  Index         2.5862        .44747        .95178E-03   -.50380    
   3  Normalizat    .73349        .20412        .11842E-04   -1.0259    
   4  Prefactor     1.2010        .19189        .90730E-05   -.86300    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.63963e-12
Minuit parameter uncertainties:
  1  65.6645
  2  0.448252
  3  0.204332
  4  0.192005
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/80335': 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) = 6645.84097214
delta logL = 0.00227360000554

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  1.140e+02  6.566e+01  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.586e+00  4.483e-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:  1.201e+00  1.920e-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:  7.335e-01  2.043e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.75
Ra Dec: 221.591 31.195
Photon Index (Free Index): 2.59 +/- 0.45
Photon Flux (Free Index): 1.29e-07 +/- 5.74e-08
Energy Flux (Free Index): 3.42e-05 +/- 1.57e-05

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/80335/cmap_HighResolution_693187201_693446401_4FGL_J1446.3+3111_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.27e-07', energy_flux2='3.42e-05', photon_flux_error='5.08e-08', dlogl='2.27e-03', energy_flux='3.48e-05', photon_flux2='1.29e-07', job_status='DONE', time_completed='2022-12-23 01:01:47.885635', photon_index_error2='0.45', photon_index2='2.59', ts='12.74', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', energy_flux_error2='1.57e-05', EG='0.74', time_epoch_completed='1671786107.89', return_code='0', job_id='80335', GAL2='1.20', EG2='0.73', return_code2='0', energy_flux_error='1.39e-05', photon_flux_error2='5.74e-08', ts2='12.75', photon_index='2.56' WHERE bin_id='1751' AND source_name='4FGL J1446.3+3111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 01:01:47 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 80335: <4FGL_J1446.3+3111_daily_bin1751> in cluster <slac> Done

Job <4FGL_J1446.3+3111_daily_bin1751> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Dec 23 00:50:17 2022
Job was executed on host(s) <bullet0223>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 00:50:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 00:50:18 2022
Terminated at Fri Dec 23 01:01:48 2022
Results reported at Fri Dec 23 01:01:48 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.3+3111_daily_bin1751 221.591 31.1955 693187201 693446401 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 :                                   543.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             302.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   690 sec.
    Turnaround time :                            691 sec.

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

