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


Performing analysis on: 4FGL_J1238.5-1201_daily_bin1771
RA = 189.625, Dec = -12.028
tmin = 698371201, tmax = 698630401
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='547600', job_status='RUN', time_executed='2023-02-21 00:53:25.894007', time_epoch_executed='1676969605.89' WHERE source_name='4FGL J1238.5-1201' and cadence='daily' and bin_id='1771'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/547600

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/547600/ft1_4FGL_J1238.5-1201_daily_bin1771.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/547600/ft2_4FGL_J1238.5-1201_daily_bin1771.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/547600/ft1_4FGL_J1238.5-1201_daily_bin1771.fits outfile=/scratch/kocevski/547600/ft1_filteredMKT_4FGL_J1238.5-1201_daily_bin1771.fits ra=189.625 dec=-12.028 rad=12.0 tmin=698371201.0 tmax=698630401.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.13
user 2.88
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/547600/ft2_4FGL_J1238.5-1201_daily_bin1771.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/547600/ft1_filteredMKT_4FGL_J1238.5-1201_daily_bin1771.fits evtable="EVENTS" outfile="/scratch/kocevski/547600/ft1_filtered_4FGL_J1238.5-1201_daily_bin1771.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.49
user 0.35
sys 0.14

Number of photons that the gtmktime cut: 398

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/547600/ft1_filtered_4FGL_J1238.5-1201_daily_bin1771.fits" evtable="EVENTS" scfile=/scratch/kocevski/547600/ft2_4FGL_J1238.5-1201_daily_bin1771.fits sctable="SC_DATA" outfile=/scratch/kocevski/547600/ltcube_698371201_698630401_4FGL_J1238.5-1201_daily_bin1771.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/547600/ft2_4FGL_J1238.5-1201_daily_bin1771.fits
.....................!
real 12.50
user 12.14
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/547600/ft1_filtered_4FGL_J1238.5-1201_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/547600/ft2_4FGL_J1238.5-1201_daily_bin1771.fits sctable="SC_DATA" expcube=/scratch/kocevski/547600/ltcube_698371201_698630401_4FGL_J1238.5-1201_daily_bin1771.fits outfile=/scratch/kocevski/547600/expmap_698371201_698630401_4FGL_J1238.5-1201_daily_bin1771.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/547600/ltcube_698371201_698630401_4FGL_J1238.5-1201_daily_bin1771.fits
.....................!
real 193.34
user 188.38
sys 4.64

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/547600/ft1_filtered_4FGL_J1238.5-1201_daily_bin1771.fits scfile=/scratch/kocevski/547600/ft2_4FGL_J1238.5-1201_daily_bin1771.fits outfile=/scratch/kocevski/547600/cmap_698371201_698630401_4FGL_J1238.5-1201_daily_bin1771.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/547600/ft1_filtered_4FGL_J1238.5-1201_daily_bin1771.fits scfile=/scratch/kocevski/547600/ft2_4FGL_J1238.5-1201_daily_bin1771.fits outfile=/scratch/kocevski/547600/cmap_HighResolution_698371201_698630401_4FGL_J1238.5-1201_daily_bin1771.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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/547600/ft1_filtered_4FGL_J1238.5-1201_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/547600/ft2_4FGL_J1238.5-1201_daily_bin1771.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/547600/Model_4FGL_J1238.5-1201_daily_bin1771.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/547600/ft1_filtered_4FGL_J1238.5-1201_daily_bin1771.fits.....................!
real 42.74
user 41.40
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/547600/ft1_filtered_4FGL_J1238.5-1201_daily_bin1771.fits', '/scratch/kocevski/547600/ft2_4FGL_J1238.5-1201_daily_bin1771.fits', expMap='/scratch/kocevski/547600/expmap_698371201_698630401_4FGL_J1238.5-1201_daily_bin1771.fits', expCube='/scratch/kocevski/547600/ltcube_698371201_698630401_4FGL_J1238.5-1201_daily_bin1771.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/547600/Model_4FGL_J1238.5-1201_daily_bin1771.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/547600/ft1_filtered_4FGL_J1238.5-1201_daily_bin1771.fits
Spacecraft file(s): /scratch/kocevski/547600/ft2_4FGL_J1238.5-1201_daily_bin1771.fits
Exposure map: /scratch/kocevski/547600/expmap_698371201_698630401_4FGL_J1238.5-1201_daily_bin1771.fits
Exposure cube: /scratch/kocevski/547600/ltcube_698371201_698630401_4FGL_J1238.5-1201_daily_bin1771.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/547600/Model_4FGL_J1238.5-1201_daily_bin1771.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) = 4502.08345289

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.8271       1.0000          .0000       .10000E+07
     2 'Prefactor '    .10247E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .10292E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    49.258       1.0000          .0000       .10000E+07
     5 'norm      '    2.1747       1.0000          .0000       .10000E+07
     6 'Prefactor '    .69239E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    7.1879       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .13268       1.0000          .0000       .10000E+07
     9 'Prefactor '    .12492E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    5.9103       1.0000          .0000       .10000E+07
    11 'Prefactor '    16.660       1.0000          .0000       .10000E+07
    12 'Prefactor '    .71937E-01   1.0000          .0000       .10000E+07
    13 'norm      '    .10368E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    .50256E-01   1.0000          .0000       .10000E+07
    15 'norm      '    .94852       1.0000          .0000       .10000E+07
    16 'norm      '    4.3099       1.0000          .0000       .10000E+07
    17 'norm      '    8.8669       1.0000          .0000       .10000E+07
    18 'Prefactor '    .37309       1.0000          .0000       .10000E+07
    19 'norm      '    13.734       1.0000          .0000       .10000E+07
    20 'norm      '    12.600       1.0000          .0000       .10000E+07
    21 'Prefactor '    7.1608       1.0000          .0000       .10000E+07
    22 'Prefactor '    .12358E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.5858       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .82393       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=   4502.083     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     2016 TOTAL
                     EDM=   .39E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.8805        8.9754       -.33177E-05   -.21860E-02
   2  Prefactor     .11263E-06    5.6313       -.15991E-05** at limit **
   3  Prefactor     .38969E-07    5.5426       -.15760E-05** at limit **
   4  Prefactor     49.581        60.676        .47107E-05   -.57903E-03
   5  norm          2.1377        3.4554        .11210E-05   -.44609E-02
   6  Prefactor     .11102E-09    10.953       -.30127E-05** at limit **
   7  Prefactor     7.1875        3.0432       -.35402E-05    .17897E-04
   8  Prefactor     .44409E-09    69.287        .37819E-05** at limit **
   9  Prefactor      .0000        5.1541        .12251E-05** at limit **
  10  Prefactor     5.9103        1.0745        .11626E-06   -.33410E-04
  11  Prefactor     16.731        1.0417        .46583E-07   -.33083E-02
  12  Prefactor     .37192E-08    47.009        .57293E-06** at limit **
  13  norm          .17875E-07    5.5855       -.15817E-05** at limit **
  14  Prefactor     .22204E-09    46.014       -.13593E-05** at limit **
  15  norm          .94901        .41954       -.57004E-07   -.73001E-02
  16  norm          4.2747        6.6545        .70705E-07   -.96047E-03
  17  norm          8.9074        7.2287       -.46741E-07    .13718E-03
  18  Prefactor     .12768E-08    117.23        .53407E-05** at limit **
  19  norm          13.765        1.0760        .52051E-07    .27130E-02
  20  norm          12.575        1.2856        .71101E-07   -.52136E-02
  21  Prefactor     7.1494        1.2536        .19162E-07    .18291E-02
  22  Prefactor     .11102E-09    10.928        .40389E-06** at limit **
  23  Normalizat    1.5861        .36783        .10045E-04   -.38863E-04
  24  Prefactor     .82378        .19763       -.79085E-05   -.35830E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.88048
  Prefactor  = 1.12632e-07
  Prefactor  = 3.89688e-08
  Prefactor  = 49.5812
  norm       = 2.13772
  Prefactor  = 1.11022e-10
  Prefactor  = 7.18748
  Prefactor  = 4.44089e-10
  Prefactor  = 0
  Prefactor  = 5.91025
  Prefactor  = 16.7308
  Prefactor  = 3.71925e-09
  norm       = 1.78746e-08
  Prefactor  = 2.22045e-10
  norm       = 0.949014
  norm       = 4.27473
  norm       = 8.90741
  Prefactor  = 1.27676e-09
  norm       = 13.7653
  norm       = 12.5747
  Prefactor  = 7.14941
  Prefactor  = 1.11022e-10
  Normalizat = 1.58614
  Prefactor  = 0.823779
 **********
 **   18 **HESSE 
 **********

 FCN=   4502.083     FROM HESSE     STATUS=OK           449 CALLS     2465 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.8805        9.2066        .41581E-03   -1.5659    
   2  Prefactor     .11263E-06    16.705        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .38969E-07    16.528        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     49.581        60.722        .14249E-03   -1.5567    
   5  norm          2.1377        11.674        .69793E-03   -1.5679    
   6  Prefactor     .11102E-09    10.886        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.1875        3.0550        .37404E-02   -1.5172    
   8  Prefactor     .44409E-09    17.491        .13123E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        5.1548        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.9103        17.008        .41283E-03   -1.5659    
  11  Prefactor     16.731        20.796        .24511E-03   -1.5626    
  12  Prefactor     .37192E-08    50.386        .14755E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .17875E-07    16.527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .22204E-09    45.958        .15530E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .94901        .42269        .42462E-04   -1.5688    
  16  norm          4.2747        6.6775        .48501E-03   -1.5667    
  17  norm          8.9074        7.2718        .33636E-03   -1.5648    
  18  Prefactor     .12768E-08    117.31        .92673E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          13.765        22.099        .27002E-03   -1.5634    
  20  norm          12.575        12.960        .28194E-03   -1.5637    
  21  Prefactor     7.1494        16.478        .37462E-03   -1.5654    
  22  Prefactor     .11102E-09    10.933        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.5861        .32357        .72570E-01   -.75386    
  24  Prefactor     .82378        .16771        .44028E-01   -.98858    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.92278e-07
Minuit parameter uncertainties:
  1  9.20661
  2  0.00274368
  3  0.00160556
  4  60.7228
  5  9.99113
  6  6.31123e-05
  7  3.05509
  8  0.000170872
  9  1.69915e-05
  10  17.0085
  11  20.7956
  12  0.000864956
  13  0.00108681
  14  0.000193954
  15  0.422695
  16  6.67754
  17  7.27177
  18  0.000776673
  19  22.0992
  20  12.9605
  21  16.4782
  22  6.14102e-05
  23  0.323996
  24  0.167816
Done.

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

Extracting fit parameters...

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  5.910e+00  1.701e+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:  8.238e-01  1.678e-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.586e+00  3.240e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/547600/likelihoodResults_698371201_698630401_4FGL_J1238.5-1201_daily_bin1771.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) = 4502.08237064
delta logL = 0.000202592308597

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4502.0823552
delta logL = 0.000218040720938

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4502.082     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      269 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.9903        17.681        .16407E-04   -.62243E-02
   2  Index         2.6249        1.6562        .12403E-01   -.21775E-03
   3  Normalizat    1.5871        .36718        .32100E-03    .10453E-02
   4  Prefactor     .82340        .19498        .22856E-03    .13839E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.99026
  Index      = 2.62493
  Normalizat = 1.58706
  Prefactor  = 0.823405
 **********
 **   18 **HESSE 
 **********

 FCN=   4502.082     FROM HESSE     STATUS=OK            23 CALLS      292 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.9903        17.410        .65630E-06   -1.5659    
   2  Index         2.6249        1.6317        .49611E-03   -.49498    
   3  Normalizat    1.5871        .36762        .64200E-04   -.75360    
   4  Prefactor     .82340        .19509        .45711E-04   -.98871    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21313e-08
Minuit parameter uncertainties:
  1  17.4105
  2  1.67161
  3  0.368245
  4  0.195252
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/547600': 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) = 4502.08235476
delta logL = 0.000218479217438

Extracting fit parameters...

4FGL J1238.5-1201
   Spectrum: PowerLaw
326    Prefactor:  5.990e+00  1.741e+01  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  2.625e+00  1.672e+00  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:  8.234e-01  1.953e-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.587e+00  3.682e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/547600/cmap_HighResolution_698371201_698630401_4FGL_J1238.5-1201_daily_bin1771.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.78e-02', job_status='DONE', photon_flux_upper_limit='2.27e-07', time_completed='2023-02-21 01:02:35.142656', job_id='547600', GAL2='0.82', fit_tolerance='1e-08', EG2='1.59', EG='1.59', time_epoch_completed='1676970155.14', return_code2='0', ts='0.14', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='2.18e-04', ts2='0.14', photon_index_error='0.00', photon_index='2.66' WHERE bin_id='1771' AND source_name='4FGL J1238.5-1201' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Feb 21 01:02:35 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0034>
Subject: Job 547600: <4FGL_J1238.5-1201_daily_bin1771> in cluster <slac> Done

Job <4FGL_J1238.5-1201_daily_bin1771> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Feb 21 00:50:22 2023
Job was executed on host(s) <bullet0034>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 00:50:23 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 00:50:23 2023
Terminated at Tue Feb 21 01:02:35 2023
Results reported at Tue Feb 21 01:02:35 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1238.5-1201_daily_bin1771 189.625 -12.028 698371201 698630401 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 :                                   551.42 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             277.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   732 sec.
    Turnaround time :                            733 sec.

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

