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


Performing analysis on: 4FGL_J1539.6+2743_daily_bin93
RA = 234.902, Dec = 27.7277
tmin = 263433601, tmax = 263692801
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='639037', job_status='RUN', time_executed='2021-09-12 09:34:04.688545', time_epoch_executed='1631464444.69' WHERE source_name='4FGL J1539.6+2743' and cadence='daily' and bin_id='93'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/639037

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/639037/ft1_4FGL_J1539.6+2743_daily_bin93.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/639037/ft2_4FGL_J1539.6+2743_daily_bin93.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/639037/ft1_4FGL_J1539.6+2743_daily_bin93.fits outfile=/scratch/kocevski/639037/ft1_filteredMKT_4FGL_J1539.6+2743_daily_bin93.fits ra=234.902 dec=27.7277 rad=12.0 tmin=263433601.0 tmax=263692801.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.48
user 3.26
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/639037/ft2_4FGL_J1539.6+2743_daily_bin93.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/639037/ft1_filteredMKT_4FGL_J1539.6+2743_daily_bin93.fits evtable="EVENTS" outfile="/scratch/kocevski/639037/ft1_filtered_4FGL_J1539.6+2743_daily_bin93.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/639037/ft1_filtered_4FGL_J1539.6+2743_daily_bin93.fits" evtable="EVENTS" scfile=/scratch/kocevski/639037/ft2_4FGL_J1539.6+2743_daily_bin93.fits sctable="SC_DATA" outfile=/scratch/kocevski/639037/ltcube_263433601_263692801_4FGL_J1539.6+2743_daily_bin93.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/639037/ft2_4FGL_J1539.6+2743_daily_bin93.fits
.....................!
real 14.79
user 14.39
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/639037/ft1_filtered_4FGL_J1539.6+2743_daily_bin93.fits evtable="EVENTS" scfile=/scratch/kocevski/639037/ft2_4FGL_J1539.6+2743_daily_bin93.fits sctable="SC_DATA" expcube=/scratch/kocevski/639037/ltcube_263433601_263692801_4FGL_J1539.6+2743_daily_bin93.fits outfile=/scratch/kocevski/639037/expmap_263433601_263692801_4FGL_J1539.6+2743_daily_bin93.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/639037/ltcube_263433601_263692801_4FGL_J1539.6+2743_daily_bin93.fits
.....................!
real 194.09
user 188.12
sys 4.54

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/639037/ft1_filtered_4FGL_J1539.6+2743_daily_bin93.fits scfile=/scratch/kocevski/639037/ft2_4FGL_J1539.6+2743_daily_bin93.fits outfile=/scratch/kocevski/639037/cmap_263433601_263692801_4FGL_J1539.6+2743_daily_bin93.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.52
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/639037/ft1_filtered_4FGL_J1539.6+2743_daily_bin93.fits scfile=/scratch/kocevski/639037/ft2_4FGL_J1539.6+2743_daily_bin93.fits outfile=/scratch/kocevski/639037/cmap_HighResolution_263433601_263692801_4FGL_J1539.6+2743_daily_bin93.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.54
user 0.37
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/639037/ft1_filtered_4FGL_J1539.6+2743_daily_bin93.fits', '/scratch/kocevski/639037/ft2_4FGL_J1539.6+2743_daily_bin93.fits', expMap='/scratch/kocevski/639037/expmap_263433601_263692801_4FGL_J1539.6+2743_daily_bin93.fits', expCube='/scratch/kocevski/639037/ltcube_263433601_263692801_4FGL_J1539.6+2743_daily_bin93.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/639037/Model_4FGL_J1539.6+2743_daily_bin93.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/639037/ft1_filtered_4FGL_J1539.6+2743_daily_bin93.fits
Spacecraft file(s): /scratch/kocevski/639037/ft2_4FGL_J1539.6+2743_daily_bin93.fits
Exposure map: /scratch/kocevski/639037/expmap_263433601_263692801_4FGL_J1539.6+2743_daily_bin93.fits
Exposure cube: /scratch/kocevski/639037/ltcube_263433601_263692801_4FGL_J1539.6+2743_daily_bin93.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/639037/Model_4FGL_J1539.6+2743_daily_bin93.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) = 7298.67417608

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.091       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.5312       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10661E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.4192       1.0000         .10000E-03   10000.    
     5 'norm      '    14.876       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.1832       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.5810       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .55728       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.3156       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=   7298.615     FROM MIGRAD    STATUS=CONVERGED    572 CALLS     1621 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.091        10.415        .79971E-04    .25162E-04
   2  Prefactor     6.5324        68.004        .15703E-03   -.44162E-05
   3  Prefactor     .10000E-03    90.573        .18142E-02** at limit **
   4  Prefactor     5.4228        10.032        .17262E-03    .81733E-04
   5  norm          14.876        2.2110        .45737E-04    .43783E-03
   6  Prefactor     .10000E-03    8.2228        .18142E-02** at limit **
   7  Prefactor     .10000E-03    12.308        .18142E-02** at limit **
   8  Prefactor     .10000E-03    4.8930        .18142E-02** at limit **
   9  norm          .10000E-03    4.3599        .17399E-02** at limit **
  10  Prefactor     .10000E-03    3.0918        .20474E-02** at limit **
  11  Prefactor     1.1073        262.59        .88125E-02    .43167E-04
  12  Prefactor     .10000E-03    16.573        .18142E-02** at limit **
  13  Prefactor     .10000E-03    10.018        .36285E-03** at limit **
  14  Prefactor     .10000E-03    1.0375        .84358E-03** at limit **
  15  Prefactor     6.5769        13.078        .15643E-03   -.79943E-05
  16  Normalizat    .55741        .22616        .38679E-03    .13247E-03
  17  Prefactor     1.3157        .15850        .18659E-03    .18587E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.091
  Prefactor  = 6.53238
  Prefactor  = 0.000100004
  Prefactor  = 5.42278
  norm       = 14.8757
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.10731
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.57691
  Normalizat = 0.557415
  Prefactor  = 1.3157
 **********
 **   18 **HESSE 
 **********

 FCN=   7298.615     FROM HESSE     STATUS=OK           207 CALLS     1828 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.091        10.413        .31988E-05   -1.4706    
   2  Prefactor     6.5324        67.958        .62813E-05   -1.5197    
   3  Prefactor     .10000E-03    90.604        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.4228        10.024        .69047E-05   -1.5242    
   5  norm          14.876        2.2095        .91473E-05   -1.4936    
   6  Prefactor     .10000E-03    8.2252        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    12.309        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.8931        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    4.3603        .34798E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.1039        .40948E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.1073        264.18        .35250E-03   -1.5498    
  12  Prefactor     .10000E-03    16.574        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    10.018        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.0376        .16872E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.5769        13.071        .62572E-05   -1.5195    
  16  Normalizat    .55741        .22588        .15472E-04   -1.0982    
  17  Prefactor     1.3157        .15841        .37318E-04   -.82841    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.59871e-10
Minuit parameter uncertainties:
  1  10.414
  2  42.2007
  3  0.00121665
  4  10.0275
  5  2.20948
  6  1.54279e-05
  7  7.1717e-05
  8  1.67704e-06
  9  3.25565e-06
  10  4.01902e-05
  11  34.3596
  12  3.70632e-05
  13  1.76795e-05
  14  1.7925e-06
  15  13.0767
  16  0.226252
  17  0.158463
Done.

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

Extracting fit parameters...

4FGL J1539.6+2743
   Spectrum: PowerLaw
263    Prefactor:  1.000e-04  4.019e-05  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.316e+00  1.585e-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:  5.574e-01  2.263e-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: 7.81e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.01e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/639037/likelihoodResults_263433601_263692801_4FGL_J1539.6+2743_daily_bin93.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) = 7298.61654241
delta logL = -0.00154037591528

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7298.61500214
delta logL = -1.04526407085e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3662       1.0000          .0000       10.000    
     3 'Normalizat'    .55718       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3159       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.

 FCN=   7298.615     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      230 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.1055        .33617E-01** at limit **
   2  Index         2.4033        6.1750        .50000       -.10094E-03
   3  Normalizat    .55741        .55169E-02    .87313E-01   -.21437E-04
   4  Prefactor     1.3157        .39601E-02    .32338E-01    .74592E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.4033
  Normalizat = 0.557411
  Prefactor  = 1.3157
 **********
 **   18 **HESSE 
 **********

 FCN=   7298.615     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      265 TOTAL
                     EDM=   .20E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    464.72        .20686E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4033        7.0992        .50000       -.54608    
   3  Normalizat    .55741        .68561E-01    .38678E-03   -1.0982    
   4  Prefactor     1.3157        .49188E-01    .18659E-03   -.82841    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.96384e-06
Minuit parameter uncertainties:
  1  0.00153895
  2  49.9675
  3  0.0685711
  4  0.0491902
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/639037': 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) = 7298.61500031
delta logL = 1.72497220774e-06

Extracting fit parameters...

4FGL J1539.6+2743
   Spectrum: PowerLaw
263    Prefactor:  1.000e-04  1.539e-03  1.000e-04  1.000e+04 ( 1.000e-12)
264        Index:  2.403e+00  4.997e+01  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.316e+00  4.919e-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:  5.574e-01  6.857e-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/639037/cmap_HighResolution_263433601_263692801_4FGL_J1539.6+2743_daily_bin93.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.01e-03', job_status='DONE', photon_flux_upper_limit='7.81e-08', time_completed='2021-09-12 09:43:57.141110', job_id='639037', GAL2='1.32', fit_tolerance='1e-08', EG2='0.56', EG='0.56', time_epoch_completed='1631465037.14', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.32', dlogl='1.72e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='93' AND source_name='4FGL J1539.6+2743' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 09:43:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0272>
Subject: Job 639037: <4FGL_J1539.6+2743_daily_bin93> in cluster <slac> Done

Job <4FGL_J1539.6+2743_daily_bin93> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 12 09:30:24 2021
Job was executed on host(s) <bullet0272>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 09:31:20 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:31:20 2021
Terminated at Sun Sep 12 09:43:57 2021
Results reported at Sun Sep 12 09:43:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1539.6+2743_daily_bin93 234.902 27.7277 263433601 263692801 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 :                                   589.37 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             282.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   757 sec.
    Turnaround time :                            813 sec.

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

