/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 143 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 = 7396
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1539.6+2743_daily_bin14
RA = 234.902, Dec = 27.7277
tmin = 242956801, tmax = 243216001
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='638927', job_status='RUN', time_executed='2021-09-12 09:33:07.754441', time_epoch_executed='1631464387.75' WHERE source_name='4FGL J1539.6+2743' and cadence='daily' and bin_id='14'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/638927

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/638927/ft1_4FGL_J1539.6+2743_daily_bin14.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/638927/ft2_4FGL_J1539.6+2743_daily_bin14.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/638927/ft1_4FGL_J1539.6+2743_daily_bin14.fits outfile=/scratch/kocevski/638927/ft1_filteredMKT_4FGL_J1539.6+2743_daily_bin14.fits ra=234.902 dec=27.7277 rad=12.0 tmin=242956801.0 tmax=243216001.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 1.47
user 1.27
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/638927/ft2_4FGL_J1539.6+2743_daily_bin14.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/638927/ft2_4FGL_J1539.6+2743_daily_bin14.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/638927/ft1_filteredMKT_4FGL_J1539.6+2743_daily_bin14.fits evtable="EVENTS" outfile="/scratch/kocevski/638927/ft1_filtered_4FGL_J1539.6+2743_daily_bin14.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.51
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/638927/ft1_filtered_4FGL_J1539.6+2743_daily_bin14.fits" evtable="EVENTS" scfile=/scratch/kocevski/638927/ft2_4FGL_J1539.6+2743_daily_bin14.fits sctable="SC_DATA" outfile=/scratch/kocevski/638927/ltcube_242956801_243216001_4FGL_J1539.6+2743_daily_bin14.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/638927/ft2_4FGL_J1539.6+2743_daily_bin14.fits
.....................!
real 16.70
user 16.27
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/638927/ft1_filtered_4FGL_J1539.6+2743_daily_bin14.fits evtable="EVENTS" scfile=/scratch/kocevski/638927/ft2_4FGL_J1539.6+2743_daily_bin14.fits sctable="SC_DATA" expcube=/scratch/kocevski/638927/ltcube_242956801_243216001_4FGL_J1539.6+2743_daily_bin14.fits outfile=/scratch/kocevski/638927/expmap_242956801_243216001_4FGL_J1539.6+2743_daily_bin14.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/638927/ltcube_242956801_243216001_4FGL_J1539.6+2743_daily_bin14.fits
.....................!
real 192.23
user 186.06
sys 5.68

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 175 point sources and 0 extended sources

Setting source of interest to:
4FGL J1539.6+2743 @ 234.902 27.7277

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/638927/ft1_filtered_4FGL_J1539.6+2743_daily_bin14.fits scfile=/scratch/kocevski/638927/ft2_4FGL_J1539.6+2743_daily_bin14.fits outfile=/scratch/kocevski/638927/cmap_242956801_243216001_4FGL_J1539.6+2743_daily_bin14.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=234.902 yref=27.7277 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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/638927/ft1_filtered_4FGL_J1539.6+2743_daily_bin14.fits scfile=/scratch/kocevski/638927/ft2_4FGL_J1539.6+2743_daily_bin14.fits outfile=/scratch/kocevski/638927/cmap_HighResolution_242956801_243216001_4FGL_J1539.6+2743_daily_bin14.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=234.902 yref=27.7277 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/638927/ft1_filtered_4FGL_J1539.6+2743_daily_bin14.fits evtable="EVENTS" scfile=/scratch/kocevski/638927/ft2_4FGL_J1539.6+2743_daily_bin14.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/638927/Model_4FGL_J1539.6+2743_daily_bin14.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/638927/ft1_filtered_4FGL_J1539.6+2743_daily_bin14.fits.....................!
real 60.39
user 58.92
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/638927/ft1_filtered_4FGL_J1539.6+2743_daily_bin14.fits', '/scratch/kocevski/638927/ft2_4FGL_J1539.6+2743_daily_bin14.fits', expMap='/scratch/kocevski/638927/expmap_242956801_243216001_4FGL_J1539.6+2743_daily_bin14.fits', expCube='/scratch/kocevski/638927/ltcube_242956801_243216001_4FGL_J1539.6+2743_daily_bin14.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/638927/Model_4FGL_J1539.6+2743_daily_bin14.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1539.6+2743'

4FGL J1539.6+2743
   Spectrum: PowerLaw
263    Prefactor:  1.011e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
264        Index:  2.330e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
265        Scale:  9.412e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/638927/ft1_filtered_4FGL_J1539.6+2743_daily_bin14.fits
Spacecraft file(s): /scratch/kocevski/638927/ft2_4FGL_J1539.6+2743_daily_bin14.fits
Exposure map: /scratch/kocevski/638927/expmap_242956801_243216001_4FGL_J1539.6+2743_daily_bin14.fits
Exposure cube: /scratch/kocevski/638927/ltcube_242956801_243216001_4FGL_J1539.6+2743_daily_bin14.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/638927/Model_4FGL_J1539.6+2743_daily_bin14.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) = 7984.12412361

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.5395       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10177E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.7825       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10208E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    6.8457       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.5501       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.5512       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.8550       1.0000         .10000E-03   10000.    
     9 'norm      '    .10515E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10116E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11842E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.0670       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .40229       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .85710       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0874       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7984.112     FROM MIGRAD    STATUS=CONVERGED    357 CALLS     1391 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.5339        5.6927       -.27297E-07   -.11825E-04
   2  Prefactor     .10000E-03    39.656       -.20396E-06** at limit **
   3  Prefactor     6.8313        54.060        .23669E-04    .23491E-03
   4  Prefactor     .10000E-03    3.3147       -.18621E-08** at limit **
   5  norm          6.8428        1.8064       -.26190E-06   -.17523E-03
   6  Prefactor     4.5878        8.0572        .39561E-05   -.14030E-02
   7  Prefactor     6.4530        31.556        .10632E-05    .66213E-04
   8  Prefactor     8.8596        14.845       -.91904E-07   -.46406E-04
   9  norm          .10000E-03    7.3855        .28174E-07** at limit **
  10  Prefactor     .10000E-03    .76061       -.21741E-07** at limit **
  11  Prefactor     .10000E-03    9.2481       -.56232E-07** at limit **
  12  Prefactor     .10000E-03    26.397        .17581E-06** at limit **
  13  Prefactor     7.0668        6.3042        .18772E-06    .27121E-04
  14  Prefactor     .41106        2.0119        .29506E-06   -.36702E-03
  15  Prefactor     .10000E-03    4.4355        .16037E-07** at limit **
  16  Normalizat    .85691        .17385       -.10062E-05   -.10805E-03
  17  Prefactor     1.0875        .11862       -.63226E-06   -.73852E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.53386
  Prefactor  = 0.0001
  Prefactor  = 6.83133
  Prefactor  = 0.0001
  norm       = 6.84282
  Prefactor  = 4.58783
  Prefactor  = 6.453
  Prefactor  = 8.85958
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.06683
  Prefactor  = 0.411065
  Prefactor  = 0.0001
  Normalizat = 0.856913
  Prefactor  = 1.08747
 **********
 **   18 **HESSE 
 **********

 FCN=   7984.112     FROM HESSE     STATUS=OK           223 CALLS     1614 TOTAL
                     EDM=   .44E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.5339        5.6948        .15693E-03   -1.5197    
   2  Prefactor     .10000E-03    39.683        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.8313        59.982        .15407E-03   -1.5185    
   4  Prefactor     .10000E-03    3.3523        .15885E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.8428        1.8940        .53276E-04   -1.5185    
   6  Prefactor     4.5878        10.363        .94362E-03   -1.5280    
   7  Prefactor     6.4530        33.934        .15679E-03   -1.5200    
   8  Prefactor     8.8596        14.831        .13470E-03   -1.5113    
   9  norm          .10000E-03    7.3941        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    .77031        .76062E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    9.2568        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    26.493        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.0668        6.3067        .15090E-03   -1.5176    
  14  Prefactor     .41106        4.0900        .24150E-02   -1.5580    
  15  Prefactor     .10000E-03    4.4502        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .85691        .20010        .30396E-03   -.97991    
  17  Prefactor     1.0875        .13750        .19164E-03   -.89868    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.36981e-08
Minuit parameter uncertainties:
  1  5.69527
  2  1.0074e-05
  3  40.5392
  4  2.43403e-06
  5  1.894
  6  10.3669
  7  29.622
  8  14.837
  9  1.19144e-05
  10  4.34974e-07
  11  4.42307e-06
  12  4.80261e-05
  13  6.30727
  14  2.59317
  15  7.94446e-06
  16  0.200275
  17  0.137544
Done.

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

Extracting fit parameters...

4FGL J1539.6+2743
   Spectrum: PowerLaw
263    Prefactor:  1.000e-04  4.350e-07  1.000e-04  1.000e+04 ( 1.000e-12)
264        Index:  2.330e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
265        Scale:  9.412e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  1.087e+00  1.375e-01  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
564   Normalization:  8.569e-01  2.003e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 234.902 27.728
Photon Flux Upper Limit: 4.95e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.81e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/638927/likelihoodResults_242956801_243216001_4FGL_J1539.6+2743_daily_bin14.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) = 7984.11805991
delta logL = -0.00612912035103

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7984.11193111
delta logL = -3.17979356623e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3180       1.0000          .0000       10.000    
     3 'Normalizat'    .85679       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0876       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5680E+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=   7984.112     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      249 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.6341        .76542E-02** at limit **
   2  Index         2.0012        5.9745        .50000        .82218E-07
   3  Normalizat    .85691        .90556E-02    .30396E-03   -.44785E-03
   4  Prefactor     1.0875        .63977E-02    .19164E-03   -.67312E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.00124
  Normalizat = 0.856913
  Prefactor  = 1.08747
 **********
 **   18 **HESSE 
 **********

 FCN=   7984.112     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      278 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    43.364        .79773E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0012        6.2254        .50000       -.64319    
   3  Normalizat    .85691        .32991E-01    .12158E-04   -.97991    
   4  Prefactor     1.0875        .23307E-01    .38329E-04   -.89868    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.05097e-10
Minuit parameter uncertainties:
  1  1.43217e-05
  2  361.497
  3  0.0329914
  4  0.0233074
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/638927': 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): 102
logL (Free Index) = 7984.11192542
delta logL = 5.37526284461e-06

Extracting fit parameters...

4FGL J1539.6+2743
   Spectrum: PowerLaw
263    Prefactor:  1.000e-04  1.432e-05  1.000e-04  1.000e+04 ( 1.000e-12)
264        Index:  2.001e+00  3.615e+02  0.000e+00  1.000e+01 (-1.000e+00)
265        Scale:  9.412e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  1.087e+00  2.331e-02  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
564   Normalization:  8.569e-01  3.299e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 234.902 27.728

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/638927/cmap_HighResolution_242956801_243216001_4FGL_J1539.6+2743_daily_bin14.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.81e-03', job_status='DONE', photon_flux_upper_limit='4.95e-08', time_completed='2021-09-12 09:42:48.648279', job_id='638927', GAL2='1.09', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1631464968.65', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='5.38e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='14' AND source_name='4FGL J1539.6+2743' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 09:42:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0102>
Subject: Job 638927: <4FGL_J1539.6+2743_daily_bin14> in cluster <slac> Done

Job <4FGL_J1539.6+2743_daily_bin14> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 12 09:30:18 2021
Job was executed on host(s) <bullet0102>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 09:30:36 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 09:30:36 2021
Terminated at Sun Sep 12 09:42:49 2021
Results reported at Sun Sep 12 09:42:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1539.6+2743_daily_bin14 234.902 27.7277 242956801 243216001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1539.6+2743 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   580.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             308.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   732 sec.
    Turnaround time :                            751 sec.

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

