aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  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 7 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1150.6+4154_weekly_bin655
RA = 177.656, Dec = 41.9096
tmin = 635126401, tmax = 635731201
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='17020', job_status='RUN', time_executed='2021-07-18 12:22:40.821379', time_epoch_executed='1626636160.82' WHERE source_name='4FGL J1150.6+4154' and cadence='weekly' and bin_id='655'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/17020

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/17020/ft1_4FGL_J1150.6+4154_weekly_bin655.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/17020/ft2_4FGL_J1150.6+4154_weekly_bin655.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/17020/ft1_4FGL_J1150.6+4154_weekly_bin655.fits outfile=/scratch/kocevski/17020/ft1_filteredMKT_4FGL_J1150.6+4154_weekly_bin655.fits ra=177.656 dec=41.9096 rad=12.0 tmin=635126401.0 tmax=635731201.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 6.16
user 5.86
sys 0.27

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/17020/ft2_4FGL_J1150.6+4154_weekly_bin655.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/17020/ft2_4FGL_J1150.6+4154_weekly_bin655.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/17020/ft1_filteredMKT_4FGL_J1150.6+4154_weekly_bin655.fits evtable="EVENTS" outfile="/scratch/kocevski/17020/ft1_filtered_4FGL_J1150.6+4154_weekly_bin655.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.56
user 0.38
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/17020/ft1_filtered_4FGL_J1150.6+4154_weekly_bin655.fits" evtable="EVENTS" scfile=/scratch/kocevski/17020/ft2_4FGL_J1150.6+4154_weekly_bin655.fits sctable="SC_DATA" outfile=/scratch/kocevski/17020/ltcube_635126401_635731201_4FGL_J1150.6+4154_weekly_bin655.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/17020/ft2_4FGL_J1150.6+4154_weekly_bin655.fits
.....................!
real 37.37
user 36.88
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/17020/ft1_filtered_4FGL_J1150.6+4154_weekly_bin655.fits evtable="EVENTS" scfile=/scratch/kocevski/17020/ft2_4FGL_J1150.6+4154_weekly_bin655.fits sctable="SC_DATA" expcube=/scratch/kocevski/17020/ltcube_635126401_635731201_4FGL_J1150.6+4154_weekly_bin655.fits outfile=/scratch/kocevski/17020/expmap_635126401_635731201_4FGL_J1150.6+4154_weekly_bin655.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/17020/ltcube_635126401_635731201_4FGL_J1150.6+4154_weekly_bin655.fits
.....................!
real 194.71
user 186.97
sys 6.08

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

Setting source of interest to:
4FGL J1150.6+4154 @ 177.656 41.9096

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/17020/ft1_filtered_4FGL_J1150.6+4154_weekly_bin655.fits scfile=/scratch/kocevski/17020/ft2_4FGL_J1150.6+4154_weekly_bin655.fits outfile=/scratch/kocevski/17020/cmap_635126401_635731201_4FGL_J1150.6+4154_weekly_bin655.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.656 yref=41.9096 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.61
user 0.43
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/17020/ft1_filtered_4FGL_J1150.6+4154_weekly_bin655.fits scfile=/scratch/kocevski/17020/ft2_4FGL_J1150.6+4154_weekly_bin655.fits outfile=/scratch/kocevski/17020/cmap_HighResolution_635126401_635731201_4FGL_J1150.6+4154_weekly_bin655.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.656 yref=41.9096 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.62
user 0.44
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/17020/ft1_filtered_4FGL_J1150.6+4154_weekly_bin655.fits evtable="EVENTS" scfile=/scratch/kocevski/17020/ft2_4FGL_J1150.6+4154_weekly_bin655.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/17020/Model_4FGL_J1150.6+4154_weekly_bin655.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/17020/ft1_filtered_4FGL_J1150.6+4154_weekly_bin655.fits.....................!
real 45.91
user 44.47
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/17020/ft1_filtered_4FGL_J1150.6+4154_weekly_bin655.fits', '/scratch/kocevski/17020/ft2_4FGL_J1150.6+4154_weekly_bin655.fits', expMap='/scratch/kocevski/17020/expmap_635126401_635731201_4FGL_J1150.6+4154_weekly_bin655.fits', expCube='/scratch/kocevski/17020/ltcube_635126401_635731201_4FGL_J1150.6+4154_weekly_bin655.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/17020/Model_4FGL_J1150.6+4154_weekly_bin655.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1150.6+4154'

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  5.203e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  1.619e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
331         beta:  1.025e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
332           Eb:  1.870e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/17020/ft1_filtered_4FGL_J1150.6+4154_weekly_bin655.fits
Spacecraft file(s): /scratch/kocevski/17020/ft2_4FGL_J1150.6+4154_weekly_bin655.fits
Exposure map: /scratch/kocevski/17020/expmap_635126401_635731201_4FGL_J1150.6+4154_weekly_bin655.fits
Exposure cube: /scratch/kocevski/17020/ltcube_635126401_635731201_4FGL_J1150.6+4154_weekly_bin655.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/17020/Model_4FGL_J1150.6+4154_weekly_bin655.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) = 4946.94504334

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14697E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .90312       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10177E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    22.385       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    5.0777       1.0000         .10000E-03   10000.    
     7 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.774       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10197E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    5.0988       1.0000         .10000E-03   10000.    
    14 'norm      '    10.331       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    43.750       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11396E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    28.414       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .75458       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.3785       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4946.942     FROM MIGRAD    STATUS=CONVERGED    539 CALLS     2681 TOTAL
                     EDM=   .77E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    219.31        .10525E-04** at limit **
   2  norm          .90262        1.1302       -.27099E-05   -.32321E-02
   3  Prefactor     .10000E-03    52.834        .64877E-05** at limit **
   4  Prefactor     22.462        76.531        .25257E-04   -.30739E-03
   5  Prefactor     .10000E-03    39.578       -.19529E-05** at limit **
   6  norm          5.0561        167.28       -.70981E-05   -.19225E-04
   7  norm          .10000E-03    18.658        .59279E-08** at limit **
   8  Prefactor     .10000E-03    4.4326       -.16861E-06** at limit **
   9  Prefactor     .10000E-03    35.391        .25294E-05** at limit **
  10  norm          .10000E-03    1.5445        .22254E-07** at limit **
  11  Prefactor     14.773        13.320        .65622E-08    .52121E-04
  12  Prefactor     .10000E-03    37.979       -.13487E-05** at limit **
  13  norm          5.0991        2.0756        .18378E-07    .30599E-03
  14  norm          10.332        11.815       -.21398E-07    .24160E-04
  15  Prefactor     .10000E-03    40.995       -.17926E-05** at limit **
  16  Prefactor     .10000E-03    1.0713       -.21161E-07** at limit **
  17  Prefactor     .10000E-03    43.993       -.39212E-06** at limit **
  18  Prefactor     43.752        23.329       -.11033E-06    .93413E-05
  19  Prefactor     .10001E-03    113.35       -.71615E-05** at limit **
  20  Prefactor     .10000E-03    7.2130        .33075E-07** at limit **
  21  norm          .10000E-03    5.1747       -.54675E-07** at limit **
  22  Prefactor     28.413        17.942       -.10950E-06    .10570E-04
  23  Normalizat    .75460        .19867        .77378E-06    .10876E-03
  24  Prefactor     1.3785        .23356        .79619E-07    .10812E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100016
  norm       = 0.90262
  Prefactor  = 0.000100003
  Prefactor  = 22.4615
  Prefactor  = 0.000100001
  norm       = 5.05614
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 14.773
  Prefactor  = 0.0001
  norm       = 5.09913
  norm       = 10.332
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 43.7521
  Prefactor  = 0.000100013
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 28.4129
  Normalizat = 0.754599
  Prefactor  = 1.37853
 **********
 **   18 **HESSE 
 **********

 FCN=   4946.942     FROM HESSE     STATUS=OK           391 CALLS     3072 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    218.21        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .90262        1.1097        .56562E-03   -1.5518    
   3  Prefactor     .10000E-03    52.660        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     22.462        74.462        .84660E-04   -1.4760    
   5  Prefactor     .10000E-03    39.536        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.0561        163.75        .17843E-03   -1.5258    
   7  norm          .10000E-03    18.658        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.4905        .14429E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    35.325        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    1.5491        .85332E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     14.773        13.299        .10420E-03   -1.4939    
  12  Prefactor     .10000E-03    37.980        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.0991        2.0749        .60819E-04   -1.5256    
  14  norm          10.332        11.823        .12466E-03   -1.5065    
  15  Prefactor     .10000E-03    41.015        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    1.0765        .71027E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    44.010        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     43.752        23.331        .60611E-04   -1.4384    
  19  Prefactor     .10001E-03    113.55        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    7.2561        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    5.2922        .31165E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     28.413        17.926        .75158E-04   -1.4641    
  23  Normalizat    .75460        .23656        .28874E-03   -1.0178    
  24  Prefactor     1.3785        .27873        .26327E-03   -.81001    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39401e-09
Minuit parameter uncertainties:
  1  0.00371019
  2  1.10971
  3  0.00079102
  4  74.7727
  5  0.000296353
  6  57.7201
  7  1.49715e-06
  8  1.15766e-05
  9  0.000372347
  10  6.76694e-08
  11  13.3012
  12  0.000190881
  13  2.07489
  14  11.8252
  15  0.000283723
  16  1.1072e-06
  17  4.54732e-05
  18  23.3355
  19  0.00242149
  20  3.28891e-06
  21  6.03176e-06
  22  17.9297
  23  0.236885
  24  0.279031
Done.

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

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  1.033e+01  1.183e+01  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  1.619e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
331         beta:  1.025e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
332           Eb:  1.870e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
672    Prefactor:  1.379e+00  2.790e-01  0.000e+00  1.000e+01 ( 1.000e+00)
673        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
674        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
671   Normalization:  7.546e-01  2.369e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.37
Ra Dec: 177.656 41.910
Photon Index (Fixed Index): 1.62 +/- 0.00
Photon Flux (Fixed Index): 1.31e-08 +/- 1.50e-08
Energy Flux (Fixed Index): 2.33e-05 +/- 2.66e-05

TS (Fixed Index): 1.37
Ra Dec: 177.656 41.910
Photon Flux Upper Limit: 5.49e-08 ph cm-2 s-1
Energy Flux Upper Limit: 9.72e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/17020/likelihoodResults_635126401_635731201_4FGL_J1150.6+4154_weekly_bin655.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) = 4946.33765755
delta logL = 0.604486795699

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4946.33452225
delta logL = 0.607622100893

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.2500       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4607       1.0000          .0000       5.0000    
     3 'Normalizat'    .73894       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3775       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4946.335     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      271 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.2457        201.57        .34894E-02    .86328E-04
   2  alpha         2.4600        3.5551        .23649        .50915E-04
   3  Normalizat    .73894        .10747        .65807E-01    .19030E-04
   4  Prefactor     1.3777        .95536E-01    .59448E-01    .29010E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 8.24568
  alpha      = 2.45999
  Normalizat = 0.738938
  Prefactor  = 1.37774
 **********
 **   18 **HESSE 
 **********

 FCN=   4946.335     FROM HESSE     STATUS=OK            33 CALLS      304 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.2457        10.493        .13958E-03   -1.5134    
   2  alpha         2.4600        .78397        .11755E-01   -.16004E-01
   3  Normalizat    .73894        .23303        .29116E-03   -1.0238    
   4  Prefactor     1.3777        .27793        .26288E-03   -.81024    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.218e-09
Minuit parameter uncertainties:
  1  10.4958
  2  0.79743
  3  0.233346
  4  0.278234
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/17020': 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) = 4946.33451965
delta logL = 0.607624693161

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  8.246e+00  1.050e+01  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  2.460e+00  7.974e-01  0.000e+00  5.000e+00 ( 1.000e+00)
331         beta:  1.025e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
332           Eb:  1.870e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
672    Prefactor:  1.378e+00  2.782e-01  0.000e+00  1.000e+01 ( 1.000e+00)
673        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
674        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
671   Normalization:  7.389e-01  2.333e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.58
Ra Dec: 177.656 41.910
Photon Index (Free Index): 2.46 +/- 0.80
Photon Flux (Free Index): 4.46e-08 +/- 4.80e-08
Energy Flux (Free Index): 1.66e-05 +/- 1.43e-05

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/17020/cmap_HighResolution_635126401_635731201_4FGL_J1150.6+4154_weekly_bin655.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.72e-05', comment='SUCCESS', photon_flux='1.31e-08', energy_flux2='1.66e-05', photon_flux_error='1.50e-08', dlogl='6.08e-01', energy_flux='2.33e-05', photon_flux2='4.46e-08', job_status='DONE', time_completed='2021-07-18 12:34:33.737306', photon_index_error2='0.80', photon_index2='2.46', ts='1.37', fit_tolerance='1e-08', GAL='1.38', photon_index_error='0.00', photon_flux_upper_limit='5.49e-08', energy_flux_error2='1.43e-05', EG='0.75', time_epoch_completed='1626636873.74', return_code='0', job_id='17020', GAL2='1.38', EG2='0.74', return_code2='0', energy_flux_error='2.66e-05', photon_flux_error2='4.80e-08', ts2='2.58', photon_index='1.62' WHERE bin_id='655' AND source_name='4FGL J1150.6+4154' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sun Jul 18 12:34:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0254>
Subject: Job 17020: <4FGL_J1150.6+4154_weekly_bin655> in cluster <slac> Done

Job <4FGL_J1150.6+4154_weekly_bin655> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sun Jul 18 12:21:06 2021
Job was executed on host(s) <bullet0254>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jul 18 12:22:24 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jul 18 12:22:24 2021
Terminated at Sun Jul 18 12:34:34 2021
Results reported at Sun Jul 18 12:34:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.6+4154_weekly_bin655 177.656 41.9096 635126401 635731201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1150.6+4154 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   704.28 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             324.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   730 sec.
    Turnaround time :                            808 sec.

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

