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


Performing analysis on: 4FGL_J1233.7-0144_daily_bin1769
RA = 188.434, Dec = -1.7428
tmin = 697852801, tmax = 698112001
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='434600', job_status='RUN', time_executed='2023-02-15 00:49:20.253524', time_epoch_executed='1676450960.25' WHERE source_name='4FGL J1233.7-0144' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/434600

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/434600/ft1_4FGL_J1233.7-0144_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/434600/ft2_4FGL_J1233.7-0144_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/434600/ft1_4FGL_J1233.7-0144_daily_bin1769.fits outfile=/scratch/kocevski/434600/ft1_filteredMKT_4FGL_J1233.7-0144_daily_bin1769.fits ra=188.434 dec=-1.7428 rad=12.0 tmin=697852801.0 tmax=698112001.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.37
user 4.16
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/434600/ft2_4FGL_J1233.7-0144_daily_bin1769.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/434600/ft1_filteredMKT_4FGL_J1233.7-0144_daily_bin1769.fits evtable="EVENTS" outfile="/scratch/kocevski/434600/ft1_filtered_4FGL_J1233.7-0144_daily_bin1769.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.32
sys 0.15

Number of photons that the gtmktime cut: 556

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/434600/ft1_filtered_4FGL_J1233.7-0144_daily_bin1769.fits" evtable="EVENTS" scfile=/scratch/kocevski/434600/ft2_4FGL_J1233.7-0144_daily_bin1769.fits sctable="SC_DATA" outfile=/scratch/kocevski/434600/ltcube_697852801_698112001_4FGL_J1233.7-0144_daily_bin1769.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/434600/ft2_4FGL_J1233.7-0144_daily_bin1769.fits
.....................!
real 11.97
user 11.66
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/434600/ft1_filtered_4FGL_J1233.7-0144_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/434600/ft2_4FGL_J1233.7-0144_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/434600/ltcube_697852801_698112001_4FGL_J1233.7-0144_daily_bin1769.fits outfile=/scratch/kocevski/434600/expmap_697852801_698112001_4FGL_J1233.7-0144_daily_bin1769.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/434600/ltcube_697852801_698112001_4FGL_J1233.7-0144_daily_bin1769.fits
.....................!
real 192.70
user 188.39
sys 4.00

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/434600/ft1_filtered_4FGL_J1233.7-0144_daily_bin1769.fits scfile=/scratch/kocevski/434600/ft2_4FGL_J1233.7-0144_daily_bin1769.fits outfile=/scratch/kocevski/434600/cmap_697852801_698112001_4FGL_J1233.7-0144_daily_bin1769.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/434600/ft1_filtered_4FGL_J1233.7-0144_daily_bin1769.fits scfile=/scratch/kocevski/434600/ft2_4FGL_J1233.7-0144_daily_bin1769.fits outfile=/scratch/kocevski/434600/cmap_HighResolution_697852801_698112001_4FGL_J1233.7-0144_daily_bin1769.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.51
user 0.38
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/434600/ft1_filtered_4FGL_J1233.7-0144_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/434600/ft2_4FGL_J1233.7-0144_daily_bin1769.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/434600/Model_4FGL_J1233.7-0144_daily_bin1769.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/434600/ft1_filtered_4FGL_J1233.7-0144_daily_bin1769.fits.....................!
real 51.17
user 49.94
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/434600/ft1_filtered_4FGL_J1233.7-0144_daily_bin1769.fits', '/scratch/kocevski/434600/ft2_4FGL_J1233.7-0144_daily_bin1769.fits', expMap='/scratch/kocevski/434600/expmap_697852801_698112001_4FGL_J1233.7-0144_daily_bin1769.fits', expCube='/scratch/kocevski/434600/ltcube_697852801_698112001_4FGL_J1233.7-0144_daily_bin1769.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/434600/Model_4FGL_J1233.7-0144_daily_bin1769.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/434600/ft1_filtered_4FGL_J1233.7-0144_daily_bin1769.fits
Spacecraft file(s): /scratch/kocevski/434600/ft2_4FGL_J1233.7-0144_daily_bin1769.fits
Exposure map: /scratch/kocevski/434600/expmap_697852801_698112001_4FGL_J1233.7-0144_daily_bin1769.fits
Exposure cube: /scratch/kocevski/434600/ltcube_697852801_698112001_4FGL_J1233.7-0144_daily_bin1769.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/434600/Model_4FGL_J1233.7-0144_daily_bin1769.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) = 6084.2984153

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.3745       1.0000          .0000       .10000E+07
     2 'Prefactor '    7.0281       1.0000          .0000       .10000E+07
     3 'Prefactor '    42.279       1.0000          .0000       .10000E+07
     4 'Prefactor '    .34068E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    13.568       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.9566       1.0000          .0000       .10000E+07
     7 'Prefactor '    .98183E-06   1.0000          .0000       .10000E+07
     8 'norm      '    .30931E-06   1.0000          .0000       .10000E+07
     9 'norm      '    5.9635       1.0000          .0000       .10000E+07
    10 'Prefactor '    .37280       1.0000          .0000       .10000E+07
    11 'norm      '    .59196E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .38744E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .56244       1.0000          .0000       .10000E+07
    14 'Prefactor '    .51361E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .46314E-03   1.0000          .0000       .10000E+07
    16 'norm      '    .29981       1.0000          .0000       .10000E+07
    17 'Prefactor '    9.4010       1.0000          .0000       .10000E+07
    18 'Prefactor '    .24682E-03   1.0000          .0000       .10000E+07
    19 'norm      '    30.072       1.0000          .0000       .10000E+07
    20 'norm      '    .41430       1.0000          .0000       .10000E+07
    21 'Prefactor '    .35196E-01   1.0000          .0000       .10000E+07
    22 'norm      '    2.7245       1.0000          .0000       .10000E+07
    23 'Prefactor '    2.0706       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.5649       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .75455       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=   6084.279     FROM MIGRAD    STATUS=CONVERGED    183 CALLS     3205 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4095        11.918        .34391E-05    .82097E-03
   2  Prefactor     7.0783        6.6416        .42507E-06   -.52187E-02
   3  Prefactor     41.342        59.820       -.16935E-05    .77230E-02
   4  Prefactor     .69778E-07    13.571        .65537E-06** at limit **
   5  Prefactor     13.549        8.4123       -.15254E-05   -.14336    
   6  Prefactor     2.9634        1.1091        .40546E-07    .56553E-03
   7  Prefactor      .0000        2.1768        .12510E-06** at limit **
   8  norm           .0000        .48540        .20168E-06** at limit **
   9  norm          5.9631        3.0020        .16555E-06    .65740E-03
  10  Prefactor     .90872E-05    89.006       -.49953E-05** at limit **
  11  norm          .17764E-07    11.799        .13952E-05** at limit **
  12  Prefactor      .0000        5.7245        .26056E-06** at limit **
  13  norm          .56219        .39021        .40651E-07   -.63607E-03
  14  Prefactor      .0000        4.3598       -.19732E-07** at limit **
  15  Prefactor      .0000        3.5681        .59377E-06** at limit **
  16  norm          .29964        1.2280       -.43198E-07   -.34985E-04
  17  Prefactor     9.4384        11.322       -.13092E-05   -.13518E-01
  18  Prefactor     .16948E-06    17.648        .16654E-05** at limit **
  19  norm          29.745        28.397        .27640E-05   -.48599E-01
  20  norm          .41428        .22964       -.62358E-07   -.20378E-02
  21  Prefactor      .0000        27.473        .60678E-06** at limit **
  22  norm          2.6343        6.0008        .73998E-06   -.95088E-04
  23  Prefactor     2.0771        1.9845       -.38286E-06    .21761E-02
  24  Normalizat    1.5646        .25743       -.10995E-05    .10187E-04
  25  Prefactor     .75541        .18446        .39836E-05   -.32811E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.40949
  Prefactor  = 7.07832
  Prefactor  = 41.3422
  Prefactor  = 6.97775e-08
  Prefactor  = 13.549
  Prefactor  = 2.9634
  Prefactor  = 0
  norm       = 0
  norm       = 5.96307
  Prefactor  = 9.08718e-06
  norm       = 1.77636e-08
  Prefactor  = 0
  norm       = 0.562191
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.299635
  Prefactor  = 9.4384
  Prefactor  = 1.69476e-07
  norm       = 29.7454
  norm       = 0.414279
  Prefactor  = 0
  norm       = 2.63428
  Prefactor  = 2.07714
  Normalizat = 1.56461
  Prefactor  = 0.755414
 **********
 **   18 **HESSE 
 **********

 FCN=   6084.279     FROM HESSE     STATUS=OK           485 CALLS     3690 TOTAL
                     EDM=   .48E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4095        11.996        .92898E-03   -1.5684    
   2  Prefactor     7.0783        18.966        .37817E-03   -1.5655    
   3  Prefactor     41.342        60.381        .15381E-03   -1.5579    
   4  Prefactor     .69778E-07    13.729        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     13.549        13.459        .27167E-03   -1.5634    
   6  Prefactor     2.9634        26.730        .59034E-03   -1.5674    
   7  Prefactor      .0000        2.1769        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        .48536        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.9631        3.0280        .41095E-03   -1.5659    
  10  Prefactor     .90872E-05    13.002        .15936E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .17764E-07    11.858        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        5.6954        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .56219        .39303        .72662E-03   -1.5693    
  14  Prefactor      .0000        4.3567        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        3.5663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .29964        1.2123        .10216E-02   -1.5697    
  17  Prefactor     9.4384        11.407        .32661E-03   -1.5647    
  18  Prefactor     .16948E-06    18.035        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          29.745        30.818        .18238E-03   -1.5599    
  20  norm          .41428        .23297        .59639E-03   -1.5695    
  21  Prefactor      .0000        27.377        .16188E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.6343        6.0358        .61669E-03   -1.5676    
  23  Prefactor     2.0771        62.042        .71761E-03   -1.5679    
  24  Normalizat    1.5646        .22610        .58465E-01   -.75979    
  25  Prefactor     .75541        .15913        .43123E-01   -1.0139    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.7951e-07
Minuit parameter uncertainties:
  1  8.2239
  2  18.9662
  3  60.382
  4  0.00195779
  5  13.4585
  6  17.8002
  7  1.54853e-06
  8  8.45881e-07
  9  3.02797
  10  0.0217392
  11  0.000917421
  12  1.93956e-05
  13  0.39303
  14  2.0899e-05
  15  1.40349e-05
  16  1.2054
  17  11.4075
  18  0.00349676
  19  30.8186
  20  0.232971
  21  5.08353e-05
  22  6.03578
  23  22.7044
  24  0.226249
  25  0.159231
Done.

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

Extracting fit parameters...

4FGL J1233.7-0144
   Spectrum: PowerLaw
334    Prefactor:  0.000e+00  2.090e-05  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.554e-01  1.592e-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.565e+00  2.262e-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.29e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.74e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/434600/likelihoodResults_697852801_698112001_4FGL_J1233.7-0144_daily_bin1769.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) = 6084.29463087
delta logL = -0.0153641911975

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6084.27927099
delta logL = -4.31615080743e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11871E-04   1.0000          .0000       .10000E+07
     2 'Index     '    2.1889       1.0000          .0000       10.000    
     3 'Normalizat'    1.5647       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75556       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=   6084.279     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      213 TOTAL
                     EDM=   .52E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.7929        .42118E-03** at limit **
   2  Index         1.5925        .89833        .27838E-05     .0000    
   3  Normalizat    1.5646        1.0435       -.30265E-06   -.68759E-05
   4  Prefactor     .75541        1.1049       -.12957E-05   -.75490E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.59248
  Normalizat = 1.56461
  Prefactor  = 0.755414
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6084.279     FROM HESSE     STATUS=FAILED         9 CALLS      222 TOTAL
                     EDM=   .52E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.7929        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .23983        1.4569        .27838E-05   -.74982    
   3  Normalizat    1.5646        1.0435       -.30265E-06   -.75979    
   4  Prefactor     .75541        1.1049       -.12957E-05   -1.0139    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.2163e-14
Minuit parameter uncertainties:
  1  4.1942e-07
  2  0.907611
  3  1.05853
  4  1.13993
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/434600': 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) = 6084.27926667
delta logL = 0.0

Extracting fit parameters...

4FGL J1233.7-0144
   Spectrum: PowerLaw
334    Prefactor:  0.000e+00  4.194e-07  0.000e+00  1.000e+06 ( 1.000e-13)
335        Index:  1.592e+00  9.076e-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.554e-01  1.140e+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.565e+00  1.059e+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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/434600/cmap_HighResolution_697852801_698112001_4FGL_J1233.7-0144_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.74e-03', job_status='DONE', photon_flux_upper_limit='6.29e-08', time_completed='2023-02-15 01:01:20.126090', job_id='434600', GAL2='0.76', fit_tolerance='1e-08', EG2='1.56', EG='1.56', time_epoch_completed='1676451680.13', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='1769' AND source_name='4FGL J1233.7-0144' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 01:01:20 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 434600: <4FGL_J1233.7-0144_daily_bin1769> in cluster <slac> Done

Job <4FGL_J1233.7-0144_daily_bin1769> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Feb 15 00:45:19 2023
Job was executed on host(s) <bullet0214>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 00:45:21 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 00:45:21 2023
Terminated at Wed Feb 15 01:01:20 2023
Results reported at Wed Feb 15 01:01:20 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1233.7-0144_daily_bin1769 188.434 -1.7428 697852801 698112001 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 :                                   722.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             291.34 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   959 sec.
    Turnaround time :                            961 sec.

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

