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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin317
RA = 208.718, Dec = -10.6932
tmin = 321494401, tmax = 321753601
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='53716', job_status='RUN', time_executed='2021-09-08 17:25:41.878170', time_epoch_executed='1631147141.88' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='317'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/53716

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/53716/ft1_4FGL_J1354.8-1041_daily_bin317.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/53716/ft2_4FGL_J1354.8-1041_daily_bin317.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/53716/ft1_4FGL_J1354.8-1041_daily_bin317.fits outfile=/scratch/kocevski/53716/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin317.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=321494401.0 tmax=321753601.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.93
user 3.74
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/53716/ft1_filtered_4FGL_J1354.8-1041_daily_bin317.fits" evtable="EVENTS" scfile=/scratch/kocevski/53716/ft2_4FGL_J1354.8-1041_daily_bin317.fits sctable="SC_DATA" outfile=/scratch/kocevski/53716/ltcube_321494401_321753601_4FGL_J1354.8-1041_daily_bin317.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/53716/ft2_4FGL_J1354.8-1041_daily_bin317.fits
.....................!
real 11.81
user 11.47
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/53716/ft1_filtered_4FGL_J1354.8-1041_daily_bin317.fits evtable="EVENTS" scfile=/scratch/kocevski/53716/ft2_4FGL_J1354.8-1041_daily_bin317.fits sctable="SC_DATA" expcube=/scratch/kocevski/53716/ltcube_321494401_321753601_4FGL_J1354.8-1041_daily_bin317.fits outfile=/scratch/kocevski/53716/expmap_321494401_321753601_4FGL_J1354.8-1041_daily_bin317.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/53716/ltcube_321494401_321753601_4FGL_J1354.8-1041_daily_bin317.fits
.....................!
real 190.56
user 185.09
sys 4.85

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/53716/ft1_filtered_4FGL_J1354.8-1041_daily_bin317.fits scfile=/scratch/kocevski/53716/ft2_4FGL_J1354.8-1041_daily_bin317.fits outfile=/scratch/kocevski/53716/cmap_321494401_321753601_4FGL_J1354.8-1041_daily_bin317.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.58
user 0.43
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/53716/ft1_filtered_4FGL_J1354.8-1041_daily_bin317.fits scfile=/scratch/kocevski/53716/ft2_4FGL_J1354.8-1041_daily_bin317.fits outfile=/scratch/kocevski/53716/cmap_HighResolution_321494401_321753601_4FGL_J1354.8-1041_daily_bin317.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.58
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/53716/ft1_filtered_4FGL_J1354.8-1041_daily_bin317.fits evtable="EVENTS" scfile=/scratch/kocevski/53716/ft2_4FGL_J1354.8-1041_daily_bin317.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/53716/Model_4FGL_J1354.8-1041_daily_bin317.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/53716/ft1_filtered_4FGL_J1354.8-1041_daily_bin317.fits.....................!
real 59.74
user 57.03
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10009E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.911       1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.149       1.0000         .10000E-03   10000.    
     5 'norm      '    .21163       1.0000         .10000E-03   10000.    
     6 'norm      '    .10280E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    7.7961       1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.091       1.0000         .10000E-03   10000.    
     9 'norm      '    17.174       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .15960E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.8206       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.5422       1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.136       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .60279       1.0000         .10000E-03   10000.    
    16 'norm      '    10.631       1.0000         .10000E-03   10000.    
    17 'norm      '    14.059       1.0000         .10000E-03   10000.    
    18 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    31.005       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3693       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .78341       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=   7302.648     FROM MIGRAD    STATUS=CONVERGED    507 CALLS     2187 TOTAL
                     EDM=   .95E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.2670        .91134E-06** at limit **
   2  Prefactor     .10000E-03    2.8037        .43232E-06** at limit **
   3  Prefactor     13.910        8.8718       -.19335E-06    .11384E-04
   4  Prefactor     10.147        17.225       -.20001E-05   -.43807E-04
   5  norm          .21309        1.1039       -.15819E-06   -.17485E-03
   6  norm          .10000E-03    1.2873        .40677E-07** at limit **
   7  norm          7.7955        6.3054        .12291E-06    .16206E-04
   8  Prefactor     14.092        15.303       -.42271E-05    .10170E-03
   9  norm          17.175        21.502        .12621E-05    .42476E-04
  10  Prefactor     .10000E-03    14.575       -.95873E-05** at limit **
  11  norm          2.8180        2.2637        .86949E-06   -.31930E-02
  12  Prefactor     2.5404        5.5637       -.95278E-06   -.11284E-03
  13  Prefactor     11.089        25.758       -.49222E-05   -.56023E-04
  14  Prefactor     .10000E-03    15.542        .77906E-05** at limit **
  15  norm          .60048        6.1797       -.19323E-05   -.37421E-03
  16  norm          10.631        3.6180        .88624E-06    .70820E-03
  17  norm          14.059        12.021       -.22713E-06   -.51202E-05
  18  norm          .10000E-03    2.3117        .24397E-07** at limit **
  19  Prefactor     31.004        20.203       -.12156E-05   -.43250E-04
  20  Prefactor     .10000E-03    7.9939       -.23887E-05** at limit **
  21  norm          .10000E-03    10.633        .32211E-05** at limit **
  22  Normalizat    1.3692        .23217        .11243E-05    .12899E-03
  23  Prefactor     .78346        .10966        .24976E-06    .23187E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.9097
  Prefactor  = 10.1471
  norm       = 0.213085
  norm       = 0.0001
  norm       = 7.79549
  Prefactor  = 14.0917
  norm       = 17.1749
  Prefactor  = 0.0001
  norm       = 2.81803
  Prefactor  = 2.54041
  Prefactor  = 11.0887
  Prefactor  = 0.000100001
  norm       = 0.600476
  norm       = 10.6315
  norm       = 14.0589
  norm       = 0.0001
  Prefactor  = 31.0042
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.3692
  Prefactor  = 0.783455
 **********
 **   18 **HESSE 
 **********

 FCN=   7302.648     FROM HESSE     STATUS=OK           374 CALLS     2561 TOTAL
                     EDM=   .46E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.2948        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.8102        .13974E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     13.910        8.9023        .10739E-03   -1.4962    
   4  Prefactor     10.147        17.175        .12578E-03   -1.5071    
   5  norm          .21309        2.2963        .16469E-02   -1.5616    
   6  norm          .10000E-03    1.2896        .94319E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          7.7955        6.2759        .14361E-03   -1.5149    
   8  Prefactor     14.092        15.117        .10670E-03   -1.4957    
   9  norm          17.175        21.506        .96646E-04   -1.4879    
  10  Prefactor     .10000E-03    14.250        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.8180        5.2093        .12109E-02   -1.5372    
  12  Prefactor     2.5404        5.3963        .25613E-03   -1.5389    
  13  Prefactor     11.089        25.919        .12005E-03   -1.5042    
  14  Prefactor     .10000E-03    15.688        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .60048        6.0087        .39114E-03   -1.5553    
  16  norm          10.631        3.6409        .90170E-04   -1.5056    
  17  norm          14.059        12.024        .10682E-03   -1.4958    
  18  norm          .10000E-03    2.3168        .12686E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     31.004        20.231        .71958E-04   -1.4594    
  20  Prefactor     .10000E-03    8.0168        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    10.727        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.3692        .27197        .30688E-03   -.81524    
  23  Prefactor     .78346        .12891        .20309E-03   -1.0034    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.62745e-08
Minuit parameter uncertainties:
  1  1.52527e-05
  2  7.29897e-06
  3  8.90314
  4  17.1834
  5  1.39874
  6  8.52579e-06
  7  6.27646
  8  15.1214
  9  21.5153
  10  2.0757e-05
  11  5.21015
  12  5.39736
  13  25.9449
  14  0.00025166
  15  3.79915
  16  3.64099
  17  12.0264
  18  5.14359e-06
  19  20.2356
  20  5.80342e-05
  21  6.83057e-05
  22  0.272259
  23  0.128962
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  6.005e-01  3.799e+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.835e-01  1.290e-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.369e+00  2.723e-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: 6.85e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.57e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/53716/likelihoodResults_321494401_321753601_4FGL_J1354.8-1041_daily_bin317.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) = 7302.64522058
delta logL = 0.00260852561496

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7302.64479312
delta logL = 0.00303598836581

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .66075       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0221       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3700       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78313       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=   7302.645     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      275 TOTAL
                     EDM=   .48E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .66973        5.5337        .38184E-03   -.40998E-04
   2  alpha         2.0288        3.4946        .94060E-01   -.59085E-05
   3  Normalizat    1.3699        .24179        .30681E-03   -.57434E-05
   4  Prefactor     .78314        .12581        .20313E-03   -.13041E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.669729
  alpha      = 2.0288
  Normalizat = 1.36993
  Prefactor  = 0.783136
 **********
 **   18 **HESSE 
 **********

 FCN=   7302.645     FROM HESSE     STATUS=OK            25 CALLS      300 TOTAL
                     EDM=   .92E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .66973        5.2570        .15274E-04   -1.5544    
   2  alpha         2.0288        3.4877        .37624E-02   -.18961    
   3  Normalizat    1.3699        .24191        .12273E-04   -.81502    
   4  Prefactor     .78314        .12586        .81251E-05   -1.0035    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.20634e-12
Minuit parameter uncertainties:
  1  3.7529
  2  2.88316
  3  0.242114
  4  0.125905
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/53716': 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) = 7302.64478754
delta logL = 0.00304156223683

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  6.697e-01  3.753e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.029e+00  2.883e+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.831e-01  1.259e-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.370e+00  2.421e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/53716/cmap_HighResolution_321494401_321753601_4FGL_J1354.8-1041_daily_bin317.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.57e-05', job_status='DONE', photon_flux_upper_limit='6.85e-08', time_completed='2021-09-08 17:36:19.292624', job_id='53716', GAL2='0.78', fit_tolerance='1e-08', EG2='1.37', EG='1.37', time_epoch_completed='1631147779.29', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='3.04e-03', ts2='0.04', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='317' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:36:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 53716: <4FGL_J1354.8-1041_daily_bin317> in cluster <slac> Done

Job <4FGL_J1354.8-1041_daily_bin317> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Wed Sep  8 17:25:31 2021
Job was executed on host(s) <bullet0037>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:25:33 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:33 2021
Terminated at Wed Sep  8 17:36:20 2021
Results reported at Wed Sep  8 17:36:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin317 208.718 -10.6932 321494401 321753601 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 :                                   631.11 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             338.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   646 sec.
    Turnaround time :                            649 sec.

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

