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


Performing analysis on: 4FGL_J1215.0+1656_daily_bin1250
RA = 183.774, Dec = 16.9372
tmin = 563328001, tmax = 563587201
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='440188', job_status='RUN', time_executed='2021-09-05 05:32:36.253786', time_epoch_executed='1630845156.25' WHERE source_name='4FGL J1215.0+1656' and cadence='daily' and bin_id='1250'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/440188

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/440188/ft1_4FGL_J1215.0+1656_daily_bin1250.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/440188/ft2_4FGL_J1215.0+1656_daily_bin1250.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/440188/ft1_4FGL_J1215.0+1656_daily_bin1250.fits outfile=/scratch/kocevski/440188/ft1_filteredMKT_4FGL_J1215.0+1656_daily_bin1250.fits ra=183.774 dec=16.9372 rad=12.0 tmin=563328001.0 tmax=563587201.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.04
user 2.80
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/440188/ft1_filtered_4FGL_J1215.0+1656_daily_bin1250.fits" evtable="EVENTS" scfile=/scratch/kocevski/440188/ft2_4FGL_J1215.0+1656_daily_bin1250.fits sctable="SC_DATA" outfile=/scratch/kocevski/440188/ltcube_563328001_563587201_4FGL_J1215.0+1656_daily_bin1250.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/440188/ft2_4FGL_J1215.0+1656_daily_bin1250.fits
.....................!
real 12.96
user 12.49
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/440188/ft1_filtered_4FGL_J1215.0+1656_daily_bin1250.fits evtable="EVENTS" scfile=/scratch/kocevski/440188/ft2_4FGL_J1215.0+1656_daily_bin1250.fits sctable="SC_DATA" expcube=/scratch/kocevski/440188/ltcube_563328001_563587201_4FGL_J1215.0+1656_daily_bin1250.fits outfile=/scratch/kocevski/440188/expmap_563328001_563587201_4FGL_J1215.0+1656_daily_bin1250.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/440188/ltcube_563328001_563587201_4FGL_J1215.0+1656_daily_bin1250.fits
.....................!
real 190.58
user 185.11
sys 4.28

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/440188/ft1_filtered_4FGL_J1215.0+1656_daily_bin1250.fits scfile=/scratch/kocevski/440188/ft2_4FGL_J1215.0+1656_daily_bin1250.fits outfile=/scratch/kocevski/440188/cmap_563328001_563587201_4FGL_J1215.0+1656_daily_bin1250.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 2.26
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/440188/ft1_filtered_4FGL_J1215.0+1656_daily_bin1250.fits scfile=/scratch/kocevski/440188/ft2_4FGL_J1215.0+1656_daily_bin1250.fits outfile=/scratch/kocevski/440188/cmap_HighResolution_563328001_563587201_4FGL_J1215.0+1656_daily_bin1250.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 2.41
user 0.40
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .97713       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .38730E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    19.609       1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.373       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.6130       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10233E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .20120       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10285E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.0342       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11451E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    13.084       1.0000         .10000E-03   10000.    
    19 'Prefactor '    26.181       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .19893E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.9590       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .16379E-02   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .60443       1.0000         .10000E-03   10000.    
    24 'Prefactor '    4.3368       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .45326       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.5108       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=   7631.696     FROM MIGRAD    STATUS=CONVERGED    655 CALLS     3221 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    22.400        .15161E-05** at limit **
   2  Prefactor     .10000E-03    13.485        .39347E-06** at limit **
   3  Prefactor     .10000E-03    4.5781        .59256E-06** at limit **
   4  Prefactor     .97703        .93836        .10639E-06    .18281E-03
   5  Prefactor     .10000E-03    29.888        .34154E-06** at limit **
   6  Prefactor     .10015E-03    7.2397        .19324E-05** at limit **
   7  Prefactor     19.610        13.867       -.48573E-06   -.38658E-03
   8  Prefactor     10.374        3.8948        .16243E-07   -.46719E-03
   9  Prefactor     .10000E-03    28.015       -.18916E-05** at limit **
  10  Prefactor     .10000E-03    1.0314        .23790E-06** at limit **
  11  Prefactor     4.6103        3.0946       -.94936E-07   -.64027E-03
  12  Prefactor     .10000E-03    12.325        .42646E-06** at limit **
  13  Prefactor     .20112        1.4283       -.68465E-06    .75898E-03
  14  Prefactor     .10000E-03    8.1514        .12209E-06** at limit **
  15  Prefactor     3.0332        3.2710        .15917E-07   -.10194E-03
  16  norm          .10000E-03    .70934E-01    .31412E-06** at limit **
  17  Prefactor     .10000E-03    67.179        .56133E-06** at limit **
  18  norm          13.083        4.7101       -.46809E-07   -.33050E-03
  19  Prefactor     26.167        13.407       -.34642E-06   -.80423E-04
  20  Prefactor     .10000E-03    143.02       -.45454E-06** at limit **
  21  Prefactor     7.0807        112.92        .29260E-05    .13361E-04
  22  Prefactor     .10005E-03    10.133        .59887E-07** at limit **
  23  Prefactor     .55995        87.464       -.59824E-05    .22865E-03
  24  Prefactor     4.3473        11.496        .32312E-05    .36238E-03
  25  Normalizat    .45334        .17259       -.48102E-05   -.50365E-03
  26  Prefactor     1.5108        .17267        .13798E-05   -.76366E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.977026
  Prefactor  = 0.0001
  Prefactor  = 0.000100151
  Prefactor  = 19.61
  Prefactor  = 10.3738
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 4.61032
  Prefactor  = 0.0001
  Prefactor  = 0.201123
  Prefactor  = 0.0001
  Prefactor  = 3.03319
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 13.0834
  Prefactor  = 26.1674
  Prefactor  = 0.0001
  Prefactor  = 7.08074
  Prefactor  = 0.000100049
  Prefactor  = 0.559946
  Prefactor  = 4.34735
  Normalizat = 0.453337
  Prefactor  = 1.51078
 **********
 **   18 **HESSE 
 **********

 FCN=   7631.696     FROM HESSE     STATUS=OK           466 CALLS     3687 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.597        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    13.719        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.6778        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .97703        .94007        .80350E-04   -1.5510    
   5  Prefactor     .10000E-03    29.897        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10015E-03    22.382        .35159E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     19.610        13.819        .45224E-03   -1.4822    
   8  Prefactor     10.374        3.8868        .99863E-04   -1.5064    
   9  Prefactor     .10000E-03    28.080        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    1.0548        .86618E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.6103        3.0785        .11772E-03   -1.5279    
  12  Prefactor     .10000E-03    12.343        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .20112        2.9528        .18738E-02   -1.5618    
  14  Prefactor     .10000E-03    8.1543        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.0332        3.2653        .15642E-03   -1.5360    
  16  norm          .10000E-03    .90756E-01    .44515E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    67.205        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          13.083        4.6922        .10657E-03   -1.4984    
  19  Prefactor     26.167        13.322        .78291E-04   -1.4684    
  20  Prefactor     .10000E-03    147.92        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     7.0807        134.51        .15208E-03   -1.5176    
  22  Prefactor     .10005E-03    45.471        .39515E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .55995        123.31        .45519E-02   -1.5558    
  24  Prefactor     4.3473        11.829        .19343E-03   -1.5291    
  25  Normalizat    .45334        .18960        .36053E-03   -1.1463    
  26  Prefactor     1.5108        .18962        .21574E-03   -.77238    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29648e-08
Minuit parameter uncertainties:
  1  0.000215836
  2  4.19538e-05
  3  3.68596e-05
  4  0.940085
  5  5.34106e-05
  6  0.00368422
  7  13.8217
  8  3.88689
  9  0.000336087
  10  9.82741e-06
  11  3.07858
  12  4.43221e-05
  13  1.54097
  14  9.5257e-06
  15  3.26553
  16  1.18647e-06
  17  0.000141143
  18  4.69237
  19  13.3238
  20  0.000405974
  21  61.8849
  22  0.00299864
  23  16.6521
  24  11.8358
  25  0.18987
  26  0.189711
Done.

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

Extracting fit parameters...

4FGL J1215.0+1656
   Spectrum: PowerLaw
262    Prefactor:  4.610e+00  3.079e+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.511e+00  1.897e-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:  4.533e-01  1.899e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.45
Ra Dec: 183.774 16.937
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 5.75e-08 +/- 3.83e-08
Energy Flux (Fixed Index): 1.86e-05 +/- 1.24e-05

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

Saving results to:
/scratch/kocevski/440188/likelihoodResults_563328001_563587201_4FGL_J1215.0+1656_daily_bin1250.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) = 7631.3872934
delta logL = 0.308699895702

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7631.37533588
delta logL = 0.320657419159

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4922       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1406       1.0000          .0000       10.000    
     3 'Normalizat'    .39398       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5516       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=   7631.375     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      253 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4890        20.688        .64728E-02    .23767E-02
   2  Index         3.1416        3.0413        .11389        .22773E-03
   3  Normalizat    .39391        .61367E-01    .87067E-01    .25609E-04
   4  Prefactor     1.5516        .54141E-01    .48274E-01   -.36539E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.48904
  Index      = 3.14163
  Normalizat = 0.393906
  Prefactor  = 1.55163
 **********
 **   18 **HESSE 
 **********

 FCN=   7631.375     FROM HESSE     STATUS=OK            33 CALLS      286 TOTAL
                     EDM=   .49E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4890        115.33        .71566E-04   -1.5392    
   2  Index         3.1416        5.6317        .55916E-02   -.38081    
   3  Normalizat    .39391        .59620        .38568E-03   -1.1762    
   4  Prefactor     1.5516        .53470        .21338E-03   -.76104    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.89493e-08
Minuit parameter uncertainties:
  1  33.9546
  2  9.68509
  3  0.60622
  4  0.536664
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/440188': 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) = 7631.37533544
delta logL = 0.320657852818

Extracting fit parameters...

4FGL J1215.0+1656
   Spectrum: PowerLaw
262    Prefactor:  2.489e+00  3.395e+01  1.000e-04  1.000e+04 ( 1.000e-12)
263        Index:  3.142e+00  9.685e+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.552e+00  5.367e-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:  3.939e-01  6.062e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.29
Ra Dec: 183.774 16.937
Photon Index (Free Index): 3.14 +/- 9.69
Photon Flux (Free Index): 9.82e-08 +/- 2.63e-07
Energy Flux (Free Index): 1.84e-05 +/- 2.64e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/440188/cmap_HighResolution_563328001_563587201_4FGL_J1215.0+1656_daily_bin1250.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.04e-02', comment='SUCCESS', photon_flux='5.75e-08', energy_flux2='1.84e-05', photon_flux_error='3.83e-08', dlogl='3.21e-01', energy_flux='1.86e-05', photon_flux2='9.82e-08', job_status='DONE', time_completed='2021-09-05 05:47:17.285607', photon_index_error2='9.69', photon_index2='3.14', ts='3.45', fit_tolerance='1e-08', GAL='1.51', photon_index_error='0.00', photon_flux_upper_limit='1.34e-07', energy_flux_error2='2.64e-05', EG='0.45', time_epoch_completed='1630846037.29', return_code='0', job_id='440188', GAL2='1.55', EG2='0.39', return_code2='0', energy_flux_error='1.24e-05', photon_flux_error2='2.63e-07', ts2='4.29', photon_index='2.41' WHERE bin_id='1250' AND source_name='4FGL J1215.0+1656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 05:47:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0205>
Subject: Job 440188: <4FGL_J1215.0+1656_daily_bin1250> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1215.0+1656_daily_bin1250 183.774 16.9372 563328001 563587201 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 :                                   844.05 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             278.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   988 sec.
    Turnaround time :                            990 sec.

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

