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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin471
RA = 138.986, Dec = 29.553
tmin = 361411201, tmax = 361670401
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='105035', job_status='RUN', time_executed='2021-08-31 05:39:32.276498', time_epoch_executed='1630413572.28' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='471'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/105035

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/105035/ft1_4FGL_J0915.9+2933_daily_bin471.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/105035/ft2_4FGL_J0915.9+2933_daily_bin471.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/105035/ft1_4FGL_J0915.9+2933_daily_bin471.fits outfile=/scratch/kocevski/105035/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin471.fits ra=138.986 dec=29.553 rad=12.0 tmin=361411201.0 tmax=361670401.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 4.24
user 3.30
sys 0.53

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/105035/ft2_4FGL_J0915.9+2933_daily_bin471.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/105035/ft2_4FGL_J0915.9+2933_daily_bin471.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/105035/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin471.fits evtable="EVENTS" outfile="/scratch/kocevski/105035/ft1_filtered_4FGL_J0915.9+2933_daily_bin471.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 2.31
user 0.33
sys 0.43

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/105035/ft1_filtered_4FGL_J0915.9+2933_daily_bin471.fits" evtable="EVENTS" scfile=/scratch/kocevski/105035/ft2_4FGL_J0915.9+2933_daily_bin471.fits sctable="SC_DATA" outfile=/scratch/kocevski/105035/ltcube_361411201_361670401_4FGL_J0915.9+2933_daily_bin471.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/105035/ft2_4FGL_J0915.9+2933_daily_bin471.fits
.....................!
real 13.10
user 11.87
sys 0.73

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/105035/ft1_filtered_4FGL_J0915.9+2933_daily_bin471.fits evtable="EVENTS" scfile=/scratch/kocevski/105035/ft2_4FGL_J0915.9+2933_daily_bin471.fits sctable="SC_DATA" expcube=/scratch/kocevski/105035/ltcube_361411201_361670401_4FGL_J0915.9+2933_daily_bin471.fits outfile=/scratch/kocevski/105035/expmap_361411201_361670401_4FGL_J0915.9+2933_daily_bin471.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/105035/ltcube_361411201_361670401_4FGL_J0915.9+2933_daily_bin471.fits
.....................!
real 194.72
user 187.25
sys 5.66

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
Added 169 point sources and 0 extended sources

Setting source of interest to:
4FGL J0915.9+2933 @ 138.986 29.553

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/105035/ft1_filtered_4FGL_J0915.9+2933_daily_bin471.fits scfile=/scratch/kocevski/105035/ft2_4FGL_J0915.9+2933_daily_bin471.fits outfile=/scratch/kocevski/105035/cmap_361411201_361670401_4FGL_J0915.9+2933_daily_bin471.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.986 yref=29.553 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.06
user 0.38
sys 0.45

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/105035/ft1_filtered_4FGL_J0915.9+2933_daily_bin471.fits scfile=/scratch/kocevski/105035/ft2_4FGL_J0915.9+2933_daily_bin471.fits outfile=/scratch/kocevski/105035/cmap_HighResolution_361411201_361670401_4FGL_J0915.9+2933_daily_bin471.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.986 yref=29.553 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.96
user 0.39
sys 0.40

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/105035/ft1_filtered_4FGL_J0915.9+2933_daily_bin471.fits evtable="EVENTS" scfile=/scratch/kocevski/105035/ft2_4FGL_J0915.9+2933_daily_bin471.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/105035/Model_4FGL_J0915.9+2933_daily_bin471.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
Working on...
/scratch/kocevski/105035/ft1_filtered_4FGL_J0915.9+2933_daily_bin471.fits.....................!
real 60.94
user 55.61
sys 1.69

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/105035/ft1_filtered_4FGL_J0915.9+2933_daily_bin471.fits', '/scratch/kocevski/105035/ft2_4FGL_J0915.9+2933_daily_bin471.fits', expMap='/scratch/kocevski/105035/expmap_361411201_361670401_4FGL_J0915.9+2933_daily_bin471.fits', expCube='/scratch/kocevski/105035/ltcube_361411201_361670401_4FGL_J0915.9+2933_daily_bin471.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/105035/Model_4FGL_J0915.9+2933_daily_bin471.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0915.9+2933'

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.063e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.750e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
272         beta:  7.920e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  1.366e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/105035/ft1_filtered_4FGL_J0915.9+2933_daily_bin471.fits
Spacecraft file(s): /scratch/kocevski/105035/ft2_4FGL_J0915.9+2933_daily_bin471.fits
Exposure map: /scratch/kocevski/105035/expmap_361411201_361670401_4FGL_J0915.9+2933_daily_bin471.fits
Exposure cube: /scratch/kocevski/105035/ltcube_361411201_361670401_4FGL_J0915.9+2933_daily_bin471.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/105035/Model_4FGL_J0915.9+2933_daily_bin471.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) = 6922.8788625

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.9974       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .60439E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    8.1534       1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.633       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.9761       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.3175       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .14929E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10094E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .57295       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10497E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    19.975       1.0000         .10000E-03   10000.    
    13 'norm      '    20.433       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.9922       1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.5230       1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.3252       1.0000         .10000E-03   10000.    
    17 'Prefactor '    46.375       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .29552E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.9104       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .61481       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.4208       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6922.850     FROM MIGRAD    STATUS=CONVERGED    511 CALLS     2819 TOTAL
                     EDM=   .92E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9980        1.5564       -.39627E-07   -.17797E-03
   2  Prefactor     .10000E-03    6.1051        .17912E-06** at limit **
   3  norm          8.1535        1.4046       -.36136E-07   -.36972E-04
   4  Prefactor     14.634        13.740        .48201E-06   -.31572E-04
   5  Prefactor     4.9781        12.005        .22814E-05   -.83372E-04
   6  norm          .10000E-03    31.099        .25538E-05** at limit **
   7  Prefactor     1.3172        2.4971       -.34181E-06   -.83121E-03
   8  Prefactor     .10035E-03    40.229        .36230E-05** at limit **
   9  Prefactor     .10000E-03    4.5888        .10663E-06** at limit **
  10  norm          .57145        1.4002       -.54757E-06   -.17249E-02
  11  Prefactor     .10001E-03    34.735       -.17994E-05** at limit **
  12  Prefactor     19.961        39.962        .46607E-05   -.50942E-05
  13  norm          20.431        11.166       -.50580E-05   -.29010E-03
  14  Prefactor     5.9917        4.4645        .14534E-05   -.39016E-03
  15  Prefactor     7.5250        4.4393       -.18476E-06   -.12089E-03
  16  Prefactor     6.3232        22.505        .11120E-05   -.23042E-04
  17  Prefactor     46.382        47.829        .34582E-06   -.26159E-06
  18  Prefactor     .10000E-03    2.2904       -.35563E-08** at limit **
  19  Prefactor     .10002E-03    4.6100        .45728E-07** at limit **
  20  Prefactor     1.9104        2.1667       -.23701E-06   -.62734E-03
  21  Normalizat    .61464        .17393        .19076E-05   -.18496E-03
  22  Prefactor     1.4210        .17174       -.69684E-06   -.59987E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.99796
  Prefactor  = 0.000100004
  norm       = 8.15352
  Prefactor  = 14.6344
  Prefactor  = 4.97811
  norm       = 0.0001
  Prefactor  = 1.31718
  Prefactor  = 0.000100354
  Prefactor  = 0.0001
  norm       = 0.571451
  Prefactor  = 0.000100005
  Prefactor  = 19.9607
  norm       = 20.4314
  Prefactor  = 5.99171
  Prefactor  = 7.52503
  Prefactor  = 6.32315
  Prefactor  = 46.3818
  Prefactor  = 0.0001
  Prefactor  = 0.000100016
  Prefactor  = 1.91035
  Normalizat = 0.614643
  Prefactor  = 1.42103
 **********
 **   18 **HESSE 
 **********

 FCN=   6922.850     FROM HESSE     STATUS=OK           364 CALLS     3183 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9980        1.5378        .61906E-04   -1.5308    
   2  Prefactor     .10000E-03    28.764        .39351E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          8.1535        1.4040        .38634E-04   -1.5137    
   4  Prefactor     14.634        13.743        .10470E-03   -1.4943    
   5  Prefactor     4.9781        11.949        .18028E-03   -1.5262    
   6  norm          .10000E-03    31.150        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.3172        2.4720        .17594E-03   -1.5478    
   8  Prefactor     .10035E-03    38.636        .14533       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.7228        .34661E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .57145        1.3448        .14912E-02   -1.5557    
  11  Prefactor     .10001E-03    34.743        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     19.961        39.866        .89616E-04   -1.4814    
  13  norm          20.431        11.122        .88608E-04   -1.4804    
  14  Prefactor     5.9917        4.3959        .13452E-03   -1.5218    
  15  Prefactor     7.5250        4.3852        .12388E-03   -1.5159    
  16  Prefactor     6.3232        22.463        .15960E-03   -1.5205    
  17  Prefactor     46.382        47.825        .58878E-04   -1.4345    
  18  Prefactor     .10000E-03    2.3029        .12295E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10002E-03    106.38        .34171E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.9104        2.1576        .12507E-03   -1.5432    
  21  Normalizat    .61464        .19517        .31673E-03   -1.0737    
  22  Prefactor     1.4210        .19721        .23058E-03   -.79776    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.78457e-09
Minuit parameter uncertainties:
  1  1.5378
  2  0.00071695
  3  1.40396
  4  13.7455
  5  11.9547
  6  4.96735e-05
  7  2.47221
  8  0.00739846
  9  2.463e-05
  10  1.34492
  11  0.000874572
  12  39.9193
  13  11.123
  14  4.39609
  15  4.38539
  16  22.4932
  17  47.8649
  18  2.00281e-06
  19  0.00262142
  20  2.15765
  21  0.195392
  22  0.197316
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  5.715e-01  1.345e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.750e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
272         beta:  7.920e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  1.366e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.421e+00  1.973e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  6.146e-01  1.954e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.23
Ra Dec: 138.986 29.553
Photon Flux Upper Limit: 4.55e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.23e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/105035/likelihoodResults_361411201_361670401_4FGL_J0915.9+2933_daily_bin471.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): 0
logL (Free Index) = 6922.58714497
delta logL = 0.262737739283

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6922.57992866
delta logL = 0.269954053434

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .45380       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6101       1.0000          .0000       5.0000    
     3 'Normalizat'    .60204       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4258       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6922.580     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      226 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .45319        9.6270        .17856E-01    .20403E-02
   2  alpha         2.6130        3.7229        .41202        .63630E-04
   3  Normalizat    .60244        .26042E-01    .72201E-01   -.30271E-04
   4  Prefactor     1.4254        .27624E-01    .52069E-01   -.47230E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.453192
  alpha      = 2.61295
  Normalizat = 0.602442
  Prefactor  = 1.42544
 **********
 **   18 **HESSE 
 **********

 FCN=   6922.580     FROM HESSE     STATUS=OK            33 CALLS      259 TOTAL
                     EDM=   .92E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .45319        1.7591        .84108E-03   -1.5573    
   2  alpha         2.6130        1.9266        .16913E-01    .45196E-01
   3  Normalizat    .60244        .18428        .31962E-03   -1.0788    
   4  Prefactor     1.4254        .19565        .23018E-03   -.79650    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.22493e-11
Minuit parameter uncertainties:
  1  1.75925
  2  2.20042
  3  0.184464
  4  0.19575
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/105035': 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) = 6922.57992062
delta logL = 0.269962089812

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  4.532e-01  1.759e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  2.613e+00  2.200e+00  0.000e+00  5.000e+00 ( 1.000e+00)
272         beta:  7.920e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  1.366e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.425e+00  1.957e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  6.024e-01  1.845e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.23
Ra Dec: 138.986 29.553

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/105035/cmap_HighResolution_361411201_361670401_4FGL_J0915.9+2933_daily_bin471.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.23e-05', job_status='DONE', photon_flux_upper_limit='4.55e-08', time_completed='2021-08-31 05:51:22.067490', job_id='105035', GAL2='1.43', fit_tolerance='1e-08', EG2='0.60', EG='0.61', time_epoch_completed='1630414282.07', return_code2='0', ts='0.23', comment='SUCCESS', return_code='0', GAL='1.42', dlogl='2.70e-01', ts2='0.78', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='471' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:51:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0051>
Subject: Job 105035: <4FGL_J0915.9+2933_daily_bin471> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin471> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Aug 31 05:35:46 2021
Job was executed on host(s) <bullet0051>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:35:48 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:35:48 2021
Terminated at Tue Aug 31 05:51:24 2021
Results reported at Tue Aug 31 05:51:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin471 138.986 29.553 361411201 361670401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0915.9+2933 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   701.26 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             280.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   934 sec.
    Turnaround time :                            938 sec.

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

