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


Performing analysis on: 4FGL_J1233.7-0144_daily_bin1718
RA = 188.434, Dec = -1.7428
tmin = 684633601, tmax = 684892801
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='120571', job_status='RUN', time_executed='2022-09-16 16:51:49.473808', time_epoch_executed='1663372309.47' WHERE source_name='4FGL J1233.7-0144' and cadence='daily' and bin_id='1718'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/120571

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/120571/ft1_4FGL_J1233.7-0144_daily_bin1718.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/120571/ft2_4FGL_J1233.7-0144_daily_bin1718.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/120571/ft1_4FGL_J1233.7-0144_daily_bin1718.fits outfile=/scratch/kocevski/120571/ft1_filteredMKT_4FGL_J1233.7-0144_daily_bin1718.fits ra=188.434 dec=-1.7428 rad=12.0 tmin=684633601.0 tmax=684892801.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.24
user 3.00
sys 0.21

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

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

Number of photons that the gtmktime cut: 191

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/120571/ft1_filtered_4FGL_J1233.7-0144_daily_bin1718.fits" evtable="EVENTS" scfile=/scratch/kocevski/120571/ft2_4FGL_J1233.7-0144_daily_bin1718.fits sctable="SC_DATA" outfile=/scratch/kocevski/120571/ltcube_684633601_684892801_4FGL_J1233.7-0144_daily_bin1718.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/120571/ft2_4FGL_J1233.7-0144_daily_bin1718.fits
.....................!
real 15.34
user 14.80
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/120571/ft1_filtered_4FGL_J1233.7-0144_daily_bin1718.fits evtable="EVENTS" scfile=/scratch/kocevski/120571/ft2_4FGL_J1233.7-0144_daily_bin1718.fits sctable="SC_DATA" expcube=/scratch/kocevski/120571/ltcube_684633601_684892801_4FGL_J1233.7-0144_daily_bin1718.fits outfile=/scratch/kocevski/120571/expmap_684633601_684892801_4FGL_J1233.7-0144_daily_bin1718.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/120571/ltcube_684633601_684892801_4FGL_J1233.7-0144_daily_bin1718.fits
.....................!
real 192.65
user 186.47
sys 5.43

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/120571/ft1_filtered_4FGL_J1233.7-0144_daily_bin1718.fits scfile=/scratch/kocevski/120571/ft2_4FGL_J1233.7-0144_daily_bin1718.fits outfile=/scratch/kocevski/120571/cmap_684633601_684892801_4FGL_J1233.7-0144_daily_bin1718.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/120571/ft1_filtered_4FGL_J1233.7-0144_daily_bin1718.fits scfile=/scratch/kocevski/120571/ft2_4FGL_J1233.7-0144_daily_bin1718.fits outfile=/scratch/kocevski/120571/cmap_HighResolution_684633601_684892801_4FGL_J1233.7-0144_daily_bin1718.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/120571/ft1_filtered_4FGL_J1233.7-0144_daily_bin1718.fits evtable="EVENTS" scfile=/scratch/kocevski/120571/ft2_4FGL_J1233.7-0144_daily_bin1718.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/120571/Model_4FGL_J1233.7-0144_daily_bin1718.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/120571/ft1_filtered_4FGL_J1233.7-0144_daily_bin1718.fits......................!
real 36.75
user 27.89
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.743       1.0000          .0000       .10000E+07
     2 'Prefactor '    .51997E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .33373E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .66606       1.0000          .0000       .10000E+07
     5 'Prefactor '    24.665       1.0000          .0000       .10000E+07
     6 'Prefactor '    .33260E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    34.444       1.0000          .0000       .10000E+07
     8 'norm      '    .12970E-04   1.0000          .0000       .10000E+07
     9 'norm      '    21.694       1.0000          .0000       .10000E+07
    10 'Prefactor '    .85184E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .89257E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    7.8215       1.0000          .0000       .10000E+07
    13 'norm      '    1.8518       1.0000          .0000       .10000E+07
    14 'Prefactor '    .12372E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    24.430       1.0000          .0000       .10000E+07
    16 'norm      '    .42941E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    14.096       1.0000          .0000       .10000E+07
    18 'Prefactor '    .49228E-02   1.0000          .0000       .10000E+07
    19 'norm      '    .11455E-01   1.0000          .0000       .10000E+07
    20 'norm      '    .57349       1.0000          .0000       .10000E+07
    21 'Prefactor '    .56315E-03   1.0000          .0000       .10000E+07
    22 'norm      '    36.726       1.0000          .0000       .10000E+07
    23 'Prefactor '    39.199       1.0000          .0000       .10000E+07
    24 'Normalizat'    .10003E-01   1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.6008       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=   2319.942     FROM MIGRAD    STATUS=CONVERGED    176 CALLS     2172 TOTAL
                     EDM=   .47E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.350        4.3048        .75228E-07    .16487E-01
   2  Prefactor     .13323E-08    9.4850        .19936E-07** at limit **
   3  Prefactor     .28327E-06    11.394        .39204E-07** at limit **
   4  Prefactor     .42446E-04    33.246        .17998E-06** at limit **
   5  Prefactor     29.351        64.365       -.10113E-05    .20831E-01
   6  Prefactor     .54928E-05    63.701        .18587E-05** at limit **
   7  Prefactor     33.265        12.657        .19848E-06    .24057E-01
   8  norm          .22204E-09    6.7963        .83645E-06** at limit **
   9  norm          21.759        21.936        .11094E-06    .29018E-01
  10  Prefactor     .40091E-04    155.62        .20725E-05** at limit **
  11  norm          .16436E-05    62.005        .18110E-05** at limit **
  12  Prefactor     7.4790        13.910        .45252E-06    .17696E-02
  13  norm          1.8517        2.4015        .94543E-07   -.10646E-02
  14  Prefactor     .45514E-06    35.075        .26972E-08** at limit **
  15  Prefactor     24.320        5.1166        .79890E-07   -.13571E-01
  16  norm          .55511E-10    81.791       -.92156E-06** at limit **
  17  Prefactor     14.396        10.529       -.16741E-06   -.11526E-01
  18  Prefactor     .91982E-07    10.661        .33516E-07** at limit **
  19  norm          .63283E-08    23.287       -.45507E-06** at limit **
  20  norm          .57270        .40319        .72691E-07   -.28280E-02
  21  Prefactor     .20114E-05    73.899       -.28829E-06** at limit **
  22  norm          36.659        20.843        .10286E-07    .30969E-01
  23  Prefactor     38.596        14.965       -.10728E-06   -.14788    
  24  Normalizat    .10000E-01    1.3554        .99459E-04** at limit **
  25  Prefactor     1.6015        .17508        .13511E-05   -.50202E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.3496
  Prefactor  = 1.33227e-09
  Prefactor  = 2.83273e-07
  Prefactor  = 4.24459e-05
  Prefactor  = 29.3509
  Prefactor  = 5.49277e-06
  Prefactor  = 33.2654
  norm       = 2.22045e-10
  norm       = 21.7593
  Prefactor  = 4.00907e-05
  norm       = 1.64363e-06
  Prefactor  = 7.47905
  norm       = 1.85169
  Prefactor  = 4.55136e-07
  Prefactor  = 24.32
  norm       = 5.55112e-11
  Prefactor  = 14.3964
  Prefactor  = 9.1982e-08
  norm       = 6.32827e-09
  norm       = 0.572705
  Prefactor  = 2.01145e-06
  norm       = 36.6593
  Prefactor  = 38.5963
  Normalizat = 0.01
  Prefactor  = 1.60145
 **********
 **   18 **HESSE 
 **********

 FCN=   2319.942     FROM HESSE     STATUS=OK           485 CALLS     2657 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.350        35.136        .23107E-03   -1.5622    
   2  Prefactor     .13323E-08    32.221        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .28327E-06    31.999        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .42446E-04    228.91        .63507E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     29.351        89.195        .20140E-03   -1.5600    
   6  Prefactor     .54928E-05    131.95        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     33.265        45.304        .17041E-03   -1.5593    
   8  norm          .22204E-09    6.8012        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          21.759        23.916        .21476E-03   -1.5615    
  10  Prefactor     .40091E-04    332.26        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .16436E-05    130.76        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.4790        15.649        .35830E-03   -1.5653    
  13  norm          1.8517        2.6200        .76579E-03   -1.5681    
  14  Prefactor     .45514E-06    35.907        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     24.320        25.290        .20236E-03   -1.5609    
  16  norm          .55511E-10    4.0915        .59794E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     14.396        25.479        .26651E-03   -1.5632    
  18  Prefactor     .91982E-07    32.143        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .63283E-08    24.748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .57270        .41634        .54062E-03   -1.5693    
  21  Prefactor     .20114E-05    93.723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          36.659        21.252        .16503E-03   -1.5587    
  23  Prefactor     38.596        39.584        .15974E-03   -1.5584    
  24  Normalizat    .10000E-01    .46246        .32172       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     1.6015        .23441        .44557E-01   -.74737    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.44435e-06
Minuit parameter uncertainties:
  1  35.1359
  2  0.000412569
  3  0.00602175
  4  0.197151
  5  89.199
  6  0.0538442
  7  45.304
  8  8.09256e-05
  9  23.9164
  10  0.230842
  11  0.029321
  12  15.6489
  13  2.62005
  14  0.00808519
  15  25.2898
  16  2.82575e-05
  17  25.479
  18  0.0034387
  19  0.000791026
  20  0.416338
  21  0.027461
  22  21.2519
  23  39.5844
  24  9.43395e-07
  25  0.234567
Done.

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

Extracting fit parameters...

4FGL J1233.7-0144
   Spectrum: PowerLaw
334    Prefactor:  4.551e-07  8.085e-03  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:  1.601e+00  2.346e-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.000e-02  9.434e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 188.434 -1.743
Photon Flux Upper Limit: 2.51e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.89e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/120571/likelihoodResults_684633601_684892801_4FGL_J1233.7-0144_daily_bin1718.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): 102
logL (Free Index) = 2319.95570369
delta logL = -0.0135042961388

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2317.46956969
delta logL = 2.47262971299

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .65329E-01   1.0000          .0000       .10000E+07
     2 'Index     '    5.2323       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5338       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=   2317.470     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      266 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .64422E-01    .82722        .14975E-03** at limit **
   2  Index         5.2375        2.5243        .47253E-01    .91319E-04
   3  Normalizat    .10000E-01    .70558E-01    .22721    ** at limit **
   4  Prefactor     1.5339        .10347        .44710E-01    .13372E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0644221
  Index      = 5.2375
  Normalizat = 0.01
  Prefactor  = 1.53389
 **********
 **   18 **HESSE 
 **********

 FCN=   2317.470     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      299 TOTAL
                     EDM=   .53E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .64422E-01    1.3085        .69624E-06   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.2375        3.2004        .20271E-02    .47517E-01
   3  Normalizat    .10000E-01    .22450        .11540E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.5339        .15284        .19760E-03   -.76595    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.29585e-11
Minuit parameter uncertainties:
  1  0.580677
  2  3.47381
  3  2.004e-07
  4  0.152886
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/120571': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2317.46956312
delta logL = 2.47263628085

Extracting fit parameters...

4FGL J1233.7-0144
   Spectrum: PowerLaw
334    Prefactor:  6.442e-02  5.807e-01  0.000e+00  1.000e+06 ( 1.000e-13)
335        Index:  5.237e+00  3.474e+00  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:  1.534e+00  1.529e-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.000e-02  2.004e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.95
Ra Dec: 188.434 -1.743
Photon Index (Free Index): 5.24 +/- 3.47
Photon Flux (Free Index): 5.43e-07 +/- 3.29e-07
Energy Flux (Free Index): 7.09e-05 +/- 4.13e-05

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/120571/cmap_HighResolution_684633601_684892801_4FGL_J1233.7-0144_daily_bin1718.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.89e-02', comment='SUCCESS', energy_flux2='7.09e-05', dlogl='2.47e+00', photon_flux2='5.43e-07', job_status='DONE', time_completed='2022-09-16 16:59:18.197167', photon_index_error2='3.47', photon_index2='5.24', ts='-0.00', fit_tolerance='1e-08', GAL='1.60', photon_index_error='0.00', photon_flux_upper_limit='2.51e-07', energy_flux_error2='4.13e-05', EG='0.01', time_epoch_completed='1663372758.2', return_code='0', job_id='120571', GAL2='1.53', EG2='0.01', return_code2='102', photon_flux_error2='3.29e-07', ts2='4.95', photon_index='2.06' WHERE bin_id='1718' AND source_name='4FGL J1233.7-0144' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 16:59:18 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 120571: <4FGL_J1233.7-0144_daily_bin1718> in cluster <slac> Done

Job <4FGL_J1233.7-0144_daily_bin1718> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 16 16:50:20 2022
Job was executed on host(s) <bullet0079>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 16:51:27 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:27 2022
Terminated at Fri Sep 16 16:59:18 2022
Results reported at Fri Sep 16 16:59:18 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1233.7-0144_daily_bin1718 188.434 -1.7428 684633601 684892801 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 :                                   443.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             310.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   471 sec.
    Turnaround time :                            538 sec.

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

