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


Performing analysis on: 4FGL_J0932.6+5306_daily_bin1754
RA = 143.159, Dec = 53.1008
tmin = 693964801, tmax = 694224001
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='639363', job_status='RUN', time_executed='2023-01-01 01:00:20.772758', time_epoch_executed='1672563620.77' WHERE source_name='4FGL J0932.6+5306' and cadence='daily' and bin_id='1754'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/639363

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/639363/ft1_4FGL_J0932.6+5306_daily_bin1754.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/639363/ft2_4FGL_J0932.6+5306_daily_bin1754.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/639363/ft1_4FGL_J0932.6+5306_daily_bin1754.fits outfile=/scratch/kocevski/639363/ft1_filteredMKT_4FGL_J0932.6+5306_daily_bin1754.fits ra=143.159 dec=53.1008 rad=12.0 tmin=693964801.0 tmax=694224001.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 4.02
user 3.73
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/639363/ft2_4FGL_J0932.6+5306_daily_bin1754.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/639363/ft1_filteredMKT_4FGL_J0932.6+5306_daily_bin1754.fits evtable="EVENTS" outfile="/scratch/kocevski/639363/ft1_filtered_4FGL_J0932.6+5306_daily_bin1754.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.54
user 0.36
sys 0.16

Number of photons that the gtmktime cut: 270

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/639363/ft1_filtered_4FGL_J0932.6+5306_daily_bin1754.fits evtable="EVENTS" scfile=/scratch/kocevski/639363/ft2_4FGL_J0932.6+5306_daily_bin1754.fits sctable="SC_DATA" expcube=/scratch/kocevski/639363/ltcube_693964801_694224001_4FGL_J0932.6+5306_daily_bin1754.fits outfile=/scratch/kocevski/639363/expmap_693964801_694224001_4FGL_J0932.6+5306_daily_bin1754.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/639363/ltcube_693964801_694224001_4FGL_J0932.6+5306_daily_bin1754.fits
.....................!
real 193.79
user 187.66
sys 4.78

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/639363/ft1_filtered_4FGL_J0932.6+5306_daily_bin1754.fits scfile=/scratch/kocevski/639363/ft2_4FGL_J0932.6+5306_daily_bin1754.fits outfile=/scratch/kocevski/639363/cmap_693964801_694224001_4FGL_J0932.6+5306_daily_bin1754.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.59
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/639363/ft1_filtered_4FGL_J0932.6+5306_daily_bin1754.fits scfile=/scratch/kocevski/639363/ft2_4FGL_J0932.6+5306_daily_bin1754.fits outfile=/scratch/kocevski/639363/cmap_HighResolution_693964801_694224001_4FGL_J0932.6+5306_daily_bin1754.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.60
user 0.42
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/639363/ft1_filtered_4FGL_J0932.6+5306_daily_bin1754.fits', '/scratch/kocevski/639363/ft2_4FGL_J0932.6+5306_daily_bin1754.fits', expMap='/scratch/kocevski/639363/expmap_693964801_694224001_4FGL_J0932.6+5306_daily_bin1754.fits', expCube='/scratch/kocevski/639363/ltcube_693964801_694224001_4FGL_J0932.6+5306_daily_bin1754.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/639363/Model_4FGL_J0932.6+5306_daily_bin1754.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/639363/ft1_filtered_4FGL_J0932.6+5306_daily_bin1754.fits
Spacecraft file(s): /scratch/kocevski/639363/ft2_4FGL_J0932.6+5306_daily_bin1754.fits
Exposure map: /scratch/kocevski/639363/expmap_693964801_694224001_4FGL_J0932.6+5306_daily_bin1754.fits
Exposure cube: /scratch/kocevski/639363/ltcube_693964801_694224001_4FGL_J0932.6+5306_daily_bin1754.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/639363/Model_4FGL_J0932.6+5306_daily_bin1754.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) = 2858.21582489

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .94304E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    30.554       1.0000          .0000       .10000E+07
     3 'Prefactor '    7.5982       1.0000          .0000       .10000E+07
     4 'norm      '    .64587E-06   1.0000          .0000       .10000E+07
     5 'norm      '    .22014E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    7.0069       1.0000          .0000       .10000E+07
     7 'Prefactor '    .60623       1.0000          .0000       .10000E+07
     8 'norm      '    .40534E-06   1.0000          .0000       .10000E+07
     9 'norm      '    .87445E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    7.0057       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.4038       1.0000          .0000       .10000E+07
    12 'Prefactor '    5.2100       1.0000          .0000       .10000E+07
    13 'Prefactor '    .70183E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    5.1453       1.0000          .0000       .10000E+07
    15 'norm      '    .54896E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .67132       1.0000          .0000       .10000E+07
    17 'Prefactor '    .50848E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    19.487       1.0000          .0000       .10000E+07
    19 'norm      '    .68811E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .50035E-02   1.0000          .0000       .10000E+07
    21 'norm      '    1.7508       1.0000          .0000       .10000E+07
    22 'norm      '    .86320E-07   1.0000          .0000       .10000E+07
    23 'Prefactor '    .76870E-05   1.0000          .0000       .10000E+07
    24 'norm      '    3.9494       1.0000          .0000       .10000E+07
    25 'Prefactor '    .11850E-02   1.0000          .0000       .10000E+07
    26 'norm      '    .71336E-04   1.0000          .0000       .10000E+07
    27 'Prefactor '    .64788       1.0000          .0000       .10000E+07
    28 'norm      '    9.4177       1.0000          .0000       .10000E+07
    29 'norm      '    .26538E-05   1.0000          .0000       .10000E+07
    30 'Normalizat'    .67986       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.1226       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=   2858.105     FROM MIGRAD    STATUS=CONVERGED    213 CALLS     2343 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .94369E-09    6.9157       -.11653E-06** at limit **
   2  Prefactor     30.524        3.1305        .20025E-07    .14422E-01
   3  Prefactor     7.6039        8.4403       -.13086E-07   -.67440E-03
   4  norm           .0000        2.2835        .76040E-07** at limit **
   5  norm           .0000        2.2381        .49001E-07** at limit **
   6  Prefactor     7.0273        1.5016        .26124E-07    .68023E-02
   7  Prefactor     .29115        166.69       -.31850E-05    .16668E-01
   8  norm           .0000        .45776       -.70239E-07** at limit **
   9  norm           .0000        1.0750        .45289E-07** at limit **
  10  Prefactor     6.9679        4.7212       -.42822E-08    .46231E-03
  11  Prefactor     2.4055        4.4817       -.32416E-07   -.75157E-05
  12  Prefactor     5.2116        3.1973        .36422E-07   -.10610E-01
  13  Prefactor      .0000        3.1378        .43757E-07** at limit **
  14  Prefactor     5.1832        2.2591        .35824E-08   -.10994E-02
  15  norm          .21094E-08    12.577       -.63798E-07** at limit **
  16  Prefactor     1.2662        222.42        .38979E-05    .12725E-01
  17  Prefactor     .48575E-05    20.838        .46496E-06** at limit **
  18  Prefactor     19.501        10.521       -.40313E-07    .75757E-02
  19  norm          .52180E-08    7.0125       -.18020E-07** at limit **
  20  Prefactor     .23315E-08    11.338        .16159E-06** at limit **
  21  norm          1.7509        .85256        .99497E-08    .23763E-03
  22  norm           .0000        7.7234        .51801E-07** at limit **
  23  Prefactor      .0000        3.1974        .77509E-07** at limit **
  24  norm          3.9491        2.9396        .35092E-08   -.30020E-03
  25  Prefactor     .16950E-05    33.768        .69048E-06** at limit **
  26  norm          .50404E-06    28.530       -.58781E-07** at limit **
  27  Prefactor     .49169E-05    102.58       -.70917E-06** at limit **
  28  norm          9.4843        4.6546       -.46948E-07    .56192E-03
  29  norm           .0000        1.0421        .53076E-07** at limit **
  30  Normalizat    .68058        .26199       -.30788E-05    .16202E-04
  31  Prefactor     1.1225        .27639        .28791E-05    .60451E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.4369e-10
  Prefactor  = 30.5238
  Prefactor  = 7.60387
  norm       = 0
  norm       = 0
  Prefactor  = 7.02727
  Prefactor  = 0.291148
  norm       = 0
  norm       = 0
  Prefactor  = 6.96791
  Prefactor  = 2.40545
  Prefactor  = 5.21164
  Prefactor  = 0
  Prefactor  = 5.18321
  norm       = 2.10942e-09
  Prefactor  = 1.26621
  Prefactor  = 4.8575e-06
  Prefactor  = 19.5014
  norm       = 5.21805e-09
  Prefactor  = 2.33147e-09
  norm       = 1.75086
  norm       = 0
  Prefactor  = 0
  norm       = 3.94912
  Prefactor  = 1.69503e-06
  norm       = 5.04041e-07
  Prefactor  = 4.9169e-06
  norm       = 9.48434
  norm       = 0
  Normalizat = 0.680576
  Prefactor  = 1.12249
 **********
 **   18 **HESSE 
 **********

 FCN=   2858.105     FROM HESSE     STATUS=OK           690 CALLS     3033 TOTAL
                     EDM=   .50E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .94369E-09    6.9898        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     30.524        11.988        .18094E-03   -1.5597    
   3  Prefactor     7.6039        8.5185        .36357E-03   -1.5653    
   4  norm           .0000        2.2845        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        2.2419        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.0273        13.729        .37875E-03   -1.5655    
   7  Prefactor     .29115        54.638        .94582E-02   -1.5697    
   8  norm           .0000        .45689        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.0552        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.9679        4.7575        .37878E-03   -1.5655    
  11  Prefactor     2.4055        4.5362        .66012E-03   -1.5677    
  12  Prefactor     5.2116        17.422        .44016E-03   -1.5662    
  13  Prefactor      .0000        3.1422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.1832        40.370        .44297E-03   -1.5662    
  15  norm          .21094E-08    12.643        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.2662        303.58        .63067E-03   -1.5685    
  17  Prefactor     .48575E-05    39.112        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     19.501        11.978        .22661E-03   -1.5620    
  19  norm          .52180E-08    7.1131        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .23315E-08    11.391        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.7509        .85205        .75435E-03   -1.5681    
  22  norm           .0000        7.7244        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor      .0000        3.2030        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          3.9491        2.9382        .50735E-03   -1.5668    
  25  Prefactor     .16950E-05    43.038        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .50404E-06    30.169        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .49169E-05    132.60        .65044E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          9.4843        4.6716        .32632E-03   -1.5646    
  29  norm           .0000        1.0416        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .68058        .24221        .61422E-01   -1.0466    
  31  Prefactor     1.1225        .24382        .53538E-01   -.88751    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.99831e-07
Minuit parameter uncertainties:
  1  0.000162961
  2  11.9884
  3  8.5185
  4  5.46172e-07
  5  1.39184e-06
  6  13.7288
  7  7.97696
  8  6.58429e-07
  9  4.42314e-07
  10  4.75745
  11  4.5362
  12  17.4219
  13  1.083e-06
  14  28.931
  15  0.000325095
  16  39.2143
  17  0.0275674
  18  11.9779
  19  0.000385497
  20  0.000325771
  21  0.852047
  22  2.71885e-05
  23  2.32846e-07
  24  2.93821
  25  0.0170826
  26  0.00779922
  27  0.0510692
  28  4.67164
  29  3.16376e-07
  30  0.242587
  31  0.244066
Done.

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

Extracting fit parameters...

4FGL J0932.6+5306
   Spectrum: PowerLaw
371    Prefactor:  0.000e+00  1.083e-06  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:  1.122e+00  2.441e-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:  6.806e-01  2.426e-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: 1.11e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.61e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/639363/likelihoodResults_693964801_694224001_4FGL_J0932.6+5306_daily_bin1754.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) = 2858.10616706
delta logL = -0.000802046255103

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2858.10536513
delta logL = -1.24930011225e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   2858.105     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      252 TOTAL
                     EDM=   .99E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.9803        .42118E-03** at limit **
   2  Index         3.3705        1.8990       -.47792E-05     .0000    
   3  Normalizat    .68058        1.0201        .10126E-03    .44209E-03
   4  Prefactor     1.1225        1.1354       -.69166E-04    .12647E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.37048
  Normalizat = 0.680584
  Prefactor  = 1.12249
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   2858.105     FROM HESSE     STATUS=FAILED         9 CALLS      261 TOTAL
                     EDM=   .99E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.9803        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2702        2.2375       -.47792E-05   -.33197    
   3  Normalizat    .68058        1.0201        .10126E-03   -1.0466    
   4  Prefactor     1.1225        1.1354       -.69166E-04   -.88751    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.85994e-10
Minuit parameter uncertainties:
  1  9.30452e-06
  2  1.95419
  3  1.05076
  4  1.16139
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/639363': 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): 101
logL (Free Index) = 2858.10536501
delta logL = -6.09361450188e-10

Extracting fit parameters...

4FGL J0932.6+5306
   Spectrum: PowerLaw
371    Prefactor:  0.000e+00  9.305e-06  0.000e+00  1.000e+06 ( 1.000e-12)
372        Index:  3.370e+00  1.954e+00  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:  1.122e+00  1.161e+00  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:  6.806e-01  1.051e+00  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/639363/cmap_HighResolution_693964801_694224001_4FGL_J0932.6+5306_daily_bin1754.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.61e-03', job_status='DONE', photon_flux_upper_limit='1.11e-07', time_completed='2023-01-01 01:10:04.778925', job_id='639363', GAL2='1.12', fit_tolerance='1e-08', EG2='0.68', EG='0.68', time_epoch_completed='1672564204.78', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='-6.09e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='1754' AND source_name='4FGL J0932.6+5306' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan  1 01:10:04 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0053>
Subject: Job 639363: <4FGL_J0932.6+5306_daily_bin1754> in cluster <slac> Done

Job <4FGL_J0932.6+5306_daily_bin1754> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Jan  1 00:55:22 2023
Job was executed on host(s) <bullet0053>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan  1 00:57:29 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan  1 00:57:29 2023
Terminated at Sun Jan  1 01:10:05 2023
Results reported at Sun Jan  1 01:10:05 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0932.6+5306_daily_bin1754 143.159 53.1008 693964801 694224001 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 :                                   584.06 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             279.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   756 sec.
    Turnaround time :                            883 sec.

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

