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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin1373
RA = 208.718, Dec = -10.6932
tmin = 595209601, tmax = 595468801
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='59389', job_status='RUN', time_executed='2021-09-08 17:43:57.388102', time_epoch_executed='1631148237.39' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='1373'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/59389

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/59389/ft1_4FGL_J1354.8-1041_daily_bin1373.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/59389/ft2_4FGL_J1354.8-1041_daily_bin1373.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/59389/ft1_4FGL_J1354.8-1041_daily_bin1373.fits outfile=/scratch/kocevski/59389/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin1373.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=595209601.0 tmax=595468801.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 2.92
user 2.69
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/59389/ft1_filtered_4FGL_J1354.8-1041_daily_bin1373.fits" evtable="EVENTS" scfile=/scratch/kocevski/59389/ft2_4FGL_J1354.8-1041_daily_bin1373.fits sctable="SC_DATA" outfile=/scratch/kocevski/59389/ltcube_595209601_595468801_4FGL_J1354.8-1041_daily_bin1373.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/59389/ft2_4FGL_J1354.8-1041_daily_bin1373.fits
.....................!
real 12.51
user 12.11
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/59389/ft1_filtered_4FGL_J1354.8-1041_daily_bin1373.fits evtable="EVENTS" scfile=/scratch/kocevski/59389/ft2_4FGL_J1354.8-1041_daily_bin1373.fits sctable="SC_DATA" expcube=/scratch/kocevski/59389/ltcube_595209601_595468801_4FGL_J1354.8-1041_daily_bin1373.fits outfile=/scratch/kocevski/59389/expmap_595209601_595468801_4FGL_J1354.8-1041_daily_bin1373.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/59389/ltcube_595209601_595468801_4FGL_J1354.8-1041_daily_bin1373.fits
.....................!
real 190.72
user 184.65
sys 5.56

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/59389/ft1_filtered_4FGL_J1354.8-1041_daily_bin1373.fits scfile=/scratch/kocevski/59389/ft2_4FGL_J1354.8-1041_daily_bin1373.fits outfile=/scratch/kocevski/59389/cmap_595209601_595468801_4FGL_J1354.8-1041_daily_bin1373.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/59389/ft1_filtered_4FGL_J1354.8-1041_daily_bin1373.fits scfile=/scratch/kocevski/59389/ft2_4FGL_J1354.8-1041_daily_bin1373.fits outfile=/scratch/kocevski/59389/cmap_HighResolution_595209601_595468801_4FGL_J1354.8-1041_daily_bin1373.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.56
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/59389/ft1_filtered_4FGL_J1354.8-1041_daily_bin1373.fits evtable="EVENTS" scfile=/scratch/kocevski/59389/ft2_4FGL_J1354.8-1041_daily_bin1373.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/59389/Model_4FGL_J1354.8-1041_daily_bin1373.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/59389/ft1_filtered_4FGL_J1354.8-1041_daily_bin1373.fits....................!
real 28.89
user 27.60
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1481       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.9224       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    3.5468       1.0000         .10000E-03   10000.    
     6 'norm      '    10.652       1.0000         .10000E-03   10000.    
     7 'norm      '    22.373       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .16967E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    47.030       1.0000         .10000E-03   10000.    
    10 'Prefactor '    17.040       1.0000         .10000E-03   10000.    
    11 'norm      '    .10053E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11408E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10178E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    33.262       1.0000         .10000E-03   10000.    
    16 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.4504       1.0000         .10000E-03   10000.    
    18 'norm      '    .10117E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.3033       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11624E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .24659E-02   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.7685       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .80284       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=   2116.507     FROM MIGRAD    STATUS=CONVERGED    533 CALLS     2526 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1455        10.364        .86426E-06   -.10454E-03
   2  Prefactor     .10000E-03    14.357       -.92031E-07** at limit **
   3  Prefactor     8.9274        15.759        .35841E-05   -.24788E-04
   4  Prefactor     .10000E-03    19.021        .49952E-07** at limit **
   5  norm          3.5470        3.3437       -.13578E-06   -.20374E-03
   6  norm          10.654        8.3047       -.40164E-05    .35464E-04
   7  norm          22.375        18.324        .16609E-04    .53022E-05
   8  Prefactor     .10002E-03    24.470        .11945E-05** at limit **
   9  norm          47.023        49.850        .11870E-04    .25726E-06
  10  Prefactor     16.955        33.051       -.62723E-04   -.10031E-04
  11  norm          .10000E-03    4.5115        .23248E-06** at limit **
  12  Prefactor     .10000E-03    10.297       -.12656E-05** at limit **
  13  Prefactor     .10000E-03    39.765       -.63200E-05** at limit **
  14  Prefactor     .10000E-03    47.587        .76950E-05** at limit **
  15  norm          33.257        29.514        .24690E-04    .63869E-04
  16  norm          .10000E-03    5.3721       -.10871E-06** at limit **
  17  norm          2.3404        153.11        .23468E-03    .78778E-06
  18  norm          .10000E-03    27.308        .39228E-05** at limit **
  19  Prefactor     1.6630        1530.7       -.44341E-03    .20724E-04
  20  Prefactor     .10000E-03    262.51        .14648E-05** at limit **
  21  norm          .10001E-03    6270.2       -.26754E-04** at limit **
  22  Normalizat    1.7676        .51188        .48287E-05   -.15995E-03
  23  Prefactor     .80348        .28231       -.11571E-04    .22895E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.14545
  Prefactor  = 0.0001
  Prefactor  = 8.92744
  Prefactor  = 0.0001
  norm       = 3.547
  norm       = 10.6535
  norm       = 22.3748
  Prefactor  = 0.000100024
  norm       = 47.0225
  Prefactor  = 16.9546
  norm       = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 33.2566
  norm       = 0.0001
  norm       = 2.34037
  norm       = 0.000100002
  Prefactor  = 1.66298
  Prefactor  = 0.0001
  norm       = 0.000100012
  Normalizat = 1.76758
  Prefactor  = 0.80348
 **********
 **   18 **HESSE 
 **********

 FCN=   2116.507     FROM HESSE     STATUS=OK           368 CALLS     2894 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1455        10.355        .19791E-03   -1.5301    
   2  Prefactor     .10000E-03    14.395        .17023E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.9274        15.789        .13418E-03   -1.5110    
   4  Prefactor     .10000E-03    19.027        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.5470        3.3432        .74903E-04   -1.5331    
   6  norm          10.654        8.3056        .10737E-03   -1.5055    
   7  norm          22.375        18.332        .84683E-04   -1.4762    
   8  Prefactor     .10002E-03    24.510        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          47.023        49.851        .58468E-04   -1.4335    
  10  Prefactor     16.955        33.085        .97025E-04   -1.4884    
  11  norm          .10000E-03    4.5140        .95441E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    10.306        .14412E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    39.872        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    47.592        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          33.257        29.541        .69479E-04   -1.4554    
  16  norm          .10000E-03    5.3879        .10413E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.3404        151.29        .26132E-03   -1.5402    
  18  norm          .10000E-03    27.333        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.6630        1611.3        .27039E-02   -1.5450    
  20  Prefactor     .10000E-03    262.55        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10001E-03    6271.4        .20032E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.7676        .60526        .33858E-03   -.70513    
  23  Prefactor     .80348        .33104        .25960E-03   -.99600    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.59996e-09
Minuit parameter uncertainties:
  1  10.3592
  2  2.29752e-05
  3  15.7965
  4  4.28241e-05
  5  3.34341
  6  8.3065
  7  18.337
  8  0.00154736
  9  49.8951
  10  33.1208
  11  5.30065e-05
  12  0.000416537
  13  2.11582e-05
  14  4.88754e-05
  15  29.5541
  16  2.75204e-05
  17  37.7328
  18  0.000510492
  19  106.541
  20  0.000558879
  21  0.0116592
  22  0.607842
  23  0.331867
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  3.326e+01  2.955e+01  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:  8.035e-01  3.319e-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.768e+00  6.078e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.96
Ra Dec: 208.718 -10.693
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 1.73e-07 +/- 1.54e-07
Energy Flux (Fixed Index): 6.48e-05 +/- 5.76e-05

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

Saving results to:
/scratch/kocevski/59389/likelihoodResults_595209601_595468801_4FGL_J1354.8-1041_daily_bin1373.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) = 2116.1228781
delta logL = 0.384092088954

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2116.08866788
delta logL = 0.418302306588

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    25.289       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9600       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6975       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82349       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=   2116.089     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      287 TOTAL
                     EDM=   .43E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          25.280        26.272        .79658E-04    .41816E-04
   2  alpha         2.9602        .77700        .97482E-02    .13801E-04
   3  Normalizat    1.6976        .58436        .34335E-03    .60321E-04
   4  Prefactor     .82340        .31821        .25645E-03    .10105E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 25.28
  alpha      = 2.96019
  Normalizat = 1.69764
  Prefactor  = 0.823402
 **********
 **   18 **HESSE 
 **********

 FCN=   2116.089     FROM HESSE     STATUS=OK            25 CALLS      312 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          25.280        25.411        .31863E-05   -1.4702    
   2  alpha         2.9602        .75208        .38993E-03    .18513    
   3  Normalizat    1.6976        .58479        .68671E-04   -.72366    
   4  Prefactor     .82340        .31837        .51289E-04   -.98871    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.83678e-11
Minuit parameter uncertainties:
  1  25.4215
  2  0.764347
  3  0.587196
  4  0.319089
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/59389': 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) = 2116.08866778
delta logL = 0.418302411503

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  2.528e+01  2.542e+01  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.960e+00  7.643e-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:  8.234e-01  3.191e-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.698e+00  5.872e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.79
Ra Dec: 208.718 -10.693
Photon Index (Free Index): 2.96 +/- 0.76
Photon Flux (Free Index): 3.13e-07 +/- 2.64e-07
Energy Flux (Free Index): 7.14e-05 +/- 5.35e-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/59389/cmap_HighResolution_595209601_595468801_4FGL_J1354.8-1041_daily_bin1373.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.96e-04', comment='SUCCESS', photon_flux='1.73e-07', energy_flux2='7.14e-05', photon_flux_error='1.54e-07', dlogl='4.18e-01', energy_flux='6.48e-05', photon_flux2='3.13e-07', job_status='DONE', time_completed='2021-09-08 17:53:58.248474', photon_index_error2='0.76', photon_index2='2.96', ts='1.96', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', photon_flux_upper_limit='5.24e-07', energy_flux_error2='5.35e-05', EG='1.77', time_epoch_completed='1631148838.25', return_code='0', job_id='59389', GAL2='0.82', EG2='1.70', return_code2='0', energy_flux_error='5.76e-05', photon_flux_error2='2.64e-07', ts2='2.79', photon_index='2.27' WHERE bin_id='1373' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:53:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0140>
Subject: Job 59389: <4FGL_J1354.8-1041_daily_bin1373> in cluster <slac> Done

Job <4FGL_J1354.8-1041_daily_bin1373> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  8 17:40:25 2021
Job was executed on host(s) <bullet0140>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:40:26 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:40:26 2021
Terminated at Wed Sep  8 17:53:58 2021
Results reported at Wed Sep  8 17:53:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin1373 208.718 -10.6932 595209601 595468801 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 :                                   406.23 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             240.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.

