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 203 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_J1148.5+2629_daily_bin1751
RA = 177.141, Dec = 26.4986
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='76419', job_status='RUN', time_executed='2022-12-23 00:38:50.983385', time_epoch_executed='1671784730.98' WHERE source_name='4FGL J1148.5+2629' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/76419

Creating custom pfile directory:
/scratch/kocevski/76419/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/76419/ft1_4FGL_J1148.5+2629_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/76419/ft2_4FGL_J1148.5+2629_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/76419/ft1_4FGL_J1148.5+2629_daily_bin1751.fits outfile=/scratch/kocevski/76419/ft1_filteredMKT_4FGL_J1148.5+2629_daily_bin1751.fits ra=177.141 dec=26.4986 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.62
user 3.42
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/76419/ft2_4FGL_J1148.5+2629_daily_bin1751.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/76419/ft2_4FGL_J1148.5+2629_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/76419/ft1_filteredMKT_4FGL_J1148.5+2629_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/76419/ft1_filtered_4FGL_J1148.5+2629_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.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 703

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/76419/ft1_filtered_4FGL_J1148.5+2629_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/76419/ft2_4FGL_J1148.5+2629_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/76419/ltcube_693187201_693446401_4FGL_J1148.5+2629_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/76419/ft2_4FGL_J1148.5+2629_daily_bin1751.fits
.....................!
real 12.14
user 11.77
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/76419/ft1_filtered_4FGL_J1148.5+2629_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/76419/ft2_4FGL_J1148.5+2629_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/76419/ltcube_693187201_693446401_4FGL_J1148.5+2629_daily_bin1751.fits outfile=/scratch/kocevski/76419/expmap_693187201_693446401_4FGL_J1148.5+2629_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/76419/ltcube_693187201_693446401_4FGL_J1148.5+2629_daily_bin1751.fits
.....................!
real 189.64
user 185.18
sys 4.07

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

Setting source of interest to:
4FGL J1148.5+2629 @ 177.141 26.4986

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/76419/ft1_filtered_4FGL_J1148.5+2629_daily_bin1751.fits scfile=/scratch/kocevski/76419/ft2_4FGL_J1148.5+2629_daily_bin1751.fits outfile=/scratch/kocevski/76419/cmap_693187201_693446401_4FGL_J1148.5+2629_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=177.141 yref=26.4986 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.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/76419/ft1_filtered_4FGL_J1148.5+2629_daily_bin1751.fits scfile=/scratch/kocevski/76419/ft2_4FGL_J1148.5+2629_daily_bin1751.fits outfile=/scratch/kocevski/76419/cmap_HighResolution_693187201_693446401_4FGL_J1148.5+2629_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=177.141 yref=26.4986 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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/76419/ft1_filtered_4FGL_J1148.5+2629_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/76419/ft2_4FGL_J1148.5+2629_daily_bin1751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/76419/Model_4FGL_J1148.5+2629_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/76419/ft1_filtered_4FGL_J1148.5+2629_daily_bin1751.fits.....................!
real 65.19
user 63.79
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/76419/ft1_filtered_4FGL_J1148.5+2629_daily_bin1751.fits', '/scratch/kocevski/76419/ft2_4FGL_J1148.5+2629_daily_bin1751.fits', expMap='/scratch/kocevski/76419/expmap_693187201_693446401_4FGL_J1148.5+2629_daily_bin1751.fits', expCube='/scratch/kocevski/76419/ltcube_693187201_693446401_4FGL_J1148.5+2629_daily_bin1751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/76419/Model_4FGL_J1148.5+2629_daily_bin1751.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1148.5+2629'

4FGL J1148.5+2629
   Spectrum: PowerLaw
287    Prefactor:  3.615e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  2.924e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  3.685e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/76419/ft1_filtered_4FGL_J1148.5+2629_daily_bin1751.fits
Spacecraft file(s): /scratch/kocevski/76419/ft2_4FGL_J1148.5+2629_daily_bin1751.fits
Exposure map: /scratch/kocevski/76419/expmap_693187201_693446401_4FGL_J1148.5+2629_daily_bin1751.fits
Exposure cube: /scratch/kocevski/76419/ltcube_693187201_693446401_4FGL_J1148.5+2629_daily_bin1751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/76419/Model_4FGL_J1148.5+2629_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) = 7337.95578164

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .63580E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    2.8133       1.0000          .0000       .10000E+07
     3 'norm      '    .14077E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .10323E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .11123E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .17327       1.0000          .0000       .10000E+07
     7 'Prefactor '    .63653E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .58336E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    15.320       1.0000          .0000       .10000E+07
    10 'Prefactor '    19.347       1.0000          .0000       .10000E+07
    11 'Prefactor '    .19164E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.8030       1.0000          .0000       .10000E+07
    13 'Prefactor '    .13854E-05   1.0000          .0000       .10000E+07
    14 'norm      '    25.312       1.0000          .0000       .10000E+07
    15 'Prefactor '    .25115E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .31763E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    .19651E-07   1.0000          .0000       .10000E+07
    18 'norm      '    4.3610       1.0000          .0000       .10000E+07
    19 'Prefactor '    6.2051       1.0000          .0000       .10000E+07
    20 'Prefactor '    .94757       1.0000          .0000       .10000E+07
    21 'Prefactor '    2.1666       1.0000          .0000       .10000E+07
    22 'Prefactor '    1.0079       1.0000          .0000       .10000E+07
    23 'norm      '    .26024       1.0000          .0000       .10000E+07
    24 'norm      '    13.737       1.0000          .0000       .10000E+07
    25 'Prefactor '    9.0457       1.0000          .0000       .10000E+07
    26 'Normalizat'    1.0642       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .80762       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6180E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7337.869     FROM MIGRAD    STATUS=CONVERGED    150 CALLS     1862 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49960E-09    13.623       -.11791E-06** at limit **
   2  Prefactor     2.8108        2.8579       -.32958E-07   -.18442E-02
   3  norm          .87319E-07    1.8982        .47451E-07** at limit **
   4  Prefactor      .0000        2.5341       -.36682E-07** at limit **
   5  Prefactor     .51625E-08    1.6300        .30536E-07** at limit **
   6  Prefactor     .17439        3.6990        .18422E-06** at limit **
   7  Prefactor     .22204E-09    27.666       -.52396E-06** at limit **
   8  Prefactor     .13328E-06    2.0180       -.25656E-08** at limit **
   9  Prefactor     15.138        1.1788       -.17584E-09    .12916E-01
  10  Prefactor     19.354        6.5406       -.22699E-08   -.15006E-01
  11  Prefactor     .11102E-08    6.9350        .13077E-06** at limit **
  12  Prefactor     3.8171        5.0883        .35074E-07    .12349E-01
  13  Prefactor      .0000        .54152       -.27883E-08** at limit **
  14  norm          25.322        2.7036        .62753E-08    .26501E-02
  15  Prefactor      .0000        1.9043        .78760E-07** at limit **
  16  Prefactor      .0000        .84401        .30525E-07** at limit **
  17  Prefactor      .0000        .78731        .16600E-08** at limit **
  18  norm          4.3622        2.8724        .12184E-07    .51177E-03
  19  Prefactor     6.2136        5.6036       -.26585E-07   -.28848E-01
  20  Prefactor     .94665        1.6179       -.10639E-07    .48938E-03
  21  Prefactor     2.1658        1.4408       -.66426E-08   -.62944E-03
  22  Prefactor     1.0091        1.0534        .20818E-07   -.22530E-01
  23  norm          .26005        .18860        .75495E-08    .58216E-02
  24  norm          13.746        4.9734        .38116E-08    .61477E-02
  25  Prefactor     9.0430        1.5772       -.17816E-08   -.19784E-01
  26  Normalizat    1.0642        .20110       -.20750E-06    .25037E-04
  27  Prefactor     .80763        .20971        .16406E-06    .15117E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.996e-10
  Prefactor  = 2.81075
  norm       = 8.7319e-08
  Prefactor  = 0
  Prefactor  = 5.16254e-09
  Prefactor  = 0.174393
  Prefactor  = 2.22045e-10
  Prefactor  = 1.33282e-07
  Prefactor  = 15.1383
  Prefactor  = 19.3538
  Prefactor  = 1.11022e-09
  Prefactor  = 3.81715
  Prefactor  = 0
  norm       = 25.3223
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 4.36219
  Prefactor  = 6.21359
  Prefactor  = 0.946653
  Prefactor  = 2.1658
  Prefactor  = 1.00906
  norm       = 0.260054
  norm       = 13.7462
  Prefactor  = 9.043
  Normalizat = 1.06422
  Prefactor  = 0.807627
 **********
 **   18 **HESSE 
 **********

 FCN=   7337.869     FROM HESSE     STATUS=OK           550 CALLS     2412 TOTAL
                     EDM=   .74E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49960E-09    13.604        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.8108        2.8722        .60618E-03   -1.5674    
   3  norm          .87319E-07    4.8345        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        2.5385        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .51625E-08    4.8312        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .17439        1.5020        .32198E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .22204E-09    27.712        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .13328E-06    4.7577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     15.138        13.203        .25562E-03   -1.5630    
  10  Prefactor     19.354        6.7706        .22742E-03   -1.5620    
  11  Prefactor     .11102E-08    6.9587        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.8171        8.6244        .51736E-03   -1.5669    
  13  Prefactor      .0000        .54347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          25.322        2.6984        .19880E-03   -1.5607    
  15  Prefactor      .0000        1.8983        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        .84197        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        .78780        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.3622        2.8609        .48208E-03   -1.5666    
  19  Prefactor     6.2136        8.3189        .40276E-03   -1.5658    
  20  Prefactor     .94665        1.6161        .42525E-03   -1.5689    
  21  Prefactor     2.1658        1.4445        .69940E-03   -1.5679    
  22  Prefactor     1.0091        5.0274        .44046E-03   -1.5688    
  23  norm          .26005        .19753        .68654E-03   -1.5698    
  24  norm          13.746        5.2273        .26999E-03   -1.5634    
  25  Prefactor     9.0430        7.2947        .33300E-03   -1.5648    
  26  Normalizat    1.0642        .17317        .58535E-01   -.90909    
  27  Prefactor     .80763        .17782        .71726E-01   -.99448    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.38157e-08
Minuit parameter uncertainties:
  1  0.000169069
  2  2.87225
  3  0.00129957
  4  2.80628e-06
  5  0.000315807
  6  1.02361
  7  0.000160868
  8  0.00159256
  9  13.2033
  10  6.77059
  11  0.000177178
  12  8.62442
  13  5.81172e-07
  14  2.69838
  15  9.26715e-08
  16  1.54646e-06
  17  8.26723e-07
  18  2.86094
  19  8.31891
  20  1.61612
  21  1.44449
  22  4.50465
  23  0.197532
  24  5.22728
  25  7.29472
  26  0.173259
  27  0.177943
Done.

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

Extracting fit parameters...

4FGL J1148.5+2629
   Spectrum: PowerLaw
287    Prefactor:  1.110e-09  1.772e-04  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  2.924e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  3.685e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
615    Prefactor:  8.076e-01  1.779e-01  0.000e+00  1.000e+01 ( 1.000e+00)
616        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
617        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
614   Normalization:  1.064e+00  1.733e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 177.141 26.499
Photon Flux Upper Limit: 7.05e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.62e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/76419/likelihoodResults_693187201_693446401_4FGL_J1148.5+2629_daily_bin1751.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7337.93798537
delta logL = -0.0691440646769

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7337.8688414
delta logL = -9.83909558272e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .89578E-06   1.0000          .0000       .10000E+07
     2 'Index     '    3.4058       1.0000          .0000       10.000    
     3 'Normalizat'    1.0642       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80767       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6180E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7337.869     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      213 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12768E-08    31.045        .42118E-03** at limit **
   2  Index         3.7756        6.2646        .50000       -.68212E-10
   3  Normalizat    1.0642        .16215        .58535E-01   -.53792E-03
   4  Prefactor     .80762        .17637        .71726E-01   -.50852E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.27676e-09
  Index      = 3.77564
  Normalizat = 1.06422
  Prefactor  = 0.807625
 **********
 **   18 **HESSE 
 **********

 FCN=   7337.869     FROM HESSE     STATUS=OK            29 CALLS      242 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12768E-08    7.6933        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.7756        6.7715        .50000       -.24739    
   3  Normalizat    1.0642        .19078        .25886E-03   -.90909    
   4  Prefactor     .80762        .20737        .31740E-03   -.99448    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.80536e-10
Minuit parameter uncertainties:
  1  0.000199252
  2  4.93106
  3  0.190905
  4  0.20757
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/76419': 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) = 7337.8688413
delta logL = -2.07364792004e-10

Extracting fit parameters...

4FGL J1148.5+2629
   Spectrum: PowerLaw
287    Prefactor:  1.277e-09  1.993e-04  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  3.776e+00  4.931e+00  0.000e+00  1.000e+01 (-1.000e+00)
289        Scale:  3.685e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
615    Prefactor:  8.076e-01  2.076e-01  0.000e+00  1.000e+01 ( 1.000e+00)
616        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
617        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
614   Normalization:  1.064e+00  1.909e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 177.141 26.499

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/76419/cmap_HighResolution_693187201_693446401_4FGL_J1148.5+2629_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.62e-03', job_status='DONE', photon_flux_upper_limit='7.05e-08', time_completed='2022-12-23 00:51:04.811824', job_id='76419', GAL2='0.81', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1671785464.81', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='-2.07e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.92' WHERE bin_id='1751' AND source_name='4FGL J1148.5+2629' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 00:51:04 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 76419: <4FGL_J1148.5+2629_daily_bin1751> in cluster <slac> Done

Job <4FGL_J1148.5+2629_daily_bin1751> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Dec 23 00:35:17 2022
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 00:35: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:35:18 2022
Terminated at Fri Dec 23 00:51:05 2022
Results reported at Fri Dec 23 00:51:05 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1148.5+2629_daily_bin1751 177.141 26.4986 693187201 693446401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1148.5+2629 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   735.31 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             273.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   947 sec.
    Turnaround time :                            948 sec.

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

