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


Performing analysis on: 4FGL_J1354.8-1041_daily_bin1082
RA = 208.718, Dec = -10.6932
tmin = 519782401, tmax = 520041601
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='55542', job_status='RUN', time_executed='2021-09-08 17:34:21.184390', time_epoch_executed='1631147661.18' WHERE source_name='4FGL J1354.8-1041' and cadence='daily' and bin_id='1082'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/55542

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/55542/ft1_4FGL_J1354.8-1041_daily_bin1082.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/55542/ft2_4FGL_J1354.8-1041_daily_bin1082.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/55542/ft1_4FGL_J1354.8-1041_daily_bin1082.fits outfile=/scratch/kocevski/55542/ft1_filteredMKT_4FGL_J1354.8-1041_daily_bin1082.fits ra=208.718 dec=-10.6932 rad=12.0 tmin=519782401.0 tmax=520041601.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.47
user 3.23
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/55542/ft1_filtered_4FGL_J1354.8-1041_daily_bin1082.fits evtable="EVENTS" scfile=/scratch/kocevski/55542/ft2_4FGL_J1354.8-1041_daily_bin1082.fits sctable="SC_DATA" expcube=/scratch/kocevski/55542/ltcube_519782401_520041601_4FGL_J1354.8-1041_daily_bin1082.fits outfile=/scratch/kocevski/55542/expmap_519782401_520041601_4FGL_J1354.8-1041_daily_bin1082.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/55542/ltcube_519782401_520041601_4FGL_J1354.8-1041_daily_bin1082.fits
.....................!
real 191.14
user 185.96
sys 4.74

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/55542/ft1_filtered_4FGL_J1354.8-1041_daily_bin1082.fits scfile=/scratch/kocevski/55542/ft2_4FGL_J1354.8-1041_daily_bin1082.fits outfile=/scratch/kocevski/55542/cmap_519782401_520041601_4FGL_J1354.8-1041_daily_bin1082.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.36
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/55542/ft1_filtered_4FGL_J1354.8-1041_daily_bin1082.fits evtable="EVENTS" scfile=/scratch/kocevski/55542/ft2_4FGL_J1354.8-1041_daily_bin1082.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/55542/Model_4FGL_J1354.8-1041_daily_bin1082.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/55542/ft1_filtered_4FGL_J1354.8-1041_daily_bin1082.fits.....................!
real 50.94
user 49.59
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.8996       1.0000         .10000E-03   10000.    
     2 'Prefactor '    18.295       1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.288       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10078E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    12.776       1.0000         .10000E-03   10000.    
     7 'norm      '    1.7404       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.6929       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .13021E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.3154       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    23.595       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    34.960       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.8757       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .69984       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=   6115.757     FROM MIGRAD    STATUS=CONVERGED    490 CALLS     2167 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.8999        10.370       -.31195E-06   -.45503E-04
   2  Prefactor     18.296        14.212       -.27329E-06    .22539E-04
   3  Prefactor     15.288        12.732       -.58948E-06    .49798E-04
   4  Prefactor     .10000E-03    17.793        .42088E-05** at limit **
   5  norm          .10000E-03    .87188       -.14611E-06** at limit **
   6  norm          12.779        5.2642       -.57721E-06    .36178E-03
   7  norm          1.7407        5.5001       -.30761E-05   -.59099E-03
   8  Prefactor     5.6685        16.846       -.12702E-04    .13994E-03
   9  norm          .10000E-03    12.464       -.54887E-05** at limit **
  10  Prefactor     .10001E-03    16.940        .11809E-05** at limit **
  11  norm          .10000E-03    3.4712       -.15206E-06** at limit **
  12  Prefactor     .10000E-03    2.8974       -.21668E-06** at limit **
  13  Prefactor     7.3109        22.393       -.74373E-05    .65902E-04
  14  Prefactor     .10000E-03    35.440       -.10322E-06** at limit **
  15  norm          .10000E-03    7.6653       -.52186E-05** at limit **
  16  norm          .10000E-03    .79362       -.35967E-07** at limit **
  17  norm          .10000E-03    8.8232        .65238E-05** at limit **
  18  norm          23.594        11.106       -.39216E-06    .35894E-04
  19  Prefactor     .10000E-03    11.482        .52800E-06** at limit **
  20  Prefactor     .10000E-03    6.6652        .72533E-06** at limit **
  21  norm          34.960        21.087       -.61814E-06    .29060E-04
  22  Normalizat    1.8757        .25906        .19032E-05    .81736E-04
  23  Prefactor     .69985        .12823        .10513E-05    .15392E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.89993
  Prefactor  = 18.2965
  Prefactor  = 15.2883
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 12.7785
  norm       = 1.74073
  Prefactor  = 5.66848
  norm       = 0.000100001
  Prefactor  = 0.000100005
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.31093
  Prefactor  = 0.0001
  norm       = 0.000100001
  norm       = 0.0001
  norm       = 0.000100001
  norm       = 23.594
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 34.9596
  Normalizat = 1.87566
  Prefactor  = 0.699854
 **********
 **   18 **HESSE 
 **********

 FCN=   6115.757     FROM HESSE     STATUS=OK           366 CALLS     2533 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.8999        10.364        .16533E-03   -1.5222    
   2  Prefactor     18.296        14.210        .93639E-04   -1.4852    
   3  Prefactor     15.288        12.781        .10244E-03   -1.4926    
   4  Prefactor     .10000E-03    17.876        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.8669        .14117E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          12.779        5.2068        .10584E-03   -1.4993    
   7  norm          1.7407        5.6180        .31434E-03   -1.5444    
   8  Prefactor     5.6685        16.844        .16835E-03   -1.5232    
   9  norm          .10000E-03    12.413        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10001E-03    17.245        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    3.5501        .14222E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.9276        .12994E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.3109        22.415        .14829E-03   -1.5167    
  14  Prefactor     .10000E-03    35.504        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    7.7883        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .79725        .68015E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    8.7495        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          23.594        11.116        .82464E-04   -1.4736    
  19  Prefactor     .10000E-03    11.493        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    6.6648        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          34.960        21.089        .67777E-04   -1.4525    
  22  Normalizat    1.8757        .29826        .29829E-03   -.67705    
  23  Prefactor     .69985        .14766        .23139E-03   -1.0353    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41913e-09
Minuit parameter uncertainties:
  1  10.3673
  2  14.2126
  3  12.7832
  4  1.83353e-05
  5  6.63382e-06
  6  5.20698
  7  5.61971
  8  16.8579
  9  0.000161701
  10  0.000596998
  11  1.90803e-05
  12  7.31635e-06
  13  22.4403
  14  6.72147e-07
  15  0.000142968
  16  1.16622e-06
  17  0.000182705
  18  11.1174
  19  2.91135e-05
  20  1.74128e-05
  21  21.0932
  22  0.298552
  23  0.147745
Done.

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

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.000e-04  1.430e-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:  6.999e-01  1.477e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  1.876e+00  2.986e-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.56e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.21e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/55542/likelihoodResults_519782401_520041601_4FGL_J1354.8-1041_daily_bin1082.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) = 6115.7571586
delta logL = -0.000612616569015

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6115.75654637
delta logL = -3.82294274459e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10431E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2792       1.0000          .0000       5.0000    
     3 'Normalizat'    1.8755       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69993       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6115.757     FROM MIGRAD    STATUS=FAILED        85 CALLS      230 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10065E-03    8.3446        .36285E-03** at limit **
   2  alpha         2.3683        3.4329        .16542       -.25446E-05
   3  Normalizat    1.8757        .28621        .29829E-03    .55881E-04
   4  Prefactor     .69985        .14555        .23139E-03    .70308E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6115.757     FROM SIMPLEX   STATUS=UNCHANGED    120 CALLS      350 TOTAL
                     EDM=   .10E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10065E-03    8.3446        .44491E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3683        3.4329        .87981E-03   -.52705E-01
   3  Normalizat    1.8757        .28621        .93388E-04   -.67705    
   4  Prefactor     .69985        .14555        .79804E-04   -1.0353    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6115.757     FROM MIGRAD    STATUS=CONVERGED     27 CALLS      377 TOTAL
                     EDM=   .41E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    8.0355        .72569E-04** at limit **
   2  alpha         2.4547        3.1284        .66170E-02    .89341E-08
   3  Normalizat    1.8757        .28642        .59658E-04   -.23630E-04
   4  Prefactor     .69985        .14566        .92556E-05   -.28005E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.45471
  Normalizat = 1.87566
  Prefactor  = 0.699854
 **********
 **   18 **HESSE 
 **********

 FCN=   6115.757     FROM HESSE     STATUS=OK            23 CALLS      400 TOTAL
                     EDM=   .44E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8.0356        .14514E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.4547        3.1627        .13234E-02   -.18118E-01
   3  Normalizat    1.8757        .28644        .11932E-04   -.67705    
   4  Prefactor     .69985        .14566        .18511E-05   -1.0353    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.41427e-12
Minuit parameter uncertainties:
  1  2.34019e-05
  2  289.054
  3  0.286701
  4  0.145736
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/55542': 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) = 6115.75654579
delta logL = 1.97304871108e-07

Extracting fit parameters...

4FGL J1354.8-1041
   Spectrum: LogParabola
272         norm:  1.000e-04  2.340e-05  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.455e+00  2.891e+02  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:  6.999e-01  1.457e-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.876e+00  2.867e-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/55542/cmap_HighResolution_519782401_520041601_4FGL_J1354.8-1041_daily_bin1082.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.21e-05', job_status='DONE', photon_flux_upper_limit='8.56e-08', time_completed='2021-09-08 17:44:17.081591', job_id='55542', GAL2='0.70', fit_tolerance='1e-08', EG2='1.88', EG='1.88', time_epoch_completed='1631148257.08', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.70', dlogl='1.97e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='1082' AND source_name='4FGL J1354.8-1041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:44:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0066>
Subject: Job 55542: <4FGL_J1354.8-1041_daily_bin1082> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1354.8-1041_daily_bin1082 208.718 -10.6932 519782401 520041601 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 :                                   592.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             273.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   783 sec.
    Turnaround time :                            786 sec.

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

