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


Performing analysis on: 4FGL_J1215.0+1656_daily_bin1506
RA = 183.774, Dec = 16.9372
tmin = 629683201, tmax = 629942401
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='441615', job_status='RUN', time_executed='2021-09-05 05:39:15.047604', time_epoch_executed='1630845555.05' WHERE source_name='4FGL J1215.0+1656' and cadence='daily' and bin_id='1506'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/441615

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/441615/ft1_4FGL_J1215.0+1656_daily_bin1506.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/441615/ft2_4FGL_J1215.0+1656_daily_bin1506.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/441615/ft1_4FGL_J1215.0+1656_daily_bin1506.fits outfile=/scratch/kocevski/441615/ft1_filteredMKT_4FGL_J1215.0+1656_daily_bin1506.fits ra=183.774 dec=16.9372 rad=12.0 tmin=629683201.0 tmax=629942401.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.94
user 3.34
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/441615/ft2_4FGL_J1215.0+1656_daily_bin1506.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/441615/ft1_filteredMKT_4FGL_J1215.0+1656_daily_bin1506.fits evtable="EVENTS" outfile="/scratch/kocevski/441615/ft1_filtered_4FGL_J1215.0+1656_daily_bin1506.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.10
user 0.31
sys 0.22

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/441615/ft1_filtered_4FGL_J1215.0+1656_daily_bin1506.fits evtable="EVENTS" scfile=/scratch/kocevski/441615/ft2_4FGL_J1215.0+1656_daily_bin1506.fits sctable="SC_DATA" expcube=/scratch/kocevski/441615/ltcube_629683201_629942401_4FGL_J1215.0+1656_daily_bin1506.fits outfile=/scratch/kocevski/441615/expmap_629683201_629942401_4FGL_J1215.0+1656_daily_bin1506.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/441615/ltcube_629683201_629942401_4FGL_J1215.0+1656_daily_bin1506.fits
.....................!
real 192.98
user 185.30
sys 6.41

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/441615/ft1_filtered_4FGL_J1215.0+1656_daily_bin1506.fits scfile=/scratch/kocevski/441615/ft2_4FGL_J1215.0+1656_daily_bin1506.fits outfile=/scratch/kocevski/441615/cmap_629683201_629942401_4FGL_J1215.0+1656_daily_bin1506.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.54
user 0.36
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .17919       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .43555       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10228E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.7979       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.6412       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .22711E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.7557       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.0413       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .31108E-02   1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    6.4218       1.0000         .10000E-03   10000.    
    19 'Prefactor '    23.161       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    7.3111       1.0000         .10000E-03   10000.    
    23 'Prefactor '    4.8601       1.0000         .10000E-03   10000.    
    24 'Prefactor '    5.4544       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .98098       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .93278       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=   5380.023     FROM MIGRAD    STATUS=CONVERGED   1124 CALLS     3227 TOTAL
                     EDM=   .93E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.399        .18142E-02** at limit **
   2  Prefactor     .26893        22.019        .87415E-01    .15301E-03
   3  Prefactor     .10000E-03    2.6507        .11653E-02** at limit **
   4  Prefactor     .43489        1.3491        .13501E-02    .46071E-02
   5  Prefactor     .10000E-03    35.282        .18142E-02** at limit **
   6  Prefactor     .10000E-03    5.7866        .17170E-02** at limit **
   7  Prefactor     6.7822        9.0295        .15389E-03   -.20538E-04
   8  Prefactor     1.6418        2.3157        .12884E-03   -.29118E-05
   9  Prefactor     .10000E-03    249.63        .20111E-02** at limit **
  10  Prefactor     .10000E-03    1.4564        .16904E-03** at limit **
  11  Prefactor     .10000E-03    1.6654        .18121E-03** at limit **
  12  Prefactor     6.7569        29.620        .15437E-03   -.47132E-05
  13  Prefactor     1.0414        1.8108        .13872E-02    .32101E-03
  14  Prefactor     .10000E-03    12.422        .18142E-02** at limit **
  15  Prefactor     .10002E-03    33.024        .24257E-02** at limit **
  16  norm          .10000E-03    .17404        .46077E-03** at limit **
  17  Prefactor     .10000E-03    39.180        .18142E-02** at limit **
  18  norm          6.4210        4.0956        .11442E-03   -.24343E-04
  19  Prefactor     23.167        13.683        .83231E-04   -.12020E-04
  20  Prefactor     .10000E-03    9.0794        .18142E-02** at limit **
  21  Prefactor     .10000E-03    16.648        .18142E-02** at limit **
  22  Prefactor     7.3126        6.0182        .14834E-03    .31499E-04
  23  Prefactor     4.8579        10.818        .18247E-03   -.11838E-04
  24  Prefactor     5.4637        14.112        .17205E-03   -.46915E-05
  25  Normalizat    .98070        .20036        .23172E-03   -.12540E-03
  26  Prefactor     .93282        .19569        .23698E-03   -.75126E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.268927
  Prefactor  = 0.0001
  Prefactor  = 0.434892
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.78222
  Prefactor  = 1.64181
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.75691
  Prefactor  = 1.04136
  Prefactor  = 0.0001
  Prefactor  = 0.00010002
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 6.421
  Prefactor  = 23.1672
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.31256
  Prefactor  = 4.85791
  Prefactor  = 5.46366
  Normalizat = 0.980697
  Prefactor  = 0.932819
 **********
 **   18 **HESSE 
 **********

 FCN=   5380.023     FROM HESSE     STATUS=OK           444 CALLS     3671 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.399        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .26893        20.876        .90390E-01   -1.5604    
   3  Prefactor     .10000E-03    2.6508        .23305E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .43489        1.3442        .27002E-03   -1.5576    
   5  Prefactor     .10000E-03    35.283        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.7880        .34339E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.7822        9.0292        .61555E-05   -1.5187    
   8  Prefactor     1.6418        2.3156        .51537E-05   -1.5452    
   9  Prefactor     .10000E-03    249.71        .40223E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    1.4565        .33808E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.6655        .36242E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.7569        29.622        .61749E-05   -1.5188    
  13  Prefactor     1.0414        1.8095        .55490E-04   -1.5504    
  14  Prefactor     .10000E-03    12.422        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10002E-03    33.923        .97029E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .17439        .92154E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    39.180        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          6.4210        4.0924        .45767E-05   -1.5201    
  19  Prefactor     23.167        13.682        .33293E-05   -1.4745    
  20  Prefactor     .10000E-03    9.0797        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    16.648        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.3126        6.0182        .59335E-05   -1.5167    
  23  Prefactor     4.8579        10.814        .72987E-05   -1.5267    
  24  Prefactor     5.4637        14.108        .68820E-05   -1.5240    
  25  Normalizat    .98070        .20041        .92689E-05   -.93680    
  26  Prefactor     .93282        .19586        .94792E-05   -.95004    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.82735e-10
Minuit parameter uncertainties:
  1  5.2426e-07
  2  4.73965
  3  2.92888e-06
  4  1.34431
  5  5.47765e-05
  6  7.81468e-06
  7  9.03097
  8  2.31578
  9  0.000874815
  10  4.60352e-06
  11  4.14175e-06
  12  28.3187
  13  1.8096
  14  8.39231e-06
  15  0.00163568
  16  1.73095e-06
  17  2.98923e-05
  18  4.09259
  19  13.6839
  20  4.63755e-06
  21  7.00192e-06
  22  6.01866
  23  10.8186
  24  14.1161
  25  0.200567
  26  0.196004
Done.

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

Extracting fit parameters...

4FGL J1215.0+1656
   Spectrum: PowerLaw
262    Prefactor:  1.000e-04  4.142e-06  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:  9.328e-01  1.960e-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:  9.807e-01  2.006e-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.21e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.80e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/441615/likelihoodResults_629683201_629942401_4FGL_J1215.0+1656_daily_bin1506.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) = 5380.02608193
delta logL = -0.00286306995713

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5380.0232191
delta logL = -2.39864675677e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4155       1.0000          .0000       10.000    
     3 'Normalizat'    .98073       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93286       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=   5380.023     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      241 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10037E-03    36.292        .18133E-02** at limit **
   2  Index         2.4638        6.3081        .50000       -.22542E-04
   3  Normalizat    .98070        .20333E-01    .23172E-03   -.21538E-04
   4  Prefactor     .93282        .20439E-01    .23698E-03   -.13528E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100375
  Index      = 2.46378
  Normalizat = 0.980698
  Prefactor  = 0.932818
 **********
 **   18 **HESSE 
 **********

 FCN=   5380.023     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      270 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10037E-03    200.50        .36266E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4638        6.1175        .50000       -.53198    
   3  Normalizat    .98070        .56087E-01    .92689E-05   -.93680    
   4  Prefactor     .93282        .56102E-01    .94792E-05   -.95004    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.04758e-07
Minuit parameter uncertainties:
  1  0.0173994
  2  950.77
  3  0.0560905
  4  0.0561056
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/441615': 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) = 5380.02321865
delta logL = 2.1370669856e-07

Extracting fit parameters...

4FGL J1215.0+1656
   Spectrum: PowerLaw
262    Prefactor:  1.004e-04  1.740e-02  1.000e-04  1.000e+04 ( 1.000e-12)
263        Index:  2.464e+00  9.508e+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:  9.328e-01  5.611e-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:  9.807e-01  5.609e-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/441615/cmap_HighResolution_629683201_629942401_4FGL_J1215.0+1656_daily_bin1506.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.80e-03', job_status='DONE', photon_flux_upper_limit='6.21e-08', time_completed='2021-09-05 05:51:14.768104', job_id='441615', GAL2='0.93', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1630846274.77', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='2.14e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1506' AND source_name='4FGL J1215.0+1656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 05:51:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0253>
Subject: Job 441615: <4FGL_J1215.0+1656_daily_bin1506> in cluster <slac> Done

Job <4FGL_J1215.0+1656_daily_bin1506> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep  5 05:35:25 2021
Job was executed on host(s) <bullet0253>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 05:35:26 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:35:26 2021
Terminated at Sun Sep  5 05:51:15 2021
Results reported at Sun Sep  5 05:51:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1215.0+1656_daily_bin1506 183.774 16.9372 629683201 629942401 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 :                                   705.23 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             300.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   949 sec.
    Turnaround time :                            950 sec.

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

