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 85 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7709
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0228.1+8208_daily_bin1692
RA = 37.0303, Dec = 82.1434
tmin = 677894401, tmax = 678153601
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='403658', job_status='RUN', time_executed='2022-06-29 04:03:31.856112', time_epoch_executed='1656500611.86' WHERE source_name='4FGL J0228.1+8208' and cadence='daily' and bin_id='1692'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/403658

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/403658/ft1_4FGL_J0228.1+8208_daily_bin1692.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/403658/ft2_4FGL_J0228.1+8208_daily_bin1692.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/403658/ft1_4FGL_J0228.1+8208_daily_bin1692.fits outfile=/scratch/kocevski/403658/ft1_filteredMKT_4FGL_J0228.1+8208_daily_bin1692.fits ra=37.0303 dec=82.1434 rad=12.0 tmin=677894401.0 tmax=678153601.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.66
user 3.29
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/403658/ft2_4FGL_J0228.1+8208_daily_bin1692.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/403658/ft2_4FGL_J0228.1+8208_daily_bin1692.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/403658/ft1_filteredMKT_4FGL_J0228.1+8208_daily_bin1692.fits evtable="EVENTS" outfile="/scratch/kocevski/403658/ft1_filtered_4FGL_J0228.1+8208_daily_bin1692.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.47
user 0.28
sys 0.15

Number of photons that the gtmktime cut: 1695

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/403658/ft1_filtered_4FGL_J0228.1+8208_daily_bin1692.fits" evtable="EVENTS" scfile=/scratch/kocevski/403658/ft2_4FGL_J0228.1+8208_daily_bin1692.fits sctable="SC_DATA" outfile=/scratch/kocevski/403658/ltcube_677894401_678153601_4FGL_J0228.1+8208_daily_bin1692.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/403658/ft2_4FGL_J0228.1+8208_daily_bin1692.fits
.....................!
real 9.99
user 9.41
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/403658/ft1_filtered_4FGL_J0228.1+8208_daily_bin1692.fits evtable="EVENTS" scfile=/scratch/kocevski/403658/ft2_4FGL_J0228.1+8208_daily_bin1692.fits sctable="SC_DATA" expcube=/scratch/kocevski/403658/ltcube_677894401_678153601_4FGL_J0228.1+8208_daily_bin1692.fits outfile=/scratch/kocevski/403658/expmap_677894401_678153601_4FGL_J0228.1+8208_daily_bin1692.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/403658/ltcube_677894401_678153601_4FGL_J0228.1+8208_daily_bin1692.fits
.....................!
real 149.57
user 145.55
sys 3.69

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
Extended source HB 3 in ROI with RadialDisk spatial model.
Extended source W 3 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/W3.fits is the correct path to the extended template.
Added 208 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0228.1+8208 @ 37.0303 82.1434

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/403658/ft1_filtered_4FGL_J0228.1+8208_daily_bin1692.fits scfile=/scratch/kocevski/403658/ft2_4FGL_J0228.1+8208_daily_bin1692.fits outfile=/scratch/kocevski/403658/cmap_677894401_678153601_4FGL_J0228.1+8208_daily_bin1692.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=37.0303 yref=82.1434 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.49
user 0.32
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/403658/ft1_filtered_4FGL_J0228.1+8208_daily_bin1692.fits scfile=/scratch/kocevski/403658/ft2_4FGL_J0228.1+8208_daily_bin1692.fits outfile=/scratch/kocevski/403658/cmap_HighResolution_677894401_678153601_4FGL_J0228.1+8208_daily_bin1692.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=37.0303 yref=82.1434 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.49
user 0.32
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/403658/ft1_filtered_4FGL_J0228.1+8208_daily_bin1692.fits evtable="EVENTS" scfile=/scratch/kocevski/403658/ft2_4FGL_J0228.1+8208_daily_bin1692.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/403658/Model_4FGL_J0228.1+8208_daily_bin1692.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
adding source HB 3
adding source W 3
Working on...
/scratch/kocevski/403658/ft1_filtered_4FGL_J0228.1+8208_daily_bin1692.fits.....................!
real 182.05
user 179.84
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/403658/ft1_filtered_4FGL_J0228.1+8208_daily_bin1692.fits', '/scratch/kocevski/403658/ft2_4FGL_J0228.1+8208_daily_bin1692.fits', expMap='/scratch/kocevski/403658/expmap_677894401_678153601_4FGL_J0228.1+8208_daily_bin1692.fits', expCube='/scratch/kocevski/403658/ltcube_677894401_678153601_4FGL_J0228.1+8208_daily_bin1692.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/403658/Model_4FGL_J0228.1+8208_daily_bin1692.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0228.1+8208'

4FGL J0228.1+8208
   Spectrum: PowerLaw
159    Prefactor:  1.549e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
160        Index:  2.469e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
161        Scale:  1.217e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/403658/ft1_filtered_4FGL_J0228.1+8208_daily_bin1692.fits
Spacecraft file(s): /scratch/kocevski/403658/ft2_4FGL_J0228.1+8208_daily_bin1692.fits
Exposure map: /scratch/kocevski/403658/expmap_677894401_678153601_4FGL_J0228.1+8208_daily_bin1692.fits
Exposure cube: /scratch/kocevski/403658/ltcube_677894401_678153601_4FGL_J0228.1+8208_daily_bin1692.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/403658/Model_4FGL_J0228.1+8208_daily_bin1692.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) = 16962.9133698

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.3200       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.2469       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    7.4188       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .67410E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    22.350       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.1054       1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.3224       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .91767       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6980E+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=   16962.53     FROM MIGRAD    STATUS=CONVERGED    487 CALLS     1576 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .73987        .10823E-02** at limit **
   2  Prefactor     .10000E-03    26.897        .18142E-02** at limit **
   3  Prefactor     5.3200        6.6386        .17425E-03    .70986E-04
   4  Prefactor     .10000E-03    39.248        .18142E-02** at limit **
   5  norm          1.2445        9.2486        .20044E-02   -.42975E-03
   6  Prefactor     .10000E-03    6.5437        .21716E-02** at limit **
   7  Prefactor     .10000E-03    3.4181        .18142E-02** at limit **
   8  norm          7.4186        8.0322        .14725E-03    .34280E-04
   9  Prefactor     .10000E-03    2.3278        .18142E-02** at limit **
  10  Prefactor     .10000E-03    20.668        .17620    ** at limit **
  11  Prefactor     22.352        10.566        .84726E-04    .96610E-05
  12  Prefactor     .10000E-03    28.596        .18142E-02** at limit **
  13  Prefactor     2.1087        11.272        .28437E-03   -.11834E-04
  14  Normalizat    1.3222        .18612        .42717E-03    .22536E-03
  15  Prefactor     .91765        .53022E-01    .14335E-03    .34871E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.32002
  Prefactor  = 0.0001
  norm       = 1.24455
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 7.4186
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 22.3519
  Prefactor  = 0.0001
  Prefactor  = 2.10869
  Normalizat = 1.32225
  Prefactor  = 0.917653
 **********
 **   18 **HESSE 
 **********

 FCN=   16962.53     FROM HESSE     STATUS=OK           178 CALLS     1754 TOTAL
                     EDM=   .96E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .74009        .21646E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    26.907        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.3200        6.6381        .69699E-05   -1.5247    
   4  Prefactor     .10000E-03    39.257        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.2445        9.2412        .80175E-04   -1.5485    
   6  Prefactor     .10000E-03    6.6209        .43432E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.4185        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          7.4186        8.0313        .58899E-05   -1.5163    
   9  Prefactor     .10000E-03    2.3281        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    20.912        .17468       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     22.352        10.565        .33891E-05   -1.4762    
  12  Prefactor     .10000E-03    28.600        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.1087        11.266        .11375E-04   -1.5418    
  14  Normalizat    1.3222        .18616        .17087E-04   -.82905    
  15  Prefactor     .91765        .53015E-01    .28669E-04   -.95527    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.62461e-10
Minuit parameter uncertainties:
  1  2.33615e-06
  2  1.19887e-05
  3  6.639
  4  4.32675e-05
  5  6.78387
  6  0.000136189
  7  3.50959e-06
  8  8.0325
  9  1.76494e-06
  10  0.000266984
  11  10.5659
  12  2.63003e-05
  13  9.75073
  14  0.186252
  15  0.0530181
Done.

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

Extracting fit parameters...

4FGL J0228.1+8208
   Spectrum: PowerLaw
159    Prefactor:  1.000e-04  3.510e-06  1.000e-04  1.000e+04 ( 1.000e-13)
160        Index:  2.469e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
161        Scale:  1.217e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
687    Prefactor:  9.177e-01  5.302e-02  0.000e+00  1.000e+01 ( 1.000e+00)
688        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
689        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
686   Normalization:  1.322e+00  1.863e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 37.030 82.143
Photon Flux Upper Limit: 5.04e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.91e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/403658/likelihoodResults_677894401_678153601_4FGL_J0228.1+8208_daily_bin1692.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) = 16962.5273485
delta logL = -0.00139450545612

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 16962.5259539
delta logL = 1.04340870166e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4484       1.0000          .0000       10.000    
     3 'Normalizat'    1.3222       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91768       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6980E+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=   16962.53     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      249 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10162E-03    33.457        .18142E-02** at limit **
   2  Index         2.3842        8.6225        .50000        .43488E-04
   3  Normalizat    1.3222        .15438E-01    .42717E-03   -.11071E-04
   4  Prefactor     .91765        .44431E-02    .14335E-03   -.36165E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101624
  Index      = 2.38415
  Normalizat = 1.32225
  Prefactor  = 0.917653
 **********
 **   18 **HESSE 
 **********

 FCN=   16962.53     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      278 TOTAL
                     EDM=   .76E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10162E-03    143.79        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3842        5.5068        .50000       -.55057    
   3  Normalizat    1.3222        .33173E-01    .17087E-04   -.82905    
   4  Prefactor     .91765        .95470E-02    .57339E-05   -.95527    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.61835e-08
Minuit parameter uncertainties:
  1  0.0306383
  2  429.492
  3  0.0331735
  4  0.00954706
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/403658': 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): 102
logL (Free Index) = 16962.5259533
delta logL = 7.17860530131e-07

Extracting fit parameters...

4FGL J0228.1+8208
   Spectrum: PowerLaw
159    Prefactor:  1.016e-04  3.064e-02  1.000e-04  1.000e+04 ( 1.000e-13)
160        Index:  2.384e+00  4.295e+02  0.000e+00  1.000e+01 (-1.000e+00)
161        Scale:  1.217e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
687    Prefactor:  9.177e-01  9.547e-03  0.000e+00  1.000e+01 ( 1.000e+00)
688        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
689        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
686   Normalization:  1.322e+00  3.317e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 37.030 82.143

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/403658/cmap_HighResolution_677894401_678153601_4FGL_J0228.1+8208_daily_bin1692.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.91e-03', job_status='DONE', photon_flux_upper_limit='5.04e-08', time_completed='2022-06-29 04:25:27.888239', job_id='403658', GAL2='0.92', fit_tolerance='1e-08', EG2='1.32', EG='1.32', time_epoch_completed='1656501927.89', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='7.18e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='1692' AND source_name='4FGL J0228.1+8208' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jun 29 04:25:27 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0247>
Subject: Job 403658: <4FGL_J0228.1+8208_daily_bin1692> in cluster <slac> Done

Job <4FGL_J0228.1+8208_daily_bin1692> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Jun 29 00:05:06 2022
Job was executed on host(s) <bullet0247>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jun 29 04:01:56 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jun 29 04:01:56 2022
Terminated at Wed Jun 29 04:25:28 2022
Results reported at Wed Jun 29 04:25:28 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0228.1+8208_daily_bin1692 37.0303 82.1434 677894401 678153601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0228.1+8208 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   972.25 sec.
    Max Memory :                                 625 MB
    Average Memory :                             283.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2932 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   1412 sec.
    Turnaround time :                            15622 sec.

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

