aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 30 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J1215.0+1656_daily_bin1756
RA = 183.774, Dec = 16.9372
tmin = 694483201, tmax = 694742401
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='11787', job_status='RUN', time_executed='2023-01-07 00:47:56.362886', time_epoch_executed='1673081276.36' WHERE source_name='4FGL J1215.0+1656' and cadence='daily' and bin_id='1756'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/11787

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/11787/ft1_4FGL_J1215.0+1656_daily_bin1756.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/11787/ft2_4FGL_J1215.0+1656_daily_bin1756.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/11787/ft1_4FGL_J1215.0+1656_daily_bin1756.fits outfile=/scratch/kocevski/11787/ft1_filteredMKT_4FGL_J1215.0+1656_daily_bin1756.fits ra=183.774 dec=16.9372 rad=12.0 tmin=694483201.0 tmax=694742401.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.08
user 2.79
sys 0.19

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

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

Number of photons that the gtmktime cut: 688

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/11787/ft1_filtered_4FGL_J1215.0+1656_daily_bin1756.fits evtable="EVENTS" scfile=/scratch/kocevski/11787/ft2_4FGL_J1215.0+1656_daily_bin1756.fits sctable="SC_DATA" expcube=/scratch/kocevski/11787/ltcube_694483201_694742401_4FGL_J1215.0+1656_daily_bin1756.fits outfile=/scratch/kocevski/11787/expmap_694483201_694742401_4FGL_J1215.0+1656_daily_bin1756.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/11787/ltcube_694483201_694742401_4FGL_J1215.0+1656_daily_bin1756.fits
.....................!
real 192.36
user 186.36
sys 4.98

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/11787/ft1_filtered_4FGL_J1215.0+1656_daily_bin1756.fits scfile=/scratch/kocevski/11787/ft2_4FGL_J1215.0+1656_daily_bin1756.fits outfile=/scratch/kocevski/11787/cmap_694483201_694742401_4FGL_J1215.0+1656_daily_bin1756.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/11787/ft1_filtered_4FGL_J1215.0+1656_daily_bin1756.fits scfile=/scratch/kocevski/11787/ft2_4FGL_J1215.0+1656_daily_bin1756.fits outfile=/scratch/kocevski/11787/cmap_HighResolution_694483201_694742401_4FGL_J1215.0+1656_daily_bin1756.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.55
user 0.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/11787/ft1_filtered_4FGL_J1215.0+1656_daily_bin1756.fits', '/scratch/kocevski/11787/ft2_4FGL_J1215.0+1656_daily_bin1756.fits', expMap='/scratch/kocevski/11787/expmap_694483201_694742401_4FGL_J1215.0+1656_daily_bin1756.fits', expCube='/scratch/kocevski/11787/ltcube_694483201_694742401_4FGL_J1215.0+1656_daily_bin1756.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/11787/Model_4FGL_J1215.0+1656_daily_bin1756.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  0.000e+00  1.000e+06 ( 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/11787/ft1_filtered_4FGL_J1215.0+1656_daily_bin1756.fits
Spacecraft file(s): /scratch/kocevski/11787/ft2_4FGL_J1215.0+1656_daily_bin1756.fits
Exposure map: /scratch/kocevski/11787/expmap_694483201_694742401_4FGL_J1215.0+1656_daily_bin1756.fits
Exposure cube: /scratch/kocevski/11787/ltcube_694483201_694742401_4FGL_J1215.0+1656_daily_bin1756.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/11787/Model_4FGL_J1215.0+1656_daily_bin1756.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) = 7334.44196106

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    75.012       1.0000          .0000       .10000E+07
     2 'Prefactor '    .32388E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .27189E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .90454E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .16815E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    5.2675       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10475E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    54.717       1.0000          .0000       .10000E+07
     9 'Prefactor '    .62454E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .21807       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.6151       1.0000          .0000       .10000E+07
    12 'Prefactor '    6.8269       1.0000          .0000       .10000E+07
    13 'Prefactor '    .11824E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .32243E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .14515       1.0000          .0000       .10000E+07
    16 'norm      '    10.665       1.0000          .0000       .10000E+07
    17 'Prefactor '    11.412       1.0000          .0000       .10000E+07
    18 'Prefactor '    .12886E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .96996E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .72836E-06   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.5635       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .68166       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7334.437     FROM MIGRAD    STATUS=CONVERGED    173 CALLS     2714 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     75.144        2.5852       -.10374E-07    .29277    
   2  Prefactor     .11102E-09    8.7826        .23263E-06** at limit **
   3  Prefactor      .0000        .59857        .14057E-07** at limit **
   4  Prefactor     .37415E-07    46.171       -.27405E-06** at limit **
   5  Prefactor      .0000        22.985       -.79817E-07** at limit **
   6  Prefactor     5.3556        9.7368       -.18698E-07    .26030E-02
   7  Prefactor      .0000        1.0781       -.58762E-07** at limit **
   8  Prefactor     52.372        67.267        .28393E-06    .81247E-02
   9  Prefactor      .0000        1.4131       -.27731E-07** at limit **
  10  Prefactor     .22601        6.0136        .26632E-06** at limit **
  11  Prefactor     1.6151        1.1804        .89213E-08    .18139E-02
  12  Prefactor     6.8259        3.1943        .18694E-07    .27757E-04
  13  Prefactor     .55511E-10    13.550        .12255E-06** at limit **
  14  Prefactor      .0000        2.2156       -.11051E-06** at limit **
  15  norm          .14503        .15589        .41692E-07** at limit **
  16  norm          10.647        5.0435        .51397E-07    .61173E-03
  17  Prefactor     11.408        8.4765       -.24823E-07   -.46220E-03
  18  Prefactor      .0000        2.2718       -.13362E-06** at limit **
  19  Prefactor      .0000        2.5989        .11282E-06** at limit **
  20  Prefactor     .55511E-10    7.7617        .83478E-07** at limit **
  21  Normalizat    1.5636        .21206        .35424E-05   -.49078E-05
  22  Prefactor     .68188        .19490       -.59508E-05   -.48532E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 75.1438
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 3.74145e-08
  Prefactor  = 0
  Prefactor  = 5.35565
  Prefactor  = 0
  Prefactor  = 52.3723
  Prefactor  = 0
  Prefactor  = 0.226007
  Prefactor  = 1.61508
  Prefactor  = 6.82587
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  norm       = 0.145033
  norm       = 10.647
  Prefactor  = 11.4082
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Normalizat = 1.56356
  Prefactor  = 0.681881
 **********
 **   18 **HESSE 
 **********

 FCN=   7334.437     FROM HESSE     STATUS=OK           398 CALLS     3112 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     75.144        38.532        .11547E-03   -1.5535    
   2  Prefactor     .11102E-09    8.7030        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        .59949        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .37415E-07    46.273        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        4.6370        .99717E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.3556        9.7425        .43771E-03   -1.5662    
   7  Prefactor      .0000        1.0760        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     52.372        68.252        .13520E-03   -1.5563    
   9  Prefactor      .0000        1.4079        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .22601        1.2476        .53896E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.6151        32.330        .83285E-03   -1.5683    
  12  Prefactor     6.8259        3.1916        .38376E-03   -1.5656    
  13  Prefactor     .55511E-10    13.563        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        2.2159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .14503        .17078        .76143E-03   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          10.647        5.0524        .30654E-03   -1.5643    
  17  Prefactor     11.408        8.4843        .29631E-03   -1.5640    
  18  Prefactor      .0000        2.2716        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        2.6038        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .55511E-10    7.7298        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.5636        .18531        .52589E-01   -.76008    
  22  Prefactor     .68188        .16720        .71587E-01   -1.0424    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71673e-06
Minuit parameter uncertainties:
  1  38.5317
  2  5.5014e-05
  3  3.53638e-07
  4  0.00263196
  5  1.3605e-05
  6  9.7425
  7  1.4655e-06
  8  68.2531
  9  8.44564e-07
  10  1.06201
  11  14.4523
  12  3.19161
  13  4.78161e-05
  14  1.23466e-08
  15  0.170778
  16  5.05244
  17  8.48428
  18  2.75274e-06
  19  2.00954e-06
  20  3.49906e-05
  21  0.185391
  22  0.16732
Done.

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

Extracting fit parameters...

4FGL J1215.0+1656
   Spectrum: PowerLaw
262    Prefactor:  2.260e-01  1.062e+00  0.000e+00  1.000e+06 ( 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:  6.819e-01  1.673e-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.564e+00  1.854e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 183.774 16.937
Photon Flux Upper Limit: 7.66e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.92e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/11787/likelihoodResults_694483201_694742401_4FGL_J1215.0+1656_daily_bin1756.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) = 7334.27100435
delta logL = 0.166379108754

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7334.25802255
delta logL = 0.179360901885

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .30612       1.0000          .0000       .10000E+07
     2 'Index     '    3.5438       1.0000          .0000       10.000    
     3 'Normalizat'    1.5375       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69464       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=   7334.258     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      216 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .30623        8.8679        .10129E-02    .25271E-01
   2  Index         3.5440        3.1211        .21107        .84214E-04
   3  Normalizat    1.5375        .29365E-01    .52960E-01    .86619E-06
   4  Prefactor     .69467        .27897E-01    .70982E-01    .29019E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.306228
  Index      = 3.54396
  Normalizat = 1.53753
  Prefactor  = 0.694672
 **********
 **   18 **HESSE 
 **********

 FCN=   7334.258     FROM HESSE     STATUS=OK            31 CALLS      247 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .30623        21.969        .79765E-05   -1.5697    
   2  Index         3.5440        6.3250        .95215E-02   -.29549    
   3  Normalizat    1.5375        .21005        .23415E-03   -.76729    
   4  Prefactor     .69467        .19805        .31415E-03   -1.0374    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.37072e-07
Minuit parameter uncertainties:
  1  5.18749
  2  9.00504
  3  0.210171
  4  0.198252
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/11787': 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) = 7334.25802241
delta logL = 0.179361042486

Extracting fit parameters...

4FGL J1215.0+1656
   Spectrum: PowerLaw
262    Prefactor:  3.062e-01  5.187e+00  0.000e+00  1.000e+06 ( 1.000e-12)
263        Index:  3.544e+00  9.005e+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:  6.947e-01  1.983e-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.538e+00  2.102e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
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/11787/cmap_HighResolution_694483201_694742401_4FGL_J1215.0+1656_daily_bin1756.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.92e-03', job_status='DONE', photon_flux_upper_limit='7.66e-08', time_completed='2023-01-07 01:00:22.941533', job_id='11787', GAL2='0.69', fit_tolerance='1e-08', EG2='1.54', EG='1.56', time_epoch_completed='1673082022.94', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.68', dlogl='1.79e-01', ts2='0.40', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1756' AND source_name='4FGL J1215.0+1656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan  7 01:00:22 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 11787: <4FGL_J1215.0+1656_daily_bin1756> in cluster <slac> Done

Job <4FGL_J1215.0+1656_daily_bin1756> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sat Jan  7 00:45:26 2023
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan  7 00:47:14 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan  7 00:47:14 2023
Terminated at Sat Jan  7 01:00:23 2023
Results reported at Sat Jan  7 01:00:23 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1215.0+1656_daily_bin1756 183.774 16.9372 694483201 694742401 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 :                                   747.39 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             355.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   789 sec.
    Turnaround time :                            897 sec.

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

