/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 178 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 = 7391
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0915.9+2933_daily_bin277
RA = 138.986, Dec = 29.553
tmin = 311126401, tmax = 311385601
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='104743', job_status='RUN', time_executed='2021-08-31 05:39:28.358896', time_epoch_executed='1630413568.36' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='277'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/104743

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/104743/ft1_4FGL_J0915.9+2933_daily_bin277.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/104743/ft2_4FGL_J0915.9+2933_daily_bin277.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/104743/ft1_4FGL_J0915.9+2933_daily_bin277.fits outfile=/scratch/kocevski/104743/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin277.fits ra=138.986 dec=29.553 rad=12.0 tmin=311126401.0 tmax=311385601.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.35
user 3.38
sys 0.53

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/104743/ft2_4FGL_J0915.9+2933_daily_bin277.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/104743/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin277.fits evtable="EVENTS" outfile="/scratch/kocevski/104743/ft1_filtered_4FGL_J0915.9+2933_daily_bin277.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.48
user 0.32
sys 0.49

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/104743/ft1_filtered_4FGL_J0915.9+2933_daily_bin277.fits" evtable="EVENTS" scfile=/scratch/kocevski/104743/ft2_4FGL_J0915.9+2933_daily_bin277.fits sctable="SC_DATA" outfile=/scratch/kocevski/104743/ltcube_311126401_311385601_4FGL_J0915.9+2933_daily_bin277.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/104743/ft2_4FGL_J0915.9+2933_daily_bin277.fits
.....................!
real 13.26
user 11.74
sys 0.67

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/104743/ft1_filtered_4FGL_J0915.9+2933_daily_bin277.fits evtable="EVENTS" scfile=/scratch/kocevski/104743/ft2_4FGL_J0915.9+2933_daily_bin277.fits sctable="SC_DATA" expcube=/scratch/kocevski/104743/ltcube_311126401_311385601_4FGL_J0915.9+2933_daily_bin277.fits outfile=/scratch/kocevski/104743/expmap_311126401_311385601_4FGL_J0915.9+2933_daily_bin277.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/104743/ltcube_311126401_311385601_4FGL_J0915.9+2933_daily_bin277.fits
.....................!
real 194.10
user 186.12
sys 5.81

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/104743/ft1_filtered_4FGL_J0915.9+2933_daily_bin277.fits scfile=/scratch/kocevski/104743/ft2_4FGL_J0915.9+2933_daily_bin277.fits outfile=/scratch/kocevski/104743/cmap_311126401_311385601_4FGL_J0915.9+2933_daily_bin277.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.69
user 0.39
sys 0.44

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/104743/ft1_filtered_4FGL_J0915.9+2933_daily_bin277.fits scfile=/scratch/kocevski/104743/ft2_4FGL_J0915.9+2933_daily_bin277.fits outfile=/scratch/kocevski/104743/cmap_HighResolution_311126401_311385601_4FGL_J0915.9+2933_daily_bin277.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 1.80
user 0.37
sys 0.48

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/104743/ft1_filtered_4FGL_J0915.9+2933_daily_bin277.fits evtable="EVENTS" scfile=/scratch/kocevski/104743/ft2_4FGL_J0915.9+2933_daily_bin277.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/104743/Model_4FGL_J0915.9+2933_daily_bin277.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/104743/ft1_filtered_4FGL_J0915.9+2933_daily_bin277.fits.....................!
real 53.27
user 49.05
sys 1.56

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/104743/ft1_filtered_4FGL_J0915.9+2933_daily_bin277.fits', '/scratch/kocevski/104743/ft2_4FGL_J0915.9+2933_daily_bin277.fits', expMap='/scratch/kocevski/104743/expmap_311126401_311385601_4FGL_J0915.9+2933_daily_bin277.fits', expCube='/scratch/kocevski/104743/ltcube_311126401_311385601_4FGL_J0915.9+2933_daily_bin277.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/104743/Model_4FGL_J0915.9+2933_daily_bin277.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/104743/ft1_filtered_4FGL_J0915.9+2933_daily_bin277.fits
Spacecraft file(s): /scratch/kocevski/104743/ft2_4FGL_J0915.9+2933_daily_bin277.fits
Exposure map: /scratch/kocevski/104743/expmap_311126401_311385601_4FGL_J0915.9+2933_daily_bin277.fits
Exposure cube: /scratch/kocevski/104743/ltcube_311126401_311385601_4FGL_J0915.9+2933_daily_bin277.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/104743/Model_4FGL_J0915.9+2933_daily_bin277.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) = 5471.71064812

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .92918       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.1903       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.5207       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.2902       1.0000         .10000E-03   10000.    
     6 'norm      '    1.7695       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.4030       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .74348       1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.510       1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.022       1.0000         .10000E-03   10000.    
    13 'norm      '    8.7311       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.6310       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    70.481       1.0000         .10000E-03   10000.    
    17 'Prefactor '    28.583       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.2477       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .62237       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2758       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=   5471.709     FROM MIGRAD    STATUS=CONVERGED    471 CALLS     2365 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .92879        1.2950       -.87688E-07   -.18622E-03
   2  Prefactor     .10000E-03    6.9351       -.21460E-06** at limit **
   3  norm          2.1902        .80615        .10968E-06    .10613E-03
   4  Prefactor     4.5197        8.1251       -.40255E-05   -.14834E-03
   5  Prefactor     9.2894        14.001        .32781E-05   -.29531E-04
   6  norm          1.7203        103.54        .79399E-05   -.29400E-04
   7  Prefactor     2.4029        2.7292       -.16808E-06   -.22644E-03
   8  Prefactor     .10000E-03    18.596       -.18536E-06** at limit **
   9  Prefactor     .10000E-03    4.8458       -.37818E-07** at limit **
  10  norm          .74253        1.3412       -.10870E-07   -.77665E-03
  11  Prefactor     11.511        20.709       -.33715E-05   -.18856E-04
  12  Prefactor     11.997        40.231       -.34306E-04   -.52537E-05
  13  norm          8.7312        8.2543        .16893E-05   -.21705E-04
  14  Prefactor     1.6327        3.0531       -.38739E-06   -.59911E-03
  15  Prefactor     .10000E-03    1.2243       -.20228E-06** at limit **
  16  Prefactor     70.483        35.775        .43841E-06    .20908E-04
  17  Prefactor     28.582        86.610       -.28334E-05    .30312E-05
  18  Prefactor     5.2474        9.1091        .44189E-06   -.16166E-03
  19  Prefactor     .10000E-03    3.5781       -.69543E-07** at limit **
  20  Prefactor     .10000E-03    .85775       -.40683E-06** at limit **
  21  Normalizat    .62222        .17275        .31263E-06    .71023E-04
  22  Prefactor     1.2760        .17133        .15943E-05   -.26354E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.928794
  Prefactor  = 0.0001
  norm       = 2.19023
  Prefactor  = 4.5197
  Prefactor  = 9.28936
  norm       = 1.7203
  Prefactor  = 2.40292
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.742526
  Prefactor  = 11.511
  Prefactor  = 11.9966
  norm       = 8.73122
  Prefactor  = 1.63266
  Prefactor  = 0.0001
  Prefactor  = 70.4825
  Prefactor  = 28.5816
  Prefactor  = 5.24738
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.622216
  Prefactor  = 1.27595
 **********
 **   18 **HESSE 
 **********

 FCN=   5471.709     FROM HESSE     STATUS=OK           350 CALLS     2715 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .92879        1.2951        .51652E-04   -1.5515    
   2  Prefactor     .10000E-03    6.9633        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.1902        .80620        .38817E-04   -1.5412    
   4  Prefactor     4.5197        8.1543        .18935E-03   -1.5283    
   5  Prefactor     9.2894        13.967        .13149E-03   -1.5098    
   6  norm          1.7203        104.18        .31482E-03   -1.5446    
   7  Prefactor     2.4029        2.7177        .12615E-03   -1.5398    
   8  Prefactor     .10000E-03    18.603        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    5.0185        .31621E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .74253        1.1350        .11163E-02   -1.5536    
  11  Prefactor     11.511        20.662        .11808E-03   -1.5029    
  12  Prefactor     11.997        40.155        .11553E-03   -1.5015    
  13  norm          8.7312        8.2276        .13565E-03   -1.5117    
  14  Prefactor     1.6327        3.0124        .16692E-03   -1.5452    
  15  Prefactor     .10000E-03    1.2370        .79889E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     70.483        35.780        .47816E-04   -1.4027    
  17  Prefactor     28.582        86.510        .74937E-04   -1.4638    
  18  Prefactor     5.2474        9.0776        .17547E-03   -1.5250    
  19  Prefactor     .10000E-03    3.5854        .13664E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    .86558        .66870E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .62222        .19901        .28519E-03   -1.0705    
  22  Prefactor     1.2760        .19868        .21330E-03   -.84025    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.1029e-10
Minuit parameter uncertainties:
  1  1.29511
  2  8.19029e-06
  3  0.806203
  4  8.15634
  5  13.9719
  6  26.823
  7  2.71785
  8  1.15014e-05
  9  1.23598e-05
  10  1.13501
  11  20.6749
  12  40.2454
  13  8.22862
  14  3.01273
  15  8.87591e-07
  16  35.791
  17  86.8928
  18  9.08001
  19  4.11992e-06
  20  2.27354e-06
  21  0.199243
  22  0.198797
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  7.425e-01  1.135e+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.276e+00  1.988e-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.222e-01  1.992e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/104743/likelihoodResults_311126401_311385601_4FGL_J0915.9+2933_daily_bin277.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) = 5471.66290855
delta logL = 0.0456565380346

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5471.662131
delta logL = 0.0464340927465

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .70543       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1124       1.0000          .0000       5.0000    
     3 'Normalizat'    .61760       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2777       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=   5471.662     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      219 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .70555        22.715        .19969E-01    .12887E-02
   2  alpha         2.1125        3.3030        .41795        .75964E-05
   3  Normalizat    .61761        .33401E-01    .64673E-01    .25087E-04
   4  Prefactor     1.2777        .33941E-01    .48222E-01   -.86187E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.705552
  alpha      = 2.11251
  Normalizat = 0.617612
  Prefactor  = 1.27772
 **********
 **   18 **HESSE 
 **********

 FCN=   5471.662     FROM HESSE     STATUS=OK            35 CALLS      254 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .70555        1.1956        .95155E-03   -1.5540    
   2  alpha         2.1125        1.2612        .20578E-01   -.15562    
   3  Normalizat    .61761        .18682        .28617E-03   -1.0724    
   4  Prefactor     1.2777        .19411        .21316E-03   -.83972    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5907e-10
Minuit parameter uncertainties:
  1  1.19569
  2  1.3237
  3  0.187012
  4  0.194216
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/104743': 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) = 5471.66213097
delta logL = 0.0464341163633

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  7.056e-01  1.196e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  2.113e+00  1.324e+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.278e+00  1.942e-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.176e-01  1.870e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/104743/cmap_HighResolution_311126401_311385601_4FGL_J0915.9+2933_daily_bin277.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.83e-05', job_status='DONE', photon_flux_upper_limit='4.20e-08', time_completed='2021-08-31 05:49:22.849617', job_id='104743', GAL2='1.28', fit_tolerance='1e-08', EG2='0.62', EG='0.62', time_epoch_completed='1630414162.85', return_code2='0', ts='0.68', comment='SUCCESS', return_code='0', GAL='1.28', dlogl='4.64e-02', ts2='0.77', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='277' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:49:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 104743: <4FGL_J0915.9+2933_daily_bin277> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin277 138.986 29.553 311126401 311385601 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 :                                   584.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             273.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   837 sec.
    Turnaround time :                            838 sec.

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

