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


Performing analysis on: 4FGL_J1233.7-0144_daily_bin1713
RA = 188.434, Dec = -1.7428
tmin = 683337601, tmax = 683596801
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='120560', job_status='RUN', time_executed='2022-09-16 16:53:54.807843', time_epoch_executed='1663372434.81' WHERE source_name='4FGL J1233.7-0144' and cadence='daily' and bin_id='1713'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/120560

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/120560/ft1_4FGL_J1233.7-0144_daily_bin1713.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/120560/ft2_4FGL_J1233.7-0144_daily_bin1713.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/120560/ft1_4FGL_J1233.7-0144_daily_bin1713.fits outfile=/scratch/kocevski/120560/ft1_filteredMKT_4FGL_J1233.7-0144_daily_bin1713.fits ra=188.434 dec=-1.7428 rad=12.0 tmin=683337601.0 tmax=683596801.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.52
user 3.26
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/120560/ft2_4FGL_J1233.7-0144_daily_bin1713.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/120560/ft1_filteredMKT_4FGL_J1233.7-0144_daily_bin1713.fits evtable="EVENTS" outfile="/scratch/kocevski/120560/ft1_filtered_4FGL_J1233.7-0144_daily_bin1713.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.50
user 0.35
sys 0.14

Number of photons that the gtmktime cut: 677

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/120560/ft1_filtered_4FGL_J1233.7-0144_daily_bin1713.fits" evtable="EVENTS" scfile=/scratch/kocevski/120560/ft2_4FGL_J1233.7-0144_daily_bin1713.fits sctable="SC_DATA" outfile=/scratch/kocevski/120560/ltcube_683337601_683596801_4FGL_J1233.7-0144_daily_bin1713.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/120560/ft2_4FGL_J1233.7-0144_daily_bin1713.fits
.....................!
real 13.70
user 13.28
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/120560/ft1_filtered_4FGL_J1233.7-0144_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/120560/ft2_4FGL_J1233.7-0144_daily_bin1713.fits sctable="SC_DATA" expcube=/scratch/kocevski/120560/ltcube_683337601_683596801_4FGL_J1233.7-0144_daily_bin1713.fits outfile=/scratch/kocevski/120560/expmap_683337601_683596801_4FGL_J1233.7-0144_daily_bin1713.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/120560/ltcube_683337601_683596801_4FGL_J1233.7-0144_daily_bin1713.fits
.....................!
real 190.18
user 185.24
sys 4.49

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/120560/ft1_filtered_4FGL_J1233.7-0144_daily_bin1713.fits scfile=/scratch/kocevski/120560/ft2_4FGL_J1233.7-0144_daily_bin1713.fits outfile=/scratch/kocevski/120560/cmap_683337601_683596801_4FGL_J1233.7-0144_daily_bin1713.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/120560/ft1_filtered_4FGL_J1233.7-0144_daily_bin1713.fits scfile=/scratch/kocevski/120560/ft2_4FGL_J1233.7-0144_daily_bin1713.fits outfile=/scratch/kocevski/120560/cmap_HighResolution_683337601_683596801_4FGL_J1233.7-0144_daily_bin1713.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.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/120560/ft1_filtered_4FGL_J1233.7-0144_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/120560/ft2_4FGL_J1233.7-0144_daily_bin1713.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/120560/Model_4FGL_J1233.7-0144_daily_bin1713.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/120560/ft1_filtered_4FGL_J1233.7-0144_daily_bin1713.fits.....................!
real 62.01
user 60.64
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .78608       1.0000          .0000       .10000E+07
     2 'Prefactor '    .31873E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .53043E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    84.358       1.0000          .0000       .10000E+07
     5 'Prefactor '    .29814E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    1.9453       1.0000          .0000       .10000E+07
     7 'Prefactor '    20.191       1.0000          .0000       .10000E+07
     8 'norm      '    .32238E-02   1.0000          .0000       .10000E+07
     9 'norm      '    7.2518       1.0000          .0000       .10000E+07
    10 'Prefactor '    55.706       1.0000          .0000       .10000E+07
    11 'norm      '    .11126E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.8324       1.0000          .0000       .10000E+07
    13 'norm      '    .50623       1.0000          .0000       .10000E+07
    14 'Prefactor '    22.040       1.0000          .0000       .10000E+07
    15 'Prefactor '    8.8336       1.0000          .0000       .10000E+07
    16 'norm      '    .16154E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    37.118       1.0000          .0000       .10000E+07
    18 'Prefactor '    .52417E-02   1.0000          .0000       .10000E+07
    19 'norm      '    .47772E-01   1.0000          .0000       .10000E+07
    20 'norm      '    .43457       1.0000          .0000       .10000E+07
    21 'Prefactor '    .93273E-04   1.0000          .0000       .10000E+07
    22 'norm      '    4.6376       1.0000          .0000       .10000E+07
    23 'Prefactor '    45.557       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.5109       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .75127       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=   7460.092     FROM MIGRAD    STATUS=CONVERGED    193 CALLS     2231 TOTAL
                     EDM=   .87E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .66527        2.1662        .96353E-07    .12860E-02
   2  Prefactor     .42077E-07    7.0538        .14596E-06** at limit **
   3  Prefactor     .13489E-07    5.8142       -.14890E-06** at limit **
   4  Prefactor     87.098        60.818       -.26481E-06    .32558E-03
   5  Prefactor     .11657E-08    7.2674       -.87212E-08** at limit **
   6  Prefactor     1.7932        2.6483       -.17868E-07    .31659E-02
   7  Prefactor     20.165        11.469        .92454E-07    .21619E-01
   8  norm          .54956E-08    22.939        .14156E-05** at limit **
   9  norm          7.2241        4.2121        .45391E-07   -.49644E-03
  10  Prefactor     55.692        1.5367        .11906E-07   -.25366E-01
  11  norm           .0000        43.326       -.17835E-06** at limit **
  12  Prefactor     1.8299        3.2638        .78385E-07   -.11782E-04
  13  norm          .50736        .57827       -.59847E-07   -.71079E-03
  14  Prefactor     22.002        11.744       -.37634E-09    .10691E-01
  15  Prefactor     8.9298        8.2286       -.73182E-07   -.11545E-02
  16  norm           .0000        .57340        .25855E-07** at limit **
  17  Prefactor     37.065        11.735       -.74270E-08   -.71320E-02
  18  Prefactor     .49016E-07    8.5522       -.40961E-06** at limit **
  19  norm          .52269E-06    68.087       -.17719E-05** at limit **
  20  norm          .43493        .18398       -.29807E-07    .41887E-02
  21  Prefactor     .14433E-08    24.336       -.49043E-06** at limit **
  22  norm          4.4810        10.572        .40997E-06    .11270E-02
  23  Prefactor     45.381        3.1915       -.25264E-07    .17742E-01
  24  Normalizat    1.5092        .25956        .37351E-05   -.53430E-04
  25  Prefactor     .75214        .17530       -.28757E-05   -.45262E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.665271
  Prefactor  = 4.20775e-08
  Prefactor  = 1.34892e-08
  Prefactor  = 87.098
  Prefactor  = 1.16573e-09
  Prefactor  = 1.79318
  Prefactor  = 20.1645
  norm       = 5.4956e-09
  norm       = 7.22413
  Prefactor  = 55.6921
  norm       = 0
  Prefactor  = 1.82988
  norm       = 0.507358
  Prefactor  = 22.0025
  Prefactor  = 8.92985
  norm       = 0
  Prefactor  = 37.0651
  Prefactor  = 4.90163e-08
  norm       = 5.22693e-07
  norm       = 0.434931
  Prefactor  = 1.44329e-09
  norm       = 4.48099
  Prefactor  = 45.3806
  Normalizat = 1.50925
  Prefactor  = 0.752136
 **********
 **   18 **HESSE 
 **********

 FCN=   7460.092     FROM HESSE     STATUS=OK           491 CALLS     2722 TOTAL
                     EDM=   .46E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .66527        21.524        .53979E-03   -1.5692    
   2  Prefactor     .42077E-07    9.4120        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .13489E-07    13.022        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     87.098        60.902        .10888E-03   -1.5521    
   5  Prefactor     .11657E-08    13.191        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.7932        83.919        .74393E-03   -1.5681    
   7  Prefactor     20.165        14.274        .22262E-03   -1.5618    
   8  norm          .54956E-08    2.1202        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          7.2241        4.3878        .37224E-03   -1.5654    
  10  Prefactor     55.692        35.339        .13399E-03   -1.5559    
  11  norm           .0000        43.426        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.8299        3.3219        .77062E-03   -1.5681    
  13  norm          .50736        .60355        .78086E-03   -1.5694    
  14  Prefactor     22.002        11.950        .21307E-03   -1.5614    
  15  Prefactor     8.9298        8.2442        .33700E-03   -1.5648    
  16  norm           .0000        .57270        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     37.065        12.002        .16416E-03   -1.5586    
  18  Prefactor     .49016E-07    11.675        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .52269E-06    15.987        .15630E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .43493        .18571        .52576E-03   -1.5695    
  21  Prefactor     .14433E-08    24.447        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          4.4810        10.698        .46711E-03   -1.5666    
  23  Prefactor     45.381        30.218        .14817E-03   -1.5573    
  24  Normalizat    1.5092        .22074        .64102E-01   -.77519    
  25  Prefactor     .75214        .14825        .61942E-01   -1.0152    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.5865e-08
Minuit parameter uncertainties:
  1  7.56821
  2  0.00125857
  3  0.000837659
  4  60.9025
  5  0.000249773
  6  24.5346
  7  14.274
  8  0.000215926
  9  4.38782
  10  35.3396
  11  3.96156e-05
  12  3.32188
  13  0.603549
  14  11.9501
  15  8.24424
  16  1.02347e-06
  17  12.0018
  18  0.00151293
  19  0.0057815
  20  0.185712
  21  0.000379083
  22  10.6981
  23  30.2183
  24  0.220885
  25  0.148327
Done.

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

Extracting fit parameters...

4FGL J1233.7-0144
   Spectrum: PowerLaw
334    Prefactor:  2.200e+01  1.195e+01  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.521e-01  1.483e-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.509e+00  2.209e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.02
Ra Dec: 188.434 -1.743
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 7.84e-08 +/- 4.26e-08
Energy Flux (Fixed Index): 4.69e-05 +/- 2.55e-05

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) = 7459.6455424
delta logL = 0.446241658005

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7459.64370862
delta logL = 0.448075444332

Fit tolerance = 1e-08

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

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

 FCN=   7459.644     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      272 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.109        110.40        .26647E-03    .82484E-03
   2  Index         2.4752        2.3889        .11112        .17479E-03
   3  Normalizat    1.4677        .10635        .64756E-01   -.11399E-05
   4  Prefactor     .76994        .59817E-01    .43334E-01    .95060E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.109
  Index      = 2.47523
  Normalizat = 1.46771
  Prefactor  = 0.769938
 **********
 **   18 **HESSE 
 **********

 FCN=   7459.644     FROM HESSE     STATUS=OK            33 CALLS      305 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.109        12.996        .10659E-04   -1.5633    
   2  Index         2.4752        .50572        .41103E-02   -.52933    
   3  Normalizat    1.4677        .24750        .28643E-03   -.78690    
   4  Prefactor     .76994        .17397        .27071E-03   -1.0085    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01906e-11
Minuit parameter uncertainties:
  1  12.996
  2  0.506886
  3  0.2477
  4  0.174098
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/120560': 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): 0
logL (Free Index) = 7459.64369706
delta logL = 0.448087003129

Extracting fit parameters...

4FGL J1233.7-0144
   Spectrum: PowerLaw
334    Prefactor:  1.411e+01  1.300e+01  0.000e+00  1.000e+06 ( 1.000e-13)
335        Index:  2.475e+00  5.069e-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.699e-01  1.741e-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.468e+00  2.477e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.93
Ra Dec: 188.434 -1.743
Photon Index (Free Index): 2.48 +/- 0.51
Photon Flux (Free Index): 1.19e-07 +/- 6.93e-08
Energy Flux (Free Index): 3.56e-05 +/- 1.94e-05

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/120560/cmap_HighResolution_683337601_683596801_4FGL_J1233.7-0144_daily_bin1713.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.84e-08', energy_flux2='3.56e-05', photon_flux_error='4.26e-08', dlogl='4.48e-01', energy_flux='4.69e-05', photon_flux2='1.19e-07', job_status='DONE', time_completed='2022-09-16 17:05:11.390941', photon_index_error2='0.51', photon_index2='2.48', ts='7.02', fit_tolerance='1e-08', GAL='0.75', photon_index_error='0.00', energy_flux_error2='1.94e-05', EG='1.51', time_epoch_completed='1663373111.39', return_code='0', job_id='120560', GAL2='0.77', EG2='1.47', return_code2='0', energy_flux_error='2.55e-05', photon_flux_error2='6.93e-08', ts2='7.93', photon_index='2.06' WHERE bin_id='1713' AND source_name='4FGL J1233.7-0144' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 17:05:11 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 120560: <4FGL_J1233.7-0144_daily_bin1713> in cluster <slac> Done

Job <4FGL_J1233.7-0144_daily_bin1713> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 16 16:50:19 2022
Job was executed on host(s) <bullet0251>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 16:51:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 16:51:24 2022
Terminated at Fri Sep 16 17:05:12 2022
Results reported at Fri Sep 16 17:05:12 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1233.7-0144_daily_bin1713 188.434 -1.7428 683337601 683596801 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 :                                   678.47 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             326.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   829 sec.
    Turnaround time :                            893 sec.

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

