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


Performing analysis on: 4FGL_J0932.6+5306_daily_bin1771
RA = 143.159, Dec = 53.1008
tmin = 698371201, tmax = 698630401
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='543259', job_status='RUN', time_executed='2023-02-21 00:37:04.278198', time_epoch_executed='1676968624.28' WHERE source_name='4FGL J0932.6+5306' and cadence='daily' and bin_id='1771'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/543259

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/543259/ft1_4FGL_J0932.6+5306_daily_bin1771.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/543259/ft2_4FGL_J0932.6+5306_daily_bin1771.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/543259/ft1_4FGL_J0932.6+5306_daily_bin1771.fits outfile=/scratch/kocevski/543259/ft1_filteredMKT_4FGL_J0932.6+5306_daily_bin1771.fits ra=143.159 dec=53.1008 rad=12.0 tmin=698371201.0 tmax=698630401.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.07
user 2.87
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/543259/ft2_4FGL_J0932.6+5306_daily_bin1771.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/543259/ft2_4FGL_J0932.6+5306_daily_bin1771.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/543259/ft1_filteredMKT_4FGL_J0932.6+5306_daily_bin1771.fits evtable="EVENTS" outfile="/scratch/kocevski/543259/ft1_filtered_4FGL_J0932.6+5306_daily_bin1771.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.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 128

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/543259/ft1_filtered_4FGL_J0932.6+5306_daily_bin1771.fits" evtable="EVENTS" scfile=/scratch/kocevski/543259/ft2_4FGL_J0932.6+5306_daily_bin1771.fits sctable="SC_DATA" outfile=/scratch/kocevski/543259/ltcube_698371201_698630401_4FGL_J0932.6+5306_daily_bin1771.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/543259/ft2_4FGL_J0932.6+5306_daily_bin1771.fits
.....................!
real 13.15
user 12.77
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/543259/ft1_filtered_4FGL_J0932.6+5306_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/543259/ft2_4FGL_J0932.6+5306_daily_bin1771.fits sctable="SC_DATA" expcube=/scratch/kocevski/543259/ltcube_698371201_698630401_4FGL_J0932.6+5306_daily_bin1771.fits outfile=/scratch/kocevski/543259/expmap_698371201_698630401_4FGL_J0932.6+5306_daily_bin1771.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/543259/ltcube_698371201_698630401_4FGL_J0932.6+5306_daily_bin1771.fits
.....................!
real 191.58
user 185.26
sys 5.57

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

Setting source of interest to:
4FGL J0932.6+5306 @ 143.159 53.1008

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/543259/ft1_filtered_4FGL_J0932.6+5306_daily_bin1771.fits scfile=/scratch/kocevski/543259/ft2_4FGL_J0932.6+5306_daily_bin1771.fits outfile=/scratch/kocevski/543259/cmap_698371201_698630401_4FGL_J0932.6+5306_daily_bin1771.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=143.159 yref=53.1008 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/543259/ft1_filtered_4FGL_J0932.6+5306_daily_bin1771.fits scfile=/scratch/kocevski/543259/ft2_4FGL_J0932.6+5306_daily_bin1771.fits outfile=/scratch/kocevski/543259/cmap_HighResolution_698371201_698630401_4FGL_J0932.6+5306_daily_bin1771.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=143.159 yref=53.1008 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/543259/ft1_filtered_4FGL_J0932.6+5306_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/543259/ft2_4FGL_J0932.6+5306_daily_bin1771.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/543259/Model_4FGL_J0932.6+5306_daily_bin1771.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/543259/ft1_filtered_4FGL_J0932.6+5306_daily_bin1771.fits......................!
real 27.06
user 25.46
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/543259/ft1_filtered_4FGL_J0932.6+5306_daily_bin1771.fits', '/scratch/kocevski/543259/ft2_4FGL_J0932.6+5306_daily_bin1771.fits', expMap='/scratch/kocevski/543259/expmap_698371201_698630401_4FGL_J0932.6+5306_daily_bin1771.fits', expCube='/scratch/kocevski/543259/ltcube_698371201_698630401_4FGL_J0932.6+5306_daily_bin1771.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/543259/Model_4FGL_J0932.6+5306_daily_bin1771.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0932.6+5306'

4FGL J0932.6+5306
   Spectrum: PowerLaw
371    Prefactor:  1.653e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
372        Index:  2.453e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
373        Scale:  7.321e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/543259/ft1_filtered_4FGL_J0932.6+5306_daily_bin1771.fits
Spacecraft file(s): /scratch/kocevski/543259/ft2_4FGL_J0932.6+5306_daily_bin1771.fits
Exposure map: /scratch/kocevski/543259/expmap_698371201_698630401_4FGL_J0932.6+5306_daily_bin1771.fits
Exposure cube: /scratch/kocevski/543259/ltcube_698371201_698630401_4FGL_J0932.6+5306_daily_bin1771.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/543259/Model_4FGL_J0932.6+5306_daily_bin1771.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) = 1471.71225053

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.7353       1.0000          .0000       .10000E+07
     2 'Prefactor '    .16746E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .13739E-01   1.0000          .0000       .10000E+07
     4 'norm      '    .13667E-02   1.0000          .0000       .10000E+07
     5 'norm      '    .56152E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    44.553       1.0000          .0000       .10000E+07
     7 'Prefactor '    10.361       1.0000          .0000       .10000E+07
     8 'norm      '    .12493E-04   1.0000          .0000       .10000E+07
     9 'norm      '    4.4095       1.0000          .0000       .10000E+07
    10 'Prefactor '    .14704E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .40640E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .22482E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    .39513E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    127.05       1.0000          .0000       .10000E+07
    15 'norm      '    .34191       1.0000          .0000       .10000E+07
    16 'Prefactor '    .36445E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .28189E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    21.139       1.0000          .0000       .10000E+07
    19 'norm      '    .94152E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    4.1744       1.0000          .0000       .10000E+07
    21 'norm      '    1.0567       1.0000          .0000       .10000E+07
    22 'norm      '    .32430E-01   1.0000          .0000       .10000E+07
    23 'Prefactor '    .84200E-02   1.0000          .0000       .10000E+07
    24 'norm      '    52.041       1.0000          .0000       .10000E+07
    25 'Prefactor '    .15720E-01   1.0000          .0000       .10000E+07
    26 'norm      '    .19056E-03   1.0000          .0000       .10000E+07
    27 'Prefactor '    .68911       1.0000          .0000       .10000E+07
    28 'norm      '    .25314E-02   1.0000          .0000       .10000E+07
    29 'norm      '    11.399       1.0000          .0000       .10000E+07
    30 'Normalizat'    .86319       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .83775       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1471.473     FROM MIGRAD    STATUS=CONVERGED    251 CALLS     2991 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.7455        12.220        .29740E-07    .62272E-03
   2  Prefactor     .16653E-08    25.720       -.79459E-06** at limit **
   3  Prefactor     .38858E-09    21.039        .85697E-06** at limit **
   4  norm           .0000        3.9933       -.13385E-06** at limit **
   5  norm           .0000        5.5538        .84779E-07** at limit **
   6  Prefactor     46.515        21.259       -.21506E-06    .82969E-01
   7  Prefactor     10.395        17.910        .31116E-05   -.40571E-02
   8  norm           .0000        3.5732        .71765E-07** at limit **
   9  norm          4.4206        2.0474        .10036E-06   -.37500E-02
  10  Prefactor     .48295E-08    28.216       -.14428E-05** at limit **
  11  Prefactor     .73175E-06    45.285       -.10861E-04** at limit **
  12  Prefactor     .16653E-09    16.666        .50557E-07** at limit **
  13  Prefactor      .0000        7.4511        .10507E-06** at limit **
  14  Prefactor     128.70        130.14        .47118E-05   -.25630E-01
  15  norm          .39468E-05    26.094        .70021E-05** at limit **
  16  Prefactor     .42211E-06    270.96       -.32787E-04** at limit **
  17  Prefactor     .31633E-05    102.45       -.11339E-04** at limit **
  18  Prefactor     20.825        21.503       -.20961E-05    .44298E-02
  19  norm          .28311E-08    13.103       -.67930E-06** at limit **
  20  Prefactor     5.7077        178.00       -.26536E-04    .64882E-03
  21  norm          1.0572        1.1827        .15154E-06    .69756E-02
  22  norm          .19373E-07    131.06       -.23635E-05** at limit **
  23  Prefactor     .16098E-07    35.277        .29008E-05** at limit **
  24  norm          52.115        3.3800       -.15570E-06   -.25298E-02
  25  Prefactor     .16653E-08    87.074        .97356E-06** at limit **
  26  norm          .12410E-05    54.986        .62524E-05** at limit **
  27  Prefactor     .40957        111.04       -.26662E-05   -.92717E-02
  28  norm          .27756E-09    4.2816        .38060E-06** at limit **
  29  norm          11.394        13.316       -.75725E-07    .19948E-02
  30  Normalizat    .85758        .42771       -.43807E-07    .13698E-03
  31  Prefactor     .83719        .35523        .77508E-05    .11297E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.74547
  Prefactor  = 1.66533e-09
  Prefactor  = 3.88578e-10
  norm       = 0
  norm       = 0
  Prefactor  = 46.5146
  Prefactor  = 10.3949
  norm       = 0
  norm       = 4.42061
  Prefactor  = 4.82947e-09
  Prefactor  = 7.31748e-07
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  Prefactor  = 128.702
  norm       = 3.94684e-06
  Prefactor  = 4.22107e-07
  Prefactor  = 3.1633e-06
  Prefactor  = 20.825
  norm       = 2.83107e-09
  Prefactor  = 5.70773
  norm       = 1.05721
  norm       = 1.93734e-08
  Prefactor  = 1.60982e-08
  norm       = 52.1148
  Prefactor  = 1.66533e-09
  norm       = 1.24095e-06
  Prefactor  = 0.409566
  norm       = 2.77556e-10
  norm       = 11.3941
  Normalizat = 0.857582
  Prefactor  = 0.837193
 **********
 **   18 **HESSE 
 **********

 FCN=   1471.473     FROM HESSE     STATUS=OK           686 CALLS     3677 TOTAL
                     EDM=   .58E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.7455        12.328        .38639E-03   -1.5656    
   2  Prefactor     .16653E-08    13.921        .44933E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .38858E-09    21.001        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        3.9939        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        5.5583        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     46.515        47.611        .14983E-03   -1.5572    
   7  Prefactor     10.395        125.84        .31104E-03   -1.5643    
   8  norm           .0000        3.5235        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.4206        2.0630        .47935E-03   -1.5666    
  10  Prefactor     .48295E-08    28.077        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .73175E-06    48.114        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .16653E-09    16.645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        7.4540        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     128.70        137.69        .88723E-04   -1.5481    
  15  norm          .39468E-05    198.42        .96551E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .42211E-06    272.17        .16128E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .31633E-05    114.81        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     20.825        41.034        .21756E-03   -1.5617    
  19  norm          .28311E-08    13.083        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.7077        194.31        .49305E-03   -1.5660    
  21  norm          1.0572        1.1862        .96974E-03   -1.5687    
  22  norm          .19373E-07    130.62        .16325E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .16098E-07    39.422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          52.115        51.456        .13863E-03   -1.5564    
  25  Prefactor     .16653E-08    87.101        .17336E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .12410E-05    58.221        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .40957        119.66        .99107E-02   -1.5695    
  28  norm          .27756E-09    4.2884        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          11.394        13.502        .29648E-03   -1.5640    
  30  Normalizat    .85758        .41827        .65715E-01   -.97967    
  31  Prefactor     .83719        .31840        .44207E-01   -.98372    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.80932e-07
Minuit parameter uncertainties:
  1  12.328
  2  0.000305036
  3  0.000184492
  4  1.70016e-06
  5  1.70563e-05
  6  47.611
  7  72.3377
  8  8.90517e-06
  9  2.06296
  10  0.000735466
  11  0.011867
  12  0.000100151
  13  1.553e-05
  14  137.695
  15  0.0559712
  16  0.0214372
  17  0.0381158
  18  41.0344
  19  0.000384648
  20  66.6076
  21  1.18616
  22  0.00318224
  23  0.001593
  24  51.4564
  25  0.000760642
  26  0.0170001
  27  14.0018
  28  7.01566e-05
  29  13.5022
  30  0.419864
  31  0.319106
Done.

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

Extracting fit parameters...

4FGL J0932.6+5306
   Spectrum: PowerLaw
371    Prefactor:  0.000e+00  1.553e-05  0.000e+00  1.000e+06 ( 1.000e-12)
372        Index:  2.453e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
373        Scale:  7.321e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
739    Prefactor:  8.372e-01  3.191e-01  0.000e+00  1.000e+01 ( 1.000e+00)
740        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
741        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
738   Normalization:  8.576e-01  4.199e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 143.159 53.101
Photon Flux Upper Limit: 2.94e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.28e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/543259/likelihoodResults_698371201_698630401_4FGL_J0932.6+5306_daily_bin1771.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) = 1471.47319266
delta logL = -0.000145366901734

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1471.47304799
delta logL = -6.94100663168e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52930E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.0450       1.0000          .0000       10.000    
     3 'Normalizat'    .85735       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83752       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1471.473     FROM MIGRAD    STATUS=CONVERGED     28 CALLS      236 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44409E-08    7.6930       -.39466E-05** at limit **
   2  Index         2.9496        6.4691        .25407E-03    .17361E-09
   3  Normalizat    .85757        .42019       -.13895E-03    .64531E-05
   4  Prefactor     .83720        .34846        .93841E-04    .19938E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.44089e-09
  Index      = 2.94961
  Normalizat = 0.857569
  Prefactor  = 0.837202
 **********
 **   18 **HESSE 
 **********

 FCN=   1471.473     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      271 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44409E-08    .63983        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.9496        8.4573        .40210       -.42254    
   3  Normalizat    .85757        .28183E-02    .65716E-01   -.97968    
   4  Prefactor     .83720        .23612E-02    .44204E-01   -.98371    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.44453e-11
Minuit parameter uncertainties:
  1  0.000106481
  2  11221.8
  3  0.00281827
  4  0.00236117
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/543259': 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) = 1471.4730473
delta logL = -5.33873389941e-10

Extracting fit parameters...

4FGL J0932.6+5306
   Spectrum: PowerLaw
371    Prefactor:  4.441e-09  1.065e-04  0.000e+00  1.000e+06 ( 1.000e-12)
372        Index:  2.950e+00  1.122e+04  0.000e+00  1.000e+01 (-1.000e+00)
373        Scale:  7.321e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
739    Prefactor:  8.372e-01  2.361e-03  0.000e+00  1.000e+01 ( 1.000e+00)
740        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
741        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
738   Normalization:  8.576e-01  2.818e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 143.159 53.101

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/543259/cmap_HighResolution_698371201_698630401_4FGL_J0932.6+5306_daily_bin1771.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.28e-02', job_status='DONE', photon_flux_upper_limit='2.94e-07', time_completed='2023-02-21 00:44:47.320910', job_id='543259', GAL2='0.84', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1676969087.32', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='-5.34e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='1771' AND source_name='4FGL J0932.6+5306' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Feb 21 00:44:47 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0056>
Subject: Job 543259: <4FGL_J0932.6+5306_daily_bin1771> in cluster <slac> Done

Job <4FGL_J0932.6+5306_daily_bin1771> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Feb 21 00:35:10 2023
Job was executed on host(s) <bullet0056>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 00:35:11 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 00:35:11 2023
Terminated at Tue Feb 21 00:44:48 2023
Results reported at Tue Feb 21 00:44:48 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0932.6+5306_daily_bin1771 143.159 53.1008 698371201 698630401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0932.6+5306 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   463.24 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             257.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   576 sec.
    Turnaround time :                            578 sec.

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

