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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin520
RA = 208.718, Dec = -10.6932
tmin = 374112001, tmax = 374371201
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='54043', job_status='RUN', time_executed='2021-09-08 17:28:16.340034', time_epoch_executed='1631147296.34' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='520'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/54043

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/54043/ft1_4FGL_J1354.8-1041_daily_bin520.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/54043/ft2_4FGL_J1354.8-1041_daily_bin520.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/54043/ft1_4FGL_J1354.8-1041_daily_bin520.fits outfile=/scratch/kocevski/54043/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin520.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=374112001.0 tmax=374371201.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.42
user 3.22
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/54043/ft1_filtered_4FGL_J1354.8-1041_daily_bin520.fits" evtable="EVENTS" scfile=/scratch/kocevski/54043/ft2_4FGL_J1354.8-1041_daily_bin520.fits sctable="SC_DATA" outfile=/scratch/kocevski/54043/ltcube_374112001_374371201_4FGL_J1354.8-1041_daily_bin520.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/54043/ft2_4FGL_J1354.8-1041_daily_bin520.fits
.....................!
real 12.42
user 12.03
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/54043/ft1_filtered_4FGL_J1354.8-1041_daily_bin520.fits evtable="EVENTS" scfile=/scratch/kocevski/54043/ft2_4FGL_J1354.8-1041_daily_bin520.fits sctable="SC_DATA" expcube=/scratch/kocevski/54043/ltcube_374112001_374371201_4FGL_J1354.8-1041_daily_bin520.fits outfile=/scratch/kocevski/54043/expmap_374112001_374371201_4FGL_J1354.8-1041_daily_bin520.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/54043/ltcube_374112001_374371201_4FGL_J1354.8-1041_daily_bin520.fits
.....................!
real 189.61
user 185.02
sys 4.21

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/54043/ft1_filtered_4FGL_J1354.8-1041_daily_bin520.fits scfile=/scratch/kocevski/54043/ft2_4FGL_J1354.8-1041_daily_bin520.fits outfile=/scratch/kocevski/54043/cmap_374112001_374371201_4FGL_J1354.8-1041_daily_bin520.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.52
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/54043/ft1_filtered_4FGL_J1354.8-1041_daily_bin520.fits scfile=/scratch/kocevski/54043/ft2_4FGL_J1354.8-1041_daily_bin520.fits outfile=/scratch/kocevski/54043/cmap_HighResolution_374112001_374371201_4FGL_J1354.8-1041_daily_bin520.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.53
user 0.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.9561       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.0339       1.0000         .10000E-03   10000.    
     3 'Prefactor '    20.164       1.0000         .10000E-03   10000.    
     4 'Prefactor '    19.563       1.0000         .10000E-03   10000.    
     5 'norm      '    .91470       1.0000         .10000E-03   10000.    
     6 'norm      '    7.9045       1.0000         .10000E-03   10000.    
     7 'norm      '    6.2267       1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.201       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .17698E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .77183E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.9312       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .59396       1.0000         .10000E-03   10000.    
    14 'Prefactor '    67.243       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    14.874       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.7192       1.0000         .10000E-03   10000.    
    21 'norm      '    5.1100       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.6133       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .81207       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=   6858.043     FROM MIGRAD    STATUS=CONVERGED    515 CALLS     2578 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.9561        6.3478       -.21754E-06    .54942E-05
   2  Prefactor     1.0335        14.129       -.24963E-05   -.25882E-03
   3  Prefactor     20.159        13.511        .13834E-06    .64337E-04
   4  Prefactor     19.558        28.884       -.43261E-05   -.62402E-04
   5  norm          .91604        1.9129       -.14946E-06   -.43740E-03
   6  norm          7.9049        6.4383        .83209E-06   -.96792E-03
   7  norm          6.2252        8.5877        .43551E-06   -.10777E-02
   8  Prefactor     13.184        19.041       -.16314E-05   -.49845E-04
   9  norm          .10000E-03    13.782       -.13968E-06** at limit **
  10  Prefactor     .10000E-03    33.862       -.10579E-05** at limit **
  11  norm          .10000E-03    3.4647        .18384E-06** at limit **
  12  Prefactor     1.9305        4.5279       -.67533E-07   -.22599E-03
  13  Prefactor     .51346        13.808       -.10937E-06   -.65498E-04
  14  Prefactor     67.244        59.233       -.33785E-06   -.12491E-04
  15  norm          .10000E-03    1.9082       -.93395E-07** at limit **
  16  norm          .10000E-03    1.1459        .14574E-06** at limit **
  17  norm          .10000E-03    15.949        .36024E-06** at limit **
  18  norm          14.874        7.6331        .22146E-07    .17761E-04
  19  Prefactor     .10000E-03    11.305        .96212E-07** at limit **
  20  Prefactor     8.7119        26.076       -.64773E-05   -.76551E-04
  21  norm          5.1070        14.323        .10920E-05   -.38416E-03
  22  Normalizat    1.6131        .25541        .62568E-06    .25945E-04
  23  Prefactor     .81219        .12558        .32846E-06    .20176E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.95607
  Prefactor  = 1.03349
  Prefactor  = 20.1586
  Prefactor  = 19.5581
  norm       = 0.916041
  norm       = 7.90487
  norm       = 6.22519
  Prefactor  = 13.1839
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 1.93047
  Prefactor  = 0.51346
  Prefactor  = 67.2436
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 14.8741
  Prefactor  = 0.0001
  Prefactor  = 8.71188
  norm       = 5.10702
  Normalizat = 1.61311
  Prefactor  = 0.812189
 **********
 **   18 **HESSE 
 **********

 FCN=   6858.043     FROM HESSE     STATUS=OK           380 CALLS     2958 TOTAL
                     EDM=   .48E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.9561        6.3500        .16453E-03   -1.5220    
   2  Prefactor     1.0335        16.453        .49696E-03   -1.5505    
   3  Prefactor     20.159        13.550        .89196E-04   -1.4810    
   4  Prefactor     19.558        29.438        .90554E-04   -1.4823    
   5  norm          .91604        1.9371        .15314E-03   -1.5517    
   6  norm          7.9049        6.4344        .67039E-03   -1.5146    
   7  norm          6.2252        10.512        .80437E-03   -1.5209    
   8  Prefactor     13.184        18.749        .11024E-03   -1.4982    
   9  norm          .10000E-03    13.787        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    34.120        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    21.465        .28694E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.9305        4.5030        .25655E-03   -1.5430    
  13  Prefactor     .51346        107.94        .59799E-02   -1.5565    
  14  Prefactor     67.244        58.566        .48946E-04   -1.4066    
  15  norm          .10000E-03    1.9110        .11170E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.1697        .86470E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    16.124        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          14.874        7.6372        .10385E-03   -1.4936    
  19  Prefactor     .10000E-03    11.322        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     8.7119        26.195        .13575E-03   -1.5118    
  21  norm          5.1070        15.805        .88929E-03   -1.5256    
  22  Normalizat    1.6131        .29998        .31557E-03   -.74648    
  23  Prefactor     .81219        .14780        .21731E-03   -.99281    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.82616e-08
Minuit parameter uncertainties:
  1  6.35072
  2  8.24944
  3  13.5519
  4  29.4603
  5  1.93725
  6  6.43495
  7  10.5152
  8  18.7576
  9  6.47994e-06
  10  0.000231003
  11  0.000207859
  12  4.50379
  13  14.9154
  14  58.6163
  15  1.4315e-06
  16  9.75827e-07
  17  5.3002e-06
  18  7.63766
  19  3.70633e-06
  20  26.2298
  21  15.8179
  22  0.300313
  23  0.147871
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.000e-04  1.432e-06  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.122e-01  1.479e-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.613e+00  3.003e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/54043/likelihoodResults_374112001_374371201_4FGL_J1354.8-1041_daily_bin520.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) = 6858.04544501
delta logL = -0.00242823810913

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6858.04301677
delta logL = -3.2832758734e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2677       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6131       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81220       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=   6858.043     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      226 TOTAL
                     EDM=   .22E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.3887        .11174E-02** at limit **
   2  alpha         2.0685        3.5340        .16551        .77617E-08
   3  Normalizat    1.6131        .27645        .31557E-03    .29217E-04
   4  Prefactor     .81219        .14197        .21731E-03    .47713E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.0685
  Normalizat = 1.61311
  Prefactor  = 0.812189
 **********
 **   18 **HESSE 
 **********

 FCN=   6858.043     FROM HESSE     STATUS=OK            23 CALLS      249 TOTAL
                     EDM=   .25E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.9372        .22349E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0685        2.6617        .66205E-02   -.17347    
   3  Normalizat    1.6131        .27670        .12623E-04   -.74648    
   4  Prefactor     .81219        .14210        .86922E-05   -.99281    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.50695e-12
Minuit parameter uncertainties:
  1  1.85777e-06
  2  239.286
  3  0.276964
  4  0.14216
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/54043': 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) = 6858.04301642
delta logL = 3.5173343349e-07

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.000e-04  1.858e-06  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.068e+00  2.393e+02  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.122e-01  1.422e-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.613e+00  2.770e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 208.718 -10.693

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/54043/cmap_HighResolution_374112001_374371201_4FGL_J1354.8-1041_daily_bin520.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.98e-05', job_status='DONE', photon_flux_upper_limit='5.29e-08', time_completed='2021-09-08 17:39:24.843760', job_id='54043', GAL2='0.81', fit_tolerance='1e-08', EG2='1.61', EG='1.61', time_epoch_completed='1631147964.84', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='3.52e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='520' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:39:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 54043: <4FGL_J1354.8-1041_daily_bin520> in cluster <slac> Done

Job <4FGL_J1354.8-1041_daily_bin520> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Wed Sep  8 17:26:00 2021
Job was executed on host(s) <bullet0223>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:26:01 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:26:01 2021
Terminated at Wed Sep  8 17:39:25 2021
Results reported at Wed Sep  8 17:39:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin520 208.718 -10.6932 374112001 374371201 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 :                                   630.10 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             248.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   804 sec.
    Turnaround time :                            805 sec.

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

