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


Performing analysis on: 4FGL_J1215.0+1656_daily_bin1412
RA = 183.774, Dec = 16.9372
tmin = 605318401, tmax = 605577601
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='440378', job_status='RUN', time_executed='2021-09-05 05:32:36.578271', time_epoch_executed='1630845156.58' WHERE source_name='4FGL J1215.0+1656' and cadence='daily' and bin_id='1412'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/440378

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/440378/ft1_4FGL_J1215.0+1656_daily_bin1412.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/440378/ft2_4FGL_J1215.0+1656_daily_bin1412.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/440378/ft1_4FGL_J1215.0+1656_daily_bin1412.fits outfile=/scratch/kocevski/440378/ft1_filteredMKT_4FGL_J1215.0+1656_daily_bin1412.fits ra=183.774 dec=16.9372 rad=12.0 tmin=605318401.0 tmax=605577601.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 6.89
user 5.29
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/440378/ft1_filtered_4FGL_J1215.0+1656_daily_bin1412.fits" evtable="EVENTS" scfile=/scratch/kocevski/440378/ft2_4FGL_J1215.0+1656_daily_bin1412.fits sctable="SC_DATA" outfile=/scratch/kocevski/440378/ltcube_605318401_605577601_4FGL_J1215.0+1656_daily_bin1412.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/440378/ft2_4FGL_J1215.0+1656_daily_bin1412.fits
.....................!
real 12.27
user 11.42
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/440378/ft1_filtered_4FGL_J1215.0+1656_daily_bin1412.fits evtable="EVENTS" scfile=/scratch/kocevski/440378/ft2_4FGL_J1215.0+1656_daily_bin1412.fits sctable="SC_DATA" expcube=/scratch/kocevski/440378/ltcube_605318401_605577601_4FGL_J1215.0+1656_daily_bin1412.fits outfile=/scratch/kocevski/440378/expmap_605318401_605577601_4FGL_J1215.0+1656_daily_bin1412.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/440378/ltcube_605318401_605577601_4FGL_J1215.0+1656_daily_bin1412.fits
.....................!
real 193.59
user 186.50
sys 4.92

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/440378/ft1_filtered_4FGL_J1215.0+1656_daily_bin1412.fits scfile=/scratch/kocevski/440378/ft2_4FGL_J1215.0+1656_daily_bin1412.fits outfile=/scratch/kocevski/440378/cmap_605318401_605577601_4FGL_J1215.0+1656_daily_bin1412.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.87
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/440378/ft1_filtered_4FGL_J1215.0+1656_daily_bin1412.fits scfile=/scratch/kocevski/440378/ft2_4FGL_J1215.0+1656_daily_bin1412.fits outfile=/scratch/kocevski/440378/cmap_HighResolution_605318401_605577601_4FGL_J1215.0+1656_daily_bin1412.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.79
user 0.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/440378/ft1_filtered_4FGL_J1215.0+1656_daily_bin1412.fits', '/scratch/kocevski/440378/ft2_4FGL_J1215.0+1656_daily_bin1412.fits', expMap='/scratch/kocevski/440378/expmap_605318401_605577601_4FGL_J1215.0+1656_daily_bin1412.fits', expCube='/scratch/kocevski/440378/ltcube_605318401_605577601_4FGL_J1215.0+1656_daily_bin1412.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/440378/Model_4FGL_J1215.0+1656_daily_bin1412.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/440378/ft1_filtered_4FGL_J1215.0+1656_daily_bin1412.fits
Spacecraft file(s): /scratch/kocevski/440378/ft2_4FGL_J1215.0+1656_daily_bin1412.fits
Exposure map: /scratch/kocevski/440378/expmap_605318401_605577601_4FGL_J1215.0+1656_daily_bin1412.fits
Exposure cube: /scratch/kocevski/440378/ltcube_605318401_605577601_4FGL_J1215.0+1656_daily_bin1412.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/440378/Model_4FGL_J1215.0+1656_daily_bin1412.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) = 5145.82873933

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    37.985       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.2841       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.9994       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .39309       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10601E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.7490       1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.6106       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10273E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .29643       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    10.893       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    36.177       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .73171       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.2880       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=   5145.811     FROM MIGRAD    STATUS=CONVERGED    622 CALLS     3103 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    17.000       -.78199E-05** at limit **
   2  Prefactor     37.989        35.539        .19447E-05    .49853E-04
   3  Prefactor     .10000E-03    5.5652       -.21931E-06** at limit **
   4  Prefactor     1.2833        2.0122       -.38004E-06   -.55150E-03
   5  Prefactor     .10000E-03    42.015       -.21166E-04** at limit **
   6  Prefactor     6.9935        11.224       -.24214E-06    .68406E-04
   7  Prefactor     .10000E-03    9.7701       -.10474E-05** at limit **
   8  Prefactor     .38678        2.9359       -.88709E-06    .10083E-03
   9  Prefactor     .10000E-03    97.642       -.46311E-04** at limit **
  10  Prefactor     .10000E-03    1.7193        .69975E-07** at limit **
  11  Prefactor     7.7478        4.0762        .65954E-08    .74613E-04
  12  Prefactor     9.5879        31.225       -.20964E-04   -.35905E-04
  13  Prefactor     .10000E-03    2.5920       -.39038E-06** at limit **
  14  Prefactor     .10000E-03    71.428        .30450E-04** at limit **
  15  Prefactor     .10000E-03    2.9723        .21149E-06** at limit **
  16  norm          .29648        .30506       -.12421E-06   -.15091E-02
  17  Prefactor     .10000E-03    62.389        .33152E-04** at limit **
  18  norm          10.893        6.0063        .97794E-06    .56073E-04
  19  Prefactor     .10000E-03    10.882        .47856E-05** at limit **
  20  Prefactor     36.171        31.448       -.35699E-05   -.72265E-04
  21  Prefactor     .10000E-03    19.511        .82504E-05** at limit **
  22  Prefactor     .10000E-03    5.8831       -.13395E-06** at limit **
  23  Prefactor     .10000E-03    17.965        .15329E-05** at limit **
  24  Prefactor     .10000E-03    11.559       -.35905E-05** at limit **
  25  Normalizat    .73177        .20336        .24669E-05    .88315E-04
  26  Prefactor     1.2880        .18949        .15812E-06    .13790E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 37.9889
  Prefactor  = 0.0001
  Prefactor  = 1.2833
  Prefactor  = 0.0001
  Prefactor  = 6.99345
  Prefactor  = 0.0001
  Prefactor  = 0.386775
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.74783
  Prefactor  = 9.58786
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.29648
  Prefactor  = 0.0001
  norm       = 10.8926
  Prefactor  = 0.0001
  Prefactor  = 36.1709
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.731773
  Prefactor  = 1.28799
 **********
 **   18 **HESSE 
 **********

 FCN=   5145.811     FROM HESSE     STATUS=OK           454 CALLS     3557 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    17.011        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     37.989        35.271        .65031E-04   -1.4474    
   3  Prefactor     .10000E-03    5.5905        .16524E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.2833        1.9552        .11825E-03   -1.5481    
   5  Prefactor     .10000E-03    41.979        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.9935        11.216        .15164E-03   -1.5179    
   7  Prefactor     .10000E-03    9.8066        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .38678        17.054        .22608E-02   -1.5584    
   9  Prefactor     .10000E-03    97.565        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.8556        .17785E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.7478        4.0101        .98441E-04   -1.5151    
  12  Prefactor     9.5879        31.338        .12927E-03   -1.5089    
  13  Prefactor     .10000E-03    2.6690        .22540E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    72.296        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.9788        .12074E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .29648        .29055        .37276E-03   -1.5599    
  17  Prefactor     .10000E-03    62.338        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          10.893        5.9980        .12139E-03   -1.5048    
  19  Prefactor     .10000E-03    11.144        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     36.171        31.483        .66630E-04   -1.4504    
  21  Prefactor     .10000E-03    19.510        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    5.9861        .16990E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    18.156        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    11.599        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .73177        .23287        .30373E-03   -1.0265    
  26  Prefactor     1.2880        .22058        .22989E-03   -.83665    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.02197e-10
Minuit parameter uncertainties:
  1  9.09623e-06
  2  35.2904
  3  4.8157e-06
  4  1.9553
  5  1.43218e-05
  6  11.2194
  7  1.09463e-07
  8  5.13748
  9  7.72401e-05
  10  1.16948e-05
  11  4.01022
  12  31.3919
  13  1.7062e-05
  14  9.41949e-05
  15  9.76132e-06
  16  0.290553
  17  3.5058e-05
  18  5.99837
  19  1.89769e-05
  20  31.4976
  21  7.04412e-06
  22  1.16791e-05
  23  3.55322e-05
  24  1.13457e-05
  25  0.233185
  26  0.220735
Done.

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

Extracting fit parameters...

4FGL J1215.0+1656
   Spectrum: PowerLaw
262    Prefactor:  7.748e+00  4.010e+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

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  1.288e+00  2.207e-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:  7.318e-01  2.332e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.06
Ra Dec: 183.774 16.937
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 9.66e-08 +/- 5.00e-08
Energy Flux (Fixed Index): 3.12e-05 +/- 1.62e-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) = 5145.5853264
delta logL = 0.225767821605

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5145.58502827
delta logL = 0.226065952396

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.5705       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1257       1.0000          .0000       10.000    
     3 'Normalizat'    .74997       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2745       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=   5145.585     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      269 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.5618        124.06        .32385E-02    .12874E-03
   2  Index         2.1249        6.0032        .14332        .57543E-04
   3  Normalizat    .75022        .19676        .67867E-01    .22956E-04
   4  Prefactor     1.2744        .18161        .52215E-01    .12956E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.56176
  Index      = 2.12487
  Normalizat = 0.750221
  Prefactor  = 1.27438
 **********
 **   18 **HESSE 
 **********

 FCN=   5145.585     FROM HESSE     STATUS=OK            33 CALLS      302 TOTAL
                     EDM=   .61E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.5618        5.2524        .10922E-03   -1.5089    
   2  Index         2.1249        .40301        .57270E-02   -.61264    
   3  Normalizat    .75022        .22513        .30030E-03   -1.0194    
   4  Prefactor     1.2744        .22004        .23084E-03   -.84072    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.1135e-12
Minuit parameter uncertainties:
  1  5.25263
  2  0.403669
  3  0.225405
  4  0.220199
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/440378': 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) = 5145.58502233
delta logL = 0.22607189372

Extracting fit parameters...

4FGL J1215.0+1656
   Spectrum: PowerLaw
262    Prefactor:  9.562e+00  5.253e+00  1.000e-04  1.000e+04 ( 1.000e-12)
263        Index:  2.125e+00  4.037e-01  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:  1.274e+00  2.202e-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:  7.502e-01  2.254e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.51
Ra Dec: 183.774 16.937
Photon Index (Free Index): 2.12 +/- 0.40
Photon Flux (Free Index): 8.10e-08 +/- 4.85e-08
Energy Flux (Free Index): 4.22e-05 +/- 3.10e-05

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/440378/cmap_HighResolution_605318401_605577601_4FGL_J1215.0+1656_daily_bin1412.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.66e-08', energy_flux2='4.22e-05', photon_flux_error='5.00e-08', dlogl='2.26e-01', energy_flux='3.12e-05', photon_flux2='8.10e-08', job_status='DONE', time_completed='2021-09-05 05:43:02.878412', photon_index_error2='0.40', photon_index2='2.12', ts='7.06', fit_tolerance='1e-08', GAL='1.29', photon_index_error='0.00', energy_flux_error2='3.10e-05', EG='0.73', time_epoch_completed='1630845782.88', return_code='0', job_id='440378', GAL2='1.27', EG2='0.75', return_code2='0', energy_flux_error='1.62e-05', photon_flux_error2='4.85e-08', ts2='7.51', photon_index='2.41' WHERE bin_id='1412' AND source_name='4FGL J1215.0+1656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 05:43:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 440378: <4FGL_J1215.0+1656_daily_bin1412> in cluster <slac> Done

Job <4FGL_J1215.0+1656_daily_bin1412> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep  5 05:31:03 2021
Job was executed on host(s) <bullet0214>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 05:31:05 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:31:05 2021
Terminated at Sun Sep  5 05:43:03 2021
Results reported at Sun Sep  5 05:43:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1215.0+1656_daily_bin1412 183.774 16.9372 605318401 605577601 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 :                                   598.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             277.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   718 sec.
    Turnaround time :                            720 sec.

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

