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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin1037
RA = 208.718, Dec = -10.6932
tmin = 508118401, tmax = 508377601
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='55473', job_status='RUN', time_executed='2021-09-08 17:31:41.278450', time_epoch_executed='1631147501.28' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='1037'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/55473

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/55473/ft1_4FGL_J1354.8-1041_daily_bin1037.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/55473/ft2_4FGL_J1354.8-1041_daily_bin1037.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/55473/ft1_4FGL_J1354.8-1041_daily_bin1037.fits outfile=/scratch/kocevski/55473/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin1037.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=508118401.0 tmax=508377601.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.73
user 3.44
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/55473/ft1_filtered_4FGL_J1354.8-1041_daily_bin1037.fits" evtable="EVENTS" scfile=/scratch/kocevski/55473/ft2_4FGL_J1354.8-1041_daily_bin1037.fits sctable="SC_DATA" outfile=/scratch/kocevski/55473/ltcube_508118401_508377601_4FGL_J1354.8-1041_daily_bin1037.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/55473/ft2_4FGL_J1354.8-1041_daily_bin1037.fits
.....................!
real 14.58
user 14.21
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/55473/ft1_filtered_4FGL_J1354.8-1041_daily_bin1037.fits evtable="EVENTS" scfile=/scratch/kocevski/55473/ft2_4FGL_J1354.8-1041_daily_bin1037.fits sctable="SC_DATA" expcube=/scratch/kocevski/55473/ltcube_508118401_508377601_4FGL_J1354.8-1041_daily_bin1037.fits outfile=/scratch/kocevski/55473/expmap_508118401_508377601_4FGL_J1354.8-1041_daily_bin1037.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/55473/ltcube_508118401_508377601_4FGL_J1354.8-1041_daily_bin1037.fits
.....................!
real 191.06
user 185.35
sys 5.29

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/55473/ft1_filtered_4FGL_J1354.8-1041_daily_bin1037.fits scfile=/scratch/kocevski/55473/ft2_4FGL_J1354.8-1041_daily_bin1037.fits outfile=/scratch/kocevski/55473/cmap_508118401_508377601_4FGL_J1354.8-1041_daily_bin1037.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/55473/ft1_filtered_4FGL_J1354.8-1041_daily_bin1037.fits scfile=/scratch/kocevski/55473/ft2_4FGL_J1354.8-1041_daily_bin1037.fits outfile=/scratch/kocevski/55473/cmap_HighResolution_508118401_508377601_4FGL_J1354.8-1041_daily_bin1037.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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/55473/ft1_filtered_4FGL_J1354.8-1041_daily_bin1037.fits evtable="EVENTS" scfile=/scratch/kocevski/55473/ft2_4FGL_J1354.8-1041_daily_bin1037.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/55473/Model_4FGL_J1354.8-1041_daily_bin1037.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/55473/ft1_filtered_4FGL_J1354.8-1041_daily_bin1037.fits.....................!
real 64.86
user 63.19
sys 1.35

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .95751       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.5083       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.267       1.0000         .10000E-03   10000.    
     5 'norm      '    1.8822       1.0000         .10000E-03   10000.    
     6 'norm      '    7.5751       1.0000         .10000E-03   10000.    
     7 'norm      '    8.7078       1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.866       1.0000         .10000E-03   10000.    
     9 'norm      '    14.857       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .25698       1.0000         .10000E-03   10000.    
    11 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .61447       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .78072E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.3960       1.0000         .10000E-03   10000.    
    16 'norm      '    .10702E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    8.3224       1.0000         .10000E-03   10000.    
    18 'norm      '    10.111       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10162E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    6.7476       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0292       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .93178       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8404.213     FROM MIGRAD    STATUS=CONVERGED    125 CALLS     2564 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .95817        4.6117        .15937E-05   -.20975E-02
   2  Prefactor     3.5104        5.6857        .12087E-05    .22797E-02
   3  Prefactor     .10000E-03    3.9602       -.95080E-06** at limit **
   4  Prefactor     13.265        1.3645        .86942E-08   -.31884E-03
   5  norm          1.8828        1.3777        .16731E-06    .40037E-05
   6  norm          7.5767        3.3708        .47461E-07    .59553E-03
   7  norm          8.7074        1.8778       -.48766E-07   -.31200E-02
   8  Prefactor     10.881        12.043       -.52492E-06    .23017E-02
   9  norm          14.840        22.480        .22342E-05   -.14700E-02
  10  Prefactor     .27726        27.152       -.26309E-05   -.83653E-03
  11  norm          .10000E-03    1.4682        .82049E-06** at limit **
  12  Prefactor     .61386        2.8909        .12463E-05    .62943E-04
  13  Prefactor     .10123E-03    1415.6        .29894E-04** at limit **
  14  Prefactor     .10000E-03    10.887        .13767E-05** at limit **
  15  norm          1.3975        4.6271       -.28027E-05   -.23788E-03
  16  norm          .10000E-03    6.0907        .11954E-05** at limit **
  17  norm          8.3213        1.7602       -.31785E-07   -.41690E-02
  18  norm          10.108        6.5128       -.25305E-06   -.13444E-02
  19  Prefactor     .10000E-03    4.8138        .12444E-05** at limit **
  20  Prefactor     .10000E-03    30.254       -.61560E-06** at limit **
  21  norm          6.7411        4.1939        .81540E-07   -.51351E-02
  22  Normalizat    1.0288        .21789       -.36436E-05   -.19597E-03
  23  Prefactor     .93195        .11476        .11926E-05   -.21871E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.958174
  Prefactor  = 3.51037
  Prefactor  = 0.0001
  Prefactor  = 13.2651
  norm       = 1.88284
  norm       = 7.57667
  norm       = 8.70739
  Prefactor  = 10.8813
  norm       = 14.8398
  Prefactor  = 0.277259
  norm       = 0.0001
  Prefactor  = 0.613864
  Prefactor  = 0.000101235
  Prefactor  = 0.0001
  norm       = 1.39752
  norm       = 0.0001
  norm       = 8.32132
  norm       = 10.1079
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 6.74115
  Normalizat = 1.0288
  Prefactor  = 0.931951
 **********
 **   18 **HESSE 
 **********

 FCN=   8404.213     FROM HESSE     STATUS=OK           442 CALLS     3006 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .95817        16.491        .13015E-01   -1.5512    
   2  Prefactor     3.5104        6.3558        .53962E-02   -1.5333    
   3  Prefactor     .10000E-03    3.9306        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     13.265        20.401        .27492E-02   -1.4979    
   5  norm          1.8828        1.3817        .75855E-02   -1.5434    
   6  norm          7.5767        4.8888        .36427E-02   -1.5157    
   7  norm          8.7074        6.6584        .33959E-02   -1.5118    
   8  Prefactor     10.881        13.293        .30385E-02   -1.5048    
   9  norm          14.840        23.274        .25978E-02   -1.4937    
  10  Prefactor     .27726        5.7839        .69263E-01   -1.5603    
  11  norm          .10000E-03    1.4592        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .61386        3.1227        .11730E-01   -1.5551    
  13  Prefactor     .10123E-03    25.390        .12257       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    11.008        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.3975        4.7493        .91871E-02   -1.5472    
  16  norm          .10000E-03    .90099        .56159E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          8.3213        7.9845        .34741E-02   -1.5131    
  18  norm          10.108        6.6799        .31504E-02   -1.5072    
  19  Prefactor     .10000E-03    10.467        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    29.963        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          6.7411        9.7520        .38617E-02   -1.5189    
  22  Normalizat    1.0288        .19400        .71737E-01   -.92072    
  23  Prefactor     .93195        .98675E-01    .45409E-01   -.95033    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80417e-06
Minuit parameter uncertainties:
  1  7.95242
  2  6.35699
  3  1.75062e-05
  4  20.412
  5  1.38172
  6  4.88904
  7  6.65901
  8  13.2969
  9  23.2879
  10  2.53253
  11  9.12529e-06
  12  2.76907
  13  0.0112026
  14  1.17353e-05
  15  4.75062
  16  2.48317e-05
  17  7.98556
  18  6.68036
  19  4.59741e-05
  20  0.000528226
  21  9.75429
  22  0.194136
  23  0.098694
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.398e+00  4.751e+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:  9.320e-01  9.869e-02  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.029e+00  1.941e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.11
Ra Dec: 208.718 -10.693
Photon Flux Upper Limit: 6.99e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.62e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/55473/likelihoodResults_508118401_508377601_4FGL_J1354.8-1041_daily_bin1037.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) = 8404.16074592
delta logL = 0.0520551263562

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8404.15754963
delta logL = 0.0552514216979

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1722       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.0901       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0154       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93569       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8404.158     FROM MIGRAD    STATUS=FAILED        95 CALLS      253 TOTAL
                     EDM=   .80E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1731        283.11        .10661E-02   -.13897E-02
   2  alpha         3.0910        2.6565        .46470E-01    .42945E-04
   3  Normalizat    1.0157        .31533        .31926E-03    .17014E-03
   4  Prefactor     .93570        .16036        .17978E-03    .24763E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8404.158     FROM SIMPLEX   STATUS=UNCHANGED     95 CALLS      348 TOTAL
                     EDM=   .70E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1731        283.11        .92997E-04   -.13897E-02
   2  alpha         3.0910        2.6565        .99497E-03    .42945E-04
   3  Normalizat    1.0157        .31533        .10765E-03    .17014E-03
   4  Prefactor     .93570        .16036        .64193E-04    .24763E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8404.158     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      380 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1733        3.8590        .42644E-04   -.19995E-03
   2  alpha         3.0908        3.7081        .18588E-02   -.62262E-05
   3  Normalizat    1.0157        .21498        .12770E-04    .21330E-03
   4  Prefactor     .93570        .11495        .35956E-04    .30454E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.17334
  alpha      = 3.09082
  Normalizat = 1.01573
  Prefactor  = 0.935696
 **********
 **   18 **HESSE 
 **********

 FCN=   8404.158     FROM HESSE     STATUS=OK            23 CALLS      403 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1733        3.8027        .17058E-05   -1.5491    
   2  alpha         3.0908        3.6942        .74353E-04    .23858    
   3  Normalizat    1.0157        .21472        .25541E-05   -.92505    
   4  Prefactor     .93570        .11484        .71913E-05   -.94905    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13403e-10
Minuit parameter uncertainties:
  1  3.80349
  2  2.52884
  3  0.214904
  4  0.114869
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/55473': 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) = 8404.1575442
delta logL = 0.0552568520125

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.173e+00  3.803e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  3.091e+00  2.529e+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:  9.357e-01  1.149e-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.016e+00  2.149e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.11
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/55473/cmap_HighResolution_508118401_508377601_4FGL_J1354.8-1041_daily_bin1037.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.62e-05', job_status='DONE', photon_flux_upper_limit='6.99e-08', time_completed='2021-09-08 17:44:39.862156', job_id='55473', GAL2='0.94', fit_tolerance='1e-08', EG2='1.02', EG='1.03', time_epoch_completed='1631148279.86', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='5.53e-02', ts2='0.22', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='1037' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:44:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0292>
Subject: Job 55473: <4FGL_J1354.8-1041_daily_bin1037> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin1037 208.718 -10.6932 508118401 508377601 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 :                                   750.34 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             316.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   812 sec.
    Turnaround time :                            814 sec.

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

