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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin133
RA = 138.986, Dec = 29.553
tmin = 273801601, tmax = 274060801
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='103339', job_status='RUN', time_executed='2021-08-31 05:34:42.627753', time_epoch_executed='1630413282.63' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='133'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/103339

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/103339/ft1_4FGL_J0915.9+2933_daily_bin133.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/103339/ft2_4FGL_J0915.9+2933_daily_bin133.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/103339/ft1_4FGL_J0915.9+2933_daily_bin133.fits outfile=/scratch/kocevski/103339/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin133.fits ra=138.986 dec=29.553 rad=12.0 tmin=273801601.0 tmax=274060801.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.80
user 3.39
sys 1.35

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/103339/ft1_filtered_4FGL_J0915.9+2933_daily_bin133.fits" evtable="EVENTS" scfile=/scratch/kocevski/103339/ft2_4FGL_J0915.9+2933_daily_bin133.fits sctable="SC_DATA" outfile=/scratch/kocevski/103339/ltcube_273801601_274060801_4FGL_J0915.9+2933_daily_bin133.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/103339/ft2_4FGL_J0915.9+2933_daily_bin133.fits
.....................!
real 13.32
user 11.72
sys 1.56

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/103339/ft1_filtered_4FGL_J0915.9+2933_daily_bin133.fits evtable="EVENTS" scfile=/scratch/kocevski/103339/ft2_4FGL_J0915.9+2933_daily_bin133.fits sctable="SC_DATA" expcube=/scratch/kocevski/103339/ltcube_273801601_274060801_4FGL_J0915.9+2933_daily_bin133.fits outfile=/scratch/kocevski/103339/expmap_273801601_274060801_4FGL_J0915.9+2933_daily_bin133.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/103339/ltcube_273801601_274060801_4FGL_J0915.9+2933_daily_bin133.fits
.....................!
real 191.16
user 184.98
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/103339/ft1_filtered_4FGL_J0915.9+2933_daily_bin133.fits scfile=/scratch/kocevski/103339/ft2_4FGL_J0915.9+2933_daily_bin133.fits outfile=/scratch/kocevski/103339/cmap_273801601_274060801_4FGL_J0915.9+2933_daily_bin133.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.64
user 0.38
sys 1.24

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/103339/ft1_filtered_4FGL_J0915.9+2933_daily_bin133.fits scfile=/scratch/kocevski/103339/ft2_4FGL_J0915.9+2933_daily_bin133.fits outfile=/scratch/kocevski/103339/cmap_HighResolution_273801601_274060801_4FGL_J0915.9+2933_daily_bin133.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.67
user 0.40
sys 1.25

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.2575       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.6300       1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.982       1.0000         .10000E-03   10000.    
     6 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.9491       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .22025E-01   1.0000         .10000E-03   10000.    
    10 'norm      '    2.0053       1.0000         .10000E-03   10000.    
    11 'Prefactor '    17.635       1.0000         .10000E-03   10000.    
    12 'Prefactor '    41.166       1.0000         .10000E-03   10000.    
    13 'norm      '    3.3266       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.0221       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10822E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    22.186       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.1748       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.6603       1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.6656       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1835       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .71084       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=   6064.078     FROM MIGRAD    STATUS=CONVERGED    488 CALLS     2394 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .52924        .28087E-06** at limit **
   2  Prefactor     .10000E-03    4.2012        .40407E-07** at limit **
   3  norm          1.2576        .69586        .24064E-07    .10720E-03
   4  Prefactor     8.6297        9.3679        .24510E-06    .87104E-04
   5  Prefactor     15.983        12.250        .20014E-06    .34551E-04
   6  norm          .10000E-03    21.626       -.34344E-05** at limit **
   7  Prefactor     5.9497        4.0009       -.27744E-06    .10550E-03
   8  Prefactor     .10000E-03    11.911       -.74875E-06** at limit **
   9  Prefactor     .19832E-01    3.5248       -.57939E-05    .18620E-02
  10  norm          2.0051        1.3606        .18106E-07    .90260E-04
  11  Prefactor     17.616        19.373       -.26373E-05    .49972E-03
  12  Prefactor     41.165        43.726        .60856E-06    .36078E-04
  13  norm          3.3350        8.5948        .11020E-04    .11446E-02
  14  Prefactor     2.0217        2.3372       -.32483E-06    .68322E-03
  15  Prefactor     .10000E-03    1.9745        .26177E-06** at limit **
  16  Prefactor     22.183        26.900        .82204E-06   -.19791E-05
  17  Prefactor     .10000E-03    18.671        .29505E-05** at limit **
  18  Prefactor     9.1757        6.4712        .67957E-07   -.42889E-04
  19  Prefactor     7.6633        10.151        .17907E-06    .17178E-04
  20  Prefactor     5.6664        2.6970        .18013E-07   -.38066E-04
  21  Normalizat    1.1832        .17183       -.95365E-07    .64639E-03
  22  Prefactor     .71114        .16190       -.82070E-06    .21240E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.25758
  Prefactor  = 8.62966
  Prefactor  = 15.9828
  norm       = 0.0001
  Prefactor  = 5.94971
  Prefactor  = 0.0001
  Prefactor  = 0.0198323
  norm       = 2.00508
  Prefactor  = 17.6155
  Prefactor  = 41.1654
  norm       = 3.33502
  Prefactor  = 2.02174
  Prefactor  = 0.0001
  Prefactor  = 22.1834
  Prefactor  = 0.0001
  Prefactor  = 9.17574
  Prefactor  = 7.66329
  Prefactor  = 5.66638
  Normalizat = 1.18315
  Prefactor  = 0.711139
 **********
 **   18 **HESSE 
 **********

 FCN=   6064.078     FROM HESSE     STATUS=OK           358 CALLS     2752 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.2472        .10944E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.2122        .15587E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.2576        .69425        .46383E-04   -1.5484    
   4  Prefactor     8.6297        9.3657        .13645E-03   -1.5120    
   5  Prefactor     15.983        12.257        .10019E-03   -1.4908    
   6  norm          .10000E-03    21.594        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.9497        4.0038        .12236E-03   -1.5220    
   8  Prefactor     .10000E-03    11.929        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .19832E-01    3.4946        .36426E-01   -1.5680    
  10  norm          2.0051        1.3621        .72703E-04   -1.5425    
  11  Prefactor     17.616        19.643        .95374E-04   -1.4868    
  12  Prefactor     41.165        43.734        .62477E-04   -1.4424    
  13  norm          3.3350        8.7072        .11097E-02   -1.5343    
  14  Prefactor     2.0217        2.3234        .12214E-03   -1.5424    
  15  Prefactor     .10000E-03    3.5603        .21007E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     22.183        26.921        .85039E-04   -1.4766    
  17  Prefactor     .10000E-03    18.646        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     9.1757        6.4693        .13232E-03   -1.5102    
  19  Prefactor     7.6633        10.166        .14489E-03   -1.5154    
  20  Prefactor     5.6664        2.6983        .84747E-04   -1.5232    
  21  Normalizat    1.1832        .19868        .21896E-03   -.87125    
  22  Prefactor     .71114        .18571        .27190E-03   -1.0309    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.16306e-09
Minuit parameter uncertainties:
  1  2.28992e-05
  2  5.519e-06
  3  0.69425
  4  9.36724
  5  12.2592
  6  9.21532e-05
  7  4.00399
  8  0.000123562
  9  0.52522
  10  1.36209
  11  19.6499
  12  43.768
  13  8.7105
  14  2.32355
  15  2.93586e-05
  16  26.9358
  17  4.24934e-05
  18  6.4698
  19  10.168
  20  2.69839
  21  0.198802
  22  0.185867
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  2.005e+00  1.362e+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.111e-01  1.859e-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:  1.183e+00  1.988e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 16.13
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 2.03e-08 +/- 1.38e-08
Energy Flux (Fixed Index): 2.33e-05 +/- 1.58e-05

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) = 6062.88253058
delta logL = 1.19536943876

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6062.65254228
delta logL = 1.42535774108

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .68627       1.0000         .10000E-03   10000.    
     2 'alpha     '    .70760       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1891       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71656       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=   6062.653     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      210 TOTAL
                     EDM=   .62E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .68567        .71293        .11974E-01   -.28495E-03
   2  alpha         .70713        .43409        .32602       -.23560E-04
   3  Normalizat    1.1890        .16199        .35164E-01   -.27503E-05
   4  Prefactor     .71662        .16089        .61323E-01    .19389E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.685669
  alpha      = 0.707132
  Normalizat = 1.18898
  Prefactor  = 0.716623
 **********
 **   18 **HESSE 
 **********

 FCN=   6062.653     FROM HESSE     STATUS=OK            33 CALLS      243 TOTAL
                     EDM=   .76E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .68567        1.5976        .50224E-03   -1.5542    
   2  alpha         .70713        .87288        .14692E-02   -.79970    
   3  Normalizat    1.1890        .18530        .21858E-03   -.86944    
   4  Prefactor     .71662        .18418        .27125E-03   -1.0288    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.60583e-13
Minuit parameter uncertainties:
  1  1.59769
  2  0.914269
  3  0.185406
  4  0.184339
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/103339': 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) = 6062.65254167
delta logL = 1.42535834669

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  6.857e-01  1.598e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  7.071e-01  9.143e-01  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:  7.166e-01  1.843e-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:  1.189e+00  1.854e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 18.97
Ra Dec: 138.986 29.553
Photon Index (Free Index): 0.71 +/- 0.91
Photon Flux (Free Index): 6.16e-09 +/- 7.87e-09
Energy Flux (Free Index): 9.75e-05 +/- 1.10e-04

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/103339/cmap_HighResolution_273801601_274060801_4FGL_J0915.9+2933_daily_bin133.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.03e-08', energy_flux2='9.75e-05', photon_flux_error='1.38e-08', dlogl='1.43e+00', energy_flux='2.33e-05', photon_flux2='6.16e-09', job_status='DONE', time_completed='2021-08-31 05:44:20.141536', photon_index_error2='0.91', photon_index2='0.71', ts='16.13', fit_tolerance='1e-08', GAL='0.71', photon_index_error='0.00', energy_flux_error2='1.10e-04', EG='1.18', time_epoch_completed='1630413860.14', return_code='0', job_id='103339', GAL2='0.72', EG2='1.19', return_code2='0', energy_flux_error='1.58e-05', photon_flux_error2='7.87e-09', ts2='18.97', photon_index='1.75' WHERE bin_id='133' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:44:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0293>
Subject: Job 103339: <4FGL_J0915.9+2933_daily_bin133> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin133 138.986 29.553 273801601 274060801 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 :                                   590.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             285.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   804 sec.
    Turnaround time :                            807 sec.

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

