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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin1421
RA = 208.718, Dec = -10.6932
tmin = 607651201, tmax = 607910401
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='59463', job_status='RUN', time_executed='2021-09-08 17:42:17.405693', time_epoch_executed='1631148137.41' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='1421'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/59463

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/59463/ft1_4FGL_J1354.8-1041_daily_bin1421.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/59463/ft2_4FGL_J1354.8-1041_daily_bin1421.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/59463/ft1_4FGL_J1354.8-1041_daily_bin1421.fits outfile=/scratch/kocevski/59463/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin1421.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=607651201.0 tmax=607910401.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.82
user 3.57
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/59463/ft1_filtered_4FGL_J1354.8-1041_daily_bin1421.fits" evtable="EVENTS" scfile=/scratch/kocevski/59463/ft2_4FGL_J1354.8-1041_daily_bin1421.fits sctable="SC_DATA" outfile=/scratch/kocevski/59463/ltcube_607651201_607910401_4FGL_J1354.8-1041_daily_bin1421.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/59463/ft2_4FGL_J1354.8-1041_daily_bin1421.fits
.....................!
real 12.13
user 11.78
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/59463/ft1_filtered_4FGL_J1354.8-1041_daily_bin1421.fits evtable="EVENTS" scfile=/scratch/kocevski/59463/ft2_4FGL_J1354.8-1041_daily_bin1421.fits sctable="SC_DATA" expcube=/scratch/kocevski/59463/ltcube_607651201_607910401_4FGL_J1354.8-1041_daily_bin1421.fits outfile=/scratch/kocevski/59463/expmap_607651201_607910401_4FGL_J1354.8-1041_daily_bin1421.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/59463/ltcube_607651201_607910401_4FGL_J1354.8-1041_daily_bin1421.fits
.....................!
real 191.05
user 185.29
sys 5.38

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/59463/ft1_filtered_4FGL_J1354.8-1041_daily_bin1421.fits scfile=/scratch/kocevski/59463/ft2_4FGL_J1354.8-1041_daily_bin1421.fits outfile=/scratch/kocevski/59463/cmap_607651201_607910401_4FGL_J1354.8-1041_daily_bin1421.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.55
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/59463/ft1_filtered_4FGL_J1354.8-1041_daily_bin1421.fits scfile=/scratch/kocevski/59463/ft2_4FGL_J1354.8-1041_daily_bin1421.fits outfile=/scratch/kocevski/59463/cmap_HighResolution_607651201_607910401_4FGL_J1354.8-1041_daily_bin1421.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.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/59463/ft1_filtered_4FGL_J1354.8-1041_daily_bin1421.fits evtable="EVENTS" scfile=/scratch/kocevski/59463/ft2_4FGL_J1354.8-1041_daily_bin1421.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/59463/Model_4FGL_J1354.8-1041_daily_bin1421.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/59463/ft1_filtered_4FGL_J1354.8-1041_daily_bin1421.fits.....................!
real 57.34
user 55.99
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.4506       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10355E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10093E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    27.849       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    42.979       1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.590       1.0000         .10000E-03   10000.    
    11 'norm      '    .39397       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    26.896       1.0000         .10000E-03   10000.    
    14 'Prefactor '    25.306       1.0000         .10000E-03   10000.    
    15 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    19.831       1.0000         .10000E-03   10000.    
    17 'norm      '    5.6286       1.0000         .10000E-03   10000.    
    18 'norm      '    12.885       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    30.668       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0680       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1031       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=   7036.269     FROM MIGRAD    STATUS=CONVERGED    495 CALLS     2524 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    9.6339        .67400E-05** at limit **
   2  Prefactor     7.4490        9.0976       -.51609E-06   -.34077E-04
   3  Prefactor     .10000E-03    3.4677        .31473E-08** at limit **
   4  Prefactor     .10000E-03    31.153       -.23231E-05** at limit **
   5  norm          .10000E-03    .64338       -.10844E-06** at limit **
   6  norm          .10000E-03    1.7032       -.16201E-06** at limit **
   7  norm          27.844        10.339       -.23235E-06    .14454E-03
   8  Prefactor     .10000E-03    7.7305       -.22292E-05** at limit **
   9  norm          42.973        38.881       -.66858E-05    .43973E-05
  10  Prefactor     12.588        14.724       -.10258E-05    .58432E-04
  11  norm          .40122        3.1498       -.63179E-06   -.11477E-03
  12  Prefactor     .10000E-03    2.3802       -.61706E-08** at limit **
  13  Prefactor     26.877        31.534       -.23830E-04    .19643E-04
  14  Prefactor     25.305        37.889       -.12256E-05    .24533E-04
  15  norm          .10000E-03    5.4539        .29266E-08** at limit **
  16  norm          19.831        4.7297        .29558E-06   -.39113E-04
  17  norm          5.6286        7.5811       -.40674E-06   -.34439E-03
  18  norm          12.885        8.2611       -.19883E-06   -.67150E-04
  19  Prefactor     .10000E-03    17.579        .10886E-04** at limit **
  20  Prefactor     .10000E-03    13.121       -.11793E-04** at limit **
  21  norm          30.670        23.421        .17570E-05    .45100E-04
  22  Normalizat    1.0683        .26060        .66346E-05   -.79890E-04
  23  Prefactor     1.1030        .13387       -.12170E-05    .32438E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 7.44904
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 27.8444
  Prefactor  = 0.0001
  norm       = 42.9734
  Prefactor  = 12.5883
  norm       = 0.40122
  Prefactor  = 0.0001
  Prefactor  = 26.8774
  Prefactor  = 25.305
  norm       = 0.0001
  norm       = 19.8307
  norm       = 5.62858
  norm       = 12.8846
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 30.6701
  Normalizat = 1.0683
  Prefactor  = 1.10297
 **********
 **   18 **HESSE 
 **********

 FCN=   7036.269     FROM HESSE     STATUS=OK           372 CALLS     2896 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    9.7080        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.4490        9.0947        .14693E-03   -1.5162    
   3  Prefactor     .10000E-03    3.4771        .15253E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    31.575        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.0976        .12868E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.7090        .10674E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          27.844        10.307        .75916E-04   -1.4652    
   8  Prefactor     .10000E-03    7.7396        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          42.973        38.899        .61150E-04   -1.4396    
  10  Prefactor     12.588        14.657        .11289E-03   -1.4998    
  11  norm          .40122        17.552        .27988E-02   -1.5581    
  12  Prefactor     .10000E-03    2.3942        .12633E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     26.877        31.583        .77246E-04   -1.4671    
  14  Prefactor     25.305        37.825        .79632E-04   -1.4701    
  15  norm          .10000E-03    5.5431        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          19.831        4.7334        .83991E-04   -1.4817    
  17  norm          5.6286        7.5821        .84662E-03   -1.5233    
  18  norm          12.885        8.2591        .11159E-03   -1.4990    
  19  Prefactor     .10000E-03    17.620        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    13.157        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          30.670        23.457        .72351E-04   -1.4600    
  22  Normalizat    1.0683        .29086        .38562E-03   -.90776    
  23  Prefactor     1.1030        .15344        .20120E-03   -.89372    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.93653e-08
Minuit parameter uncertainties:
  1  3.07202e-05
  2  9.09636
  3  8.18519e-06
  4  6.49615e-05
  5  4.64065e-06
  6  2.23844e-06
  7  10.3079
  8  3.42692e-06
  9  38.9215
  10  14.6607
  11  5.3084
  12  6.54243e-06
  13  31.6026
  14  37.8608
  15  1.88064e-05
  16  4.7335
  17  7.58344
  18  8.2598
  19  7.30181e-05
  20  2.39076e-05
  21  23.4645
  22  0.291292
  23  0.153499
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.000e-04  1.881e-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.103e+00  1.535e-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.068e+00  2.913e-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: 7.93e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.97e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/59463/likelihoodResults_607651201_607910401_4FGL_J1354.8-1041_daily_bin1421.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) = 7036.27031399
delta logL = -0.000859481498082

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7036.26945405
delta logL = 4.57067471871e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11011E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2123       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0683       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1030       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=   7036.042     FROM MIGRAD    STATUS=CONVERGED    147 CALLS      292 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8066        3.5057        .36285E-02    .48640E-03
   2  alpha         .88083        .80980        .16600       -.33293E-04
   3  Normalizat    1.0745        .27623        .38562E-03   -.40691E-03
   4  Prefactor     1.0959        .14753        .20120E-03   -.77327E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.8066
  alpha      = 0.880827
  Normalizat = 1.07446
  Prefactor  = 1.09587
 **********
 **   18 **HESSE 
 **********

 FCN=   7036.042     FROM HESSE     STATUS=OK            27 CALLS      319 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8066        4.3159        .14514E-03   -1.5439    
   2  alpha         .88083        .98952        .33721E-02   -.70452    
   3  Normalizat    1.0745        .27640        .77124E-04   -.90576    
   4  Prefactor     1.0959        .14766        .40240E-04   -.89599    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.30439e-10
Minuit parameter uncertainties:
  1  4.31665
  2  1.0405
  3  0.276775
  4  0.147713
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/59463': 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) = 7036.0418081
delta logL = 0.227646402435

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.807e+00  4.317e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  8.808e-01  1.040e+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:  1.096e+00  1.477e-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.074e+00  2.768e-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/59463/cmap_HighResolution_607651201_607910401_4FGL_J1354.8-1041_daily_bin1421.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.97e-05', job_status='DONE', photon_flux_upper_limit='7.93e-08', time_completed='2021-09-08 17:55:13.488961', job_id='59463', GAL2='1.10', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1631148913.49', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='2.28e-01', ts2='0.46', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='1421' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:55:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0289>
Subject: Job 59463: <4FGL_J1354.8-1041_daily_bin1421> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin1421 208.718 -10.6932 607651201 607910401 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 :                                   654.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             306.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   882 sec.
    Turnaround time :                            884 sec.

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

