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


Performing analysis on: 4FGL_J0152.2+2206_daily_bin1723
RA = 28.0727, Dec = 22.1133
tmin = 685929601, tmax = 686188801
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='430228', job_status='RUN', time_executed='2022-09-30 00:07:04.719574', time_epoch_executed='1664521624.72' WHERE source_name='4FGL J0152.2+2206' and cadence='daily' and bin_id='1723'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/430228

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/430228/ft1_4FGL_J0152.2+2206_daily_bin1723.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/430228/ft2_4FGL_J0152.2+2206_daily_bin1723.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/430228/ft1_4FGL_J0152.2+2206_daily_bin1723.fits outfile=/scratch/kocevski/430228/ft1_filteredMKT_4FGL_J0152.2+2206_daily_bin1723.fits ra=28.0727 dec=22.1133 rad=12.0 tmin=685929601.0 tmax=686188801.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.60
user 3.35
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/430228/ft2_4FGL_J0152.2+2206_daily_bin1723.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/430228/ft1_filteredMKT_4FGL_J0152.2+2206_daily_bin1723.fits evtable="EVENTS" outfile="/scratch/kocevski/430228/ft1_filtered_4FGL_J0152.2+2206_daily_bin1723.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.50
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 718

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/430228/ft1_filtered_4FGL_J0152.2+2206_daily_bin1723.fits" evtable="EVENTS" scfile=/scratch/kocevski/430228/ft2_4FGL_J0152.2+2206_daily_bin1723.fits sctable="SC_DATA" outfile=/scratch/kocevski/430228/ltcube_685929601_686188801_4FGL_J0152.2+2206_daily_bin1723.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/430228/ft2_4FGL_J0152.2+2206_daily_bin1723.fits
.....................!
real 12.42
user 12.04
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/430228/ft1_filtered_4FGL_J0152.2+2206_daily_bin1723.fits evtable="EVENTS" scfile=/scratch/kocevski/430228/ft2_4FGL_J0152.2+2206_daily_bin1723.fits sctable="SC_DATA" expcube=/scratch/kocevski/430228/ltcube_685929601_686188801_4FGL_J0152.2+2206_daily_bin1723.fits outfile=/scratch/kocevski/430228/expmap_685929601_686188801_4FGL_J0152.2+2206_daily_bin1723.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/430228/ltcube_685929601_686188801_4FGL_J0152.2+2206_daily_bin1723.fits
.....................!
real 190.28
user 185.21
sys 4.71

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/430228/ft1_filtered_4FGL_J0152.2+2206_daily_bin1723.fits scfile=/scratch/kocevski/430228/ft2_4FGL_J0152.2+2206_daily_bin1723.fits outfile=/scratch/kocevski/430228/cmap_685929601_686188801_4FGL_J0152.2+2206_daily_bin1723.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.56
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/430228/ft1_filtered_4FGL_J0152.2+2206_daily_bin1723.fits scfile=/scratch/kocevski/430228/ft2_4FGL_J0152.2+2206_daily_bin1723.fits outfile=/scratch/kocevski/430228/cmap_HighResolution_685929601_686188801_4FGL_J0152.2+2206_daily_bin1723.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.63
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/430228/ft1_filtered_4FGL_J0152.2+2206_daily_bin1723.fits evtable="EVENTS" scfile=/scratch/kocevski/430228/ft2_4FGL_J0152.2+2206_daily_bin1723.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/430228/Model_4FGL_J0152.2+2206_daily_bin1723.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/430228/ft1_filtered_4FGL_J0152.2+2206_daily_bin1723.fits.....................!
real 84.22
user 82.76
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/430228/ft1_filtered_4FGL_J0152.2+2206_daily_bin1723.fits', '/scratch/kocevski/430228/ft2_4FGL_J0152.2+2206_daily_bin1723.fits', expMap='/scratch/kocevski/430228/expmap_685929601_686188801_4FGL_J0152.2+2206_daily_bin1723.fits', expCube='/scratch/kocevski/430228/ltcube_685929601_686188801_4FGL_J0152.2+2206_daily_bin1723.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/430228/Model_4FGL_J0152.2+2206_daily_bin1723.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/430228/ft1_filtered_4FGL_J0152.2+2206_daily_bin1723.fits
Spacecraft file(s): /scratch/kocevski/430228/ft2_4FGL_J0152.2+2206_daily_bin1723.fits
Exposure map: /scratch/kocevski/430228/expmap_685929601_686188801_4FGL_J0152.2+2206_daily_bin1723.fits
Exposure cube: /scratch/kocevski/430228/ltcube_685929601_686188801_4FGL_J0152.2+2206_daily_bin1723.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/430228/Model_4FGL_J0152.2+2206_daily_bin1723.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) = 7688.04603961

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5116       1.0000          .0000       .10000E+07
     2 'Prefactor '    .33647E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .15969E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.8803       1.0000          .0000       .10000E+07
     5 'Prefactor '    .59260       1.0000          .0000       .10000E+07
     6 'norm      '    .42288E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.5478       1.0000          .0000       .10000E+07
     8 'Prefactor '    .26874E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    10.034       1.0000          .0000       .10000E+07
    10 'norm      '    .44629E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .21936E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .77769       1.0000          .0000       .10000E+07
    13 'Prefactor '    .19718E-04   1.0000          .0000       .10000E+07
    14 'norm      '    .44343       1.0000          .0000       .10000E+07
    15 'Prefactor '    .71415       1.0000          .0000       .10000E+07
    16 'Prefactor '    40.837       1.0000          .0000       .10000E+07
    17 'Normalizat'    .89897       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0984       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=   7688.045     FROM MIGRAD    STATUS=CONVERGED    133 CALLS     1398 TOTAL
                     EDM=   .78E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5104        .78835        .40283E-07    .15476E-01
   2  Prefactor     .10252E-03    18.573       -.68757E-05** at limit **
   3  Prefactor     .27756E-09    5.8166        .49994E-06** at limit **
   4  Prefactor     1.8794        9.7161        .23820E-05    .68407E-02
   5  Prefactor     .11913E-06    97.729        .47853E-06** at limit **
   6  norm           .0000        .62187       -.10185E-06** at limit **
   7  Prefactor     6.5817        8.3651       -.24650E-05   -.19220E-01
   8  Prefactor     .55511E-10    9.0388       -.37887E-06** at limit **
   9  Prefactor     10.074        7.0165       -.25698E-07   -.40292E-03
  10  norm          .55511E-10    .89286       -.23614E-06** at limit **
  11  Prefactor      .0000        4.7121        .50425E-06** at limit **
  12  Prefactor     .77906        7.3045        .42147E-05    .15816E-01
  13  Prefactor      .0000        2.2863        .67357E-07** at limit **
  14  norm          .41633E-07    54.115        .36984E-06** at limit **
  15  Prefactor     .16065E-06    170.80       -.58566E-05** at limit **
  16  Prefactor     41.088        5.2129        .38142E-06   -.68659E-01
  17  Normalizat    .89923        .21116        .18788E-05   -.57605E-04
  18  Prefactor     1.0987        .12425       -.25968E-05   -.29662E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.51035
  Prefactor  = 0.000102518
  Prefactor  = 2.77556e-10
  Prefactor  = 1.87935
  Prefactor  = 1.19127e-07
  norm       = 0
  Prefactor  = 6.58173
  Prefactor  = 5.55112e-11
  Prefactor  = 10.0738
  norm       = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 0.779057
  Prefactor  = 0
  norm       = 4.16334e-08
  Prefactor  = 1.60649e-07
  Prefactor  = 41.0881
  Normalizat = 0.899233
  Prefactor  = 1.09874
 **********
 **   18 **HESSE 
 **********

 FCN=   7688.045     FROM HESSE     STATUS=OK           286 CALLS     1684 TOTAL
                     EDM=   .29E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5104        .79124        .64445E-03   -1.5676    
   2  Prefactor     .10252E-03    21.061        .16264E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .27756E-09    5.7753        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.8794        19.462        .75890E-03   -1.5681    
   5  Prefactor     .11913E-06    97.459        .69893E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        .31580        .17477E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.5817        11.710        .39195E-03   -1.5657    
   8  Prefactor     .55511E-10    9.0729        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.074        7.0377        .31609E-03   -1.5644    
  10  norm          .55511E-10    .89273        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        4.6172        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .77906        8.1310        .54613E-03   -1.5690    
  13  Prefactor      .0000        2.2862        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .41633E-07    54.329        .84618E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .16065E-06    170.43        .59567E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     41.088        47.176        .15650E-03   -1.5580    
  17  Normalizat    .89923        .19630        .75769E-01   -.96487    
  18  Prefactor     1.0987        .10993        .37647E-01   -.89507    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.94147e-07
Minuit parameter uncertainties:
  1  0.79124
  2  0.0929329
  3  8.06172e-05
  4  12.0957
  5  0.00681466
  6  4.31198e-06
  7  11.7101
  8  5.06745e-05
  9  7.03767
  10  1.61744e-05
  11  1.11971e-05
  12  5.0337
  13  1.59605e-06
  14  0.00300771
  15  0.0104659
  16  47.1767
  17  0.196459
  18  0.109952
Done.

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

Extracting fit parameters...

4FGL J0152.2+2206
   Spectrum: PowerLaw
218    Prefactor:  6.582e+00  1.171e+01  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.099e+00  1.100e-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:  8.992e-01  1.965e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.38
Ra Dec: 28.073 22.113
Photon Flux Upper Limit: 1.36e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.07e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/430228/likelihoodResults_685929601_686188801_4FGL_J0152.2+2206_daily_bin1723.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) = 7688.04313542
delta logL = 0.00198642289251

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7688.04176477
delta logL = 0.00335707930299

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7688.042     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      237 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.9492        137.41        .41077E-03    .14375E-02
   2  Index         2.8792        2.2793        .50000        .82035E-05
   3  Normalizat    .89326        .30206E-01    .76001E-01    .24537E-04
   4  Prefactor     1.1012        .17859E-01    .37545E-01   -.37148E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.94919
  Index      = 2.87924
  Normalizat = 0.893265
  Prefactor  = 1.1012
 **********
 **   18 **HESSE 
 **********

 FCN=   7688.042     FROM HESSE     STATUS=OK            33 CALLS      270 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.9492        17.643        .16431E-04   -1.5659    
   2  Index         2.8792        3.0259        .77402E-02   -.43803    
   3  Normalizat    .89326        .23209        .33636E-03   -.96697    
   4  Prefactor     1.1012        .13055        .17958E-03   -.89428    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.75146e-10
Minuit parameter uncertainties:
  1  17.6437
  2  3.31392
  3  0.232349
  4  0.13059
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/430228': 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) = 7688.0417622
delta logL = 0.00335964846454

Extracting fit parameters...

4FGL J0152.2+2206
   Spectrum: PowerLaw
218    Prefactor:  5.949e+00  1.764e+01  0.000e+00  1.000e+06 ( 1.000e-12)
219        Index:  2.879e+00  3.314e+00  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.101e+00  1.306e-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:  8.933e-01  2.323e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.38
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/430228/cmap_HighResolution_685929601_686188801_4FGL_J0152.2+2206_daily_bin1723.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.07e-02', job_status='DONE', photon_flux_upper_limit='1.36e-07', time_completed='2022-09-30 00:16:52.113475', job_id='430228', GAL2='1.10', fit_tolerance='1e-08', EG2='0.89', EG='0.90', time_epoch_completed='1664522212.11', return_code2='0', ts='0.38', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='3.36e-03', ts2='0.39', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='1723' AND source_name='4FGL J0152.2+2206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 30 00:16:52 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0278>
Subject: Job 430228: <4FGL_J0152.2+2206_daily_bin1723> in cluster <slac> Done

Job <4FGL_J0152.2+2206_daily_bin1723> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 30 00:05:04 2022
Job was executed on host(s) <bullet0278>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 30 00:05:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 30 00:05:17 2022
Terminated at Fri Sep 30 00:16:53 2022
Results reported at Fri Sep 30 00:16:53 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0152.2+2206_daily_bin1723 28.0727 22.1133 685929601 686188801 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 :                                   589.09 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             334.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   695 sec.
    Turnaround time :                            709 sec.

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

