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


Performing analysis on: 4FGL_J1152.3-0839_daily_bin1780
RA = 178.081, Dec = -8.6663
tmin = 700704001, tmax = 700963201
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='61231', job_status='RUN', time_executed='2023-03-20 00:46:12.620841', time_epoch_executed='1679298372.62' WHERE source_name='4FGL J1152.3-0839' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/61231

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/61231/ft1_4FGL_J1152.3-0839_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/61231/ft2_4FGL_J1152.3-0839_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/61231/ft1_4FGL_J1152.3-0839_daily_bin1780.fits outfile=/scratch/kocevski/61231/ft1_filteredMKT_4FGL_J1152.3-0839_daily_bin1780.fits ra=178.081 dec=-8.6663 rad=12.0 tmin=700704001.0 tmax=700963201.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 4.07
user 3.86
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/61231/ft2_4FGL_J1152.3-0839_daily_bin1780.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/61231/ft2_4FGL_J1152.3-0839_daily_bin1780.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/61231/ft1_filteredMKT_4FGL_J1152.3-0839_daily_bin1780.fits evtable="EVENTS" outfile="/scratch/kocevski/61231/ft1_filtered_4FGL_J1152.3-0839_daily_bin1780.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.48
user 0.33
sys 0.14

Number of photons that the gtmktime cut: 344

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/61231/ft1_filtered_4FGL_J1152.3-0839_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/61231/ft2_4FGL_J1152.3-0839_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/61231/ltcube_700704001_700963201_4FGL_J1152.3-0839_daily_bin1780.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/61231/ft2_4FGL_J1152.3-0839_daily_bin1780.fits
.....................!
real 11.99
user 11.63
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/61231/ft1_filtered_4FGL_J1152.3-0839_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/61231/ft2_4FGL_J1152.3-0839_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/61231/ltcube_700704001_700963201_4FGL_J1152.3-0839_daily_bin1780.fits outfile=/scratch/kocevski/61231/expmap_700704001_700963201_4FGL_J1152.3-0839_daily_bin1780.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/61231/ltcube_700704001_700963201_4FGL_J1152.3-0839_daily_bin1780.fits
.....................!
real 192.80
user 187.08
sys 5.37

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

Setting source of interest to:
4FGL J1152.3-0839 @ 178.081 -8.6663

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/61231/ft1_filtered_4FGL_J1152.3-0839_daily_bin1780.fits scfile=/scratch/kocevski/61231/ft2_4FGL_J1152.3-0839_daily_bin1780.fits outfile=/scratch/kocevski/61231/cmap_700704001_700963201_4FGL_J1152.3-0839_daily_bin1780.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.081 yref=-8.6663 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.53
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/61231/ft1_filtered_4FGL_J1152.3-0839_daily_bin1780.fits scfile=/scratch/kocevski/61231/ft2_4FGL_J1152.3-0839_daily_bin1780.fits outfile=/scratch/kocevski/61231/cmap_HighResolution_700704001_700963201_4FGL_J1152.3-0839_daily_bin1780.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.081 yref=-8.6663 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.53
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/61231/ft1_filtered_4FGL_J1152.3-0839_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/61231/ft2_4FGL_J1152.3-0839_daily_bin1780.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/61231/Model_4FGL_J1152.3-0839_daily_bin1780.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/61231/ft1_filtered_4FGL_J1152.3-0839_daily_bin1780.fits.....................!
real 38.40
user 37.13
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/61231/ft1_filtered_4FGL_J1152.3-0839_daily_bin1780.fits', '/scratch/kocevski/61231/ft2_4FGL_J1152.3-0839_daily_bin1780.fits', expMap='/scratch/kocevski/61231/expmap_700704001_700963201_4FGL_J1152.3-0839_daily_bin1780.fits', expCube='/scratch/kocevski/61231/ltcube_700704001_700963201_4FGL_J1152.3-0839_daily_bin1780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/61231/Model_4FGL_J1152.3-0839_daily_bin1780.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1152.3-0839'

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  1.838e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/61231/ft1_filtered_4FGL_J1152.3-0839_daily_bin1780.fits
Spacecraft file(s): /scratch/kocevski/61231/ft2_4FGL_J1152.3-0839_daily_bin1780.fits
Exposure map: /scratch/kocevski/61231/expmap_700704001_700963201_4FGL_J1152.3-0839_daily_bin1780.fits
Exposure cube: /scratch/kocevski/61231/ltcube_700704001_700963201_4FGL_J1152.3-0839_daily_bin1780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/61231/Model_4FGL_J1152.3-0839_daily_bin1780.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) = 3622.06254676

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .51060E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .64674E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    126.00       1.0000          .0000       .10000E+07
     4 'norm      '    .19193E-02   1.0000          .0000       .10000E+07
     5 'norm      '    .14155E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    .13062E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    90.116       1.0000          .0000       .10000E+07
     8 'norm      '    23.480       1.0000          .0000       .10000E+07
     9 'Prefactor '    .90927E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    .22808E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    22.874       1.0000          .0000       .10000E+07
    12 'norm      '    .58004E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.4309       1.0000          .0000       .10000E+07
    14 'Prefactor '    31.962       1.0000          .0000       .10000E+07
    15 'Prefactor '    11.051       1.0000          .0000       .10000E+07
    16 'Prefactor '    10.368       1.0000          .0000       .10000E+07
    17 'Prefactor '    .10813E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .39984E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .20081E-02   1.0000          .0000       .10000E+07
    20 'norm      '    .30886E-06   1.0000          .0000       .10000E+07
    21 'Prefactor '    .33503E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    6.0458       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .35683E-03   1.0000          .0000       .10000E+07
    24 'Normalizat'    .91160       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .98546       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3622.057     FROM MIGRAD    STATUS=CONVERGED    129 CALLS     2071 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .81790E-06    7.5610       -.35031E-08** at limit **
   2  Prefactor     .21227E-06    5.1028        .17729E-05** at limit **
   3  Prefactor     125.95        1.9164       -.28475E-06    .14140    
   4  norm          .30143E-07    7.0047        .32881E-05** at limit **
   5  norm           .0000        .56489        .35148E-06** at limit **
   6  Prefactor      .0000        1.9939       -.18016E-07** at limit **
   7  Prefactor     90.095        1.4521        .65024E-07    .25311E-01
   8  norm          23.477        1.4867       -.24853E-06    .18565E-01
   9  Prefactor      .0000        1.3713       -.44316E-06** at limit **
  10  Prefactor     .10548E-05    12.899       -.25613E-05** at limit **
  11  Prefactor     22.798        1.2406        .18740E-06   -.10347E-01
  12  norm           .0000        2.5989       -.17683E-06** at limit **
  13  Prefactor     1.4430        4.6876       -.61092E-06   -.43149E-03
  14  Prefactor     31.772        3.0823        .55683E-06   -.55979E-01
  15  Prefactor     11.083        12.279       -.71477E-05   -.56614E-01
  16  Prefactor     10.331        1.2515       -.65278E-07    .37960E-02
  17  Prefactor     .68749E-05    12.271        .50009E-05** at limit **
  18  Prefactor     .41656E-06    44.458       -.87053E-05** at limit **
  19  Prefactor     .59069E-05    6.8379       -.34039E-05** at limit **
  20  norm          .55511E-10    2.7690        .13225E-06** at limit **
  21  Prefactor     .46629E-07    4.6615       -.43871E-05** at limit **
  22  Prefactor     6.0442        3.1501       -.31607E-05   -.86452E-03
  23  Prefactor     .50515E-08    4.7055        .87866E-06** at limit **
  24  Normalizat    .91211        .31921        .15000E-04   -.27662E-04
  25  Prefactor     .98535        .21994        .53919E-05   -.51824E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.17901e-07
  Prefactor  = 2.12275e-07
  Prefactor  = 125.951
  norm       = 3.01426e-08
  norm       = 0
  Prefactor  = 0
  Prefactor  = 90.095
  norm       = 23.4773
  Prefactor  = 0
  Prefactor  = 1.05482e-06
  Prefactor  = 22.7979
  norm       = 0
  Prefactor  = 1.44298
  Prefactor  = 31.7724
  Prefactor  = 11.0832
  Prefactor  = 10.3309
  Prefactor  = 6.87495e-06
  Prefactor  = 4.16556e-07
  Prefactor  = 5.90694e-06
  norm       = 5.55112e-11
  Prefactor  = 4.66294e-08
  Prefactor  = 6.04424
  Prefactor  = 5.05151e-09
  Normalizat = 0.912113
  Prefactor  = 0.985354
 **********
 **   18 **HESSE 
 **********

 FCN=   3622.057     FROM HESSE     STATUS=OK           469 CALLS     2540 TOTAL
                     EDM=   .23E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .81790E-06    22.270        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .21227E-06    11.873        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     125.95        96.359        .89092E-04   -1.5484    
   4  norm          .30143E-07    11.626        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        .56779        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        2.0008        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     90.095        19.782        .10535E-03   -1.5518    
   8  norm          23.477        24.790        .20642E-03   -1.5611    
   9  Prefactor      .0000        1.3742        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10548E-05    14.536        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     22.798        26.099        .20914E-03   -1.5612    
  12  norm           .0000        2.6158        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.4430        5.0494        .90272E-03   -1.5684    
  14  Prefactor     31.772        26.421        .17691E-03   -1.5595    
  15  Prefactor     11.083        13.504        .30112E-03   -1.5641    
  16  Prefactor     10.331        19.559        .31092E-03   -1.5644    
  17  Prefactor     .68749E-05    24.309        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .41656E-06    45.244        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .59069E-05    20.938        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .55511E-10    2.7647        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .46629E-07    8.6177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     6.0442        3.1527        .40823E-02   -1.5216    
  23  Prefactor     .50515E-08    8.3845        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .91211        .28276        .71657E-01   -.96036    
  25  Prefactor     .98535        .18852        .46085E-01   -.93219    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.30198e-06
Minuit parameter uncertainties:
  1  0.00853558
  2  0.00317507
  3  96.3606
  4  0.00118348
  5  6.02269e-06
  6  1.31605e-06
  7  19.7822
  8  24.7903
  9  9.9503e-06
  10  0.00783146
  11  26.0996
  12  1.09081e-05
  13  5.04942
  14  26.4208
  15  13.5043
  16  19.5587
  17  0.0258552
  18  0.00868274
  19  0.0222421
  20  2.82566e-05
  21  0.00126755
  22  3.1528
  23  0.00041152
  24  0.283227
  25  0.188649
Done.

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

Extracting fit parameters...

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  1.443e+00  5.049e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  9.854e-01  1.886e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  9.121e-01  2.832e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.11
Ra Dec: 178.081 -8.666
Photon Flux Upper Limit: 1.55e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.20e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/61231/likelihoodResults_700704001_700963201_4FGL_J1152.3-0839_daily_bin1780.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) = 3622.01572392
delta logL = 0.041195578835

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3621.19190701
delta logL = 0.86501249089

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   3622.108     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      441 TOTAL
                     EDM=   .98E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.1884        .42118E-03** at limit **
   2  Index         1.7086        1.1868       -.95839E-07     .0000    
   3  Normalizat    .92202        1.2199       -.65662E-04    .24018E-04
   4  Prefactor     .98688        1.1799        .38097E-04   -.17173E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.70863
  Normalizat = 0.922021
  Prefactor  = 0.986877
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   3622.108     FROM HESSE     STATUS=FAILED         9 CALLS      450 TOTAL
                     EDM=   .98E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.1884        .42118E-03   -183.78    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.9649        2.0884       -.95839E-07   -2006.8    
   3  Normalizat    .92202        1.2199       -.65662E-04   -2339.5    
   4  Prefactor     .98688        1.1799        .38097E-04   -4281.1    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.80694e-12
Minuit parameter uncertainties:
  1  1.7324e-05
  2  1.20736
  3  1.25975
  4  1.21307
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/61231': 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) = 3622.10795319
delta logL = -0.0510336880106

Extracting fit parameters...

4FGL J1152.3-0839
   Spectrum: PowerLaw
285    Prefactor:  0.000e+00  1.732e-05  0.000e+00  1.000e+06 ( 1.000e-12)
286        Index:  1.709e+00  1.207e+00  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  8.403e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  9.869e-01  1.213e+00  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  9.220e-01  1.260e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.11
Ra Dec: 178.081 -8.666

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/61231/cmap_HighResolution_700704001_700963201_4FGL_J1152.3-0839_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.20e-02', job_status='DONE', photon_flux_upper_limit='1.55e-07', time_completed='2023-03-20 00:54:55.808039', job_id='61231', GAL2='0.99', fit_tolerance='1e-08', EG2='0.92', EG='0.91', time_epoch_completed='1679298895.81', return_code2='101', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='-5.10e-02', ts2='0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1780' AND source_name='4FGL J1152.3-0839' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 00:54:55 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0080>
Subject: Job 61231: <4FGL_J1152.3-0839_daily_bin1780> in cluster <slac> Done

Job <4FGL_J1152.3-0839_daily_bin1780> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Mar 20 00:45:16 2023
Job was executed on host(s) <bullet0080>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 00:45:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 00:45:17 2023
Terminated at Mon Mar 20 00:54:56 2023
Results reported at Mon Mar 20 00:54:56 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1152.3-0839_daily_bin1780 178.081 -8.6663 700704001 700963201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1152.3-0839 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   525.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             258.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   579 sec.
    Turnaround time :                            580 sec.

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

