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


Performing analysis on: 4FGL_J2248.7-3235_daily_bin1297
RA = 342.193, Dec = -32.5926
tmin = 575510401, tmax = 575769601
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='475924', job_status='RUN', time_executed='2021-09-28 20:45:55.615115', time_epoch_executed='1632887155.62' WHERE source_name='4FGL J2248.7-3235' and cadence='daily' and bin_id='1297'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/475924

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/475924/ft1_4FGL_J2248.7-3235_daily_bin1297.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/475924/ft2_4FGL_J2248.7-3235_daily_bin1297.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/475924/ft1_4FGL_J2248.7-3235_daily_bin1297.fits outfile=/scratch/kocevski/475924/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1297.fits ra=342.193 dec=-32.5926 rad=12.0 tmin=575510401.0 tmax=575769601.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.29
user 5.02
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/475924/ft2_4FGL_J2248.7-3235_daily_bin1297.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/475924/ft1_filteredMKT_4FGL_J2248.7-3235_daily_bin1297.fits evtable="EVENTS" outfile="/scratch/kocevski/475924/ft1_filtered_4FGL_J2248.7-3235_daily_bin1297.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/475924/ft1_filtered_4FGL_J2248.7-3235_daily_bin1297.fits" evtable="EVENTS" scfile=/scratch/kocevski/475924/ft2_4FGL_J2248.7-3235_daily_bin1297.fits sctable="SC_DATA" outfile=/scratch/kocevski/475924/ltcube_575510401_575769601_4FGL_J2248.7-3235_daily_bin1297.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/475924/ft2_4FGL_J2248.7-3235_daily_bin1297.fits
.....................!
real 11.78
user 11.41
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/475924/ft1_filtered_4FGL_J2248.7-3235_daily_bin1297.fits evtable="EVENTS" scfile=/scratch/kocevski/475924/ft2_4FGL_J2248.7-3235_daily_bin1297.fits sctable="SC_DATA" expcube=/scratch/kocevski/475924/ltcube_575510401_575769601_4FGL_J2248.7-3235_daily_bin1297.fits outfile=/scratch/kocevski/475924/expmap_575510401_575769601_4FGL_J2248.7-3235_daily_bin1297.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/475924/ltcube_575510401_575769601_4FGL_J2248.7-3235_daily_bin1297.fits
.....................!
real 191.03
user 185.31
sys 5.24

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/475924/ft1_filtered_4FGL_J2248.7-3235_daily_bin1297.fits scfile=/scratch/kocevski/475924/ft2_4FGL_J2248.7-3235_daily_bin1297.fits outfile=/scratch/kocevski/475924/cmap_575510401_575769601_4FGL_J2248.7-3235_daily_bin1297.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/475924/ft1_filtered_4FGL_J2248.7-3235_daily_bin1297.fits scfile=/scratch/kocevski/475924/ft2_4FGL_J2248.7-3235_daily_bin1297.fits outfile=/scratch/kocevski/475924/cmap_HighResolution_575510401_575769601_4FGL_J2248.7-3235_daily_bin1297.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.55
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .87727       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.6137       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    37.092       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .12210E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.1896       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    12.197       1.0000         .10000E-03   10000.    
    16 'norm      '    1.5122       1.0000         .10000E-03   10000.    
    17 'Prefactor '    26.858       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    4.5621       1.0000         .10000E-03   10000.    
    20 'norm      '    14.392       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10114E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    1.8741       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.2295       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .61342       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=   7602.923     FROM MIGRAD    STATUS=CONVERGED    562 CALLS     2841 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .87727        .30249        .61668E-02    .40459E-04
   2  Prefactor     3.6144        12.751        .53136E-02    .17597E-03
   3  Prefactor     .10000E-03    2.4372        .90712E-02** at limit **
   4  norm          .10000E-03    10.679        .90712E-02** at limit **
   5  Prefactor     .10001E-03    7.6569        .90712E-02** at limit **
   6  Prefactor     37.091        18.711        .16452E-02   -.12935E-03
   7  Prefactor     .10000E-03    3.4389        .90712E-02** at limit **
   8  Prefactor     .10000E-03    4.4815        .90712E-02** at limit **
   9  norm          .10000E-03    .68646        .27744E-01** at limit **
  10  Prefactor     .10000E-03    10.932        .90712E-02** at limit **
  11  Prefactor     .10001E-03    8.1609        .90712E-02** at limit **
  12  Prefactor     4.1894        3.6305        .49223E-02    .18101E-03
  13  norm          .10000E-03    .93522        .90712E-02** at limit **
  14  Prefactor     .10001E-03    9.6465        .90712E-02** at limit **
  15  Prefactor     12.197        8.2607        .28675E-02    .20413E-02
  16  norm          1.5121        .66118        .82758E-02    .12666E-03
  17  Prefactor     26.857        46.091        .19325E-02    .68628E-03
  18  Prefactor     .10000E-03    2.6216        .90712E-02** at limit **
  19  norm          4.5624        4.2363        .47117E-02    .13536E-03
  20  norm          14.392        7.3452        .26394E-02    .12008E-03
  21  Prefactor     .10000E-03    82.832        .90712E-02** at limit **
  22  Prefactor     .10000E-03    8.0800        .90712E-02** at limit **
  23  norm          1.8556        4.0330        .76048E-02    .95809E-03
  24  Normalizat    1.2294        .15161        .34205E-01   -.19683E-04
  25  Prefactor     .61343        .14793        .63475E-01    .23154E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.877272
  Prefactor  = 3.61437
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.000100007
  Prefactor  = 37.091
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.000100007
  Prefactor  = 4.18943
  norm       = 0.0001
  Prefactor  = 0.000100007
  Prefactor  = 12.197
  norm       = 1.51213
  Prefactor  = 26.8571
  Prefactor  = 0.0001
  norm       = 4.56236
  norm       = 14.3922
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  norm       = 1.85556
  Normalizat = 1.22945
  Prefactor  = 0.613431
 **********
 **   18 **HESSE 
 **********

 FCN=   7602.923     FROM HESSE     STATUS=OK           423 CALLS     3264 TOTAL
                     EDM=   .94E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .87727        .30233        .27279E-04   -1.5521    
   2  Prefactor     3.6144        12.740        .21254E-03   -1.5328    
   3  Prefactor     .10000E-03    2.4525        .13289E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    10.717        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10001E-03    7.6586        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     37.091        18.725        .65806E-04   -1.4489    
   7  Prefactor     .10000E-03    3.4509        .15789E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.4857        .18027E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.6590        .14050E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    10.944        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10001E-03    8.3051        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.1894        3.6313        .15051E-03   -1.5299    
  13  norm          .10000E-03    .93800        .82271E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10001E-03    9.6718        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     12.197        8.6976        .11470E-03   -1.5009    
  16  norm          1.5121        .69145        .36762E-04   -1.5462    
  17  Prefactor     26.857        46.160        .77301E-04   -1.4671    
  18  Prefactor     .10000E-03    2.6283        .13779E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          4.5624        4.2067        .15692E-03   -1.5281    
  20  norm          14.392        7.3475        .10558E-03   -1.4949    
  21  Prefactor     .10000E-03    83.448        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    8.0848        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          1.8556        3.9823        .22982E-03   -1.5436    
  24  Normalizat    1.2294        .17771        .20592E-03   -.85698    
  25  Prefactor     .61343        .17223        .28084E-03   -1.0702    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.38941e-09
Minuit parameter uncertainties:
  1  0.302333
  2  12.7493
  3  9.85129e-07
  4  0.000166717
  5  0.000447095
  6  18.7283
  7  2.40369e-07
  8  1.96871e-06
  9  4.30158e-07
  10  0.000337075
  11  0.000469796
  12  3.63153
  13  4.8694e-07
  14  0.000534847
  15  8.69849
  16  0.691453
  17  46.2216
  18  3.2079e-07
  19  4.20699
  20  7.348
  21  0.000340247
  22  0.000329445
  23  3.9829
  24  0.177797
  25  0.172379
Done.

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

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  1.000e-04  4.698e-04  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.134e-01  1.724e-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.229e+00  1.778e-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: 6.20e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.90e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/475924/likelihoodResults_575510401_575769601_4FGL_J2248.7-3235_daily_bin1297.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) = 7602.92331649
delta logL = -0.000573925419303

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7602.92274293
delta logL = -3.64682819054e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10981E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7917       1.0000          .0000       10.000    
     3 'Normalizat'    1.2295       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .61341       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=   7602.923     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      233 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    14.580        .18142E-02** at limit **
   2  Index         2.8250        6.3846        .50000       -.36315E-04
   3  Normalizat    1.2294        .16945        .20592E-03   -.27635E-03
   4  Prefactor     .61343        .16917        .28084E-03   -.87156E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100012
  Index      = 2.82504
  Normalizat = 1.22944
  Prefactor  = 0.613432
 **********
 **   18 **HESSE 
 **********

 FCN=   7602.923     FROM HESSE     STATUS=OK            29 CALLS      262 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    9.1930        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8250        6.3967        .50000       -.45003    
   3  Normalizat    1.2294        .16959        .41185E-04   -.85698    
   4  Prefactor     .61343        .16932        .11234E-04   -1.0702    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.45549e-09
Minuit parameter uncertainties:
  1  0.000672275
  2  4.53871
  3  0.169667
  4  0.169458
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/475924': 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) = 7602.92274206
delta logL = 5.08312950842e-07

Extracting fit parameters...

4FGL J2248.7-3235
   Spectrum: PowerLaw
311    Prefactor:  1.000e-04  6.723e-04  1.000e-04  1.000e+04 ( 1.000e-12)
312        Index:  2.825e+00  4.539e+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:  6.134e-01  1.695e-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.229e+00  1.697e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/475924/cmap_HighResolution_575510401_575769601_4FGL_J2248.7-3235_daily_bin1297.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.90e-03', job_status='DONE', photon_flux_upper_limit='6.20e-08', time_completed='2021-09-28 20:59:16.321497', job_id='475924', GAL2='0.61', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1632887956.32', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.61', dlogl='5.08e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='1297' AND source_name='4FGL J2248.7-3235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 20:59:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 475924: <4FGL_J2248.7-3235_daily_bin1297> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.7-3235_daily_bin1297 342.193 -32.5926 575510401 575769601 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 :                                   793.07 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             304.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   848 sec.
    Turnaround time :                            843 sec.

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

