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


Performing analysis on: 4FGL_J1153.4+4931_daily_bin1750
RA = 178.35, Dec = 49.5169
tmin = 692928001, tmax = 693187201
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='8733', job_status='RUN', time_executed='2022-12-20 00:44:06.618771', time_epoch_executed='1671525846.62' WHERE source_name='4FGL J1153.4+4931' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/8733

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/8733/ft1_4FGL_J1153.4+4931_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/8733/ft2_4FGL_J1153.4+4931_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/8733/ft1_4FGL_J1153.4+4931_daily_bin1750.fits outfile=/scratch/kocevski/8733/ft1_filteredMKT_4FGL_J1153.4+4931_daily_bin1750.fits ra=178.35 dec=49.5169 rad=12.0 tmin=692928001.0 tmax=693187201.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.52
user 3.24
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/8733/ft2_4FGL_J1153.4+4931_daily_bin1750.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/8733/ft2_4FGL_J1153.4+4931_daily_bin1750.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/8733/ft1_filteredMKT_4FGL_J1153.4+4931_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/8733/ft1_filtered_4FGL_J1153.4+4931_daily_bin1750.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.16

Number of photons that the gtmktime cut: 562

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/8733/ft1_filtered_4FGL_J1153.4+4931_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/8733/ft2_4FGL_J1153.4+4931_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/8733/ltcube_692928001_693187201_4FGL_J1153.4+4931_daily_bin1750.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/8733/ft2_4FGL_J1153.4+4931_daily_bin1750.fits
.....................!
real 12.50
user 11.34
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/8733/ft1_filtered_4FGL_J1153.4+4931_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/8733/ft2_4FGL_J1153.4+4931_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/8733/ltcube_692928001_693187201_4FGL_J1153.4+4931_daily_bin1750.fits outfile=/scratch/kocevski/8733/expmap_692928001_693187201_4FGL_J1153.4+4931_daily_bin1750.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/8733/ltcube_692928001_693187201_4FGL_J1153.4+4931_daily_bin1750.fits
.....................!
real 192.54
user 186.06
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 220 point sources and 0 extended sources

Setting source of interest to:
4FGL J1153.4+4931 @ 178.35 49.5169

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/8733/ft1_filtered_4FGL_J1153.4+4931_daily_bin1750.fits scfile=/scratch/kocevski/8733/ft2_4FGL_J1153.4+4931_daily_bin1750.fits outfile=/scratch/kocevski/8733/cmap_692928001_693187201_4FGL_J1153.4+4931_daily_bin1750.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=178.35 yref=49.5169 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.57
user 0.37
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/8733/ft1_filtered_4FGL_J1153.4+4931_daily_bin1750.fits scfile=/scratch/kocevski/8733/ft2_4FGL_J1153.4+4931_daily_bin1750.fits outfile=/scratch/kocevski/8733/cmap_HighResolution_692928001_693187201_4FGL_J1153.4+4931_daily_bin1750.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=178.35 yref=49.5169 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.57
user 0.38
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/8733/ft1_filtered_4FGL_J1153.4+4931_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/8733/ft2_4FGL_J1153.4+4931_daily_bin1750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/8733/Model_4FGL_J1153.4+4931_daily_bin1750.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/8733/ft1_filtered_4FGL_J1153.4+4931_daily_bin1750.fits.....................!
real 51.98
user 50.55
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/8733/ft1_filtered_4FGL_J1153.4+4931_daily_bin1750.fits', '/scratch/kocevski/8733/ft2_4FGL_J1153.4+4931_daily_bin1750.fits', expMap='/scratch/kocevski/8733/expmap_692928001_693187201_4FGL_J1153.4+4931_daily_bin1750.fits', expCube='/scratch/kocevski/8733/ltcube_692928001_693187201_4FGL_J1153.4+4931_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/8733/Model_4FGL_J1153.4+4931_daily_bin1750.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1153.4+4931'

4FGL J1153.4+4931
   Spectrum: PowerLaw
362    Prefactor:  3.122e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
363        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
364        Scale:  7.717e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/8733/ft1_filtered_4FGL_J1153.4+4931_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/8733/ft2_4FGL_J1153.4+4931_daily_bin1750.fits
Exposure map: /scratch/kocevski/8733/expmap_692928001_693187201_4FGL_J1153.4+4931_daily_bin1750.fits
Exposure cube: /scratch/kocevski/8733/ltcube_692928001_693187201_4FGL_J1153.4+4931_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/8733/Model_4FGL_J1153.4+4931_daily_bin1750.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) = 6065.04042559

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27253E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .14766E-07   1.0000          .0000       .10000E+07
     3 'norm      '    1.0990       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.9042       1.0000          .0000       .10000E+07
     5 'Prefactor '    22.247       1.0000          .0000       .10000E+07
     6 'Prefactor '    57.657       1.0000          .0000       .10000E+07
     7 'norm      '    .68302E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    7.9449       1.0000          .0000       .10000E+07
     9 'Prefactor '    7.8724       1.0000          .0000       .10000E+07
    10 'norm      '    .14944E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.7120       1.0000          .0000       .10000E+07
    12 'norm      '    .20730E-04   1.0000          .0000       .10000E+07
    13 'norm      '    2.9783       1.0000          .0000       .10000E+07
    14 'norm      '    11.528       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.5931       1.0000          .0000       .10000E+07
    16 'Prefactor '    .33631E-03   1.0000          .0000       .10000E+07
    17 'norm      '    .11255E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    39.172       1.0000          .0000       .10000E+07
    19 'Prefactor '    .76267E-05   1.0000          .0000       .10000E+07
    20 'norm      '    .74624       1.0000          .0000       .10000E+07
    21 'norm      '    6.9953       1.0000          .0000       .10000E+07
    22 'Prefactor '    9.9545       1.0000          .0000       .10000E+07
    23 'Prefactor '    1.5638       1.0000          .0000       .10000E+07
    24 'norm      '    5.2209       1.0000          .0000       .10000E+07
    25 'Prefactor '    8.0234       1.0000          .0000       .10000E+07
    26 'norm      '    .12712E-07   1.0000          .0000       .10000E+07
    27 'Normalizat'    1.0569       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .69902       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6064.968     FROM MIGRAD    STATUS=CONVERGED    187 CALLS     2536 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14433E-08    56.340       -.79847E-05** at limit **
   2  Prefactor     .53291E-08    26.422       -.59483E-06** at limit **
   3  norm          1.0990        1.2106       -.17019E-08    .60238E-02
   4  Prefactor     2.7500        1.7882       -.24670E-06   -.18713E-02
   5  Prefactor     22.144        2.4029        .62820E-06   -.27969E-01
   6  Prefactor     62.730        95.024        .37485E-05    .28651E-01
   7  norm          .21744E-06    74.695        .59136E-05** at limit **
   8  Prefactor     8.0137        7.9551       -.74770E-06    .20727E-02
   9  Prefactor     7.8795        1.4614        .27261E-06    .32964E-02
  10  norm          .55511E-10    1.6484       -.18397E-06** at limit **
  11  Prefactor     .42241E-01    362.30       -.11278E-04** at limit **
  12  norm           .0000        4.5635        .71015E-06** at limit **
  13  norm          3.0244        1.1896        .10101E-05    .34419E-02
  14  norm          11.529        9.9956       -.64607E-06    .15701E-02
  15  Prefactor     2.5762        3.6824       -.26494E-05   -.12442E-01
  16  Prefactor     .18319E-08    15.860       -.28804E-05** at limit **
  17  norm          .16653E-09    1.7753        .18739E-05** at limit **
  18  Prefactor     39.325        21.734        .54543E-05    .19241E-01
  19  Prefactor     .55511E-10    1.8586        .41610E-07** at limit **
  20  norm          .74708        1.8586       -.88379E-07    .36194E-02
  21  norm          6.9332        6.5733        .74174E-06   -.80580E-02
  22  Prefactor     10.183        6.2012       -.26742E-05    .34598E-01
  23  Prefactor     1.5399        5.2495        .11894E-06   -.14355E-03
  24  norm          5.2315        3.0887       -.19321E-06   -.32101E-02
  25  Prefactor     7.6596        14.860       -.22598E-05   -.27781E-02
  26  norm          .55511E-10    .56744       -.13929E-05** at limit **
  27  Normalizat    1.0568        .18099       -.12120E-04    .10426E-03
  28  Prefactor     .69914        .21306        .33163E-04    .42185E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.44329e-09
  Prefactor  = 5.32907e-09
  norm       = 1.09896
  Prefactor  = 2.75001
  Prefactor  = 22.1443
  Prefactor  = 62.7297
  norm       = 2.17437e-07
  Prefactor  = 8.01365
  Prefactor  = 7.87951
  norm       = 5.55112e-11
  Prefactor  = 0.0422412
  norm       = 0
  norm       = 3.02441
  norm       = 11.5294
  Prefactor  = 2.57619
  Prefactor  = 1.83187e-09
  norm       = 1.66533e-10
  Prefactor  = 39.3253
  Prefactor  = 5.55112e-11
  norm       = 0.747077
  norm       = 6.93321
  Prefactor  = 10.1829
  Prefactor  = 1.53991
  norm       = 5.2315
  Prefactor  = 7.65956
  norm       = 5.55112e-11
  Normalizat = 1.05681
  Prefactor  = 0.699139
 **********
 **   18 **HESSE 
 **********

 FCN=   6064.968     FROM HESSE     STATUS=OK           587 CALLS     3123 TOTAL
                     EDM=   .29E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14433E-08    56.718        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .53291E-08    26.635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.0990        1.2256        .11341E-03   -1.5687    
   4  Prefactor     2.7500        104.31        .59598E-03   -1.5675    
   5  Prefactor     22.144        25.670        .21207E-03   -1.5614    
   6  Prefactor     62.730        98.576        .13171E-03   -1.5550    
   7  norm          .21744E-06    74.766        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.0137        8.4348        .35549E-03   -1.5651    
   9  Prefactor     7.8795        19.047        .35713E-03   -1.5652    
  10  norm          .55511E-10    1.6584        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .42241E-01    92.948        .10013E-01   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        4.5611        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.0244        1.3851        .58805E-03   -1.5673    
  14  norm          11.529        9.9898        .29481E-03   -1.5640    
  15  Prefactor     2.5762        3.7350        .63337E-03   -1.5676    
  16  Prefactor     .18319E-08    15.958        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .16653E-09    1.7705        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     39.325        22.485        .15979E-03   -1.5583    
  19  Prefactor     .55511E-10    1.8627        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .74708        1.8795        .57031E-03   -1.5691    
  21  norm          6.9332        9.6438        .37907E-03   -1.5655    
  22  Prefactor     10.183        24.885        .31735E-03   -1.5644    
  23  Prefactor     1.5399        5.3065        .85033E-03   -1.5683    
  24  norm          5.2315        3.1129        .43969E-03   -1.5662    
  25  Prefactor     7.6596        14.995        .35373E-03   -1.5653    
  26  norm          .55511E-10    .56758        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.0568        .15960        .40118E-01   -.91151    
  28  Prefactor     .69914        .18589        .69326E-01   -1.0356    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.89227e-07
Minuit parameter uncertainties:
  1  0.000573983
  2  0.000752834
  3  1.22562
  4  33.8733
  5  25.6703
  6  98.5786
  7  0.00806449
  8  8.43483
  9  19.047
  10  1.65612e-05
  11  3.963
  12  1.24243e-06
  13  1.38507
  14  9.98978
  15  3.73498
  16  0.000339636
  17  3.68475e-05
  18  22.4854
  19  1.45889e-05
  20  1.87948
  21  9.64383
  22  24.8848
  23  5.30647
  24  3.11287
  25  14.9949
  26  9.00228e-06
  27  0.159676
  28  0.186051
Done.

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

Extracting fit parameters...

4FGL J1153.4+4931
   Spectrum: PowerLaw
362    Prefactor:  2.576e+00  3.735e+00  0.000e+00  1.000e+06 ( 1.000e-12)
363        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
364        Scale:  7.717e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
702    Prefactor:  6.991e-01  1.861e-01  0.000e+00  1.000e+01 ( 1.000e+00)
703        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
704        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
701   Normalization:  1.057e+00  1.597e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.72
Ra Dec: 178.350 49.517
Photon Flux Upper Limit: 9.54e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.38e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/8733/likelihoodResults_692928001_693187201_4FGL_J1153.4+4931_daily_bin1750.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) = 6064.56824848
delta logL = 0.399339041432

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6064.56128368
delta logL = 0.406303848693

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.3905       1.0000          .0000       .10000E+07
     2 'Index     '    3.2342       1.0000          .0000       10.000    
     3 'Normalizat'    1.0326       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71728       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6064.561     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      244 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3904        25.980        .92121E-03    .78717E-02
   2  Index         3.2344        3.6859        .13559        .12640E-03
   3  Normalizat    1.0326        .42191E-01    .41911E-01    .33123E-05
   4  Prefactor     .71733        .52184E-01    .68496E-01    .18432E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.39041
  Index      = 3.23442
  Normalizat = 1.03262
  Prefactor  = 0.717325
 **********
 **   18 **HESSE 
 **********

 FCN=   6064.561     FROM HESSE     STATUS=OK            33 CALLS      277 TOTAL
                     EDM=   .49E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3904        3.3519        .78641E-05   -1.5684    
   2  Index         3.2344        1.4224        .69993E-02   -.36090    
   3  Normalizat    1.0326        .17542        .20827E-03   -.91946    
   4  Prefactor     .71733        .21395        .30309E-03   -1.0285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.87173e-11
Minuit parameter uncertainties:
  1  3.35188
  2  1.44531
  3  0.175523
  4  0.214194
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/8733': 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) = 6064.56128355
delta logL = 0.406303974713

Extracting fit parameters...

4FGL J1153.4+4931
   Spectrum: PowerLaw
362    Prefactor:  1.390e+00  3.352e+00  0.000e+00  1.000e+06 ( 1.000e-12)
363        Index:  3.234e+00  1.445e+00  0.000e+00  1.000e+01 (-1.000e+00)
364        Scale:  7.717e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
702    Prefactor:  7.173e-01  2.142e-01  0.000e+00  1.000e+01 ( 1.000e+00)
703        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
704        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
701   Normalization:  1.033e+00  1.755e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.56
Ra Dec: 178.350 49.517
Photon Index (Free Index): 3.23 +/- 1.45
Photon Flux (Free Index): 4.63e-08 +/- 4.17e-08
Energy Flux (Free Index): 8.36e-06 +/- 8.42e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/8733/cmap_HighResolution_692928001_693187201_4FGL_J1153.4+4931_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.38e-03', comment='SUCCESS', energy_flux2='8.36e-06', dlogl='4.06e-01', photon_flux2='4.63e-08', job_status='DONE', time_completed='2022-12-20 00:56:45.326818', photon_index_error2='1.45', photon_index2='3.23', ts='0.72', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', photon_flux_upper_limit='9.54e-08', energy_flux_error2='8.42e-06', EG='1.06', time_epoch_completed='1671526605.33', return_code='0', job_id='8733', GAL2='0.72', EG2='1.03', return_code2='0', photon_flux_error2='4.17e-08', ts2='1.56', photon_index='2.41' WHERE bin_id='1750' AND source_name='4FGL J1153.4+4931' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 00:56:45 PST 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0044>
Subject: Job 8733: <4FGL_J1153.4+4931_daily_bin1750> in cluster <slac> Done

Job <4FGL_J1153.4+4931_daily_bin1750> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Dec 20 00:40:18 2022
Job was executed on host(s) <bullet0044>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 00:40:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 00:40:19 2022
Terminated at Tue Dec 20 00:56:46 2022
Results reported at Tue Dec 20 00:56:46 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1153.4+4931_daily_bin1750 178.35 49.5169 692928001 693187201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1153.4+4931 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   755.02 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             271.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   986 sec.
    Turnaround time :                            988 sec.

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

