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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin1490
RA = 208.718, Dec = -10.6932
tmin = 625536001, tmax = 625795201
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='59570', job_status='RUN', time_executed='2021-09-08 17:42:26.893547', time_epoch_executed='1631148146.89' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='1490'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/59570

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/59570/ft1_4FGL_J1354.8-1041_daily_bin1490.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/59570/ft2_4FGL_J1354.8-1041_daily_bin1490.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/59570/ft1_4FGL_J1354.8-1041_daily_bin1490.fits outfile=/scratch/kocevski/59570/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin1490.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=625536001.0 tmax=625795201.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.69
user 3.39
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/59570/ft1_filtered_4FGL_J1354.8-1041_daily_bin1490.fits" evtable="EVENTS" scfile=/scratch/kocevski/59570/ft2_4FGL_J1354.8-1041_daily_bin1490.fits sctable="SC_DATA" outfile=/scratch/kocevski/59570/ltcube_625536001_625795201_4FGL_J1354.8-1041_daily_bin1490.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/59570/ft2_4FGL_J1354.8-1041_daily_bin1490.fits
.....................!
real 11.81
user 11.46
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/59570/ft1_filtered_4FGL_J1354.8-1041_daily_bin1490.fits evtable="EVENTS" scfile=/scratch/kocevski/59570/ft2_4FGL_J1354.8-1041_daily_bin1490.fits sctable="SC_DATA" expcube=/scratch/kocevski/59570/ltcube_625536001_625795201_4FGL_J1354.8-1041_daily_bin1490.fits outfile=/scratch/kocevski/59570/expmap_625536001_625795201_4FGL_J1354.8-1041_daily_bin1490.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/59570/ltcube_625536001_625795201_4FGL_J1354.8-1041_daily_bin1490.fits
.....................!
real 190.16
user 185.33
sys 4.47

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/59570/ft1_filtered_4FGL_J1354.8-1041_daily_bin1490.fits scfile=/scratch/kocevski/59570/ft2_4FGL_J1354.8-1041_daily_bin1490.fits outfile=/scratch/kocevski/59570/cmap_625536001_625795201_4FGL_J1354.8-1041_daily_bin1490.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.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/59570/ft1_filtered_4FGL_J1354.8-1041_daily_bin1490.fits scfile=/scratch/kocevski/59570/ft2_4FGL_J1354.8-1041_daily_bin1490.fits outfile=/scratch/kocevski/59570/cmap_HighResolution_625536001_625795201_4FGL_J1354.8-1041_daily_bin1490.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/59570/ft1_filtered_4FGL_J1354.8-1041_daily_bin1490.fits evtable="EVENTS" scfile=/scratch/kocevski/59570/ft2_4FGL_J1354.8-1041_daily_bin1490.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/59570/Model_4FGL_J1354.8-1041_daily_bin1490.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/59570/ft1_filtered_4FGL_J1354.8-1041_daily_bin1490.fits.....................!
real 58.97
user 57.61
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.4843       1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.2004       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.4098       1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.452       1.0000         .10000E-03   10000.    
     5 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.3588       1.0000         .10000E-03   10000.    
     7 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    4.8524       1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.345       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    24.312       1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    21.384       1.0000         .10000E-03   10000.    
    19 'Prefactor '    71.894       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .84535       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.3713       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=   7277.224     FROM MIGRAD    STATUS=CONVERGED    481 CALLS     2481 TOTAL
                     EDM=   .71E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.4844        9.7801       -.25173E-06   -.62112E-04
   2  Prefactor     8.2006        10.984        .61141E-06   -.39733E-04
   3  Prefactor     5.4104        10.255        .36358E-06   -.85563E-04
   4  Prefactor     14.443        29.359       -.15823E-04   -.30753E-04
   5  norm          .10000E-03    .73286       -.79602E-07** at limit **
   6  norm          3.3597        5.0854        .27733E-05   -.17542E-03
   7  norm          .10000E-03    2.6716        .58156E-07** at limit **
   8  Prefactor     .10000E-03    3.8594        .79017E-07** at limit **
   9  norm          .10000E-03    15.000        .22883E-05** at limit **
  10  Prefactor     .10000E-03    4.5146       -.49305E-08** at limit **
  11  norm          4.8524        4.2848        .23552E-07    .61508E-04
  12  Prefactor     10.344        7.3177        .32497E-06    .21698E-03
  13  Prefactor     .10000E-03    17.651        .21126E-05** at limit **
  14  Prefactor     .10000E-03    19.546       -.75469E-05** at limit **
  15  norm          .10000E-03    11.305       -.83141E-05** at limit **
  16  norm          24.312        5.4450        .90659E-07    .12143E-03
  17  norm          .10000E-03    9.8369        .34962E-05** at limit **
  18  norm          21.384        10.429       -.62960E-07    .75357E-05
  19  Prefactor     71.894        44.583       -.55132E-06    .68717E-05
  20  Prefactor     .10000E-03    15.250        .29547E-05** at limit **
  21  norm          .10000E-03    16.013        .42275E-05** at limit **
  22  Normalizat    .84540        .29108        .32755E-05    .12276E-04
  23  Prefactor     1.3712        .14842       -.28846E-06    .16776E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.48435
  Prefactor  = 8.20056
  Prefactor  = 5.41038
  Prefactor  = 14.4433
  norm       = 0.0001
  norm       = 3.35972
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.85239
  Prefactor  = 10.3441
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 24.3121
  norm       = 0.0001
  norm       = 21.3843
  Prefactor  = 71.8939
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.845405
  Prefactor  = 1.37123
 **********
 **   18 **HESSE 
 **********

 FCN=   7277.224     FROM HESSE     STATUS=OK           370 CALLS     2851 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.4844        9.7704        .17157E-03   -1.5240    
   2  Prefactor     8.2006        10.967        .14000E-03   -1.5135    
   3  Prefactor     5.4104        10.252        .17277E-03   -1.5243    
   4  Prefactor     14.443        28.961        .10536E-03   -1.4948    
   5  norm          .10000E-03    1.1679        .14026E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.3597        4.9835        .17432E-03   -1.5341    
   7  norm          .10000E-03    2.6741        .13609E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.8619        .16367E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    15.010        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.5350        .17702E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.8524        4.2870        .16104E-03   -1.5267    
  12  Prefactor     10.344        7.3089        .12458E-03   -1.5065    
  13  Prefactor     .10000E-03    17.757        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    19.550        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    11.559        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          24.312        5.4465        .81240E-04   -1.4721    
  17  norm          .10000E-03    9.9012        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          21.384        10.426        .86616E-04   -1.4783    
  19  Prefactor     71.894        44.579        .47347E-04   -1.4010    
  20  Prefactor     .10000E-03    15.266        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    16.061        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .84540        .32137        .46109E-03   -.98406    
  23  Prefactor     1.3712        .16778        .20245E-03   -.81213    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.62103e-10
Minuit parameter uncertainties:
  1  9.77328
  2  10.97
  3  10.2549
  4  28.9894
  5  1.08239e-05
  6  4.98414
  7  2.54295e-05
  8  2.11845e-06
  9  4.51313e-06
  10  1.20543e-06
  11  4.28723
  12  7.30953
  13  2.56058e-05
  14  7.66015e-06
  15  6.98471e-05
  16  5.44658
  17  1.57751e-05
  18  10.4267
  19  44.6001
  20  1.02905e-05
  21  1.99277e-05
  22  0.322101
  23  0.167848
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.000e-04  6.985e-05  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:  1.371e+00  1.678e-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:  8.454e-01  3.221e-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: 1.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.81e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/59570/likelihoodResults_625536001_625795201_4FGL_J1354.8-1041_daily_bin1490.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): 102
logL (Free Index) = 7277.2244651
delta logL = -0.000412862773373

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7277.22405218
delta logL = 6.24431777396e-08

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.2902       1.0000          .0000       5.0000    
     3 'Normalizat'    .84541       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3712       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=   7277.224     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      251 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    308.58        .36285E-02** at limit **
   2  alpha         2.5600        2.6510        .50000        .20123E-06
   3  Normalizat    .84541        .34314E-01    .46109E-03   -.94235E-04
   4  Prefactor     1.3712        .18801E-01    .20245E-03   -.22272E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.56004
  Normalizat = 0.845406
  Prefactor  = 1.37123
 **********
 **   18 **HESSE 
 **********

 FCN=   7277.224     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      278 TOTAL
                     EDM=   .57E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1274.2        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.5600        2.8084        .50000        .24020E-01
   3  Normalizat    .84541        .79065E-01    .18444E-04   -.98406    
   4  Prefactor     1.3712        .43327E-01    .40490E-04   -.81213    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.74835e-08
Minuit parameter uncertainties:
  1  0.000929024
  2  2536.85
  3  0.079076
  4  0.0433278
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/59570': 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): 102
logL (Free Index) = 7277.22405174
delta logL = 4.97201654071e-07

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.000e-04  9.290e-04  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.560e+00  2.537e+03  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:  1.371e+00  4.333e-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:  8.454e-01  7.908e-02  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/59570/cmap_HighResolution_625536001_625795201_4FGL_J1354.8-1041_daily_bin1490.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.81e-05', job_status='DONE', photon_flux_upper_limit='1.02e-07', time_completed='2021-09-08 17:55:29.979151', job_id='59570', GAL2='1.37', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1631148929.98', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.37', dlogl='4.97e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='1490' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:55:30 PDT 2021


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

Job <4FGL_J1354.8-1041_daily_bin1490> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  8 17:40:42 2021
Job was executed on host(s) <bullet0166>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:40:44 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:44 2021
Terminated at Wed Sep  8 17:55:30 2021
Results reported at Wed Sep  8 17:55:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin1490 208.718 -10.6932 625536001 625795201 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 :                                   652.43 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             254.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   886 sec.
    Turnaround time :                            888 sec.

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

