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


Performing analysis on: 4FGL_J1215.0+1656_daily_bin1228
RA = 183.774, Dec = 16.9372
tmin = 557625601, tmax = 557884801
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='440154', job_status='RUN', time_executed='2021-09-05 05:31:04.084222', time_epoch_executed='1630845064.08' WHERE source_name='4FGL J1215.0+1656' and cadence='daily' and bin_id='1228'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/440154

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/440154/ft1_4FGL_J1215.0+1656_daily_bin1228.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/440154/ft2_4FGL_J1215.0+1656_daily_bin1228.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/440154/ft1_4FGL_J1215.0+1656_daily_bin1228.fits outfile=/scratch/kocevski/440154/ft1_filteredMKT_4FGL_J1215.0+1656_daily_bin1228.fits ra=183.774 dec=16.9372 rad=12.0 tmin=557625601.0 tmax=557884801.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.44
user 3.21
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/440154/ft1_filtered_4FGL_J1215.0+1656_daily_bin1228.fits" evtable="EVENTS" scfile=/scratch/kocevski/440154/ft2_4FGL_J1215.0+1656_daily_bin1228.fits sctable="SC_DATA" outfile=/scratch/kocevski/440154/ltcube_557625601_557884801_4FGL_J1215.0+1656_daily_bin1228.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/440154/ft2_4FGL_J1215.0+1656_daily_bin1228.fits
.....................!
real 12.76
user 12.31
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/440154/ft1_filtered_4FGL_J1215.0+1656_daily_bin1228.fits evtable="EVENTS" scfile=/scratch/kocevski/440154/ft2_4FGL_J1215.0+1656_daily_bin1228.fits sctable="SC_DATA" expcube=/scratch/kocevski/440154/ltcube_557625601_557884801_4FGL_J1215.0+1656_daily_bin1228.fits outfile=/scratch/kocevski/440154/expmap_557625601_557884801_4FGL_J1215.0+1656_daily_bin1228.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/440154/ltcube_557625601_557884801_4FGL_J1215.0+1656_daily_bin1228.fits
.....................!
real 190.15
user 184.71
sys 4.42

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/440154/ft1_filtered_4FGL_J1215.0+1656_daily_bin1228.fits scfile=/scratch/kocevski/440154/ft2_4FGL_J1215.0+1656_daily_bin1228.fits outfile=/scratch/kocevski/440154/cmap_557625601_557884801_4FGL_J1215.0+1656_daily_bin1228.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.74
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/440154/ft1_filtered_4FGL_J1215.0+1656_daily_bin1228.fits scfile=/scratch/kocevski/440154/ft2_4FGL_J1215.0+1656_daily_bin1228.fits outfile=/scratch/kocevski/440154/cmap_HighResolution_557625601_557884801_4FGL_J1215.0+1656_daily_bin1228.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.87
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10382E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    33.795       1.0000         .10000E-03   10000.    
     3 'Prefactor '    76.003       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .17027E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    798.55       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .13253       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11905E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .44378E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.5984       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.3393       1.0000         .10000E-03   10000.    
    17 'Prefactor '    108.74       1.0000         .10000E-03   10000.    
    18 'norm      '    23.081       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    40.235       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .15043E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.6510       1.0000         .10000E-03   10000.    
    23 'Prefactor '    15.667       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
    26 'Prefactor '    2.0214       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1891.414     FROM MIGRAD    STATUS=CONVERGED   1135 CALLS     3648 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    627.16        .18142E-02** at limit **
   2  Prefactor     33.891        103.36        .68932E-04    .11133E-05
   3  Prefactor     76.283        104.92        .23029E-03   -.56314E-04
   4  Prefactor     .10000E-03    21.976        .36285E-03** at limit **
   5  Prefactor     798.69        704.95        .73782E-04    .95995E-05
   6  Prefactor     .10000E-03    52.482        .18142E-02** at limit **
   7  Prefactor     .10000E-03    37.294        .18142E-02** at limit **
   8  Prefactor     .10120E-03    72.196        .60983E-01** at limit **
   9  Prefactor     .10000E-03    128.13        .18142E-02** at limit **
  10  Prefactor     .10000E-03    5.4592        .99082E-03** at limit **
  11  Prefactor     .10088E-03    237.68        .25209E-02** at limit **
  12  Prefactor     .10000E-03    30.461        .18142E-02** at limit **
  13  Prefactor     1.5980        2.9547        .10022E-03   -.38342E-04
  14  Prefactor     .10000E-03    43.511        .18142E-02** at limit **
  15  Prefactor     .10000E-03    8.8605        .12627E-02** at limit **
  16  norm          1.3395        .74623        .26026E-04   -.65491E-03
  17  Prefactor     108.77        231.11        .38570E-04    .69416E-05
  18  norm          23.077        13.247        .83375E-04    .50213E-04
  19  Prefactor     .10000E-03    21.849        .18142E-02** at limit **
  20  Prefactor     40.225        66.513        .63193E-04   -.74211E-05
  21  Prefactor     .10000E-03    239.61        .18142E-02** at limit **
  22  Prefactor     3.6457        11.536        .21141E-03    .42146E-04
  23  Prefactor     15.650        24.431        .10119E-03   -.20307E-04
  24  Prefactor     .10000E-03    22.820        .18142E-02** at limit **
  25  Normalizat    .10000E-01    .45890        .12396E-01** at limit **
  26  Prefactor     2.0214        .27308        .22555E-03   -.72851E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100004
  Prefactor  = 33.8907
  Prefactor  = 76.2835
  Prefactor  = 0.000100003
  Prefactor  = 798.695
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000101201
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100882
  Prefactor  = 0.0001
  Prefactor  = 1.59804
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.33947
  Prefactor  = 108.767
  norm       = 23.0769
  Prefactor  = 0.0001
  Prefactor  = 40.2249
  Prefactor  = 0.000100001
  Prefactor  = 3.64574
  Prefactor  = 15.6501
  Prefactor  = 0.0001
  Normalizat = 0.01
  Prefactor  = 2.02143
 **********
 **   18 **HESSE 
 **********

 FCN=   1891.414     FROM HESSE     STATUS=OK           440 CALLS     4088 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    627.15        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     33.891        103.31        .27573E-05   -1.4543    
   3  Prefactor     76.283        103.83        .92117E-05   -1.3959    
   4  Prefactor     .10000E-03    21.976        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     798.69        704.91        .14756E-04   -.99776    
   6  Prefactor     .10000E-03    52.486        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    37.294        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10120E-03    52.809        .72857E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    128.13        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.4593        .19816E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10088E-03    247.12        .10083E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    30.461        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.5980        2.9547        .40088E-05   -1.5455    
  14  Prefactor     .10000E-03    43.511        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    8.8608        .25255E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.3395        .74615        .10410E-05   -1.5476    
  17  Prefactor     108.77        231.07        .77139E-05   -1.3618    
  18  norm          23.077        13.247        .33350E-05   -1.4747    
  19  Prefactor     .10000E-03    21.851        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     40.225        66.488        .25277E-05   -1.4439    
  21  Prefactor     .10000E-03    239.63        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     3.6457        11.534        .84565E-05   -1.5326    
  23  Prefactor     15.650        24.425        .40476E-05   -1.4917    
  24  Prefactor     .10000E-03    22.823        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .10000E-01    .45914        .24791E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     2.0214        .27263        .45111E-04   -.63815    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.83468e-09
Minuit parameter uncertainties:
  1  0.00329922
  2  103.861
  3  104.074
  4  0.000511696
  5  713.101
  6  6.65968e-05
  7  1.43832e-05
  8  0.0159385
  9  0.000414068
  10  4.86317e-06
  11  0.0296454
  12  2.70024e-05
  13  2.95493
  14  0.00012732
  15  4.26004e-05
  16  0.746158
  17  233.03
  18  13.2484
  19  7.95324e-05
  20  66.6109
  21  0.00113896
  22  11.5415
  23  24.441
  24  9.42002e-05
  25  3.39359e-06
  26  0.272844
Done.

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

Extracting fit parameters...

4FGL J1215.0+1656
   Spectrum: PowerLaw
262    Prefactor:  1.009e-04  2.965e-02  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:  2.021e+00  2.728e-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.000e-02  3.394e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 183.774 16.937
Photon Flux Upper Limit: 3.39e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.62e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/440154/likelihoodResults_557625601_557884801_4FGL_J1215.0+1656_daily_bin1228.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) = 1891.4141333
delta logL = -2.81188779354e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1891.36701864
delta logL = 0.0470865396785

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0875       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3383       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    2.0030       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1891.367     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      452 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0879        9.7200        .14443E-03    .74456E-03
   2  Index         3.3379        2.9273        .99346E-02    .10384E-03
   3  Normalizat    .10000E-01    .40347        .12136E-01** at limit **
   4  Prefactor     2.0029        .22112        .22614E-03   -.20094E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.08786
  Index      = 3.33786
  Normalizat = 0.01
  Prefactor  = 2.00294
 **********
 **   18 **HESSE 
 **********

 FCN=   1891.367     FROM HESSE     STATUS=OK            23 CALLS      475 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0879        6.4444        .57772E-05   -1.5499    
   2  Index         3.3379        2.4465        .39738E-03   -.33888    
   3  Normalizat    .10000E-01    .40370        .24271E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.0029        .22061        .45227E-04   -.64277    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74747e-09
Minuit parameter uncertainties:
  1  5.2961
  2  2.57215
  3  2.48426e-06
  4  0.220727
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/440154': 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) = 1891.36701858
delta logL = 0.0470865954915

Extracting fit parameters...

4FGL J1215.0+1656
   Spectrum: PowerLaw
262    Prefactor:  1.088e+00  5.296e+00  1.000e-04  1.000e+04 ( 1.000e-12)
263        Index:  3.338e+00  2.572e+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:  2.003e+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:  1.000e-02  2.484e-06  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/440154/cmap_HighResolution_557625601_557884801_4FGL_J1215.0+1656_daily_bin1228.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.62e-02', job_status='DONE', photon_flux_upper_limit='3.39e-07', time_completed='2021-09-05 05:39:18.276334', job_id='440154', GAL2='2.00', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1630845558.28', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='2.02', dlogl='4.71e-02', ts2='0.10', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1228' AND source_name='4FGL J1215.0+1656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 05:39:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 440154: <4FGL_J1215.0+1656_daily_bin1228> in cluster <slac> Done

Job <4FGL_J1215.0+1656_daily_bin1228> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep  5 05:30:46 2021
Job was executed on host(s) <bullet0264>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 05:30:48 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:48 2021
Terminated at Sun Sep  5 05:39:19 2021
Results reported at Sun Sep  5 05:39:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1215.0+1656_daily_bin1228 183.774 16.9372 557625601 557884801 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 :                                   452.45 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             370.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   510 sec.
    Turnaround time :                            513 sec.

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

