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


Performing analysis on: 4FGL_J0915.4-3027_daily_bin1024
RA = 138.875, Dec = -30.4642
tmin = 504748801, tmax = 505008001
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='98446', job_status='RUN', time_executed='2021-08-31 05:18:14.129708', time_epoch_executed='1630412294.13' WHERE source_name='4FGL J0915.4-3027' and cadence='daily' and bin_id='1024'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/98446

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/98446/ft1_4FGL_J0915.4-3027_daily_bin1024.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/98446/ft2_4FGL_J0915.4-3027_daily_bin1024.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/98446/ft1_4FGL_J0915.4-3027_daily_bin1024.fits outfile=/scratch/kocevski/98446/ft1_filteredMKT_4FGL_J0915.4-3027_daily_bin1024.fits ra=138.875 dec=-30.4642 rad=12.0 tmin=504748801.0 tmax=505008001.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 8.29
user 7.98
sys 0.28

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/98446/ft2_4FGL_J0915.4-3027_daily_bin1024.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/98446/ft1_filteredMKT_4FGL_J0915.4-3027_daily_bin1024.fits evtable="EVENTS" outfile="/scratch/kocevski/98446/ft1_filtered_4FGL_J0915.4-3027_daily_bin1024.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.57
user 0.36
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/98446/ft1_filtered_4FGL_J0915.4-3027_daily_bin1024.fits" evtable="EVENTS" scfile=/scratch/kocevski/98446/ft2_4FGL_J0915.4-3027_daily_bin1024.fits sctable="SC_DATA" outfile=/scratch/kocevski/98446/ltcube_504748801_505008001_4FGL_J0915.4-3027_daily_bin1024.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/98446/ft2_4FGL_J0915.4-3027_daily_bin1024.fits
.....................!
real 13.04
user 12.70
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/98446/ft1_filtered_4FGL_J0915.4-3027_daily_bin1024.fits evtable="EVENTS" scfile=/scratch/kocevski/98446/ft2_4FGL_J0915.4-3027_daily_bin1024.fits sctable="SC_DATA" expcube=/scratch/kocevski/98446/ltcube_504748801_505008001_4FGL_J0915.4-3027_daily_bin1024.fits outfile=/scratch/kocevski/98446/expmap_504748801_505008001_4FGL_J0915.4-3027_daily_bin1024.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/98446/ltcube_504748801_505008001_4FGL_J0915.4-3027_daily_bin1024.fits
.....................!
real 191.49
user 185.97
sys 5.13

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/98446/ft1_filtered_4FGL_J0915.4-3027_daily_bin1024.fits scfile=/scratch/kocevski/98446/ft2_4FGL_J0915.4-3027_daily_bin1024.fits outfile=/scratch/kocevski/98446/cmap_504748801_505008001_4FGL_J0915.4-3027_daily_bin1024.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.55
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/98446/ft1_filtered_4FGL_J0915.4-3027_daily_bin1024.fits scfile=/scratch/kocevski/98446/ft2_4FGL_J0915.4-3027_daily_bin1024.fits outfile=/scratch/kocevski/98446/cmap_HighResolution_504748801_505008001_4FGL_J0915.4-3027_daily_bin1024.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.55
user 0.41
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/98446/ft1_filtered_4FGL_J0915.4-3027_daily_bin1024.fits evtable="EVENTS" scfile=/scratch/kocevski/98446/ft2_4FGL_J0915.4-3027_daily_bin1024.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/98446/Model_4FGL_J0915.4-3027_daily_bin1024.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/98446/ft1_filtered_4FGL_J0915.4-3027_daily_bin1024.fits.....................!
real 122.50
user 120.87
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.3863       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .81458       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.6048       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    16.447       1.0000         .10000E-03   10000.    
    11 'norm      '    2.3625       1.0000         .10000E-03   10000.    
    12 'norm      '    9.1386       1.0000         .10000E-03   10000.    
    13 'norm      '    1.0679       1.0000         .10000E-03   10000.    
    14 'norm      '    25.590       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .60889       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0206       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9726.722     FROM MIGRAD    STATUS=CONVERGED    353 CALLS     1505 TOTAL
                     EDM=   .22E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10003E-03    10.929         .0000    ** at limit **
   2  norm          1.3863        7.6815         .0000        .18253E-01
   3  Prefactor     .10000E-03    27.534         .0000    ** at limit **
   4  norm          .10007E-03    28.083         .0000    ** at limit **
   5  Prefactor     .10000E-03    4.0218         .0000    ** at limit **
   6  Prefactor     .82047        2.9246         .0000        .90182E-03
   7  Prefactor     .10000E-03    7.1738         .0000    ** at limit **
   8  Prefactor     5.6047        5.0589         .0000        .43188E-03
   9  Prefactor     .10001E-03    15.537         .0000    ** at limit **
  10  Prefactor     16.447        23.650         .0000       -.55428E-03
  11  norm          2.3621        4.6634         .0000        .19034E-01
  12  norm          9.1382        12.079         .0000        .77354E-04
  13  norm          1.0681        9.6283         .0000        .27893E-01
  14  norm          25.589        11.813         .0000       -.36293E-04
  15  Prefactor     .10024E-03    14.024         .0000    ** at limit **
  16  Prefactor     .10035E-03    17.340         .0000    ** at limit **
  17  Normalizat    .60893        .21168         .0000       -.30689E-05
  18  Prefactor     1.0206        .61954E-01     .0000        .27054E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100026
  norm       = 1.38633
  Prefactor  = 0.000100003
  norm       = 0.000100072
  Prefactor  = 0.0001
  Prefactor  = 0.820474
  Prefactor  = 0.0001
  Prefactor  = 5.60472
  Prefactor  = 0.000100007
  Prefactor  = 16.4475
  norm       = 2.36207
  norm       = 9.13815
  norm       = 1.06806
  norm       = 25.5895
  Prefactor  = 0.00010024
  Prefactor  = 0.000100354
  Normalizat = 0.608931
  Prefactor  = 1.02062
 **********
 **   18 **HESSE 
 **********

 FCN=   9726.722     FROM HESSE     STATUS=OK           244 CALLS     1749 TOTAL
                     EDM=   .47E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10003E-03    11.077        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.3863        7.6480        .18467E-02   -1.5472    
   3  Prefactor     .10000E-03    27.558        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10007E-03    28.239        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.0679        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .82047        8.6011        .30235E-02   -1.5527    
   7  Prefactor     .10000E-03    7.2046        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.6047        5.0565        .16969E-03   -1.5234    
   9  Prefactor     .10001E-03    15.554        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     16.447        23.621        .98760E-04   -1.4897    
  11  norm          2.3621        4.6412        .13331E-02   -1.5401    
  12  norm          9.1382        12.074        .13258E-03   -1.5103    
  13  norm          1.0681        9.5974        .23553E-02   -1.5501    
  14  norm          25.589        11.806        .79189E-04   -1.4696    
  15  Prefactor     .10024E-03    14.061        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10035E-03    17.437        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .60893        .21292        .56012E-03   -1.0761    
  18  Prefactor     1.0206        .63446E-01    .12993E-03   -.92045    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.69153e-08
Minuit parameter uncertainties:
  1  0.00107903
  2  6.5134
  3  0.000545368
  4  0.00285193
  5  6.27248e-05
  6  5.31364
  7  1.55434e-05
  8  5.05692
  9  0.000641502
  10  23.634
  11  4.64192
  12  12.0772
  13  6.40437
  14  11.8066
  15  0.0036779
  16  0.0049701
  17  0.21321
  18  0.0634503
Done.

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

Extracting fit parameters...

4FGL J0915.4-3027
   Spectrum: PowerLaw
343    Prefactor:  1.000e-04  1.554e-05  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.021e+00  6.345e-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:  6.089e-01  2.132e-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: 7.83e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.99e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/98446/likelihoodResults_504748801_505008001_4FGL_J0915.4-3027_daily_bin1024.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) = 9726.72233917
delta logL = -0.000661625683279

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9726.72167755
delta logL = -3.66526364814e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2433       1.0000          .0000       10.000    
     3 'Normalizat'    .60892       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0206       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=   9726.722     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      218 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.9871        .90712E-02** at limit **
   2  Index         2.2454        5.0652        .50000       -.25087E-05
   3  Normalizat    .60893        .51428E-02    .12618        .42745E-04
   4  Prefactor     1.0206        .15228E-02    .29401E-01   -.93119E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.2454
  Normalizat = 0.608932
  Prefactor  = 1.02062
 **********
 **   18 **HESSE 
 **********

 FCN=   9726.722     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      251 TOTAL
                     EDM=   .84E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    92.484        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2454        8.6063        .50000       -.58347    
   3  Normalizat    .60893        .22293E-01    .56012E-03   -1.0761    
   4  Prefactor     1.0206        .66339E-02    .12993E-03   -.92045    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.44538e-08
Minuit parameter uncertainties:
  1  3.31412e-05
  2  487.2
  3  0.0222935
  4  0.00663387
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/98446': 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) = 9726.72167754
delta logL = 2.59569787886e-09

Extracting fit parameters...

4FGL J0915.4-3027
   Spectrum: PowerLaw
343    Prefactor:  1.000e-04  3.314e-05  1.000e-04  1.000e+04 ( 1.000e-13)
344        Index:  2.245e+00  4.872e+02  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.021e+00  6.634e-03  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:  6.089e-01  2.229e-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/98446/cmap_HighResolution_504748801_505008001_4FGL_J0915.4-3027_daily_bin1024.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.99e-03', job_status='DONE', photon_flux_upper_limit='7.83e-08', time_completed='2021-08-31 05:31:52.940234', job_id='98446', GAL2='1.02', fit_tolerance='1e-08', EG2='0.61', EG='0.61', time_epoch_completed='1630413112.94', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='2.60e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='1024' AND source_name='4FGL J0915.4-3027' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:31:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0133>
Subject: Job 98446: <4FGL_J0915.4-3027_daily_bin1024> in cluster <slac> Done

Job <4FGL_J0915.4-3027_daily_bin1024> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Aug 31 05:15:50 2021
Job was executed on host(s) <bullet0133>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:15:51 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:15:51 2021
Terminated at Tue Aug 31 05:31:53 2021
Results reported at Tue Aug 31 05:31:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.4-3027_daily_bin1024 138.875 -30.4642 504748801 505008001 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 :                                   810.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             290.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   962 sec.
    Turnaround time :                            963 sec.

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

