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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin682
RA = 138.986, Dec = 29.553
tmin = 416102401, tmax = 416361601
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='106753', job_status='RUN', time_executed='2021-08-31 05:43:05.710729', time_epoch_executed='1630413785.71' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='682'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/106753

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/106753/ft1_4FGL_J0915.9+2933_daily_bin682.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/106753/ft2_4FGL_J0915.9+2933_daily_bin682.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/106753/ft1_4FGL_J0915.9+2933_daily_bin682.fits outfile=/scratch/kocevski/106753/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin682.fits ra=138.986 dec=29.553 rad=12.0 tmin=416102401.0 tmax=416361601.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 12.62
user 6.16
sys 6.37

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/106753/ft1_filtered_4FGL_J0915.9+2933_daily_bin682.fits" evtable="EVENTS" scfile=/scratch/kocevski/106753/ft2_4FGL_J0915.9+2933_daily_bin682.fits sctable="SC_DATA" outfile=/scratch/kocevski/106753/ltcube_416102401_416361601_4FGL_J0915.9+2933_daily_bin682.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/106753/ft2_4FGL_J0915.9+2933_daily_bin682.fits
.....................!
real 19.86
user 12.55
sys 7.23

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/106753/ft1_filtered_4FGL_J0915.9+2933_daily_bin682.fits evtable="EVENTS" scfile=/scratch/kocevski/106753/ft2_4FGL_J0915.9+2933_daily_bin682.fits sctable="SC_DATA" expcube=/scratch/kocevski/106753/ltcube_416102401_416361601_4FGL_J0915.9+2933_daily_bin682.fits outfile=/scratch/kocevski/106753/expmap_416102401_416361601_4FGL_J0915.9+2933_daily_bin682.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/106753/ltcube_416102401_416361601_4FGL_J0915.9+2933_daily_bin682.fits
.....................!
real 199.89
user 186.60
sys 12.10

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/106753/ft1_filtered_4FGL_J0915.9+2933_daily_bin682.fits scfile=/scratch/kocevski/106753/ft2_4FGL_J0915.9+2933_daily_bin682.fits outfile=/scratch/kocevski/106753/cmap_416102401_416361601_4FGL_J0915.9+2933_daily_bin682.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 6.55
user 0.37
sys 6.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/106753/ft1_filtered_4FGL_J0915.9+2933_daily_bin682.fits scfile=/scratch/kocevski/106753/ft2_4FGL_J0915.9+2933_daily_bin682.fits outfile=/scratch/kocevski/106753/cmap_HighResolution_416102401_416361601_4FGL_J0915.9+2933_daily_bin682.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 6.62
user 0.38
sys 6.21

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .65274       1.0000         .10000E-03   10000.    
     2 'Prefactor '    17.666       1.0000         .10000E-03   10000.    
     3 'norm      '    .88303       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.7188       1.0000         .10000E-03   10000.    
     5 'Prefactor '    35.580       1.0000         .10000E-03   10000.    
     6 'norm      '    24.567       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.9106       1.0000         .10000E-03   10000.    
     8 'Prefactor '    50.433       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.5463       1.0000         .10000E-03   10000.    
    10 'norm      '    .96000       1.0000         .10000E-03   10000.    
    11 'Prefactor '    42.380       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.6316       1.0000         .10000E-03   10000.    
    13 'norm      '    8.3598       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .74664       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    27.793       1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.3320       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .98633       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .78975       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=   5190.023     FROM MIGRAD    STATUS=CONVERGED    452 CALLS     2360 TOTAL
                     EDM=   .61E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .65269        .96041       -.26828E-06   -.26194E-03
   2  Prefactor     17.668        13.714        .19301E-05   -.18601E-04
   3  norm          .88298        .62100       -.18808E-07   -.65685E-04
   4  Prefactor     8.7190        8.4122        .32477E-06    .38743E-04
   5  Prefactor     35.585        18.112        .47425E-05    .36931E-04
   6  norm          24.559        35.919       -.16137E-04    .67192E-05
   7  Prefactor     2.9110        3.7626       -.23405E-06   -.38046E-03
   8  Prefactor     50.428        55.989       -.76583E-05   -.33890E-05
   9  Prefactor     8.5459        5.7241       -.10573E-05   -.19951E-03
  10  norm          .95997        1.0899       -.33849E-07    .82178E-04
  11  Prefactor     42.383        29.793        .33958E-05   -.23137E-04
  12  Prefactor     8.6255        31.445       -.17950E-04   -.60017E-06
  13  norm          8.3599        8.6012       -.77869E-06   -.97539E-04
  14  Prefactor     .10000E-03    2.1898        .18442E-06** at limit **
  15  Prefactor     .74731        2.9934       -.46511E-06   -.74847E-03
  16  Prefactor     .10000E-03    13.772       -.28434E-07** at limit **
  17  Prefactor     27.793        35.256        .12712E-05    .15317E-05
  18  Prefactor     9.3336        8.8919        .59611E-06   -.95799E-04
  19  Prefactor     .10000E-03    3.7798        .16393E-06** at limit **
  20  Prefactor     .10000E-03    1.3011       -.47259E-07** at limit **
  21  Normalizat    .98605        .18270       -.11678E-05    .15146E-03
  22  Prefactor     .79002        .16673        .22027E-05   -.52622E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.652695
  Prefactor  = 17.6682
  norm       = 0.882979
  Prefactor  = 8.71896
  Prefactor  = 35.5845
  norm       = 24.5585
  Prefactor  = 2.91098
  Prefactor  = 50.4275
  Prefactor  = 8.54587
  norm       = 0.959969
  Prefactor  = 42.3826
  Prefactor  = 8.6255
  norm       = 8.35989
  Prefactor  = 0.0001
  Prefactor  = 0.747314
  Prefactor  = 0.0001
  Prefactor  = 27.7933
  Prefactor  = 9.3336
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.986048
  Prefactor  = 0.790015
 **********
 **   18 **HESSE 
 **********

 FCN=   5190.023     FROM HESSE     STATUS=OK           358 CALLS     2718 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .65269        .95993        .47517E-04   -1.5546    
   2  Prefactor     17.668        13.690        .95290E-04   -1.4867    
   3  norm          .88298        .62416        .45514E-04   -1.5520    
   4  Prefactor     8.7190        8.4089        .13575E-03   -1.5117    
   5  Prefactor     35.585        18.157        .67185E-04   -1.4514    
   6  norm          24.559        35.845        .80817E-04   -1.4716    
   7  Prefactor     2.9110        3.7565        .15230E-03   -1.5367    
   8  Prefactor     50.428        55.998        .56471E-04   -1.4287    
   9  Prefactor     8.5459        5.6302        .12983E-03   -1.5123    
  10  norm          .95997        1.0725        .77301E-04   -1.5512    
  11  Prefactor     42.383        29.793        .61579E-04   -1.4405    
  12  Prefactor     8.6255        31.375        .13644E-03   -1.5120    
  13  norm          8.3599        8.5904        .13865E-03   -1.5130    
  14  Prefactor     .10000E-03    4.1988        .20240E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .74731        4.8452        .22543E-02   -1.5535    
  16  Prefactor     .10000E-03    13.789        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     27.793        35.254        .37996E-03   -1.4653    
  18  Prefactor     9.3336        8.9183        .13119E-03   -1.5097    
  19  Prefactor     .10000E-03    3.7880        .13678E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    1.3231        .80191E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .98605        .21062        .22921E-03   -.93499    
  22  Prefactor     .79002        .19244        .24710E-03   -1.0010    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.45185e-09
Minuit parameter uncertainties:
  1  0.959953
  2  13.6926
  3  0.62416
  4  8.41
  5  18.16
  6  35.8767
  7  3.75683
  8  56.0562
  9  5.63058
  10  1.07252
  11  29.8036
  12  31.4347
  13  8.59166
  14  9.01256e-05
  15  3.80593
  16  1.11321e-06
  17  35.2805
  18  8.91956
  19  6.78394e-07
  20  2.08171e-06
  21  0.210797
  22  0.192604
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  9.600e-01  1.073e+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:  7.900e-01  1.926e-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:  9.860e-01  2.108e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.29
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 9.72e-09 +/- 1.09e-08
Energy Flux (Fixed Index): 1.12e-05 +/- 1.25e-05

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

Saving results to:
/scratch/kocevski/106753/likelihoodResults_416102401_416361601_4FGL_J0915.9+2933_daily_bin682.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) = 5189.65827738
delta logL = 0.364266877375

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5189.65743434
delta logL = 0.365109916393

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .62499       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8166       1.0000          .0000       5.0000    
     3 'Normalizat'    .95071       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80814       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=   5189.657     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      242 TOTAL
                     EDM=   .92E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .62495        9.5435        .10403E-01    .70360E-03
   2  alpha         2.8167        3.8948        .24716        .27664E-04
   3  Normalizat    .95074        .53082E-01    .45546E-01   -.15763E-03
   4  Prefactor     .80811        .45272E-01    .43823E-01    .69720E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.624947
  alpha      = 2.81666
  Normalizat = 0.950736
  Prefactor  = 0.808113
 **********
 **   18 **HESSE 
 **********

 FCN=   5189.657     FROM HESSE     STATUS=OK            33 CALLS      275 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .62495        1.2589        .46837E-04   -1.5550    
   2  alpha         2.8167        1.4572        .13950E-01    .12700    
   3  Normalizat    .95074        .20649        .23280E-03   -.94700    
   4  Prefactor     .80811        .19353        .24448E-03   -.99430    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.10618e-10
Minuit parameter uncertainties:
  1  1.25893
  2  1.55764
  3  0.206658
  4  0.19369
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/106753': 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) = 5189.65743432
delta logL = 0.365109935523

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  6.249e-01  1.259e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  2.817e+00  1.558e+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:  8.081e-01  1.937e-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:  9.507e-01  2.067e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.03
Ra Dec: 138.986 29.553
Photon Index (Free Index): 2.82 +/- 1.56
Photon Flux (Free Index): 3.83e-08 +/- 5.81e-08
Energy Flux (Free Index): 9.40e-06 +/- 8.15e-06

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/106753/cmap_HighResolution_416102401_416361601_4FGL_J0915.9+2933_daily_bin682.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.14e-05', comment='SUCCESS', photon_flux='9.72e-09', energy_flux2='9.40e-06', photon_flux_error='1.09e-08', dlogl='3.65e-01', energy_flux='1.12e-05', photon_flux2='3.83e-08', job_status='DONE', time_completed='2021-08-31 05:54:38.862331', photon_index_error2='1.56', photon_index2='2.82', ts='2.29', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', photon_flux_upper_limit='4.48e-08', energy_flux_error2='8.15e-06', EG='0.99', time_epoch_completed='1630414478.86', return_code='0', job_id='106753', GAL2='0.81', EG2='0.95', return_code2='0', energy_flux_error='1.25e-05', photon_flux_error2='5.81e-08', ts2='3.03', photon_index='1.75' WHERE bin_id='682' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:54:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0263>
Subject: Job 106753: <4FGL_J0915.9+2933_daily_bin682> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin682 138.986 29.553 416102401 416361601 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 :                                   773.34 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             286.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   815 sec.
    Turnaround time :                            816 sec.

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

