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


Performing analysis on: 4FGL_J2248.7-3235_daily_bin1134
RA = 342.193, Dec = -32.5926
tmin = 533260801, tmax = 533520001
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='474638', job_status='RUN', time_executed='2021-09-28 20:42:03.181547', time_epoch_executed='1632886923.18' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='1134'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/474638

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/474638/ft1_4FGL_J2248.7-3235_daily_bin1134.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/474638/ft2_4FGL_J2248.7-3235_daily_bin1134.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/474638/ft1_4FGL_J2248.7-3235_daily_bin1134.fits outfile=/scratch/kocevski/474638/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1134.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=533260801.0 tmax=533520001.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 4.34
user 4.12
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/474638/ft1_filtered_4FGL_J2248.7-3235_daily_bin1134.fits" evtable="EVENTS" scfile=/scratch/kocevski/474638/ft2_4FGL_J2248.7-3235_daily_bin1134.fits sctable="SC_DATA" outfile=/scratch/kocevski/474638/ltcube_533260801_533520001_4FGL_J2248.7-3235_daily_bin1134.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/474638/ft2_4FGL_J2248.7-3235_daily_bin1134.fits
.....................!
real 14.41
user 14.02
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/474638/ft1_filtered_4FGL_J2248.7-3235_daily_bin1134.fits evtable="EVENTS" scfile=/scratch/kocevski/474638/ft2_4FGL_J2248.7-3235_daily_bin1134.fits sctable="SC_DATA" expcube=/scratch/kocevski/474638/ltcube_533260801_533520001_4FGL_J2248.7-3235_daily_bin1134.fits outfile=/scratch/kocevski/474638/expmap_533260801_533520001_4FGL_J2248.7-3235_daily_bin1134.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/474638/ltcube_533260801_533520001_4FGL_J2248.7-3235_daily_bin1134.fits
.....................!
real 190.72
user 185.65
sys 4.71

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/474638/ft1_filtered_4FGL_J2248.7-3235_daily_bin1134.fits scfile=/scratch/kocevski/474638/ft2_4FGL_J2248.7-3235_daily_bin1134.fits outfile=/scratch/kocevski/474638/cmap_533260801_533520001_4FGL_J2248.7-3235_daily_bin1134.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=342.193 yref=-32.5926 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/474638/ft1_filtered_4FGL_J2248.7-3235_daily_bin1134.fits scfile=/scratch/kocevski/474638/ft2_4FGL_J2248.7-3235_daily_bin1134.fits outfile=/scratch/kocevski/474638/cmap_HighResolution_533260801_533520001_4FGL_J2248.7-3235_daily_bin1134.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.57
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/474638/ft1_filtered_4FGL_J2248.7-3235_daily_bin1134.fits evtable="EVENTS" scfile=/scratch/kocevski/474638/ft2_4FGL_J2248.7-3235_daily_bin1134.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/474638/Model_4FGL_J2248.7-3235_daily_bin1134.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/474638/ft1_filtered_4FGL_J2248.7-3235_daily_bin1134.fits.....................!
real 48.71
user 47.41
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8600       1.0000         .10000E-03   10000.    
     2 'Prefactor '    19.761       1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.487       1.0000         .10000E-03   10000.    
     4 'norm      '    39.983       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.0619       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.4547       1.0000         .10000E-03   10000.    
    13 'norm      '    1.7437       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    31.821       1.0000         .10000E-03   10000.    
    16 'norm      '    8.0328       1.0000         .10000E-03   10000.    
    17 'Prefactor '    52.547       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    1.7729       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .76885       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1130       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=   6111.852     FROM MIGRAD    STATUS=CONVERGED    560 CALLS     2866 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8600        .63208       -.32444E-09   -.37010E-05
   2  Prefactor     19.760        19.664       -.49655E-06   -.27276E-04
   3  Prefactor     11.486        8.8590       -.63111E-07   -.35994E-04
   4  norm          39.981        27.163       -.10020E-05   -.51053E-04
   5  Prefactor     .10000E-03    17.270       -.35213E-05** at limit **
   6  Prefactor     .10000E-03    12.188        .30287E-05** at limit **
   7  Prefactor     .10000E-03    19.786        .67053E-05** at limit **
   8  Prefactor     .10000E-03    13.617       -.24319E-05** at limit **
   9  norm          .10000E-03    .89217        .36823E-07** at limit **
  10  Prefactor     .10000E-03    34.781       -.22210E-05** at limit **
  11  Prefactor     3.0615        4.5923        .81188E-06   -.11032E-02
  12  Prefactor     8.4545        6.7182        .72159E-07   -.48392E-03
  13  norm          1.7436        3.5333        .92363E-07   -.64283E-04
  14  Prefactor     .10000E-03    14.161       -.38594E-05** at limit **
  15  Prefactor     31.818        17.189       -.41123E-06   -.38976E-04
  16  norm          8.0332        1.6459        .44894E-07   -.18683E-03
  17  Prefactor     52.545        45.445       -.19648E-05   -.23826E-04
  18  Prefactor     .10000E-03    10.794        .26411E-05** at limit **
  19  norm          .10000E-03    2.8046        .21943E-07** at limit **
  20  norm          .10000E-03    5.6422        .20321E-07** at limit **
  21  Prefactor     .10000E-03    12.509        .21025E-05** at limit **
  22  Prefactor     .10000E-03    10.351       -.28610E-05** at limit **
  23  norm          1.7727        2.1678       -.10457E-07   -.22961E-04
  24  Normalizat    .76884        .19339        .30946E-06   -.73417E-04
  25  Prefactor     1.1130        .19418       -.91305E-07   -.60647E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.85999
  Prefactor  = 19.7598
  Prefactor  = 11.4865
  norm       = 39.9811
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.06146
  Prefactor  = 8.45445
  norm       = 1.74357
  Prefactor  = 0.0001
  Prefactor  = 31.818
  norm       = 8.03321
  Prefactor  = 52.5449
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.77271
  Normalizat = 0.768839
  Prefactor  = 1.11303
 **********
 **   18 **HESSE 
 **********

 FCN=   6111.852     FROM HESSE     STATUS=OK           425 CALLS     3291 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8600        .63294        .28309E-04   -1.5370    
   2  Prefactor     19.760        19.685        .90101E-04   -1.4819    
   3  Prefactor     11.486        8.8879        .11820E-03   -1.5030    
   4  norm          39.981        27.157        .63391E-04   -1.4443    
   5  Prefactor     .10000E-03    17.300        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    12.241        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    20.033        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    13.716        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.5613        .14336E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    34.890        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.0615        9.4015        .11592E-02   -1.5358    
  12  Prefactor     8.4545        6.8478        .68933E-03   -1.5126    
  13  norm          1.7436        3.4814        .19791E-03   -1.5444    
  14  Prefactor     .10000E-03    14.177        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     31.818        17.607        .71031E-04   -1.4579    
  16  norm          8.0332        1.6860        .33897E-04   -1.5141    
  17  Prefactor     52.545        45.452        .55329E-04   -1.4257    
  18  Prefactor     .10000E-03    10.949        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    2.8184        .12754E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    5.7178        .18129E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    12.526        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    10.369        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          1.7727        2.1548        .12366E-03   -1.5442    
  24  Normalizat    .76884        .24154        .29318E-03   -1.0124    
  25  Prefactor     1.1130        .24251        .25436E-03   -.89051    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.59651e-09
Minuit parameter uncertainties:
  1  0.632941
  2  19.6913
  3  8.88896
  4  27.1657
  5  7.05566e-05
  6  4.84475e-05
  7  0.000111228
  8  3.86336e-05
  9  2.811e-06
  10  5.5043e-05
  11  9.40599
  12  6.84842
  13  3.48185
  14  5.64335e-05
  15  17.6095
  16  1.68604
  17  45.4825
  18  3.56007e-05
  19  1.118e-08
  20  9.87312e-07
  21  3.45194e-05
  22  4.47557e-05
  23  2.15486
  24  0.241878
  25  0.242747
Done.

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

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  3.061e+00  9.406e+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

GAL_V02
   Spectrum: PowerLaw
574    Prefactor:  1.113e+00  2.427e-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.688e-01  2.419e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.12
Ra Dec: 342.193 -32.593
Photon Flux Upper Limit: 9.42e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.44e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/474638/likelihoodResults_533260801_533520001_4FGL_J2248.7-3235_daily_bin1134.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) = 6111.78721077
delta logL = 0.0645071757535

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6111.78430369
delta logL = 0.0674142572698

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.0970       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2775       1.0000          .0000       10.000    
     3 'Normalizat'    .77162       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1082       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=   6111.784     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      321 TOTAL
                     EDM=   .72E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.0981        11.046        .17809E-03   -.90713E-04
   2  Index         2.2776        1.0886        .12790E-01   -.37261E-05
   3  Normalizat    .77159        .23114        .29266E-03   -.19190E-03
   4  Prefactor     1.1083        .23834        .25479E-03   -.23406E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.09814
  Index      = 2.27757
  Normalizat = 0.771592
  Prefactor  = 1.1083
 **********
 **   18 **HESSE 
 **********

 FCN=   6111.784     FROM HESSE     STATUS=OK            25 CALLS      346 TOTAL
                     EDM=   .72E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.0981        11.006        .71235E-05   -1.5256    
   2  Index         2.2776        1.0852        .51161E-03   -.57578    
   3  Normalizat    .77159        .23141        .11706E-04   -1.0113    
   4  Prefactor     1.1083        .23859        .50958E-04   -.89202    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.17199e-11
Minuit parameter uncertainties:
  1  11.0102
  2  1.09766
  3  0.231705
  4  0.238815
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/474638': 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) = 6111.7843034
delta logL = 0.0674145405383

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  5.098e+00  1.101e+01  1.000e-04  1.000e+04 ( 1.000e-12)
312        Index:  2.278e+00  1.098e+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:  1.108e+00  2.388e-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.716e-01  2.317e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.12
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/474638/cmap_HighResolution_533260801_533520001_4FGL_J2248.7-3235_daily_bin1134.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.44e-03', job_status='DONE', photon_flux_upper_limit='9.42e-08', time_completed='2021-09-28 20:54:04.714570', job_id='474638', GAL2='1.11', fit_tolerance='1e-08', EG2='0.77', EG='0.77', time_epoch_completed='1632887644.71', return_code2='0', ts='0.12', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='6.74e-02', ts2='0.25', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='1134' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 20:54:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0203>
Subject: Job 474638: <4FGL_J2248.7-3235_daily_bin1134> in cluster <slac> Done

Job <4FGL_J2248.7-3235_daily_bin1134> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 20:41:06 2021
Job was executed on host(s) <bullet0203>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 20:41:08 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:41:08 2021
Terminated at Tue Sep 28 20:54:05 2021
Results reported at Tue Sep 28 20:54:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin1134 342.193 -32.5926 533260801 533520001 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 :                                   708.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             285.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   776 sec.
    Turnaround time :                            779 sec.

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

