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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin1441
RA = 208.718, Dec = -10.6932
tmin = 612835201, tmax = 613094401
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='59496', job_status='RUN', time_executed='2021-09-08 17:41:26.575583', time_epoch_executed='1631148086.58' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='1441'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/59496

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/59496/ft1_4FGL_J1354.8-1041_daily_bin1441.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/59496/ft2_4FGL_J1354.8-1041_daily_bin1441.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/59496/ft1_4FGL_J1354.8-1041_daily_bin1441.fits outfile=/scratch/kocevski/59496/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin1441.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=612835201.0 tmax=613094401.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 2.90
user 2.69
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/59496/ft2_4FGL_J1354.8-1041_daily_bin1441.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/59496/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin1441.fits evtable="EVENTS" outfile="/scratch/kocevski/59496/ft1_filtered_4FGL_J1354.8-1041_daily_bin1441.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/59496/ft1_filtered_4FGL_J1354.8-1041_daily_bin1441.fits" evtable="EVENTS" scfile=/scratch/kocevski/59496/ft2_4FGL_J1354.8-1041_daily_bin1441.fits sctable="SC_DATA" outfile=/scratch/kocevski/59496/ltcube_612835201_613094401_4FGL_J1354.8-1041_daily_bin1441.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/59496/ft2_4FGL_J1354.8-1041_daily_bin1441.fits
.....................!
real 12.59
user 12.17
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/59496/ft1_filtered_4FGL_J1354.8-1041_daily_bin1441.fits evtable="EVENTS" scfile=/scratch/kocevski/59496/ft2_4FGL_J1354.8-1041_daily_bin1441.fits sctable="SC_DATA" expcube=/scratch/kocevski/59496/ltcube_612835201_613094401_4FGL_J1354.8-1041_daily_bin1441.fits outfile=/scratch/kocevski/59496/expmap_612835201_613094401_4FGL_J1354.8-1041_daily_bin1441.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/59496/ltcube_612835201_613094401_4FGL_J1354.8-1041_daily_bin1441.fits
.....................!
real 192.18
user 186.91
sys 4.85

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

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

This is gtbin version HEAD
real 0.56
user 0.37
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10036E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.4302       1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.177       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .12206E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10096E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.1340       1.0000         .10000E-03   10000.    
     7 'norm      '    20.209       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.7108       1.0000         .10000E-03   10000.    
     9 'norm      '    21.727       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10704E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.0643       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.6173       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10793E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10130E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    6.2538       1.0000         .10000E-03   10000.    
    17 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    46.625       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .18220E-02   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.4216       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .82584       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=   3905.609     FROM MIGRAD    STATUS=CONVERGED    886 CALLS     3246 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.1179        .12382E-02** at limit **
   2  Prefactor     3.4351        12.982        .21840E-03   -.11324E-03
   3  Prefactor     13.158        15.887        .55172E-03   -.11184E-03
   4  Prefactor     .10000E-03    52.125        .18142E-02** at limit **
   5  norm          .10000E-03    .69572        .50380E-03** at limit **
   6  norm          2.1342        4.3923        .87462E-03   -.20641E-03
   7  norm          20.204        11.996        .89096E-04   -.46864E-03
   8  Prefactor     4.7130        17.263        .18540E-03   -.31089E-04
   9  norm          21.731        23.182        .85930E-04    .97242E-05
  10  Prefactor     .10000E-03    9.0860        .18142E-02** at limit **
  11  norm          1.0610        6.6044        .30894E-03    .10880E-03
  12  Prefactor     5.6257        9.9363        .84748E-03    .51836E-03
  13  Prefactor     .10000E-03    21.183        .18142E-02** at limit **
  14  Prefactor     .10000E-03    61.052        .18142E-02** at limit **
  15  norm          .10000E-03    10.839        .18142E-02** at limit **
  16  norm          6.2563        5.3578        .12526E-03   -.19159E-03
  17  norm          .10000E-03    18.745        .18142E-02** at limit **
  18  norm          .10001E-03    18.539        .18142E-02** at limit **
  19  Prefactor     46.638        46.262        .58721E-04   -.45497E-05
  20  Prefactor     .10000E-03    23.782        .18142E-02** at limit **
  21  norm          .10001E-03    42.926        .13781    ** at limit **
  22  Normalizat    1.4221        .38203        .31608E-03   -.18554E-03
  23  Prefactor     .82561        .19628        .21630E-03   -.23690E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 3.43508
  Prefactor  = 13.1576
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 2.13424
  norm       = 20.2041
  Prefactor  = 4.71299
  norm       = 21.7307
  Prefactor  = 0.0001
  norm       = 1.06101
  Prefactor  = 5.62574
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 6.25633
  norm       = 0.0001
  norm       = 0.00010001
  Prefactor  = 46.6378
  Prefactor  = 0.0001
  norm       = 0.00010001
  Normalizat = 1.42213
  Prefactor  = 0.825612
 **********
 **   18 **HESSE 
 **********

 FCN=   3905.609     FROM HESSE     STATUS=OK           358 CALLS     3604 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.1180        .24763E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.4351        12.978        .87360E-05   -1.5337    
   3  Prefactor     13.158        15.881        .22069E-04   -1.4982    
   4  Prefactor     .10000E-03    52.133        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    .69576        .10076E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.1342        4.3871        .34985E-04   -1.5416    
   7  norm          20.204        11.988        .17819E-04   -1.4809    
   8  Prefactor     4.7130        17.262        .74159E-05   -1.5274    
   9  norm          21.731        23.184        .34372E-05   -1.4775    
  10  Prefactor     .10000E-03    9.0865        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.0610        6.6024        .12357E-04   -1.5502    
  12  Prefactor     5.6257        9.9289        .33899E-04   -1.5234    
  13  Prefactor     .10000E-03    21.185        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    61.056        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    10.845        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          6.2563        5.3575        .50105E-05   -1.5208    
  17  norm          .10000E-03    18.750        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10001E-03    18.545        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     46.638        46.278        .23488E-05   -1.4341    
  20  Prefactor     .10000E-03    23.782        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10001E-03    42.590        .13882       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.4221        .38219        .63215E-04   -.79991    
  23  Prefactor     .82561        .19642        .43259E-04   -.98791    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55921e-09
Minuit parameter uncertainties:
  1  5.77365e-06
  2  12.989
  3  15.8857
  4  0.000438029
  5  5.73413e-06
  6  4.38775
  7  11.9898
  8  17.2803
  9  23.194
  10  4.1807e-05
  11  5.29408
  12  9.93176
  13  2.82141e-06
  14  3.85336e-05
  15  4.69376e-05
  16  5.35791
  17  2.88805e-05
  18  0.000866819
  19  46.3132
  20  0.000123536
  21  0.00130901
  22  0.382964
  23  0.196586
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.000e-04  4.694e-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:  8.256e-01  1.966e-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.422e+00  3.830e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 208.718 -10.693
Photon Flux Upper Limit: 1.28e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.78e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/59496/likelihoodResults_612835201_613094401_4FGL_J1354.8-1041_daily_bin1441.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) = 3905.60943276
delta logL = -0.000439594877207

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3905.60899293
delta logL = 2.2627045837e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3065       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4222       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82560       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.

 FCN=   3905.609     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      198 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    13.507        .90712E-02** at limit **
   2  alpha         2.3441        3.5540        .41308       -.16812E-04
   3  Normalizat    1.4221        .29937        .71437E-01    .15206E-04
   4  Prefactor     .82561        .16221        .44049E-01    .14700E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  alpha      = 2.34409
  Normalizat = 1.42213
  Prefactor  = 0.825612
 **********
 **   18 **HESSE 
 **********

 FCN=   3905.609     FROM HESSE     STATUS=OK            29 CALLS      227 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    12.100        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3441        3.5150        .16523       -.62403E-01
   3  Normalizat    1.4221        .34784        .31608E-03   -.79991    
   4  Prefactor     .82561        .18866        .21630E-03   -.98791    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.85918e-10
Minuit parameter uncertainties:
  1  0.0002209
  2  2.49953
  3  0.348419
  4  0.188805
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/59496': 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) = 3905.60899267
delta logL = 4.87404122396e-07

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.000e-04  2.209e-04  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.344e+00  2.500e+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:  8.256e-01  1.888e-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.422e+00  3.484e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/59496/cmap_HighResolution_612835201_613094401_4FGL_J1354.8-1041_daily_bin1441.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.78e-05', job_status='DONE', photon_flux_upper_limit='1.28e-07', time_completed='2021-09-08 17:50:48.265753', job_id='59496', GAL2='0.83', fit_tolerance='1e-08', EG2='1.42', EG='1.42', time_epoch_completed='1631148648.27', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='4.87e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='1441' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:50:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0089>
Subject: Job 59496: <4FGL_J1354.8-1041_daily_bin1441> in cluster <slac> Done

Job <4FGL_J1354.8-1041_daily_bin1441> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  8 17:40:33 2021
Job was executed on host(s) <bullet0089>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:40:35 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:35 2021
Terminated at Wed Sep  8 17:50:49 2021
Results reported at Wed Sep  8 17:50:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin1441 208.718 -10.6932 612835201 613094401 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 :                                   516.06 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             271.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   613 sec.
    Turnaround time :                            616 sec.

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

