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


Performing analysis on: 4FGL_J0152.2+3714_daily_bin1714
RA = 28.0631, Dec = 37.2341
tmin = 683596801, tmax = 683856001
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='2469', job_status='RUN', time_executed='2022-09-16 10:22:17.781719', time_epoch_executed='1663348937.78' WHERE source_name='4FGL J0152.2+3714' and cadence='daily' and bin_id='1714'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/2469

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/2469/ft1_4FGL_J0152.2+3714_daily_bin1714.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/2469/ft2_4FGL_J0152.2+3714_daily_bin1714.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/2469/ft1_4FGL_J0152.2+3714_daily_bin1714.fits outfile=/scratch/kocevski/2469/ft1_filteredMKT_4FGL_J0152.2+3714_daily_bin1714.fits ra=28.0631 dec=37.2341 rad=12.0 tmin=683596801.0 tmax=683856001.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.95
user 3.28
sys 0.23

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

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

Number of photons that the gtmktime cut: 991

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/2469/ft1_filtered_4FGL_J0152.2+3714_daily_bin1714.fits" evtable="EVENTS" scfile=/scratch/kocevski/2469/ft2_4FGL_J0152.2+3714_daily_bin1714.fits sctable="SC_DATA" outfile=/scratch/kocevski/2469/ltcube_683596801_683856001_4FGL_J0152.2+3714_daily_bin1714.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/2469/ft2_4FGL_J0152.2+3714_daily_bin1714.fits
.....................!
real 11.79
user 11.39
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/2469/ft1_filtered_4FGL_J0152.2+3714_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/2469/ft2_4FGL_J0152.2+3714_daily_bin1714.fits sctable="SC_DATA" expcube=/scratch/kocevski/2469/ltcube_683596801_683856001_4FGL_J0152.2+3714_daily_bin1714.fits outfile=/scratch/kocevski/2469/expmap_683596801_683856001_4FGL_J0152.2+3714_daily_bin1714.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/2469/ltcube_683596801_683856001_4FGL_J0152.2+3714_daily_bin1714.fits
.....................!
real 191.28
user 185.57
sys 5.31

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/2469/ft1_filtered_4FGL_J0152.2+3714_daily_bin1714.fits scfile=/scratch/kocevski/2469/ft2_4FGL_J0152.2+3714_daily_bin1714.fits outfile=/scratch/kocevski/2469/cmap_683596801_683856001_4FGL_J0152.2+3714_daily_bin1714.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.58
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/2469/ft1_filtered_4FGL_J0152.2+3714_daily_bin1714.fits scfile=/scratch/kocevski/2469/ft2_4FGL_J0152.2+3714_daily_bin1714.fits outfile=/scratch/kocevski/2469/cmap_HighResolution_683596801_683856001_4FGL_J0152.2+3714_daily_bin1714.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.58
user 0.38
sys 0.20

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/2469/ft1_filtered_4FGL_J0152.2+3714_daily_bin1714.fits', '/scratch/kocevski/2469/ft2_4FGL_J0152.2+3714_daily_bin1714.fits', expMap='/scratch/kocevski/2469/expmap_683596801_683856001_4FGL_J0152.2+3714_daily_bin1714.fits', expCube='/scratch/kocevski/2469/ltcube_683596801_683856001_4FGL_J0152.2+3714_daily_bin1714.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/2469/Model_4FGL_J0152.2+3714_daily_bin1714.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/2469/ft1_filtered_4FGL_J0152.2+3714_daily_bin1714.fits
Spacecraft file(s): /scratch/kocevski/2469/ft2_4FGL_J0152.2+3714_daily_bin1714.fits
Exposure map: /scratch/kocevski/2469/expmap_683596801_683856001_4FGL_J0152.2+3714_daily_bin1714.fits
Exposure cube: /scratch/kocevski/2469/ltcube_683596801_683856001_4FGL_J0152.2+3714_daily_bin1714.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/2469/Model_4FGL_J0152.2+3714_daily_bin1714.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) = 10507.4293019

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.117       1.0000          .0000       .10000E+07
     2 'Prefactor '    .29093E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    40.280       1.0000          .0000       .10000E+07
     4 'norm      '    12.806       1.0000          .0000       .10000E+07
     5 'Prefactor '    .94799E-02   1.0000          .0000       .10000E+07
     6 'norm      '    3.3743       1.0000          .0000       .10000E+07
     7 'norm      '    2.2105       1.0000          .0000       .10000E+07
     8 'norm      '    1.3998       1.0000          .0000       .10000E+07
     9 'Prefactor '    .11991E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.3817       1.0000          .0000       .10000E+07
    11 'Prefactor '    .81137E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    33.239       1.0000          .0000       .10000E+07
    13 'norm      '    2.9267       1.0000          .0000       .10000E+07
    14 'Prefactor '    14.280       1.0000          .0000       .10000E+07
    15 'norm      '    .14239E-04   1.0000          .0000       .10000E+07
    16 'norm      '    1.7132       1.0000          .0000       .10000E+07
    17 'norm      '    .32827       1.0000          .0000       .10000E+07
    18 'Prefactor '    19.804       1.0000          .0000       .10000E+07
    19 'norm      '    3.7098       1.0000          .0000       .10000E+07
    20 'Normalizat'    .97611       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .91366       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=   10507.21     FROM MIGRAD    STATUS=CONVERGED    150 CALLS     1637 TOTAL
                     EDM=   .10E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.303        15.988       -.22529E-06    .74353E-05
   2  Prefactor      .0000        2.6216        .24783E-06** at limit **
   3  Prefactor     40.961        18.551        .19307E-06   -.13239E-04
   4  norm          12.800        2.2077        .81959E-08    .50811E-03
   5  Prefactor      .0000        59.665       -.85567E-06** at limit **
   6  norm          3.3737        1.3156        .89425E-07    .30024E-03
   7  norm          2.2099        .81089       -.69444E-08   -.32905E-03
   8  norm          1.3997        .62001        .49416E-07   -.75124E-03
   9  Prefactor      .0000        8.0982       -.21545E-06** at limit **
  10  Prefactor     2.3856        2.2137       -.11250E-06   -.99354E-04
  11  Prefactor      .0000        7.2219        .22933E-06** at limit **
  12  Prefactor     31.937        39.389       -.40235E-06    .42891E-05
  13  norm          2.9301        3.9506       -.55231E-07    .20439E-03
  14  Prefactor     14.232        8.3132        .43970E-07    .18902E-03
  15  norm           .0000        1.4263        .46907E-06** at limit **
  16  norm          1.7158        .62255        .40446E-07   -.14709E-02
  17  norm          .32864        .22651       -.59906E-07   -.10959E-03
  18  Prefactor     19.682        7.6495       -.17518E-07   -.47680E-05
  19  norm          3.6791        6.6892       -.23144E-06   -.97881E-04
  20  Normalizat    .97636        .23237       -.63420E-05   -.91371E-05
  21  Prefactor     .91384        .11850        .40269E-05   -.10990E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.3031
  Prefactor  = 0
  Prefactor  = 40.9613
  norm       = 12.7997
  Prefactor  = 0
  norm       = 3.37374
  norm       = 2.20989
  norm       = 1.39972
  Prefactor  = 0
  Prefactor  = 2.38565
  Prefactor  = 0
  Prefactor  = 31.937
  norm       = 2.93013
  Prefactor  = 14.2323
  norm       = 0
  norm       = 1.71576
  norm       = 0.328639
  Prefactor  = 19.6817
  norm       = 3.67908
  Normalizat = 0.976365
  Prefactor  = 0.913837
 **********
 **   18 **HESSE 
 **********

 FCN=   10507.21     FROM HESSE     STATUS=OK           367 CALLS     2004 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.303        15.989        .19571E-03   -1.5605    
   2  Prefactor      .0000        2.6202        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     40.961        18.532        .15758E-03   -1.5580    
   4  norm          12.800        2.2037        .27966E-03   -1.5636    
   5  Prefactor      .0000        59.592        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.3737        1.3143        .55060E-03   -1.5671    
   7  norm          2.2099        .81161        .69156E-03   -1.5678    
   8  norm          1.3997        .61987        .91681E-03   -1.5684    
   9  Prefactor      .0000        8.0871        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.3856        2.2234        .66348E-03   -1.5677    
  11  Prefactor      .0000        7.2214        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     31.937        39.419        .17347E-03   -1.5595    
  13  norm          2.9301        3.9861        .59353E-03   -1.5674    
  14  Prefactor     14.232        8.3385        .26479E-03   -1.5633    
  15  norm           .0000        1.4244        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.7158        .62615        .80268E-03   -1.5682    
  17  norm          .32864        .23555        .88517E-03   -1.5696    
  18  Prefactor     19.682        7.7134        .22478E-03   -1.5619    
  19  norm          3.6791        6.7696        .52406E-03   -1.5670    
  20  Normalizat    .97636        .20062        .82877E-01   -.93826    
  21  Prefactor     .91384        .10188        .45179E-01   -.95659    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08373e-07
Minuit parameter uncertainties:
  1  15.9893
  2  3.03049e-06
  3  18.532
  4  2.20372
  5  4.32558e-05
  6  1.31426
  7  0.811608
  8  0.619866
  9  1.29265e-06
  10  2.22335
  11  9.85181e-07
  12  39.4193
  13  3.9861
  14  8.33855
  15  2.21189e-07
  16  0.626153
  17  0.235554
  18  7.71336
  19  6.76964
  20  0.200778
  21  0.101902
Done.

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

Extracting fit parameters...

4FGL J0152.2+3714
   Spectrum: PowerLaw
264    Prefactor:  0.000e+00  1.293e-06  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:  9.138e-01  1.019e-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:  9.764e-01  2.008e-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: 5.63e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.33e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/2469/likelihoodResults_683596801_683856001_4FGL_J0152.2+3714_daily_bin1714.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) = 10507.2769493
delta logL = -0.0625089245623

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10506.8039402
delta logL = 0.410500163911

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10506.80     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      319 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1338        5.9660        .21837E-03   -.88477E-02
   2  Index         .53470        1.2779        .26236E-01    .47485E-04
   3  Normalizat    .96256        .21657        .36933E-03   -.17238E-04
   4  Prefactor     .91894        .11701        .20214E-03    .29246E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.13382
  Index      = 0.534701
  Normalizat = 0.962556
  Prefactor  = 0.918938
 **********
 **   18 **HESSE 
 **********

 FCN=   10506.80     FROM HESSE     STATUS=OK            27 CALLS      346 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1338        10.248        .87350E-05   -1.5687    
   2  Index         .53470        1.6006        .10494E-02   -1.1041    
   3  Normalizat    .96256        .21668        .14773E-04   -.94296    
   4  Prefactor     .91894        .11710        .80855E-05   -.95482    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.671e-10
Minuit parameter uncertainties:
  1  6.81761
  2  1.7809
  3  0.216879
  4  0.117134
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/2469': 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) = 10506.8039365
delta logL = 0.410503833458

Extracting fit parameters...

4FGL J0152.2+3714
   Spectrum: PowerLaw
264    Prefactor:  1.134e+00  6.818e+00  0.000e+00  1.000e+06 ( 1.000e-13)
265        Index:  5.347e-01  1.781e+00  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:  9.189e-01  1.171e-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:  9.626e-01  2.169e-01  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/2469/cmap_HighResolution_683596801_683856001_4FGL_J0152.2+3714_daily_bin1714.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.33e-03', job_status='DONE', photon_flux_upper_limit='5.63e-08', time_completed='2022-09-16 10:34:59.879739', job_id='2469', GAL2='0.92', fit_tolerance='1e-08', EG2='0.96', EG='0.98', time_epoch_completed='1663349699.88', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='4.11e-01', ts2='0.83', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1714' AND source_name='4FGL J0152.2+3714' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 10:34:59 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0193>
Subject: Job 2469: <4FGL_J0152.2+3714_daily_bin1714> in cluster <slac> Done

Job <4FGL_J0152.2+3714_daily_bin1714> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 10:20:49 2022
Job was executed on host(s) <bullet0193>, 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:00 2022
Results reported at Fri Sep 16 10:35:00 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0152.2+3714_daily_bin1714 28.0631 37.2341 683596801 683856001 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 :                                   759.13 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             349.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   795 sec.
    Turnaround time :                            851 sec.

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

