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


Performing analysis on: 4FGL_J2248.7-3235_daily_bin1766
RA = 342.193, Dec = -32.5926
tmin = 697075201, tmax = 697334401
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='862135', job_status='RUN', time_executed='2023-02-06 01:36:47.439249', time_epoch_executed='1675676207.44' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='1766'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/862135

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/862135/ft1_4FGL_J2248.7-3235_daily_bin1766.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/862135/ft2_4FGL_J2248.7-3235_daily_bin1766.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/862135/ft1_4FGL_J2248.7-3235_daily_bin1766.fits outfile=/scratch/kocevski/862135/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1766.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=697075201.0 tmax=697334401.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.79
user 3.52
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/862135/ft2_4FGL_J2248.7-3235_daily_bin1766.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/862135/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1766.fits evtable="EVENTS" outfile="/scratch/kocevski/862135/ft1_filtered_4FGL_J2248.7-3235_daily_bin1766.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.54
user 0.37
sys 0.15

Number of photons that the gtmktime cut: 407

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/862135/ft1_filtered_4FGL_J2248.7-3235_daily_bin1766.fits" evtable="EVENTS" scfile=/scratch/kocevski/862135/ft2_4FGL_J2248.7-3235_daily_bin1766.fits sctable="SC_DATA" outfile=/scratch/kocevski/862135/ltcube_697075201_697334401_4FGL_J2248.7-3235_daily_bin1766.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/862135/ft2_4FGL_J2248.7-3235_daily_bin1766.fits
.....................!
real 16.27
user 15.82
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/862135/ft1_filtered_4FGL_J2248.7-3235_daily_bin1766.fits evtable="EVENTS" scfile=/scratch/kocevski/862135/ft2_4FGL_J2248.7-3235_daily_bin1766.fits sctable="SC_DATA" expcube=/scratch/kocevski/862135/ltcube_697075201_697334401_4FGL_J2248.7-3235_daily_bin1766.fits outfile=/scratch/kocevski/862135/expmap_697075201_697334401_4FGL_J2248.7-3235_daily_bin1766.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/862135/ltcube_697075201_697334401_4FGL_J2248.7-3235_daily_bin1766.fits
.....................!
real 195.45
user 189.34
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/862135/ft1_filtered_4FGL_J2248.7-3235_daily_bin1766.fits scfile=/scratch/kocevski/862135/ft2_4FGL_J2248.7-3235_daily_bin1766.fits outfile=/scratch/kocevski/862135/cmap_697075201_697334401_4FGL_J2248.7-3235_daily_bin1766.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/862135/ft1_filtered_4FGL_J2248.7-3235_daily_bin1766.fits scfile=/scratch/kocevski/862135/ft2_4FGL_J2248.7-3235_daily_bin1766.fits outfile=/scratch/kocevski/862135/cmap_HighResolution_697075201_697334401_4FGL_J2248.7-3235_daily_bin1766.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.58
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/862135/ft1_filtered_4FGL_J2248.7-3235_daily_bin1766.fits evtable="EVENTS" scfile=/scratch/kocevski/862135/ft2_4FGL_J2248.7-3235_daily_bin1766.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/862135/Model_4FGL_J2248.7-3235_daily_bin1766.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/862135/ft1_filtered_4FGL_J2248.7-3235_daily_bin1766.fits.....................!
real 41.76
user 40.39
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/862135/ft1_filtered_4FGL_J2248.7-3235_daily_bin1766.fits', '/scratch/kocevski/862135/ft2_4FGL_J2248.7-3235_daily_bin1766.fits', expMap='/scratch/kocevski/862135/expmap_697075201_697334401_4FGL_J2248.7-3235_daily_bin1766.fits', expCube='/scratch/kocevski/862135/ltcube_697075201_697334401_4FGL_J2248.7-3235_daily_bin1766.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/862135/Model_4FGL_J2248.7-3235_daily_bin1766.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/862135/ft1_filtered_4FGL_J2248.7-3235_daily_bin1766.fits
Spacecraft file(s): /scratch/kocevski/862135/ft2_4FGL_J2248.7-3235_daily_bin1766.fits
Exposure map: /scratch/kocevski/862135/expmap_697075201_697334401_4FGL_J2248.7-3235_daily_bin1766.fits
Exposure cube: /scratch/kocevski/862135/ltcube_697075201_697334401_4FGL_J2248.7-3235_daily_bin1766.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/862135/Model_4FGL_J2248.7-3235_daily_bin1766.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) = 4524.90827486

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5644       1.0000          .0000       .10000E+07
     2 'Prefactor '    .31743E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .11565E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .71038E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .70157E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.2195       1.0000          .0000       .10000E+07
     7 'Prefactor '    8.1279       1.0000          .0000       .10000E+07
     8 'Prefactor '    .78978E-04   1.0000          .0000       .10000E+07
     9 'norm      '    5.0933       1.0000          .0000       .10000E+07
    10 'Prefactor '    .19877E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.4789       1.0000          .0000       .10000E+07
    12 'Prefactor '    .24380E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .10547E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    .19197E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    20.268       1.0000          .0000       .10000E+07
    16 'norm      '    1.2878       1.0000          .0000       .10000E+07
    17 'Prefactor '    .13536E-04   1.0000          .0000       .10000E+07
    18 'norm      '    .37920E-06   1.0000          .0000       .10000E+07
    19 'norm      '    .56455E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    38.103       1.0000          .0000       .10000E+07
    21 'Prefactor '    16.044       1.0000          .0000       .10000E+07
    22 'norm      '    .79421       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.6100       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .45425       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=   4524.853     FROM MIGRAD    STATUS=CONVERGED    168 CALLS     1997 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5645        .50271        .86576E-08    .46096E-02
   2  Prefactor     .63372E-06    8.9481       -.16504E-06** at limit **
   3  Prefactor      .0000        6.9367       -.54001E-07** at limit **
   4  norm          .55511E-08    8.1804       -.41554E-07** at limit **
   5  Prefactor     .31641E-08    63.352        .39519E-07** at limit **
   6  Prefactor     4.2295        1.2969       -.36056E-08   -.44543E-02
   7  Prefactor     8.2315        2.4511        .51232E-08   -.57545E-02
   8  Prefactor     .63377E-06    9.3498       -.17164E-06** at limit **
   9  norm          5.0937        3.0598       -.22433E-07   -.10904E-02
  10  Prefactor      .0000        26.185        .79761E-07** at limit **
  11  Prefactor     2.4183        2.0459        .28787E-08    .57736E-02
  12  Prefactor     .71054E-08    8.3286        .75080E-07** at limit **
  13  norm           .0000        5.6436       -.52442E-07** at limit **
  14  Prefactor     .55511E-10    38.625        .52790E-06** at limit **
  15  Prefactor     20.274        9.7806        .20118E-07    .51623E-01
  16  norm          1.2882        .86631       -.45601E-09    .33087E-03
  17  Prefactor     .11152E-06    17.655       -.10198E-06** at limit **
  18  norm          .55511E-10    1.9383       -.10650E-06** at limit **
  19  norm          .10991E-07    8.3143       -.65272E-07** at limit **
  20  Prefactor     43.164        69.457        .60195E-07   -.83449E-03
  21  Prefactor     15.852        3.4700        .56150E-08    .39741E-01
  22  norm          .40200        29.764       -.26493E-06    .51091E-03
  23  Normalizat    1.6079        .27635       -.91160E-06   -.36585E-05
  24  Prefactor     .45563        .25748        .15498E-05    .69647E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.56447
  Prefactor  = 6.33715e-07
  Prefactor  = 0
  norm       = 5.55112e-09
  Prefactor  = 3.16414e-09
  Prefactor  = 4.22947
  Prefactor  = 8.23146
  Prefactor  = 6.33771e-07
  norm       = 5.09372
  Prefactor  = 0
  Prefactor  = 2.41827
  Prefactor  = 7.10543e-09
  norm       = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 20.2745
  norm       = 1.28822
  Prefactor  = 1.11522e-07
  norm       = 5.55112e-11
  norm       = 1.09912e-08
  Prefactor  = 43.1643
  Prefactor  = 15.8518
  norm       = 0.402005
  Normalizat = 1.6079
  Prefactor  = 0.455628
 **********
 **   18 **HESSE 
 **********

 FCN=   4524.853     FROM HESSE     STATUS=OK           445 CALLS     2442 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5645        .50250        .59528E-03   -1.5683    
   2  Prefactor     .63372E-06    16.563        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        6.9609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .55511E-08    10.686        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .31641E-08    62.986        .14813E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.2295        36.144        .49033E-03   -1.5667    
   7  Prefactor     8.2315        18.259        .35143E-03   -1.5651    
   8  Prefactor     .63377E-06    14.943        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.0937        3.0786        .44527E-03   -1.5663    
  10  Prefactor      .0000        26.134        .17045E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.4183        27.626        .64909E-03   -1.5677    
  12  Prefactor     .71054E-08    8.4112        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        5.5959        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .55511E-10    38.470        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     20.274        14.629        .22219E-03   -1.5618    
  16  norm          1.2882        .94441        .97610E-03   -1.5685    
  17  Prefactor     .11152E-06    19.351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .55511E-10    1.9417        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10991E-07    11.725        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     43.164        92.041        .16202E-03   -1.5577    
  21  Prefactor     15.852        24.281        .24978E-03   -1.5628    
  22  norm          .40200        51.484        .53368E-03   -1.5695    
  23  Normalizat    1.6079        .24105        .48349E-01   -.74790    
  24  Prefactor     .45563        .22152        .80129E-01   -1.1406    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.86744e-07
Minuit parameter uncertainties:
  1  0.502501
  2  0.0064794
  3  6.08493e-07
  4  0.000487489
  5  0.000892438
  6  24.7283
  7  18.2588
  8  0.00615501
  9  3.07858
  10  1.71892e-05
  11  16.3471
  12  0.000488155
  13  6.26156e-06
  14  0.000108108
  15  14.6291
  16  0.944412
  17  0.00293791
  18  1.89843e-05
  19  0.000718349
  20  92.044
  21  24.2813
  22  9.09887
  23  0.241227
  24  0.221943
Done.

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

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  2.418e+00  1.635e+01  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:  4.556e-01  2.219e-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.608e+00  2.412e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
Ra Dec: 342.193 -32.593
Photon Flux Upper Limit: 1.44e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.13e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/862135/likelihoodResults_697075201_697334401_4FGL_J2248.7-3235_daily_bin1766.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) = 4524.84860296
delta logL = 0.00419026059262

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4524.84851569
delta logL = 0.00427752781798

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4524.849     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      290 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.3657        30.091        .13264E-03   -.18616E-03
   2  Index         3.0148        3.0279        .23211E-01   -.49764E-05
   3  Normalizat    1.6051        .27754        .21387E-03   -.61662E-05
   4  Prefactor     .45748        .25583        .35425E-03    .26605E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.36567
  Index      = 3.01478
  Normalizat = 1.60507
  Prefactor  = 0.457482
 **********
 **   18 **HESSE 
 **********

 FCN=   4524.849     FROM HESSE     STATUS=OK            27 CALLS      317 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.3657        22.875        .53057E-05   -1.5677    
   2  Index         3.0148        2.7030        .92843E-03   -.40829    
   3  Normalizat    1.6051        .27782        .85549E-05   -.74867    
   4  Prefactor     .45748        .25619        .14170E-04   -1.1397    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.79421e-11
Minuit parameter uncertainties:
  1  14.7125
  2  2.89031
  3  0.278087
  4  0.256833
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/862135': 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) = 4524.8485076
delta logL = 0.00428561854096

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  2.366e+00  1.471e+01  0.000e+00  1.000e+06 ( 1.000e-12)
312        Index:  3.015e+00  2.890e+00  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:  4.575e-01  2.568e-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.605e+00  2.781e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
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/862135/cmap_HighResolution_697075201_697334401_4FGL_J2248.7-3235_daily_bin1766.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.13e-02', job_status='DONE', photon_flux_upper_limit='1.44e-07', time_completed='2023-02-06 01:45:48.040646', job_id='862135', GAL2='0.46', fit_tolerance='1e-08', EG2='1.61', EG='1.61', time_epoch_completed='1675676748.04', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='0.46', dlogl='4.29e-03', ts2='0.03', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='1766' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb  6 01:45:48 PST 2023


------------------------------------------------------------
Sender: LSF System <scs@bullet0044>
Subject: Job 862135: <4FGL_J2248.7-3235_daily_bin1766> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin1766> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Feb  6 01:35:20 2023
Job was executed on host(s) <bullet0044>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb  6 01:36:18 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb  6 01:36:18 2023
Terminated at Mon Feb  6 01:45:48 2023
Results reported at Mon Feb  6 01:45:48 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin1766 342.193 -32.5926 697075201 697334401 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 :                                   542.32 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             372.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   571 sec.
    Turnaround time :                            628 sec.

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

