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


Performing analysis on: 4FGL_J0915.4-3027_daily_bin1084
RA = 138.875, Dec = -30.4642
tmin = 520300801, tmax = 520560001
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='100174', job_status='RUN', time_executed='2021-08-31 05:21:48.792149', time_epoch_executed='1630412508.79' WHERE source_name='4FGL J0915.4-3027' and cadence='daily' and bin_id='1084'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/100174

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/100174/ft1_4FGL_J0915.4-3027_daily_bin1084.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/100174/ft2_4FGL_J0915.4-3027_daily_bin1084.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/100174/ft1_4FGL_J0915.4-3027_daily_bin1084.fits outfile=/scratch/kocevski/100174/ft1_filteredMKT_4FGL_J0915.4-3027_daily_bin1084.fits ra=138.875 dec=-30.4642 rad=12.0 tmin=520300801.0 tmax=520560001.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 7.44
user 5.80
sys 1.60

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/100174/ft2_4FGL_J0915.4-3027_daily_bin1084.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/100174/ft1_filteredMKT_4FGL_J0915.4-3027_daily_bin1084.fits evtable="EVENTS" outfile="/scratch/kocevski/100174/ft1_filtered_4FGL_J0915.4-3027_daily_bin1084.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 1.85
user 0.31
sys 1.52

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/100174/ft1_filtered_4FGL_J0915.4-3027_daily_bin1084.fits" evtable="EVENTS" scfile=/scratch/kocevski/100174/ft2_4FGL_J0915.4-3027_daily_bin1084.fits sctable="SC_DATA" outfile=/scratch/kocevski/100174/ltcube_520300801_520560001_4FGL_J0915.4-3027_daily_bin1084.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/100174/ft2_4FGL_J0915.4-3027_daily_bin1084.fits
.....................!
real 14.17
user 12.28
sys 1.84

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/100174/ft1_filtered_4FGL_J0915.4-3027_daily_bin1084.fits evtable="EVENTS" scfile=/scratch/kocevski/100174/ft2_4FGL_J0915.4-3027_daily_bin1084.fits sctable="SC_DATA" expcube=/scratch/kocevski/100174/ltcube_520300801_520560001_4FGL_J0915.4-3027_daily_bin1084.fits outfile=/scratch/kocevski/100174/expmap_520300801_520560001_4FGL_J0915.4-3027_daily_bin1084.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/100174/ltcube_520300801_520560001_4FGL_J0915.4-3027_daily_bin1084.fits
.....................!
real 192.17
user 185.30
sys 6.43

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/100174/ft1_filtered_4FGL_J0915.4-3027_daily_bin1084.fits scfile=/scratch/kocevski/100174/ft2_4FGL_J0915.4-3027_daily_bin1084.fits outfile=/scratch/kocevski/100174/cmap_520300801_520560001_4FGL_J0915.4-3027_daily_bin1084.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 2.00
user 0.35
sys 1.52

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/100174/ft1_filtered_4FGL_J0915.4-3027_daily_bin1084.fits scfile=/scratch/kocevski/100174/ft2_4FGL_J0915.4-3027_daily_bin1084.fits outfile=/scratch/kocevski/100174/cmap_HighResolution_520300801_520560001_4FGL_J0915.4-3027_daily_bin1084.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 1.86
user 0.39
sys 1.46

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/100174/ft1_filtered_4FGL_J0915.4-3027_daily_bin1084.fits evtable="EVENTS" scfile=/scratch/kocevski/100174/ft2_4FGL_J0915.4-3027_daily_bin1084.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/100174/Model_4FGL_J0915.4-3027_daily_bin1084.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/100174/ft1_filtered_4FGL_J0915.4-3027_daily_bin1084.fits.....................!
real 130.49
user 127.04
sys 2.97

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/100174/ft1_filtered_4FGL_J0915.4-3027_daily_bin1084.fits', '/scratch/kocevski/100174/ft2_4FGL_J0915.4-3027_daily_bin1084.fits', expMap='/scratch/kocevski/100174/expmap_520300801_520560001_4FGL_J0915.4-3027_daily_bin1084.fits', expCube='/scratch/kocevski/100174/ltcube_520300801_520560001_4FGL_J0915.4-3027_daily_bin1084.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/100174/Model_4FGL_J0915.4-3027_daily_bin1084.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/100174/ft1_filtered_4FGL_J0915.4-3027_daily_bin1084.fits
Spacecraft file(s): /scratch/kocevski/100174/ft2_4FGL_J0915.4-3027_daily_bin1084.fits
Exposure map: /scratch/kocevski/100174/expmap_520300801_520560001_4FGL_J0915.4-3027_daily_bin1084.fits
Exposure cube: /scratch/kocevski/100174/ltcube_520300801_520560001_4FGL_J0915.4-3027_daily_bin1084.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/100174/Model_4FGL_J0915.4-3027_daily_bin1084.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) = 9915.86273818

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .26130E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.3777       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.4940       1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.563       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .77915E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    17.071       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10170E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    10.593       1.0000         .10000E-03   10000.    
    13 'norm      '    29.470       1.0000         .10000E-03   10000.    
    14 'norm      '    17.361       1.0000         .10000E-03   10000.    
    15 'Prefactor '    34.394       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.6144       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .88580       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.

 FCN=   9915.661     FROM MIGRAD    STATUS=CONVERGED    704 CALLS     2146 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    9.5621        .18142E-02** at limit **
   2  norm          .10000E-03    3.3580        .17781E-02** at limit **
   3  Prefactor     .10000E-03    36.186        .19792    ** at limit **
   4  norm          1.4264        192.25        .37101E-03   -.17160E-04
   5  Prefactor     2.4963        8.4811        .25881E-03   -.47441E-05
   6  Prefactor     11.564        8.9225        .11781E-03   -.58479E-04
   7  Prefactor     .91941E-01    12.170        .95737E-01    .26223E-04
   8  Prefactor     .10000E-03    9.4784        .36285E-03** at limit **
   9  Prefactor     17.080        46.895        .96938E-04   -.46442E-04
  10  Prefactor     .10000E-03    30.566        .18142E-02** at limit **
  11  norm          .10000E-03    7.7587        .18142E-02** at limit **
  12  norm          10.594        17.303        .12310E-03   -.29368E-04
  13  norm          29.469        16.771        .73803E-04   -.14239E-03
  14  norm          17.363        17.176        .96124E-04   -.57480E-04
  15  Prefactor     34.397        33.676        .68331E-04   -.33475E-04
  16  Prefactor     .10000E-03    6.2542        .18142E-02** at limit **
  17  Normalizat    1.6142        .29105        .47204E-03   -.12986E-03
  18  Prefactor     .88575        .68166E-01    .14817E-03   -.85136E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 1.42637
  Prefactor  = 2.49634
  Prefactor  = 11.5637
  Prefactor  = 0.0919415
  Prefactor  = 0.0001
  Prefactor  = 17.0797
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 10.5938
  norm       = 29.4691
  norm       = 17.3627
  Prefactor  = 34.3971
  Prefactor  = 0.0001
  Normalizat = 1.61424
  Prefactor  = 0.885752
 **********
 **   18 **HESSE 
 **********

 FCN=   9915.661     FROM HESSE     STATUS=OK           246 CALLS     2392 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    9.5642        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    3.3585        .35562E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    36.321        .19726       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.4264        192.18        .14841E-04   -1.5469    
   5  Prefactor     2.4963        8.4800        .10352E-04   -1.5392    
   6  Prefactor     11.564        8.9219        .47124E-05   -1.5028    
   7  Prefactor     .91941E-01    11.549        .99478E-01   -1.5647    
   8  Prefactor     .10000E-03    9.4790        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.080        46.886        .38775E-05   -1.4881    
  10  Prefactor     .10000E-03    30.574        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    7.7628        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          10.594        17.303        .49241E-05   -1.5057    
  13  norm          29.469        16.771        .14761E-04   -1.4622    
  14  norm          17.363        17.178        .38450E-05   -1.4874    
  15  Prefactor     34.397        33.675        .13666E-04   -1.4534    
  16  Prefactor     .10000E-03    6.2542        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.6142        .29113        .18882E-04   -.74617    
  18  Prefactor     .88575        .68175E-01    .29634E-04   -.96641    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31075e-10
Minuit parameter uncertainties:
  1  2.03403e-05
  2  6.1097e-06
  3  0.000341958
  4  33.2213
  5  8.48405
  6  8.92294
  7  2.06022
  8  3.07926e-05
  9  46.9878
  10  2.48957e-05
  11  1.14557e-06
  12  17.3108
  13  16.7739
  14  17.1834
  15  33.6933
  16  6.97745e-07
  17  0.291441
  18  0.0681814
Done.

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

Extracting fit parameters...

4FGL J0915.4-3027
   Spectrum: PowerLaw
343    Prefactor:  9.194e-02  2.060e+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

GAL_V02
   Spectrum: PowerLaw
640    Prefactor:  8.858e-01  6.818e-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.614e+00  2.914e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 138.875 -30.464
Photon Flux Upper Limit: 1.17e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.96e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/100174/likelihoodResults_520300801_520560001_4FGL_J0915.4-3027_daily_bin1084.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) = 9915.66098008
delta logL = 3.24786014971e-07

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9915.66097976
delta logL = 6.43678504275e-07

Fit tolerance = 1e-08

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

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

 FCN=   9915.661     FROM MIGRAD    STATUS=CONVERGED     75 CALLS      256 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13900        5.9219        .14211        .75276E-04
   2  Index         2.2993        1.3693        .50000       -.64499E-05
   3  Normalizat    1.6141        .77044E-02    .10653        .25454E-03
   4  Prefactor     .88574        .18734E-02    .33533E-01    .37350E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.139
  Index      = 2.29926
  Normalizat = 1.61415
  Prefactor  = 0.88574
 **********
 **   18 **HESSE 
 **********

 FCN=   9915.661     FROM HESSE     STATUS=NOT POSDEF    41 CALLS      297 TOTAL
                     EDM=   .41E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13900        354.83        .87262E-01   -1.5633    
   2  Index         2.2993        5.6322        .33316E-01   -.57061    
   3  Normalizat    1.6141        .46643E-01    .47205E-03   -.74619    
   4  Prefactor     .88574        .11302E-01    .14817E-03   -.96641    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.07763e-08
Minuit parameter uncertainties:
  1  14.1253
  2  33.4035
  3  0.0466438
  4  0.0113025
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/100174': 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) = 9915.66094244
delta logL = 3.79594202968e-05

Extracting fit parameters...

4FGL J0915.4-3027
   Spectrum: PowerLaw
343    Prefactor:  1.390e-01  1.413e+01  1.000e-04  1.000e+04 ( 1.000e-13)
344        Index:  2.299e+00  3.340e+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:  8.857e-01  1.130e-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.614e+00  4.664e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 138.875 -30.464

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/100174/cmap_HighResolution_520300801_520560001_4FGL_J0915.4-3027_daily_bin1084.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.96e-03', job_status='DONE', photon_flux_upper_limit='1.17e-07', time_completed='2021-08-31 05:37:09.042533', job_id='100174', GAL2='0.89', fit_tolerance='1e-08', EG2='1.61', EG='1.61', time_epoch_completed='1630413429.04', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='3.80e-05', ts2='0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='1084' AND source_name='4FGL J0915.4-3027' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:37:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0294>
Subject: Job 100174: <4FGL_J0915.4-3027_daily_bin1084> in cluster <slac> Done

Job <4FGL_J0915.4-3027_daily_bin1084> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 05:20:41 2021
Job was executed on host(s) <bullet0294>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:20:42 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:42 2021
Terminated at Tue Aug 31 05:37:12 2021
Results reported at Tue Aug 31 05:37:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.4-3027_daily_bin1084 138.875 -30.4642 520300801 520560001 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 :                                   935.41 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             313.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   987 sec.
    Turnaround time :                            991 sec.

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

