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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin998
RA = 208.718, Dec = -10.6932
tmin = 498009601, tmax = 498268801
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='55414', job_status='RUN', time_executed='2021-09-08 17:34:56.776748', time_epoch_executed='1631147696.78' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='998'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/55414

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/55414/ft1_4FGL_J1354.8-1041_daily_bin998.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/55414/ft2_4FGL_J1354.8-1041_daily_bin998.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/55414/ft1_4FGL_J1354.8-1041_daily_bin998.fits outfile=/scratch/kocevski/55414/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin998.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=498009601.0 tmax=498268801.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 8.00
user 7.67
sys 0.29

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/55414/ft2_4FGL_J1354.8-1041_daily_bin998.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/55414/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin998.fits evtable="EVENTS" outfile="/scratch/kocevski/55414/ft1_filtered_4FGL_J1354.8-1041_daily_bin998.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/55414/ft1_filtered_4FGL_J1354.8-1041_daily_bin998.fits" evtable="EVENTS" scfile=/scratch/kocevski/55414/ft2_4FGL_J1354.8-1041_daily_bin998.fits sctable="SC_DATA" outfile=/scratch/kocevski/55414/ltcube_498009601_498268801_4FGL_J1354.8-1041_daily_bin998.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/55414/ft2_4FGL_J1354.8-1041_daily_bin998.fits
.....................!
real 12.47
user 12.10
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/55414/ft1_filtered_4FGL_J1354.8-1041_daily_bin998.fits evtable="EVENTS" scfile=/scratch/kocevski/55414/ft2_4FGL_J1354.8-1041_daily_bin998.fits sctable="SC_DATA" expcube=/scratch/kocevski/55414/ltcube_498009601_498268801_4FGL_J1354.8-1041_daily_bin998.fits outfile=/scratch/kocevski/55414/expmap_498009601_498268801_4FGL_J1354.8-1041_daily_bin998.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/55414/ltcube_498009601_498268801_4FGL_J1354.8-1041_daily_bin998.fits
.....................!
real 190.86
user 185.91
sys 4.52

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/55414/ft1_filtered_4FGL_J1354.8-1041_daily_bin998.fits scfile=/scratch/kocevski/55414/ft2_4FGL_J1354.8-1041_daily_bin998.fits outfile=/scratch/kocevski/55414/cmap_498009601_498268801_4FGL_J1354.8-1041_daily_bin998.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/55414/ft1_filtered_4FGL_J1354.8-1041_daily_bin998.fits scfile=/scratch/kocevski/55414/ft2_4FGL_J1354.8-1041_daily_bin998.fits outfile=/scratch/kocevski/55414/cmap_HighResolution_498009601_498268801_4FGL_J1354.8-1041_daily_bin998.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.54
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/55414/ft1_filtered_4FGL_J1354.8-1041_daily_bin998.fits evtable="EVENTS" scfile=/scratch/kocevski/55414/ft2_4FGL_J1354.8-1041_daily_bin998.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/55414/Model_4FGL_J1354.8-1041_daily_bin998.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/55414/ft1_filtered_4FGL_J1354.8-1041_daily_bin998.fits....................!
real 45.41
user 44.00
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    35.568       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    62.944       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10195E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .98184       1.0000         .10000E-03   10000.    
     6 'norm      '    15.038       1.0000         .10000E-03   10000.    
     7 'norm      '    7.7300       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10609E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.827       1.0000         .10000E-03   10000.    
    11 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    13.487       1.0000         .10000E-03   10000.    
    14 'Prefactor '    17.604       1.0000         .10000E-03   10000.    
    15 'norm      '    8.4531       1.0000         .10000E-03   10000.    
    16 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.3507       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.7791       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .76473       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=   5077.812     FROM MIGRAD    STATUS=CONVERGED    477 CALLS     2476 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          35.567        21.738       -.20146E-05    .39252E-06
   2  Prefactor     .10000E-03    5.9924        .83376E-06** at limit **
   3  Prefactor     62.957        20.602        .57246E-05   -.85374E-05
   4  Prefactor     .10000E-03    20.604        .44159E-05** at limit **
   5  norm          .98209        1.7602       -.11262E-06   -.11865E-02
   6  norm          15.043        7.3884       -.71765E-06   -.18021E-03
   7  norm          7.7294        11.167       -.60649E-06   -.11930E-03
   8  Prefactor     .10000E-03    11.529        .23705E-05** at limit **
   9  norm          .10000E-03    17.699        .21058E-05** at limit **
  10  Prefactor     10.819        16.806       -.56625E-05   -.40989E-04
  11  norm          .10000E-03    2.0093       -.25612E-06** at limit **
  12  Prefactor     .10000E-03    2.0020       -.35482E-06** at limit **
  13  Prefactor     13.470        25.682       -.26970E-04   -.52527E-05
  14  Prefactor     17.596        44.233       -.15488E-04   -.94197E-07
  15  norm          8.4540        8.1431       -.24683E-06   -.61311E-04
  16  norm          .10000E-03    1.1121       -.59216E-07** at limit **
  17  norm          .10000E-03    15.440       -.42152E-05** at limit **
  18  norm          4.3480        12.109       -.17434E-05   -.11959E-03
  19  Prefactor     .10000E-03    17.583        .18195E-05** at limit **
  20  Prefactor     .10000E-03    15.556       -.42226E-05** at limit **
  21  norm          .10000E-03    6.5423        .20855E-06** at limit **
  22  Normalizat    1.7784        .30185        .12451E-05   -.12064E-04
  23  Prefactor     .76512        .14849        .12929E-05    .16959E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 35.5669
  Prefactor  = 0.0001
  Prefactor  = 62.9566
  Prefactor  = 0.0001
  norm       = 0.982094
  norm       = 15.0432
  norm       = 7.72936
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10.8189
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.4696
  Prefactor  = 17.5958
  norm       = 8.45397
  norm       = 0.0001
  norm       = 0.0001
  norm       = 4.34803
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.7784
  Prefactor  = 0.76512
 **********
 **   18 **HESSE 
 **********

 FCN=   5077.812     FROM HESSE     STATUS=OK           372 CALLS     2848 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          35.567        21.736        .67197E-04   -1.4514    
   2  Prefactor     .10000E-03    6.0018        .17032E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     62.957        20.680        .50579E-04   -1.4119    
   4  Prefactor     .10000E-03    20.635        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .98209        1.5891        .11964E-02   -1.5510    
   6  norm          15.043        7.3854        .10328E-03   -1.4932    
   7  norm          7.7294        11.163        .14423E-03   -1.5152    
   8  Prefactor     .10000E-03    11.555        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    17.705        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     10.819        16.823        .12176E-03   -1.5050    
  11  norm          .10000E-03    2.0122        .98636E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.0051        .98421E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     13.470        25.792        .10907E-03   -1.4974    
  14  Prefactor     17.596        44.262        .95460E-04   -1.4869    
  15  norm          8.4540        8.1398        .13788E-03   -1.5126    
  16  norm          .10000E-03    1.1176        .73336E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    15.564        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.3480        12.119        .19311E-03   -1.5291    
  19  Prefactor     .10000E-03    17.605        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    15.570        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    6.5438        .17802E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.7784        .35085        .31596E-03   -.70229    
  23  Prefactor     .76512        .17264        .23240E-03   -1.0103    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.05443e-10
Minuit parameter uncertainties:
  1  21.7405
  2  3.55608e-05
  3  20.6828
  4  2.49914e-06
  5  1.58915
  6  7.38583
  7  11.1661
  8  7.14527e-05
  9  7.06976e-06
  10  16.8302
  11  5.13646e-06
  12  1.96791e-07
  13  25.8128
  14  44.3444
  15  8.14085
  16  4.09827e-07
  17  2.97751e-06
  18  12.1257
  19  6.80867e-06
  20  8.61417e-06
  21  2.28235e-06
  22  0.351344
  23  0.172763
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  8.454e+00  8.141e+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.651e-01  1.728e-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.778e+00  3.513e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.63
Ra Dec: 208.718 -10.693
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 4.39e-08 +/- 4.23e-08
Energy Flux (Fixed Index): 1.65e-05 +/- 1.59e-05

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

Saving results to:
/scratch/kocevski/55414/likelihoodResults_498009601_498268801_4FGL_J1354.8-1041_daily_bin998.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) = 5077.62029012
delta logL = 0.191485570226

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5077.60887412
delta logL = 0.20290157048

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.526       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8238       1.0000          .0000       5.0000    
     3 'Normalizat'    1.7926       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75830       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5077.609     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      301 TOTAL
                     EDM=   .46E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.530        9.4055        .61748E-03    .45299E-04
   2  alpha         1.8241        .64882        .16920E-01   -.20641E-05
   3  Normalizat    1.7926        .33158        .31493E-03    .55593E-05
   4  Prefactor     .75835        .17052        .23324E-03   -.15988E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.5301
  alpha      = 1.82411
  Normalizat = 1.79256
  Prefactor  = 0.758355
 **********
 **   18 **HESSE 
 **********

 FCN=   5077.609     FROM HESSE     STATUS=OK            25 CALLS      326 TOTAL
                     EDM=   .25E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.530        9.3860        .12350E-03   -1.5059    
   2  alpha         1.8241        .64755        .67681E-03   -.27376    
   3  Normalizat    1.7926        .33184        .12597E-04   -.69858    
   4  Prefactor     .75835        .17066        .93294E-05   -1.0128    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51205e-12
Minuit parameter uncertainties:
  1  9.38734
  2  0.655632
  3  0.332259
  4  0.170776
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/55414': 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) = 5077.60887379
delta logL = 0.202901909017

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.053e+01  9.387e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  1.824e+00  6.556e-01  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.584e-01  1.708e-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.793e+00  3.323e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.04
Ra Dec: 208.718 -10.693
Photon Index (Free Index): 1.82 +/- 0.66
Photon Flux (Free Index): 3.59e-08 +/- 3.59e-08
Energy Flux (Free Index): 2.31e-05 +/- 2.36e-05

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/55414/cmap_HighResolution_498009601_498268801_4FGL_J1354.8-1041_daily_bin998.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.39e-05', comment='SUCCESS', photon_flux='4.39e-08', energy_flux2='2.31e-05', photon_flux_error='4.23e-08', dlogl='2.03e-01', energy_flux='1.65e-05', photon_flux2='3.59e-08', job_status='DONE', time_completed='2021-09-08 17:44:33.977791', photon_index_error2='0.66', photon_index2='1.82', ts='1.63', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', photon_flux_upper_limit='1.44e-07', energy_flux_error2='2.36e-05', EG='1.78', time_epoch_completed='1631148273.98', return_code='0', job_id='55414', GAL2='0.76', EG2='1.79', return_code2='0', energy_flux_error='1.59e-05', photon_flux_error2='3.59e-08', ts2='2.04', photon_index='2.27' WHERE bin_id='998' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:44:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0166>
Subject: Job 55414: <4FGL_J1354.8-1041_daily_bin998> in cluster <slac> Done

Job <4FGL_J1354.8-1041_daily_bin998> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep  8 17:31:01 2021
Job was executed on host(s) <bullet0166>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:31:02 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:31:02 2021
Terminated at Wed Sep  8 17:44:34 2021
Results reported at Wed Sep  8 17:44:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin998 208.718 -10.6932 498009601 498268801 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 :                                   573.11 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             217.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   812 sec.
    Turnaround time :                            813 sec.

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

