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


Performing analysis on: 4FGL_J0217.2+0837_daily_bin1774
RA = 34.3163, Dec = 8.6234
tmin = 699148801, tmax = 699408001
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='672454', job_status='RUN', time_executed='2023-03-02 00:06:08.156566', time_epoch_executed='1677744368.16' WHERE source_name='4FGL J0217.2+0837' and cadence='daily' and bin_id='1774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/672454

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/672454/ft1_4FGL_J0217.2+0837_daily_bin1774.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/672454/ft2_4FGL_J0217.2+0837_daily_bin1774.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/672454/ft1_4FGL_J0217.2+0837_daily_bin1774.fits outfile=/scratch/kocevski/672454/ft1_filteredMKT_4FGL_J0217.2+0837_daily_bin1774.fits ra=34.3163 dec=8.6234 rad=12.0 tmin=699148801.0 tmax=699408001.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 2.86
user 2.60
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/672454/ft2_4FGL_J0217.2+0837_daily_bin1774.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/672454/ft1_filteredMKT_4FGL_J0217.2+0837_daily_bin1774.fits evtable="EVENTS" outfile="/scratch/kocevski/672454/ft1_filtered_4FGL_J0217.2+0837_daily_bin1774.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.61
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 1049

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/672454/ft1_filtered_4FGL_J0217.2+0837_daily_bin1774.fits" evtable="EVENTS" scfile=/scratch/kocevski/672454/ft2_4FGL_J0217.2+0837_daily_bin1774.fits sctable="SC_DATA" outfile=/scratch/kocevski/672454/ltcube_699148801_699408001_4FGL_J0217.2+0837_daily_bin1774.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/672454/ft2_4FGL_J0217.2+0837_daily_bin1774.fits
.....................!
real 12.60
user 12.07
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/672454/ft1_filtered_4FGL_J0217.2+0837_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/672454/ft2_4FGL_J0217.2+0837_daily_bin1774.fits sctable="SC_DATA" expcube=/scratch/kocevski/672454/ltcube_699148801_699408001_4FGL_J0217.2+0837_daily_bin1774.fits outfile=/scratch/kocevski/672454/expmap_699148801_699408001_4FGL_J0217.2+0837_daily_bin1774.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/672454/ltcube_699148801_699408001_4FGL_J0217.2+0837_daily_bin1774.fits
.....................!
real 191.75
user 186.42
sys 4.93

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/672454/ft1_filtered_4FGL_J0217.2+0837_daily_bin1774.fits scfile=/scratch/kocevski/672454/ft2_4FGL_J0217.2+0837_daily_bin1774.fits outfile=/scratch/kocevski/672454/cmap_699148801_699408001_4FGL_J0217.2+0837_daily_bin1774.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.56
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/672454/ft1_filtered_4FGL_J0217.2+0837_daily_bin1774.fits scfile=/scratch/kocevski/672454/ft2_4FGL_J0217.2+0837_daily_bin1774.fits outfile=/scratch/kocevski/672454/cmap_HighResolution_699148801_699408001_4FGL_J0217.2+0837_daily_bin1774.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.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/672454/ft1_filtered_4FGL_J0217.2+0837_daily_bin1774.fits', '/scratch/kocevski/672454/ft2_4FGL_J0217.2+0837_daily_bin1774.fits', expMap='/scratch/kocevski/672454/expmap_699148801_699408001_4FGL_J0217.2+0837_daily_bin1774.fits', expCube='/scratch/kocevski/672454/ltcube_699148801_699408001_4FGL_J0217.2+0837_daily_bin1774.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/672454/Model_4FGL_J0217.2+0837_daily_bin1774.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/672454/ft1_filtered_4FGL_J0217.2+0837_daily_bin1774.fits
Spacecraft file(s): /scratch/kocevski/672454/ft2_4FGL_J0217.2+0837_daily_bin1774.fits
Exposure map: /scratch/kocevski/672454/expmap_699148801_699408001_4FGL_J0217.2+0837_daily_bin1774.fits
Exposure cube: /scratch/kocevski/672454/ltcube_699148801_699408001_4FGL_J0217.2+0837_daily_bin1774.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/672454/Model_4FGL_J0217.2+0837_daily_bin1774.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) = 11176.1346606

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.0190       1.0000          .0000       .10000E+07
     2 'norm      '    .50172E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.8220       1.0000          .0000       .10000E+07
     4 'Prefactor '    11.049       1.0000          .0000       .10000E+07
     5 'norm      '    3.8922       1.0000          .0000       .10000E+07
     6 'Prefactor '    10.900       1.0000          .0000       .10000E+07
     7 'norm      '    1.1334       1.0000          .0000       .10000E+07
     8 'Prefactor '    10.336       1.0000          .0000       .10000E+07
     9 'Prefactor '    5.7279       1.0000          .0000       .10000E+07
    10 'Prefactor '    67.789       1.0000          .0000       .10000E+07
    11 'Prefactor '    3.0560       1.0000          .0000       .10000E+07
    12 'Prefactor '    .77344E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .80103       1.0000          .0000       .10000E+07
    14 'norm      '    .73020       1.0000          .0000       .10000E+07
    15 'Prefactor '    .44234E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    7.8718       1.0000          .0000       .10000E+07
    17 'norm      '    4.7487       1.0000          .0000       .10000E+07
    18 'Prefactor '    .19140E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .64075E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    13.975       1.0000          .0000       .10000E+07
    21 'Prefactor '    .12856E-02   1.0000          .0000       .10000E+07
    22 'norm      '    15.432       1.0000          .0000       .10000E+07
    23 'norm      '    .26019E-05   1.0000          .0000       .10000E+07
    24 'Normalizat'    1.2032       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .87596       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=   11176.09     FROM MIGRAD    STATUS=CONVERGED    152 CALLS     1684 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0009        3.0140       -.25477E-06   -.19273E-02
   2  norm          .11435E-07    7.5713       -.33710E-05** at limit **
   3  Prefactor     1.8410        4.8665       -.17126E-05   -.43324E-02
   4  Prefactor     11.051        2.9179        .13013E-06   -.40172E-02
   5  norm          3.8881        3.5561       -.66715E-06    .40497E-02
   6  Prefactor     10.873        2.9793       -.11983E-06   -.83126E-02
   7  norm          1.1336        .67307       -.59405E-07    .44820E-02
   8  Prefactor     10.507        13.284        .75593E-05   -.72033E-01
   9  Prefactor     5.7423        2.8613       -.20426E-05    .12065E-01
  10  Prefactor     70.572        51.796        .14288E-05   -.91295E-02
  11  Prefactor     2.9685        6.4959       -.41769E-06    .53176E-02
  12  Prefactor     .76328E-07    4.9510       -.23693E-06** at limit **
  13  Prefactor     .80417        2.0771       -.38242E-05   -.52356E-01
  14  norm          .73061        .33899        .12842E-06    .58079E-02
  15  Prefactor     .81046E-08    27.495       -.16748E-05** at limit **
  16  Prefactor     7.8476        6.0384       -.21502E-05   -.23201E-02
  17  norm          4.6848        7.6063        .74821E-07   -.20388E-03
  18  Prefactor     .33307E-09    5.2341        .35007E-05** at limit **
  19  Prefactor     .99365E-07    8.1272        .46123E-05** at limit **
  20  Prefactor     13.984        1.1100        .12253E-06    .13287E-02
  21  Prefactor     .13491E-05    7.7257       -.69999E-05** at limit **
  22  norm          15.485        9.6820        .20562E-07   -.53036E-02
  23  norm          .55511E-10    1.3208        .38324E-06** at limit **
  24  Normalizat    1.2032        .17878       -.46537E-05   -.54956E-04
  25  Prefactor     .87581        .10085        .32413E-05   -.87123E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.00091
  norm       = 1.14353e-08
  Prefactor  = 1.84099
  Prefactor  = 11.0507
  norm       = 3.88812
  Prefactor  = 10.873
  norm       = 1.13356
  Prefactor  = 10.5074
  Prefactor  = 5.74228
  Prefactor  = 70.5725
  Prefactor  = 2.96846
  Prefactor  = 7.63278e-08
  Prefactor  = 0.804167
  norm       = 0.730608
  Prefactor  = 8.10463e-09
  Prefactor  = 7.84758
  norm       = 4.68479
  Prefactor  = 3.33067e-10
  Prefactor  = 9.9365e-08
  Prefactor  = 13.984
  Prefactor  = 1.34914e-06
  norm       = 15.4854
  norm       = 5.55112e-11
  Normalizat = 1.20316
  Prefactor  = 0.875808
 **********
 **   18 **HESSE 
 **********

 FCN=   11176.09     FROM HESSE     STATUS=OK           487 CALLS     2171 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0009        3.0110        .58383E-03   -1.5673    
   2  norm          .11435E-07    7.6604        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.8410        4.8952        .77323E-03   -1.5681    
   4  Prefactor     11.051        2.9186        .30115E-03   -1.5641    
   5  norm          3.8881        3.5671        .51118E-03   -1.5669    
   6  Prefactor     10.873        3.0297        .30322E-03   -1.5642    
   7  norm          1.1336        .68937        .10954E-02   -1.5687    
   8  Prefactor     10.507        19.837        .31141E-03   -1.5643    
   9  Prefactor     5.7423        21.233        .41945E-03   -1.5660    
  10  Prefactor     70.572        51.787        .12146E-03   -1.5540    
  11  Prefactor     2.9685        6.6067        .58008E-03   -1.5674    
  12  Prefactor     .76328E-07    6.0289        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .80417        8.3049        .52858E-03   -1.5690    
  14  norm          .73061        .35532        .58290E-03   -1.5691    
  15  Prefactor     .81046E-08    27.532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.8476        11.715        .35715E-03   -1.5652    
  17  norm          4.6848        7.6139        .46149E-03   -1.5665    
  18  Prefactor     .33307E-09    6.5424        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .99365E-07    8.8248        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     13.984        12.282        .26767E-03   -1.5633    
  21  Prefactor     .13491E-05    12.298        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          15.485        9.6807        .25470E-03   -1.5629    
  23  norm          .55511E-10    1.3165        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.2032        .16072        .69115E-01   -.86505    
  25  Prefactor     .87581        .89449E-01    .44698E-01   -.96992    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42187e-06
Minuit parameter uncertainties:
  1  3.01096
  2  0.000592277
  3  4.89522
  4  2.91859
  5  3.56706
  6  3.02967
  7  0.689372
  8  19.8371
  9  21.2336
  10  51.7876
  11  6.60671
  12  0.00135678
  13  5.16858
  14  0.355316
  15  0.000944362
  16  11.7148
  17  7.61387
  18  9.33379e-05
  19  0.00187278
  20  12.2822
  21  0.00814661
  22  9.68075
  23  1.89958e-05
  24  0.16079
  25  0.0894638
Done.

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

Extracting fit parameters...

4FGL J0217.2+0837
   Spectrum: PowerLaw
251    Prefactor:  1.087e+01  3.030e+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:  8.758e-01  8.946e-02  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:  1.203e+00  1.608e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 42.66
Ra Dec: 34.316 8.623
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 1.70e-07 +/- 4.73e-08
Energy Flux (Fixed Index): 6.76e-05 +/- 1.88e-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) = 11176.075424
delta logL = 0.0162121517424

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11176.0618178
delta logL = 0.0298184358526

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.324       1.0000          .0000       .10000E+07
     2 'Index     '    2.2134       1.0000          .0000       10.000    
     3 'Normalizat'    1.2101       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87379       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11176.06     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      248 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.325        3.5916        .92009E-05   -.30767E-02
   2  Index         2.2133        .23191        .43078E-02    .76244E-03
   3  Normalizat    1.2101        .17435        .30513E-03   -.56186E-04
   4  Prefactor     .87379        .97986E-01    .20061E-03   -.15301E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.3246
  Index      = 2.21334
  Normalizat = 1.21008
  Prefactor  = 0.873795
 **********
 **   18 **HESSE 
 **********

 FCN=   11176.06     FROM HESSE     STATUS=OK            25 CALLS      273 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.325        3.5364        .36803E-06   -1.5641    
   2  Index         2.2133        .22823        .86156E-03   -.59117    
   3  Normalizat    1.2101        .17441        .12205E-04   -.86292    
   4  Prefactor     .87379        .98032E-01    .80242E-05   -.97063    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8131e-11
Minuit parameter uncertainties:
  1  3.53642
  2  0.228349
  3  0.174498
  4  0.0980513
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/672454': 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) = 11176.0618178
delta logL = 0.029818441426

Extracting fit parameters...

4FGL J0217.2+0837
   Spectrum: PowerLaw
251    Prefactor:  1.132e+01  3.536e+00  0.000e+00  1.000e+06 ( 1.000e-12)
252        Index:  2.213e+00  2.283e-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:  8.738e-01  9.805e-02  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:  1.210e+00  1.745e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 42.75
Ra Dec: 34.316 8.623
Photon Index (Free Index): 2.21 +/- 0.23
Photon Flux (Free Index): 1.63e-07 +/- 5.37e-08
Energy Flux (Free Index): 7.12e-05 +/- 2.51e-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/672454/cmap_HighResolution_699148801_699408001_4FGL_J0217.2+0837_daily_bin1774.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.70e-07', energy_flux2='7.12e-05', photon_flux_error='4.73e-08', dlogl='2.98e-02', energy_flux='6.76e-05', photon_flux2='1.63e-07', job_status='DONE', time_completed='2023-03-02 00:19:00.681070', photon_index_error2='0.23', photon_index2='2.21', ts='42.66', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', energy_flux_error2='2.51e-05', EG='1.20', time_epoch_completed='1677745140.68', return_code='0', job_id='672454', GAL2='0.87', EG2='1.21', return_code2='0', energy_flux_error='1.88e-05', photon_flux_error2='5.37e-08', ts2='42.75', photon_index='2.27' WHERE bin_id='1774' AND source_name='4FGL J0217.2+0837' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Mar  2 00:19:00 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 672454: <4FGL_J0217.2+0837_daily_bin1774> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0217.2+0837_daily_bin1774 34.3163 8.6234 699148801 699408001 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 :                                   765.03 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             384.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   832 sec.
    Turnaround time :                            835 sec.

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

