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


Performing analysis on: 4FGL_J0915.4-3027_daily_bin1141
RA = 138.875, Dec = -30.4642
tmin = 535075201, tmax = 535334401
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='100270', job_status='RUN', time_executed='2021-08-31 05:22:49.218722', time_epoch_executed='1630412569.22' WHERE source_name='4FGL J0915.4-3027' and cadence='daily' and bin_id='1141'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/100270

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/100270/ft1_4FGL_J0915.4-3027_daily_bin1141.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/100270/ft2_4FGL_J0915.4-3027_daily_bin1141.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/100270/ft1_4FGL_J0915.4-3027_daily_bin1141.fits outfile=/scratch/kocevski/100270/ft1_filteredMKT_4FGL_J0915.4-3027_daily_bin1141.fits ra=138.875 dec=-30.4642 rad=12.0 tmin=535075201.0 tmax=535334401.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 4.03
user 3.54
sys 0.45

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/100270/ft2_4FGL_J0915.4-3027_daily_bin1141.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/100270/ft2_4FGL_J0915.4-3027_daily_bin1141.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/100270/ft1_filteredMKT_4FGL_J0915.4-3027_daily_bin1141.fits evtable="EVENTS" outfile="/scratch/kocevski/100270/ft1_filtered_4FGL_J0915.4-3027_daily_bin1141.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.82
user 0.25
sys 0.37

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/100270/ft1_filtered_4FGL_J0915.4-3027_daily_bin1141.fits" evtable="EVENTS" scfile=/scratch/kocevski/100270/ft2_4FGL_J0915.4-3027_daily_bin1141.fits sctable="SC_DATA" outfile=/scratch/kocevski/100270/ltcube_535075201_535334401_4FGL_J0915.4-3027_daily_bin1141.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/100270/ft2_4FGL_J0915.4-3027_daily_bin1141.fits
.....................!
real 9.15
user 8.55
sys 0.52

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/100270/ft1_filtered_4FGL_J0915.4-3027_daily_bin1141.fits evtable="EVENTS" scfile=/scratch/kocevski/100270/ft2_4FGL_J0915.4-3027_daily_bin1141.fits sctable="SC_DATA" expcube=/scratch/kocevski/100270/ltcube_535075201_535334401_4FGL_J0915.4-3027_daily_bin1141.fits outfile=/scratch/kocevski/100270/expmap_535075201_535334401_4FGL_J0915.4-3027_daily_bin1141.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/100270/ltcube_535075201_535334401_4FGL_J0915.4-3027_daily_bin1141.fits
.....................!
real 146.59
user 141.82
sys 4.05

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
Extended source Puppis A in ROI with RadialDisk spatial model.
Extended source Vela X in ROI with RadialDisk spatial model.
Extended source Vela Junior in ROI with RadialDisk spatial model.
Added 190 point sources and 3 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0915.4-3027 @ 138.875 -30.4642

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/100270/ft1_filtered_4FGL_J0915.4-3027_daily_bin1141.fits scfile=/scratch/kocevski/100270/ft2_4FGL_J0915.4-3027_daily_bin1141.fits outfile=/scratch/kocevski/100270/cmap_535075201_535334401_4FGL_J0915.4-3027_daily_bin1141.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=138.875 yref=-30.4642 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.76
user 0.30
sys 0.35

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/100270/ft1_filtered_4FGL_J0915.4-3027_daily_bin1141.fits scfile=/scratch/kocevski/100270/ft2_4FGL_J0915.4-3027_daily_bin1141.fits outfile=/scratch/kocevski/100270/cmap_HighResolution_535075201_535334401_4FGL_J0915.4-3027_daily_bin1141.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=138.875 yref=-30.4642 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.69
user 0.30
sys 0.36

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/100270/ft1_filtered_4FGL_J0915.4-3027_daily_bin1141.fits evtable="EVENTS" scfile=/scratch/kocevski/100270/ft2_4FGL_J0915.4-3027_daily_bin1141.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/100270/Model_4FGL_J0915.4-3027_daily_bin1141.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
adding source Puppis A
adding source Vela Junior
adding source Vela X
Working on...
/scratch/kocevski/100270/ft1_filtered_4FGL_J0915.4-3027_daily_bin1141.fits.....................!
real 103.15
user 101.22
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/100270/ft1_filtered_4FGL_J0915.4-3027_daily_bin1141.fits', '/scratch/kocevski/100270/ft2_4FGL_J0915.4-3027_daily_bin1141.fits', expMap='/scratch/kocevski/100270/expmap_535075201_535334401_4FGL_J0915.4-3027_daily_bin1141.fits', expCube='/scratch/kocevski/100270/ltcube_535075201_535334401_4FGL_J0915.4-3027_daily_bin1141.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/100270/Model_4FGL_J0915.4-3027_daily_bin1141.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0915.4-3027'

4FGL J0915.4-3027
   Spectrum: PowerLaw
343    Prefactor:  2.454e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
344        Index:  2.241e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
345        Scale:  1.427e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/100270/ft1_filtered_4FGL_J0915.4-3027_daily_bin1141.fits
Spacecraft file(s): /scratch/kocevski/100270/ft2_4FGL_J0915.4-3027_daily_bin1141.fits
Exposure map: /scratch/kocevski/100270/expmap_535075201_535334401_4FGL_J0915.4-3027_daily_bin1141.fits
Exposure cube: /scratch/kocevski/100270/ltcube_535075201_535334401_4FGL_J0915.4-3027_daily_bin1141.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/100270/Model_4FGL_J0915.4-3027_daily_bin1141.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) = 10428.5242618

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .25995       1.0000         .10000E-03   10000.    
     4 'norm      '    .10072E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.7056       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    32.232       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.6769       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.2065       1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.441       1.0000         .10000E-03   10000.    
    11 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .62136       1.0000         .10000E-03   10000.    
    13 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.0582       1.0000         .10000E-03   10000.    
    15 'Prefactor '    28.601       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.2216       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0073       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10428.52     FROM MIGRAD    STATUS=CONVERGED    424 CALLS     2061 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.9747        .84087E-07** at limit **
   2  norm          .10000E-03    4.4745       -.10255E-07** at limit **
   3  Prefactor     .16585E-02    62.683        .51108E-05** at limit **
   4  norm          .10000E-03    48.397       -.79198E-07** at limit **
   5  Prefactor     8.7058        9.7314        .62784E-06   -.25685E-03
   6  Prefactor     .10000E-03    3.3855        .15868E-06** at limit **
   7  Prefactor     32.229        21.911       -.36683E-05   -.11305E-03
   8  Prefactor     4.6760        6.9609        .12763E-05   -.22452E-03
   9  Prefactor     5.1818        142.09        .21146E-03   -.75479E-05
  10  Prefactor     13.438        45.450        .29975E-04   -.32359E-04
  11  norm          .10000E-03    2.5457        .40406E-07** at limit **
  12  norm          .62065        5.5801        .10160E-07   -.27441E-03
  13  norm          .10000E-03    2.8934        .21859E-07** at limit **
  14  norm          3.0634        11.773        .21882E-05   -.12807E-03
  15  Prefactor     28.499        40.180        .75291E-05   -.56158E-04
  16  Prefactor     .10000E-03    9.1895        .35703E-07** at limit **
  17  Normalizat    1.2216        .28136       -.26333E-04    .94699E-04
  18  Prefactor     1.0073        .64343E-01    .25954E-05   -.17709E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.00165854
  norm       = 0.0001
  Prefactor  = 8.70583
  Prefactor  = 0.0001
  Prefactor  = 32.2293
  Prefactor  = 4.67597
  Prefactor  = 5.1818
  Prefactor  = 13.4382
  norm       = 0.0001
  norm       = 0.62065
  norm       = 0.0001
  norm       = 3.06343
  Prefactor  = 28.499
  Prefactor  = 0.0001
  Normalizat = 1.22159
  Prefactor  = 1.00729
 **********
 **   18 **HESSE 
 **********

 FCN=   10428.52     FROM HESSE     STATUS=OK           256 CALLS     2317 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.9910        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    4.5062        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .16585E-02    59.510        .23169       -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    48.568        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.7058        9.7391        .13585E-03   -1.5118    
   6  Prefactor     .10000E-03    3.4002        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     32.229        21.915        .70578E-04   -1.4572    
   8  Prefactor     4.6760        6.9545        .18609E-03   -1.5275    
   9  Prefactor     5.1818        141.07        .17617E-03   -1.5253    
  10  Prefactor     13.438        45.456        .10925E-03   -1.4975    
  11  norm          .10000E-03    2.5543        .15909E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .62065        23.781        .46767E-02   -1.5550    
  13  norm          .10000E-03    2.8940        .16965E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.0634        11.752        .23198E-03   -1.5358    
  15  Prefactor     28.499        40.281        .74913E-04   -1.4640    
  16  Prefactor     .10000E-03    9.1947        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.2216        .29625        .52119E-03   -.85938    
  18  Prefactor     1.0073        .68481E-01    .14558E-03   -.92487    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.33851e-09
Minuit parameter uncertainties:
  1  2.93193e-05
  2  2.71982e-06
  3  0.609697
  4  0.000123116
  5  9.74084
  6  3.08049e-05
  7  21.9206
  8  6.95573
  9  54.2162
  10  45.5734
  11  3.9856e-06
  12  7.68627
  13  2.86365e-06
  14  11.7606
  15  40.3195
  16  6.75118e-06
  17  0.296664
  18  0.0684865
Done.

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

Extracting fit parameters...

4FGL J0915.4-3027
   Spectrum: PowerLaw
343    Prefactor:  3.223e+01  2.192e+01  1.000e-04  1.000e+04 ( 1.000e-13)
344        Index:  2.241e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
345        Scale:  1.427e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
640    Prefactor:  1.007e+00  6.849e-02  0.000e+00  1.000e+01 ( 1.000e+00)
641        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
642        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
639   Normalization:  1.222e+00  2.967e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.04
Ra Dec: 138.875 -30.464
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 1.00e-07 +/- 6.83e-08
Energy Flux (Fixed Index): 4.19e-05 +/- 2.85e-05

TS (Fixed Index): 3.04
Ra Dec: 138.875 -30.464
Photon Flux Upper Limit: 2.33e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.78e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/100270/likelihoodResults_535075201_535334401_4FGL_J0915.4-3027_daily_bin1141.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) = 10428.3992003
delta logL = 0.116301949756

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10428.3834732
delta logL = 0.13202906936

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.956       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5205       1.0000          .0000       10.000    
     3 'Normalizat'    1.2018       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0097       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+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=   10428.38     FROM MIGRAD    STATUS=FAILED        90 CALLS      302 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.953        29.931        .83601E-04   -.11749E-03
   2  Index         2.5202        .69334        .62008E-02    .86093E-03
   3  Normalizat    1.2017        .26289        .26238E-02   -.30332E-03
   4  Prefactor     1.0098        .66809E-01    .14541E-03   -.91168E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   10428.38     FROM SIMPLEX   STATUS=UNCHANGED     76 CALLS      378 TOTAL
                     EDM=   .15E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.953        29.931        .21384E-03   -1.4749    
   2  Index         2.5202        .69334        .51795E-03   -.51894    
   3  Normalizat    1.2017        .26289        .38704E-03   -.86550    
   4  Prefactor     1.0098        .66809E-01    .80991E-04   -.92405    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10428.38     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      408 TOTAL
                     EDM=   .16E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.953        25.700        .33441E-05   -.12239E-04
   2  Index         2.5202        .59544        .12402E-02    .47119E-05
   3  Normalizat    1.2017        .26253        .10495E-03   -.64994E-06
   4  Prefactor     1.0098        .66731E-01    .29082E-04   -.12509E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.9529
  Index      = 2.52019
  Normalizat = 1.2017
  Prefactor  = 1.00977
 **********
 **   18 **HESSE 
 **********

 FCN=   10428.38     FROM HESSE     STATUS=OK            23 CALLS      431 TOTAL
                     EDM=   .12E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.953        25.175        .66881E-06   -1.4749    
   2  Index         2.5202        .58166        .49606E-04   -.51894    
   3  Normalizat    1.2017        .26246        .41981E-05   -.86550    
   4  Prefactor     1.0098        .66709E-01    .58165E-05   -.92405    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15993e-12
Minuit parameter uncertainties:
  1  25.1869
  2  0.583419
  3  0.262744
  4  0.0667141
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/100270': 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) = 10428.3834716
delta logL = 0.132030611758

Extracting fit parameters...

4FGL J0915.4-3027
   Spectrum: PowerLaw
343    Prefactor:  2.295e+01  2.519e+01  1.000e-04  1.000e+04 ( 1.000e-13)
344        Index:  2.520e+00  5.834e-01  0.000e+00  1.000e+01 (-1.000e+00)
345        Scale:  1.427e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
640    Prefactor:  1.010e+00  6.671e-02  0.000e+00  1.000e+01 ( 1.000e+00)
641        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
642        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
639   Normalization:  1.202e+00  2.627e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.34
Ra Dec: 138.875 -30.464
Photon Index (Free Index): 2.52 +/- 0.58
Photon Flux (Free Index): 1.23e-07 +/- 8.52e-08
Energy Flux (Free Index): 3.48e-05 +/- 2.54e-05

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/100270/cmap_HighResolution_535075201_535334401_4FGL_J0915.4-3027_daily_bin1141.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.78e-02', comment='SUCCESS', photon_flux='1.00e-07', energy_flux2='3.48e-05', photon_flux_error='6.83e-08', dlogl='1.32e-01', energy_flux='4.19e-05', photon_flux2='1.23e-07', job_status='DONE', time_completed='2021-08-31 05:34:56.920245', photon_index_error2='0.58', photon_index2='2.52', ts='3.04', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='2.33e-07', energy_flux_error2='2.54e-05', EG='1.22', time_epoch_completed='1630413296.92', return_code='0', job_id='100270', GAL2='1.01', EG2='1.20', return_code2='0', energy_flux_error='2.85e-05', photon_flux_error2='8.52e-08', ts2='3.34', photon_index='2.24' WHERE bin_id='1141' AND source_name='4FGL J0915.4-3027' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:34:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0033>
Subject: Job 100270: <4FGL_J0915.4-3027_daily_bin1141> in cluster <slac> Done

Job <4FGL_J0915.4-3027_daily_bin1141> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 05:20:47 2021
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:20:48 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 05:20:48 2021
Terminated at Tue Aug 31 05:34:57 2021
Results reported at Tue Aug 31 05:34:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.4-3027_daily_bin1141 138.875 -30.4642 535075201 535334401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0915.4-3027 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   720.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             328.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   849 sec.
    Turnaround time :                            850 sec.

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

