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 60 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_J1150.4+2418_weekly_bin761
RA = 177.603, Dec = 24.3016
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='484422', job_status='RUN', time_executed='2023-03-07 00:56:31.169418', time_epoch_executed='1678179391.17' WHERE source_name='4FGL J1150.4+2418' and cadence='weekly' and bin_id='761'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/484422

Creating custom pfile directory:
/scratch/kocevski/484422/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/484422/ft1_4FGL_J1150.4+2418_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/484422/ft2_4FGL_J1150.4+2418_weekly_bin761.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/484422/ft1_4FGL_J1150.4+2418_weekly_bin761.fits outfile=/scratch/kocevski/484422/ft1_filteredMKT_4FGL_J1150.4+2418_weekly_bin761.fits ra=177.603 dec=24.3016 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.56
user 8.21
sys 0.31

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/484422/ft2_4FGL_J1150.4+2418_weekly_bin761.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/484422/ft2_4FGL_J1150.4+2418_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/484422/ft1_filteredMKT_4FGL_J1150.4+2418_weekly_bin761.fits evtable="EVENTS" outfile="/scratch/kocevski/484422/ft1_filtered_4FGL_J1150.4+2418_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.55
user 0.37
sys 0.16

Number of photons that the gtmktime cut: 976

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/484422/ft1_filtered_4FGL_J1150.4+2418_weekly_bin761.fits" evtable="EVENTS" scfile=/scratch/kocevski/484422/ft2_4FGL_J1150.4+2418_weekly_bin761.fits sctable="SC_DATA" outfile=/scratch/kocevski/484422/ltcube_699235201_699840001_4FGL_J1150.4+2418_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/484422/ft2_4FGL_J1150.4+2418_weekly_bin761.fits
.....................!
real 27.74
user 27.32
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/484422/ft1_filtered_4FGL_J1150.4+2418_weekly_bin761.fits evtable="EVENTS" scfile=/scratch/kocevski/484422/ft2_4FGL_J1150.4+2418_weekly_bin761.fits sctable="SC_DATA" expcube=/scratch/kocevski/484422/ltcube_699235201_699840001_4FGL_J1150.4+2418_weekly_bin761.fits outfile=/scratch/kocevski/484422/expmap_699235201_699840001_4FGL_J1150.4+2418_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/484422/ltcube_699235201_699840001_4FGL_J1150.4+2418_weekly_bin761.fits
.....................!
real 190.60
user 185.46
sys 4.61

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

Setting source of interest to:
4FGL J1150.4+2418 @ 177.603 24.3016

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/484422/ft1_filtered_4FGL_J1150.4+2418_weekly_bin761.fits scfile=/scratch/kocevski/484422/ft2_4FGL_J1150.4+2418_weekly_bin761.fits outfile=/scratch/kocevski/484422/cmap_699235201_699840001_4FGL_J1150.4+2418_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=177.603 yref=24.3016 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.58
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/484422/ft1_filtered_4FGL_J1150.4+2418_weekly_bin761.fits scfile=/scratch/kocevski/484422/ft2_4FGL_J1150.4+2418_weekly_bin761.fits outfile=/scratch/kocevski/484422/cmap_HighResolution_699235201_699840001_4FGL_J1150.4+2418_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=177.603 yref=24.3016 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.58
user 0.43
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/484422/ft1_filtered_4FGL_J1150.4+2418_weekly_bin761.fits evtable="EVENTS" scfile=/scratch/kocevski/484422/ft2_4FGL_J1150.4+2418_weekly_bin761.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/484422/Model_4FGL_J1150.4+2418_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/484422/ft1_filtered_4FGL_J1150.4+2418_weekly_bin761.fits.....................!
real 90.45
user 88.88
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/484422/ft1_filtered_4FGL_J1150.4+2418_weekly_bin761.fits', '/scratch/kocevski/484422/ft2_4FGL_J1150.4+2418_weekly_bin761.fits', expMap='/scratch/kocevski/484422/expmap_699235201_699840001_4FGL_J1150.4+2418_weekly_bin761.fits', expCube='/scratch/kocevski/484422/ltcube_699235201_699840001_4FGL_J1150.4+2418_weekly_bin761.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/484422/Model_4FGL_J1150.4+2418_weekly_bin761.xml', optimizer='MINUIT')

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

4FGL J1150.4+2418
   Spectrum: PowerLaw
286    Prefactor:  1.344e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
287        Index:  2.228e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.108e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/484422/ft1_filtered_4FGL_J1150.4+2418_weekly_bin761.fits
Spacecraft file(s): /scratch/kocevski/484422/ft2_4FGL_J1150.4+2418_weekly_bin761.fits
Exposure map: /scratch/kocevski/484422/expmap_699235201_699840001_4FGL_J1150.4+2418_weekly_bin761.fits
Exposure cube: /scratch/kocevski/484422/ltcube_699235201_699840001_4FGL_J1150.4+2418_weekly_bin761.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/484422/Model_4FGL_J1150.4+2418_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) = 10425.4487817

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .79376       1.0000          .0000       .10000E+07
     2 'Prefactor '    11.704       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.3160       1.0000          .0000       .10000E+07
     4 'Prefactor '    10.076       1.0000          .0000       .10000E+07
     5 'Prefactor '    .12164E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    1.9138       1.0000          .0000       .10000E+07
     7 'Prefactor '    .75556E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    2.3493       1.0000          .0000       .10000E+07
     9 'Prefactor '    .23481E-06   1.0000          .0000       .10000E+07
    10 'norm      '    23.439       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.0959       1.0000          .0000       .10000E+07
    12 'Prefactor '    .96627E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    3.6774       1.0000          .0000       .10000E+07
    14 'norm      '    .24805E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    2.8901       1.0000          .0000       .10000E+07
    16 'Prefactor '    7.0547       1.0000          .0000       .10000E+07
    17 'Prefactor '    5.2319       1.0000          .0000       .10000E+07
    18 'norm      '    .49060       1.0000          .0000       .10000E+07
    19 'norm      '    .11450E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    5.1619       1.0000          .0000       .10000E+07
    21 'Normalizat'    .89240       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1402       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10425.43     FROM MIGRAD    STATUS=CONVERGED    113 CALLS     1706 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .79494        1.6637        .11722E-06    .20517E-02
   2  Prefactor     11.682        7.3307       -.10384E-06    .16843E-01
   3  Prefactor     6.3117        1.3312       -.28668E-08   -.12213    
   4  Prefactor     10.138        5.4960       -.39640E-07    .61806E-01
   5  Prefactor     .10841E-06    11.035        .91800E-07** at limit **
   6  Prefactor     1.8918        3.2876        .58505E-07   -.18940E-02
   7  Prefactor     .28089E-07    6.2612       -.84378E-08** at limit **
   8  Prefactor     2.3467        1.0747       -.12084E-07   -.11365E-02
   9  Prefactor      .0000        .67701       -.20141E-07** at limit **
  10  norm          23.440        2.1662        .34307E-07    .56320E-02
  11  Prefactor     2.0954        2.6729        .18613E-06    .19142E-02
  12  Prefactor      .0000        .90206       -.12315E-06** at limit **
  13  Prefactor     3.6750        2.8571        .58059E-07   -.37126E-04
  14  norm          .11102E-09    1.0781       -.10122E-06** at limit **
  15  Prefactor     2.8905        1.6674       -.86409E-07   -.35984E-02
  16  Prefactor     7.0529        2.1436        .96850E-07    .78616E-02
  17  Prefactor     5.2719        4.0121        .93287E-07   -.45359E-02
  18  norm          .49032        .20392       -.25134E-07   -.12429E-01
  19  norm           .0000        1.6585       -.16803E-06** at limit **
  20  Prefactor     5.1583        1.2680       -.72161E-08   -.26578E-01
  21  Normalizat    .89239        .17549       -.58147E-05   -.91433E-04
  22  Prefactor     1.1403        .18826        .31550E-05   -.52686E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.794939
  Prefactor  = 11.6819
  Prefactor  = 6.31168
  Prefactor  = 10.1382
  Prefactor  = 1.08413e-07
  Prefactor  = 1.89181
  Prefactor  = 2.80886e-08
  Prefactor  = 2.34675
  Prefactor  = 0
  norm       = 23.4395
  Prefactor  = 2.09539
  Prefactor  = 0
  Prefactor  = 3.675
  norm       = 1.11022e-10
  Prefactor  = 2.89048
  Prefactor  = 7.05291
  Prefactor  = 5.27186
  norm       = 0.490317
  norm       = 0
  Prefactor  = 5.15828
  Normalizat = 0.892395
  Prefactor  = 1.14028
 **********
 **   18 **HESSE 
 **********

 FCN=   10425.43     FROM HESSE     STATUS=OK           396 CALLS     2102 TOTAL
                     EDM=   .41E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .79494        1.6720        .53401E-03   -1.5690    
   2  Prefactor     11.682        7.6401        .29258E-03   -1.5640    
   3  Prefactor     6.3117        6.2422        .39917E-03   -1.5658    
   4  Prefactor     10.138        14.064        .31543E-03   -1.5644    
   5  Prefactor     .10841E-06    12.209        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.8918        3.3165        .75106E-03   -1.5680    
   7  Prefactor     .28089E-07    6.5632        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.3467        5.6554        .66851E-03   -1.5677    
   9  Prefactor      .0000        .66894        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          23.440        2.1639        .20660E-03   -1.5611    
  11  Prefactor     2.0954        2.6977        .71267E-03   -1.5679    
  12  Prefactor      .0000        .90143        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.6750        2.8706        .52645E-03   -1.5670    
  14  norm          .11102E-09    1.0726        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.8905        1.6715        .59752E-03   -1.5674    
  16  Prefactor     7.0529        2.1675        .37745E-03   -1.5655    
  17  Prefactor     5.2719        4.0210        .43922E-03   -1.5662    
  18  norm          .49032        .20762        .63771E-03   -1.5694    
  19  norm           .0000        1.6536        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.1583        5.7987        .44224E-03   -1.5663    
  21  Normalizat    .89239        .15060        .65452E-01   -.96728    
  22  Prefactor     1.1403        .15918        .64905E-01   -.88189    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.10709e-07
Minuit parameter uncertainties:
  1  1.67205
  2  7.64006
  3  6.24219
  4  14.0644
  5  0.00230101
  6  3.31652
  7  0.00085901
  8  5.6554
  9  3.90718e-07
  10  2.1639
  11  2.69767
  12  3.22259e-06
  13  2.87058
  14  2.06367e-05
  15  1.67149
  16  2.16749
  17  4.02099
  18  0.207619
  19  5.22846e-06
  20  5.79872
  21  0.15067
  22  0.159249
Done.

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

Extracting fit parameters...

4FGL J1150.4+2418
   Spectrum: PowerLaw
286    Prefactor:  0.000e+00  3.907e-07  0.000e+00  1.000e+06 ( 1.000e-12)
287        Index:  2.228e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.108e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  1.140e+00  1.592e-01  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  8.924e-01  1.507e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 177.603 24.302
Photon Flux Upper Limit: 4.14e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.16e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/484422/likelihoodResults_699235201_699840001_4FGL_J1150.4+2418_weekly_bin761.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) = 10425.9288387
delta logL = -0.495622625822

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10425.4332161
delta logL = -4.23424353357e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10425.43     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      209 TOTAL
                     EDM=   .11E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .89504        .42118E-03** at limit **
   2  Index         1.2571        .73127        .17653E-05     .0000    
   3  Normalizat    .89240        1.2281       -.17261E-05    .13484E-03
   4  Prefactor     1.1403        1.1264       -.55110E-06    .10239E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.2571
  Normalizat = 0.892396
  Prefactor  = 1.14028
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10425.43     FROM HESSE     STATUS=FAILED         9 CALLS      218 TOTAL
                     EDM=   .11E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .89504        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .11499        1.2343        .17653E-05   -.84592    
   3  Normalizat    .89240        1.2281       -.17261E-05   -.96728    
   4  Prefactor     1.1403        1.1264       -.55110E-06   -.88189    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.05313e-11
Minuit parameter uncertainties:
  1  4.82533e-07
  2  0.737337
  3  1.27015
  4  1.15139
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/484422': 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): 101
logL (Free Index) = 10425.4332161
delta logL = -3.63797880709e-12

Extracting fit parameters...

4FGL J1150.4+2418
   Spectrum: PowerLaw
286    Prefactor:  0.000e+00  4.825e-07  0.000e+00  1.000e+06 ( 1.000e-12)
287        Index:  1.257e+00  7.373e-01  0.000e+00  1.000e+01 (-1.000e+00)
288        Scale:  1.108e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  1.140e+00  1.151e+00  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  8.924e-01  1.270e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 177.603 24.302

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/484422/cmap_HighResolution_699235201_699840001_4FGL_J1150.4+2418_weekly_bin761.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.16e-03', job_status='DONE', photon_flux_upper_limit='4.14e-08', time_completed='2023-03-07 01:10:57.849760', job_id='484422', GAL2='1.14', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1678180257.85', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='-3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='761' AND source_name='4FGL J1150.4+2418' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Mar  7 01:10:57 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 484422: <4FGL_J1150.4+2418_weekly_bin761> in cluster <slac> Done

Job <4FGL_J1150.4+2418_weekly_bin761> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Tue Mar  7 00:55:21 2023
Job was executed on host(s) <bullet0246>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar  7 00:55:22 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar  7 00:55:22 2023
Terminated at Tue Mar  7 01:10:58 2023
Results reported at Tue Mar  7 01:10:58 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.4+2418_weekly_bin761 177.603 24.3016 699235201 699840001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1150.4+2418 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   863.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             304.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   936 sec.
    Turnaround time :                            937 sec.

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

