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


Performing analysis on: 4FGL_J0915.4-3027_daily_bin484
RA = 138.875, Dec = -30.4642
tmin = 364780801, tmax = 365040001
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='94065', job_status='RUN', time_executed='2021-08-31 05:08:04.245944', time_epoch_executed='1630411684.25' WHERE source_name='4FGL J0915.4-3027' and cadence='daily' and bin_id='484'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/94065

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/94065/ft1_4FGL_J0915.4-3027_daily_bin484.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/94065/ft2_4FGL_J0915.4-3027_daily_bin484.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/94065/ft1_4FGL_J0915.4-3027_daily_bin484.fits outfile=/scratch/kocevski/94065/ft1_filteredMKT_4FGL_J0915.4-3027_daily_bin484.fits ra=138.875 dec=-30.4642 rad=12.0 tmin=364780801.0 tmax=365040001.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.53
user 3.06
sys 0.45

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/94065/ft2_4FGL_J0915.4-3027_daily_bin484.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/94065/ft1_filteredMKT_4FGL_J0915.4-3027_daily_bin484.fits evtable="EVENTS" outfile="/scratch/kocevski/94065/ft1_filtered_4FGL_J0915.4-3027_daily_bin484.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.84
user 0.32
sys 0.38

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/94065/ft1_filtered_4FGL_J0915.4-3027_daily_bin484.fits" evtable="EVENTS" scfile=/scratch/kocevski/94065/ft2_4FGL_J0915.4-3027_daily_bin484.fits sctable="SC_DATA" outfile=/scratch/kocevski/94065/ltcube_364780801_365040001_4FGL_J0915.4-3027_daily_bin484.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/94065/ft2_4FGL_J0915.4-3027_daily_bin484.fits
.....................!
real 12.52
user 11.74
sys 0.58

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/94065/ft1_filtered_4FGL_J0915.4-3027_daily_bin484.fits evtable="EVENTS" scfile=/scratch/kocevski/94065/ft2_4FGL_J0915.4-3027_daily_bin484.fits sctable="SC_DATA" expcube=/scratch/kocevski/94065/ltcube_364780801_365040001_4FGL_J0915.4-3027_daily_bin484.fits outfile=/scratch/kocevski/94065/expmap_364780801_365040001_4FGL_J0915.4-3027_daily_bin484.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/94065/ltcube_364780801_365040001_4FGL_J0915.4-3027_daily_bin484.fits
.....................!
real 190.35
user 185.18
sys 4.62

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/94065/ft1_filtered_4FGL_J0915.4-3027_daily_bin484.fits scfile=/scratch/kocevski/94065/ft2_4FGL_J0915.4-3027_daily_bin484.fits outfile=/scratch/kocevski/94065/cmap_364780801_365040001_4FGL_J0915.4-3027_daily_bin484.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.80
user 0.38
sys 0.37

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/94065/ft1_filtered_4FGL_J0915.4-3027_daily_bin484.fits scfile=/scratch/kocevski/94065/ft2_4FGL_J0915.4-3027_daily_bin484.fits outfile=/scratch/kocevski/94065/cmap_HighResolution_364780801_365040001_4FGL_J0915.4-3027_daily_bin484.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.77
user 0.38
sys 0.37

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/94065/ft1_filtered_4FGL_J0915.4-3027_daily_bin484.fits evtable="EVENTS" scfile=/scratch/kocevski/94065/ft2_4FGL_J0915.4-3027_daily_bin484.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/94065/Model_4FGL_J0915.4-3027_daily_bin484.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/94065/ft1_filtered_4FGL_J0915.4-3027_daily_bin484.fits.....................!
real 112.63
user 110.71
sys 1.53

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    79.133       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .73260       1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.4845       1.0000         .10000E-03   10000.    
     7 'Prefactor '    42.078       1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.306       1.0000         .10000E-03   10000.    
     9 'Prefactor '    30.080       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10871E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    11.463       1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.4682       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.9217       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.1254       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.0916       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .87117       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=   8759.295     FROM MIGRAD    STATUS=CONVERGED    346 CALLS     1727 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    10.204       -.20269E-06** at limit **
   2  norm          .10000E-03    2.7167        .24596E-06** at limit **
   3  Prefactor     79.138        74.826        .25360E-05    .88574E-04
   4  norm          .10000E-03    15.946       -.14072E-07** at limit **
   5  Prefactor     .73265        6.3249       -.28627E-06   -.64348E-04
   6  Prefactor     8.4850        11.024       -.29174E-07   -.29855E-04
   7  Prefactor     42.066        23.075       -.24121E-05   -.40022E-03
   8  Prefactor     10.306        7.0128        .50527E-06   -.87361E-03
   9  Prefactor     30.080        31.724        .31539E-07    .19740E-04
  10  Prefactor     .10000E-03    64.443        .10990E-05** at limit **
  11  norm          .10000E-03    2.9989        .60096E-07** at limit **
  12  norm          11.463        21.437       -.41095E-06   -.89124E-05
  13  norm          .10000E-03    6.7444        .27707E-06** at limit **
  14  norm          3.4680        7.1812        .29721E-05   -.10312E-02
  15  Prefactor     1.9079        90.937       -.18727E-04   -.11503E-03
  16  Prefactor     5.1242        15.448        .98371E-06    .45876E-04
  17  Normalizat    1.0915        .26308        .99186E-06    .71763E-04
  18  Prefactor     .87117        .62904E-01    .46137E-07    .32382E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 79.138
  norm       = 0.0001
  Prefactor  = 0.732648
  Prefactor  = 8.485
  Prefactor  = 42.0661
  Prefactor  = 10.3062
  Prefactor  = 30.0805
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 11.4633
  norm       = 0.0001
  norm       = 3.46796
  Prefactor  = 1.9079
  Prefactor  = 5.12421
  Normalizat = 1.09149
  Prefactor  = 0.871171
 **********
 **   18 **HESSE 
 **********

 FCN=   8759.295     FROM HESSE     STATUS=OK           244 CALLS     1971 TOTAL
                     EDM=   .55E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    10.253        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.7202        .15068E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     79.138        74.949        .45146E-04   -1.3926    
   4  norm          .10000E-03    15.955        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .73265        24.270        .44096E-02   -1.5537    
   6  Prefactor     8.4850        11.031        .13762E-03   -1.5125    
   7  Prefactor     42.066        23.614        .61799E-04   -1.4410    
   8  Prefactor     10.306        7.2537        .62406E-03   -1.5066    
   9  Prefactor     30.080        31.768        .73052E-04   -1.4611    
  10  Prefactor     .10000E-03    64.954        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    3.0083        .15826E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          11.463        21.437        .11832E-03   -1.5031    
  13  norm          .10000E-03    6.7618        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.4680        8.8282        .10857E-02   -1.5335    
  15  Prefactor     1.9079        99.236        .29974E-03   -1.5432    
  16  Prefactor     5.1242        15.473        .17759E-03   -1.5255    
  17  Normalizat    1.0915        .27794        .50561E-03   -.90025    
  18  Prefactor     .87117        .66889E-01    .14000E-03   -.97156    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.47274e-08
Minuit parameter uncertainties:
  1  2.39114e-05
  2  8.71545e-06
  3  75.0383
  4  5.98647e-06
  5  8.43672
  6  11.0341
  7  23.6195
  8  7.25436
  9  31.7859
  10  0.000373859
  11  2.15539e-06
  12  21.4513
  13  1.27126e-05
  14  8.83147
  15  27.5672
  16  15.4851
  17  0.278314
  18  0.0668948
Done.

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

Extracting fit parameters...

4FGL J0915.4-3027
   Spectrum: PowerLaw
343    Prefactor:  4.207e+01  2.362e+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:  8.712e-01  6.689e-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.091e+00  2.783e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.73
Ra Dec: 138.875 -30.464
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 1.31e-07 +/- 7.36e-08
Energy Flux (Fixed Index): 5.47e-05 +/- 3.07e-05

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) = 8759.08489763
delta logL = 0.210085020151

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8759.08130563
delta logL = 0.213677016005

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    31.146       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5267       1.0000          .0000       10.000    
     3 'Normalizat'    1.0625       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87379       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=   8759.081     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      279 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     31.129        265.64        .17949E-02    .19559E-04
   2  Index         2.5264        2.4796        .13257        .17787E-03
   3  Normalizat    1.0627        .14363        .11527        .27845E-04
   4  Prefactor     .87395        .28370E-01    .31631E-01   -.65395E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 31.1295
  Index      = 2.5264
  Normalizat = 1.06272
  Prefactor  = 0.873947
 **********
 **   18 **HESSE 
 **********

 FCN=   8759.081     FROM HESSE     STATUS=OK            33 CALLS      312 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     31.129        27.208        .71795E-04   -1.4592    
   2  Index         2.5264        .49028        .47391E-02   -.51751    
   3  Normalizat    1.0627        .26481        .51128E-03   -.90958    
   4  Prefactor     .87395        .65301E-01    .13977E-03   -.97057    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13153e-11
Minuit parameter uncertainties:
  1  27.2192
  2  0.491325
  3  0.265145
  4  0.0653064
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/94065': 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) = 8759.08129577
delta logL = 0.213686878011

Extracting fit parameters...

4FGL J0915.4-3027
   Spectrum: PowerLaw
343    Prefactor:  3.113e+01  2.722e+01  1.000e-04  1.000e+04 ( 1.000e-13)
344        Index:  2.526e+00  4.913e-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.739e-01  6.531e-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.063e+00  2.651e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.20
Ra Dec: 138.875 -30.464
Photon Index (Free Index): 2.53 +/- 0.49
Photon Flux (Free Index): 1.68e-07 +/- 1.00e-07
Energy Flux (Free Index): 4.75e-05 +/- 2.73e-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/94065/cmap_HighResolution_364780801_365040001_4FGL_J0915.4-3027_daily_bin484.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.31e-07', energy_flux2='4.75e-05', photon_flux_error='7.36e-08', dlogl='2.14e-01', energy_flux='5.47e-05', photon_flux2='1.68e-07', job_status='DONE', time_completed='2021-08-31 05:19:31.613274', photon_index_error2='0.49', photon_index2='2.53', ts='5.73', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='2.73e-05', EG='1.09', time_epoch_completed='1630412371.61', return_code='0', job_id='94065', GAL2='0.87', EG2='1.06', return_code2='0', energy_flux_error='3.07e-05', photon_flux_error2='1.00e-07', ts2='6.20', photon_index='2.24' WHERE bin_id='484' AND source_name='4FGL J0915.4-3027' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:19:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 94065: <4FGL_J0915.4-3027_daily_bin484> in cluster <slac> Done

Job <4FGL_J0915.4-3027_daily_bin484> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Aug 31 05:05:57 2021
Job was executed on host(s) <bullet0225>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:05:59 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:05:59 2021
Terminated at Tue Aug 31 05:19:32 2021
Results reported at Tue Aug 31 05:19:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.4-3027_daily_bin484 138.875 -30.4642 364780801 365040001 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 :                                   688.33 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             303.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   812 sec.
    Turnaround time :                            815 sec.

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

