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


Performing analysis on: 4FGL_J0915.4-3027_daily_bin1015
RA = 138.875, Dec = -30.4642
tmin = 502416001, tmax = 502675201
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='98434', job_status='RUN', time_executed='2021-08-31 05:16:38.386418', time_epoch_executed='1630412198.39' WHERE source_name='4FGL J0915.4-3027' and cadence='daily' and bin_id='1015'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/98434

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/98434/ft1_4FGL_J0915.4-3027_daily_bin1015.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/98434/ft2_4FGL_J0915.4-3027_daily_bin1015.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/98434/ft1_4FGL_J0915.4-3027_daily_bin1015.fits outfile=/scratch/kocevski/98434/ft1_filteredMKT_4FGL_J0915.4-3027_daily_bin1015.fits ra=138.875 dec=-30.4642 rad=12.0 tmin=502416001.0 tmax=502675201.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 5.03
user 3.25
sys 0.98

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/98434/ft1_filtered_4FGL_J0915.4-3027_daily_bin1015.fits" evtable="EVENTS" scfile=/scratch/kocevski/98434/ft2_4FGL_J0915.4-3027_daily_bin1015.fits sctable="SC_DATA" outfile=/scratch/kocevski/98434/ltcube_502416001_502675201_4FGL_J0915.4-3027_daily_bin1015.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/98434/ft2_4FGL_J0915.4-3027_daily_bin1015.fits
.....................!
real 13.19
user 11.69
sys 1.16

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/98434/ft1_filtered_4FGL_J0915.4-3027_daily_bin1015.fits evtable="EVENTS" scfile=/scratch/kocevski/98434/ft2_4FGL_J0915.4-3027_daily_bin1015.fits sctable="SC_DATA" expcube=/scratch/kocevski/98434/ltcube_502416001_502675201_4FGL_J0915.4-3027_daily_bin1015.fits outfile=/scratch/kocevski/98434/expmap_502416001_502675201_4FGL_J0915.4-3027_daily_bin1015.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/98434/ltcube_502416001_502675201_4FGL_J0915.4-3027_daily_bin1015.fits
.....................!
real 203.53
user 186.40
sys 7.47

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/98434/ft1_filtered_4FGL_J0915.4-3027_daily_bin1015.fits scfile=/scratch/kocevski/98434/ft2_4FGL_J0915.4-3027_daily_bin1015.fits outfile=/scratch/kocevski/98434/cmap_502416001_502675201_4FGL_J0915.4-3027_daily_bin1015.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 1.30
user 0.33
sys 0.77

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/98434/ft1_filtered_4FGL_J0915.4-3027_daily_bin1015.fits scfile=/scratch/kocevski/98434/ft2_4FGL_J0915.4-3027_daily_bin1015.fits outfile=/scratch/kocevski/98434/cmap_HighResolution_502416001_502675201_4FGL_J0915.4-3027_daily_bin1015.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.30
user 0.33
sys 0.77

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/98434/ft1_filtered_4FGL_J0915.4-3027_daily_bin1015.fits evtable="EVENTS" scfile=/scratch/kocevski/98434/ft2_4FGL_J0915.4-3027_daily_bin1015.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/98434/Model_4FGL_J0915.4-3027_daily_bin1015.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/98434/ft1_filtered_4FGL_J0915.4-3027_daily_bin1015.fits.....................!
real 145.40
user 140.79
sys 2.85

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .46859       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .14021E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11764E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.5088       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.9102       1.0000         .10000E-03   10000.    
    11 'norm      '    .10531E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .39463E-02   1.0000         .10000E-03   10000.    
    13 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.4451       1.0000         .10000E-03   10000.    
    16 'Prefactor '    37.443       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.5520       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .93071       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=   10883.29     FROM MIGRAD    STATUS=CONVERGED    389 CALLS     1524 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.4516       -.11171E-06** at limit **
   2  norm          .46391        5.3847       -.62144E-07   -.56183E-03
   3  Prefactor     .10000E-03    28.483       -.14674E-06** at limit **
   4  norm          .10000E-03    51.223       -.21749E-06** at limit **
   5  Prefactor     .10000E-03    2.4583       -.17229E-06** at limit **
   6  Prefactor     .10000E-03    3.9948       -.17322E-06** at limit **
   7  Prefactor     .10000E-03    41.239        .28212E-05** at limit **
   8  Prefactor     1.5090        5.7265        .19851E-05   -.40173E-03
   9  Prefactor     .10000E-03    51.045       -.39705E-06** at limit **
  10  Prefactor     1.7411        240.55        .59317E-05    .43019E-05
  11  norm          .10000E-03    12.478        .88718E-06** at limit **
  12  norm          .10000E-03    42.833       -.29902E-05** at limit **
  13  norm          .10000E-03    8.2808       -.14257E-06** at limit **
  14  norm          .10000E-03    6.9752        .12169E-05** at limit **
  15  Prefactor     4.4175        95.633        .79269E-05    .42299E-04
  16  Prefactor     37.489        25.813        .12654E-05    .19063E-03
  17  Normalizat    1.5524        .25973       -.28977E-05    .49607E-04
  18  Prefactor     .93064        .61979E-01    .78533E-06    .22278E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.463913
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 1.50904
  Prefactor  = 0.0001
  Prefactor  = 1.74108
  norm       = 0.0001
  norm       = 0.000100001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 4.41752
  Prefactor  = 37.4895
  Normalizat = 1.55237
  Prefactor  = 0.930643
 **********
 **   18 **HESSE 
 **********

 FCN=   10883.29     FROM HESSE     STATUS=OK           240 CALLS     1764 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.4563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .46391        11.544        .38795E-02   -1.5572    
   3  Prefactor     .10000E-03    28.494        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    51.465        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.4706        .15973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.0810        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    41.908        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.5090        6.3583        .17415E-02   -1.5462    
   9  Prefactor     .10000E-03    51.406        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.7411        240.76        .30079E-03   -1.5444    
  11  norm          .10000E-03    12.932        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    44.826        .39022E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    8.3214        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    7.0442        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.4175        96.024        .19100E-03   -1.5288    
  16  Prefactor     37.489        25.978        .32749E-03   -1.4483    
  17  Normalizat    1.5524        .27172        .47211E-03   -.76317    
  18  Prefactor     .93064        .65951E-01    .14631E-03   -.95078    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.20633e-09
Minuit parameter uncertainties:
  1  5.98735e-06
  2  4.62879
  3  1.16596e-05
  4  9.7925e-05
  5  3.35901e-06
  6  9.99733e-06
  7  0.000290059
  8  6.19606
  9  1.2077e-06
  10  41.1162
  11  4.5154e-05
  12  0.000348587
  13  5.73427e-06
  14  5.5389e-05
  15  41.2665
  16  25.9861
  17  0.271973
  18  0.0659568
Done.

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

Extracting fit parameters...

4FGL J0915.4-3027
   Spectrum: PowerLaw
343    Prefactor:  1.000e-04  2.901e-04  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:  9.306e-01  6.596e-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.552e+00  2.720e-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.43e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.09e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/98434/likelihoodResults_502416001_502675201_4FGL_J0915.4-3027_daily_bin1015.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) = 10883.2868115
delta logL = -0.000113642860015

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10882.6870535
delta logL = 0.599644412492

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7534       1.0000         .10000E-03   10000.    
     2 'Index     '    3.6251       1.0000          .0000       10.000    
     3 'Normalizat'    1.4586       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93879       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=   10882.69     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      275 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7554        24.680        .79144E-02    .14784E-02
   2  Index         3.6247        2.0132        .14916        .22057E-03
   3  Normalizat    1.4586        .66178E-01    .10924        .14405E-04
   4  Prefactor     .93877        .16458E-01    .32976E-01   -.14512E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.75545
  Index      = 3.62469
  Normalizat = 1.45858
  Prefactor  = 0.938773
 **********
 **   18 **HESSE 
 **********

 FCN=   10882.69     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      308 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7554        76.228        .12452E-03   -1.5443    
   2  Index         3.6247        6.7928        .54112E-02   -.27866    
   3  Normalizat    1.4586        .25083        .48420E-03   -.78949    
   4  Prefactor     .93877        .61789E-01    .14571E-03   -.94799    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.56592e-09
Minuit parameter uncertainties:
  1  23.1666
  2  5.61035
  3  0.251046
  4  0.0617937
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/98434': 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) = 10882.6870533
delta logL = 0.599644582479

Extracting fit parameters...

4FGL J0915.4-3027
   Spectrum: PowerLaw
343    Prefactor:  1.755e+00  2.317e+01  1.000e-04  1.000e+04 ( 1.000e-13)
344        Index:  3.625e+00  5.610e+00  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:  9.388e-01  6.179e-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.459e+00  2.510e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.30
Ra Dec: 138.875 -30.464
Photon Index (Free Index): 3.62 +/- 5.61
Photon Flux (Free Index): 1.03e-07 +/- 1.06e-07
Energy Flux (Free Index): 1.65e-05 +/- 3.23e-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/98434/cmap_HighResolution_502416001_502675201_4FGL_J0915.4-3027_daily_bin1015.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.09e-02', comment='SUCCESS', energy_flux2='1.65e-05', dlogl='6.00e-01', photon_flux2='1.03e-07', job_status='DONE', time_completed='2021-08-31 05:31:24.117649', photon_index_error2='5.61', photon_index2='3.62', ts='-0.00', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='1.43e-07', energy_flux_error2='3.23e-05', EG='1.55', time_epoch_completed='1630413084.12', return_code='0', job_id='98434', GAL2='0.94', EG2='1.46', return_code2='102', photon_flux_error2='1.06e-07', ts2='1.30', photon_index='2.24' WHERE bin_id='1015' AND source_name='4FGL J0915.4-3027' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:31:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 98434: <4FGL_J0915.4-3027_daily_bin1015> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.4-3027_daily_bin1015 138.875 -30.4642 502416001 502675201 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 :                                   869.37 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             374.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   934 sec.
    Turnaround time :                            936 sec.

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

