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


Performing analysis on: 4FGL_J2248.7-3235_daily_bin1319
RA = 342.193, Dec = -32.5926
tmin = 581212801, tmax = 581472001
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='475956', job_status='RUN', time_executed='2021-09-28 20:46:21.198266', time_epoch_executed='1632887181.2' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='1319'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/475956

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/475956/ft1_4FGL_J2248.7-3235_daily_bin1319.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/475956/ft2_4FGL_J2248.7-3235_daily_bin1319.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/475956/ft1_4FGL_J2248.7-3235_daily_bin1319.fits outfile=/scratch/kocevski/475956/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1319.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=581212801.0 tmax=581472001.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.05
user 2.85
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/475956/ft2_4FGL_J2248.7-3235_daily_bin1319.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/475956/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1319.fits evtable="EVENTS" outfile="/scratch/kocevski/475956/ft1_filtered_4FGL_J2248.7-3235_daily_bin1319.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.51
user 0.31
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/475956/ft1_filtered_4FGL_J2248.7-3235_daily_bin1319.fits" evtable="EVENTS" scfile=/scratch/kocevski/475956/ft2_4FGL_J2248.7-3235_daily_bin1319.fits sctable="SC_DATA" outfile=/scratch/kocevski/475956/ltcube_581212801_581472001_4FGL_J2248.7-3235_daily_bin1319.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/475956/ft2_4FGL_J2248.7-3235_daily_bin1319.fits
.....................!
real 14.33
user 13.47
sys 0.82

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/475956/ft1_filtered_4FGL_J2248.7-3235_daily_bin1319.fits evtable="EVENTS" scfile=/scratch/kocevski/475956/ft2_4FGL_J2248.7-3235_daily_bin1319.fits sctable="SC_DATA" expcube=/scratch/kocevski/475956/ltcube_581212801_581472001_4FGL_J2248.7-3235_daily_bin1319.fits outfile=/scratch/kocevski/475956/expmap_581212801_581472001_4FGL_J2248.7-3235_daily_bin1319.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/475956/ltcube_581212801_581472001_4FGL_J2248.7-3235_daily_bin1319.fits
.....................!
real 192.72
user 186.72
sys 5.63

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/475956/ft1_filtered_4FGL_J2248.7-3235_daily_bin1319.fits scfile=/scratch/kocevski/475956/ft2_4FGL_J2248.7-3235_daily_bin1319.fits outfile=/scratch/kocevski/475956/cmap_581212801_581472001_4FGL_J2248.7-3235_daily_bin1319.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/475956/ft1_filtered_4FGL_J2248.7-3235_daily_bin1319.fits scfile=/scratch/kocevski/475956/ft2_4FGL_J2248.7-3235_daily_bin1319.fits outfile=/scratch/kocevski/475956/cmap_HighResolution_581212801_581472001_4FGL_J2248.7-3235_daily_bin1319.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/475956/ft1_filtered_4FGL_J2248.7-3235_daily_bin1319.fits evtable="EVENTS" scfile=/scratch/kocevski/475956/ft2_4FGL_J2248.7-3235_daily_bin1319.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/475956/Model_4FGL_J2248.7-3235_daily_bin1319.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/475956/ft1_filtered_4FGL_J2248.7-3235_daily_bin1319.fits.....................!
real 61.49
user 60.13
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .74723       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10795E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    17.810       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.1295       1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.679       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.0293       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.689       1.0000         .10000E-03   10000.    
    13 'norm      '    1.6249       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.8068       1.0000         .10000E-03   10000.    
    16 'norm      '    2.6941       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .60877E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.6830       1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    7.5919       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10486E-02   1.0000         .10000E-03   10000.    
    22 'Prefactor '    31.194       1.0000         .10000E-03   10000.    
    23 'norm      '    6.3495       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.3630       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .67462       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=   8181.307     FROM MIGRAD    STATUS=CONVERGED   1050 CALLS     3800 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .74724        .29332        .29763E-04    .27884E-04
   2  Prefactor     .10000E-03    9.6448        .18142E-02** at limit **
   3  Prefactor     .10000E-03    2.1956        .13037E-02** at limit **
   4  norm          .10002E-03    63.706        .64003E-02** at limit **
   5  Prefactor     17.816        34.751        .94903E-04    .18688E-04
   6  Prefactor     4.1296        10.055        .99181E-03    .23831E-04
   7  Prefactor     12.678        11.815        .11250E-03   -.12188E-03
   8  Prefactor     .10000E-03    8.2873        .18142E-02** at limit **
   9  norm          1.0279        1.5756        .15512E-02    .84887E-03
  10  Prefactor     .10000E-03    20.245        .18142E-02** at limit **
  11  Prefactor     .10000E-03    4.9359        .18142E-02** at limit **
  12  Prefactor     10.689        6.5029        .12254E-03    .42675E-05
  13  norm          1.6249        1.7918        .12235E-03   -.12275E-03
  14  Prefactor     .10000E-03    3.3303        .16113E-02** at limit **
  15  Prefactor     8.8058        11.025        .67533E-03   -.16785E-03
  16  norm          2.6941        .90443        .36372E-04   -.24162E-03
  17  Prefactor     .10185E-03    46.788        .16728    ** at limit **
  18  Prefactor     6.6832        6.5169        .15522E-03   -.73535E-04
  19  norm          .10000E-03    1.3912        .10409E-02** at limit **
  20  norm          7.5918        5.5926        .14555E-03   -.22730E-04
  21  Prefactor     .10036E-03    188.74        .79431E-02** at limit **
  22  Prefactor     31.193        39.766        .71740E-04   -.47541E-05
  23  norm          6.3495        3.6807        .12731E-03   -.98196E-03
  24  Normalizat    1.3631        .19699        .22042E-03   -.42810E-04
  25  Prefactor     .67454        .18356        .29731E-03   -.52464E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.747236
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100017
  Prefactor  = 17.816
  Prefactor  = 4.12962
  Prefactor  = 12.6778
  Prefactor  = 0.0001
  norm       = 1.02792
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.6894
  norm       = 1.62492
  Prefactor  = 0.0001
  Prefactor  = 8.80575
  norm       = 2.69406
  Prefactor  = 0.000101847
  Prefactor  = 6.68319
  norm       = 0.0001
  norm       = 7.59179
  Prefactor  = 0.000100363
  Prefactor  = 31.1935
  norm       = 6.34955
  Normalizat = 1.36312
  Prefactor  = 0.674541
 **********
 **   18 **HESSE 
 **********

 FCN=   8181.307     FROM HESSE     STATUS=OK           415 CALLS     4215 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .74724        .29332        .11905E-05   -1.5535    
   2  Prefactor     .10000E-03    9.6462        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.1959        .26074E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10002E-03    65.104        .12801E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     17.816        34.754        .37961E-05   -1.4864    
   6  Prefactor     4.1296        10.053        .39672E-04   -1.5302    
   7  Prefactor     12.678        11.812        .44999E-05   -1.4996    
   8  Prefactor     .10000E-03    8.2882        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.0279        1.5737        .62049E-04   -1.5505    
  10  Prefactor     .10000E-03    20.246        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.9379        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.689        6.5028        .49018E-05   -1.5054    
  13  norm          1.6249        1.7916        .48941E-05   -1.5453    
  14  Prefactor     .10000E-03    3.3303        .32227E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.8058        10.999        .27013E-04   -1.5114    
  16  norm          2.6941        .90302        .14549E-05   -1.5380    
  17  Prefactor     .10185E-03    48.315        .16373       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.6832        6.5151        .62088E-05   -1.5191    
  19  norm          .10000E-03    1.3913        .20817E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          7.5918        5.5925        .58218E-05   -1.5157    
  21  Prefactor     .10036E-03    194.79        .31772E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     31.193        39.768        .28696E-05   -1.4590    
  23  norm          6.3495        3.6653        .50923E-05   -1.5204    
  24  Normalizat    1.3631        .19705        .44084E-04   -.81701    
  25  Prefactor     .67454        .18369        .11892E-04   -1.0453    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.69476e-09
Minuit parameter uncertainties:
  1  0.293318
  2  1.73715e-06
  3  2.83895e-07
  4  0.00212298
  5  34.7939
  6  10.0572
  7  11.8142
  8  2.95194e-05
  9  1.57375
  10  0.000141353
  11  2.08756e-06
  12  6.50326
  13  1.79167
  14  3.83699e-06
  15  11.0014
  16  0.903027
  17  0.0189104
  18  6.51581
  19  2.93441e-06
  20  5.59285
  21  0.0168771
  22  39.8014
  23  3.66539
  24  0.197163
  25  0.18385
Done.

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

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  1.000e-04  2.088e-06  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:  6.745e-01  1.838e-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.363e+00  1.972e-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: 5.55e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.39e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/475956/likelihoodResults_581212801_581472001_4FGL_J2248.7-3235_daily_bin1319.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) = 8181.30758094
delta logL = -0.000964968021435

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8181.30661611
delta logL = -1.32587047119e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10198E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7417       1.0000          .0000       10.000    
     3 'Normalizat'    1.3631       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67461       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=   8181.307     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      263 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    46.050        .18142E-01** at limit **
   2  Index         2.2024        5.1365        .50000       -.16616E-06
   3  Normalizat    1.3631        .10499E-01    .22042E-03   -.31797E-03
   4  Prefactor     .67454        .10374E-01    .29731E-03   -.22982E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.20238
  Normalizat = 1.36312
  Prefactor  = 0.674541
 **********
 **   18 **HESSE 
 **********

 FCN=   8181.307     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      294 TOTAL
                     EDM=   .90E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    211.51        .43874E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2024        8.8913        .50000       -.59381    
   3  Normalizat    1.3631        .22675E-01    .44084E-04   -.81701    
   4  Prefactor     .67454        .22405E-01    .11892E-04   -1.0453    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.99756e-11
Minuit parameter uncertainties:
  1  0.000177134
  2  564.187
  3  0.0226747
  4  0.0224057
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/475956': 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) = 8181.30661356
delta logL = 2.41173347604e-06

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  1.000e-04  1.771e-04  1.000e-04  1.000e+04 ( 1.000e-12)
312        Index:  2.202e+00  5.642e+02  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:  6.745e-01  2.241e-02  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.363e+00  2.267e-02  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/475956/cmap_HighResolution_581212801_581472001_4FGL_J2248.7-3235_daily_bin1319.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.39e-03', job_status='DONE', photon_flux_upper_limit='5.55e-08', time_completed='2021-09-28 21:01:49.471059', job_id='475956', GAL2='0.67', fit_tolerance='1e-08', EG2='1.36', EG='1.36', time_epoch_completed='1632888109.47', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='2.41e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='1319' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 21:01:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 475956: <4FGL_J2248.7-3235_daily_bin1319> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin1319> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 20:45:15 2021
Job was executed on host(s) <bullet0088>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 20:45:17 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:17 2021
Terminated at Tue Sep 28 21:01:49 2021
Results reported at Tue Sep 28 21:01:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin1319 342.193 -32.5926 581212801 581472001 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 :                                   921.40 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             287.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   992 sec.
    Turnaround time :                            994 sec.

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

