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


Performing analysis on: 4FGL_J1233.7-0144_daily_bin1758
RA = 188.434, Dec = -1.7428
tmin = 695001601, tmax = 695260801
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='365102', job_status='RUN', time_executed='2023-01-13 00:41:57.041332', time_epoch_executed='1673599317.04' WHERE source_name='4FGL J1233.7-0144' and cadence='daily' and bin_id='1758'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/365102

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/365102/ft1_4FGL_J1233.7-0144_daily_bin1758.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/365102/ft2_4FGL_J1233.7-0144_daily_bin1758.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/365102/ft1_4FGL_J1233.7-0144_daily_bin1758.fits outfile=/scratch/kocevski/365102/ft1_filteredMKT_4FGL_J1233.7-0144_daily_bin1758.fits ra=188.434 dec=-1.7428 rad=12.0 tmin=695001601.0 tmax=695260801.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 2.80
user 2.55
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/365102/ft2_4FGL_J1233.7-0144_daily_bin1758.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/365102/ft1_filteredMKT_4FGL_J1233.7-0144_daily_bin1758.fits evtable="EVENTS" outfile="/scratch/kocevski/365102/ft1_filtered_4FGL_J1233.7-0144_daily_bin1758.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.14

Number of photons that the gtmktime cut: 863

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/365102/ft1_filtered_4FGL_J1233.7-0144_daily_bin1758.fits" evtable="EVENTS" scfile=/scratch/kocevski/365102/ft2_4FGL_J1233.7-0144_daily_bin1758.fits sctable="SC_DATA" outfile=/scratch/kocevski/365102/ltcube_695001601_695260801_4FGL_J1233.7-0144_daily_bin1758.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/365102/ft2_4FGL_J1233.7-0144_daily_bin1758.fits
.....................!
real 16.10
user 15.56
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/365102/ft1_filtered_4FGL_J1233.7-0144_daily_bin1758.fits evtable="EVENTS" scfile=/scratch/kocevski/365102/ft2_4FGL_J1233.7-0144_daily_bin1758.fits sctable="SC_DATA" expcube=/scratch/kocevski/365102/ltcube_695001601_695260801_4FGL_J1233.7-0144_daily_bin1758.fits outfile=/scratch/kocevski/365102/expmap_695001601_695260801_4FGL_J1233.7-0144_daily_bin1758.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/365102/ltcube_695001601_695260801_4FGL_J1233.7-0144_daily_bin1758.fits
.....................!
real 193.59
user 187.57
sys 5.37

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 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/365102/ft1_filtered_4FGL_J1233.7-0144_daily_bin1758.fits scfile=/scratch/kocevski/365102/ft2_4FGL_J1233.7-0144_daily_bin1758.fits outfile=/scratch/kocevski/365102/cmap_695001601_695260801_4FGL_J1233.7-0144_daily_bin1758.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/365102/ft1_filtered_4FGL_J1233.7-0144_daily_bin1758.fits scfile=/scratch/kocevski/365102/ft2_4FGL_J1233.7-0144_daily_bin1758.fits outfile=/scratch/kocevski/365102/cmap_HighResolution_695001601_695260801_4FGL_J1233.7-0144_daily_bin1758.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.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/365102/ft1_filtered_4FGL_J1233.7-0144_daily_bin1758.fits evtable="EVENTS" scfile=/scratch/kocevski/365102/ft2_4FGL_J1233.7-0144_daily_bin1758.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/365102/Model_4FGL_J1233.7-0144_daily_bin1758.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/365102/ft1_filtered_4FGL_J1233.7-0144_daily_bin1758.fits.....................!
real 71.49
user 69.86
sys 1.36

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27249E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .46584E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    22.472       1.0000          .0000       .10000E+07
     4 'Prefactor '    .54108E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    41.845       1.0000          .0000       .10000E+07
     6 'Prefactor '    .20074E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .10530E-06   1.0000          .0000       .10000E+07
     8 'norm      '    .87041E-07   1.0000          .0000       .10000E+07
     9 'norm      '    4.4917       1.0000          .0000       .10000E+07
    10 'Prefactor '    .83994E-03   1.0000          .0000       .10000E+07
    11 'norm      '    .76710E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .58740E-05   1.0000          .0000       .10000E+07
    13 'norm      '    1.5143       1.0000          .0000       .10000E+07
    14 'Prefactor '    3.5676       1.0000          .0000       .10000E+07
    15 'Prefactor '    .34217E-06   1.0000          .0000       .10000E+07
    16 'norm      '    1.4770       1.0000          .0000       .10000E+07
    17 'Prefactor '    .33846E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    .33114E-05   1.0000          .0000       .10000E+07
    19 'norm      '    13.921       1.0000          .0000       .10000E+07
    20 'norm      '    .34971       1.0000          .0000       .10000E+07
    21 'Prefactor '    .72582E-03   1.0000          .0000       .10000E+07
    22 'norm      '    8.4075       1.0000          .0000       .10000E+07
    23 'Prefactor '    48.592       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.1449       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0094       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=   9349.056     FROM MIGRAD    STATUS=CONVERGED    165 CALLS     1266 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    4.8601        .13425E-06** at limit **
   2  Prefactor     .19117E-05    5.4824       -.85204E-06** at limit **
   3  Prefactor     23.796        38.463        .13386E-04   -.21495E-01
   4  Prefactor     .18979E-06    44.548        .10720E-04** at limit **
   5  Prefactor     42.202        3.0225        .59557E-06    .71828E-01
   6  Prefactor     .15403E-05    5.3100       -.41498E-05** at limit **
   7  Prefactor     .55511E-10    2.3246        .77130E-06** at limit **
   8  norm           .0000        .41942        .30893E-06** at limit **
   9  norm          4.4917        3.2576       -.44494E-06   -.39924E-02
  10  Prefactor     .22138E-06    6.7490        .38062E-05** at limit **
  11  norm          .10270E-06    19.087       -.47863E-05** at limit **
  12  Prefactor      .0000        2.5186        .63792E-06** at limit **
  13  norm          1.5137        .53274        .14597E-06   -.17681E-01
  14  Prefactor     3.6166        6.3849       -.16683E-05   -.89506E-03
  15  Prefactor     .11102E-09    1.8811        .54713E-06** at limit **
  16  norm          1.4770        1.3809        .45925E-06   -.75486E-02
  17  Prefactor     .27756E-09    4.3248        .37634E-07** at limit **
  18  Prefactor     .16154E-07    5.9915       -.18823E-05** at limit **
  19  norm          13.840        1.0801        .17285E-06   -.88282E-03
  20  norm          .34993        .13509       -.11561E-06    .62811E-01
  21  Prefactor     .34966E-06    10.750        .17511E-05** at limit **
  22  norm          8.4266        6.4457        .71309E-06    .58164E-03
  23  Prefactor     48.321        1.9803       -.62675E-07   -.21490E-01
  24  Normalizat    1.1451        .21005       -.12684E-04   -.22653E-03
  25  Prefactor     1.0087        .15289       -.38718E-05   -.53332E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Prefactor  = 1.91169e-06
  Prefactor  = 23.7959
  Prefactor  = 1.89793e-07
  Prefactor  = 42.2017
  Prefactor  = 1.54027e-06
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 4.49173
  Prefactor  = 2.21378e-07
  norm       = 1.02696e-07
  Prefactor  = 0
  norm       = 1.51372
  Prefactor  = 3.61656
  Prefactor  = 1.11022e-10
  norm       = 1.47701
  Prefactor  = 2.77556e-10
  Prefactor  = 1.61537e-08
  norm       = 13.8402
  norm       = 0.349926
  Prefactor  = 3.49665e-07
  norm       = 8.42663
  Prefactor  = 48.3214
  Normalizat = 1.14505
  Prefactor  = 1.00868
 **********
 **   18 **HESSE 
 **********

 FCN=   9349.056     FROM HESSE     STATUS=OK           473 CALLS     1739 TOTAL
                     EDM=   .70E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    4.8512        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .19117E-05    9.5771        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     23.796        39.571        .21101E-03   -1.5610    
   4  Prefactor     .18979E-06    44.874        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     42.202        19.645        .15460E-03   -1.5578    
   6  Prefactor     .15403E-05    8.3804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .55511E-10    2.3272        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        .42019        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.4917        3.2630        .47483E-03   -1.5666    
  10  Prefactor     .22138E-06    7.2109        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10270E-06    19.495        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        2.5192        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.5137        .53879        .84745E-03   -1.5683    
  14  Prefactor     3.6166        6.4017        .53482E-03   -1.5670    
  15  Prefactor     .11102E-09    1.8874        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.4770        1.4021        .88320E-03   -1.5684    
  17  Prefactor     .27756E-09    4.2998        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .16154E-07    6.0190        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          13.840        13.591        .26819E-03   -1.5634    
  20  norm          .34993        .13637        .48039E-03   -1.5696    
  21  Prefactor     .34966E-06    11.576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          8.4266        6.4592        .34549E-03   -1.5650    
  23  Prefactor     48.321        20.389        .14347E-03   -1.5569    
  24  Normalizat    1.1451        .18001        .65928E-01   -.88318    
  25  Prefactor     1.0087        .12966        .43411E-01   -.92441    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.99944e-07
Minuit parameter uncertainties:
  1  3.68392e-05
  2  0.00855776
  3  39.5715
  4  0.00583708
  5  19.6452
  6  0.00718559
  7  2.25215e-05
  8  2.9273e-06
  9  3.26296
  10  0.00252687
  11  0.00283012
  12  1.30325e-05
  13  0.53879
  14  6.40174
  15  2.78978e-05
  16  1.40207
  17  7.00831e-05
  18  0.000623146
  19  13.591
  20  0.136372
  21  0.00402381
  22  6.45916
  23  20.3894
  24  0.180104
  25  0.129699
Done.

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

Extracting fit parameters...

4FGL J1233.7-0144
   Spectrum: PowerLaw
334    Prefactor:  3.617e+00  6.402e+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

GAL_V02
   Spectrum: PowerLaw
616    Prefactor:  1.009e+00  1.297e-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.145e+00  1.801e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/365102/likelihoodResults_695001601_695260801_4FGL_J1233.7-0144_daily_bin1758.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) = 9349.03966654
delta logL = 0.0162745961425

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9349.0342732
delta logL = 0.0216679289369

Fit tolerance = 1e-08

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

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

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9209        112.32        .59400E-03    .82360E-02
   2  Index         2.2734        2.7185        .24422        .10276E-03
   3  Normalizat    1.1416        .36767E-01    .66011E-01    .16158E-04
   4  Prefactor     1.0101        .26502E-01    .43312E-01    .29093E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.9209
  Index      = 2.27337
  Normalizat = 1.14163
  Prefactor  = 1.01009
 **********
 **   18 **HESSE 
 **********

 FCN=   9349.034     FROM HESSE     STATUS=OK            31 CALLS      253 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.9209        7.4129        .23760E-04   -1.5674    
   2  Index         2.2734        1.1835        .88510E-02   -.57678    
   3  Normalizat    1.1416        .20103        .29203E-03   -.88426    
   4  Prefactor     1.0101        .15078        .23043E-03   -.92394    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.23146e-10
Minuit parameter uncertainties:
  1  7.41297
  2  1.19987
  3  0.201164
  4  0.150846
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/365102': 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) = 9349.03427317
delta logL = 0.0216679618497

Extracting fit parameters...

4FGL J1233.7-0144
   Spectrum: PowerLaw
334    Prefactor:  2.921e+00  7.413e+00  0.000e+00  1.000e+06 ( 1.000e-13)
335        Index:  2.273e+00  1.200e+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.010e+00  1.508e-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.142e+00  2.012e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.38
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/365102/cmap_HighResolution_695001601_695260801_4FGL_J1233.7-0144_daily_bin1758.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.04e-03', job_status='DONE', photon_flux_upper_limit='6.68e-08', time_completed='2023-01-13 00:53:56.739624', job_id='365102', GAL2='1.01', fit_tolerance='1e-08', EG2='1.14', EG='1.15', time_epoch_completed='1673600036.74', return_code2='0', ts='0.38', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='2.17e-02', ts2='0.42', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='1758' AND source_name='4FGL J1233.7-0144' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jan 13 00:53:56 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0154>
Subject: Job 365102: <4FGL_J1233.7-0144_daily_bin1758> in cluster <slac> Done

Job <4FGL_J1233.7-0144_daily_bin1758> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Jan 13 00:40:19 2023
Job was executed on host(s) <bullet0154>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jan 13 00:41:38 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jan 13 00:41:38 2023
Terminated at Fri Jan 13 00:53:57 2023
Results reported at Fri Jan 13 00:53:57 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1233.7-0144_daily_bin1758 188.434 -1.7428 695001601 695260801 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 :                                   721.00 sec.
    Max Memory :                                 1251 MB
    Average Memory :                             353.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   739 sec.
    Turnaround time :                            818 sec.

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

