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


Performing analysis on: 4FGL_J1150.4+2418_weekly_bin759
RA = 177.603, Dec = 24.3016
tmin = 698025601, tmax = 698630401
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='588587', job_status='RUN', time_executed='2023-02-21 03:28:45.712010', time_epoch_executed='1676978925.71' WHERE source_name='4FGL J1150.4+2418' and cadence='weekly' and bin_id='759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/588587

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/588587/ft1_4FGL_J1150.4+2418_weekly_bin759.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/588587/ft2_4FGL_J1150.4+2418_weekly_bin759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/588587/ft1_4FGL_J1150.4+2418_weekly_bin759.fits outfile=/scratch/kocevski/588587/ft1_filteredMKT_4FGL_J1150.4+2418_weekly_bin759.fits ra=177.603 dec=24.3016 rad=12.0 tmin=698025601.0 tmax=698630401.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.77
user 6.40
sys 0.27

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/588587/ft2_4FGL_J1150.4+2418_weekly_bin759.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/588587/ft1_filteredMKT_4FGL_J1150.4+2418_weekly_bin759.fits evtable="EVENTS" outfile="/scratch/kocevski/588587/ft1_filtered_4FGL_J1150.4+2418_weekly_bin759.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.45
user 0.30
sys 0.14

Number of photons that the gtmktime cut: 764

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/588587/ft1_filtered_4FGL_J1150.4+2418_weekly_bin759.fits" evtable="EVENTS" scfile=/scratch/kocevski/588587/ft2_4FGL_J1150.4+2418_weekly_bin759.fits sctable="SC_DATA" outfile=/scratch/kocevski/588587/ltcube_698025601_698630401_4FGL_J1150.4+2418_weekly_bin759.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/588587/ft2_4FGL_J1150.4+2418_weekly_bin759.fits
.....................!
real 21.65
user 21.24
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/588587/ft1_filtered_4FGL_J1150.4+2418_weekly_bin759.fits evtable="EVENTS" scfile=/scratch/kocevski/588587/ft2_4FGL_J1150.4+2418_weekly_bin759.fits sctable="SC_DATA" expcube=/scratch/kocevski/588587/ltcube_698025601_698630401_4FGL_J1150.4+2418_weekly_bin759.fits outfile=/scratch/kocevski/588587/expmap_698025601_698630401_4FGL_J1150.4+2418_weekly_bin759.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/588587/ltcube_698025601_698630401_4FGL_J1150.4+2418_weekly_bin759.fits
.....................!
real 148.99
user 144.51
sys 4.17

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/588587/ft1_filtered_4FGL_J1150.4+2418_weekly_bin759.fits scfile=/scratch/kocevski/588587/ft2_4FGL_J1150.4+2418_weekly_bin759.fits outfile=/scratch/kocevski/588587/cmap_698025601_698630401_4FGL_J1150.4+2418_weekly_bin759.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.48
user 0.33
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/588587/ft1_filtered_4FGL_J1150.4+2418_weekly_bin759.fits scfile=/scratch/kocevski/588587/ft2_4FGL_J1150.4+2418_weekly_bin759.fits outfile=/scratch/kocevski/588587/cmap_HighResolution_698025601_698630401_4FGL_J1150.4+2418_weekly_bin759.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.48
user 0.33
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/588587/ft1_filtered_4FGL_J1150.4+2418_weekly_bin759.fits evtable="EVENTS" scfile=/scratch/kocevski/588587/ft2_4FGL_J1150.4+2418_weekly_bin759.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/588587/Model_4FGL_J1150.4+2418_weekly_bin759.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/588587/ft1_filtered_4FGL_J1150.4+2418_weekly_bin759.fits.....................!
real 53.17
user 52.06
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/588587/ft1_filtered_4FGL_J1150.4+2418_weekly_bin759.fits', '/scratch/kocevski/588587/ft2_4FGL_J1150.4+2418_weekly_bin759.fits', expMap='/scratch/kocevski/588587/expmap_698025601_698630401_4FGL_J1150.4+2418_weekly_bin759.fits', expCube='/scratch/kocevski/588587/ltcube_698025601_698630401_4FGL_J1150.4+2418_weekly_bin759.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/588587/Model_4FGL_J1150.4+2418_weekly_bin759.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/588587/ft1_filtered_4FGL_J1150.4+2418_weekly_bin759.fits
Spacecraft file(s): /scratch/kocevski/588587/ft2_4FGL_J1150.4+2418_weekly_bin759.fits
Exposure map: /scratch/kocevski/588587/expmap_698025601_698630401_4FGL_J1150.4+2418_weekly_bin759.fits
Exposure cube: /scratch/kocevski/588587/ltcube_698025601_698630401_4FGL_J1150.4+2418_weekly_bin759.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/588587/Model_4FGL_J1150.4+2418_weekly_bin759.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) = 7785.27947224

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22315E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    11.805       1.0000          .0000       .10000E+07
     3 'Prefactor '    7.2930       1.0000          .0000       .10000E+07
     4 'Prefactor '    11.670       1.0000          .0000       .10000E+07
     5 'Prefactor '    8.3982       1.0000          .0000       .10000E+07
     6 'Prefactor '    10.918       1.0000          .0000       .10000E+07
     7 'Prefactor '    .14195E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .36900E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .85850       1.0000          .0000       .10000E+07
    10 'norm      '    54.333       1.0000          .0000       .10000E+07
    11 'Prefactor '    .67682       1.0000          .0000       .10000E+07
    12 'Prefactor '    .77053E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    2.0968       1.0000          .0000       .10000E+07
    14 'norm      '    .15912E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    1.4863       1.0000          .0000       .10000E+07
    16 'Prefactor '    1.3308       1.0000          .0000       .10000E+07
    17 'Prefactor '    .59291E-04   1.0000          .0000       .10000E+07
    18 'norm      '    .45574E-01   1.0000          .0000       .10000E+07
    19 'norm      '    13.902       1.0000          .0000       .10000E+07
    20 'Prefactor '    10.938       1.0000          .0000       .10000E+07
    21 'Normalizat'    .64721       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.3238       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=   7784.544     FROM MIGRAD    STATUS=CONVERGED    112 CALLS     1359 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    1.4831        .41053E-07** at limit **
   2  Prefactor     11.828        1.2307       -.26001E-08   -.51733E-02
   3  Prefactor     7.2473        1.7919        .11344E-07   -.40887E-01
   4  Prefactor     11.767        1.6374       -.10264E-07    .78517E-01
   5  Prefactor     8.3167        1.4347        .83894E-08   -.31424E-01
   6  Prefactor     10.868        5.1602        .45802E-08   -.31762E-03
   7  Prefactor     .16653E-09    12.054       -.55589E-07** at limit **
   8  Prefactor     .51625E-08    3.6991        .57016E-07** at limit **
   9  Prefactor     .86227        2.1178        .44255E-07   -.22626E-02
  10  norm          54.305        3.8673        .68689E-08   -.24050E-02
  11  Prefactor     .64486        .69889       -.53599E-08    .10248E-01
  12  Prefactor     .38858E-09    2.3557       -.63228E-07** at limit **
  13  Prefactor     2.0956        2.2735       -.58744E-07   -.48570E-02
  14  norm          .49960E-09    1.6976       -.85669E-08** at limit **
  15  Prefactor     1.4858        1.5219       -.11675E-07   -.14340E-02
  16  Prefactor     1.3296        1.5207        .20691E-07    .12168E-02
  17  Prefactor     .26090E-08    3.1702       -.82368E-09** at limit **
  18  norm          .45446E-01    .15776       -.28120E-07** at limit **
  19  norm          13.879        2.5210       -.32879E-08   -.42355E-01
  20  Prefactor     10.983        1.0441        .20757E-09   -.20081E-02
  21  Normalizat    .64776        .21367       -.32434E-05   -.22912E-03
  22  Prefactor     1.3240        .23725        .83561E-06   -.23540E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Prefactor  = 11.828
  Prefactor  = 7.24728
  Prefactor  = 11.7668
  Prefactor  = 8.31671
  Prefactor  = 10.8676
  Prefactor  = 1.66533e-10
  Prefactor  = 5.16254e-09
  Prefactor  = 0.862267
  norm       = 54.3046
  Prefactor  = 0.644855
  Prefactor  = 3.88578e-10
  Prefactor  = 2.09563
  norm       = 4.996e-10
  Prefactor  = 1.48583
  Prefactor  = 1.32963
  Prefactor  = 2.60902e-09
  norm       = 0.0454464
  norm       = 13.8793
  Prefactor  = 10.9834
  Normalizat = 0.647763
  Prefactor  = 1.32399
 **********
 **   18 **HESSE 
 **********

 FCN=   7784.544     FROM HESSE     STATUS=OK           398 CALLS     1757 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    1.4765        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.828        7.6270        .29132E-03   -1.5639    
   3  Prefactor     7.2473        10.227        .37117E-03   -1.5654    
   4  Prefactor     11.767        12.313        .29300E-03   -1.5639    
   5  Prefactor     8.3167        9.7862        .34569E-03   -1.5650    
   6  Prefactor     10.868        5.7212        .30296E-03   -1.5642    
   7  Prefactor     .16653E-09    12.039        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .51625E-08    3.7482        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .86227        2.1546        .48673E-03   -1.5689    
  10  norm          54.305        3.8914        .13567E-03   -1.5561    
  11  Prefactor     .64486        5.4679        .62610E-03   -1.5692    
  12  Prefactor     .38858E-09    2.3427        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.0956        2.2937        .71248E-03   -1.5679    
  14  norm          .49960E-09    1.7295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.4858        1.5163        .87944E-03   -1.5684    
  16  Prefactor     1.3296        1.5573        .95156E-03   -1.5685    
  17  Prefactor     .26090E-08    3.2319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .45446E-01    .13665        .10805E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          13.879        5.6151        .26837E-03   -1.5633    
  20  Prefactor     10.983        7.6872        .30268E-03   -1.5642    
  21  Normalizat    .64776        .18790        .80477E-01   -1.0599    
  22  Prefactor     1.3240        .20088        .65052E-01   -.82596    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00306e-06
Minuit parameter uncertainties:
  1  1.61796e-05
  2  7.62701
  3  10.2275
  4  12.3134
  5  9.78619
  6  5.72117
  7  9.29037e-05
  8  0.000277917
  9  2.15459
  10  3.89139
  11  3.75554
  12  5.83446e-05
  13  2.29366
  14  5.88056e-05
  15  1.51631
  16  1.55733
  17  0.000183796
  18  0.136648
  19  5.61514
  20  7.68723
  21  0.188087
  22  0.200997
Done.

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

Extracting fit parameters...

4FGL J1150.4+2418
   Spectrum: PowerLaw
286    Prefactor:  8.623e-01  2.155e+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

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  1.324e+00  2.010e-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:  6.478e-01  1.881e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.20
Ra Dec: 177.603 24.302
Photon Flux Upper Limit: 1.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.76e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/588587/likelihoodResults_698025601_698630401_4FGL_J1150.4+2418_weekly_bin759.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) = 7784.24162171
delta logL = 0.302463189106

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7784.22235308
delta logL = 0.321731821024

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40699       1.0000          .0000       .10000E+07
     2 'Index     '    3.2581       1.0000          .0000       10.000    
     3 'Normalizat'    .61150       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3478       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.

 FCN=   7784.222     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      270 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40561        9.1249        .88682E-03    .23870E-01
   2  Index         3.2601        3.1809        .12579        .20597E-03
   3  Normalizat    .61161        .39780E-01    .82585E-01    .10095E-03
   4  Prefactor     1.3476        .44771E-01    .64543E-01    .24294E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.40561
  Index      = 3.26008
  Normalizat = 0.611613
  Prefactor  = 1.34765
 **********
 **   18 **HESSE 
 **********

 FCN=   7784.222     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      303 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40561        27.858        .64141E-05   -1.5695    
   2  Index         3.2601        6.3424        .79202E-02   -.35542    
   3  Normalizat    .61161        .19752        .36582E-03   -1.0749    
   4  Prefactor     1.3476        .23094        .28543E-03   -.81901    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.69258e-09
Minuit parameter uncertainties:
  1  6.72302
  2  7.96779
  3  0.197743
  4  0.231116
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/588587': 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): 102
logL (Free Index) = 7784.22235177
delta logL = 0.321733128417

Extracting fit parameters...

4FGL J1150.4+2418
   Spectrum: PowerLaw
286    Prefactor:  4.056e-01  6.723e+00  0.000e+00  1.000e+06 ( 1.000e-12)
287        Index:  3.260e+00  7.968e+00  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.348e+00  2.311e-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:  6.116e-01  1.977e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.20
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/588587/cmap_HighResolution_698025601_698630401_4FGL_J1150.4+2418_weekly_bin759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.76e-03', job_status='DONE', photon_flux_upper_limit='1.02e-07', time_completed='2023-02-21 03:38:02.697110', job_id='588587', GAL2='1.35', fit_tolerance='1e-08', EG2='0.61', EG='0.65', time_epoch_completed='1676979482.7', return_code2='102', ts='0.20', comment='SUCCESS', return_code='0', GAL='1.32', dlogl='3.22e-01', ts2='0.87', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='759' AND source_name='4FGL J1150.4+2418' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 21 03:38:02 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0033>
Subject: Job 588587: <4FGL_J1150.4+2418_weekly_bin759> in cluster <slac> Done

Job <4FGL_J1150.4+2418_weekly_bin759> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Feb 21 03:25:27 2023
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 03:25:28 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 03:25:28 2023
Terminated at Tue Feb 21 03:38:03 2023
Results reported at Tue Feb 21 03:38:03 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.4+2418_weekly_bin759 177.603 24.3016 698025601 698630401 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 :                                   556.07 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             235.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   754 sec.
    Turnaround time :                            756 sec.

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

