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


Performing analysis on: 4FGL_J2248.7-3235_daily_bin1749
RA = 342.193, Dec = -32.5926
tmin = 692668801, tmax = 692928001
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='964274', job_status='RUN', time_executed='2022-12-17 01:33:18.855046', time_epoch_executed='1671269598.86' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='1749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/964274

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/964274/ft1_4FGL_J2248.7-3235_daily_bin1749.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/964274/ft2_4FGL_J2248.7-3235_daily_bin1749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/964274/ft1_4FGL_J2248.7-3235_daily_bin1749.fits outfile=/scratch/kocevski/964274/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1749.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=692668801.0 tmax=692928001.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.68
user 3.47
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/964274/ft2_4FGL_J2248.7-3235_daily_bin1749.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/964274/ft2_4FGL_J2248.7-3235_daily_bin1749.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/964274/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1749.fits evtable="EVENTS" outfile="/scratch/kocevski/964274/ft1_filtered_4FGL_J2248.7-3235_daily_bin1749.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.32
sys 0.16

Number of photons that the gtmktime cut: 406

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/964274/ft1_filtered_4FGL_J2248.7-3235_daily_bin1749.fits" evtable="EVENTS" scfile=/scratch/kocevski/964274/ft2_4FGL_J2248.7-3235_daily_bin1749.fits sctable="SC_DATA" outfile=/scratch/kocevski/964274/ltcube_692668801_692928001_4FGL_J2248.7-3235_daily_bin1749.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/964274/ft2_4FGL_J2248.7-3235_daily_bin1749.fits
.....................!
real 12.06
user 11.71
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/964274/ft1_filtered_4FGL_J2248.7-3235_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/964274/ft2_4FGL_J2248.7-3235_daily_bin1749.fits sctable="SC_DATA" expcube=/scratch/kocevski/964274/ltcube_692668801_692928001_4FGL_J2248.7-3235_daily_bin1749.fits outfile=/scratch/kocevski/964274/expmap_692668801_692928001_4FGL_J2248.7-3235_daily_bin1749.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/964274/ltcube_692668801_692928001_4FGL_J2248.7-3235_daily_bin1749.fits
.....................!
real 190.81
user 184.89
sys 5.60

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

Setting source of interest to:
4FGL J2248.7-3235 @ 342.193 -32.5926

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/964274/ft1_filtered_4FGL_J2248.7-3235_daily_bin1749.fits scfile=/scratch/kocevski/964274/ft2_4FGL_J2248.7-3235_daily_bin1749.fits outfile=/scratch/kocevski/964274/cmap_692668801_692928001_4FGL_J2248.7-3235_daily_bin1749.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=342.193 yref=-32.5926 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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/964274/ft1_filtered_4FGL_J2248.7-3235_daily_bin1749.fits scfile=/scratch/kocevski/964274/ft2_4FGL_J2248.7-3235_daily_bin1749.fits outfile=/scratch/kocevski/964274/cmap_HighResolution_692668801_692928001_4FGL_J2248.7-3235_daily_bin1749.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=342.193 yref=-32.5926 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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/964274/ft1_filtered_4FGL_J2248.7-3235_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/964274/ft2_4FGL_J2248.7-3235_daily_bin1749.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/964274/Model_4FGL_J2248.7-3235_daily_bin1749.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/964274/ft1_filtered_4FGL_J2248.7-3235_daily_bin1749.fits.....................!
real 39.00
user 37.76
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/964274/ft1_filtered_4FGL_J2248.7-3235_daily_bin1749.fits', '/scratch/kocevski/964274/ft2_4FGL_J2248.7-3235_daily_bin1749.fits', expMap='/scratch/kocevski/964274/expmap_692668801_692928001_4FGL_J2248.7-3235_daily_bin1749.fits', expCube='/scratch/kocevski/964274/ltcube_692668801_692928001_4FGL_J2248.7-3235_daily_bin1749.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/964274/Model_4FGL_J2248.7-3235_daily_bin1749.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2248.7-3235'

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  4.211e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
312        Index:  2.761e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
313        Scale:  4.468e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/964274/ft1_filtered_4FGL_J2248.7-3235_daily_bin1749.fits
Spacecraft file(s): /scratch/kocevski/964274/ft2_4FGL_J2248.7-3235_daily_bin1749.fits
Exposure map: /scratch/kocevski/964274/expmap_692668801_692928001_4FGL_J2248.7-3235_daily_bin1749.fits
Exposure cube: /scratch/kocevski/964274/ltcube_692668801_692928001_4FGL_J2248.7-3235_daily_bin1749.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/964274/Model_4FGL_J2248.7-3235_daily_bin1749.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) = 4523.44447166

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .45814       1.0000          .0000       .10000E+07
     2 'Prefactor '    5.7821       1.0000          .0000       .10000E+07
     3 'Prefactor '    .74659E-04   1.0000          .0000       .10000E+07
     4 'norm      '    17.884       1.0000          .0000       .10000E+07
     5 'Prefactor '    20.866       1.0000          .0000       .10000E+07
     6 'Prefactor '    7.9192       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11453E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    6.6502       1.0000          .0000       .10000E+07
     9 'norm      '    6.2250       1.0000          .0000       .10000E+07
    10 'Prefactor '    .50177E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .20082       1.0000          .0000       .10000E+07
    12 'Prefactor '    .83973E-05   1.0000          .0000       .10000E+07
    13 'norm      '    2.8095       1.0000          .0000       .10000E+07
    14 'Prefactor '    .51485E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    33.151       1.0000          .0000       .10000E+07
    16 'norm      '    .16762E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    .77385E-03   1.0000          .0000       .10000E+07
    18 'norm      '    4.6037       1.0000          .0000       .10000E+07
    19 'norm      '    10.289       1.0000          .0000       .10000E+07
    20 'Prefactor '    7.8468       1.0000          .0000       .10000E+07
    21 'Prefactor '    .61917       1.0000          .0000       .10000E+07
    22 'norm      '    .20215E-05   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.3532       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .51819       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5770E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4523.283     FROM MIGRAD    STATUS=CONVERGED    161 CALLS     1955 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .45741        .30288        .31634E-07   -.87141E-02
   2  Prefactor     5.7058        1.3586        .10109E-07   -.19031E-02
   3  Prefactor     .36637E-08    22.496       -.26588E-06** at limit **
   4  norm          17.212        4.0036       -.27954E-07   -.11843E-01
   5  Prefactor     20.278        7.3898        .33574E-07   -.75977E-01
   6  Prefactor     7.9759        3.7110       -.23462E-07   -.44435E-01
   7  Prefactor     .51625E-08    14.850        .47560E-06** at limit **
   8  Prefactor     6.4658        1.3233        .27636E-07   -.54674E-02
   9  norm          6.2321        3.3447       -.21306E-06    .22283E-02
  10  Prefactor     .51015E-07    31.585       -.26082E-06** at limit **
  11  Prefactor     .74385E-08    64.146        .16060E-05** at limit **
  12  Prefactor      .0000        2.2773       -.21918E-06** at limit **
  13  norm          2.7801        3.4939        .11522E-06    .15318E-03
  14  Prefactor     .24980E-08    12.885       -.27084E-07** at limit **
  15  Prefactor     33.247        11.858       -.29482E-06   -.25521E-02
  16  norm           .0000        1.0756       -.37748E-06** at limit **
  17  Prefactor      .0000        5.2182        .28115E-06** at limit **
  18  norm          4.6486        4.4643       -.59995E-08   -.97437E-03
  19  norm          10.344        9.1234        .27023E-06   -.19102E-02
  20  Prefactor     6.8454        16.116        .16635E-07    .83442E-02
  21  Prefactor     .74918E-06    176.56        .55142E-07** at limit **
  22  norm           .0000        1.8520        .95052E-07** at limit **
  23  Normalizat    1.3556        .23740        .14408E-04   -.41587E-04
  24  Prefactor     .51755        .21988       -.10524E-04   -.20924E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.457413
  Prefactor  = 5.70582
  Prefactor  = 3.66374e-09
  norm       = 17.2121
  Prefactor  = 20.2783
  Prefactor  = 7.97592
  Prefactor  = 5.16254e-09
  Prefactor  = 6.46577
  norm       = 6.23209
  Prefactor  = 5.10147e-08
  Prefactor  = 7.43849e-09
  Prefactor  = 0
  norm       = 2.78012
  Prefactor  = 2.498e-09
  Prefactor  = 33.2474
  norm       = 0
  Prefactor  = 0
  norm       = 4.64856
  norm       = 10.3443
  Prefactor  = 6.8454
  Prefactor  = 7.49178e-07
  norm       = 0
  Normalizat = 1.35563
  Prefactor  = 0.517551
 **********
 **   18 **HESSE 
 **********

 FCN=   4523.283     FROM HESSE     STATUS=OK           461 CALLS     2416 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .45741        .29671        .66332E-03   -1.5694    
   2  Prefactor     5.7058        20.163        .41745E-03   -1.5660    
   3  Prefactor     .36637E-08    23.348        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          17.212        21.681        .23656E-03   -1.5625    
   5  Prefactor     20.278        35.062        .21898E-03   -1.5618    
   6  Prefactor     7.9759        15.905        .35607E-03   -1.5651    
   7  Prefactor     .51625E-08    15.308        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.4658        18.138        .38888E-03   -1.5657    
   9  norm          6.2321        3.3798        .40211E-03   -1.5658    
  10  Prefactor     .51015E-07    31.910        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .74385E-08    13.038        .81887E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        2.2739        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.7801        3.5116        .60662E-03   -1.5675    
  14  Prefactor     .24980E-08    13.017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     33.247        13.603        .17370E-03   -1.5593    
  16  norm           .0000        .68950        .15936E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        5.2365        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.6486        4.5196        .46887E-03   -1.5665    
  19  norm          10.344        9.1445        .31212E-03   -1.5644    
  20  Prefactor     6.8454        61.087        .35772E-03   -1.5656    
  21  Prefactor     .74918E-06    212.72        .67528E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        1.8555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3556        .20733        .47532E-01   -.81921    
  24  Prefactor     .51755        .18904        .69296E-01   -1.1118    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.37194e-07
Minuit parameter uncertainties:
  1  0.296707
  2  20.1637
  3  0.000585912
  4  21.6807
  5  35.0625
  6  15.9051
  7  0.00056233
  8  18.1386
  9  3.37978
  10  0.00255129
  11  0.000621965
  12  8.20401e-06
  13  3.51161
  14  0.000359193
  15  13.6026
  16  5.29688e-06
  17  4.17025e-06
  18  4.51957
  19  9.14454
  20  40.8987
  21  0.0252489
  22  6.02601e-07
  23  0.20746
  24  0.189272
Done.

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

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  7.438e-09  6.220e-04  0.000e+00  1.000e+06 ( 1.000e-12)
312        Index:  2.761e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
313        Scale:  4.468e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
574    Prefactor:  5.176e-01  1.893e-01  0.000e+00  1.000e+01 ( 1.000e+00)
575        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
576        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
573   Normalization:  1.356e+00  2.075e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 342.193 -32.593
Photon Flux Upper Limit: 1.20e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.51e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/964274/likelihoodResults_692668801_692928001_4FGL_J2248.7-3235_daily_bin1749.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) = 4523.28158651
delta logL = 0.00103047286575

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4523.02918447
delta logL = 0.253432512292

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4523.029     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      317 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .30143E-01    .89248        .38986E-03** at limit **
   2  Index         7.6479        8.2824        .24057        .65386E-04
   3  Normalizat    1.3076        .36015E-01    .48219E-01    .39040E-06
   4  Prefactor     .54846        .34157E-01    .67475E-01    .22318E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0301427
  Index      = 7.6479
  Normalizat = 1.30757
  Prefactor  = 0.548461
 **********
 **   18 **HESSE 
 **********

 FCN=   4523.029     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      350 TOTAL
                     EDM=   .68E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .30143E-01    3.4922        .17793E-04   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         7.6479        6.6630        .13733E-01    .55811    
   3  Normalizat    1.3076        .15133        .21316E-03   -.83341    
   4  Prefactor     .54846        .13944        .29865E-03   -1.0980    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.79483e-11
Minuit parameter uncertainties:
  1  0.648888
  2  15.1145
  3  0.151386
  4  0.139523
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/964274': 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) = 4523.02918227
delta logL = 0.253434710422

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  3.014e-02  6.489e-01  0.000e+00  1.000e+06 ( 1.000e-12)
312        Index:  7.648e+00  1.511e+01  0.000e+00  1.000e+01 (-1.000e+00)
313        Scale:  4.468e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
574    Prefactor:  5.485e-01  1.395e-01  0.000e+00  1.000e+01 ( 1.000e+00)
575        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
576        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
573   Normalization:  1.308e+00  1.514e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 342.193 -32.593

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/964274/cmap_HighResolution_692668801_692928001_4FGL_J2248.7-3235_daily_bin1749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.51e-03', job_status='DONE', photon_flux_upper_limit='1.20e-07', time_completed='2022-12-17 01:42:02.310595', job_id='964274', GAL2='0.55', fit_tolerance='1e-08', EG2='1.31', EG='1.36', time_epoch_completed='1671270122.31', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.52', dlogl='2.53e-01', ts2='0.54', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='1749' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 17 01:42:02 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 964274: <4FGL_J2248.7-3235_daily_bin1749> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin1749> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Dec 17 01:30:23 2022
Job was executed on host(s) <bullet0043>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Dec 17 01:30:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Dec 17 01:30:24 2022
Terminated at Sat Dec 17 01:42:03 2022
Results reported at Sat Dec 17 01:42:03 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin1749 342.193 -32.5926 692668801 692928001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2248.7-3235 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   525.59 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             302.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   698 sec.
    Turnaround time :                            700 sec.

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

