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


Performing analysis on: 4FGL_J1215.0+1656_daily_bin1369
RA = 183.774, Dec = 16.9372
tmin = 594172801, tmax = 594432001
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='440325', job_status='RUN', time_executed='2021-09-05 05:32:27.960498', time_epoch_executed='1630845147.96' WHERE source_name='4FGL J1215.0+1656' and cadence='daily' and bin_id='1369'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/440325

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/440325/ft1_4FGL_J1215.0+1656_daily_bin1369.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/440325/ft2_4FGL_J1215.0+1656_daily_bin1369.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/440325/ft1_4FGL_J1215.0+1656_daily_bin1369.fits outfile=/scratch/kocevski/440325/ft1_filteredMKT_4FGL_J1215.0+1656_daily_bin1369.fits ra=183.774 dec=16.9372 rad=12.0 tmin=594172801.0 tmax=594432001.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.17
user 3.91
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/440325/ft2_4FGL_J1215.0+1656_daily_bin1369.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/440325/ft1_filteredMKT_4FGL_J1215.0+1656_daily_bin1369.fits evtable="EVENTS" outfile="/scratch/kocevski/440325/ft1_filtered_4FGL_J1215.0+1656_daily_bin1369.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.74
user 0.34
sys 0.10

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/440325/ft1_filtered_4FGL_J1215.0+1656_daily_bin1369.fits" evtable="EVENTS" scfile=/scratch/kocevski/440325/ft2_4FGL_J1215.0+1656_daily_bin1369.fits sctable="SC_DATA" outfile=/scratch/kocevski/440325/ltcube_594172801_594432001_4FGL_J1215.0+1656_daily_bin1369.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/440325/ft2_4FGL_J1215.0+1656_daily_bin1369.fits
.....................!
real 11.92
user 11.36
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/440325/ft1_filtered_4FGL_J1215.0+1656_daily_bin1369.fits evtable="EVENTS" scfile=/scratch/kocevski/440325/ft2_4FGL_J1215.0+1656_daily_bin1369.fits sctable="SC_DATA" expcube=/scratch/kocevski/440325/ltcube_594172801_594432001_4FGL_J1215.0+1656_daily_bin1369.fits outfile=/scratch/kocevski/440325/expmap_594172801_594432001_4FGL_J1215.0+1656_daily_bin1369.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/440325/ltcube_594172801_594432001_4FGL_J1215.0+1656_daily_bin1369.fits
.....................!
real 189.86
user 185.16
sys 3.80

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/440325/ft1_filtered_4FGL_J1215.0+1656_daily_bin1369.fits scfile=/scratch/kocevski/440325/ft2_4FGL_J1215.0+1656_daily_bin1369.fits outfile=/scratch/kocevski/440325/cmap_594172801_594432001_4FGL_J1215.0+1656_daily_bin1369.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 1.58
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/440325/ft1_filtered_4FGL_J1215.0+1656_daily_bin1369.fits scfile=/scratch/kocevski/440325/ft2_4FGL_J1215.0+1656_daily_bin1369.fits outfile=/scratch/kocevski/440325/cmap_HighResolution_594172801_594432001_4FGL_J1215.0+1656_daily_bin1369.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.61
user 0.39
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10122E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    19.082       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.6755       1.0000         .10000E-03   10000.    
     5 'Prefactor '    65.747       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.3719       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.224       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.6407       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.6012       1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.178       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.3770       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .29091       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.0185       1.0000         .10000E-03   10000.    
    19 'Prefactor '    26.778       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    91.504       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .11058E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .33555       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .89786       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0474       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=   5524.047     FROM MIGRAD    STATUS=CONVERGED    607 CALLS     3135 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    50.194        .43531E-06** at limit **
   2  Prefactor     .10000E-03    28.589       -.81574E-06** at limit **
   3  Prefactor     19.081        11.446        .12192E-06   -.83214E-05
   4  Prefactor     2.6755        1.5383       -.30263E-07   -.14287E-03
   5  Prefactor     65.729        97.636       -.39356E-06   -.39885E-04
   6  Prefactor     1.3704        17.184        .21505E-05    .60505E-04
   7  Prefactor     .10000E-03    9.4383       -.12523E-05** at limit **
   8  Prefactor     .10000E-03    .84900        .88925E-09** at limit **
   9  Prefactor     14.193        70.030       -.13342E-05   -.60643E-04
  10  Prefactor     4.6405        3.5783       -.13745E-06   -.42933E-04
  11  Prefactor     1.6011        3.5834        .80404E-06    .26608E-03
  12  Prefactor     11.182        42.233        .79093E-06    .62856E-05
  13  Prefactor     3.3769        2.3604       -.20086E-07   -.82956E-04
  14  Prefactor     .10000E-03    20.937        .22849E-06** at limit **
  15  Prefactor     .10000E-03    2.2200       -.88772E-07** at limit **
  16  norm          .29090        .17652       -.14331E-08   -.26431E-03
  17  Prefactor     .10000E-03    58.716       -.35023E-06** at limit **
  18  norm          1.0183        3.2644        .15032E-05    .33430E-03
  19  Prefactor     26.778        13.994        .15232E-07   -.14746E-04
  20  Prefactor     .10000E-03    16.642        .64894E-07** at limit **
  21  Prefactor     91.539        71.131        .78003E-06    .71161E-04
  22  Prefactor     .10000E-03    1.9431        .70741E-08** at limit **
  23  Prefactor     .10002E-03    41.854        .10739E-04** at limit **
  24  Prefactor     .31949        13.254       -.40981E-05    .73853E-03
  25  Normalizat    .89787        .19446       -.34955E-06   -.97057E-05
  26  Prefactor     1.0474        .18695       -.67713E-06   -.23875E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.0807
  Prefactor  = 2.67548
  Prefactor  = 65.7291
  Prefactor  = 1.37045
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.1931
  Prefactor  = 4.64055
  Prefactor  = 1.60114
  Prefactor  = 11.1815
  Prefactor  = 3.37694
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.2909
  Prefactor  = 0.0001
  norm       = 1.01831
  Prefactor  = 26.7775
  Prefactor  = 0.0001
  Prefactor  = 91.5393
  Prefactor  = 0.0001
  Prefactor  = 0.000100021
  Prefactor  = 0.319491
  Normalizat = 0.897875
  Prefactor  = 1.04744
 **********
 **   18 **HESSE 
 **********

 FCN=   5524.047     FROM HESSE     STATUS=OK           460 CALLS     3595 TOTAL
                     EDM=   .32E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    50.638        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    29.379        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     19.081        11.461        .91689E-04   -1.4834    
   4  Prefactor     2.6755        1.5384        .67573E-04   -1.5381    
   5  Prefactor     65.729        97.633        .49496E-04   -1.4085    
   6  Prefactor     1.3704        17.148        .37215E-03   -1.5474    
   7  Prefactor     .10000E-03    9.4738        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    .85121        .66864E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     14.193        70.646        .10620E-03   -1.4954    
  10  Prefactor     4.6405        3.4859        .10057E-03   -1.5277    
  11  Prefactor     1.6011        3.4914        .17216E-03   -1.5455    
  12  Prefactor     11.182        42.267        .11983E-03   -1.5039    
  13  Prefactor     3.3769        2.3600        .91800E-04   -1.5340    
  14  Prefactor     .10000E-03    20.973        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.2264        .10811E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .29090        .17578        .23331E-04   -1.5600    
  17  Prefactor     .10000E-03    58.777        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.0183        3.2628        .23216E-03   -1.5506    
  19  Prefactor     26.778        14.000        .77416E-04   -1.4673    
  20  Prefactor     .10000E-03    16.670        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     91.539        70.257        .21004E-03   -1.3792    
  22  Prefactor     .10000E-03    1.9455        .10118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10002E-03    42.073        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .31949        131.87        .43631E-02   -1.5595    
  25  Normalizat    .89787        .22141        .26179E-03   -.96535    
  26  Prefactor     1.0474        .21327        .24464E-03   -.91164    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.18854e-08
Minuit parameter uncertainties:
  1  0.000273476
  2  0.000237575
  3  11.4623
  4  1.53846
  5  97.8725
  6  9.69866
  7  8.60667e-05
  8  3.21818e-07
  9  63.4502
  10  3.48608
  11  3.49184
  12  42.3802
  13  2.36005
  14  9.35575e-05
  15  7.91464e-06
  16  0.175782
  17  0.000284018
  18  3.26336
  19  14.0014
  20  1.14483e-06
  21  70.3213
  22  9.86466e-07
  23  0.00187821
  24  13.0086
  25  0.221638
  26  0.213441
Done.

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

Extracting fit parameters...

4FGL J1215.0+1656
   Spectrum: PowerLaw
262    Prefactor:  1.601e+00  3.492e+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.047e+00  2.134e-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:  8.979e-01  2.216e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.32
Ra Dec: 183.774 16.937
Photon Flux Upper Limit: 1.08e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.36e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/440325/likelihoodResults_594172801_594432001_4FGL_J1215.0+1656_daily_bin1369.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5523.98577844
delta logL = 0.0613722395183

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5523.9648598
delta logL = 0.0822908812306

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .97838       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0326       1.0000          .0000       10.000    
     3 'Normalizat'    .88228       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0577       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=   5523.965     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      204 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .98056        25.666        .13089E-01    .92361E-03
   2  Index         3.0310        3.3033        .22033        .49035E-04
   3  Normalizat    .88230        .33053E-01    .44675E-01    .88044E-05
   4  Prefactor     1.0576        .33162E-01    .39481E-01   -.18296E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.980563
  Index      = 3.03103
  Normalizat = 0.882299
  Prefactor  = 1.05762
 **********
 **   18 **HESSE 
 **********

 FCN=   5523.965     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .98056        6.6791        .10812E-03   -1.5510    
   2  Index         3.0310        3.0296        .85527E-02   -.40476    
   3  Normalizat    .88230        .22110        .26378E-03   -.97085    
   4  Prefactor     1.0576        .21924        .24358E-03   -.90833    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.64589e-08
Minuit parameter uncertainties:
  1  5.11885
  2  3.30786
  3  0.221331
  4  0.219429
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/440325': 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) = 5523.96485943
delta logL = 0.0822912440453

Extracting fit parameters...

4FGL J1215.0+1656
   Spectrum: PowerLaw
262    Prefactor:  9.806e-01  5.119e+00  1.000e-04  1.000e+04 ( 1.000e-12)
263        Index:  3.031e+00  3.308e+00  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.058e+00  2.194e-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:  8.823e-01  2.213e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.32
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/440325/cmap_HighResolution_594172801_594432001_4FGL_J1215.0+1656_daily_bin1369.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.36e-03', job_status='DONE', photon_flux_upper_limit='1.08e-07', time_completed='2021-09-05 05:44:26.595887', job_id='440325', GAL2='1.06', fit_tolerance='1e-08', EG2='0.88', EG='0.90', time_epoch_completed='1630845866.6', return_code2='0', ts='0.32', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='8.23e-02', ts2='0.49', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1369' AND source_name='4FGL J1215.0+1656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 05:44:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0124>
Subject: Job 440325: <4FGL_J1215.0+1656_daily_bin1369> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1215.0+1656_daily_bin1369 183.774 16.9372 594172801 594432001 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 :                                   691.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             351.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   805 sec.
    Turnaround time :                            810 sec.

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

