/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 22 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 = 7362
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1215.0+1656_daily_bin1098
RA = 183.774, Dec = 16.9372
tmin = 523929601, tmax = 524188801
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='439967', job_status='RUN', time_executed='2021-09-05 05:31:11.200350', time_epoch_executed='1630845071.2' WHERE source_name='4FGL J1215.0+1656' and cadence='daily' and bin_id='1098'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/439967

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/439967/ft1_4FGL_J1215.0+1656_daily_bin1098.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/439967/ft2_4FGL_J1215.0+1656_daily_bin1098.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/439967/ft1_4FGL_J1215.0+1656_daily_bin1098.fits outfile=/scratch/kocevski/439967/ft1_filteredMKT_4FGL_J1215.0+1656_daily_bin1098.fits ra=183.774 dec=16.9372 rad=12.0 tmin=523929601.0 tmax=524188801.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.54
user 3.27
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/439967/ft2_4FGL_J1215.0+1656_daily_bin1098.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/439967/ft2_4FGL_J1215.0+1656_daily_bin1098.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/439967/ft1_filteredMKT_4FGL_J1215.0+1656_daily_bin1098.fits evtable="EVENTS" outfile="/scratch/kocevski/439967/ft1_filtered_4FGL_J1215.0+1656_daily_bin1098.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.50
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/439967/ft1_filtered_4FGL_J1215.0+1656_daily_bin1098.fits" evtable="EVENTS" scfile=/scratch/kocevski/439967/ft2_4FGL_J1215.0+1656_daily_bin1098.fits sctable="SC_DATA" outfile=/scratch/kocevski/439967/ltcube_523929601_524188801_4FGL_J1215.0+1656_daily_bin1098.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/439967/ft2_4FGL_J1215.0+1656_daily_bin1098.fits
.....................!
real 11.76
user 11.38
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/439967/ft1_filtered_4FGL_J1215.0+1656_daily_bin1098.fits evtable="EVENTS" scfile=/scratch/kocevski/439967/ft2_4FGL_J1215.0+1656_daily_bin1098.fits sctable="SC_DATA" expcube=/scratch/kocevski/439967/ltcube_523929601_524188801_4FGL_J1215.0+1656_daily_bin1098.fits outfile=/scratch/kocevski/439967/expmap_523929601_524188801_4FGL_J1215.0+1656_daily_bin1098.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/439967/ltcube_523929601_524188801_4FGL_J1215.0+1656_daily_bin1098.fits
.....................!
real 190.79
user 185.89
sys 4.15

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 183 point sources and 0 extended sources

Setting source of interest to:
4FGL J1215.0+1656 @ 183.774 16.9372

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/439967/ft1_filtered_4FGL_J1215.0+1656_daily_bin1098.fits scfile=/scratch/kocevski/439967/ft2_4FGL_J1215.0+1656_daily_bin1098.fits outfile=/scratch/kocevski/439967/cmap_523929601_524188801_4FGL_J1215.0+1656_daily_bin1098.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=183.774 yref=16.9372 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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/439967/ft1_filtered_4FGL_J1215.0+1656_daily_bin1098.fits scfile=/scratch/kocevski/439967/ft2_4FGL_J1215.0+1656_daily_bin1098.fits outfile=/scratch/kocevski/439967/cmap_HighResolution_523929601_524188801_4FGL_J1215.0+1656_daily_bin1098.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=183.774 yref=16.9372 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.55
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/439967/ft1_filtered_4FGL_J1215.0+1656_daily_bin1098.fits evtable="EVENTS" scfile=/scratch/kocevski/439967/ft2_4FGL_J1215.0+1656_daily_bin1098.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/439967/Model_4FGL_J1215.0+1656_daily_bin1098.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/439967/ft1_filtered_4FGL_J1215.0+1656_daily_bin1098.fits.....................!
real 53.93
user 51.94
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/439967/ft1_filtered_4FGL_J1215.0+1656_daily_bin1098.fits', '/scratch/kocevski/439967/ft2_4FGL_J1215.0+1656_daily_bin1098.fits', expMap='/scratch/kocevski/439967/expmap_523929601_524188801_4FGL_J1215.0+1656_daily_bin1098.fits', expCube='/scratch/kocevski/439967/ltcube_523929601_524188801_4FGL_J1215.0+1656_daily_bin1098.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/439967/Model_4FGL_J1215.0+1656_daily_bin1098.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1215.0+1656'

4FGL J1215.0+1656
   Spectrum: PowerLaw
262    Prefactor:  1.342e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
263        Index:  2.410e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  8.538e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/439967/ft1_filtered_4FGL_J1215.0+1656_daily_bin1098.fits
Spacecraft file(s): /scratch/kocevski/439967/ft2_4FGL_J1215.0+1656_daily_bin1098.fits
Exposure map: /scratch/kocevski/439967/expmap_523929601_524188801_4FGL_J1215.0+1656_daily_bin1098.fits
Exposure cube: /scratch/kocevski/439967/ltcube_523929601_524188801_4FGL_J1215.0+1656_daily_bin1098.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/439967/Model_4FGL_J1215.0+1656_daily_bin1098.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) = 5548.78011675

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10628E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .62445       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.9258       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.236       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.9392       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    28.122       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.9041       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .16113       1.0000         .10000E-03   10000.    
    17 'Prefactor '    76.046       1.0000         .10000E-03   10000.    
    18 'norm      '    4.9928       1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.5623       1.0000         .10000E-03   10000.    
    20 'Prefactor '    24.705       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    19.022       1.0000         .10000E-03   10000.    
    24 'Prefactor '    1.9751       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.4334       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .50358       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5548.754     FROM MIGRAD    STATUS=CONVERGED    614 CALLS     3065 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    58.676       -.12329E-04** at limit **
   2  Prefactor     .10000E-03    8.4745        .16278E-06** at limit **
   3  Prefactor     .66211        9.8999        .12562E-05   -.65276E-03
   4  Prefactor     1.9256        1.3692       -.26307E-07   -.68766E-04
   5  Prefactor     .10000E-03    49.767        .15474E-04** at limit **
   6  Prefactor     11.236        9.0671        .22709E-07   -.12532E-04
   7  Prefactor     .10000E-03    4.7273        .20209E-08** at limit **
   8  Prefactor     4.9376        3.9444       -.19224E-06   -.30983E-03
   9  Prefactor     .10000E-03    36.323       -.26700E-05** at limit **
  10  Prefactor     .10000E-03    .89006       -.11795E-07** at limit **
  11  Prefactor     .10000E-03    1.4814        .16475E-07** at limit **
  12  Prefactor     28.123        24.103        .92465E-07    .22243E-06
  13  Prefactor     3.9038        2.4192       -.33937E-07   -.87779E-04
  14  Prefactor     .10000E-03    12.192       -.86286E-06** at limit **
  15  Prefactor     .10000E-03    1.7450        .97485E-08** at limit **
  16  norm          .16108        .22722       -.86777E-07   -.26008E-02
  17  Prefactor     76.048        86.145        .28583E-05    .69689E-06
  18  norm          4.9928        3.6388       -.44476E-07   -.69731E-04
  19  Prefactor     9.5631        9.0779        .77947E-06   -.54443E-05
  20  Prefactor     24.694        23.438       -.45032E-05    .48301E-07
  21  Prefactor     .10000E-03    15.788        .16520E-05** at limit **
  22  Prefactor     .10000E-03    6.6371       -.48051E-07** at limit **
  23  Prefactor     19.021        15.576        .23825E-06    .23383E-04
  24  Prefactor     1.9425        29.691       -.42811E-05   -.12931E-03
  25  Normalizat    1.4336        .18956        .62592E-06   -.55495E-04
  26  Prefactor     .50334        .17157        .51297E-07   -.15087E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.662106
  Prefactor  = 1.92556
  Prefactor  = 0.0001
  Prefactor  = 11.2364
  Prefactor  = 0.0001
  Prefactor  = 4.93765
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 28.123
  Prefactor  = 3.9038
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.161085
  Prefactor  = 76.0485
  norm       = 4.99281
  Prefactor  = 9.56314
  Prefactor  = 24.6937
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.0211
  Prefactor  = 1.94245
  Normalizat = 1.43356
  Prefactor  = 0.503339
 **********
 **   18 **HESSE 
 **********

 FCN=   5548.754     FROM HESSE     STATUS=OK           458 CALLS     3523 TOTAL
                     EDM=   .62E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    58.377        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    8.5017        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .66211        40.964        .43194E-02   -1.5545    
   4  Prefactor     1.9256        1.3698        .71283E-04   -1.5430    
   5  Prefactor     .10000E-03    48.576        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     11.236        9.0718        .11952E-03   -1.5037    
   7  Prefactor     .10000E-03    4.7304        .15817E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.9376        3.9257        .12422E-03   -1.5264    
   9  Prefactor     .10000E-03    36.307        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    .89637        .68581E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.5104        .88462E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     28.123        24.100        .75547E-04   -1.4647    
  13  Prefactor     3.9038        2.4220        .88122E-04   -1.5313    
  14  Prefactor     .10000E-03    12.196        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.7475        .96073E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .16108        .21818        .39546E-03   -1.5628    
  17  Prefactor     76.048        86.019        .46046E-04   -1.3962    
  18  norm          4.9928        3.6347        .11734E-03   -1.5261    
  19  Prefactor     9.5631        9.0551        .12959E-03   -1.5089    
  20  Prefactor     24.694        23.330        .80592E-04   -1.4714    
  21  Prefactor     .10000E-03    15.777        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    6.7358        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     19.021        15.447        .91832E-04   -1.4835    
  24  Prefactor     1.9425        30.542        .29499E-03   -1.5429    
  25  Normalizat    1.4336        .21826        .21368E-03   -.79663    
  26  Prefactor     .50334        .19555        .31908E-03   -1.1182    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.21178e-09
Minuit parameter uncertainties:
  1  2.66169e-05
  2  2.90597e-06
  3  10.4226
  4  1.36984
  5  1.2414e-05
  6  9.07293
  7  1.27324e-06
  8  3.92589
  9  5.79918e-06
  10  2.40276e-08
  11  8.52663e-07
  12  24.1079
  13  2.42207
  14  3.5477e-06
  15  1.81372e-07
  16  0.218181
  17  86.1599
  18  3.63486
  19  9.05638
  20  23.3388
  21  2.67171e-06
  22  3.54023e-06
  23  15.4499
  24  15.4136
  25  0.218401
  26  0.195812
Done.

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

Extracting fit parameters...

4FGL J1215.0+1656
   Spectrum: PowerLaw
262    Prefactor:  1.000e-04  8.527e-07  1.000e-04  1.000e+04 ( 1.000e-12)
263        Index:  2.410e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  8.538e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  5.033e-01  1.958e-01  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  1.434e+00  2.184e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 183.774 16.937
Photon Flux Upper Limit: 6.96e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.38e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/439967/likelihoodResults_523929601_524188801_4FGL_J1215.0+1656_daily_bin1098.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) = 5548.75747263
delta logL = -0.00313005870339

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5548.75434276
delta logL = -1.84005330084e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4113       1.0000          .0000       10.000    
     3 'Normalizat'    1.4336       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .50336       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5548.754     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      208 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.6062        .90712E-02** at limit **
   2  Index         2.4125        8.2258        .50000       -.70193E-05
   3  Normalizat    1.4336        .60965E-02    .48336E-01    .22776E-04
   4  Prefactor     .50334        .56996E-02    .72067E-01    .62416E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.41249
  Normalizat = 1.43356
  Prefactor  = 0.503339
 **********
 **   18 **HESSE 
 **********

 FCN=   5548.754     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      239 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    42.156        .88462E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4125        5.4984        .50000       -.54393    
   3  Normalizat    1.4336        .24958E-01    .21368E-03   -.79663    
   4  Prefactor     .50334        .23283E-01    .31908E-03   -1.1182    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.65854e-07
Minuit parameter uncertainties:
  1  8.67487e-05
  2  296.795
  3  0.0249586
  4  0.0232831
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/439967': 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): 102
logL (Free Index) = 5548.75434257
delta logL = 4.34465619037e-09

Extracting fit parameters...

4FGL J1215.0+1656
   Spectrum: PowerLaw
262    Prefactor:  1.000e-04  8.675e-05  1.000e-04  1.000e+04 ( 1.000e-12)
263        Index:  2.412e+00  2.968e+02  0.000e+00  1.000e+01 (-1.000e+00)
264        Scale:  8.538e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  5.033e-01  2.328e-02  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  1.434e+00  2.496e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 183.774 16.937

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/439967/cmap_HighResolution_523929601_524188801_4FGL_J1215.0+1656_daily_bin1098.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.38e-03', job_status='DONE', photon_flux_upper_limit='6.96e-08', time_completed='2021-09-05 05:43:09.490062', job_id='439967', GAL2='0.50', fit_tolerance='1e-08', EG2='1.43', EG='1.43', time_epoch_completed='1630845789.49', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.50', dlogl='4.34e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1098' AND source_name='4FGL J1215.0+1656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 05:43:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0232>
Subject: Job 439967: <4FGL_J1215.0+1656_daily_bin1098> in cluster <slac> Done

Job <4FGL_J1215.0+1656_daily_bin1098> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep  5 05:30:33 2021
Job was executed on host(s) <bullet0232>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 05:30:34 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep  5 05:30:34 2021
Terminated at Sun Sep  5 05:43:10 2021
Results reported at Sun Sep  5 05:43:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1215.0+1656_daily_bin1098 183.774 16.9372 523929601 524188801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1215.0+1656 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   686.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             323.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   755 sec.
    Turnaround time :                            757 sec.

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

