/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 175 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 = 7346
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0915.9+2933_daily_bin119
RA = 138.986, Dec = 29.553
tmin = 270172801, tmax = 270432001
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='103325', job_status='RUN', time_executed='2021-08-31 05:34:10.185243', time_epoch_executed='1630413250.19' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='119'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/103325

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/103325/ft1_4FGL_J0915.9+2933_daily_bin119.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/103325/ft2_4FGL_J0915.9+2933_daily_bin119.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/103325/ft1_4FGL_J0915.9+2933_daily_bin119.fits outfile=/scratch/kocevski/103325/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin119.fits ra=138.986 dec=29.553 rad=12.0 tmin=270172801.0 tmax=270432001.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 2.14
user 1.46
sys 0.56

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/103325/ft1_filtered_4FGL_J0915.9+2933_daily_bin119.fits" evtable="EVENTS" scfile=/scratch/kocevski/103325/ft2_4FGL_J0915.9+2933_daily_bin119.fits sctable="SC_DATA" outfile=/scratch/kocevski/103325/ltcube_270172801_270432001_4FGL_J0915.9+2933_daily_bin119.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/103325/ft2_4FGL_J0915.9+2933_daily_bin119.fits
.....................!
real 13.15
user 12.16
sys 0.76

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/103325/ft1_filtered_4FGL_J0915.9+2933_daily_bin119.fits evtable="EVENTS" scfile=/scratch/kocevski/103325/ft2_4FGL_J0915.9+2933_daily_bin119.fits sctable="SC_DATA" expcube=/scratch/kocevski/103325/ltcube_270172801_270432001_4FGL_J0915.9+2933_daily_bin119.fits outfile=/scratch/kocevski/103325/expmap_270172801_270432001_4FGL_J0915.9+2933_daily_bin119.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/103325/ltcube_270172801_270432001_4FGL_J0915.9+2933_daily_bin119.fits
.....................!
real 190.93
user 185.34
sys 5.06

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/103325/ft1_filtered_4FGL_J0915.9+2933_daily_bin119.fits scfile=/scratch/kocevski/103325/ft2_4FGL_J0915.9+2933_daily_bin119.fits outfile=/scratch/kocevski/103325/cmap_270172801_270432001_4FGL_J0915.9+2933_daily_bin119.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 0.94
user 0.38
sys 0.51

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/103325/ft1_filtered_4FGL_J0915.9+2933_daily_bin119.fits scfile=/scratch/kocevski/103325/ft2_4FGL_J0915.9+2933_daily_bin119.fits outfile=/scratch/kocevski/103325/cmap_HighResolution_270172801_270432001_4FGL_J0915.9+2933_daily_bin119.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.92
user 0.37
sys 0.53

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4144       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.8336       1.0000         .10000E-03   10000.    
     3 'norm      '    .58504       1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.624       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .67851E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    4.8009       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.7147       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.1130       1.0000         .10000E-03   10000.    
    10 'norm      '    .84143       1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.913       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.5586       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.314       1.0000         .10000E-03   10000.    
    17 'Prefactor '    107.28       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.2614       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .12223E-02   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .86602       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.3779       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=   8521.836     FROM MIGRAD    STATUS=CONVERGED    479 CALLS     2371 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4144        1.2409       -.20338E-06    .12226E-03
   2  Prefactor     3.8336        10.350        .60785E-05    .45834E-03
   3  norm          .58501        .47071       -.25154E-07   -.28541E-04
   4  Prefactor     11.624        9.8941       -.54508E-07    .18692E-04
   5  Prefactor     .10002E-03    27.736        .12850E-04** at limit **
   6  norm          4.7993        17.443        .58558E-06    .80691E-05
   7  Prefactor     3.7146        2.9854        .93564E-07    .17322E-04
   8  Prefactor     .10000E-03    14.256       -.42804E-06** at limit **
   9  Prefactor     6.1131        3.8397        .60441E-06   -.20449E-04
  10  norm          .84110        1.6764        .41053E-06    .24389E-03
  11  Prefactor     14.921        18.290       -.15877E-05   -.43592E-04
  12  Prefactor     .10000E-03    14.850        .65741E-06** at limit **
  13  norm          .10000E-03    4.7930        .32630E-06** at limit **
  14  Prefactor     3.5589        3.3051        .31643E-06    .46124E-04
  15  Prefactor     .10000E-03    2.4284       -.95046E-07** at limit **
  16  Prefactor     11.313        20.869        .99444E-06    .11007E-03
  17  Prefactor     107.28        66.391       -.62291E-06    .19196E-04
  18  Prefactor     4.2617        4.6208       -.23027E-06    .13245E-03
  19  Prefactor     .10000E-03    2.1298       -.49699E-07** at limit **
  20  Prefactor     .10063E-03    .88622       -.95705E-06** at limit **
  21  Normalizat    .86601        .15963        .26817E-06    .20013E-03
  22  Prefactor     1.3778        .15640       -.34762E-07    .27209E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.41436
  Prefactor  = 3.83357
  norm       = 0.585007
  Prefactor  = 11.6237
  Prefactor  = 0.000100023
  norm       = 4.79933
  Prefactor  = 3.7146
  Prefactor  = 0.0001
  Prefactor  = 6.11314
  norm       = 0.841097
  Prefactor  = 14.9214
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.55894
  Prefactor  = 0.0001
  Prefactor  = 11.3132
  Prefactor  = 107.284
  Prefactor  = 4.26171
  Prefactor  = 0.0001
  Prefactor  = 0.000100635
  Normalizat = 0.866015
  Prefactor  = 1.37782
 **********
 **   18 **HESSE 
 **********

 FCN=   8521.836     FROM HESSE     STATUS=OK           358 CALLS     2729 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4144        1.2325        .90059E-04   -1.5470    
   2  Prefactor     3.8336        12.842        .10306E-02   -1.5316    
   3  norm          .58501        .46421        .54320E-04   -1.5555    
   4  Prefactor     11.624        9.8722        .11750E-03   -1.5026    
   5  Prefactor     .10002E-03    40.605        .49849E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.7993        17.437        .18361E-03   -1.5270    
   7  Prefactor     3.7146        2.9884        .13777E-03   -1.5322    
   8  Prefactor     .10000E-03    14.255        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.1131        3.8333        .13616E-03   -1.5213    
  10  norm          .84110        1.6545        .16139E-03   -1.5525    
  11  Prefactor     14.921        18.298        .10372E-03   -1.4935    
  12  Prefactor     .10000E-03    14.850        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    4.8181        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.5589        3.2961        .15252E-03   -1.5331    
  15  Prefactor     .10000E-03    2.4980        .28034E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     11.313        21.016        .59552E-03   -1.5035    
  17  Prefactor     107.28        66.374        .38828E-04   -1.3633    
  18  Prefactor     4.2617        4.6128        .19518E-03   -1.5295    
  19  Prefactor     .10000E-03    2.1325        .13157E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10063E-03    2.2976        .27722E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .86601        .18313        .28048E-03   -.97665    
  22  Prefactor     1.3778        .18214        .23366E-03   -.81022    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.99273e-09
Minuit parameter uncertainties:
  1  1.23256
  2  12.8513
  3  0.464217
  4  9.87361
  5  0.00191798
  6  17.4551
  7  2.98854
  8  2.66155e-05
  9  3.8335
  10  1.65456
  11  18.3045
  12  2.12197e-05
  13  5.08143e-05
  14  3.2963
  15  2.20988e-05
  16  21.03
  17  66.4198
  18  4.61315
  19  3.03258e-06
  20  0.00241525
  21  0.183265
  22  0.182228
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  8.411e-01  1.655e+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.378e+00  1.822e-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:  8.660e-01  1.833e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/103325/likelihoodResults_270172801_270432001_4FGL_J0915.9+2933_daily_bin119.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) = 8521.38795081
delta logL = 0.448353599524

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8521.35612638
delta logL = 0.480178032438

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .57689       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7684       1.0000          .0000       5.0000    
     3 'Normalizat'    .84117       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3880       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=   8521.356     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      227 TOTAL
                     EDM=   .89E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .57487        9.8801        .11581E-01    .18600E-02
   2  alpha         2.7693        3.8359        .29554        .88937E-04
   3  Normalizat    .84138        .34751E-01    .64294E-01    .38023E-05
   4  Prefactor     1.3878        .34710E-01    .52671E-01   -.39112E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.574872
  alpha      = 2.76933
  Normalizat = 0.841381
  Prefactor  = 1.38781
 **********
 **   18 **HESSE 
 **********

 FCN=   8521.356     FROM HESSE     STATUS=OK            33 CALLS      260 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .57487        5.6911        .70650E-03   -1.5556    
   2  alpha         2.7693        3.8446        .15705E-01    .10794    
   3  Normalizat    .84138        .19190        .28440E-03   -.98552    
   4  Prefactor     1.3878        .19332        .23286E-03   -.80732    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.56744e-11
Minuit parameter uncertainties:
  1  3.61767
  2  3.54165
  3  0.192051
  4  0.193419
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/103325': 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) = 8521.35612327
delta logL = 0.480181144392

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  5.749e-01  3.618e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  2.769e+00  3.542e+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.388e+00  1.934e-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:  8.414e-01  1.921e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.27
Ra Dec: 138.986 29.553
Photon Index (Free Index): 2.77 +/- 3.54
Photon Flux (Free Index): 3.21e-08 +/- 4.10e-08
Energy Flux (Free Index): 8.14e-06 +/- 1.69e-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/103325/cmap_HighResolution_270172801_270432001_4FGL_J0915.9+2933_daily_bin119.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.57e-05', comment='SUCCESS', energy_flux2='8.14e-06', dlogl='4.80e-01', photon_flux2='3.21e-08', job_status='DONE', time_completed='2021-08-31 05:46:24.219381', photon_index_error2='3.54', photon_index2='2.77', ts='0.30', fit_tolerance='1e-08', GAL='1.38', photon_index_error='0.00', photon_flux_upper_limit='4.85e-08', energy_flux_error2='1.69e-05', EG='0.87', time_epoch_completed='1630413984.22', return_code='0', job_id='103325', GAL2='1.39', EG2='0.84', return_code2='0', photon_flux_error2='4.10e-08', ts2='1.27', photon_index='1.75' WHERE bin_id='119' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:46:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0262>
Subject: Job 103325: <4FGL_J0915.9+2933_daily_bin119> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin119> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 05:30:52 2021
Job was executed on host(s) <bullet0262>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:30:54 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:30:54 2021
Terminated at Tue Aug 31 05:46:25 2021
Results reported at Tue Aug 31 05:46:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin119 138.986 29.553 270172801 270432001 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 :                                   738.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   930 sec.
    Turnaround time :                            933 sec.

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

