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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin1075
RA = 208.718, Dec = -10.6932
tmin = 517968001, tmax = 518227201
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='55532', job_status='RUN', time_executed='2021-09-08 17:34:09.409805', time_epoch_executed='1631147649.41' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='1075'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/55532

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/55532/ft1_4FGL_J1354.8-1041_daily_bin1075.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/55532/ft2_4FGL_J1354.8-1041_daily_bin1075.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/55532/ft1_4FGL_J1354.8-1041_daily_bin1075.fits outfile=/scratch/kocevski/55532/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin1075.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=517968001.0 tmax=518227201.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.74
user 3.48
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/55532/ft2_4FGL_J1354.8-1041_daily_bin1075.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/55532/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin1075.fits evtable="EVENTS" outfile="/scratch/kocevski/55532/ft1_filtered_4FGL_J1354.8-1041_daily_bin1075.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/55532/ft1_filtered_4FGL_J1354.8-1041_daily_bin1075.fits" evtable="EVENTS" scfile=/scratch/kocevski/55532/ft2_4FGL_J1354.8-1041_daily_bin1075.fits sctable="SC_DATA" outfile=/scratch/kocevski/55532/ltcube_517968001_518227201_4FGL_J1354.8-1041_daily_bin1075.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/55532/ft2_4FGL_J1354.8-1041_daily_bin1075.fits
.....................!
real 12.31
user 11.94
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/55532/ft1_filtered_4FGL_J1354.8-1041_daily_bin1075.fits evtable="EVENTS" scfile=/scratch/kocevski/55532/ft2_4FGL_J1354.8-1041_daily_bin1075.fits sctable="SC_DATA" expcube=/scratch/kocevski/55532/ltcube_517968001_518227201_4FGL_J1354.8-1041_daily_bin1075.fits outfile=/scratch/kocevski/55532/expmap_517968001_518227201_4FGL_J1354.8-1041_daily_bin1075.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/55532/ltcube_517968001_518227201_4FGL_J1354.8-1041_daily_bin1075.fits
.....................!
real 191.31
user 185.58
sys 5.08

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/55532/ft1_filtered_4FGL_J1354.8-1041_daily_bin1075.fits scfile=/scratch/kocevski/55532/ft2_4FGL_J1354.8-1041_daily_bin1075.fits outfile=/scratch/kocevski/55532/cmap_517968001_518227201_4FGL_J1354.8-1041_daily_bin1075.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.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/55532/ft1_filtered_4FGL_J1354.8-1041_daily_bin1075.fits scfile=/scratch/kocevski/55532/ft2_4FGL_J1354.8-1041_daily_bin1075.fits outfile=/scratch/kocevski/55532/cmap_HighResolution_517968001_518227201_4FGL_J1354.8-1041_daily_bin1075.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.36
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/55532/ft1_filtered_4FGL_J1354.8-1041_daily_bin1075.fits evtable="EVENTS" scfile=/scratch/kocevski/55532/ft2_4FGL_J1354.8-1041_daily_bin1075.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/55532/Model_4FGL_J1354.8-1041_daily_bin1075.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/55532/ft1_filtered_4FGL_J1354.8-1041_daily_bin1075.fits.....................!
real 66.58
user 65.19
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    .10111E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.2948       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.8646       1.0000         .10000E-03   10000.    
     5 'norm      '    2.2145       1.0000         .10000E-03   10000.    
     6 'norm      '    3.5909       1.0000         .10000E-03   10000.    
     7 'norm      '    1.7264       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 '    4.5709       1.0000         .10000E-03   10000.    
    11 'norm      '    2.0464       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .21312E-02   1.0000         .10000E-03   10000.    
    15 'norm      '    .11474E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10059E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    4.1023       1.0000         .10000E-03   10000.    
    18 'norm      '    12.372       1.0000         .10000E-03   10000.    
    19 'Prefactor '    22.825       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    11.475       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0094       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .90121       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=   8931.910     FROM MIGRAD    STATUS=CONVERGED    532 CALLS     2232 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.4226        .42993E-07** at limit **
   2  Prefactor     .10000E-03    4.2505        .59171E-07** at limit **
   3  Prefactor     1.2941        4.3224       -.12908E-05   -.27416E-03
   4  Prefactor     6.8409        14.325        .47702E-06    .29765E-04
   5  norm          2.2145        1.1089        .27283E-07    .93355E-05
   6  norm          3.5933        2.9842        .18525E-06   -.16834E-02
   7  norm          1.7250        3.3254       -.42572E-06   -.16439E-03
   8  Prefactor     .10000E-03    2.9262        .19295E-08** at limit **
   9  norm          .10000E-03    7.8378        .66517E-07** at limit **
  10  Prefactor     4.5711        4.2322        .42298E-06   -.14241E-02
  11  norm          2.0455        2.1390       -.56709E-08    .26724E-04
  12  Prefactor     .10000E-03    .92519       -.12799E-07** at limit **
  13  Prefactor     .10000E-03    6.6135        .87524E-06** at limit **
  14  Prefactor     .10008E-03    23.034       -.15286E-06** at limit **
  15  norm          .10000E-03    2.5094       -.62616E-06** at limit **
  16  norm          .10000E-03    1.1322        .76207E-08** at limit **
  17  norm          4.1030        6.9207        .41188E-06   -.10607E-04
  18  norm          12.372        6.6427        .45016E-06    .47634E-04
  19  Prefactor     22.827        17.020        .62593E-06    .23268E-04
  20  Prefactor     .10000E-03    6.1902        .78877E-06** at limit **
  21  norm          11.476        8.6447        .29365E-05    .15270E-03
  22  Normalizat    1.0095        .17196       -.25649E-06    .73471E-04
  23  Prefactor     .90109        .92024E-01   -.27850E-06    .14461E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.2941
  Prefactor  = 6.8409
  norm       = 2.21451
  norm       = 3.59328
  norm       = 1.72504
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.57113
  norm       = 2.04554
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100078
  norm       = 0.000100003
  norm       = 0.0001
  norm       = 4.10297
  norm       = 12.3723
  Prefactor  = 22.8267
  Prefactor  = 0.0001
  norm       = 11.4758
  Normalizat = 1.00946
  Prefactor  = 0.901093
 **********
 **   18 **HESSE 
 **********

 FCN=   8931.910     FROM HESSE     STATUS=OK           380 CALLS     2612 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.4246        .14366E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.2934        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.2941        4.3863        .35071E-03   -1.5480    
   4  Prefactor     6.8409        15.848        .15313E-03   -1.5185    
   5  norm          2.2145        1.1072        .67620E-04   -1.5410    
   6  norm          3.5933        3.6796        .60186E-03   -1.5329    
   7  norm          1.7250        3.2815        .22076E-03   -1.5445    
   8  Prefactor     .10000E-03    2.9404        .15785E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    7.8399        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.5711        5.6605        .94141E-03   -1.5280    
  11  norm          2.0455        2.1407        .13693E-03   -1.5422    
  12  Prefactor     .10000E-03    .92977        .88725E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.6227        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10008E-03    24.718        .13417       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    6.3689        .28693E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.1723        .19597E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.1030        6.9113        .19904E-03   -1.5303    
  18  norm          12.372        6.6371        .11389E-03   -1.5004    
  19  Prefactor     22.827        17.022        .83841E-04   -1.4752    
  20  Prefactor     .10000E-03    6.1920        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          11.476        8.6722        .11826E-03   -1.5030    
  22  Normalizat    1.0095        .20079        .30453E-03   -.92714    
  23  Prefactor     .90109        .10834        .17599E-03   -.96103    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.22349e-09
Minuit parameter uncertainties:
  1  1.42889e-06
  2  6.37313e-06
  3  4.38742
  4  15.8578
  5  1.10721
  6  3.67986
  7  3.28182
  8  1.11806e-08
  9  1.21722e-06
  10  5.66112
  11  2.1408
  12  1.55412e-06
  13  9.11864e-06
  14  0.00278677
  15  0.000293362
  16  1.42344e-06
  17  6.91263
  18  6.63749
  19  17.026
  20  5.8298e-07
  21  8.67314
  22  0.200944
  23  0.108364
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.000e-04  2.934e-04  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.011e-01  1.084e-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.009e+00  2.009e-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.02e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.88e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/55532/likelihoodResults_517968001_518227201_4FGL_J1354.8-1041_daily_bin1075.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) = 8931.91086484
delta logL = -0.000745425388232

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8931.91012002
delta logL = -6.07336914982e-07

Fit tolerance = 1e-08

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

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

 FCN=   8931.910     FROM MIGRAD    STATUS=FAILED        89 CALLS      247 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10315E-03    1290.3        .28977E-02** at limit **
   2  alpha         1.9843        2.5317        .16569E-01    .42583E-05
   3  Normalizat    1.0095        .81993E-01    .30453E-03   -.70707E-04
   4  Prefactor     .90109        .45401E-01    .17599E-03   -.12359E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8931.910     FROM SIMPLEX   STATUS=PROGRESS     145 CALLS      392 TOTAL
                     EDM=   .75E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10288E-03    1290.3        .40916E-03** at limit **
   2  alpha         1.9842        2.5317        .32145E-04    .42583E-05
   3  Normalizat    1.0095        .81993E-01    .24842E-05   -.70707E-04
   4  Prefactor     .90109        .45401E-01    .66742E-06   -.12359E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8931.910     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      438 TOTAL
                     EDM=   .90E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.8295        .57954E-03** at limit **
   2  alpha         1.9105        2.6677        .33137E-02   -.82338E-08
   3  Normalizat    1.0095        .19357        .12181E-04   -.29866E-05
   4  Prefactor     .90109        .10703        .35197E-04    .71964E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.91051
  Normalizat = 1.00946
  Prefactor  = 0.901093
 **********
 **   18 **HESSE 
 **********

 FCN=   8931.910     FROM HESSE     STATUS=OK            23 CALLS      461 TOTAL
                     EDM=   .91E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.8301        .11591E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9105        2.5875        .66275E-03   -.23804    
   3  Normalizat    1.0095        .19348        .24362E-05   -.92714    
   4  Prefactor     .90109        .10698        .70394E-05   -.96103    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.06249e-12
Minuit parameter uncertainties:
  1  9.61083e-06
  2  204.745
  3  0.193611
  4  0.107007
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/55532': 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) = 8931.91011801
delta logL = 1.40600241139e-06

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.000e-04  9.611e-06  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  1.911e+00  2.047e+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:  9.011e-01  1.070e-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.009e+00  1.936e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/55532/cmap_HighResolution_517968001_518227201_4FGL_J1354.8-1041_daily_bin1075.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.88e-05', job_status='DONE', photon_flux_upper_limit='5.02e-08', time_completed='2021-09-08 17:46:33.800245', job_id='55532', GAL2='0.90', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1631148393.8', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.41e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='1075' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:46:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 55532: <4FGL_J1354.8-1041_daily_bin1075> in cluster <slac> Done

Job <4FGL_J1354.8-1041_daily_bin1075> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep  8 17:31:11 2021
Job was executed on host(s) <bullet0261>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:31:12 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:12 2021
Terminated at Wed Sep  8 17:46:34 2021
Results reported at Wed Sep  8 17:46:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin1075 208.718 -10.6932 517968001 518227201 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 :                                   739.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             303.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   922 sec.
    Turnaround time :                            923 sec.

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

