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


Performing analysis on: 4FGL_J1215.0+1656_daily_bin882
RA = 183.774, Dec = 16.9372
tmin = 467942401, tmax = 468201601
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='438675', job_status='RUN', time_executed='2021-09-05 05:26:05.836138', time_epoch_executed='1630844765.84' WHERE source_name='4FGL J1215.0+1656' and cadence='daily' and bin_id='882'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/438675

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/438675/ft1_4FGL_J1215.0+1656_daily_bin882.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/438675/ft2_4FGL_J1215.0+1656_daily_bin882.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/438675/ft1_4FGL_J1215.0+1656_daily_bin882.fits outfile=/scratch/kocevski/438675/ft1_filteredMKT_4FGL_J1215.0+1656_daily_bin882.fits ra=183.774 dec=16.9372 rad=12.0 tmin=467942401.0 tmax=468201601.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.70
user 3.37
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/438675/ft1_filtered_4FGL_J1215.0+1656_daily_bin882.fits evtable="EVENTS" scfile=/scratch/kocevski/438675/ft2_4FGL_J1215.0+1656_daily_bin882.fits sctable="SC_DATA" expcube=/scratch/kocevski/438675/ltcube_467942401_468201601_4FGL_J1215.0+1656_daily_bin882.fits outfile=/scratch/kocevski/438675/expmap_467942401_468201601_4FGL_J1215.0+1656_daily_bin882.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/438675/ltcube_467942401_468201601_4FGL_J1215.0+1656_daily_bin882.fits
.....................!
real 190.53
user 185.11
sys 4.63

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/438675/ft1_filtered_4FGL_J1215.0+1656_daily_bin882.fits scfile=/scratch/kocevski/438675/ft2_4FGL_J1215.0+1656_daily_bin882.fits outfile=/scratch/kocevski/438675/cmap_467942401_468201601_4FGL_J1215.0+1656_daily_bin882.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.55
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/438675/ft1_filtered_4FGL_J1215.0+1656_daily_bin882.fits scfile=/scratch/kocevski/438675/ft2_4FGL_J1215.0+1656_daily_bin882.fits outfile=/scratch/kocevski/438675/cmap_HighResolution_467942401_468201601_4FGL_J1215.0+1656_daily_bin882.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/438675/ft1_filtered_4FGL_J1215.0+1656_daily_bin882.fits evtable="EVENTS" scfile=/scratch/kocevski/438675/ft2_4FGL_J1215.0+1656_daily_bin882.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/438675/Model_4FGL_J1215.0+1656_daily_bin882.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/438675/ft1_filtered_4FGL_J1215.0+1656_daily_bin882.fits.....................!
real 60.02
user 58.59
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.3758       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.3789       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12550E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.4047       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .99861       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.9721       1.0000         .10000E-03   10000.    
    14 'Prefactor '    42.339       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    49.154       1.0000         .10000E-03   10000.    
    18 'norm      '    6.2591       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .84380       1.0000         .10000E-03   10000.    
    20 'Prefactor '    46.631       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    19.472       1.0000         .10000E-03   10000.    
    23 'Prefactor '    8.1275       1.0000         .10000E-03   10000.    
    24 'Prefactor '    7.3748       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .86388       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.2134       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=   6818.999     FROM MIGRAD    STATUS=CONVERGED    637 CALLS     3140 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.3717        60.894       -.13136E-05   -.96321E-05
   2  Prefactor     .10000E-03    21.523       -.19382E-06** at limit **
   3  Prefactor     .10000E-03    2.0231       -.12016E-07** at limit **
   4  Prefactor     .10000E-03    .64879       -.42636E-07** at limit **
   5  Prefactor     2.1550        411.10       -.10418E-04   -.33278E-05
   6  Prefactor     .10008E-03    3.8038       -.22685E-05** at limit **
   7  Prefactor     .10000E-03    5.8142       -.16194E-07** at limit **
   8  Prefactor     .10000E-03    1.2224       -.42829E-07** at limit **
   9  Prefactor     .10000E-03    40.291        .33053E-07** at limit **
  10  Prefactor     .10000E-03    1.0022       -.73492E-07** at limit **
  11  Prefactor     4.4040        2.8793        .20279E-06    .25553E-03
  12  Prefactor     1.0065        13.420        .50523E-06   -.74660E-04
  13  Prefactor     2.9720        1.9365        .45187E-07    .43622E-04
  14  Prefactor     42.351        34.291       -.43964E-05   -.16755E-04
  15  Prefactor     .10000E-03    3.5411       -.52218E-07** at limit **
  16  norm          .10000E-03    .14848        .89274E-07** at limit **
  17  Prefactor     48.777        137.11        .48394E-04    .14445E-03
  18  norm          6.2587        4.6316        .24792E-06    .11939E-03
  19  Prefactor     .83722        18.682        .47802E-04   -.11650E-03
  20  Prefactor     46.622        29.435       -.60469E-05    .54057E-04
  21  Prefactor     .10000E-03    27.261       -.15304E-05** at limit **
  22  Prefactor     19.471        11.148        .23188E-06    .43358E-04
  23  Prefactor     8.1265        9.5525        .48694E-06    .10079E-03
  24  Prefactor     7.3735        14.172        .22374E-06    .97718E-05
  25  Normalizat    .86418        .17517       -.40061E-05    .37275E-03
  26  Prefactor     1.2132        .16736        .23021E-05    .89052E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.37171
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.15499
  Prefactor  = 0.000100078
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.40401
  Prefactor  = 1.0065
  Prefactor  = 2.97196
  Prefactor  = 42.3514
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 48.7765
  norm       = 6.2587
  Prefactor  = 0.83722
  Prefactor  = 46.6221
  Prefactor  = 0.0001
  Prefactor  = 19.4706
  Prefactor  = 8.12645
  Prefactor  = 7.37351
  Normalizat = 0.864183
  Prefactor  = 1.21318
 **********
 **   18 **HESSE 
 **********

 FCN=   6818.999     FROM HESSE     STATUS=OK           466 CALLS     3606 TOTAL
                     EDM=   .41E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.3717        60.952        .26579E-03   -1.5400    
   2  Prefactor     .10000E-03    21.793        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.0246        .11470E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    .66224        .64914E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.1550        408.25        .26560E-03   -1.5414    
   6  Prefactor     .10008E-03    27.386        .30922E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.8284        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.2335        .89125E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    40.324        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    1.0114        .80597E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.4040        2.8764        .10784E-03   -1.5288    
  12  Prefactor     1.0065        58.364        .58501E-02   -1.5507    
  13  Prefactor     2.9720        1.9372        .90122E-04   -1.5363    
  14  Prefactor     42.351        34.277        .61609E-04   -1.4405    
  15  Prefactor     .10000E-03    3.6207        .15158E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .57612        .60202E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     48.777        137.30        .28599E-03   -1.4310    
  18  norm          6.2587        4.6273        .14640E-03   -1.5208    
  19  Prefactor     .83722        8.2983        .69121E-01   -1.5525    
  20  Prefactor     46.622        30.784        .58717E-04   -1.4341    
  21  Prefactor     .10000E-03    27.340        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     19.471        11.150        .90765E-04   -1.4825    
  23  Prefactor     8.1265        9.5413        .14063E-03   -1.5138    
  24  Prefactor     7.3735        14.155        .14769E-03   -1.5165    
  25  Normalizat    .86418        .20316        .28212E-03   -.97730    
  26  Prefactor     1.2132        .19806        .23836E-03   -.85927    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.14619e-08
Minuit parameter uncertainties:
  1  24.0736
  2  4.74945e-05
  3  9.90228e-07
  4  1.87112e-06
  5  59.7384
  6  0.00291855
  7  2.10904e-07
  8  2.8216e-06
  9  1.85629e-05
  10  4.56303e-06
  11  2.87653
  12  15.3439
  13  1.9372
  14  34.2926
  15  6.58302e-06
  16  8.22425e-07
  17  138.205
  18  4.62754
  19  5.27225
  20  30.794
  21  0.000160551
  22  11.1514
  23  9.54305
  24  14.161
  25  0.203342
  26  0.198182
Done.

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

Extracting fit parameters...

4FGL J1215.0+1656
   Spectrum: PowerLaw
262    Prefactor:  4.404e+00  2.877e+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.213e+00  1.982e-01  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  8.642e-01  2.033e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.16
Ra Dec: 183.774 16.937
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 5.49e-08 +/- 3.58e-08
Energy Flux (Fixed Index): 1.78e-05 +/- 1.16e-05

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) = 6818.88038525
delta logL = 0.11857436043

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6818.87604441
delta logL = 0.122915205211

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.7233       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7399       1.0000          .0000       10.000    
     3 'Normalizat'    .83958       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2266       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=   6818.876     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      244 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.7205        42.140        .52317E-02    .22563E-03
   2  Index         2.7403        6.3645        .13407        .13057E-03
   3  Normalizat    .83956        .95639E-01    .64602E-01    .19845E-04
   4  Prefactor     1.2267        .67671E-01    .53645E-01    .12769E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.72051
  Index      = 2.74035
  Normalizat = 0.839559
  Prefactor  = 1.22666
 **********
 **   18 **HESSE 
 **********

 FCN=   6818.876     FROM HESSE     STATUS=OK            33 CALLS      277 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.7205        3.1177        .88169E-04   -1.5322    
   2  Index         2.7403        .71187        .69614E-02   -.46893    
   3  Normalizat    .83956        .20656        .28577E-03   -.98618    
   4  Prefactor     1.2267        .19785        .23718E-03   -.85515    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.12882e-09
Minuit parameter uncertainties:
  1  3.11781
  2  0.714924
  3  0.206756
  4  0.197974
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/438675': 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) = 6818.87604392
delta logL = 0.12291568928

Extracting fit parameters...

4FGL J1215.0+1656
   Spectrum: PowerLaw
262    Prefactor:  3.721e+00  3.118e+00  1.000e-04  1.000e+04 ( 1.000e-12)
263        Index:  2.740e+00  7.149e-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:  1.227e+00  1.980e-01  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  8.396e-01  2.068e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.43
Ra Dec: 183.774 16.937
Photon Index (Free Index): 2.74 +/- 0.71
Photon Flux (Free Index): 7.63e-08 +/- 5.98e-08
Energy Flux (Free Index): 1.78e-05 +/- 1.04e-05

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/438675/cmap_HighResolution_467942401_468201601_4FGL_J1215.0+1656_daily_bin882.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.49e-08', energy_flux2='1.78e-05', photon_flux_error='3.58e-08', dlogl='1.23e-01', energy_flux='1.78e-05', photon_flux2='7.63e-08', job_status='DONE', time_completed='2021-09-05 05:37:37.643988', photon_index_error2='0.71', photon_index2='2.74', ts='6.16', fit_tolerance='1e-08', GAL='1.21', photon_index_error='0.00', energy_flux_error2='1.04e-05', EG='0.86', time_epoch_completed='1630845457.64', return_code='0', job_id='438675', GAL2='1.23', EG2='0.84', return_code2='0', energy_flux_error='1.16e-05', photon_flux_error2='5.98e-08', ts2='6.43', photon_index='2.41' WHERE bin_id='882' AND source_name='4FGL J1215.0+1656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 05:37:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0289>
Subject: Job 438675: <4FGL_J1215.0+1656_daily_bin882> in cluster <slac> Done

Job <4FGL_J1215.0+1656_daily_bin882> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Sep  5 05:25:43 2021
Job was executed on host(s) <bullet0289>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 05:25:44 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:25:44 2021
Terminated at Sun Sep  5 05:37:38 2021
Results reported at Sun Sep  5 05:37:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1215.0+1656_daily_bin882 183.774 16.9372 467942401 468201601 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 :                                   686.35 sec.
    Max Memory :                                 1231 MB
    Average Memory :                             378.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   713 sec.
    Turnaround time :                            715 sec.

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

