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


Performing analysis on: 4FGL_J1215.0+1656_weekly_bin759
RA = 183.774, Dec = 16.9372
tmin = 698025601, tmax = 698630401
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='589704', job_status='RUN', time_executed='2023-02-21 03:31:58.220964', time_epoch_executed='1676979118.22' WHERE source_name='4FGL J1215.0+1656' and cadence='weekly' and bin_id='759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/589704

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/589704/ft1_4FGL_J1215.0+1656_weekly_bin759.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/589704/ft2_4FGL_J1215.0+1656_weekly_bin759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/589704/ft1_4FGL_J1215.0+1656_weekly_bin759.fits outfile=/scratch/kocevski/589704/ft1_filteredMKT_4FGL_J1215.0+1656_weekly_bin759.fits ra=183.774 dec=16.9372 rad=12.0 tmin=698025601.0 tmax=698630401.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 8.54
user 8.22
sys 0.29

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/589704/ft2_4FGL_J1215.0+1656_weekly_bin759.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/589704/ft1_filteredMKT_4FGL_J1215.0+1656_weekly_bin759.fits evtable="EVENTS" outfile="/scratch/kocevski/589704/ft1_filtered_4FGL_J1215.0+1656_weekly_bin759.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.55
user 0.39
sys 0.15

Number of photons that the gtmktime cut: 626

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/589704/ft1_filtered_4FGL_J1215.0+1656_weekly_bin759.fits evtable="EVENTS" scfile=/scratch/kocevski/589704/ft2_4FGL_J1215.0+1656_weekly_bin759.fits sctable="SC_DATA" expcube=/scratch/kocevski/589704/ltcube_698025601_698630401_4FGL_J1215.0+1656_weekly_bin759.fits outfile=/scratch/kocevski/589704/expmap_698025601_698630401_4FGL_J1215.0+1656_weekly_bin759.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/589704/ltcube_698025601_698630401_4FGL_J1215.0+1656_weekly_bin759.fits
.....................!
real 190.84
user 185.02
sys 5.51

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/589704/ft1_filtered_4FGL_J1215.0+1656_weekly_bin759.fits scfile=/scratch/kocevski/589704/ft2_4FGL_J1215.0+1656_weekly_bin759.fits outfile=/scratch/kocevski/589704/cmap_698025601_698630401_4FGL_J1215.0+1656_weekly_bin759.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.60
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/589704/ft1_filtered_4FGL_J1215.0+1656_weekly_bin759.fits scfile=/scratch/kocevski/589704/ft2_4FGL_J1215.0+1656_weekly_bin759.fits outfile=/scratch/kocevski/589704/cmap_HighResolution_698025601_698630401_4FGL_J1215.0+1656_weekly_bin759.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.63
user 0.44
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    82.376       1.0000          .0000       .10000E+07
     2 'Prefactor '    .81096E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .25557       1.0000          .0000       .10000E+07
     4 'Prefactor '    43.523       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.8060       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10900E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .93064E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .86393E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .16992E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    1.7466       1.0000          .0000       .10000E+07
    11 'Prefactor '    .25956E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.6903       1.0000          .0000       .10000E+07
    13 'Prefactor '    14.595       1.0000          .0000       .10000E+07
    14 'Prefactor '    .17178E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .43174E-01   1.0000          .0000       .10000E+07
    16 'norm      '    13.343       1.0000          .0000       .10000E+07
    17 'Prefactor '    33.036       1.0000          .0000       .10000E+07
    18 'Prefactor '    .46357E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .68123E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    15.427       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.0566       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0458       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=   6878.248     FROM MIGRAD    STATUS=CONVERGED    194 CALLS     2818 TOTAL
                     EDM=   .60E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     82.283        40.131        .10561E-05    .49093E-04
   2  Prefactor      .0000        3.6407       -.19519E-05** at limit **
   3  Prefactor     .26397        4.5050       -.26410E-06   -.21952E-03
   4  Prefactor     45.212        93.848        .35708E-06    .14582E-03
   5  Prefactor     4.8134        8.6681       -.43827E-06    .41897E-03
   6  Prefactor      .0000        6.3074        .20455E-06** at limit **
   7  Prefactor     .11595        28.851       -.44293E-05** at limit **
   8  Prefactor     .11102E-09    25.651        .14553E-05** at limit **
   9  Prefactor      .0000        1.7616        .47421E-06** at limit **
  10  Prefactor     1.7474        2.1143        .64613E-07   -.68086E-03
  11  Prefactor     .55511E-10    8.3025        .63686E-06** at limit **
  12  Prefactor     1.6877        1.7955       -.54194E-07   -.19276E-02
  13  Prefactor     13.966        24.377       -.11906E-05    .26139E-03
  14  Prefactor      .0000        3.5199        .33747E-06** at limit **
  15  norm          .42953E-01    .15732        .71441E-07** at limit **
  16  norm          13.459        5.5888       -.14836E-06   -.33397E-02
  17  Prefactor     33.023        3.1402        .16814E-06   -.24321E-01
  18  Prefactor     .55511E-10    3.9292       -.42244E-06** at limit **
  19  Prefactor      .0000        3.5931        .18318E-05** at limit **
  20  Prefactor     15.420        12.113       -.35863E-06   -.39172E-02
  21  Normalizat    1.0555        .21805       -.83541E-05    .11811E-04
  22  Prefactor     1.0463        .20668        .75370E-05   -.17213E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 82.2828
  Prefactor  = 0
  Prefactor  = 0.263967
  Prefactor  = 45.2125
  Prefactor  = 4.81343
  Prefactor  = 0
  Prefactor  = 0.115954
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 1.74739
  Prefactor  = 5.55112e-11
  Prefactor  = 1.68774
  Prefactor  = 13.9662
  Prefactor  = 0
  norm       = 0.0429525
  norm       = 13.4587
  Prefactor  = 33.0225
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 15.4197
  Normalizat = 1.05546
  Prefactor  = 1.04635
 **********
 **   18 **HESSE 
 **********

 FCN=   6878.248     FROM HESSE     STATUS=OK           406 CALLS     3224 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     82.283        42.317        .11019E-03   -1.5527    
   2  Prefactor      .0000        3.6408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .26397        1.6082        .47567E-02   -1.5698    
   4  Prefactor     45.212        93.400        .15159E-03   -1.5573    
   5  Prefactor     4.8134        8.6854        .45867E-03   -1.5664    
   6  Prefactor      .0000        6.3040        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11595        1.5255        .78888E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11102E-09    25.656        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        1.7460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.7474        2.1345        .79322E-03   -1.5682    
  11  Prefactor     .55511E-10    8.3061        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.6877        1.8126        .80937E-03   -1.5682    
  13  Prefactor     13.966        24.373        .26191E-03   -1.5633    
  14  Prefactor      .0000        3.5191        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .42953E-01    .12999        .10392E-02   -1.5712    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          13.459        5.5935        .27396E-03   -1.5635    
  17  Prefactor     33.023        13.041        .17401E-03   -1.5593    
  18  Prefactor     .55511E-10    3.9284        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        3.5950        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     15.420        12.428        .25474E-03   -1.5629    
  21  Normalizat    1.0555        .18132        .59827E-01   -.91195    
  22  Prefactor     1.0463        .17171        .58656E-01   -.91200    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.45243e-09
Minuit parameter uncertainties:
  1  42.3173
  2  1.50983e-05
  3  1.30309
  4  93.4028
  5  8.68542
  6  1.62134e-05
  7  0.841149
  8  0.00011606
  9  1.74089e-06
  10  2.13449
  11  3.311e-05
  12  1.81264
  13  24.3734
  14  1.63558e-05
  15  0.129992
  16  5.59354
  17  13.0408
  18  2.97465e-05
  19  9.41469e-06
  20  12.4283
  21  0.181428
  22  0.171799
Done.

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

Extracting fit parameters...

4FGL J1215.0+1656
   Spectrum: PowerLaw
262    Prefactor:  1.747e+00  2.134e+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:  1.046e+00  1.718e-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.055e+00  1.814e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.04
Ra Dec: 183.774 16.937
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 2.18e-08 +/- 2.66e-08
Energy Flux (Fixed Index): 7.05e-06 +/- 8.61e-06

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

Saving results to:
/scratch/kocevski/589704/likelihoodResults_698025601_698630401_4FGL_J1215.0+1656_weekly_bin759.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) = 6878.17507019
delta logL = 0.0732011756945

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6878.17224053
delta logL = 0.0760308325762

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.2677       1.0000          .0000       .10000E+07
     2 'Index     '    2.1157       1.0000          .0000       10.000    
     3 'Normalizat'    1.0612       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0413       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=   6878.172     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      239 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.2677        96.642        .68175E-03    .64196E-02
   2  Index         2.1157        5.8059        .25163        .10888E-03
   3  Normalizat    1.0612        .64191E-01    .59678E-01    .26879E-05
   4  Prefactor     1.0413        .62920E-01    .58771E-01    .18565E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.26772
  Index      = 2.1157
  Normalizat = 1.06122
  Prefactor  = 1.04133
 **********
 **   18 **HESSE 
 **********

 FCN=   6878.172     FROM HESSE     STATUS=OK            33 CALLS      272 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.2677        2.7587        .13987E-04   -1.5678    
   2  Index         2.1157        .70742        .10020E-01   -.61488    
   3  Normalizat    1.0612        .20673        .26393E-03   -.91007    
   4  Prefactor     1.0413        .20293        .25989E-03   -.91364    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.09012e-10
Minuit parameter uncertainties:
  1  2.75867
  2  0.711002
  3  0.206886
  4  0.203077
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/589704': 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) = 6878.17224053
delta logL = 0.0760308330428

Extracting fit parameters...

4FGL J1215.0+1656
   Spectrum: PowerLaw
262    Prefactor:  2.268e+00  2.759e+00  0.000e+00  1.000e+06 ( 1.000e-12)
263        Index:  2.116e+00  7.110e-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.041e+00  2.031e-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.061e+00  2.069e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.19
Ra Dec: 183.774 16.937
Photon Index (Free Index): 2.12 +/- 0.71
Photon Flux (Free Index): 1.90e-08 +/- 2.39e-08
Energy Flux (Free Index): 1.01e-05 +/- 1.54e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/589704/cmap_HighResolution_698025601_698630401_4FGL_J1215.0+1656_weekly_bin759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.75e-03', comment='SUCCESS', photon_flux='2.18e-08', energy_flux2='1.01e-05', photon_flux_error='2.66e-08', dlogl='7.60e-02', energy_flux='7.05e-06', photon_flux2='1.90e-08', job_status='DONE', time_completed='2023-02-21 03:44:41.818072', photon_index_error2='0.71', photon_index2='2.12', ts='1.04', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='8.73e-08', energy_flux_error2='1.54e-05', EG='1.06', time_epoch_completed='1676979881.82', return_code='0', job_id='589704', GAL2='1.04', EG2='1.06', return_code2='0', energy_flux_error='8.61e-06', photon_flux_error2='2.39e-08', ts2='1.19', photon_index='2.41' WHERE bin_id='759' AND source_name='4FGL J1215.0+1656' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 21 03:44:41 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0219>
Subject: Job 589704: <4FGL_J1215.0+1656_weekly_bin759> in cluster <slac> Done

Job <4FGL_J1215.0+1656_weekly_bin759> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Feb 21 03:30:22 2023
Job was executed on host(s) <bullet0219>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 03:30:22 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 03:30:22 2023
Terminated at Tue Feb 21 03:44:42 2023
Results reported at Tue Feb 21 03:44:42 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1215.0+1656_weekly_bin759 183.774 16.9372 698025601 698630401 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 :                                   762.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             275.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   860 sec.
    Turnaround time :                            860 sec.

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

