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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin349
RA = 208.718, Dec = -10.6932
tmin = 329788801, tmax = 330048001
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='53765', job_status='RUN', time_executed='2021-09-08 17:28:09.184712', time_epoch_executed='1631147289.18' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='349'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/53765

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/53765/ft1_4FGL_J1354.8-1041_daily_bin349.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/53765/ft2_4FGL_J1354.8-1041_daily_bin349.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/53765/ft1_4FGL_J1354.8-1041_daily_bin349.fits outfile=/scratch/kocevski/53765/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin349.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=329788801.0 tmax=330048001.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.53
user 3.29
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/53765/ft1_filtered_4FGL_J1354.8-1041_daily_bin349.fits" evtable="EVENTS" scfile=/scratch/kocevski/53765/ft2_4FGL_J1354.8-1041_daily_bin349.fits sctable="SC_DATA" outfile=/scratch/kocevski/53765/ltcube_329788801_330048001_4FGL_J1354.8-1041_daily_bin349.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/53765/ft2_4FGL_J1354.8-1041_daily_bin349.fits
.....................!
real 13.62
user 13.16
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/53765/ft1_filtered_4FGL_J1354.8-1041_daily_bin349.fits evtable="EVENTS" scfile=/scratch/kocevski/53765/ft2_4FGL_J1354.8-1041_daily_bin349.fits sctable="SC_DATA" expcube=/scratch/kocevski/53765/ltcube_329788801_330048001_4FGL_J1354.8-1041_daily_bin349.fits outfile=/scratch/kocevski/53765/expmap_329788801_330048001_4FGL_J1354.8-1041_daily_bin349.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/53765/ltcube_329788801_330048001_4FGL_J1354.8-1041_daily_bin349.fits
.....................!
real 191.87
user 186.47
sys 4.91

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/53765/ft1_filtered_4FGL_J1354.8-1041_daily_bin349.fits scfile=/scratch/kocevski/53765/ft2_4FGL_J1354.8-1041_daily_bin349.fits outfile=/scratch/kocevski/53765/cmap_329788801_330048001_4FGL_J1354.8-1041_daily_bin349.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/53765/ft1_filtered_4FGL_J1354.8-1041_daily_bin349.fits scfile=/scratch/kocevski/53765/ft2_4FGL_J1354.8-1041_daily_bin349.fits outfile=/scratch/kocevski/53765/cmap_HighResolution_329788801_330048001_4FGL_J1354.8-1041_daily_bin349.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.54
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/53765/ft1_filtered_4FGL_J1354.8-1041_daily_bin349.fits evtable="EVENTS" scfile=/scratch/kocevski/53765/ft2_4FGL_J1354.8-1041_daily_bin349.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/53765/Model_4FGL_J1354.8-1041_daily_bin349.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/53765/ft1_filtered_4FGL_J1354.8-1041_daily_bin349.fits.....................!
real 69.34
user 68.03
sys 1.11

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .27758E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.2113       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .15837E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .62912       1.0000         .10000E-03   10000.    
     6 'norm      '    4.6898       1.0000         .10000E-03   10000.    
     7 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.7653       1.0000         .10000E-03   10000.    
     9 'norm      '    9.3239       1.0000         .10000E-03   10000.    
    10 'Prefactor '    23.087       1.0000         .10000E-03   10000.    
    11 'norm      '    .87057       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .17252E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10470E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    22.224       1.0000         .10000E-03   10000.    
    15 'norm      '    1.6677       1.0000         .10000E-03   10000.    
    16 'norm      '    .10034E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    8.7672       1.0000         .10000E-03   10000.    
    18 'norm      '    3.7067       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.6022       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .14705E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .19342E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .99552       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .93978       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=   9361.106     FROM MIGRAD    STATUS=CONVERGED    514 CALLS     2578 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.5769        .50460E-07** at limit **
   2  Prefactor     .10011E-03    4.4324        .93109E-06** at limit **
   3  Prefactor     7.2092        6.0039        .17990E-06   -.13840E-03
   4  Prefactor     .10000E-03    8.2001        .26889E-06** at limit **
   5  norm          .62889        .83201        .97096E-07    .31337E-03
   6  norm          4.6917        2.2977        .45657E-07   -.27452E-03
   7  norm          .10000E-03    1.2475       -.15237E-07** at limit **
   8  Prefactor     3.7593        5.8737       -.54245E-07   -.33470E-04
   9  norm          9.3235        29.024        .24824E-05   -.20291E-04
  10  Prefactor     23.034        9.2370        .53141E-06    .51754E-03
  11  norm          .87047        3.3616        .23348E-05   -.19266E-03
  12  Prefactor     .10000E-03    1.5652        .59731E-07** at limit **
  13  Prefactor     .10000E-03    11.547       -.15032E-05** at limit **
  14  Prefactor     22.218        23.051       -.11693E-05   -.16645E-03
  15  norm          1.6685        2.6112        .19002E-06   -.40872E-04
  16  norm          .10000E-03    .59592       -.14507E-07** at limit **
  17  norm          8.7675        7.7859        .38863E-07    .65717E-05
  18  norm          3.6886        3.9744       -.29743E-07   -.19707E-03
  19  Prefactor     2.7029        16.030        .22615E-05    .56335E-04
  20  Prefactor     .10000E-03    4.6447       -.13711E-06** at limit **
  21  norm          .10000E-03    12.820        .10542E-05** at limit **
  22  Normalizat    .99558        .16996       -.42966E-06   -.23686E-03
  23  Prefactor     .93977        .92695E-01   -.29688E-06   -.34892E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.00010011
  Prefactor  = 7.20921
  Prefactor  = 0.0001
  norm       = 0.628887
  norm       = 4.69168
  norm       = 0.0001
  Prefactor  = 3.75932
  norm       = 9.32348
  Prefactor  = 23.034
  norm       = 0.870471
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 22.2177
  norm       = 1.66847
  norm       = 0.0001
  norm       = 8.76746
  norm       = 3.68861
  Prefactor  = 2.7029
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.995579
  Prefactor  = 0.939767
 **********
 **   18 **HESSE 
 **********

 FCN=   9361.106     FROM HESSE     STATUS=OK           378 CALLS     2956 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.5862        .17872E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10011E-03    35.170        .37914E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.2092        5.9990        .14937E-03   -1.5171    
   4  Prefactor     .10000E-03    8.2846        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .62889        .69769        .97937E-03   -1.5549    
   6  norm          4.6917        2.2869        .98602E-04   -1.5275    
   7  norm          .10000E-03    1.2513        .10547E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.7593        5.8496        .20806E-03   -1.5320    
   9  norm          9.3235        29.145        .65624E-03   -1.5097    
  10  Prefactor     23.034        9.5222        .83364E-04   -1.4748    
  11  norm          .87047        3.4698        .33517E-03   -1.5521    
  12  Prefactor     .10000E-03    4.6852        .22947E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    11.813        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     22.218        23.213        .84965E-04   -1.4765    
  15  norm          1.6685        2.5686        .18898E-03   -1.5450    
  16  norm          .10000E-03    .60514        .72887E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          8.7675        7.7875        .13537E-03   -1.5116    
  18  norm          3.6886        3.9809        .19427E-03   -1.5324    
  19  Prefactor     2.7029        16.183        .25290E-03   -1.5379    
  20  Prefactor     .10000E-03    4.6500        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    13.146        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .99558        .19641        .31150E-03   -.93179    
  23  Prefactor     .93977        .10877        .17721E-03   -.94765    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.3148e-09
Minuit parameter uncertainties:
  1  3.99127e-06
  2  0.00394377
  3  5.99949
  4  2.13519e-05
  5  0.6977
  6  2.28692
  7  5.0911e-07
  8  5.85053
  9  29.1891
  10  9.5228
  11  3.47064
  12  3.76331e-06
  13  0.000173663
  14  23.2227
  15  2.56872
  16  4.95655e-07
  17  7.78836
  18  3.98123
  19  13.2327
  20  1.00032e-05
  21  0.00013081
  22  0.196556
  23  0.108798
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.668e+00  2.569e+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

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  9.398e-01  1.088e-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:  9.956e-01  1.966e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/53765/likelihoodResults_329788801_330048001_4FGL_J1354.8-1041_daily_bin349.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9361.10627017
delta logL = 2.77673243545e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9361.10620541
delta logL = 9.25263775571e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6685       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2977       1.0000          .0000       5.0000    
     3 'Normalizat'    .99524       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93986       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=   9361.106     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      240 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6685        183.37        .18864E-03    .15127E-03
   2  alpha         2.2978        3.4696        .50000       -.60023E-05
   3  Normalizat    .99524        .24544        .31155E-03   -.19946E-03
   4  Prefactor     .93986        .60073E-01    .17721E-03   -.76524E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.66847
  alpha      = 2.29779
  Normalizat = 0.995237
  Prefactor  = 0.939861
 **********
 **   18 **HESSE 
 **********

 FCN=   9361.106     FROM HESSE     STATUS=OK            27 CALLS      267 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6685        2.5763        .75457E-05   -1.5450    
   2  alpha         2.2978        1.7894        .55992E-01   -.80971E-01
   3  Normalizat    .99524        .19347        .12462E-04   -.93190    
   4  Prefactor     .93986        .10703        .35441E-04   -.94762    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31882e-10
Minuit parameter uncertainties:
  1  2.57647
  2  1.99612
  3  0.193606
  4  0.107058
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/53765': 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) = 9361.10620541
delta logL = 9.25270469452e-05

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.668e+00  2.576e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.298e+00  1.996e+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:  9.399e-01  1.071e-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:  9.952e-01  1.936e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.76
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/53765/cmap_HighResolution_329788801_330048001_4FGL_J1354.8-1041_daily_bin349.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.98e-05', job_status='DONE', photon_flux_upper_limit='5.29e-08', time_completed='2021-09-08 17:41:58.377149', job_id='53765', GAL2='0.94', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1631148118.38', return_code2='0', ts='0.76', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='9.25e-05', ts2='0.75', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='349' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:41:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0036>
Subject: Job 53765: <4FGL_J1354.8-1041_daily_bin349> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin349 208.718 -10.6932 329788801 330048001 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 :                                   784.02 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             282.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   981 sec.
    Turnaround time :                            983 sec.

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

