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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin1261
RA = 208.718, Dec = -10.6932
tmin = 566179201, tmax = 566438401
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='57634', job_status='RUN', time_executed='2021-09-08 17:38:54.186594', time_epoch_executed='1631147934.19' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='1261'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/57634

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/57634/ft1_4FGL_J1354.8-1041_daily_bin1261.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/57634/ft2_4FGL_J1354.8-1041_daily_bin1261.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/57634/ft1_4FGL_J1354.8-1041_daily_bin1261.fits outfile=/scratch/kocevski/57634/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin1261.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=566179201.0 tmax=566438401.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.51
user 3.30
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/57634/ft1_filtered_4FGL_J1354.8-1041_daily_bin1261.fits" evtable="EVENTS" scfile=/scratch/kocevski/57634/ft2_4FGL_J1354.8-1041_daily_bin1261.fits sctable="SC_DATA" outfile=/scratch/kocevski/57634/ltcube_566179201_566438401_4FGL_J1354.8-1041_daily_bin1261.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/57634/ft2_4FGL_J1354.8-1041_daily_bin1261.fits
.....................!
real 11.81
user 11.40
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/57634/ft1_filtered_4FGL_J1354.8-1041_daily_bin1261.fits evtable="EVENTS" scfile=/scratch/kocevski/57634/ft2_4FGL_J1354.8-1041_daily_bin1261.fits sctable="SC_DATA" expcube=/scratch/kocevski/57634/ltcube_566179201_566438401_4FGL_J1354.8-1041_daily_bin1261.fits outfile=/scratch/kocevski/57634/expmap_566179201_566438401_4FGL_J1354.8-1041_daily_bin1261.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/57634/ltcube_566179201_566438401_4FGL_J1354.8-1041_daily_bin1261.fits
.....................!
real 189.45
user 184.97
sys 4.11

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/57634/ft1_filtered_4FGL_J1354.8-1041_daily_bin1261.fits scfile=/scratch/kocevski/57634/ft2_4FGL_J1354.8-1041_daily_bin1261.fits outfile=/scratch/kocevski/57634/cmap_566179201_566438401_4FGL_J1354.8-1041_daily_bin1261.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.57
user 0.37
sys 0.17

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/57634/ft1_filtered_4FGL_J1354.8-1041_daily_bin1261.fits evtable="EVENTS" scfile=/scratch/kocevski/57634/ft2_4FGL_J1354.8-1041_daily_bin1261.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/57634/Model_4FGL_J1354.8-1041_daily_bin1261.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/57634/ft1_filtered_4FGL_J1354.8-1041_daily_bin1261.fits.....................!
real 68.10
user 66.02
sys 1.34

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.4986       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.0262       1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.618       1.0000         .10000E-03   10000.    
     4 'Prefactor '    19.796       1.0000         .10000E-03   10000.    
     5 'norm      '    1.6533       1.0000         .10000E-03   10000.    
     6 'norm      '    1.6269       1.0000         .10000E-03   10000.    
     7 'norm      '    12.023       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    35.262       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.5837       1.0000         .10000E-03   10000.    
    11 'norm      '    1.3174       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    24.673       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    14.793       1.0000         .10000E-03   10000.    
    17 'norm      '    21.799       1.0000         .10000E-03   10000.    
    18 'norm      '    15.174       1.0000         .10000E-03   10000.    
    19 'Prefactor '    18.108       1.0000         .10000E-03   10000.    
    20 'Prefactor '    38.840       1.0000         .10000E-03   10000.    
    21 'norm      '    .10130E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2353       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .86173       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=   8935.350     FROM MIGRAD    STATUS=CONVERGED    484 CALLS     2505 TOTAL
                     EDM=   .35E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.4988        6.7995        .39766E-07    .58897E-05
   2  Prefactor     9.0267        7.1210        .49384E-07   -.74598E-06
   3  Prefactor     13.622        10.794       -.27884E-06   -.94094E-04
   4  Prefactor     19.802        24.590       -.97806E-06   -.11267E-05
   5  norm          1.6539        1.1906        .57394E-07   -.59859E-04
   6  norm          1.6265        4.2294        .11482E-05   -.43497E-04
   7  norm          12.024        7.1854       -.26283E-06   -.90942E-04
   8  Prefactor     .10000E-03    4.6155       -.15762E-07** at limit **
   9  norm          35.262        24.152       -.22386E-07   -.10811E-05
  10  Prefactor     6.5839        11.113       -.82661E-07   -.25833E-04
  11  norm          1.3166        3.8634        .12362E-05   -.11662E-03
  12  Prefactor     .10000E-03    3.3349        .44514E-07** at limit **
  13  Prefactor     24.679        19.349        .39536E-06    .38141E-04
  14  Prefactor     .10000E-03    10.199       -.22628E-07** at limit **
  15  norm          .10000E-03    1.9377        .12159E-07** at limit **
  16  norm          14.794        3.5822        .39163E-08   -.29357E-04
  17  norm          21.799        10.262        .46700E-08    .31246E-05
  18  norm          15.174        7.8742        .28492E-08   -.46366E-05
  19  Prefactor     18.109        20.706        .17717E-06    .71632E-05
  20  Prefactor     38.823        36.623       -.20138E-05   -.87741E-04
  21  norm          .10000E-03    47.687       -.16665E-05** at limit **
  22  Normalizat    1.2349        .21742       -.34545E-06   -.18304E-04
  23  Prefactor     .86193        .11025        .13920E-06   -.69952E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.49879
  Prefactor  = 9.02668
  Prefactor  = 13.6216
  Prefactor  = 19.8021
  norm       = 1.65391
  norm       = 1.62647
  norm       = 12.0243
  Prefactor  = 0.0001
  norm       = 35.2619
  Prefactor  = 6.58389
  norm       = 1.31664
  Prefactor  = 0.0001
  Prefactor  = 24.6787
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 14.794
  norm       = 21.7985
  norm       = 15.1744
  Prefactor  = 18.109
  Prefactor  = 38.8228
  norm       = 0.000100001
  Normalizat = 1.23493
  Prefactor  = 0.861927
 **********
 **   18 **HESSE 
 **********

 FCN=   8935.350     FROM HESSE     STATUS=OK           378 CALLS     2883 TOTAL
                     EDM=   .73E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.4988        6.7991        .15743E-03   -1.5198    
   2  Prefactor     9.0267        7.1163        .13341E-03   -1.5107    
   3  Prefactor     13.622        10.967        .10854E-03   -1.4970    
   4  Prefactor     19.802        24.378        .90021E-04   -1.4818    
   5  norm          1.6539        1.1883        .81997E-04   -1.5451    
   6  norm          1.6265        4.1750        .21743E-03   -1.5453    
   7  norm          12.024        7.1733        .11553E-03   -1.5014    
   8  Prefactor     .10000E-03    4.6185        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          35.262        24.153        .67487E-04   -1.4520    
  10  Prefactor     6.5839        11.109        .15640E-03   -1.5195    
  11  norm          1.3166        3.8697        .30773E-03   -1.5478    
  12  Prefactor     .10000E-03    3.3978        .16838E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     24.679        19.479        .80644E-04   -1.4714    
  14  Prefactor     .10000E-03    10.201        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1.9436        .12849E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          14.794        3.5966        .81899E-04   -1.4939    
  17  norm          21.799        10.263        .85790E-04   -1.4774    
  18  norm          15.174        7.8713        .10282E-03   -1.4929    
  19  Prefactor     18.109        20.708        .94120E-04   -1.4857    
  20  Prefactor     38.823        37.756        .64313E-04   -1.4461    
  21  norm          .10000E-03    48.206        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2349        .25436        .33339E-03   -.85530    
  23  Prefactor     .86193        .12835        .21192E-03   -.97484    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.31634e-11
Minuit parameter uncertainties:
  1  6.79994
  2  7.11693
  3  10.969
  4  24.3904
  5  1.18834
  6  4.17577
  7  7.17378
  8  1.47755e-06
  9  24.1596
  10  11.112
  11  3.87047
  12  1.28031e-06
  13  19.4841
  14  3.49545e-06
  15  3.91879e-08
  16  3.59664
  17  10.2633
  18  7.87186
  19  20.7161
  20  37.7791
  21  0.000360665
  22  0.254612
  23  0.128391
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.000e-04  3.919e-08  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.619e-01  1.284e-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.235e+00  2.546e-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: 4.99e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.87e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/57634/likelihoodResults_566179201_566438401_4FGL_J1354.8-1041_daily_bin1261.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) = 8935.35239773
delta logL = -0.00243767627217

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8935.34996426
delta logL = -4.21546428697e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2792       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2348       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86180       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=   8934.998     FROM MIGRAD    STATUS=CONVERGED    180 CALLS      315 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .19601        .23003        .10771E-01   -.17991E-02
   2  alpha         5.0000        1.1010        .16542    ** at limit **
   3  Normalizat    1.1638        .22836        .33340E-03   -.42378E-03
   4  Prefactor     .88400        .12328        .21192E-03   -.38706E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.196015
  alpha      = 5
  Normalizat = 1.16379
  Prefactor  = 0.884004
 **********
 **   18 **HESSE 
 **********

 FCN=   8934.998     FROM HESSE     STATUS=OK            25 CALLS      340 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .19601        .24651        .47259E-04   -1.5796    
   2  alpha         5.0000        1.1240        .66170E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.1638        .23880        .66679E-04   -.87729    
   4  Prefactor     .88400        .12518        .42384E-04   -.96702    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.32412e-10
Minuit parameter uncertainties:
  1  0.246514
  2  4.90738e-05
  3  0.239025
  4  0.125218
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/57634': 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) = 8934.99769287
delta logL = 0.352267177454

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.960e-01  2.465e-01  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  5.000e+00  4.907e-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:  8.840e-01  1.252e-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.164e+00  2.390e-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/57634/cmap_HighResolution_566179201_566438401_4FGL_J1354.8-1041_daily_bin1261.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.87e-05', job_status='DONE', photon_flux_upper_limit='4.99e-08', time_completed='2021-09-08 17:51:27.309656', job_id='57634', GAL2='0.88', fit_tolerance='1e-08', EG2='1.16', EG='1.23', time_epoch_completed='1631148687.31', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='3.52e-01', ts2='0.79', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='1261' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:51:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0296>
Subject: Job 57634: <4FGL_J1354.8-1041_daily_bin1261> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin1261 208.718 -10.6932 566179201 566438401 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 :                                   748.32 sec.
    Max Memory :                                 1099 MB
    Average Memory :                             282.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   950 sec.
    Turnaround time :                            953 sec.

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

