/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 118 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 = 7413
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1215.0+1656_daily_bin265
RA = 183.774, Dec = 16.9372
tmin = 308016001, tmax = 308275201
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='435274', job_status='RUN', time_executed='2021-09-05 05:17:37.290600', time_epoch_executed='1630844257.29' WHERE source_name='4FGL J1215.0+1656' and cadence='daily' and bin_id='265'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/435274

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/435274/ft1_4FGL_J1215.0+1656_daily_bin265.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/435274/ft2_4FGL_J1215.0+1656_daily_bin265.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/435274/ft1_4FGL_J1215.0+1656_daily_bin265.fits outfile=/scratch/kocevski/435274/ft1_filteredMKT_4FGL_J1215.0+1656_daily_bin265.fits ra=183.774 dec=16.9372 rad=12.0 tmin=308016001.0 tmax=308275201.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.40
user 3.19
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/435274/ft1_filtered_4FGL_J1215.0+1656_daily_bin265.fits" evtable="EVENTS" scfile=/scratch/kocevski/435274/ft2_4FGL_J1215.0+1656_daily_bin265.fits sctable="SC_DATA" outfile=/scratch/kocevski/435274/ltcube_308016001_308275201_4FGL_J1215.0+1656_daily_bin265.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/435274/ft2_4FGL_J1215.0+1656_daily_bin265.fits
.....................!
real 11.87
user 11.50
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/435274/ft1_filtered_4FGL_J1215.0+1656_daily_bin265.fits evtable="EVENTS" scfile=/scratch/kocevski/435274/ft2_4FGL_J1215.0+1656_daily_bin265.fits sctable="SC_DATA" expcube=/scratch/kocevski/435274/ltcube_308016001_308275201_4FGL_J1215.0+1656_daily_bin265.fits outfile=/scratch/kocevski/435274/expmap_308016001_308275201_4FGL_J1215.0+1656_daily_bin265.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/435274/ltcube_308016001_308275201_4FGL_J1215.0+1656_daily_bin265.fits
.....................!
real 191.24
user 186.09
sys 4.76

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/435274/ft1_filtered_4FGL_J1215.0+1656_daily_bin265.fits scfile=/scratch/kocevski/435274/ft2_4FGL_J1215.0+1656_daily_bin265.fits outfile=/scratch/kocevski/435274/cmap_308016001_308275201_4FGL_J1215.0+1656_daily_bin265.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/435274/ft1_filtered_4FGL_J1215.0+1656_daily_bin265.fits scfile=/scratch/kocevski/435274/ft2_4FGL_J1215.0+1656_daily_bin265.fits outfile=/scratch/kocevski/435274/cmap_HighResolution_308016001_308275201_4FGL_J1215.0+1656_daily_bin265.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    49.119       1.0000         .10000E-03   10000.    
     2 'Prefactor '    14.862       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.7660       1.0000         .10000E-03   10000.    
     5 'Prefactor '    74.005       1.0000         .10000E-03   10000.    
     6 'Prefactor '    22.156       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.2802       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    30.116       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .12159E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.0921       1.0000         .10000E-03   10000.    
    12 'Prefactor '    25.910       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.0330       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    5.4406       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.926       1.0000         .10000E-03   10000.    
    20 'Prefactor '    60.373       1.0000         .10000E-03   10000.    
    21 'Prefactor '    46.975       1.0000         .10000E-03   10000.    
    22 'Prefactor '    9.5464       1.0000         .10000E-03   10000.    
    23 'Prefactor '    15.606       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.1891       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .95235       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=   7306.529     FROM MIGRAD    STATUS=CONVERGED    613 CALLS     3133 TOTAL
                     EDM=   .72E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     49.098        43.922        .12019E-05    .76754E-06
   2  Prefactor     14.863        23.189        .32006E-06    .31949E-05
   3  Prefactor     .10000E-03    9.8332        .62559E-07** at limit **
   4  Prefactor     1.7660        1.6593        .25613E-07   -.68896E-05
   5  Prefactor     73.934        110.10        .49451E-05    .15203E-05
   6  Prefactor     22.157        11.592       -.23520E-06   -.68567E-05
   7  Prefactor     2.2753        44.608        .25564E-05    .33661E-05
   8  Prefactor     .10000E-03    1.3267        .15798E-07** at limit **
   9  Prefactor     30.042        95.902        .68175E-05    .17999E-05
  10  Prefactor     .10000E-03    2.0162        .12927E-06** at limit **
  11  Prefactor     2.0905        3.1996        .79000E-07   -.55755E-04
  12  Prefactor     25.911        32.728       -.43896E-07   -.15401E-05
  13  Prefactor     7.0331        2.9514        .12790E-07   -.23643E-05
  14  Prefactor     .10000E-03    24.282       -.28150E-07** at limit **
  15  Prefactor     .10000E-03    4.9690        .21798E-07** at limit **
  16  norm          5.4406        .58930        .38917E-08   -.24898E-03
  17  Prefactor     .10000E-03    68.963       -.25662E-06** at limit **
  18  norm          .10000E-03    1.7148        .11045E-07** at limit **
  19  Prefactor     10.928        15.444       -.24139E-06   -.65088E-05
  20  Prefactor     60.359        51.057        .85931E-06   -.42806E-05
  21  Prefactor     46.969        61.655        .41787E-06   -.15333E-05
  22  Prefactor     9.5458        6.5059        .46931E-07   -.34419E-05
  23  Prefactor     15.606        19.812        .17910E-06    .22653E-05
  24  Prefactor     .10000E-03    39.863        .30362E-06** at limit **
  25  Normalizat    1.1889        .21870        .32485E-06   -.31320E-04
  26  Prefactor     .95258        .19735       -.12547E-05    .21390E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 49.0978
  Prefactor  = 14.8626
  Prefactor  = 0.0001
  Prefactor  = 1.76602
  Prefactor  = 73.9336
  Prefactor  = 22.1571
  Prefactor  = 2.27534
  Prefactor  = 0.0001
  Prefactor  = 30.0418
  Prefactor  = 0.0001
  Prefactor  = 2.09052
  Prefactor  = 25.9112
  Prefactor  = 7.03314
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.44058
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10.9282
  Prefactor  = 60.3587
  Prefactor  = 46.9687
  Prefactor  = 9.5458
  Prefactor  = 15.6059
  Prefactor  = 0.0001
  Normalizat = 1.18887
  Prefactor  = 0.952577
 **********
 **   18 **HESSE 
 **********

 FCN=   7306.529     FROM HESSE     STATUS=OK           462 CALLS     3595 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     49.098        44.083        .57217E-04   -1.4305    
   2  Prefactor     14.863        23.202        .51947E-03   -1.4937    
   3  Prefactor     .10000E-03    9.9203        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.7660        1.6423        .10091E-03   -1.5442    
   5  Prefactor     73.934        110.22        .23336E-03   -1.3986    
   6  Prefactor     22.157        11.593        .85095E-04   -1.4766    
   7  Prefactor     2.2753        45.168        .13595E-02   -1.5406    
   8  Prefactor     .10000E-03    1.3331        .96123E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     30.042        96.356        .73009E-04   -1.4611    
  10  Prefactor     .10000E-03    5.1023        .22747E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.0905        3.0994        .17573E-03   -1.5419    
  12  Prefactor     25.911        32.735        .78699E-04   -1.4689    
  13  Prefactor     7.0331        2.9549        .92154E-04   -1.5178    
  14  Prefactor     .10000E-03    24.323        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.1397        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          5.4406        .59224        .20275E-04   -1.5241    
  17  Prefactor     .10000E-03    68.971        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.7239        .10929E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     10.928        15.403        .12121E-03   -1.5047    
  20  Prefactor     60.359        51.083        .51638E-04   -1.4153    
  21  Prefactor     46.969        61.667        .58502E-04   -1.4336    
  22  Prefactor     9.5458        6.5074        .12970E-03   -1.5090    
  23  Prefactor     15.606        19.840        .50693E-03   -1.4918    
  24  Prefactor     .10000E-03    40.607        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1889        .25855        .30815E-03   -.86947    
  26  Prefactor     .95258        .22889        .31800E-03   -.94327    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.94924e-11
Minuit parameter uncertainties:
  1  44.112
  2  23.2163
  3  3.06215e-06
  4  1.64237
  5  110.53
  6  11.5946
  7  20.2926
  8  3.33286e-07
  9  96.8607
  10  4.68525e-05
  11  3.09966
  12  32.7577
  13  2.95495
  14  7.57501e-07
  15  4.29589e-06
  16  0.592241
  17  9.25465e-07
  18  8.02172e-07
  19  15.4089
  20  51.1196
  21  61.7509
  22  6.50783
  23  19.8483
  24  1.7236e-05
  25  0.25883
  26  0.229122
Done.

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

Extracting fit parameters...

4FGL J1215.0+1656
   Spectrum: PowerLaw
262    Prefactor:  2.091e+00  3.100e+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:  9.526e-01  2.291e-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.189e+00  2.588e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/435274/likelihoodResults_308016001_308275201_4FGL_J1215.0+1656_daily_bin265.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) = 7306.45195456
delta logL = 0.0771937868285

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7306.44762503
delta logL = 0.0815233220337

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.5252       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0006       1.0000          .0000       10.000    
     3 'Normalizat'    1.1993       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94512       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=   7306.448     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      287 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5248        3.5432        .18458E-03   -.24514E-04
   2  Index         2.0007        .92381        .13841E-01    .27706E-05
   3  Normalizat    1.1993        .24057        .30701E-03    .79355E-04
   4  Prefactor     .94514        .22570        .31908E-03    .88575E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.52482
  Index      = 2.00067
  Normalizat = 1.19929
  Prefactor  = 0.945143
 **********
 **   18 **HESSE 
 **********

 FCN=   7306.448     FROM HESSE     STATUS=OK            25 CALLS      312 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5248        3.5575        .73831E-05   -1.5390    
   2  Index         2.0007        .92803        .55362E-03   -.64333    
   3  Normalizat    1.1993        .24074        .12281E-04   -.86625    
   4  Prefactor     .94514        .22587        .12763E-04   -.94581    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35003e-11
Minuit parameter uncertainties:
  1  3.55784
  2  0.936562
  3  0.240964
  4  0.22609
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/435274': 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) = 7306.44762501
delta logL = 0.0815233390749

Extracting fit parameters...

4FGL J1215.0+1656
   Spectrum: PowerLaw
262    Prefactor:  2.525e+00  3.558e+00  1.000e-04  1.000e+04 ( 1.000e-12)
263        Index:  2.001e+00  9.366e-01  0.000e+00  1.000e+01 (-1.000e+00)
264        Scale:  8.538e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  9.451e-01  2.261e-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.199e+00  2.410e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.63
Ra Dec: 183.774 16.937

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/435274/cmap_HighResolution_308016001_308275201_4FGL_J1215.0+1656_daily_bin265.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.20e-03', job_status='DONE', photon_flux_upper_limit='1.19e-07', time_completed='2021-09-05 05:31:44.946980', job_id='435274', GAL2='0.95', fit_tolerance='1e-08', EG2='1.20', EG='1.19', time_epoch_completed='1630845104.95', return_code2='0', ts='0.63', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='8.15e-02', ts2='0.79', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='265' AND source_name='4FGL J1215.0+1656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 05:31:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 435274: <4FGL_J1215.0+1656_daily_bin265> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1215.0+1656_daily_bin265 183.774 16.9372 308016001 308275201 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 :                                   841.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             313.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   978 sec.
    Turnaround time :                            980 sec.

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

