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


Performing analysis on: 4FGL_J1539.6+2743_daily_bin1106
RA = 234.902, Dec = 27.7277
tmin = 526003201, tmax = 526262401
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='644955', job_status='RUN', time_executed='2021-09-12 09:55:33.510534', time_epoch_executed='1631465733.51' WHERE source_name='4FGL J1539.6+2743' and cadence='daily' and bin_id='1106'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/644955

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/644955/ft1_4FGL_J1539.6+2743_daily_bin1106.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/644955/ft2_4FGL_J1539.6+2743_daily_bin1106.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/644955/ft1_4FGL_J1539.6+2743_daily_bin1106.fits outfile=/scratch/kocevski/644955/ft1_filteredMKT_4FGL_J1539.6+2743_daily_bin1106.fits ra=234.902 dec=27.7277 rad=12.0 tmin=526003201.0 tmax=526262401.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.76
user 3.52
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/644955/ft2_4FGL_J1539.6+2743_daily_bin1106.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/644955/ft1_filteredMKT_4FGL_J1539.6+2743_daily_bin1106.fits evtable="EVENTS" outfile="/scratch/kocevski/644955/ft1_filtered_4FGL_J1539.6+2743_daily_bin1106.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.53
user 0.36
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/644955/ft1_filtered_4FGL_J1539.6+2743_daily_bin1106.fits evtable="EVENTS" scfile=/scratch/kocevski/644955/ft2_4FGL_J1539.6+2743_daily_bin1106.fits sctable="SC_DATA" expcube=/scratch/kocevski/644955/ltcube_526003201_526262401_4FGL_J1539.6+2743_daily_bin1106.fits outfile=/scratch/kocevski/644955/expmap_526003201_526262401_4FGL_J1539.6+2743_daily_bin1106.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/644955/ltcube_526003201_526262401_4FGL_J1539.6+2743_daily_bin1106.fits
.....................!
real 193.73
user 186.46
sys 6.07

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/644955/ft1_filtered_4FGL_J1539.6+2743_daily_bin1106.fits scfile=/scratch/kocevski/644955/ft2_4FGL_J1539.6+2743_daily_bin1106.fits outfile=/scratch/kocevski/644955/cmap_526003201_526262401_4FGL_J1539.6+2743_daily_bin1106.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/644955/ft1_filtered_4FGL_J1539.6+2743_daily_bin1106.fits scfile=/scratch/kocevski/644955/ft2_4FGL_J1539.6+2743_daily_bin1106.fits outfile=/scratch/kocevski/644955/cmap_HighResolution_526003201_526262401_4FGL_J1539.6+2743_daily_bin1106.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.57
user 0.39
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.9708       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    137.09       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.2930       1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.0276       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    22.561       1.0000         .10000E-03   10000.    
     9 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .71566E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    38.562       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.2899       1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.798       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .88434       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0473       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=   6977.802     FROM MIGRAD    STATUS=CONVERGED    322 CALLS     1592 TOTAL
                     EDM=   .42E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9696        2.8793        .14878E-06   -.59963E-03
   2  Prefactor     .10000E-03    31.238       -.37330E-06** at limit **
   3  Prefactor     137.09        65.621       -.12287E-05   -.35194E-05
   4  Prefactor     .10000E-03    4.6360       -.17474E-08** at limit **
   5  norm          4.2929        1.6539        .32761E-08    .56621E-04
   6  Prefactor     8.0279        9.1829       -.10182E-06    .18151E-04
   7  Prefactor     .10000E-03    12.907       -.46991E-05** at limit **
   8  Prefactor     22.561        16.421        .60209E-06    .72219E-05
   9  norm          .10000E-03    5.4344       -.31017E-07** at limit **
  10  Prefactor     .71756E-01    1.1418       -.21659E-07    .71885E-05
  11  Prefactor     38.561        34.296       -.68039E-06   -.16477E-04
  12  Prefactor     .10000E-03    13.319        .48070E-05** at limit **
  13  Prefactor     .10000E-03    7.8265        .13695E-06** at limit **
  14  Prefactor     1.2894        3.3505       -.55808E-07   -.10742E-03
  15  Prefactor     10.798        13.676        .28658E-07   -.10578E-03
  16  Normalizat    .88438        .19475        .13127E-06    .77350E-05
  17  Prefactor     1.0473        .12876        .79741E-07    .48859E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.96959
  Prefactor  = 0.0001
  Prefactor  = 137.092
  Prefactor  = 0.0001
  norm       = 4.29291
  Prefactor  = 8.02786
  Prefactor  = 0.0001
  Prefactor  = 22.5615
  norm       = 0.0001
  Prefactor  = 0.0717565
  Prefactor  = 38.5608
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.28939
  Prefactor  = 10.7978
  Normalizat = 0.884378
  Prefactor  = 1.04729
 **********
 **   18 **HESSE 
 **********

 FCN=   6977.802     FROM HESSE     STATUS=OK           227 CALLS     1819 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.9696        8.3811        .11779E-02   -1.5363    
   2  Prefactor     .10000E-03    31.255        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     137.09        65.670        .34399E-04   -1.3361    
   4  Prefactor     .10000E-03    4.6575        .17561E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.2929        1.6628        .58201E-04   -1.5294    
   6  Prefactor     8.0279        9.2133        .14151E-03   -1.5141    
   7  Prefactor     .10000E-03    12.903        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     22.561        16.439        .84330E-04   -1.4758    
   9  norm          .10000E-03    5.4385        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .71756E-01    14.369        .16987E-02   -1.5654    
  11  Prefactor     38.561        34.373        .64544E-04   -1.4465    
  12  Prefactor     .10000E-03    13.340        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.9388        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.2894        3.3542        .23618E-03   -1.5481    
  15  Prefactor     10.798        13.927        .60964E-03   -1.5051    
  16  Normalizat    .88438        .22398        .31248E-03   -.97011    
  17  Prefactor     1.0473        .14942        .19822E-03   -.91169    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.96253e-10
Minuit parameter uncertainties:
  1  8.38437
  2  5.76324e-06
  3  65.7049
  4  1.31134e-07
  5  1.66279
  6  9.21489
  7  1.41565e-05
  8  16.4422
  9  5.9251e-06
  10  2.02994
  11  34.3903
  12  1.8001e-05
  13  1.53704e-06
  14  3.35468
  15  13.9315
  16  0.224219
  17  0.14948
Done.

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

Extracting fit parameters...

4FGL J1539.6+2743
   Spectrum: PowerLaw
263    Prefactor:  7.176e-02  2.030e+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

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  1.047e+00  1.495e-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.844e-01  2.242e-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: 8.08e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.21e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/644955/likelihoodResults_526003201_526262401_4FGL_J1539.6+2743_daily_bin1106.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) = 6977.73399559
delta logL = 0.0683796868516

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6977.70372015
delta logL = 0.0986551277483

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25580       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4284       1.0000          .0000       10.000    
     3 'Normalizat'    .86337       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0530       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=   6977.704     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      226 TOTAL
                     EDM=   .90E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .25611        10.310        .10229E-01    .24144E-02
   2  Index         3.4270        3.5877        .21282        .70071E-04
   3  Normalizat    .86339        .28401E-01    .71398E-01   -.18712E-05
   4  Prefactor     1.0530        .19513E-01    .39736E-01   -.71040E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.256109
  Index      = 3.42698
  Normalizat = 0.863392
  Prefactor  = 1.05303
 **********
 **   18 **HESSE 
 **********

 FCN=   6977.704     FROM HESSE     STATUS=OK            33 CALLS      259 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .25611        8.3878        .92539E-04   -1.5607    
   2  Index         3.4270        6.7005        .12347E-01   -.32004    
   3  Normalizat    .86339        .22195        .31593E-03   -.97759    
   4  Prefactor     1.0530        .14973        .19773E-03   -.90982    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69322e-07
Minuit parameter uncertainties:
  1  2.93122
  2  6.42073
  3  0.222188
  4  0.149787
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/644955': 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) = 6977.70371991
delta logL = 0.0986553731927

Extracting fit parameters...

4FGL J1539.6+2743
   Spectrum: PowerLaw
263    Prefactor:  2.561e-01  2.931e+00  1.000e-04  1.000e+04 ( 1.000e-12)
264        Index:  3.427e+00  6.421e+00  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.053e+00  1.498e-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.634e-01  2.222e-01  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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/644955/cmap_HighResolution_526003201_526262401_4FGL_J1539.6+2743_daily_bin1106.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.21e-03', job_status='DONE', photon_flux_upper_limit='8.08e-08', time_completed='2021-09-12 10:06:09.029223', job_id='644955', GAL2='1.05', fit_tolerance='1e-08', EG2='0.86', EG='0.88', time_epoch_completed='1631466369.03', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='9.87e-02', ts2='0.21', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='1106' AND source_name='4FGL J1539.6+2743' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 10:06:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 644955: <4FGL_J1539.6+2743_daily_bin1106> in cluster <slac> Done

Job <4FGL_J1539.6+2743_daily_bin1106> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sun Sep 12 09:50:46 2021
Job was executed on host(s) <bullet0250>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 09:53:10 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:53:10 2021
Terminated at Sun Sep 12 10:06:09 2021
Results reported at Sun Sep 12 10:06:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1539.6+2743_daily_bin1106 234.902 27.7277 526003201 526262401 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 :                                   569.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             264.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   779 sec.
    Turnaround time :                            923 sec.

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

