/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 236 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 = 7387
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1354.8-1041_daily_bin428
RA = 208.718, Dec = -10.6932
tmin = 350265601, tmax = 350524801
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='53901', job_status='RUN', time_executed='2021-09-08 17:29:52.539276', time_epoch_executed='1631147392.54' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='428'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/53901

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/53901/ft1_4FGL_J1354.8-1041_daily_bin428.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/53901/ft2_4FGL_J1354.8-1041_daily_bin428.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/53901/ft1_4FGL_J1354.8-1041_daily_bin428.fits outfile=/scratch/kocevski/53901/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin428.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=350265601.0 tmax=350524801.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.77
user 3.13
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/53901/ft2_4FGL_J1354.8-1041_daily_bin428.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/53901/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin428.fits evtable="EVENTS" outfile="/scratch/kocevski/53901/ft1_filtered_4FGL_J1354.8-1041_daily_bin428.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.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/53901/ft1_filtered_4FGL_J1354.8-1041_daily_bin428.fits" evtable="EVENTS" scfile=/scratch/kocevski/53901/ft2_4FGL_J1354.8-1041_daily_bin428.fits sctable="SC_DATA" outfile=/scratch/kocevski/53901/ltcube_350265601_350524801_4FGL_J1354.8-1041_daily_bin428.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/53901/ft2_4FGL_J1354.8-1041_daily_bin428.fits
.....................!
real 13.66
user 13.10
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/53901/ft1_filtered_4FGL_J1354.8-1041_daily_bin428.fits evtable="EVENTS" scfile=/scratch/kocevski/53901/ft2_4FGL_J1354.8-1041_daily_bin428.fits sctable="SC_DATA" expcube=/scratch/kocevski/53901/ltcube_350265601_350524801_4FGL_J1354.8-1041_daily_bin428.fits outfile=/scratch/kocevski/53901/expmap_350265601_350524801_4FGL_J1354.8-1041_daily_bin428.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/53901/ltcube_350265601_350524801_4FGL_J1354.8-1041_daily_bin428.fits
.....................!
real 194.17
user 186.79
sys 5.07

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/53901/ft1_filtered_4FGL_J1354.8-1041_daily_bin428.fits scfile=/scratch/kocevski/53901/ft2_4FGL_J1354.8-1041_daily_bin428.fits outfile=/scratch/kocevski/53901/cmap_350265601_350524801_4FGL_J1354.8-1041_daily_bin428.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/53901/ft1_filtered_4FGL_J1354.8-1041_daily_bin428.fits scfile=/scratch/kocevski/53901/ft2_4FGL_J1354.8-1041_daily_bin428.fits outfile=/scratch/kocevski/53901/cmap_HighResolution_350265601_350524801_4FGL_J1354.8-1041_daily_bin428.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.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/53901/ft1_filtered_4FGL_J1354.8-1041_daily_bin428.fits evtable="EVENTS" scfile=/scratch/kocevski/53901/ft2_4FGL_J1354.8-1041_daily_bin428.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/53901/Model_4FGL_J1354.8-1041_daily_bin428.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/53901/ft1_filtered_4FGL_J1354.8-1041_daily_bin428.fits.....................!
real 54.96
user 53.20
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/53901/ft1_filtered_4FGL_J1354.8-1041_daily_bin428.fits', '/scratch/kocevski/53901/ft2_4FGL_J1354.8-1041_daily_bin428.fits', expMap='/scratch/kocevski/53901/expmap_350265601_350524801_4FGL_J1354.8-1041_daily_bin428.fits', expCube='/scratch/kocevski/53901/ltcube_350265601_350524801_4FGL_J1354.8-1041_daily_bin428.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/53901/Model_4FGL_J1354.8-1041_daily_bin428.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/53901/ft1_filtered_4FGL_J1354.8-1041_daily_bin428.fits
Spacecraft file(s): /scratch/kocevski/53901/ft2_4FGL_J1354.8-1041_daily_bin428.fits
Exposure map: /scratch/kocevski/53901/expmap_350265601_350524801_4FGL_J1354.8-1041_daily_bin428.fits
Exposure cube: /scratch/kocevski/53901/ltcube_350265601_350524801_4FGL_J1354.8-1041_daily_bin428.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/53901/Model_4FGL_J1354.8-1041_daily_bin428.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) = 6541.61224522

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.7627       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.6200       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    15.105       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.4265       1.0000         .10000E-03   10000.    
     9 'norm      '    17.771       1.0000         .10000E-03   10000.    
    10 'Prefactor '    29.592       1.0000         .10000E-03   10000.    
    11 'norm      '    .10187E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.4723       1.0000         .10000E-03   10000.    
    13 'Prefactor '    16.724       1.0000         .10000E-03   10000.    
    14 'Prefactor '    63.856       1.0000         .10000E-03   10000.    
    15 'norm      '    1.3202       1.0000         .10000E-03   10000.    
    16 'norm      '    3.3593       1.0000         .10000E-03   10000.    
    17 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    17.150       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.5553       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .76100       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6541.607     FROM MIGRAD    STATUS=CONVERGED    511 CALLS     2557 TOTAL
                     EDM=   .69E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.8541         .0000    ** at limit **
   2  Prefactor     3.7631        12.398         .0000       -.53457E-03
   3  Prefactor     7.6201        8.8993         .0000       -.30055E-03
   4  Prefactor     .10000E-03    6.1636         .0000    ** at limit **
   5  norm          .10000E-03    .34149         .0000    ** at limit **
   6  norm          .10000E-03    1.5074         .0000    ** at limit **
   7  norm          15.109        8.1391         .0000       -.21250E-02
   8  Prefactor     7.3451        20.739         .0000        .94606E-03
   9  norm          17.771        20.009         .0000       -.71566E-04
  10  Prefactor     29.635        20.032         .0000       -.92826E-04
  11  norm          .10000E-03    2.2767         .0000    ** at limit **
  12  Prefactor     4.4742        6.3096         .0000        .98067E-02
  13  Prefactor     16.722        21.941         .0000       -.15837E-03
  14  Prefactor     63.852        55.575         .0000        .23101E-02
  15  norm          1.3220        14.707         .0000        .16666E-01
  16  norm          3.3593        2.3500         .0000        .12364E-03
  17  norm          .10000E-03    5.6791         .0000    ** at limit **
  18  norm          .10000E-03    1.9421         .0000    ** at limit **
  19  Prefactor     .10000E-03    9.2215         .0000    ** at limit **
  20  Prefactor     .10000E-03    12.112         .0000    ** at limit **
  21  norm          17.150        17.387         .0000       -.22165E-04
  22  Normalizat    1.5554        .23423         .0000       -.35022E-05
  23  Prefactor     .76105        .12126         .0000        .13213E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 3.76312
  Prefactor  = 7.62014
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 15.1086
  Prefactor  = 7.34511
  norm       = 17.7709
  Prefactor  = 29.635
  norm       = 0.0001
  Prefactor  = 4.47422
  Prefactor  = 16.7219
  Prefactor  = 63.8524
  norm       = 1.322
  norm       = 3.3593
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 17.1502
  Normalizat = 1.55537
  Prefactor  = 0.761046
 **********
 **   18 **HESSE 
 **********

 FCN=   6541.607     FROM HESSE     STATUS=OK           370 CALLS     2927 TOTAL
                     EDM=   .32E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.8616        .17403E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.7631        12.366        .20813E-03   -1.5320    
   3  Prefactor     7.6201        8.9064        .14528E-03   -1.5156    
   4  Prefactor     .10000E-03    6.1686        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    .34644        .46136E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.5150        .96764E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          15.109        8.1166        .10305E-03   -1.4930    
   8  Prefactor     7.3451        20.589        .73586E-03   -1.5166    
   9  norm          17.771        20.009        .95008E-04   -1.4865    
  10  Prefactor     29.635        19.902        .73650E-04   -1.4619    
  11  norm          .10000E-03    2.2887        .11913E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.4742        6.0836        .95199E-03   -1.5285    
  13  Prefactor     16.722        21.990        .97937E-04   -1.4890    
  14  Prefactor     63.852        55.585        .50218E-04   -1.4108    
  15  norm          1.3220        13.870        .19149E-02   -1.5478    
  16  norm          3.3593        2.3496        .99714E-04   -1.5341    
  17  norm          .10000E-03    5.6895        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.9450        .11007E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    9.2372        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    12.126        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          17.150        17.394        .96715E-04   -1.4879    
  22  Normalizat    1.5554        .27333        .29488E-03   -.76234    
  23  Prefactor     .76105        .14085        .21235E-03   -1.0118    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.16788e-08
Minuit parameter uncertainties:
  1  5.69982e-07
  2  12.3747
  3  8.90792
  4  3.99313e-06
  5  1.79939e-07
  6  4.44049e-08
  7  8.11716
  8  20.6085
  9  20.0165
  10  19.9066
  11  4.18025e-07
  12  6.08442
  13  22.0003
  14  55.6307
  15  8.56648
  16  2.34963
  17  7.49853e-07
  18  1.14814e-06
  19  1.06421e-05
  20  5.08964e-05
  21  17.3993
  22  0.273594
  23  0.140914
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.322e+00  8.566e+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

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  7.610e-01  1.409e-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.555e+00  2.736e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 208.718 -10.693
Photon Flux Upper Limit: 1.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.84e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/53901/likelihoodResults_350265601_350524801_4FGL_J1354.8-1041_daily_bin428.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) = 6541.59814948
delta logL = 0.00913660728111

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6541.59795488
delta logL = 0.00933120977788

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4302       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5240       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5529       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76130       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=   6541.598     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      270 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4312        9.9597        .36125E-03   -.94915E-04
   2  alpha         2.5243        1.7993        .47772E-01    .99616E-04
   3  Normalizat    1.5529        .26279        .29505E-03   -.26683E-03
   4  Prefactor     .76137        .13860        .21229E-03   -.40899E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.43118
  alpha      = 2.52434
  Normalizat = 1.55292
  Prefactor  = 0.761369
 **********
 **   18 **HESSE 
 **********

 FCN=   6541.598     FROM HESSE     STATUS=OK            25 CALLS      295 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4312        8.4043        .14450E-04   -1.5469    
   2  alpha         2.5243        1.6842        .95544E-02    .97365E-02
   3  Normalizat    1.5529        .26306        .59011E-04   -.76302    
   4  Prefactor     .76137        .13862        .42459E-04   -1.0117    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.44834e-10
Minuit parameter uncertainties:
  1  6.93754
  2  1.84799
  3  0.263292
  4  0.138685
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/53901': 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) = 6541.5979543
delta logL = 0.00933178524792

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.431e+00  6.938e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.524e+00  1.848e+00  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:  7.614e-01  1.387e-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.553e+00  2.633e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
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/53901/cmap_HighResolution_350265601_350524801_4FGL_J1354.8-1041_daily_bin428.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.84e-05', job_status='DONE', photon_flux_upper_limit='1.02e-07', time_completed='2021-09-08 17:40:34.449667', job_id='53901', GAL2='0.76', fit_tolerance='1e-08', EG2='1.55', EG='1.56', time_epoch_completed='1631148034.45', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='9.33e-03', ts2='0.05', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='428' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:40:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0104>
Subject: Job 53901: <4FGL_J1354.8-1041_daily_bin428> in cluster <slac> Done

Job <4FGL_J1354.8-1041_daily_bin428> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Wed Sep  8 17:25:46 2021
Job was executed on host(s) <bullet0104>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:25:48 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:25:48 2021
Terminated at Wed Sep  8 17:40:35 2021
Results reported at Wed Sep  8 17:40:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin428 208.718 -10.6932 350265601 350524801 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 :                                   634.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             263.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   886 sec.
    Turnaround time :                            889 sec.

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

