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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin405
RA = 138.986, Dec = 29.553
tmin = 344304001, tmax = 344563201
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='104931', job_status='RUN', time_executed='2021-08-31 05:37:54.446890', time_epoch_executed='1630413474.45' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='405'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/104931

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/104931/ft1_4FGL_J0915.9+2933_daily_bin405.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/104931/ft2_4FGL_J0915.9+2933_daily_bin405.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/104931/ft1_4FGL_J0915.9+2933_daily_bin405.fits outfile=/scratch/kocevski/104931/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin405.fits ra=138.986 dec=29.553 rad=12.0 tmin=344304001.0 tmax=344563201.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 3.73
user 3.14
sys 0.56

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/104931/ft1_filtered_4FGL_J0915.9+2933_daily_bin405.fits" evtable="EVENTS" scfile=/scratch/kocevski/104931/ft2_4FGL_J0915.9+2933_daily_bin405.fits sctable="SC_DATA" outfile=/scratch/kocevski/104931/ltcube_344304001_344563201_4FGL_J0915.9+2933_daily_bin405.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/104931/ft2_4FGL_J0915.9+2933_daily_bin405.fits
.....................!
real 12.67
user 11.91
sys 0.69

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/104931/ft1_filtered_4FGL_J0915.9+2933_daily_bin405.fits evtable="EVENTS" scfile=/scratch/kocevski/104931/ft2_4FGL_J0915.9+2933_daily_bin405.fits sctable="SC_DATA" expcube=/scratch/kocevski/104931/ltcube_344304001_344563201_4FGL_J0915.9+2933_daily_bin405.fits outfile=/scratch/kocevski/104931/expmap_344304001_344563201_4FGL_J0915.9+2933_daily_bin405.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/104931/ltcube_344304001_344563201_4FGL_J0915.9+2933_daily_bin405.fits
.....................!
real 189.68
user 184.29
sys 5.04

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/104931/ft1_filtered_4FGL_J0915.9+2933_daily_bin405.fits scfile=/scratch/kocevski/104931/ft2_4FGL_J0915.9+2933_daily_bin405.fits outfile=/scratch/kocevski/104931/cmap_344304001_344563201_4FGL_J0915.9+2933_daily_bin405.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.89
user 0.38
sys 0.46

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/104931/ft1_filtered_4FGL_J0915.9+2933_daily_bin405.fits scfile=/scratch/kocevski/104931/ft2_4FGL_J0915.9+2933_daily_bin405.fits outfile=/scratch/kocevski/104931/cmap_HighResolution_344304001_344563201_4FGL_J0915.9+2933_daily_bin405.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.86
user 0.39
sys 0.46

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .30474       1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.199       1.0000         .10000E-03   10000.    
     3 'norm      '    3.4557       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    24.057       1.0000         .10000E-03   10000.    
     6 'norm      '    9.7044       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.8053       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.6730       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .52164       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    26.689       1.0000         .10000E-03   10000.    
    12 'Prefactor '    26.895       1.0000         .10000E-03   10000.    
    13 'norm      '    9.3408       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    36.571       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.1729       1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.1498       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0472       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .76214       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=   6387.220     FROM MIGRAD    STATUS=CONVERGED    449 CALLS     2351 TOTAL
                     EDM=   .55E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .30504        .80778        .52590E-06    .11634E-03
   2  Prefactor     11.198        9.5192       -.51218E-07    .51614E-04
   3  norm          3.4557        .95140        .10416E-07   -.15525E-03
   4  Prefactor     .10000E-03    6.2807       -.18463E-07** at limit **
   5  Prefactor     24.057        15.042        .12779E-06   -.24545E-04
   6  norm          9.7043        31.937        .20207E-06   -.40911E-05
   7  Prefactor     5.8054        2.8569        .90008E-08   -.23503E-04
   8  Prefactor     7.6770        28.635        .11542E-07    .50961E-05
   9  Prefactor     .52083        2.3015        .15768E-05   -.91047E-05
  10  norm          .10000E-03    .42088        .28319E-08** at limit **
  11  Prefactor     26.688        21.438       -.17153E-06   -.44124E-04
  12  Prefactor     26.897        61.846        .44693E-06   -.49604E-06
  13  norm          9.3403        9.2877        .10288E-06   -.13170E-04
  14  Prefactor     .10000E-03    1.1061        .15227E-07** at limit **
  15  Prefactor     .10000E-03    1.8357        .18726E-06** at limit **
  16  Prefactor     36.590        33.657        .71787E-06    .12347E-03
  17  Prefactor     .10000E-03    59.531       -.98207E-07** at limit **
  18  Prefactor     6.1732        6.7574        .21381E-06   -.98553E-04
  19  Prefactor     6.1505        9.5428        .31961E-06   -.42687E-04
  20  Prefactor     .10000E-03    1.3640        .68233E-07** at limit **
  21  Normalizat    1.0470        .17317       -.14220E-05   -.33087E-04
  22  Prefactor     .76227        .15738        .82566E-06   -.12373E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.305044
  Prefactor  = 11.1978
  norm       = 3.45566
  Prefactor  = 0.0001
  Prefactor  = 24.0569
  norm       = 9.70428
  Prefactor  = 5.80541
  Prefactor  = 7.67699
  Prefactor  = 0.520827
  norm       = 0.0001
  Prefactor  = 26.6883
  Prefactor  = 26.897
  norm       = 9.34031
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 36.5899
  Prefactor  = 0.0001
  Prefactor  = 6.17319
  Prefactor  = 6.15053
  Prefactor  = 0.0001
  Normalizat = 1.04704
  Prefactor  = 0.762273
 **********
 **   18 **HESSE 
 **********

 FCN=   6387.220     FROM HESSE     STATUS=OK           352 CALLS     2703 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .30504        .79120        .11415E-02   -1.5598    
   2  Prefactor     11.198        9.4700        .11971E-03   -1.5039    
   3  norm          3.4557        .95092        .39355E-04   -1.5336    
   4  Prefactor     .10000E-03    6.2990        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     24.057        15.061        .81669E-04   -1.4727    
   6  norm          9.7043        31.882        .12864E-03   -1.5085    
   7  Prefactor     5.8054        2.8591        .92128E-04   -1.5226    
   8  Prefactor     7.6770        28.557        .14477E-03   -1.5154    
   9  Prefactor     .52083        2.2623        .23833E-03   -1.5564    
  10  norm          .10000E-03    .42348        .50626E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     26.688        21.391        .77545E-04   -1.4674    
  12  Prefactor     26.897        61.793        .77247E-04   -1.4670    
  13  norm          9.3403        9.2636        .13113E-03   -1.5097    
  14  Prefactor     .10000E-03    1.1085        .82025E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.8955        .21128E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     36.590        33.899        .66272E-04   -1.4497    
  17  Prefactor     .10000E-03    59.629        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.1732        6.7569        .16158E-03   -1.5211    
  19  Prefactor     6.1505        9.5570        .16189E-03   -1.5212    
  20  Prefactor     .10000E-03    1.4154        .18210E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0470        .19523        .23214E-03   -.91471    
  22  Prefactor     .76227        .17790        .25711E-03   -1.0113    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.44311e-10
Minuit parameter uncertainties:
  1  0.79123
  2  9.47126
  3  0.950921
  4  9.68861e-07
  5  15.0636
  6  31.9379
  7  2.85916
  8  28.608
  9  2.17089
  10  1.75435e-07
  11  21.3972
  12  61.9408
  13  9.26502
  14  6.95013e-07
  15  7.8672e-07
  16  33.9171
  17  1.69668e-05
  18  6.75769
  19  9.55938
  20  9.09182e-07
  21  0.195366
  22  0.178035
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.000e-04  1.754e-07  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.623e-01  1.780e-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.047e+00  1.954e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/104931/likelihoodResults_344304001_344563201_4FGL_J0915.9+2933_daily_bin405.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): 102
logL (Free Index) = 6387.22024975
delta logL = -1.47964110511e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6387.22023511
delta logL = -1.61165189638e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7560       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0470       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76233       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6387.220     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      233 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    84.409        .50646E-03** at limit **
   2  alpha         1.8579        4.0411        .50000       -.47385E-07
   3  Normalizat    1.0470        .89285E-01    .23214E-03   -.16179E-03
   4  Prefactor     .76227        .86076E-01    .25711E-03   -.15290E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.85786
  Normalizat = 1.04704
  Prefactor  = 0.762273
 **********
 **   18 **HESSE 
 **********

 FCN=   6387.220     FROM HESSE     STATUS=OK            29 CALLS      262 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .46944        .10129E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8579        3.7962        .50000       -.25977    
   3  Normalizat    1.0470        .18128        .46428E-04   -.91471    
   4  Prefactor     .76227        .17479        .10284E-04   -1.0113    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.89625e-11
Minuit parameter uncertainties:
  1  1.1961e-06
  2  73.1152
  3  0.18139
  4  0.174918
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/104931': 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) = 6387.22023419
delta logL = 7.57389898354e-07

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.000e-04  1.196e-06  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.858e+00  7.312e+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.623e-01  1.749e-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.047e+00  1.814e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/104931/cmap_HighResolution_344304001_344563201_4FGL_J0915.9+2933_daily_bin405.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.69e-05', job_status='DONE', photon_flux_upper_limit='2.34e-08', time_completed='2021-08-31 05:48:12.137151', job_id='104931', GAL2='0.76', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1630414092.14', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='7.57e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='405' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:48:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 104931: <4FGL_J0915.9+2933_daily_bin405> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin405 138.986 29.553 344304001 344563201 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 :                                   622.30 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   752 sec.
    Turnaround time :                            758 sec.

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

