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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin1248
RA = 208.718, Dec = -10.6932
tmin = 562809601, tmax = 563068801
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='57615', job_status='RUN', time_executed='2021-09-08 17:36:06.360580', time_epoch_executed='1631147766.36' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='1248'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/57615

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/57615/ft1_4FGL_J1354.8-1041_daily_bin1248.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/57615/ft2_4FGL_J1354.8-1041_daily_bin1248.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/57615/ft1_4FGL_J1354.8-1041_daily_bin1248.fits outfile=/scratch/kocevski/57615/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin1248.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=562809601.0 tmax=563068801.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.41
user 3.19
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/57615/ft2_4FGL_J1354.8-1041_daily_bin1248.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/57615/ft2_4FGL_J1354.8-1041_daily_bin1248.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/57615/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin1248.fits evtable="EVENTS" outfile="/scratch/kocevski/57615/ft1_filtered_4FGL_J1354.8-1041_daily_bin1248.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.50
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/57615/ft1_filtered_4FGL_J1354.8-1041_daily_bin1248.fits" evtable="EVENTS" scfile=/scratch/kocevski/57615/ft2_4FGL_J1354.8-1041_daily_bin1248.fits sctable="SC_DATA" outfile=/scratch/kocevski/57615/ltcube_562809601_563068801_4FGL_J1354.8-1041_daily_bin1248.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/57615/ft2_4FGL_J1354.8-1041_daily_bin1248.fits
.....................!
real 12.51
user 12.16
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/57615/ft1_filtered_4FGL_J1354.8-1041_daily_bin1248.fits evtable="EVENTS" scfile=/scratch/kocevski/57615/ft2_4FGL_J1354.8-1041_daily_bin1248.fits sctable="SC_DATA" expcube=/scratch/kocevski/57615/ltcube_562809601_563068801_4FGL_J1354.8-1041_daily_bin1248.fits outfile=/scratch/kocevski/57615/expmap_562809601_563068801_4FGL_J1354.8-1041_daily_bin1248.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/57615/ltcube_562809601_563068801_4FGL_J1354.8-1041_daily_bin1248.fits
.....................!
real 192.32
user 187.06
sys 4.81

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 159 point sources and 0 extended sources

Setting source of interest to:
4FGL J1354.8-1041 @ 208.718 -10.6932

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/57615/ft1_filtered_4FGL_J1354.8-1041_daily_bin1248.fits scfile=/scratch/kocevski/57615/ft2_4FGL_J1354.8-1041_daily_bin1248.fits outfile=/scratch/kocevski/57615/cmap_562809601_563068801_4FGL_J1354.8-1041_daily_bin1248.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=208.718 yref=-10.6932 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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/57615/ft1_filtered_4FGL_J1354.8-1041_daily_bin1248.fits scfile=/scratch/kocevski/57615/ft2_4FGL_J1354.8-1041_daily_bin1248.fits outfile=/scratch/kocevski/57615/cmap_HighResolution_562809601_563068801_4FGL_J1354.8-1041_daily_bin1248.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=208.718 yref=-10.6932 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/57615/ft1_filtered_4FGL_J1354.8-1041_daily_bin1248.fits evtable="EVENTS" scfile=/scratch/kocevski/57615/ft2_4FGL_J1354.8-1041_daily_bin1248.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/57615/Model_4FGL_J1354.8-1041_daily_bin1248.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/57615/ft1_filtered_4FGL_J1354.8-1041_daily_bin1248.fits.....................!
real 25.21
user 23.82
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/57615/ft1_filtered_4FGL_J1354.8-1041_daily_bin1248.fits', '/scratch/kocevski/57615/ft2_4FGL_J1354.8-1041_daily_bin1248.fits', expMap='/scratch/kocevski/57615/expmap_562809601_563068801_4FGL_J1354.8-1041_daily_bin1248.fits', expCube='/scratch/kocevski/57615/ltcube_562809601_563068801_4FGL_J1354.8-1041_daily_bin1248.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/57615/Model_4FGL_J1354.8-1041_daily_bin1248.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1354.8-1041'

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  2.768e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.271e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
274         beta:  1.844e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
275           Eb:  7.406e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/57615/ft1_filtered_4FGL_J1354.8-1041_daily_bin1248.fits
Spacecraft file(s): /scratch/kocevski/57615/ft2_4FGL_J1354.8-1041_daily_bin1248.fits
Exposure map: /scratch/kocevski/57615/expmap_562809601_563068801_4FGL_J1354.8-1041_daily_bin1248.fits
Exposure cube: /scratch/kocevski/57615/ltcube_562809601_563068801_4FGL_J1354.8-1041_daily_bin1248.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/57615/Model_4FGL_J1354.8-1041_daily_bin1248.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) = 1512.38487631

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10306E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10073E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    32.756       1.0000         .10000E-03   10000.    
     8 'Prefactor '    70.167       1.0000         .10000E-03   10000.    
     9 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .12185E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10182E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.4914       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .13939E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .16243E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    24.981       1.0000         .10000E-03   10000.    
    18 'norm      '    119.57       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10493E-03   1.0000         .10000E-03   10000.    
    21 'norm      '   10000.0       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0616       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0478       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1510.147     FROM MIGRAD    STATUS=CONVERGED    511 CALLS     2918 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.5265        .59862E-07** at limit **
   2  Prefactor     .10000E-03    14.061        .24819E-06** at limit **
   3  Prefactor     .10000E-03    53.168       -.39741E-07** at limit **
   4  Prefactor     .10000E-03    20.874        .60587E-07** at limit **
   5  norm          .10000E-03    1.5590        .32491E-06** at limit **
   6  norm          .10000E-03    5.2619        .14408E-06** at limit **
   7  norm          32.746        25.869       -.19677E-06   -.22317E-03
   8  Prefactor     70.131        63.798        .61056E-06   -.13016E-04
   9  norm          .10000E-03    30.436        .18080E-06** at limit **
  10  Prefactor     .10003E-03    76.344       -.59405E-05** at limit **
  11  norm          .10001E-03    41.127       -.31588E-05** at limit **
  12  Prefactor     .10000E-03    8.8695        .72780E-07** at limit **
  13  Prefactor     4.4759        55.739        .23041E-05    .17568E-04
  14  Prefactor     .10002E-03    614.89       -.39478E-05** at limit **
  15  norm          .10000E-03    12.088        .74124E-07** at limit **
  16  norm          .10017E-03    64.015       -.12432E-04** at limit **
  17  norm          24.965        31.907        .24248E-06    .15895E-04
  18  norm          119.55        99.664        .39783E-06    .17654E-03
  19  Prefactor     .10000E-03    154.70        .27580E-06** at limit **
  20  Prefactor     .10004E-03    7248.0       -.40711E-05** at limit **
  21  norm         10000.0        6976.5        .17474E-05** at limit **
  22  Normalizat    1.0608        .51578       -.62690E-05   -.30124E-03
  23  Prefactor     1.0485        .32140       -.32546E-06   -.38972E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 32.7464
  Prefactor  = 70.1307
  norm       = 0.0001
  Prefactor  = 0.000100029
  norm       = 0.000100007
  Prefactor  = 0.0001
  Prefactor  = 4.47594
  Prefactor  = 0.000100021
  norm       = 0.0001
  norm       = 0.000100174
  norm       = 24.965
  norm       = 119.551
  Prefactor  = 0.0001
  Prefactor  = 0.00010004
  norm       = 10000
  Normalizat = 1.06084
  Prefactor  = 1.04847
 **********
 **   18 **HESSE 
 **********

 FCN=   1510.147     FROM HESSE     STATUS=OK           350 CALLS     3268 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.5290        .10415E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    14.108        .14241E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    54.403        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    20.881        .17347E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.5977        .47629E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    5.2738        .87037E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          32.746        25.915        .70013E-04   -1.4563    
   8  Prefactor     70.131        64.051        .47922E-04   -1.4031    
   9  norm          .10000E-03    30.453        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10003E-03    79.012        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10001E-03    42.008        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    8.8739        .11306E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.4759        56.216        .18998E-03   -1.5285    
  14  Prefactor     .10002E-03    617.11        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    12.094        .13199E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10017E-03    77.249        .34567E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          24.965        31.949        .80147E-04   -1.4708    
  18  norm          119.55        96.268        .18401E-03   -1.3517    
  19  Prefactor     .10000E-03    154.73        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10004E-03    7249.3        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm         10000.0        6976.7        .20266E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0608        .60573        .37453E-03   -.91019    
  23  Prefactor     1.0485        .37351        .21990E-03   -.91131    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.22678e-09
Minuit parameter uncertainties:
  1  1.24658e-05
  2  6.9357e-05
  3  0.000145853
  4  2.78891e-05
  5  3e-05
  6  2.54846e-05
  7  25.9239
  8  64.1138
  9  5.79986e-05
  10  0.00305087
  11  0.00110065
  12  1.87974e-05
  13  31.7615
  14  0.00720529
  15  2.22525e-05
  16  0.0073401
  17  31.9711
  18  96.3941
  19  0.000424781
  20  0.0294362
  21  0.0115556
  22  0.609742
  23  0.374445
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.000e-04  2.225e-05  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.271e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
274         beta:  1.844e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
275           Eb:  7.406e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  1.048e+00  3.744e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  1.061e+00  6.097e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 208.718 -10.693
Photon Flux Upper Limit: 3.25e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.22e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/57615/likelihoodResults_562809601_563068801_4FGL_J1354.8-1041_daily_bin1248.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) = 1510.14773284
delta logL = -0.000278478401924

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1510.14745437
delta logL = -3.19482751365e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2637       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0608       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0485       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+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=   1510.147     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      240 TOTAL
                     EDM=   .13E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    599.21        .13241E-01** at limit **
   2  alpha         1.8678        2.5189        .16554        .97861E-09
   3  Normalizat    1.0608        .97111E-01    .37453E-03    .55928E-05
   4  Prefactor     1.0485        .57116E-01    .21990E-03    .10327E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.86777
  Normalizat = 1.06085
  Prefactor  = 1.04847
 **********
 **   18 **HESSE 
 **********

 FCN=   1510.147     FROM HESSE     STATUS=OK            23 CALLS      263 TOTAL
                     EDM=   .40E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    13.128        .13738E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8678        3.3042        .66218E-02   -.25567    
   3  Normalizat    1.0608        .60312        .14981E-04   -.91019    
   4  Prefactor     1.0485        .35619        .87959E-05   -.91131    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.01396e-13
Minuit parameter uncertainties:
  1  9.63139e-07
  2  503.583
  3  0.60708
  4  0.357002
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/57615': 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) = 1510.14745404
delta logL = 3.19945002047e-07

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.000e-04  9.631e-07  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  1.868e+00  5.036e+02  0.000e+00  5.000e+00 ( 1.000e+00)
274         beta:  1.844e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
275           Eb:  7.406e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  1.048e+00  3.570e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  1.061e+00  6.071e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 208.718 -10.693

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/57615/cmap_HighResolution_562809601_563068801_4FGL_J1354.8-1041_daily_bin1248.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.22e-04', job_status='DONE', photon_flux_upper_limit='3.25e-07', time_completed='2021-09-08 17:43:07.174681', job_id='57615', GAL2='1.05', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1631148187.17', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='3.20e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='1248' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:43:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0218>
Subject: Job 57615: <4FGL_J1354.8-1041_daily_bin1248> in cluster <slac> Done

Job <4FGL_J1354.8-1041_daily_bin1248> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep  8 17:35:34 2021
Job was executed on host(s) <bullet0218>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:35:35 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  8 17:35:35 2021
Terminated at Wed Sep  8 17:43:07 2021
Results reported at Wed Sep  8 17:43:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin1248 208.718 -10.6932 562809601 563068801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1354.8-1041 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   389.16 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             330.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   452 sec.
    Turnaround time :                            453 sec.

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

