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


Performing analysis on: 4FGL_J0217.2+0837_daily_bin1777
RA = 34.3163, Dec = 8.6234
tmin = 699926401, tmax = 700185601
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='905770', job_status='RUN', time_executed='2023-03-11 00:08:45.285149', time_epoch_executed='1678522125.29' WHERE source_name='4FGL J0217.2+0837' and cadence='daily' and bin_id='1777'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/905770

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/905770/ft1_4FGL_J0217.2+0837_daily_bin1777.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/905770/ft2_4FGL_J0217.2+0837_daily_bin1777.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/905770/ft1_4FGL_J0217.2+0837_daily_bin1777.fits outfile=/scratch/kocevski/905770/ft1_filteredMKT_4FGL_J0217.2+0837_daily_bin1777.fits ra=34.3163 dec=8.6234 rad=12.0 tmin=699926401.0 tmax=700185601.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.77
user 3.41
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/905770/ft2_4FGL_J0217.2+0837_daily_bin1777.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/905770/ft2_4FGL_J0217.2+0837_daily_bin1777.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/905770/ft1_filteredMKT_4FGL_J0217.2+0837_daily_bin1777.fits evtable="EVENTS" outfile="/scratch/kocevski/905770/ft1_filtered_4FGL_J0217.2+0837_daily_bin1777.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.32
sys 0.17

Number of photons that the gtmktime cut: 661

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/905770/ft1_filtered_4FGL_J0217.2+0837_daily_bin1777.fits" evtable="EVENTS" scfile=/scratch/kocevski/905770/ft2_4FGL_J0217.2+0837_daily_bin1777.fits sctable="SC_DATA" outfile=/scratch/kocevski/905770/ltcube_699926401_700185601_4FGL_J0217.2+0837_daily_bin1777.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/905770/ft2_4FGL_J0217.2+0837_daily_bin1777.fits
.....................!
real 12.28
user 11.90
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/905770/ft1_filtered_4FGL_J0217.2+0837_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/905770/ft2_4FGL_J0217.2+0837_daily_bin1777.fits sctable="SC_DATA" expcube=/scratch/kocevski/905770/ltcube_699926401_700185601_4FGL_J0217.2+0837_daily_bin1777.fits outfile=/scratch/kocevski/905770/expmap_699926401_700185601_4FGL_J0217.2+0837_daily_bin1777.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/905770/ltcube_699926401_700185601_4FGL_J0217.2+0837_daily_bin1777.fits
.....................!
real 190.39
user 184.90
sys 5.07

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 171 point sources and 0 extended sources

Setting source of interest to:
4FGL J0217.2+0837 @ 34.3163 8.6234

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/905770/ft1_filtered_4FGL_J0217.2+0837_daily_bin1777.fits scfile=/scratch/kocevski/905770/ft2_4FGL_J0217.2+0837_daily_bin1777.fits outfile=/scratch/kocevski/905770/cmap_699926401_700185601_4FGL_J0217.2+0837_daily_bin1777.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=34.3163 yref=8.6234 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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/905770/ft1_filtered_4FGL_J0217.2+0837_daily_bin1777.fits scfile=/scratch/kocevski/905770/ft2_4FGL_J0217.2+0837_daily_bin1777.fits outfile=/scratch/kocevski/905770/cmap_HighResolution_699926401_700185601_4FGL_J0217.2+0837_daily_bin1777.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=34.3163 yref=8.6234 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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/905770/ft1_filtered_4FGL_J0217.2+0837_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/905770/ft2_4FGL_J0217.2+0837_daily_bin1777.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/905770/Model_4FGL_J0217.2+0837_daily_bin1777.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/905770/ft1_filtered_4FGL_J0217.2+0837_daily_bin1777.fits.....................!
real 86.16
user 84.82
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/905770/ft1_filtered_4FGL_J0217.2+0837_daily_bin1777.fits', '/scratch/kocevski/905770/ft2_4FGL_J0217.2+0837_daily_bin1777.fits', expMap='/scratch/kocevski/905770/expmap_699926401_700185601_4FGL_J0217.2+0837_daily_bin1777.fits', expCube='/scratch/kocevski/905770/ltcube_699926401_700185601_4FGL_J0217.2+0837_daily_bin1777.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/905770/Model_4FGL_J0217.2+0837_daily_bin1777.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0217.2+0837'

4FGL J0217.2+0837
   Spectrum: PowerLaw
251    Prefactor:  1.926e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
252        Index:  2.269e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
253        Scale:  1.029e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/905770/ft1_filtered_4FGL_J0217.2+0837_daily_bin1777.fits
Spacecraft file(s): /scratch/kocevski/905770/ft2_4FGL_J0217.2+0837_daily_bin1777.fits
Exposure map: /scratch/kocevski/905770/expmap_699926401_700185601_4FGL_J0217.2+0837_daily_bin1777.fits
Exposure cube: /scratch/kocevski/905770/ltcube_699926401_700185601_4FGL_J0217.2+0837_daily_bin1777.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/905770/Model_4FGL_J0217.2+0837_daily_bin1777.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) = 7058.00063282

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11702E-05   1.0000          .0000       .10000E+07
     2 'norm      '    .88356E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    7.5527       1.0000          .0000       .10000E+07
     4 'Prefactor '    13.449       1.0000          .0000       .10000E+07
     5 'norm      '    11.391       1.0000          .0000       .10000E+07
     6 'Prefactor '    10.795       1.0000          .0000       .10000E+07
     7 'norm      '    1.8387       1.0000          .0000       .10000E+07
     8 'Prefactor '    .29571E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .16836E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    3.8911       1.0000          .0000       .10000E+07
    11 'Prefactor '    12.488       1.0000          .0000       .10000E+07
    12 'Prefactor '    .79763       1.0000          .0000       .10000E+07
    13 'Prefactor '    .82135E-03   1.0000          .0000       .10000E+07
    14 'norm      '    1.0270       1.0000          .0000       .10000E+07
    15 'Prefactor '    15.044       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.7243       1.0000          .0000       .10000E+07
    17 'norm      '    .43342E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .63368E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    3.1681       1.0000          .0000       .10000E+07
    20 'Prefactor '    22.839       1.0000          .0000       .10000E+07
    21 'Prefactor '    2.8714       1.0000          .0000       .10000E+07
    22 'norm      '    19.433       1.0000          .0000       .10000E+07
    23 'norm      '    17.123       1.0000          .0000       .10000E+07
    24 'Normalizat'    .50843       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1030       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7057.937     FROM MIGRAD    STATUS=CONVERGED    149 CALLS     2081 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    1.7932        .63052E-06** at limit **
   2  norm          .38858E-09    5.8995        .36739E-06** at limit **
   3  Prefactor     7.5390        6.2800       -.58568E-06   -.14901E-02
   4  Prefactor     13.434        3.7085        .16884E-07   -.13398E-01
   5  norm          11.386        5.7458        .51823E-07    .12574E-02
   6  Prefactor     10.804        3.4625       -.50771E-06   -.18628E-02
   7  norm          1.8370        1.0103       -.63485E-07   -.95000E-02
   8  Prefactor     .99920E-09    21.175        .22405E-05** at limit **
   9  Prefactor     .83267E-09    19.352       -.15653E-05** at limit **
  10  Prefactor     3.2529        33.319        .42781E-05   -.24954E-01
  11  Prefactor     12.342        8.6675        .12916E-05    .67778E-02
  12  Prefactor     .78071        1.6978        .35902E-05   -.88302E-02
  13  Prefactor     .16653E-09    5.2892       -.21205E-06** at limit **
  14  norm          1.0275        .51079        .90198E-07   -.25472E-02
  15  Prefactor     16.036        36.166        .17867E-05   -.25946E-01
  16  Prefactor     3.6877        5.6512       -.57943E-05   -.40743E-01
  17  norm          .11158E-07    10.425       -.13155E-05** at limit **
  18  Prefactor     .55511E-08    10.759        .27241E-05** at limit **
  19  Prefactor     2.4816        131.50       -.48271E-04    .42047E-02
  20  Prefactor     23.026        2.6300       -.84327E-06   -.46965E-01
  21  Prefactor     2.8589        6.4357        .37213E-06    .23606E-02
  22  norm          19.463        1.3563        .35059E-06    .44031E-01
  23  norm          17.115        5.9949       -.81021E-07    .11761E-02
  24  Normalizat    .50958        .20620        .34606E-04    .10484E-03
  25  Prefactor     1.1029        .12508       -.22211E-06    .15686E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  norm       = 3.88578e-10
  Prefactor  = 7.53902
  Prefactor  = 13.4336
  norm       = 11.3856
  Prefactor  = 10.8036
  norm       = 1.83704
  Prefactor  = 9.99201e-10
  Prefactor  = 8.32667e-10
  Prefactor  = 3.25287
  Prefactor  = 12.3417
  Prefactor  = 0.780706
  Prefactor  = 1.66533e-10
  norm       = 1.02748
  Prefactor  = 16.0357
  Prefactor  = 3.68772
  norm       = 1.11577e-08
  Prefactor  = 5.55112e-09
  Prefactor  = 2.48164
  Prefactor  = 23.0259
  Prefactor  = 2.85885
  norm       = 19.4632
  norm       = 17.1155
  Normalizat = 0.509577
  Prefactor  = 1.10287
 **********
 **   18 **HESSE 
 **********

 FCN=   7057.937     FROM HESSE     STATUS=OK           485 CALLS     2566 TOTAL
                     EDM=   .64E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    1.7921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .38858E-09    5.9011        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.5390        6.2938        .36468E-03   -1.5653    
   4  Prefactor     13.434        3.7247        .27287E-03   -1.5635    
   5  norm          11.386        5.7524        .29658E-03   -1.5640    
   6  Prefactor     10.804        3.4879        .30470E-03   -1.5642    
   7  norm          1.8370        1.0148        .76903E-03   -1.5681    
   8  Prefactor     .99920E-09    20.918        .16473E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .83267E-09    19.424        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.2529        120.97        .51126E-03   -1.5672    
  11  Prefactor     12.342        8.8524        .28321E-03   -1.5638    
  12  Prefactor     .78071        138.31        .53112E-03   -1.5690    
  13  Prefactor     .16653E-09    5.2860        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.0275        .51739        .91607E-03   -1.5688    
  15  Prefactor     16.036        43.279        .25797E-03   -1.5628    
  16  Prefactor     3.6877        25.812        .52300E-03   -1.5670    
  17  norm          .11158E-07    10.468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .55511E-08    10.801        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.4816        150.92        .56914E-03   -1.5676    
  20  Prefactor     23.026        21.266        .20930E-03   -1.5612    
  21  Prefactor     2.8589        6.4992        .59959E-03   -1.5674    
  22  norm          19.463        12.964        .22692E-03   -1.5620    
  23  norm          17.115        6.0584        .24177E-03   -1.5625    
  24  Normalizat    .50958        .20524        .94353E-01   -1.1197    
  25  Prefactor     1.1029        .11899        .37474E-01   -.89375    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.36955e-07
Minuit parameter uncertainties:
  1  2.034e-05
  2  9.65525e-05
  3  6.29377
  4  3.72473
  5  5.75238
  6  3.48786
  7  1.01485
  8  0.000291836
  9  0.000253584
  10  39.6749
  11  8.85245
  12  20.7828
  13  5.74389e-05
  14  0.517387
  15  43.28
  16  19.5128
  17  0.000682797
  18  0.000489257
  19  38.7065
  20  21.266
  21  6.49918
  22  12.9641
  23  6.05841
  24  0.205545
  25  0.119017
Done.

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

Extracting fit parameters...

4FGL J0217.2+0837
   Spectrum: PowerLaw
251    Prefactor:  1.080e+01  3.488e+00  0.000e+00  1.000e+06 ( 1.000e-12)
252        Index:  2.269e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
253        Scale:  1.029e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.103e+00  1.190e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  5.096e-01  2.055e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 29.44
Ra Dec: 34.316 8.623
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 1.69e-07 +/- 5.45e-08
Energy Flux (Fixed Index): 6.72e-05 +/- 2.17e-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) = 7056.84648852
delta logL = 1.09073042438

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7056.68239163
delta logL = 1.25482731895

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.451       1.0000          .0000       .10000E+07
     2 'Index     '    1.8608       1.0000          .0000       10.000    
     3 'Normalizat'    .55481       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0900       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7056.682     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      215 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.452        6.2222        .27285E-03    .42706E-03
   2  Index         1.8609        .31814        .11513        .25528E-04
   3  Normalizat    .55502        .18831        .90787E-01    .41838E-04
   4  Prefactor     1.0899        .11436        .37980E-01    .19865E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.4523
  Index      = 1.86095
  Normalizat = 0.555017
  Prefactor  = 1.08992
 **********
 **   18 **HESSE 
 **********

 FCN=   7056.682     FROM HESSE     STATUS=OK            33 CALLS      248 TOTAL
                     EDM=   .46E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.452        4.5597        .10035E-04   -1.5635    
   2  Index         1.8609        .24726        .47530E-02   -.67874    
   3  Normalizat    .55502        .19846        .40231E-03   -1.0993    
   4  Prefactor     1.0899        .12170        .18062E-03   -.89789    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.62918e-11
Minuit parameter uncertainties:
  1  4.55974
  2  0.247424
  3  0.198714
  4  0.121729
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/905770': 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) = 7056.68239057
delta logL = 1.25482838055

Extracting fit parameters...

4FGL J0217.2+0837
   Spectrum: PowerLaw
251    Prefactor:  1.345e+01  4.560e+00  0.000e+00  1.000e+06 ( 1.000e-12)
252        Index:  1.861e+00  2.474e-01  0.000e+00  1.000e+01 (-1.000e+00)
253        Scale:  1.029e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.090e+00  1.217e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  5.550e-01  1.987e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 31.82
Ra Dec: 34.316 8.623
Photon Index (Free Index): 1.86 +/- 0.25
Photon Flux (Free Index): 1.19e-07 +/- 5.16e-08
Energy Flux (Free Index): 1.19e-04 +/- 6.60e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/905770/cmap_HighResolution_699926401_700185601_4FGL_J0217.2+0837_daily_bin1777.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.69e-07', energy_flux2='1.19e-04', photon_flux_error='5.45e-08', dlogl='1.25e+00', energy_flux='6.72e-05', photon_flux2='1.19e-07', job_status='DONE', time_completed='2023-03-11 00:19:08.853895', photon_index_error2='0.25', photon_index2='1.86', ts='29.44', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', energy_flux_error2='6.60e-05', EG='0.51', time_epoch_completed='1678522748.85', return_code='0', job_id='905770', GAL2='1.09', EG2='0.56', return_code2='0', energy_flux_error='2.17e-05', photon_flux_error2='5.16e-08', ts2='31.82', photon_index='2.27' WHERE bin_id='1777' AND source_name='4FGL J0217.2+0837' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Mar 11 00:19:08 PST 2023

-----------------------------------------------------------
Sender: LSF System <lsf@bullet0091>
Subject: Job 905861: <4FGL_J0217.2+0837_daily_bin1777> in cluster <slac> Done

Job <4FGL_J0217.2+0837_daily_bin1777> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Mar 11 00:05:14 2023
Job was executed on host(s) <bullet0091>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Mar 11 00:05:21 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Mar 11 00:05:21 2023
Terminated at Sat Mar 11 00:16:30 2023
Results reported at Sat Mar 11 00:16:30 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0217.2+0837_daily_bin1777 34.3163 8.6234 699926401 700185601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0217.2+0837 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   637.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             365.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   668 sec.
    Turnaround time :                            676 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0124>
Subject: Job 905770: <4FGL_J0217.2+0837_daily_bin1777> in cluster <slac> Done

Job <4FGL_J0217.2+0837_daily_bin1777> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Mar 11 00:05:06 2023
Job was executed on host(s) <bullet0124>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Mar 11 00:05:09 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Mar 11 00:05:09 2023
Terminated at Sat Mar 11 00:19:09 2023
Results reported at Sat Mar 11 00:19:09 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0217.2+0837_daily_bin1777 34.3163 8.6234 699926401 700185601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0217.2+0837 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   625.08 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             258.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   840 sec.
    Turnaround time :                            843 sec.

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

