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


Performing analysis on: 4FGL_J2248.7-3235_daily_bin520
RA = 342.193, Dec = -32.5926
tmin = 374112001, tmax = 374371201
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='472693', job_status='RUN', time_executed='2021-09-28 20:36:59.677162', time_epoch_executed='1632886619.68' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='520'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/472693

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/472693/ft1_4FGL_J2248.7-3235_daily_bin520.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/472693/ft2_4FGL_J2248.7-3235_daily_bin520.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/472693/ft1_4FGL_J2248.7-3235_daily_bin520.fits outfile=/scratch/kocevski/472693/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin520.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=374112001.0 tmax=374371201.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.42
user 3.20
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/472693/ft1_filtered_4FGL_J2248.7-3235_daily_bin520.fits" evtable="EVENTS" scfile=/scratch/kocevski/472693/ft2_4FGL_J2248.7-3235_daily_bin520.fits sctable="SC_DATA" outfile=/scratch/kocevski/472693/ltcube_374112001_374371201_4FGL_J2248.7-3235_daily_bin520.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/472693/ft2_4FGL_J2248.7-3235_daily_bin520.fits
.....................!
real 11.80
user 11.42
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/472693/ft1_filtered_4FGL_J2248.7-3235_daily_bin520.fits evtable="EVENTS" scfile=/scratch/kocevski/472693/ft2_4FGL_J2248.7-3235_daily_bin520.fits sctable="SC_DATA" expcube=/scratch/kocevski/472693/ltcube_374112001_374371201_4FGL_J2248.7-3235_daily_bin520.fits outfile=/scratch/kocevski/472693/expmap_374112001_374371201_4FGL_J2248.7-3235_daily_bin520.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/472693/ltcube_374112001_374371201_4FGL_J2248.7-3235_daily_bin520.fits
.....................!
real 191.24
user 186.01
sys 4.85

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/472693/ft1_filtered_4FGL_J2248.7-3235_daily_bin520.fits scfile=/scratch/kocevski/472693/ft2_4FGL_J2248.7-3235_daily_bin520.fits outfile=/scratch/kocevski/472693/cmap_374112001_374371201_4FGL_J2248.7-3235_daily_bin520.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/472693/ft1_filtered_4FGL_J2248.7-3235_daily_bin520.fits scfile=/scratch/kocevski/472693/ft2_4FGL_J2248.7-3235_daily_bin520.fits outfile=/scratch/kocevski/472693/cmap_HighResolution_374112001_374371201_4FGL_J2248.7-3235_daily_bin520.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/472693/ft1_filtered_4FGL_J2248.7-3235_daily_bin520.fits evtable="EVENTS" scfile=/scratch/kocevski/472693/ft2_4FGL_J2248.7-3235_daily_bin520.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/472693/Model_4FGL_J2248.7-3235_daily_bin520.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/472693/ft1_filtered_4FGL_J2248.7-3235_daily_bin520.fits.....................!
real 53.70
user 52.30
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0756       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.7312       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10356E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    27.811       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .92455E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10114E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10067E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    78.387       1.0000         .10000E-03   10000.    
    11 'Prefactor '    34.199       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .26821E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    5.9000       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .30801E-02   1.0000         .10000E-03   10000.    
    16 'norm      '    .94927       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.2151       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    3.0551       1.0000         .10000E-03   10000.    
    21 'Prefactor '    17.268       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    12.196       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .69600       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .90203       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=   7318.180     FROM MIGRAD    STATUS=CONVERGED   1046 CALLS     3468 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0756        .40752        .23440E-04   -.84345E-03
   2  Prefactor     4.7333        17.347        .18499E-03    .38164E-04
   3  Prefactor     .10001E-03    8.4146        .29974E-02** at limit **
   4  norm          27.836        23.139        .75968E-04    .14187E-03
   5  Prefactor     .10000E-03    19.422        .18142E-02** at limit **
   6  Prefactor     .10000E-03    5.4157        .18142E-02** at limit **
   7  Prefactor     .10001E-03    90.740        .39330E-02** at limit **
   8  Prefactor     .10000E-03    34.110        .36285E-03** at limit **
   9  norm          .10000E-03    .60465        .64558E-03** at limit **
  10  Prefactor     78.479        38.044        .22679E-03    .11409E-03
  11  Prefactor     34.194        10.714        .68524E-04   -.10502E-03
  12  Prefactor     .10000E-03    26.010        .27607E-02** at limit **
  13  norm          5.9001        3.5395        .11595E-03    .19120E-03
  14  Prefactor     .10000E-03    5.0525        .18142E-02** at limit **
  15  Prefactor     .10001E-03    37.329        .25891E-02** at limit **
  16  norm          .94961        .56737        .39865E-04    .61256E-03
  17  Prefactor     .10000E-03    17.860        .18142E-02** at limit **
  18  Prefactor     1.2082        17.309        .40986E-03    .80413E-04
  19  norm          .10000E-03    1.1766        .90591E-03** at limit **
  20  norm          3.0544        5.5856        .23211E-03   -.80965E-04
  21  Prefactor     17.254        17.772        .96382E-04   -.33027E-04
  22  Prefactor     .10000E-03    7.6987        .18142E-02** at limit **
  23  norm          12.196        4.4052        .10291E-03   -.10882E-03
  24  Normalizat    .69615        .17046        .24529E-03   -.46196E-03
  25  Prefactor     .90203        .17103        .22464E-03   -.29139E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.07558
  Prefactor  = 4.73334
  Prefactor  = 0.000100005
  norm       = 27.8356
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100012
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 78.4785
  Prefactor  = 34.1944
  Prefactor  = 0.0001
  norm       = 5.90015
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  norm       = 0.949612
  Prefactor  = 0.0001
  Prefactor  = 1.20822
  norm       = 0.0001
  norm       = 3.05439
  Prefactor  = 17.2542
  Prefactor  = 0.0001
  norm       = 12.1963
  Normalizat = 0.696146
  Prefactor  = 0.902032
 **********
 **   18 **HESSE 
 **********

 FCN=   7318.180     FROM HESSE     STATUS=OK           401 CALLS     3869 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0756        .40752        .93759E-06   -1.5420    
   2  Prefactor     4.7333        17.344        .73996E-05   -1.5273    
   3  Prefactor     .10001E-03    8.4688        .59948E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          27.836        23.139        .30387E-05   -1.4652    
   5  Prefactor     .10000E-03    19.424        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.4161        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10001E-03    94.078        .15732E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    34.111        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    .60467        .12912E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     78.479        37.965        .90716E-05   -1.3934    
  11  Prefactor     34.194        10.713        .27410E-05   -1.4538    
  12  Prefactor     .10000E-03    26.388        .55215E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.9001        3.5382        .46379E-05   -1.5222    
  14  Prefactor     .10000E-03    5.0528        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10001E-03    37.652        .51782E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .94961        .56520        .15946E-05   -1.5513    
  17  Prefactor     .10000E-03    17.862        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.2082        17.155        .16394E-04   -1.5488    
  19  norm          .10000E-03    1.1766        .18118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.0544        5.5850        .92843E-05   -1.5358    
  21  Prefactor     17.254        17.773        .38553E-05   -1.4877    
  22  Prefactor     .10000E-03    7.6988        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          12.196        4.4051        .41163E-05   -1.5009    
  24  Normalizat    .69615        .17054        .98115E-05   -1.0405    
  25  Prefactor     .90203        .17119        .44928E-04   -.96070    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.77712e-09
Minuit parameter uncertainties:
  1  0.407518
  2  17.3629
  3  0.000419794
  4  23.1463
  5  1.08929e-05
  6  1.48135e-05
  7  0.00216492
  8  0.000425543
  9  2.00613e-05
  10  37.9763
  11  10.7136
  12  2.58861e-05
  13  3.53834
  14  1.6637e-07
  15  0.0010414
  16  0.565205
  17  9.34459e-05
  18  9.10817
  19  4.68726e-07
  20  5.58594
  21  17.778
  22  1.30532e-05
  23  4.40527
  24  0.170669
  25  0.17129
Done.

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

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  3.419e+01  1.071e+01  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:  9.020e-01  1.713e-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:  6.961e-01  1.707e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 21.77
Ra Dec: 342.193 -32.593
Photon Index (Fixed Index): 2.76 +/- 0.00
Photon Flux (Fixed Index): 1.21e-07 +/- 3.79e-08
Energy Flux (Fixed Index): 2.79e-05 +/- 8.73e-06

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) = 7317.75198995
delta logL = 0.428322836286

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7317.71404739
delta logL = 0.466265399725

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    40.266       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4434       1.0000          .0000       10.000    
     3 'Normalizat'    .71728       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88467       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=   7317.714     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      217 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     40.274        23.808        .15792E-02    .11482E-04
   2  Index         2.4429        .52684        .12736        .51289E-04
   3  Normalizat    .71719        .13966        .42521E-01   -.10155E-04
   4  Prefactor     .88467        .14370        .44809E-01   -.14277E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 40.2739
  Index      = 2.4429
  Normalizat = 0.717195
  Prefactor  = 0.88467
 **********
 **   18 **HESSE 
 **********

 FCN=   7317.714     FROM HESSE     STATUS=OK            33 CALLS      250 TOTAL
                     EDM=   .52E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     40.274        13.399        .63168E-04   -1.4438    
   2  Index         2.4429        .31275        .53325E-02   -.53684    
   3  Normalizat    .71719        .16597        .24200E-03   -1.0322    
   4  Prefactor     .88467        .16990        .22647E-03   -.96679    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.17738e-12
Minuit parameter uncertainties:
  1  13.3997
  2  0.313031
  3  0.166089
  4  0.170004
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/472693': 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) = 7317.71404503
delta logL = 0.466267754292

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  4.027e+01  1.340e+01  1.000e-04  1.000e+04 ( 1.000e-12)
312        Index:  2.443e+00  3.130e-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:  8.847e-01  1.700e-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:  7.172e-01  1.661e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 22.42
Ra Dec: 342.193 -32.593
Photon Index (Free Index): 2.44 +/- 0.31
Photon Flux (Free Index): 1.08e-07 +/- 3.75e-08
Energy Flux (Free Index): 3.36e-05 +/- 1.33e-05

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/472693/cmap_HighResolution_374112001_374371201_4FGL_J2248.7-3235_daily_bin520.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.21e-07', energy_flux2='3.36e-05', photon_flux_error='3.79e-08', dlogl='4.66e-01', energy_flux='2.79e-05', photon_flux2='1.08e-07', job_status='DONE', time_completed='2021-09-28 20:49:11.928808', photon_index_error2='0.31', photon_index2='2.44', ts='21.77', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='1.33e-05', EG='0.70', time_epoch_completed='1632887351.93', return_code='0', job_id='472693', GAL2='0.88', EG2='0.72', return_code2='0', energy_flux_error='8.73e-06', photon_flux_error2='3.75e-08', ts2='22.42', photon_index='2.76' WHERE bin_id='520' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 20:49:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 472693: <4FGL_J2248.7-3235_daily_bin520> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin520> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 20:35:18 2021
Job was executed on host(s) <bullet0240>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 20:35:20 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:35:20 2021
Terminated at Tue Sep 28 20:49:12 2021
Results reported at Tue Sep 28 20:49:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin520 342.193 -32.5926 374112001 374371201 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 :                                   730.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             273.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   832 sec.
    Turnaround time :                            834 sec.

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

