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


Performing analysis on: 4FGL_J1446.3+3111_weekly_bin761
RA = 221.591, Dec = 31.1955
tmin = 699235201, tmax = 699840001
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='490807', job_status='RUN', time_executed='2023-03-07 01:22:51.363154', time_epoch_executed='1678180971.36' WHERE source_name='4FGL J1446.3+3111' and cadence='weekly' and bin_id='761'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/490807

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/490807/ft1_4FGL_J1446.3+3111_weekly_bin761.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/490807/ft2_4FGL_J1446.3+3111_weekly_bin761.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/490807/ft1_4FGL_J1446.3+3111_weekly_bin761.fits outfile=/scratch/kocevski/490807/ft1_filteredMKT_4FGL_J1446.3+3111_weekly_bin761.fits ra=221.591 dec=31.1955 rad=12.0 tmin=699235201.0 tmax=699840001.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 8.69
user 8.28
sys 0.33

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/490807/ft2_4FGL_J1446.3+3111_weekly_bin761.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/490807/ft1_filteredMKT_4FGL_J1446.3+3111_weekly_bin761.fits evtable="EVENTS" outfile="/scratch/kocevski/490807/ft1_filtered_4FGL_J1446.3+3111_weekly_bin761.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.58
user 0.37
sys 0.17

Number of photons that the gtmktime cut: 1397

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/490807/ft1_filtered_4FGL_J1446.3+3111_weekly_bin761.fits" evtable="EVENTS" scfile=/scratch/kocevski/490807/ft2_4FGL_J1446.3+3111_weekly_bin761.fits sctable="SC_DATA" outfile=/scratch/kocevski/490807/ltcube_699235201_699840001_4FGL_J1446.3+3111_weekly_bin761.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/490807/ft2_4FGL_J1446.3+3111_weekly_bin761.fits
.....................!
real 32.75
user 32.16
sys 0.42

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/490807/ft1_filtered_4FGL_J1446.3+3111_weekly_bin761.fits evtable="EVENTS" scfile=/scratch/kocevski/490807/ft2_4FGL_J1446.3+3111_weekly_bin761.fits sctable="SC_DATA" expcube=/scratch/kocevski/490807/ltcube_699235201_699840001_4FGL_J1446.3+3111_weekly_bin761.fits outfile=/scratch/kocevski/490807/expmap_699235201_699840001_4FGL_J1446.3+3111_weekly_bin761.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/490807/ltcube_699235201_699840001_4FGL_J1446.3+3111_weekly_bin761.fits
.....................!
real 191.66
user 185.78
sys 5.48

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/490807/ft1_filtered_4FGL_J1446.3+3111_weekly_bin761.fits scfile=/scratch/kocevski/490807/ft2_4FGL_J1446.3+3111_weekly_bin761.fits outfile=/scratch/kocevski/490807/cmap_699235201_699840001_4FGL_J1446.3+3111_weekly_bin761.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.59
user 0.42
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/490807/ft1_filtered_4FGL_J1446.3+3111_weekly_bin761.fits scfile=/scratch/kocevski/490807/ft2_4FGL_J1446.3+3111_weekly_bin761.fits outfile=/scratch/kocevski/490807/cmap_HighResolution_699235201_699840001_4FGL_J1446.3+3111_weekly_bin761.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.59
user 0.41
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.3857       1.0000          .0000       .10000E+07
     2 'norm      '    1.2322       1.0000          .0000       .10000E+07
     3 'Prefactor '    8.3209       1.0000          .0000       .10000E+07
     4 'Prefactor '    .17711E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    19.685       1.0000          .0000       .10000E+07
     6 'norm      '    .67615E-01   1.0000          .0000       .10000E+07
     7 'norm      '    3.0129       1.0000          .0000       .10000E+07
     8 'norm      '    .33029E-07   1.0000          .0000       .10000E+07
     9 'norm      '    .37302E-03   1.0000          .0000       .10000E+07
    10 'norm      '    3.5421       1.0000          .0000       .10000E+07
    11 'Prefactor '    188.24       1.0000          .0000       .10000E+07
    12 'norm      '    .10467E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    24.662       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.2661       1.0000          .0000       .10000E+07
    15 'Prefactor '    8.0988       1.0000          .0000       .10000E+07
    16 'norm      '    .28567       1.0000          .0000       .10000E+07
    17 'Prefactor '    .17007E-03   1.0000          .0000       .10000E+07
    18 'norm      '    1.9990       1.0000          .0000       .10000E+07
    19 'Prefactor '    .21975E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    .28840E-05   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.0116       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .90248       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=   15429.68     FROM MIGRAD    STATUS=CONVERGED    143 CALLS     1125 TOTAL
                     EDM=   .98E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3876        2.5104        .33095E-07   -.42465E-03
   2  norm          1.2282        1.3499        .16192E-07   -.25623E-03
   3  Prefactor     8.2582        6.9035       -.68425E-07    .39715E-02
   4  Prefactor     .10547E-08    2.7241       -.17233E-08** at limit **
   5  Prefactor     19.686        3.6301        .36965E-07   -.14635E-02
   6  norm          .50553        40.900        .76450E-06   -.18966E-02
   7  norm          3.0137        1.4082        .46428E-07   -.88428E-04
   8  norm          .55511E-10    1.1338        .75332E-07** at limit **
   9  norm          .58509E-07    3.4281        .17492E-06** at limit **
  10  norm          3.5444        2.5452       -.26543E-07    .46120E-03
  11  Prefactor     188.30        1.1242        .26947E-08   -.39953E-01
  12  norm          .28866E-08    9.3308        .87175E-07** at limit **
  13  Prefactor     24.738        8.6319        .98739E-07    .27827E-01
  14  Prefactor     2.2655        3.5333       -.18687E-06   -.10246E-03
  15  Prefactor     8.1128        5.6673       -.11587E-07   -.26499E-03
  16  norm          .28597        .94163        .13402E-06    .25031E-03
  17  Prefactor     .55511E-10    24.329       -.66501E-06** at limit **
  18  norm          1.9998        .71213       -.44938E-07    .52180E-02
  19  Prefactor     .55511E-09    2.9821       -.27616E-06** at limit **
  20  Prefactor     .16209E-07    2.2595        .16319E-06** at limit **
  21  Normalizat    1.0112        .14088       -.31918E-05   -.31386E-04
  22  Prefactor     .90237        .12540        .44190E-05   -.70971E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.38759
  norm       = 1.22819
  Prefactor  = 8.25819
  Prefactor  = 1.05471e-09
  Prefactor  = 19.6864
  norm       = 0.505525
  norm       = 3.0137
  norm       = 5.55112e-11
  norm       = 5.85088e-08
  norm       = 3.54445
  Prefactor  = 188.3
  norm       = 2.88658e-09
  Prefactor  = 24.7383
  Prefactor  = 2.26547
  Prefactor  = 8.11276
  norm       = 0.285966
  Prefactor  = 5.55112e-11
  norm       = 1.99982
  Prefactor  = 5.55112e-10
  Prefactor  = 1.62093e-08
  Normalizat = 1.01124
  Prefactor  = 0.902374
 **********
 **   18 **HESSE 
 **********

 FCN=   15429.68     FROM HESSE     STATUS=OK           404 CALLS     1529 TOTAL
                     EDM=   .36E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3876        2.5537        .92351E-03   -1.5684    
   2  norm          1.2282        1.3474        .10122E-02   -1.5686    
   3  Prefactor     8.2582        7.0790        .34730E-03   -1.5650    
   4  Prefactor     .10547E-08    4.8333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     19.686        3.6238        .22547E-03   -1.5619    
   6  norm          .50553        5.9801        .99625E-02   -1.5694    
   7  norm          3.0137        1.4064        .58446E-03   -1.5673    
   8  norm          .55511E-10    1.1229        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .58509E-07    1.0111        .63461E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.5444        2.5518        .53683E-03   -1.5670    
  11  Prefactor     188.30        34.774        .72893E-04   -1.5434    
  12  norm          .28866E-08    9.3704        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     24.738        11.208        .20141E-03   -1.5608    
  14  Prefactor     2.2655        3.6549        .68202E-03   -1.5678    
  15  Prefactor     8.1128        5.6303        .35206E-03   -1.5651    
  16  norm          .28597        .76446        .28427E-02   -1.5697    
  17  Prefactor     .55511E-10    24.537        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.9998        .71493        .73227E-03   -1.5680    
  19  Prefactor     .55511E-09    3.0158        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .16209E-07    4.2469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0112        .12382        .45134E-01   -.92655    
  22  Prefactor     .90237        .10717        .45037E-01   -.96058    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.5726e-08
Minuit parameter uncertainties:
  1  2.55374
  2  1.34736
  3  7.07901
  4  0.000142618
  5  3.62378
  6  3.47741
  7  1.40636
  8  1.68655e-05
  9  0.000486524
  10  2.55182
  11  34.7736
  12  0.000328324
  13  11.2079
  14  3.65486
  15  5.63031
  16  0.764462
  17  6.11449e-05
  18  0.714935
  19  8.23435e-05
  20  0.0005243
  21  0.123853
  22  0.107191
Done.

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

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  1.883e+02  3.477e+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.024e-01  1.072e-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.011e+00  1.239e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 69.04
Ra Dec: 221.591 31.195
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 2.04e-07 +/- 3.77e-08
Energy Flux (Fixed Index): 5.59e-05 +/- 1.03e-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) = 15429.4475731
delta logL = 0.227738238747

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15429.4462327
delta logL = 0.229078703916

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    208.17       1.0000          .0000       .10000E+07
     2 'Index     '    2.4230       1.0000          .0000       10.000    
     3 'Normalizat'    1.0303       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88980       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=   15429.45     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      295 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     208.18        47.940        .27726E-05   -.62653E-03
   2  Index         2.4230        .19699        .40261E-02    .98731E-03
   3  Normalizat    1.0304        .13818        .25588E-03   -.51628E-04
   4  Prefactor     .88974        .12309        .24866E-03   -.10653E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 208.176
  Index      = 2.42298
  Normalizat = 1.03042
  Prefactor  = 0.889741
 **********
 **   18 **HESSE 
 **********

 FCN=   15429.45     FROM HESSE     STATUS=OK            25 CALLS      320 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     208.18        47.206        .55453E-06   -1.5419    
   2  Index         2.4230        .19384        .80523E-03   -.54148    
   3  Normalizat    1.0304        .13829        .10235E-04   -.92018    
   4  Prefactor     .88974        .12319        .99462E-05   -.96501    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03503e-11
Minuit parameter uncertainties:
  1  47.206
  2  0.19391
  3  0.138338
  4  0.123227
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/490807': 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) = 15429.4462325
delta logL = 0.229078886179

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  2.082e+02  4.721e+01  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.423e+00  1.939e-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:  8.897e-01  1.232e-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.030e+00  1.383e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 69.18
Ra Dec: 221.591 31.195
Photon Index (Free Index): 2.42 +/- 0.19
Photon Flux (Free Index): 1.89e-07 +/- 4.25e-08
Energy Flux (Free Index): 6.01e-05 +/- 1.34e-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/490807/cmap_HighResolution_699235201_699840001_4FGL_J1446.3+3111_weekly_bin761.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.04e-07', energy_flux2='6.01e-05', photon_flux_error='3.77e-08', dlogl='2.29e-01', energy_flux='5.59e-05', photon_flux2='1.89e-07', job_status='DONE', time_completed='2023-03-07 01:36:09.531511', photon_index_error2='0.19', photon_index2='2.42', ts='69.04', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='1.34e-05', EG='1.01', time_epoch_completed='1678181769.53', return_code='0', job_id='490807', GAL2='0.89', EG2='1.03', return_code2='0', energy_flux_error='1.03e-05', photon_flux_error2='4.25e-08', ts2='69.18', photon_index='2.56' WHERE bin_id='761' AND source_name='4FGL J1446.3+3111' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Mar  7 01:36:09 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 490807: <4FGL_J1446.3+3111_weekly_bin761> in cluster <slac> Done

Job <4FGL_J1446.3+3111_weekly_bin761> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Tue Mar  7 01:20:28 2023
Job was executed on host(s) <bullet0110>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar  7 01:20:30 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar  7 01:20:30 2023
Terminated at Tue Mar  7 01:36:10 2023
Results reported at Tue Mar  7 01:36:10 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.3+3111_weekly_bin761 221.591 31.1955 699235201 699840001 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 :                                   785.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             263.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   939 sec.
    Turnaround time :                            942 sec.

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

