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


Performing analysis on: 4FGL_J0915.4-3027_daily_bin1232
RA = 138.875, Dec = -30.4642
tmin = 558662401, tmax = 558921601
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='100383', job_status='RUN', time_executed='2021-08-31 05:21:26.127475', time_epoch_executed='1630412486.13' WHERE source_name='4FGL J0915.4-3027' and cadence='daily' and bin_id='1232'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/100383

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/100383/ft1_4FGL_J0915.4-3027_daily_bin1232.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/100383/ft2_4FGL_J0915.4-3027_daily_bin1232.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/100383/ft1_4FGL_J0915.4-3027_daily_bin1232.fits outfile=/scratch/kocevski/100383/ft1_filteredMKT_4FGL_J0915.4-3027_daily_bin1232.fits ra=138.875 dec=-30.4642 rad=12.0 tmin=558662401.0 tmax=558921601.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.87
user 3.33
sys 0.53

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/100383/ft1_filtered_4FGL_J0915.4-3027_daily_bin1232.fits" evtable="EVENTS" scfile=/scratch/kocevski/100383/ft2_4FGL_J0915.4-3027_daily_bin1232.fits sctable="SC_DATA" outfile=/scratch/kocevski/100383/ltcube_558662401_558921601_4FGL_J0915.4-3027_daily_bin1232.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/100383/ft2_4FGL_J0915.4-3027_daily_bin1232.fits
.....................!
real 12.69
user 11.97
sys 0.68

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/100383/ft1_filtered_4FGL_J0915.4-3027_daily_bin1232.fits evtable="EVENTS" scfile=/scratch/kocevski/100383/ft2_4FGL_J0915.4-3027_daily_bin1232.fits sctable="SC_DATA" expcube=/scratch/kocevski/100383/ltcube_558662401_558921601_4FGL_J0915.4-3027_daily_bin1232.fits outfile=/scratch/kocevski/100383/expmap_558662401_558921601_4FGL_J0915.4-3027_daily_bin1232.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/100383/ltcube_558662401_558921601_4FGL_J0915.4-3027_daily_bin1232.fits
.....................!
real 190.29
user 185.21
sys 4.72

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/100383/ft1_filtered_4FGL_J0915.4-3027_daily_bin1232.fits scfile=/scratch/kocevski/100383/ft2_4FGL_J0915.4-3027_daily_bin1232.fits outfile=/scratch/kocevski/100383/cmap_558662401_558921601_4FGL_J0915.4-3027_daily_bin1232.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.87
user 0.36
sys 0.48

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/100383/ft1_filtered_4FGL_J0915.4-3027_daily_bin1232.fits scfile=/scratch/kocevski/100383/ft2_4FGL_J0915.4-3027_daily_bin1232.fits outfile=/scratch/kocevski/100383/cmap_HighResolution_558662401_558921601_4FGL_J0915.4-3027_daily_bin1232.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.87
user 0.38
sys 0.48

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/100383/ft1_filtered_4FGL_J0915.4-3027_daily_bin1232.fits evtable="EVENTS" scfile=/scratch/kocevski/100383/ft2_4FGL_J0915.4-3027_daily_bin1232.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/100383/Model_4FGL_J0915.4-3027_daily_bin1232.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/100383/ft1_filtered_4FGL_J0915.4-3027_daily_bin1232.fits............................!
real 17.50
user 15.85
sys 1.55

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/100383/ft1_filtered_4FGL_J0915.4-3027_daily_bin1232.fits', '/scratch/kocevski/100383/ft2_4FGL_J0915.4-3027_daily_bin1232.fits', expMap='/scratch/kocevski/100383/expmap_558662401_558921601_4FGL_J0915.4-3027_daily_bin1232.fits', expCube='/scratch/kocevski/100383/ltcube_558662401_558921601_4FGL_J0915.4-3027_daily_bin1232.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/100383/Model_4FGL_J0915.4-3027_daily_bin1232.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/100383/ft1_filtered_4FGL_J0915.4-3027_daily_bin1232.fits
Spacecraft file(s): /scratch/kocevski/100383/ft2_4FGL_J0915.4-3027_daily_bin1232.fits
Exposure map: /scratch/kocevski/100383/expmap_558662401_558921601_4FGL_J0915.4-3027_daily_bin1232.fits
Exposure cube: /scratch/kocevski/100383/ltcube_558662401_558921601_4FGL_J0915.4-3027_daily_bin1232.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/100383/Model_4FGL_J0915.4-3027_daily_bin1232.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 365.223762565

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 364.075080531

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    67.028       1.0000         .10000E-03   10000.    
     2 'norm      '    .15879       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.9032       1.0000         .10000E-03   10000.    
     4 'norm      '    8.5044       1.0000         .10000E-03   10000.    
     5 'Prefactor '    23.347       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .52852E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .73293E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.7690       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .42717E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.4501       1.0000         .10000E-03   10000.    
    11 'norm      '    .21084       1.0000         .10000E-03   10000.    
    12 'norm      '    4.3460       1.0000         .10000E-03   10000.    
    13 'norm      '    .29077       1.0000         .10000E-03   10000.    
    14 'norm      '    6.1865       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.1012       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.2053       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    18 'Prefactor '    .67852       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   364.0651     FROM MIGRAD    STATUS=CONVERGED    185 CALLS      385 TOTAL
                     EDM=   .95E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          67.506        103.25        .12256E-02    .42089E-02
   2  norm          .10000E-03    268.60        .97879E-02** at limit **
   3  Prefactor     .20890E-02    1355.2        .38175E-02** at limit **
   4  norm          3.9705        9033.3        .34365E-02    .65605E-02
   5  Prefactor     23.316        17.918        .20725E-02    .38842E-02
   6  Prefactor     .10000E-03    199.55        .92840E-02** at limit **
   7  Prefactor     .10000E-03    273.60        .93123E-02** at limit **
   8  Prefactor     1.7690        1.0469         .0000         .0000    
   9  Prefactor     .10000E-03    .21319        .19146E-05** at limit **
  10  Prefactor     .10002E-03    .10671       -.10835E-04** at limit **
  11  norm          .10000E-03    .25135       -.13031E-05** at limit **
  12  norm          4.3460        1.0068         .0000         .0000    
  13  norm          .10000E-03    .26959       -.11549E-05** at limit **
  14  norm          6.1865        1.0033         .0000         .0000    
  15  Prefactor     .17229        .23888        .85395E-04   -.45785E-02
  16  Prefactor     2.2053        1.0283         .0000         .0000    
  17  Normalizat    .10000E-01    .25505        .73568E-05** at limit **
  18  Prefactor     .67970        1.0289        .26244E-05   -.14453E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 67.5062
  norm       = 0.000100001
  Prefactor  = 0.00208897
  norm       = 3.9705
  Prefactor  = 23.3156
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.76895
  Prefactor  = 0.0001
  Prefactor  = 0.000100021
  norm       = 0.0001
  norm       = 4.34601
  norm       = 0.0001
  norm       = 6.18652
  Prefactor  = 0.172288
  Prefactor  = 2.20528
  Normalizat = 0.01
  Prefactor  = 0.6797
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   364.0651     FROM HESSE     STATUS=FAILED        23 CALLS      408 TOTAL
                     EDM=   .95E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          67.506        103.25        .12256E-02   -1.4063    
   2  norm          .10000E-03    268.60        .97879E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .20890E-02    1355.2        .38175E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.9705        9033.3        .34365E-02   -1.5309    
   5  Prefactor     23.316        17.918        .20725E-02   -1.4742    
   6  Prefactor     .10000E-03    199.55        .92840E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    273.60        .93123E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     572.90        570.98         .0000       -1.5442    
   9  Prefactor     .10000E-03    .21319        .19146E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10002E-03    .10671       -.10835E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .25135       -.13031E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.3460        1.0068         .0000       -1.5291    
  13  norm          .10000E-03    .26959       -.11549E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          6.1865        1.0033         .0000       -1.5210    
  15  Prefactor     .17229        .23888        .85395E-04   -1.5791    
  16  Prefactor     2.2053        1.0283         .0000       -1.5411    
  17  Normalizat    .10000E-01    .25505        .73568E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .67970        1.0289        .26244E-05   -1.0433    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.47403e-10
Minuit parameter uncertainties:
  1  103.527
  2  0.000882771
  3  3.36261
  4  452.609
  5  17.9224
  6  0.00047354
  7  0.000112149
  8  1.04688
  9  5.50264e-07
  10  9.42485e-05
  11  2.30998e-07
  12  1.00677
  13  6.08778e-07
  14  1.0033
  15  0.238882
  16  1.02834
  17  6.57862e-08
  18  1.06
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 364.065075402

Extracting fit parameters...

4FGL J0915.4-3027
   Spectrum: PowerLaw
343    Prefactor:  1.000e-04  1.121e-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:  6.797e-01  1.060e+00  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.000e-02  6.579e-08  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 138.875 -30.464
Photon Flux Upper Limit: 2.80e-06 ph cm-2 s-1
Energy Flux Upper Limit: 2.14e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/100383/likelihoodResults_558662401_558921601_4FGL_J0915.4-3027_daily_bin1232.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) = 364.065093124
delta logL = -1.7722362827e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 364.065075651
delta logL = -2.48809215009e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16515E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4656       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67969       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=   364.0651     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      285 TOTAL
                     EDM=   .33E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10344E-03    133.94        .18142E-01** at limit **
   2  Index         2.3807        8.5806        .50000        .16339E-05
   3  Normalizat    .10000E-01    .37775E-03    .64368E-02** at limit **
   4  Prefactor     .67970        .57286E-02    .12229E-03    .63125E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103444
  Index      = 2.38074
  Normalizat = 0.01
  Prefactor  = 0.679701
 **********
 **   18 **HESSE 
 **********

 FCN=   364.0651     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      314 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10344E-03    828.77        .27868E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3807        7.3669        .50000       -.55137    
   3  Normalizat    .10000E-01    .24065E-02    .12874E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .67970        .14459E-01    .24458E-04   -1.0433    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.04325e-10
Minuit parameter uncertainties:
  1  0.108391
  2  655.141
  3  2.32943e-07
  4  0.014459
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/100383': 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) = 364.065075452
delta logL = -5.02444095218e-08

Extracting fit parameters...

4FGL J0915.4-3027
   Spectrum: PowerLaw
343    Prefactor:  1.034e-04  1.084e-01  1.000e-04  1.000e+04 ( 1.000e-13)
344        Index:  2.381e+00  6.551e+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:  6.797e-01  1.446e-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.000e-02  2.329e-07  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/100383/cmap_HighResolution_558662401_558921601_4FGL_J0915.4-3027_daily_bin1232.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.14e-01', job_status='DONE', photon_flux_upper_limit='2.80e-06', time_completed='2021-08-31 05:27:06.372254', job_id='100383', GAL2='0.68', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1630412826.37', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.68', dlogl='-5.02e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='1232' AND source_name='4FGL J0915.4-3027' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:27:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 100383: <4FGL_J0915.4-3027_daily_bin1232> in cluster <slac> Done

Job <4FGL_J0915.4-3027_daily_bin1232> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 05:20:59 2021
Job was executed on host(s) <bullet0211>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:21:01 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:21:01 2021
Terminated at Tue Aug 31 05:27:07 2021
Results reported at Tue Aug 31 05:27:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.4-3027_daily_bin1232 138.875 -30.4642 558662401 558921601 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 :                                   339.48 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             329.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   365 sec.
    Turnaround time :                            368 sec.

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

