/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 82 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2248.7-3235_daily_bin1500
RA = 342.193, Dec = -32.5926
tmin = 628128001, tmax = 628387201
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='476232', job_status='RUN', time_executed='2021-09-28 20:47:07.172240', time_epoch_executed='1632887227.17' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='1500'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/476232

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/476232/ft1_4FGL_J2248.7-3235_daily_bin1500.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/476232/ft2_4FGL_J2248.7-3235_daily_bin1500.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/476232/ft1_4FGL_J2248.7-3235_daily_bin1500.fits outfile=/scratch/kocevski/476232/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1500.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=628128001.0 tmax=628387201.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 5.21
user 5.00
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/476232/ft1_filtered_4FGL_J2248.7-3235_daily_bin1500.fits" evtable="EVENTS" scfile=/scratch/kocevski/476232/ft2_4FGL_J2248.7-3235_daily_bin1500.fits sctable="SC_DATA" outfile=/scratch/kocevski/476232/ltcube_628128001_628387201_4FGL_J2248.7-3235_daily_bin1500.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/476232/ft2_4FGL_J2248.7-3235_daily_bin1500.fits
.....................!
real 11.41
user 11.04
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/476232/ft1_filtered_4FGL_J2248.7-3235_daily_bin1500.fits evtable="EVENTS" scfile=/scratch/kocevski/476232/ft2_4FGL_J2248.7-3235_daily_bin1500.fits sctable="SC_DATA" expcube=/scratch/kocevski/476232/ltcube_628128001_628387201_4FGL_J2248.7-3235_daily_bin1500.fits outfile=/scratch/kocevski/476232/expmap_628128001_628387201_4FGL_J2248.7-3235_daily_bin1500.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/476232/ltcube_628128001_628387201_4FGL_J2248.7-3235_daily_bin1500.fits
.....................!
real 189.82
user 185.11
sys 4.40

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/476232/ft1_filtered_4FGL_J2248.7-3235_daily_bin1500.fits scfile=/scratch/kocevski/476232/ft2_4FGL_J2248.7-3235_daily_bin1500.fits outfile=/scratch/kocevski/476232/cmap_628128001_628387201_4FGL_J2248.7-3235_daily_bin1500.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/476232/ft1_filtered_4FGL_J2248.7-3235_daily_bin1500.fits scfile=/scratch/kocevski/476232/ft2_4FGL_J2248.7-3235_daily_bin1500.fits outfile=/scratch/kocevski/476232/cmap_HighResolution_628128001_628387201_4FGL_J2248.7-3235_daily_bin1500.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.53
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/476232/ft1_filtered_4FGL_J2248.7-3235_daily_bin1500.fits evtable="EVENTS" scfile=/scratch/kocevski/476232/ft2_4FGL_J2248.7-3235_daily_bin1500.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/476232/Model_4FGL_J2248.7-3235_daily_bin1500.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/476232/ft1_filtered_4FGL_J2248.7-3235_daily_bin1500.fits.....................!
real 32.49
user 31.31
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/476232/ft1_filtered_4FGL_J2248.7-3235_daily_bin1500.fits', '/scratch/kocevski/476232/ft2_4FGL_J2248.7-3235_daily_bin1500.fits', expMap='/scratch/kocevski/476232/expmap_628128001_628387201_4FGL_J2248.7-3235_daily_bin1500.fits', expCube='/scratch/kocevski/476232/ltcube_628128001_628387201_4FGL_J2248.7-3235_daily_bin1500.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/476232/Model_4FGL_J2248.7-3235_daily_bin1500.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  1.000e-04  1.000e+04 ( 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/476232/ft1_filtered_4FGL_J2248.7-3235_daily_bin1500.fits
Spacecraft file(s): /scratch/kocevski/476232/ft2_4FGL_J2248.7-3235_daily_bin1500.fits
Exposure map: /scratch/kocevski/476232/expmap_628128001_628387201_4FGL_J2248.7-3235_daily_bin1500.fits
Exposure cube: /scratch/kocevski/476232/ltcube_628128001_628387201_4FGL_J2248.7-3235_daily_bin1500.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/476232/Model_4FGL_J2248.7-3235_daily_bin1500.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) = 3401.40699844

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .41462       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    16.661       1.0000         .10000E-03   10000.    
     4 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.284       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10212E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.448       1.0000         .10000E-03   10000.    
    13 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.8449       1.0000         .10000E-03   10000.    
    16 'norm      '    3.2464       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    3.6585       1.0000         .10000E-03   10000.    
    20 'norm      '    18.691       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .15927E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    4.8636       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.2530       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .80176       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.

 FCN=   3401.386     FROM MIGRAD    STATUS=CONVERGED    580 CALLS     2873 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .41461        .32807        .15793E-07    .85347E-04
   2  Prefactor     .10000E-03    16.070        .14823E-04** at limit **
   3  Prefactor     16.661        16.968       -.83174E-07    .99763E-05
   4  norm          .10000E-03    32.767        .26336E-05** at limit **
   5  Prefactor     .10000E-03    26.789        .72542E-05** at limit **
   6  Prefactor     13.284        29.351        .16226E-07    .10917E-04
   7  Prefactor     .10000E-03    6.6024       -.87446E-07** at limit **
   8  Prefactor     .10000E-03    14.266       -.37656E-05** at limit **
   9  norm          .10000E-03    .86746       -.73087E-07** at limit **
  10  Prefactor     .10000E-03    17.546       -.14015E-04** at limit **
  11  Prefactor     .10000E-03    34.663       -.11524E-04** at limit **
  12  Prefactor     15.448        11.165       -.16252E-06   -.19975E-03
  13  norm          .10000E-03    3.4405        .34028E-06** at limit **
  14  Prefactor     .10000E-03    10.287        .11934E-06** at limit **
  15  Prefactor     7.8454        19.722       -.36887E-06   -.12950E-05
  16  norm          3.2466        1.5497        .82699E-08    .14020E-03
  17  Prefactor     .10000E-03    77.885        .88753E-05** at limit **
  18  Prefactor     .10000E-03    6.9038        .26551E-07** at limit **
  19  norm          3.6583        5.7930       -.21853E-06   -.69436E-04
  20  norm          18.693        15.693        .42213E-07    .11204E-04
  21  Prefactor     .10000E-03    25.961        .15362E-05** at limit **
  22  Prefactor     .10000E-03    178.13       -.13225E-04** at limit **
  23  norm          4.8635        5.5418        .13161E-06   -.70269E-04
  24  Normalizat    1.2529        .26741        .70033E-07    .59564E-04
  25  Prefactor     .80186        .24263        .38870E-07    .24769E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.414607
  Prefactor  = 0.0001
  Prefactor  = 16.6614
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.2836
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.4476
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.84536
  norm       = 3.24656
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.65828
  norm       = 18.6931
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.8635
  Normalizat = 1.25294
  Prefactor  = 0.80186
 **********
 **   18 **HESSE 
 **********

 FCN=   3401.386     FROM HESSE     STATUS=OK           421 CALLS     3294 TOTAL
                     EDM=   .61E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .41461        .33299        .28929E-04   -1.5579    
   2  Prefactor     .10000E-03    16.079        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     16.661        17.082        .98122E-04   -1.4891    
   4  norm          .10000E-03    32.896        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    26.798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     13.284        29.336        .10990E-03   -1.4979    
   7  Prefactor     .10000E-03    6.6166        .14636E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    14.273        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    .86804        .53046E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    17.551        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    34.945        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     15.448        11.178        .50952E-03   -1.4922    
  13  norm          .10000E-03    3.4520        .10555E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.288        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.8454        20.786        .14316E-03   -1.5148    
  16  norm          3.2466        1.6215        .37661E-04   -1.5348    
  17  Prefactor     .10000E-03    77.951        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    6.9079        .14961E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.6583        5.8434        .15941E-03   -1.5325    
  20  norm          18.693        15.705        .92641E-04   -1.4843    
  21  Prefactor     .10000E-03    25.973        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    179.01        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          4.8635        5.5937        .13182E-03   -1.5267    
  24  Normalizat    1.2529        .33234        .24857E-03   -.84982    
  25  Prefactor     .80186        .29876        .28456E-03   -.99660    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.13749e-11
Minuit parameter uncertainties:
  1  0.332996
  2  8.90803e-06
  3  17.0865
  4  4.52677e-06
  5  2.07742e-07
  6  29.3681
  7  8.36221e-07
  8  1.41873e-06
  9  1.72725e-07
  10  1.9516e-06
  11  8.52018e-05
  12  11.18
  13  2.48023e-06
  14  4.67407e-06
  15  20.805
  16  1.62152
  17  5.51574e-06
  18  3.25533e-06
  19  5.84427
  20  15.7085
  21  1.36387e-06
  22  9.49371e-05
  23  5.59433
  24  0.332903
  25  0.299364
Done.

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

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  1.000e-04  8.520e-05  1.000e-04  1.000e+04 ( 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:  8.019e-01  2.994e-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.253e+00  3.329e-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.81e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.43e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/476232/likelihoodResults_628128001_628387201_4FGL_J2248.7-3235_daily_bin1500.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) = 3401.38578407
delta logL = -0.000136301950079

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3401.38578402
delta logL = -0.000136249741445

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96329E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7611       1.0000          .0000       10.000    
     3 'Normalizat'    1.2529       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80186       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=   3401.279     FROM MIGRAD    STATUS=CONVERGED    169 CALLS      317 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0199        3.2664        .18143E-01    .50643E-03
   2  Index         4.9287        1.4648        .24329       -.38136E-04
   3  Normalizat    1.2077        .33833        .24857E-03   -.62622E-04
   4  Prefactor     .82941        .30431        .28456E-03   -.26868E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.01987
  Index      = 4.92865
  Normalizat = 1.2077
  Prefactor  = 0.829414
 **********
 **   18 **HESSE 
 **********

 FCN=   3401.279     FROM HESSE     STATUS=OK            29 CALLS      346 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0199        4.2125        .12961E-03   -1.5506    
   2  Index         4.9287        2.7351        .12879E-01    3.1559    
   3  Normalizat    1.2077        .32673        .49714E-04   -.86365    
   4  Prefactor     .82941        .30032        .11382E-04   -.98653    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00511e-08
Minuit parameter uncertainties:
  1  4.14574
  2  2.89408
  3  0.327282
  4  0.300916
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/476232': 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) = 3401.27860801
delta logL = 0.107039759021

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  1.020e+00  4.146e+00  1.000e-04  1.000e+04 ( 1.000e-12)
312        Index:  4.929e+00  2.894e+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:  8.294e-01  3.009e-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.208e+00  3.273e-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/476232/cmap_HighResolution_628128001_628387201_4FGL_J2248.7-3235_daily_bin1500.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.43e-02', job_status='DONE', photon_flux_upper_limit='1.81e-07', time_completed='2021-09-28 20:55:50.000104', job_id='476232', GAL2='0.83', fit_tolerance='1e-08', EG2='1.21', EG='1.25', time_epoch_completed='1632887750.0', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.07e-01', ts2='0.23', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='1500' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 20:55:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0106>
Subject: Job 476232: <4FGL_J2248.7-3235_daily_bin1500> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin1500> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 20:45:35 2021
Job was executed on host(s) <bullet0106>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 20:45:36 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 20:45:36 2021
Terminated at Tue Sep 28 20:55:50 2021
Results reported at Tue Sep 28 20:55:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin1500 342.193 -32.5926 628128001 628387201 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 :                                   517.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             337.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   614 sec.
    Turnaround time :                            615 sec.

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

