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


Performing analysis on: 4FGL_J1238.5-1201_daily_bin1768
RA = 189.625, Dec = -12.028
tmin = 697593601, tmax = 697852801
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='270332', job_status='RUN', time_executed='2023-02-12 00:53:20.994579', time_epoch_executed='1676192000.99' WHERE source_name='4FGL J1238.5-1201' and cadence='daily' and bin_id='1768'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/270332

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/270332/ft1_4FGL_J1238.5-1201_daily_bin1768.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/270332/ft2_4FGL_J1238.5-1201_daily_bin1768.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/270332/ft1_4FGL_J1238.5-1201_daily_bin1768.fits outfile=/scratch/kocevski/270332/ft1_filteredMKT_4FGL_J1238.5-1201_daily_bin1768.fits ra=189.625 dec=-12.028 rad=12.0 tmin=697593601.0 tmax=697852801.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.65
user 3.41
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/270332/ft2_4FGL_J1238.5-1201_daily_bin1768.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/270332/ft2_4FGL_J1238.5-1201_daily_bin1768.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/270332/ft1_filteredMKT_4FGL_J1238.5-1201_daily_bin1768.fits evtable="EVENTS" outfile="/scratch/kocevski/270332/ft1_filtered_4FGL_J1238.5-1201_daily_bin1768.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.15

Number of photons that the gtmktime cut: 708

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/270332/ft1_filtered_4FGL_J1238.5-1201_daily_bin1768.fits" evtable="EVENTS" scfile=/scratch/kocevski/270332/ft2_4FGL_J1238.5-1201_daily_bin1768.fits sctable="SC_DATA" outfile=/scratch/kocevski/270332/ltcube_697593601_697852801_4FGL_J1238.5-1201_daily_bin1768.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/270332/ft2_4FGL_J1238.5-1201_daily_bin1768.fits
.....................!
real 15.64
user 15.23
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/270332/ft1_filtered_4FGL_J1238.5-1201_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/270332/ft2_4FGL_J1238.5-1201_daily_bin1768.fits sctable="SC_DATA" expcube=/scratch/kocevski/270332/ltcube_697593601_697852801_4FGL_J1238.5-1201_daily_bin1768.fits outfile=/scratch/kocevski/270332/expmap_697593601_697852801_4FGL_J1238.5-1201_daily_bin1768.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/270332/ltcube_697593601_697852801_4FGL_J1238.5-1201_daily_bin1768.fits
.....................!
real 192.58
user 186.47
sys 4.98

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 186 point sources and 0 extended sources

Setting source of interest to:
4FGL J1238.5-1201 @ 189.625 -12.028

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/270332/ft1_filtered_4FGL_J1238.5-1201_daily_bin1768.fits scfile=/scratch/kocevski/270332/ft2_4FGL_J1238.5-1201_daily_bin1768.fits outfile=/scratch/kocevski/270332/cmap_697593601_697852801_4FGL_J1238.5-1201_daily_bin1768.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=189.625 yref=-12.028 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/270332/ft1_filtered_4FGL_J1238.5-1201_daily_bin1768.fits scfile=/scratch/kocevski/270332/ft2_4FGL_J1238.5-1201_daily_bin1768.fits outfile=/scratch/kocevski/270332/cmap_HighResolution_697593601_697852801_4FGL_J1238.5-1201_daily_bin1768.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=189.625 yref=-12.028 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/270332/ft1_filtered_4FGL_J1238.5-1201_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/270332/ft2_4FGL_J1238.5-1201_daily_bin1768.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/270332/Model_4FGL_J1238.5-1201_daily_bin1768.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/270332/ft1_filtered_4FGL_J1238.5-1201_daily_bin1768.fits.....................!
real 64.66
user 63.31
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/270332/ft1_filtered_4FGL_J1238.5-1201_daily_bin1768.fits', '/scratch/kocevski/270332/ft2_4FGL_J1238.5-1201_daily_bin1768.fits', expMap='/scratch/kocevski/270332/expmap_697593601_697852801_4FGL_J1238.5-1201_daily_bin1768.fits', expCube='/scratch/kocevski/270332/ltcube_697593601_697852801_4FGL_J1238.5-1201_daily_bin1768.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/270332/Model_4FGL_J1238.5-1201_daily_bin1768.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1238.5-1201'

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  4.386e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  2.660e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
328        Scale:  5.228e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/270332/ft1_filtered_4FGL_J1238.5-1201_daily_bin1768.fits
Spacecraft file(s): /scratch/kocevski/270332/ft2_4FGL_J1238.5-1201_daily_bin1768.fits
Exposure map: /scratch/kocevski/270332/expmap_697593601_697852801_4FGL_J1238.5-1201_daily_bin1768.fits
Exposure cube: /scratch/kocevski/270332/ltcube_697593601_697852801_4FGL_J1238.5-1201_daily_bin1768.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/270332/Model_4FGL_J1238.5-1201_daily_bin1768.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) = 7837.65013827

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .67574E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .25455E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.9348       1.0000          .0000       .10000E+07
     4 'Prefactor '    .26695E-02   1.0000          .0000       .10000E+07
     5 'norm      '    .37225E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .76399E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.7283       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.4508       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.5098       1.0000          .0000       .10000E+07
    10 'Prefactor '    .78287       1.0000          .0000       .10000E+07
    11 'Prefactor '    6.0715       1.0000          .0000       .10000E+07
    12 'Prefactor '    .16446E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .17009       1.0000          .0000       .10000E+07
    14 'Prefactor '    .48218       1.0000          .0000       .10000E+07
    15 'norm      '    .82013       1.0000          .0000       .10000E+07
    16 'norm      '    .41391E-03   1.0000          .0000       .10000E+07
    17 'norm      '    10.806       1.0000          .0000       .10000E+07
    18 'Prefactor '    62.137       1.0000          .0000       .10000E+07
    19 'norm      '    23.008       1.0000          .0000       .10000E+07
    20 'norm      '    .22341E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    25.983       1.0000          .0000       .10000E+07
    22 'Prefactor '    4.9664       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.4660       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .93465       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7837.647     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     2070 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    1.5837       -.16813E-06** at limit **
   2  Prefactor     .22204E-09    6.9663        .24311E-07** at limit **
   3  Prefactor     2.9197        2.2798       -.52737E-06   -.18177E-01
   4  Prefactor     .11102E-09    12.319        .68584E-06** at limit **
   5  norm          .27756E-09    2.8235        .35027E-07** at limit **
   6  Prefactor     .61062E-09    3.2393        .26040E-06** at limit **
   7  Prefactor     6.7267        2.4011        .34501E-06    .77251E-03
   8  Prefactor     7.4364        7.4757       -.69061E-06   -.64807E-02
   9  Prefactor     4.4991        1.2397        .96773E-08   -.62399E-02
  10  Prefactor     .84248        1.5726       -.85623E-06    .27982E-01
  11  Prefactor     6.0496        8.7885        .39085E-05    .13674E-01
  12  Prefactor     .22204E-09    12.886       -.13923E-05** at limit **
  13  norm          .73175E-06    10.674        .37411E-05** at limit **
  14  Prefactor     .10431E-06    88.364       -.18395E-05** at limit **
  15  norm          .81907        .27709       -.26026E-07    .35670E-01
  16  norm          .11102E-09    2.9466        .19207E-07** at limit **
  17  norm          10.839        6.7706        .93002E-07    .63297E-02
  18  Prefactor     63.783        96.347        .55688E-05    .21451E-04
  19  norm          22.915        5.3311       -.48633E-06    .78472E-02
  20  norm          .27200E-08    4.4107       -.32476E-06** at limit **
  21  Prefactor     25.979        3.4583        .66710E-06    .25651E-01
  22  Prefactor     4.9486        9.1963        .47640E-05   -.21786E-01
  23  Normalizat    1.4655        .26778       -.21830E-04    .18906E-03
  24  Prefactor     .93484        .14979        .25670E-05    .25187E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Prefactor  = 2.22045e-10
  Prefactor  = 2.9197
  Prefactor  = 1.11022e-10
  norm       = 2.77556e-10
  Prefactor  = 6.10623e-10
  Prefactor  = 6.72671
  Prefactor  = 7.4364
  Prefactor  = 4.49905
  Prefactor  = 0.842478
  Prefactor  = 6.04959
  Prefactor  = 2.22045e-10
  norm       = 7.31748e-07
  Prefactor  = 1.04305e-07
  norm       = 0.819069
  norm       = 1.11022e-10
  norm       = 10.8391
  Prefactor  = 63.7827
  norm       = 22.9147
  norm       = 2.72005e-09
  Prefactor  = 25.979
  Prefactor  = 4.9486
  Normalizat = 1.46552
  Prefactor  = 0.934845
 **********
 **   18 **HESSE 
 **********

 FCN=   7837.647     FROM HESSE     STATUS=OK           449 CALLS     2519 TOTAL
                     EDM=   .20E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    1.5832        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .22204E-09    6.9579        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.9197        10.404        .59267E-03   -1.5674    
   4  Prefactor     .11102E-09    12.357        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .27756E-09    2.7455        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .61062E-09    3.2375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.7267        2.4130        .38673E-02   -1.5189    
   8  Prefactor     7.4364        7.5160        .36718E-03   -1.5653    
   9  Prefactor     4.4991        9.6815        .47385E-03   -1.5666    
  10  Prefactor     .84248        44.372        .54220E-03   -1.5690    
  11  Prefactor     6.0496        9.0149        .40723E-03   -1.5659    
  12  Prefactor     .22204E-09    12.922        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .73175E-06    38.575        .12334E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10431E-06    88.494        .80523E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .81907        .27902        .51446E-03   -1.5690    
  16  norm          .11102E-09    2.9463        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          10.839        6.7846        .30453E-03   -1.5642    
  18  Prefactor     63.783        96.263        .12687E-03   -1.5548    
  19  norm          22.915        16.103        .20853E-03   -1.5612    
  20  norm          .27200E-08    4.4855        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     25.979        13.051        .19622E-03   -1.5606    
  22  Prefactor     4.9486        11.863        .45104E-03   -1.5663    
  23  Normalizat    1.4655        .23905        .73236E-01   -.78752    
  24  Prefactor     .93484        .12834        .45445E-01   -.94934    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.95381e-07
Minuit parameter uncertainties:
  1  1.47838e-05
  2  8.01744e-05
  3  10.4043
  4  7.0344e-05
  5  5.71519e-05
  6  8.97652e-05
  7  2.41305
  8  7.51601
  9  9.68156
  10  12.2283
  11  9.0149
  12  0.000109099
  13  0.0106257
  14  0.00607714
  15  0.279024
  16  3.77777e-05
  17  6.78461
  18  96.2649
  19  16.1031
  20  0.000221276
  21  13.0507
  22  11.8629
  23  0.239232
  24  0.12838
Done.

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

Extracting fit parameters...

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  8.425e-01  1.223e+01  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  2.660e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
328        Scale:  5.228e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  9.348e-01  1.284e-01  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.466e+00  2.392e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 189.625 -12.028
Photon Flux Upper Limit: 1.40e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.10e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/270332/likelihoodResults_697593601_697852801_4FGL_J1238.5-1201_daily_bin1768.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) = 7837.18763144
delta logL = 0.459155548224

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7837.18762011
delta logL = 0.459166882591

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7837.188     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      234 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0792        20.952        .11517E-02    .17743E-01
   2  Index         4.7067        3.8865        .20173        .14451E-03
   3  Normalizat    1.3890        .51729E-01    .74909E-01    .25550E-04
   4  Prefactor     .95998        .29767E-01    .45765E-01   -.12826E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.0792
  Index      = 4.70675
  Normalizat = 1.38898
  Prefactor  = 0.959979
 **********
 **   18 **HESSE 
 **********

 FCN=   7837.188     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      267 TOTAL
                     EDM=   .89E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0792        64.373        .98025E-05   -1.5687    
   2  Index         4.7067        6.8609        .95571E-02   -.58684E-01
   3  Normalizat    1.3890        .22183        .33150E-03   -.80948    
   4  Prefactor     .95998        .12584        .22298E-03   -.94076    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.85477e-11
Minuit parameter uncertainties:
  1  16.6701
  2  10.7343
  3  0.22198
  4  0.125882
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/270332': 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) = 7837.18761926
delta logL = 0.459167731427

Extracting fit parameters...

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  1.079e+00  1.667e+01  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  4.707e+00  1.073e+01  0.000e+00  1.000e+01 (-1.000e+00)
328        Scale:  5.228e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  9.600e-01  1.259e-01  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.389e+00  2.220e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 189.625 -12.028

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/270332/cmap_HighResolution_697593601_697852801_4FGL_J1238.5-1201_daily_bin1768.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.10e-02', job_status='DONE', photon_flux_upper_limit='1.40e-07', time_completed='2023-02-12 01:05:19.863479', job_id='270332', GAL2='0.96', fit_tolerance='1e-08', EG2='1.39', EG='1.47', time_epoch_completed='1676192719.86', return_code2='102', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='4.59e-01', ts2='0.99', photon_index_error='0.00', photon_index='2.66' WHERE bin_id='1768' AND source_name='4FGL J1238.5-1201' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Feb 12 01:05:19 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 270332: <4FGL_J1238.5-1201_daily_bin1768> in cluster <slac> Done

Job <4FGL_J1238.5-1201_daily_bin1768> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Feb 12 00:50:19 2023
Job was executed on host(s) <bullet0214>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Feb 12 00:52:57 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Feb 12 00:52:57 2023
Terminated at Sun Feb 12 01:05:20 2023
Results reported at Sun Feb 12 01:05:20 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1238.5-1201_daily_bin1768 189.625 -12.028 697593601 697852801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1238.5-1201 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   720.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             363.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   743 sec.
    Turnaround time :                            901 sec.

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

