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 80 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7174
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1233.7-0144_daily_bin1750
RA = 188.434, Dec = -1.7428
tmin = 692928001, tmax = 693187201
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='10768', job_status='RUN', time_executed='2022-12-20 00:46:51.254725', time_epoch_executed='1671526011.25' WHERE source_name='4FGL J1233.7-0144' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/10768

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/10768/ft1_4FGL_J1233.7-0144_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/10768/ft2_4FGL_J1233.7-0144_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/10768/ft1_4FGL_J1233.7-0144_daily_bin1750.fits outfile=/scratch/kocevski/10768/ft1_filteredMKT_4FGL_J1233.7-0144_daily_bin1750.fits ra=188.434 dec=-1.7428 rad=12.0 tmin=692928001.0 tmax=693187201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.53
user 3.23
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/10768/ft2_4FGL_J1233.7-0144_daily_bin1750.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/10768/ft2_4FGL_J1233.7-0144_daily_bin1750.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/10768/ft1_filteredMKT_4FGL_J1233.7-0144_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/10768/ft1_filtered_4FGL_J1233.7-0144_daily_bin1750.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 656

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/10768/ft1_filtered_4FGL_J1233.7-0144_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/10768/ft2_4FGL_J1233.7-0144_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/10768/ltcube_692928001_693187201_4FGL_J1233.7-0144_daily_bin1750.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /scratch/kocevski/10768/ft2_4FGL_J1233.7-0144_daily_bin1750.fits
.....................!
real 11.66
user 11.28
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/10768/ft1_filtered_4FGL_J1233.7-0144_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/10768/ft2_4FGL_J1233.7-0144_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/10768/ltcube_692928001_693187201_4FGL_J1233.7-0144_daily_bin1750.fits outfile=/scratch/kocevski/10768/expmap_692928001_693187201_4FGL_J1233.7-0144_daily_bin1750.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /scratch/kocevski/10768/ltcube_692928001_693187201_4FGL_J1233.7-0144_daily_bin1750.fits
.....................!
real 190.80
user 185.96
sys 4.48

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 191 point sources and 0 extended sources

Setting source of interest to:
4FGL J1233.7-0144 @ 188.434 -1.7428

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/10768/ft1_filtered_4FGL_J1233.7-0144_daily_bin1750.fits scfile=/scratch/kocevski/10768/ft2_4FGL_J1233.7-0144_daily_bin1750.fits outfile=/scratch/kocevski/10768/cmap_692928001_693187201_4FGL_J1233.7-0144_daily_bin1750.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=188.434 yref=-1.7428 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.55
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/10768/ft1_filtered_4FGL_J1233.7-0144_daily_bin1750.fits scfile=/scratch/kocevski/10768/ft2_4FGL_J1233.7-0144_daily_bin1750.fits outfile=/scratch/kocevski/10768/cmap_HighResolution_692928001_693187201_4FGL_J1233.7-0144_daily_bin1750.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=188.434 yref=-1.7428 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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/10768/ft1_filtered_4FGL_J1233.7-0144_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/10768/ft2_4FGL_J1233.7-0144_daily_bin1750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/10768/Model_4FGL_J1233.7-0144_daily_bin1750.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/10768/ft1_filtered_4FGL_J1233.7-0144_daily_bin1750.fits.....................!
real 59.85
user 57.92
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/10768/ft1_filtered_4FGL_J1233.7-0144_daily_bin1750.fits', '/scratch/kocevski/10768/ft2_4FGL_J1233.7-0144_daily_bin1750.fits', expMap='/scratch/kocevski/10768/expmap_692928001_693187201_4FGL_J1233.7-0144_daily_bin1750.fits', expCube='/scratch/kocevski/10768/ltcube_692928001_693187201_4FGL_J1233.7-0144_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/10768/Model_4FGL_J1233.7-0144_daily_bin1750.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1233.7-0144'

4FGL J1233.7-0144
   Spectrum: PowerLaw
334    Prefactor:  3.163e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
335        Index:  2.061e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
336        Scale:  1.780e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/10768/ft1_filtered_4FGL_J1233.7-0144_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/10768/ft2_4FGL_J1233.7-0144_daily_bin1750.fits
Exposure map: /scratch/kocevski/10768/expmap_692928001_693187201_4FGL_J1233.7-0144_daily_bin1750.fits
Exposure cube: /scratch/kocevski/10768/ltcube_692928001_693187201_4FGL_J1233.7-0144_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/10768/Model_4FGL_J1233.7-0144_daily_bin1750.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .46494E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .28615E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    3.5826       1.0000          .0000       .10000E+07
     4 'Prefactor '    .63356       1.0000          .0000       .10000E+07
     5 'Prefactor '    .20612       1.0000          .0000       .10000E+07
     6 'Prefactor '    .89346E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    17.066       1.0000          .0000       .10000E+07
     8 'norm      '    .99920E-09   1.0000          .0000       .10000E+07
     9 'norm      '    5.4876       1.0000          .0000       .10000E+07
    10 'Prefactor '    .43740E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .58924       1.0000          .0000       .10000E+07
    12 'Prefactor '    .41928E-03   1.0000          .0000       .10000E+07
    13 'norm      '    1.1658       1.0000          .0000       .10000E+07
    14 'Prefactor '    .28531E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .10357E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .40337       1.0000          .0000       .10000E+07
    17 'Prefactor '    17.978       1.0000          .0000       .10000E+07
    18 'Prefactor '    .22108E-02   1.0000          .0000       .10000E+07
    19 'norm      '    1.1997       1.0000          .0000       .10000E+07
    20 'norm      '    .28046       1.0000          .0000       .10000E+07
    21 'Prefactor '    283.17       1.0000          .0000       .10000E+07
    22 'norm      '    .68303E-05   1.0000          .0000       .10000E+07
    23 'Prefactor '    .81343E-03   1.0000          .0000       .10000E+07
    24 'Normalizat'    1.6300       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .76527       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6190E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7044.850     FROM MIGRAD    STATUS=CONVERGED    199 CALLS     2323 TOTAL
                     EDM=   .65E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    20.467        .33046E-06** at limit **
   2  Prefactor     .72164E-09    9.9158        .21701E-06** at limit **
   3  Prefactor     3.6798        11.495        .22430E-06   -.69019E-02
   4  Prefactor     .53115        19.536       -.39243E-06   -.46823E-02
   5  Prefactor     .11102E-09    47.320        .25651E-06** at limit **
   6  Prefactor     .27867E-07    6.8838       -.12594E-07** at limit **
   7  Prefactor     17.094        2.2101       -.11384E-07   -.32575E-01
   8  norm           .0000        .90587       -.31679E-07** at limit **
   9  norm          5.4617        4.4192       -.59005E-07   -.15885E-03
  10  Prefactor     .38858E-09    15.086       -.18000E-06** at limit **
  11  norm          1.0103        167.86        .17086E-05    .26440E-03
  12  Prefactor     .55511E-10    6.1132       -.49163E-07** at limit **
  13  norm          1.1656        .57700        .17935E-08   -.30919E-04
  14  Prefactor      .0000        3.6701        .93292E-09** at limit **
  15  Prefactor      .0000        5.5722        .13339E-08** at limit **
  16  norm          .40294        .88718       -.14676E-08    .58096E-04
  17  Prefactor     18.010        10.877        .16010E-07   -.55800E-03
  18  Prefactor     .55511E-10    11.570       -.12676E-06** at limit **
  19  norm          .88384        210.68       -.70560E-06   -.11115E-02
  20  norm          .28016        .20501       -.31172E-08    .18776E-03
  21  Prefactor     284.01        93.193        .22088E-06   -.78656E-02
  22  norm           .0000        2.7766        .15400E-07** at limit **
  23  Prefactor     .42077E-07    6.3127       -.22745E-07** at limit **
  24  Normalizat    1.6306        .25099        .24762E-06    .14013E-05
  25  Prefactor     .76493        .17312        .41234E-07    .48942E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Prefactor  = 7.21645e-10
  Prefactor  = 3.6798
  Prefactor  = 0.531154
  Prefactor  = 1.11022e-10
  Prefactor  = 2.78666e-08
  Prefactor  = 17.0937
  norm       = 0
  norm       = 5.46174
  Prefactor  = 3.88578e-10
  norm       = 1.01028
  Prefactor  = 5.55112e-11
  norm       = 1.16563
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.402937
  Prefactor  = 18.0102
  Prefactor  = 5.55112e-11
  norm       = 0.883837
  norm       = 0.280163
  Prefactor  = 284.011
  norm       = 0
  Prefactor  = 4.20775e-08
  Normalizat = 1.6306
  Prefactor  = 0.764929
 **********
 **   18 **HESSE 
 **********

 FCN=   7044.850     FROM HESSE     STATUS=OK           483 CALLS     2806 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    20.384        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .72164E-09    9.9946        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.6798        77.014        .53366E-03   -1.5670    
   4  Prefactor     .53115        1006.5        .66274E-03   -1.5693    
   5  Prefactor     .11102E-09    46.717        .11668E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .27867E-07    13.029        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     17.094        14.678        .24217E-03   -1.5625    
   8  norm           .0000        .90562        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.4617        4.5918        .42868E-03   -1.5661    
  10  Prefactor     .38858E-09    15.141        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.0103        176.21        .70198E-03   -1.5688    
  12  Prefactor     .55511E-10    6.0943        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.1656        .59356        .92983E-03   -1.5686    
  14  Prefactor      .0000        3.6670        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        5.5608        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .40294        .96573        .26594E-02   -1.5695    
  17  Prefactor     18.010        11.091        .23594E-03   -1.5623    
  18  Prefactor     .55511E-10    11.591        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .88384        27.846        .13642E-01   -1.5689    
  20  norm          .28016        .21481        .68692E-03   -1.5697    
  21  Prefactor     284.01        95.847        .59435E-04   -1.5371    
  22  norm           .0000        2.7868        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .42077E-07    13.277        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.6306        .22782        .60731E-01   -.74172    
  25  Prefactor     .76493        .15133        .43263E-01   -1.0103    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22616e-07
Minuit parameter uncertainties:
  1  6.92694e-05
  2  0.000169876
  3  33.6692
  4  46.2517
  5  0.000135793
  6  0.00120513
  7  14.6779
  8  1.45682e-06
  9  4.59183
  10  0.000148681
  11  26.686
  12  2.89987e-05
  13  0.593559
  14  7.58136e-06
  15  1.77582e-05
  16  0.965726
  17  11.0909
  18  5.19591e-05
  19  9.92198
  20  0.214814
  21  95.8472
  22  4.33497e-06
  23  0.00149459
  24  0.227968
  25  0.151412
Done.

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

Extracting fit parameters...

4FGL J1233.7-0144
   Spectrum: PowerLaw
334    Prefactor:  0.000e+00  7.581e-06  0.000e+00  1.000e+06 ( 1.000e-13)
335        Index:  2.061e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
336        Scale:  1.780e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
616    Prefactor:  7.649e-01  1.514e-01  0.000e+00  1.000e+01 ( 1.000e+00)
617        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
618        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
615   Normalization:  1.631e+00  2.280e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 188.434 -1.743
Photon Flux Upper Limit: 6.04e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.55e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/10768/likelihoodResults_692928001_693187201_4FGL_J1233.7-0144_daily_bin1750.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7044.86387507
delta logL = -0.0142767943607

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7044.84960048
delta logL = -2.20199126488e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7044.850     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      221 TOTAL
                     EDM=   .79E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .52469        .42118E-03** at limit **
   2  Index         .40876        .48645       -.11202E-03     .0000    
   3  Normalizat    1.6306        1.0383        .36328E-04    .27373E-04
   4  Prefactor     .76493        1.1143       -.31307E-04    .48631E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.408762
  Normalizat = 1.6306
  Prefactor  = 0.764929
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7044.850     FROM HESSE     STATUS=FAILED         9 CALLS      230 TOTAL
                     EDM=   .79E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .52469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .26415E-01    .52306       -.11202E-03   -1.1636    
   3  Normalizat    1.6306        1.0383        .36328E-04   -.74172    
   4  Prefactor     .76493        1.1143       -.31307E-04   -1.0103    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.85158e-12
Minuit parameter uncertainties:
  1  2.19401e-06
  2  0.491483
  3  1.05262
  4  1.14982
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/10768': 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) = 7044.84959828
delta logL = -1.81898940355e-12

Extracting fit parameters...

4FGL J1233.7-0144
   Spectrum: PowerLaw
334    Prefactor:  0.000e+00  2.194e-06  0.000e+00  1.000e+06 ( 1.000e-13)
335        Index:  4.088e-01  4.915e-01  0.000e+00  1.000e+01 (-1.000e+00)
336        Scale:  1.780e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
616    Prefactor:  7.649e-01  1.150e+00  0.000e+00  1.000e+01 ( 1.000e+00)
617        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
618        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
615   Normalization:  1.631e+00  1.053e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 188.434 -1.743

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/10768/cmap_HighResolution_692928001_693187201_4FGL_J1233.7-0144_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.55e-03', job_status='DONE', photon_flux_upper_limit='6.04e-08', time_completed='2022-12-20 00:58:45.460928', job_id='10768', GAL2='0.76', fit_tolerance='1e-08', EG2='1.63', EG='1.63', time_epoch_completed='1671526725.46', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='-1.82e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='1750' AND source_name='4FGL J1233.7-0144' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 00:58:45 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0102>
Subject: Job 10768: <4FGL_J1233.7-0144_daily_bin1750> in cluster <slac> Done

Job <4FGL_J1233.7-0144_daily_bin1750> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Dec 20 00:45:18 2022
Job was executed on host(s) <bullet0102>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 00:45:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 00:45:19 2022
Terminated at Tue Dec 20 00:58:46 2022
Results reported at Tue Dec 20 00:58:46 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1233.7-0144_daily_bin1750 188.434 -1.7428 692928001 693187201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1233.7-0144 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   716.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             328.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   806 sec.
    Turnaround time :                            808 sec.

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

