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 59 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.
Done.


Performing analysis on: 4FGL_J0152.2+2206_daily_bin1777
RA = 28.0727, Dec = 22.1133
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='905720', job_status='RUN', time_executed='2023-03-11 00:06:13.977506', time_epoch_executed='1678521973.98' WHERE source_name='4FGL J0152.2+2206' and cadence='daily' and bin_id='1777'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/905720

Creating custom pfile directory:
/scratch/kocevski/905720/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/905720/ft1_4FGL_J0152.2+2206_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/905720/ft2_4FGL_J0152.2+2206_daily_bin1777.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/905720/ft1_4FGL_J0152.2+2206_daily_bin1777.fits outfile=/scratch/kocevski/905720/ft1_filteredMKT_4FGL_J0152.2+2206_daily_bin1777.fits ra=28.0727 dec=22.1133 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.18
user 2.79
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/905720/ft2_4FGL_J0152.2+2206_daily_bin1777.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/905720/ft2_4FGL_J0152.2+2206_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/905720/ft1_filteredMKT_4FGL_J0152.2+2206_daily_bin1777.fits evtable="EVENTS" outfile="/scratch/kocevski/905720/ft1_filtered_4FGL_J0152.2+2206_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.43
user 0.28
sys 0.14

Number of photons that the gtmktime cut: 823

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/905720/ft1_filtered_4FGL_J0152.2+2206_daily_bin1777.fits" evtable="EVENTS" scfile=/scratch/kocevski/905720/ft2_4FGL_J0152.2+2206_daily_bin1777.fits sctable="SC_DATA" outfile=/scratch/kocevski/905720/ltcube_699926401_700185601_4FGL_J0152.2+2206_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/905720/ft2_4FGL_J0152.2+2206_daily_bin1777.fits
.....................!
real 10.55
user 10.24
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/905720/ft1_filtered_4FGL_J0152.2+2206_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/905720/ft2_4FGL_J0152.2+2206_daily_bin1777.fits sctable="SC_DATA" expcube=/scratch/kocevski/905720/ltcube_699926401_700185601_4FGL_J0152.2+2206_daily_bin1777.fits outfile=/scratch/kocevski/905720/expmap_699926401_700185601_4FGL_J0152.2+2206_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/905720/ltcube_699926401_700185601_4FGL_J0152.2+2206_daily_bin1777.fits
.....................!
real 154.76
user 150.97
sys 3.38

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

Setting source of interest to:
4FGL J0152.2+2206 @ 28.0727 22.1133

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/905720/ft1_filtered_4FGL_J0152.2+2206_daily_bin1777.fits scfile=/scratch/kocevski/905720/ft2_4FGL_J0152.2+2206_daily_bin1777.fits outfile=/scratch/kocevski/905720/cmap_699926401_700185601_4FGL_J0152.2+2206_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=28.0727 yref=22.1133 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.47
user 0.32
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/905720/ft1_filtered_4FGL_J0152.2+2206_daily_bin1777.fits scfile=/scratch/kocevski/905720/ft2_4FGL_J0152.2+2206_daily_bin1777.fits outfile=/scratch/kocevski/905720/cmap_HighResolution_699926401_700185601_4FGL_J0152.2+2206_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=28.0727 yref=22.1133 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.47
user 0.33
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/905720/ft1_filtered_4FGL_J0152.2+2206_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/905720/ft2_4FGL_J0152.2+2206_daily_bin1777.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/905720/Model_4FGL_J0152.2+2206_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/905720/ft1_filtered_4FGL_J0152.2+2206_daily_bin1777.fits.....................!
real 76.79
user 75.58
sys 1.04

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/905720/ft1_filtered_4FGL_J0152.2+2206_daily_bin1777.fits', '/scratch/kocevski/905720/ft2_4FGL_J0152.2+2206_daily_bin1777.fits', expMap='/scratch/kocevski/905720/expmap_699926401_700185601_4FGL_J0152.2+2206_daily_bin1777.fits', expCube='/scratch/kocevski/905720/ltcube_699926401_700185601_4FGL_J0152.2+2206_daily_bin1777.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/905720/Model_4FGL_J0152.2+2206_daily_bin1777.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0152.2+2206'

4FGL J0152.2+2206
   Spectrum: PowerLaw
218    Prefactor:  3.965e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
219        Index:  2.677e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
220        Scale:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/905720/ft1_filtered_4FGL_J0152.2+2206_daily_bin1777.fits
Spacecraft file(s): /scratch/kocevski/905720/ft2_4FGL_J0152.2+2206_daily_bin1777.fits
Exposure map: /scratch/kocevski/905720/expmap_699926401_700185601_4FGL_J0152.2+2206_daily_bin1777.fits
Exposure cube: /scratch/kocevski/905720/ltcube_699926401_700185601_4FGL_J0152.2+2206_daily_bin1777.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/905720/Model_4FGL_J0152.2+2206_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) = 8710.65599598

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7773       1.0000          .0000       .10000E+07
     2 'Prefactor '    10.673       1.0000          .0000       .10000E+07
     3 'Prefactor '    .14433E-08   1.0000          .0000       .10000E+07
     4 'Prefactor '    4.5397       1.0000          .0000       .10000E+07
     5 'Prefactor '    .42380E-03   1.0000          .0000       .10000E+07
     6 'norm      '    1.5399       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.4958       1.0000          .0000       .10000E+07
     8 'Prefactor '    .29488E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    5.5411       1.0000          .0000       .10000E+07
    10 'norm      '    .89873E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    10.956       1.0000          .0000       .10000E+07
    12 'Prefactor '    .13832E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .28966E-06   1.0000          .0000       .10000E+07
    14 'norm      '    .61966E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .19962E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    .45157       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0132       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0789       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5330E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8710.643     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     1329 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7765        .67333        .14908E-07   -.84925E-03
   2  Prefactor     10.994        34.157       -.13785E-05    .22588E-03
   3  Prefactor      .0000        2.2706       -.50628E-07** at limit **
   4  Prefactor     4.4960        10.993        .35059E-06    .15988E-04
   5  Prefactor      .0000        20.481       -.21781E-07** at limit **
   6  norm          1.5400        .67822        .52880E-07   -.38295E-02
   7  Prefactor     1.3876        12.391       -.11052E-05    .30058E-03
   8  Prefactor      .0000        5.9580       -.15660E-06** at limit **
   9  Prefactor     5.5611        5.7787       -.19741E-06    .69489E-03
  10  norm           .0000        .94561        .11590E-06** at limit **
  11  Prefactor     10.955        3.4132        .28533E-08    .11427E-02
  12  Prefactor      .0000        6.2763        .44078E-06** at limit **
  13  Prefactor      .0000        1.2159       -.71253E-07** at limit **
  14  norm          .16653E-09    18.547        .14024E-05** at limit **
  15  Prefactor     .55511E-10    10.225       -.32032E-06** at limit **
  16  Prefactor     .22204E-09    728.42        .95764E-05** at limit **
  17  Normalizat    1.0136        .21489        .11439E-05    .11829E-04
  18  Prefactor     1.0789        .12104       -.53190E-05    .15697E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.77647
  Prefactor  = 10.9943
  Prefactor  = 0
  Prefactor  = 4.49605
  Prefactor  = 0
  norm       = 1.54001
  Prefactor  = 1.38755
  Prefactor  = 0
  Prefactor  = 5.56111
  norm       = 0
  Prefactor  = 10.9553
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.66533e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 2.22045e-10
  Normalizat = 1.0136
  Prefactor  = 1.07892
 **********
 **   18 **HESSE 
 **********

 FCN=   8710.643     FROM HESSE     STATUS=OK           286 CALLS     1615 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7765        .67624        .78488E-03   -1.5681    
   2  Prefactor     10.994        34.321        .30644E-03   -1.5642    
   3  Prefactor      .0000        2.2661        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.4960        10.977        .47225E-03   -1.5666    
   5  Prefactor      .0000        20.497        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.5400        .68623        .85891E-03   -1.5683    
   7  Prefactor     1.3876        12.374        .87569E-03   -1.5684    
   8  Prefactor      .0000        5.9670        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.5611        5.7701        .42657E-03   -1.5661    
  10  norm           .0000        .94814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     10.955        3.4206        .30244E-03   -1.5642    
  12  Prefactor      .0000        6.2443        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        1.2170        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .16653E-09    18.545        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .55511E-10    10.226        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .22204E-09    34.837        .14357E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.0136        .19097        .75771E-01   -.92576    
  18  Prefactor     1.0789        .10754        .38448E-01   -.90143    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.10239e-09
Minuit parameter uncertainties:
  1  0.676236
  2  34.3219
  3  1.46389e-06
  4  10.9773
  5  2.27868e-05
  6  0.686227
  7  8.28727
  8  1.31091e-05
  9  5.77012
  10  3.4773e-06
  11  3.42059
  12  1.53773e-05
  13  1.25499e-06
  14  0.000118824
  15  3.5042e-05
  16  0.000185041
  17  0.191104
  18  0.107565
Done.

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

Extracting fit parameters...

4FGL J0152.2+2206
   Spectrum: PowerLaw
218    Prefactor:  1.388e+00  8.287e+00  0.000e+00  1.000e+06 ( 1.000e-12)
219        Index:  2.677e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
220        Scale:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  1.079e+00  1.076e-01  0.000e+00  1.000e+01 ( 1.000e+00)
531        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
532        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
529   Normalization:  1.014e+00  1.911e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 28.073 22.113
Photon Flux Upper Limit: 9.75e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.66e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/905720/likelihoodResults_699926401_700185601_4FGL_J0152.2+2206_daily_bin1777.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) = 8710.63379476
delta logL = 0.00925009494858

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8710.6166144
delta logL = 0.0264304615666

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8710.658     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      467 TOTAL
                     EDM=   .67E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    9.6261       -.11654E-05** at limit **
   2  Index         1.6996        .11723E-01    .14580E-06   -.44400E-10
   3  Normalizat    1.0184        .20436        .23571E-05    .98015E-04
   4  Prefactor     1.0788        .11998       -.81316E-05    .41696E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 1.69961
  Normalizat = 1.01836
  Prefactor  = 1.07879
 **********
 **   18 **HESSE 
 **********

 FCN=   8710.658     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      504 TOTAL
                     EDM=   .14E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    1.1324        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6996        5.5092        .50000       -25.854    
   3  Normalizat    1.0184        .16997E-02    .75611E-01   -115.31    
   4  Prefactor     1.0788        .99569E-03    .38283E-01    41.742    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.42532e-13
Minuit parameter uncertainties:
  1  1.34602e-05
  2  28749.5
  3  0.00169967
  4  0.000995695
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/905720': 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) = 8710.65780576
delta logL = -0.0147609052547

Extracting fit parameters...

4FGL J0152.2+2206
   Spectrum: PowerLaw
218    Prefactor:  5.551e-11  1.346e-05  0.000e+00  1.000e+06 ( 1.000e-12)
219        Index:  1.700e+00  2.875e+04  0.000e+00  1.000e+01 (-1.000e+00)
220        Scale:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  1.079e+00  9.957e-04  0.000e+00  1.000e+01 ( 1.000e+00)
531        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
532        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
529   Normalization:  1.018e+00  1.700e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
Ra Dec: 28.073 22.113

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/905720/cmap_HighResolution_699926401_700185601_4FGL_J0152.2+2206_daily_bin1777.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.66e-03', job_status='DONE', photon_flux_upper_limit='9.75e-08', time_completed='2023-03-11 00:15:02.307999', job_id='905720', GAL2='1.08', fit_tolerance='1e-08', EG2='1.02', EG='1.01', time_epoch_completed='1678522502.31', return_code2='102', ts='0.03', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='-1.48e-02', ts2='-0.00', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='1777' AND source_name='4FGL J0152.2+2206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Mar 11 00:15:02 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0189>
Subject: Job 905720: <4FGL_J0152.2+2206_daily_bin1777> in cluster <slac> Done

Job <4FGL_J0152.2+2206_daily_bin1777> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Mar 11 00:05:02 2023
Job was executed on host(s) <bullet0189>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Mar 11 00:05:05 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:05 2023
Terminated at Sat Mar 11 00:15:03 2023
Results reported at Sat Mar 11 00:15:03 2023

Your job looked like:

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

Successfully completed.

Resource usage summary:

    CPU time :                                   529.05 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             335.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   597 sec.
    Turnaround time :                            601 sec.

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

