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


Performing analysis on: 4FGL_J0152.2+2206_daily_bin1740
RA = 28.0727, Dec = 22.1133
tmin = 690336001, tmax = 690595201
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='822737', job_status='RUN', time_executed='2022-11-20 00:11:21.323179', time_epoch_executed='1668931881.32' WHERE source_name='4FGL J0152.2+2206' and cadence='daily' and bin_id='1740'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/822737

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/822737/ft1_4FGL_J0152.2+2206_daily_bin1740.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/822737/ft2_4FGL_J0152.2+2206_daily_bin1740.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/822737/ft1_4FGL_J0152.2+2206_daily_bin1740.fits outfile=/scratch/kocevski/822737/ft1_filteredMKT_4FGL_J0152.2+2206_daily_bin1740.fits ra=28.0727 dec=22.1133 rad=12.0 tmin=690336001.0 tmax=690595201.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 2.98
user 2.76
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/822737/ft2_4FGL_J0152.2+2206_daily_bin1740.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/822737/ft1_filteredMKT_4FGL_J0152.2+2206_daily_bin1740.fits evtable="EVENTS" outfile="/scratch/kocevski/822737/ft1_filtered_4FGL_J0152.2+2206_daily_bin1740.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.52
user 0.34
sys 0.17

Number of photons that the gtmktime cut: 219

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/822737/ft1_filtered_4FGL_J0152.2+2206_daily_bin1740.fits" evtable="EVENTS" scfile=/scratch/kocevski/822737/ft2_4FGL_J0152.2+2206_daily_bin1740.fits sctable="SC_DATA" outfile=/scratch/kocevski/822737/ltcube_690336001_690595201_4FGL_J0152.2+2206_daily_bin1740.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/822737/ft2_4FGL_J0152.2+2206_daily_bin1740.fits
.....................!
real 16.45
user 16.06
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/822737/ft1_filtered_4FGL_J0152.2+2206_daily_bin1740.fits evtable="EVENTS" scfile=/scratch/kocevski/822737/ft2_4FGL_J0152.2+2206_daily_bin1740.fits sctable="SC_DATA" expcube=/scratch/kocevski/822737/ltcube_690336001_690595201_4FGL_J0152.2+2206_daily_bin1740.fits outfile=/scratch/kocevski/822737/expmap_690336001_690595201_4FGL_J0152.2+2206_daily_bin1740.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/822737/ltcube_690336001_690595201_4FGL_J0152.2+2206_daily_bin1740.fits
.....................!
real 194.16
user 187.96
sys 5.69

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
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/822737/ft1_filtered_4FGL_J0152.2+2206_daily_bin1740.fits scfile=/scratch/kocevski/822737/ft2_4FGL_J0152.2+2206_daily_bin1740.fits outfile=/scratch/kocevski/822737/cmap_690336001_690595201_4FGL_J0152.2+2206_daily_bin1740.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.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/822737/ft1_filtered_4FGL_J0152.2+2206_daily_bin1740.fits scfile=/scratch/kocevski/822737/ft2_4FGL_J0152.2+2206_daily_bin1740.fits outfile=/scratch/kocevski/822737/cmap_HighResolution_690336001_690595201_4FGL_J0152.2+2206_daily_bin1740.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.58
user 0.42
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 2654.51005321

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.3147       1.0000          .0000       .10000E+07
     2 'Prefactor '    8.6063       1.0000          .0000       .10000E+07
     3 'Prefactor '    .81001E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .38886E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .30591       1.0000          .0000       .10000E+07
     6 'norm      '    .10969E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    46.961       1.0000          .0000       .10000E+07
     8 'Prefactor '    .93784E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .13891E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .38299E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .14840E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    9.3831       1.0000          .0000       .10000E+07
    13 'Prefactor '    .15527E-03   1.0000          .0000       .10000E+07
    14 'norm      '    1125.5       1.0000          .0000       .10000E+07
    15 'Prefactor '    115.53       1.0000          .0000       .10000E+07
    16 'Prefactor '    22.658       1.0000          .0000       .10000E+07
    17 'Normalizat'    .28247       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.4849       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=   2654.476     FROM MIGRAD    STATUS=CONVERGED    230 CALLS     1420 TOTAL
                     EDM=   .46E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.3151        1.3457       -.66044E-08    .66924E-04
   2  Prefactor     12.816        56.887       -.18601E-06   -.82188E-04
   3  Prefactor     .55511E-10    42.490        .11655E-06** at limit **
   4  Prefactor      .0000        13.690        .10535E-06** at limit **
   5  Prefactor     .10890E-04    12688.        .25009E-04** at limit **
   6  norm           .0000        1.1269       -.16578E-07** at limit **
   7  Prefactor     48.001        35.045        .93539E-08    .12648E-03
   8  Prefactor      .0000        30.053       -.93208E-07** at limit **
   9  Prefactor      .0000        9.2091        .32042E-07** at limit **
  10  norm           .0000        5.7132        .40749E-07** at limit **
  11  Prefactor      .0000        3.7011       -.58105E-08** at limit **
  12  Prefactor     9.3112        19.002       -.63676E-08   -.10203E-03
  13  Prefactor      .0000        20.700       -.11481E-06** at limit **
  14  norm          1127.0        18.800        .62980E-07    .19454    
  15  Prefactor     101.20        175.12        .20773E-05   -.53830E-02
  16  Prefactor     81.662        261.48       -.10314E-05   -.18906E-02
  17  Normalizat    .28980        .41628        .25587E-05    .12323E-04
  18  Prefactor     1.4749        .26855       -.35224E-06    .40430E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.31508
  Prefactor  = 12.8162
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 1.08896e-05
  norm       = 0
  Prefactor  = 48.0013
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 9.3112
  Prefactor  = 0
  norm       = 1126.96
  Prefactor  = 101.204
  Prefactor  = 81.6617
  Normalizat = 0.289799
  Prefactor  = 1.47494
 **********
 **   18 **HESSE 
 **********

 FCN=   2654.476     FROM HESSE     STATUS=OK           292 CALLS     1712 TOTAL
                     EDM=   .14E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.3151        1.3661        .55577E-03   -1.5672    
   2  Prefactor     12.816        64.668        .34145E-03   -1.5636    
   3  Prefactor     .55511E-10    7.6025        .83283E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        13.689        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10890E-04    95.991        .14903E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        1.1123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     48.001        35.135        .14594E-03   -1.5569    
   8  Prefactor      .0000        29.989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        9.2369        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        5.7304        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        3.7300        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.3112        18.949        .32693E-03   -1.5647    
  13  Prefactor      .0000        20.703        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1127.0        643.72        .29824E-04   -1.5036    
  15  Prefactor     101.20        177.42        .93042E-04   -1.5507    
  16  Prefactor     81.662        264.37        .21013E-03   -1.5527    
  17  Normalizat    .28980        .50763        .14412       -1.2345    
  18  Prefactor     1.4749        .31757        .29983E-01   -.78244    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39865e-05
Minuit parameter uncertainties:
  1  1.36615
  2  57.5788
  3  3.43331e-05
  4  8.10884e-06
  5  0.0646633
  6  1.50911e-06
  7  35.135
  8  3.06139e-05
  9  4.07422e-06
  10  5.29976e-06
  11  6.335e-11
  12  18.9488
  13  4.16282e-05
  14  643.761
  15  177.426
  16  264.406
  17  0.516017
  18  0.317995
Done.

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

Extracting fit parameters...

4FGL J0152.2+2206
   Spectrum: PowerLaw
218    Prefactor:  4.800e+01  3.513e+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.475e+00  3.180e-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:  2.898e-01  5.160e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.10
Ra Dec: 28.073 22.113
Photon Index (Fixed Index): 2.68 +/- 0.00
Photon Flux (Fixed Index): 2.13e-07 +/- 1.56e-07
Energy Flux (Fixed Index): 5.23e-05 +/- 3.83e-05

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

Saving results to:
/scratch/kocevski/822737/likelihoodResults_690336001_690595201_4FGL_J0152.2+2206_daily_bin1740.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) = 2654.45821989
delta logL = 0.0176547262004

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2654.4534098
delta logL = 0.0224648185322

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2654.453     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      253 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     51.763        40.633        .55600E-05    .29994E-02
   2  Index         2.5524        .58027        .58008E-02    .12652E-03
   3  Normalizat    .29629        .41303        .63046E-03   -.79162E-05
   4  Prefactor     1.4712        .26216        .18594E-03   -.21247E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 51.7633
  Index      = 2.55236
  Normalizat = 0.296295
  Prefactor  = 1.47117
 **********
 **   18 **HESSE 
 **********

 FCN=   2654.453     FROM HESSE     STATUS=OK            23 CALLS      276 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     51.763        40.245        .11120E-05   -1.5564    
   2  Index         2.5524        .57470        .23203E-03   -.51155    
   3  Normalizat    .29629        .41272        .25219E-04   -1.2306    
   4  Prefactor     1.4712        .26193        .74376E-05   -.78350    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.53551e-10
Minuit parameter uncertainties:
  1  40.2453
  2  0.576373
  3  0.417054
  4  0.262169
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/822737': 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) = 2654.45340967
delta logL = 0.0224649466841

Extracting fit parameters...

4FGL J0152.2+2206
   Spectrum: PowerLaw
218    Prefactor:  5.176e+01  4.025e+01  0.000e+00  1.000e+06 ( 1.000e-12)
219        Index:  2.552e+00  5.764e-01  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.471e+00  2.622e-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:  2.963e-01  4.171e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.11
Ra Dec: 28.073 22.113
Photon Index (Free Index): 2.55 +/- 0.58
Photon Flux (Free Index): 2.03e-07 +/- 1.56e-07
Energy Flux (Free Index): 5.58e-05 +/- 4.39e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/822737/cmap_HighResolution_690336001_690595201_4FGL_J0152.2+2206_daily_bin1740.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.31e-02', comment='SUCCESS', photon_flux='2.13e-07', energy_flux2='5.58e-05', photon_flux_error='1.56e-07', dlogl='2.25e-02', energy_flux='5.23e-05', photon_flux2='2.03e-07', job_status='DONE', time_completed='2022-11-20 00:18:17.507004', photon_index_error2='0.58', photon_index2='2.55', ts='3.10', fit_tolerance='1e-08', GAL='1.47', photon_index_error='0.00', photon_flux_upper_limit='5.48e-07', energy_flux_error2='4.39e-05', EG='0.29', time_epoch_completed='1668932297.51', return_code='0', job_id='822737', GAL2='1.47', EG2='0.30', return_code2='0', energy_flux_error='3.83e-05', photon_flux_error2='1.56e-07', ts2='3.11', photon_index='2.68' WHERE bin_id='1740' AND source_name='4FGL J0152.2+2206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Nov 20 00:18:17 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 822737: <4FGL_J0152.2+2206_daily_bin1740> in cluster <slac> Done

Job <4FGL_J0152.2+2206_daily_bin1740> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Nov 20 00:05:08 2022
Job was executed on host(s) <bullet0255>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Nov 20 00:08:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Nov 20 00:08:15 2022
Terminated at Sun Nov 20 00:18:18 2022
Results reported at Sun Nov 20 00:18:18 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0152.2+2206_daily_bin1740 28.0727 22.1133 690336001 690595201 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 :                                   418.44 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             280.06 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   602 sec.
    Turnaround time :                            790 sec.

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

