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


Performing analysis on: 4FGL_J0152.2+3714_daily_bin1710
RA = 28.0631, Dec = 37.2341
tmin = 682560001, tmax = 682819201
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='2463', job_status='RUN', time_executed='2022-09-16 10:24:11.334973', time_epoch_executed='1663349051.34' WHERE source_name='4FGL J0152.2+3714' and cadence='daily' and bin_id='1710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/2463

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/2463/ft1_4FGL_J0152.2+3714_daily_bin1710.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/2463/ft2_4FGL_J0152.2+3714_daily_bin1710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/2463/ft1_4FGL_J0152.2+3714_daily_bin1710.fits outfile=/scratch/kocevski/2463/ft1_filteredMKT_4FGL_J0152.2+3714_daily_bin1710.fits ra=28.0631 dec=37.2341 rad=12.0 tmin=682560001.0 tmax=682819201.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.90
user 3.62
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/2463/ft2_4FGL_J0152.2+3714_daily_bin1710.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/2463/ft2_4FGL_J0152.2+3714_daily_bin1710.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/2463/ft1_filteredMKT_4FGL_J0152.2+3714_daily_bin1710.fits evtable="EVENTS" outfile="/scratch/kocevski/2463/ft1_filtered_4FGL_J0152.2+3714_daily_bin1710.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.57
user 0.36
sys 0.18

Number of photons that the gtmktime cut: 839

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/2463/ft1_filtered_4FGL_J0152.2+3714_daily_bin1710.fits" evtable="EVENTS" scfile=/scratch/kocevski/2463/ft2_4FGL_J0152.2+3714_daily_bin1710.fits sctable="SC_DATA" outfile=/scratch/kocevski/2463/ltcube_682560001_682819201_4FGL_J0152.2+3714_daily_bin1710.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/2463/ft2_4FGL_J0152.2+3714_daily_bin1710.fits
.....................!
real 14.92
user 14.49
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/2463/ft1_filtered_4FGL_J0152.2+3714_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/2463/ft2_4FGL_J0152.2+3714_daily_bin1710.fits sctable="SC_DATA" expcube=/scratch/kocevski/2463/ltcube_682560001_682819201_4FGL_J0152.2+3714_daily_bin1710.fits outfile=/scratch/kocevski/2463/expmap_682560001_682819201_4FGL_J0152.2+3714_daily_bin1710.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/2463/ltcube_682560001_682819201_4FGL_J0152.2+3714_daily_bin1710.fits
.....................!
real 190.63
user 185.26
sys 5.01

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

Setting source of interest to:
4FGL J0152.2+3714 @ 28.0631 37.2341

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/2463/ft1_filtered_4FGL_J0152.2+3714_daily_bin1710.fits scfile=/scratch/kocevski/2463/ft2_4FGL_J0152.2+3714_daily_bin1710.fits outfile=/scratch/kocevski/2463/cmap_682560001_682819201_4FGL_J0152.2+3714_daily_bin1710.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.0631 yref=37.2341 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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/2463/ft1_filtered_4FGL_J0152.2+3714_daily_bin1710.fits scfile=/scratch/kocevski/2463/ft2_4FGL_J0152.2+3714_daily_bin1710.fits outfile=/scratch/kocevski/2463/cmap_HighResolution_682560001_682819201_4FGL_J0152.2+3714_daily_bin1710.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.0631 yref=37.2341 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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/2463/ft1_filtered_4FGL_J0152.2+3714_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/2463/ft2_4FGL_J0152.2+3714_daily_bin1710.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/2463/Model_4FGL_J0152.2+3714_daily_bin1710.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/2463/ft1_filtered_4FGL_J0152.2+3714_daily_bin1710.fits.....................!
real 91.89
user 90.43
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/2463/ft1_filtered_4FGL_J0152.2+3714_daily_bin1710.fits', '/scratch/kocevski/2463/ft2_4FGL_J0152.2+3714_daily_bin1710.fits', expMap='/scratch/kocevski/2463/expmap_682560001_682819201_4FGL_J0152.2+3714_daily_bin1710.fits', expCube='/scratch/kocevski/2463/ltcube_682560001_682819201_4FGL_J0152.2+3714_daily_bin1710.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/2463/Model_4FGL_J0152.2+3714_daily_bin1710.xml', optimizer='MINUIT')

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

4FGL J0152.2+3714
   Spectrum: PowerLaw
264    Prefactor:  1.750e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
265        Index:  2.343e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
266        Scale:  1.251e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/2463/ft1_filtered_4FGL_J0152.2+3714_daily_bin1710.fits
Spacecraft file(s): /scratch/kocevski/2463/ft2_4FGL_J0152.2+3714_daily_bin1710.fits
Exposure map: /scratch/kocevski/2463/expmap_682560001_682819201_4FGL_J0152.2+3714_daily_bin1710.fits
Exposure cube: /scratch/kocevski/2463/ltcube_682560001_682819201_4FGL_J0152.2+3714_daily_bin1710.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/2463/Model_4FGL_J0152.2+3714_daily_bin1710.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) = 8851.9583727

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.2375       1.0000          .0000       .10000E+07
     2 'Prefactor '    6.9703       1.0000          .0000       .10000E+07
     3 'Prefactor '    .11111E-01   1.0000          .0000       .10000E+07
     4 'norm      '    6.1630       1.0000          .0000       .10000E+07
     5 'Prefactor '    .12522E-01   1.0000          .0000       .10000E+07
     6 'norm      '    .49320       1.0000          .0000       .10000E+07
     7 'norm      '    1.5092       1.0000          .0000       .10000E+07
     8 'norm      '    .21477E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .16481E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .25702E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    .14203E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    24.631       1.0000          .0000       .10000E+07
    13 'norm      '    .91849E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    2.2941       1.0000          .0000       .10000E+07
    15 'norm      '    6.2656       1.0000          .0000       .10000E+07
    16 'norm      '    .44009       1.0000          .0000       .10000E+07
    17 'norm      '    .20718       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.8860       1.0000          .0000       .10000E+07
    19 'norm      '    4.7508       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0498       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0010       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8851.941     FROM MIGRAD    STATUS=CONVERGED    150 CALLS     1696 TOTAL
                     EDM=   .89E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.2362        13.243       -.25389E-07    .59111E-04
   2  Prefactor     6.8900        8.3330       -.10034E-07    .40214E-03
   3  Prefactor     .55511E-10    42.306        .48342E-06** at limit **
   4  norm          6.1653        1.8769       -.98451E-10    .43331E-03
   5  Prefactor     .55511E-10    37.865        .56989E-06** at limit **
   6  norm          .49311        .50094       -.12592E-07   -.25394E-03
   7  norm          1.5101        .80415       -.12825E-07   -.21526E-04
   8  norm           .0000        .16087        .80711E-07** at limit **
   9  Prefactor     .55511E-10    120.23       -.88553E-06** at limit **
  10  Prefactor      .0000        1.0799        .11138E-07** at limit **
  11  Prefactor      .0000        10.740       -.21511E-06** at limit **
  12  Prefactor     24.606        2.0987       -.20013E-07    .14038E-05
  13  norm           .0000        7.4152       -.70628E-07** at limit **
  14  Prefactor     2.2938        4.4958        .14862E-07    .11740E-03
  15  norm          6.2481        3.6018       -.15413E-07    .49468E-03
  16  norm          .44125        .56141       -.16969E-07    .12808E-02
  17  norm          .20708        .19568        .70217E-09** at limit **
  18  Prefactor     1.9073        5.6213        .16444E-07   -.54591E-03
  19  norm          4.7735        6.6438        .17539E-06   -.77251E-03
  20  Normalizat    1.0499        .22692       -.30278E-05    .68911E-05
  21  Prefactor     1.0008        .12470       -.69272E-06    .15273E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.23625
  Prefactor  = 6.89005
  Prefactor  = 5.55112e-11
  norm       = 6.16532
  Prefactor  = 5.55112e-11
  norm       = 0.493105
  norm       = 1.51012
  norm       = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 24.6057
  norm       = 0
  Prefactor  = 2.29379
  norm       = 6.24807
  norm       = 0.44125
  norm       = 0.207082
  Prefactor  = 1.90735
  norm       = 4.77349
  Normalizat = 1.04994
  Prefactor  = 1.00084
 **********
 **   18 **HESSE 
 **********

 FCN=   8851.941     FROM HESSE     STATUS=OK           371 CALLS     2067 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.2362        13.257        .37261E-03   -1.5654    
   2  Prefactor     6.8900        8.3313        .37975E-03   -1.5655    
   3  Prefactor     .55511E-10    42.132        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          6.1653        1.8949        .40416E-03   -1.5658    
   5  Prefactor     .55511E-10    37.950        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .49311        .46961        .14282E-02   -1.5694    
   7  norm          1.5101        .80931        .87045E-03   -1.5683    
   8  norm           .0000        .16037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    115.21        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        1.0911        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        10.762        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     24.606        45.922        .20154E-03   -1.5609    
  13  norm           .0000        7.2683        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.2938        4.5285        .67738E-03   -1.5678    
  15  norm          6.2481        3.8194        .40079E-03   -1.5658    
  16  norm          .44125        .65921        .15736E-02   -1.5695    
  17  norm          .20708        .21790        .89082E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.9073        5.9570        .75755E-03   -1.5680    
  19  norm          4.7735        6.9910        .46139E-03   -1.5664    
  20  Normalizat    1.0499        .19554        .74535E-01   -.91376    
  21  Prefactor     1.0008        .10639        .45386E-01   -.92702    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48258e-06
Minuit parameter uncertainties:
  1  13.2569
  2  8.33132
  3  8.38766e-05
  4  1.89489
  5  8.09313e-05
  6  0.469613
  7  0.80931
  8  6.56817e-07
  9  0.000150399
  10  1.86029e-07
  11  2.10427e-05
  12  45.9228
  13  1.74037e-05
  14  4.5285
  15  3.81943
  16  0.659206
  17  0.2179
  18  5.95701
  19  6.991
  20  0.195671
  21  0.106411
Done.

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

Extracting fit parameters...

4FGL J0152.2+3714
   Spectrum: PowerLaw
264    Prefactor:  5.551e-11  1.504e-04  0.000e+00  1.000e+06 ( 1.000e-13)
265        Index:  2.343e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
266        Scale:  1.251e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.001e+00  1.064e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.050e+00  1.957e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 28.063 37.234
Photon Flux Upper Limit: 7.50e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.77e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/2463/likelihoodResults_682560001_682819201_4FGL_J0152.2+3714_daily_bin1710.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) = 8851.94850566
delta logL = -0.0077214040266

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8851.94081124
delta logL = -2.69845950243e-05

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8851.941     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      279 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .83605E-01    2.2758        .11364E-01** at limit **
   2  Index         2.5914        1.3056        .50000        .16333E-05
   3  Normalizat    1.0496        .41452E-02    .74547E-01   -.62525E-05
   4  Prefactor     1.0009        .23453E-02    .45210E-01    .88340E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0836054
  Index      = 2.59143
  Normalizat = 1.04958
  Prefactor  = 1.00089
 **********
 **   18 **HESSE 
 **********

 FCN=   8851.941     FROM HESSE     STATUS=NOT POSDEF    41 CALLS      320 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .83605E-01    217.38        .57104E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5914        5.5862        .32849E-01   -.50261    
   3  Normalizat    1.0496        .26456E-01    .32990E-03   -.91388    
   4  Prefactor     1.0009        .14790E-01    .94856E-03   -.92700    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.02974e-08
Minuit parameter uncertainties:
  1  8.52654
  2  37.9992
  3  0.0264563
  4  0.0147899
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/2463': 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) = 8851.94072651
delta logL = 5.77481259825e-05

Extracting fit parameters...

4FGL J0152.2+3714
   Spectrum: PowerLaw
264    Prefactor:  8.361e-02  8.527e+00  0.000e+00  1.000e+06 ( 1.000e-13)
265        Index:  2.591e+00  3.800e+01  0.000e+00  1.000e+01 (-1.000e+00)
266        Scale:  1.251e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.001e+00  1.479e-02  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.050e+00  2.646e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 28.063 37.234

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/2463/cmap_HighResolution_682560001_682819201_4FGL_J0152.2+3714_daily_bin1710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.77e-03', job_status='DONE', photon_flux_upper_limit='7.50e-08', time_completed='2022-09-16 10:35:47.892849', job_id='2463', GAL2='1.00', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1663349747.89', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='5.77e-05', ts2='0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1710' AND source_name='4FGL J0152.2+3714' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 10:35:47 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0197>
Subject: Job 2463: <4FGL_J0152.2+3714_daily_bin1710> in cluster <slac> Done

Job <4FGL_J0152.2+3714_daily_bin1710> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 10:20:48 2022
Job was executed on host(s) <bullet0197>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 10:21:45 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 10:21:45 2022
Terminated at Fri Sep 16 10:35:48 2022
Results reported at Fri Sep 16 10:35:48 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0152.2+3714_daily_bin1710 28.0631 37.2341 682560001 682819201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0152.2+3714 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   699.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             317.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   843 sec.
    Turnaround time :                            900 sec.

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

