/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 0 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 = 7402
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1354.8-1041_daily_bin414
RA = 208.718, Dec = -10.6932
tmin = 346636801, tmax = 346896001
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='53868', job_status='RUN', time_executed='2021-09-08 17:25:54.422080', time_epoch_executed='1631147154.42' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='414'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/53868

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/53868/ft1_4FGL_J1354.8-1041_daily_bin414.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/53868/ft2_4FGL_J1354.8-1041_daily_bin414.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/53868/ft1_4FGL_J1354.8-1041_daily_bin414.fits outfile=/scratch/kocevski/53868/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin414.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=346636801.0 tmax=346896001.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.52
user 3.20
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/53868/ft1_filtered_4FGL_J1354.8-1041_daily_bin414.fits" evtable="EVENTS" scfile=/scratch/kocevski/53868/ft2_4FGL_J1354.8-1041_daily_bin414.fits sctable="SC_DATA" outfile=/scratch/kocevski/53868/ltcube_346636801_346896001_4FGL_J1354.8-1041_daily_bin414.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/53868/ft2_4FGL_J1354.8-1041_daily_bin414.fits
.....................!
real 14.25
user 13.42
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/53868/ft1_filtered_4FGL_J1354.8-1041_daily_bin414.fits evtable="EVENTS" scfile=/scratch/kocevski/53868/ft2_4FGL_J1354.8-1041_daily_bin414.fits sctable="SC_DATA" expcube=/scratch/kocevski/53868/ltcube_346636801_346896001_4FGL_J1354.8-1041_daily_bin414.fits outfile=/scratch/kocevski/53868/expmap_346636801_346896001_4FGL_J1354.8-1041_daily_bin414.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/53868/ltcube_346636801_346896001_4FGL_J1354.8-1041_daily_bin414.fits
.....................!
real 191.57
user 186.00
sys 5.06

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/53868/ft1_filtered_4FGL_J1354.8-1041_daily_bin414.fits scfile=/scratch/kocevski/53868/ft2_4FGL_J1354.8-1041_daily_bin414.fits outfile=/scratch/kocevski/53868/cmap_346636801_346896001_4FGL_J1354.8-1041_daily_bin414.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=208.718 yref=-10.6932 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.39
sys 0.13

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/53868/ft1_filtered_4FGL_J1354.8-1041_daily_bin414.fits evtable="EVENTS" scfile=/scratch/kocevski/53868/ft2_4FGL_J1354.8-1041_daily_bin414.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/53868/Model_4FGL_J1354.8-1041_daily_bin414.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/53868/ft1_filtered_4FGL_J1354.8-1041_daily_bin414.fits.....................!
real 58.20
user 56.52
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.1300       1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.526       1.0000         .10000E-03   10000.    
     3 'Prefactor '    23.838       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .27631E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.5229       1.0000         .10000E-03   10000.    
     7 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.3261       1.0000         .10000E-03   10000.    
     9 'norm      '    .54771E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.967       1.0000         .10000E-03   10000.    
    11 'norm      '    4.6567       1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.040       1.0000         .10000E-03   10000.    
    13 'Prefactor '    15.509       1.0000         .10000E-03   10000.    
    14 'Prefactor '    59.824       1.0000         .10000E-03   10000.    
    15 'norm      '    .10154E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.6001       1.0000         .10000E-03   10000.    
    19 'Prefactor '    16.098       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2125       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .90942       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=   7157.172     FROM MIGRAD    STATUS=CONVERGED    893 CALLS     2996 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.1305        8.4570        .22916E-03    .67967E-04
   2  Prefactor     13.526        9.4192        .10891E-03    .58247E-04
   3  Prefactor     23.838        10.865        .82043E-04    .63049E-04
   4  Prefactor     .10001E-03    22.865        .36285E-03** at limit **
   5  norm          .32664E-03    2.2732        .21102E-01** at limit **
   6  norm          1.5259        2.5354        .16908E-03    .16594E-03
   7  norm          .10000E-03    5.0230        .18142E-02** at limit **
   8  Prefactor     4.3215        24.846        .19367E-03    .78599E-04
   9  norm          .10000E-03    24.294        .13816    ** at limit **
  10  Prefactor     13.966        17.347        .10717E-03   -.38294E-04
  11  norm          4.6570        4.1763        .15735E-03   -.21083E-03
  12  Prefactor     13.041        6.4112        .55461E-03    .60327E-03
  13  Prefactor     15.510        23.006        .10170E-03   -.26381E-04
  14  Prefactor     59.814        43.404        .51873E-04    .11475E-03
  15  norm          .10000E-03    6.6054        .18142E-02** at limit **
  16  norm          .10000E-03    .55669        .61509E-03** at limit **
  17  norm          .10000E-03    4.3071        .17138E-02** at limit **
  18  norm          4.6010        5.1081        .18767E-03   -.18779E-05
  19  Prefactor     16.091        18.839        .99825E-04    .11092E-03
  20  Prefactor     .10000E-03    13.582        .18142E-02** at limit **
  21  norm          .10000E-03    8.6956        .18142E-02** at limit **
  22  Normalizat    1.2126        .27195        .32704E-03   -.28827E-03
  23  Prefactor     .90939        .13901        .19700E-03    .21307E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.1305
  Prefactor  = 13.5261
  Prefactor  = 23.8381
  Prefactor  = 0.000100014
  norm       = 0.000326637
  norm       = 1.52589
  norm       = 0.000100001
  Prefactor  = 4.32149
  norm       = 0.0001
  Prefactor  = 13.9663
  norm       = 4.65702
  Prefactor  = 13.0409
  Prefactor  = 15.5104
  Prefactor  = 59.814
  norm       = 0.000100001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 4.60102
  Prefactor  = 16.0907
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.21262
  Prefactor  = 0.909391
 **********
 **   18 **HESSE 
 **********

 FCN=   7157.172     FROM HESSE     STATUS=OK           366 CALLS     3362 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.1305        8.4569        .91662E-05   -1.5354    
   2  Prefactor     13.526        9.4189        .43564E-05   -1.4972    
   3  Prefactor     23.838        10.866        .32817E-05   -1.4731    
   4  Prefactor     .10001E-03    22.865        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .32664E-03    1.3556        .28924E-01   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.5259        2.5350        .67632E-05   -1.5461    
   7  norm          .10000E-03    5.0272        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.3215        24.790        .77470E-05   -1.5292    
   9  norm          .10000E-03    24.049        .13946       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     13.966        17.327        .42870E-05   -1.4960    
  11  norm          4.6570        4.1761        .62938E-05   -1.5276    
  12  Prefactor     13.041        6.4093        .22185E-04   -1.4986    
  13  Prefactor     15.510        23.005        .40682E-05   -1.4920    
  14  Prefactor     59.814        43.404        .10375E-04   -1.4160    
  15  norm          .10000E-03    6.6082        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .55670        .12302E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    4.3073        .34276E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.6010        5.1079        .75067E-05   -1.5279    
  19  Prefactor     16.091        18.838        .39930E-05   -1.4905    
  20  Prefactor     .10000E-03    13.584        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    8.6965        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2126        .27165        .65407E-04   -.86214    
  23  Prefactor     .90939        .13906        .39399E-04   -.95814    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.50446e-09
Minuit parameter uncertainties:
  1  8.46013
  2  9.41991
  3  10.8667
  4  0.00111606
  5  0.035057
  6  2.53519
  7  0.000118319
  8  20.7136
  9  0.000134243
  10  17.3329
  11  4.17637
  12  6.40959
  13  23.0178
  14  43.427
  15  0.000197521
  16  1.63048e-06
  17  4.79755e-07
  18  5.10836
  19  18.8448
  20  3.50044e-05
  21  1.88588e-05
  22  0.271969
  23  0.139117
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.000e-04  1.975e-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.094e-01  1.391e-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.213e+00  2.720e-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: 8.38e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.14e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/53868/likelihoodResults_346636801_346896001_4FGL_J1354.8-1041_daily_bin414.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) = 7157.17302235
delta logL = -0.000721752488971

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7157.12654211
delta logL = 0.0457584857331

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .77141E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1855       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91794       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=   7157.127     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      324 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .77215E-01    .28360        .54870E-03    .12446E-01
   2  alpha         5.0000        4.9968        .50000    ** at limit **
   3  Normalizat    1.1855        .26967        .33017E-03    .25480E-05
   4  Prefactor     .91794        .13780        .19615E-03   -.42889E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0772146
  alpha      = 5
  Normalizat = 1.18551
  Prefactor  = 0.917942
 **********
 **   18 **HESSE 
 **********

 FCN=   7157.127     FROM HESSE     STATUS=OK            31 CALLS      355 TOTAL
                     EDM=   .36E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .77215E-01    .27097        .10974E-03   -1.5652    
   2  alpha         5.0000        4.9762        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.1855        .27033        .13207E-04   -.87052    
   4  Prefactor     .91794        .13804        .78461E-05   -.95517    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.56749e-12
Minuit parameter uncertainties:
  1  0.270972
  2  2.55758e-05
  3  0.270649
  4  0.138088
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/53868': 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) = 7157.12654191
delta logL = 0.0457586809789

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  7.721e-02  2.710e-01  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  5.000e+00  2.558e-05  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.179e-01  1.381e-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.186e+00  2.706e-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/53868/cmap_HighResolution_346636801_346896001_4FGL_J1354.8-1041_daily_bin414.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.14e-05', job_status='DONE', photon_flux_upper_limit='8.38e-08', time_completed='2021-09-08 17:37:34.979238', job_id='53868', GAL2='0.92', fit_tolerance='1e-08', EG2='1.19', EG='1.21', time_epoch_completed='1631147854.98', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='4.58e-02', ts2='0.10', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='414' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:37:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 53868: <4FGL_J1354.8-1041_daily_bin414> in cluster <slac> Done

Job <4FGL_J1354.8-1041_daily_bin414> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Wed Sep  8 17:25:44 2021
Job was executed on host(s) <bullet0209>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:25:45 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:25:45 2021
Terminated at Wed Sep  8 17:37:35 2021
Results reported at Wed Sep  8 17:37:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin414 208.718 -10.6932 346636801 346896001 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 :                                   694.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             379.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   710 sec.
    Turnaround time :                            711 sec.

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

