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 219 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_J0942.3-0800_daily_bin1754
RA = 145.586, Dec = -8.0076
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='640542', job_status='RUN', time_executed='2023-01-01 01:04:41.348694', time_epoch_executed='1672563881.35' WHERE source_name='4FGL J0942.3-0800' and cadence='daily' and bin_id='1754'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/640542

Creating custom pfile directory:
/scratch/kocevski/640542/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/640542/ft1_4FGL_J0942.3-0800_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/640542/ft2_4FGL_J0942.3-0800_daily_bin1754.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/640542/ft1_4FGL_J0942.3-0800_daily_bin1754.fits outfile=/scratch/kocevski/640542/ft1_filteredMKT_4FGL_J0942.3-0800_daily_bin1754.fits ra=145.586 dec=-8.0076 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 3.96
user 3.70
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/640542/ft2_4FGL_J0942.3-0800_daily_bin1754.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/640542/ft2_4FGL_J0942.3-0800_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/640542/ft1_filteredMKT_4FGL_J0942.3-0800_daily_bin1754.fits evtable="EVENTS" outfile="/scratch/kocevski/640542/ft1_filtered_4FGL_J0942.3-0800_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.52
user 0.35
sys 0.16

Number of photons that the gtmktime cut: 354

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/640542/ft1_filtered_4FGL_J0942.3-0800_daily_bin1754.fits" evtable="EVENTS" scfile=/scratch/kocevski/640542/ft2_4FGL_J0942.3-0800_daily_bin1754.fits sctable="SC_DATA" outfile=/scratch/kocevski/640542/ltcube_693964801_694224001_4FGL_J0942.3-0800_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/640542/ft2_4FGL_J0942.3-0800_daily_bin1754.fits
.....................!
real 15.01
user 14.51
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/640542/ft1_filtered_4FGL_J0942.3-0800_daily_bin1754.fits evtable="EVENTS" scfile=/scratch/kocevski/640542/ft2_4FGL_J0942.3-0800_daily_bin1754.fits sctable="SC_DATA" expcube=/scratch/kocevski/640542/ltcube_693964801_694224001_4FGL_J0942.3-0800_daily_bin1754.fits outfile=/scratch/kocevski/640542/expmap_693964801_694224001_4FGL_J0942.3-0800_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/640542/ltcube_693964801_694224001_4FGL_J0942.3-0800_daily_bin1754.fits
.....................!
real 195.28
user 187.96
sys 5.72

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

Setting source of interest to:
4FGL J0942.3-0800 @ 145.586 -8.0076

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/640542/ft1_filtered_4FGL_J0942.3-0800_daily_bin1754.fits scfile=/scratch/kocevski/640542/ft2_4FGL_J0942.3-0800_daily_bin1754.fits outfile=/scratch/kocevski/640542/cmap_693964801_694224001_4FGL_J0942.3-0800_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=145.586 yref=-8.0076 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.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/640542/ft1_filtered_4FGL_J0942.3-0800_daily_bin1754.fits scfile=/scratch/kocevski/640542/ft2_4FGL_J0942.3-0800_daily_bin1754.fits outfile=/scratch/kocevski/640542/cmap_HighResolution_693964801_694224001_4FGL_J0942.3-0800_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=145.586 yref=-8.0076 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/640542/ft1_filtered_4FGL_J0942.3-0800_daily_bin1754.fits evtable="EVENTS" scfile=/scratch/kocevski/640542/ft2_4FGL_J0942.3-0800_daily_bin1754.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/640542/Model_4FGL_J0942.3-0800_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/640542/ft1_filtered_4FGL_J0942.3-0800_daily_bin1754.fits.....................!
real 47.63
user 46.14
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/640542/ft1_filtered_4FGL_J0942.3-0800_daily_bin1754.fits', '/scratch/kocevski/640542/ft2_4FGL_J0942.3-0800_daily_bin1754.fits', expMap='/scratch/kocevski/640542/expmap_693964801_694224001_4FGL_J0942.3-0800_daily_bin1754.fits', expCube='/scratch/kocevski/640542/ltcube_693964801_694224001_4FGL_J0942.3-0800_daily_bin1754.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/640542/Model_4FGL_J0942.3-0800_daily_bin1754.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0942.3-0800'

4FGL J0942.3-0800
   Spectrum: LogParabola
239         norm:  1.319e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
240        alpha:  2.008e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
241         beta:  1.442e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
242           Eb:  9.432e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/640542/ft1_filtered_4FGL_J0942.3-0800_daily_bin1754.fits
Spacecraft file(s): /scratch/kocevski/640542/ft2_4FGL_J0942.3-0800_daily_bin1754.fits
Exposure map: /scratch/kocevski/640542/expmap_693964801_694224001_4FGL_J0942.3-0800_daily_bin1754.fits
Exposure cube: /scratch/kocevski/640542/ltcube_693964801_694224001_4FGL_J0942.3-0800_daily_bin1754.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/640542/Model_4FGL_J0942.3-0800_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) = 4048.72435303

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .23342E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .20023E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .34925E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .55835E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .18506E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    76.289       1.0000          .0000       .10000E+07
     7 'Prefactor '    .72929E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .29818E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .14426E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .10924E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .11441       1.0000          .0000       .10000E+07
    12 'norm      '    .22237E-05   1.0000          .0000       .10000E+07
    13 'norm      '    .17991E-04   1.0000          .0000       .10000E+07
    14 'norm      '    .13432E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    90.465       1.0000          .0000       .10000E+07
    16 'Prefactor '    10.611       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1328       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0253       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5220E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4048.717     FROM MIGRAD    STATUS=CONVERGED    184 CALLS     1455 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.7838        .36463E-07** at limit **
   2  Prefactor     .55511E-10    4.4466        .22198E-06** at limit **
   3  Prefactor      .0000        4.3061       -.99673E-07** at limit **
   4  norm           .0000        2.7768        .99587E-07** at limit **
   5  Prefactor      .0000        19.638       -.16412E-06** at limit **
   6  Prefactor     78.060        57.878       -.26578E-06    .83090E-01
   7  Prefactor     .79814E-06    105.61       -.79630E-06** at limit **
   8  Prefactor      .0000        12.465       -.12293E-06** at limit **
   9  Prefactor      .0000        7.7351       -.83366E-07** at limit **
  10  norm          .55511E-10    6.8877        .25916E-06** at limit **
  11  norm          .78629E-01    39.813        .22184E-06** at limit **
  12  norm           .0000        .65959       -.10856E-07** at limit **
  13  norm          .55511E-10    5.5916        .64879E-07** at limit **
  14  norm           .0000        5.3132        .86194E-08** at limit **
  15  Prefactor     92.767        80.698       -.32420E-06   -.52790E-02
  16  Prefactor     10.437        17.113        .22201E-06    .10246    
  17  Normalizat    1.1296        .30410        .56323E-05    .97081E-04
  18  Prefactor     1.0262        .20315       -.14979E-05    .10167E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 78.0605
  Prefactor  = 7.98139e-07
  Prefactor  = 0
  Prefactor  = 0
  norm       = 5.55112e-11
  norm       = 0.0786288
  norm       = 0
  norm       = 5.55112e-11
  norm       = 0
  Prefactor  = 92.7666
  Prefactor  = 10.4369
  Normalizat = 1.12962
  Prefactor  = 1.02616
 **********
 **   18 **HESSE 
 **********

 FCN=   4048.717     FROM HESSE     STATUS=OK           282 CALLS     1737 TOTAL
                     EDM=   .22E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.7878        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-10    4.4371        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        4.3027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        2.7809        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        19.558        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     78.060        63.468        .11450E-03   -1.5531    
   7  Prefactor     .79814E-06    105.52        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        12.451        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        7.7295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .55511E-10    6.8622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .78629E-01    2.6782        .64029E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        .64129        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .55511E-10    1.3610        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        5.3254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     92.767        83.033        .10514E-03   -1.5515    
  16  Prefactor     10.437        42.771        .30733E-03   -1.5643    
  17  Normalizat    1.1296        .25743        .65176E-01   -.88806    
  18  Prefactor     1.0262        .17097        .41653E-01   -.91863    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.22567e-06
Minuit parameter uncertainties:
  1  3.37325e-06
  2  2.5267e-05
  3  1.8955e-05
  4  1.12355e-05
  5  1.03049e-05
  6  63.4688
  7  0.0183541
  8  3.09072e-05
  9  6.45765e-07
  10  4.71427e-05
  11  0.917783
  12  4.16712e-07
  13  1.54032e-05
  14  2.22386e-05
  15  83.034
  16  42.2567
  17  0.257716
  18  0.171059
Done.

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

Extracting fit parameters...

4FGL J0942.3-0800
   Spectrum: LogParabola
239         norm:  7.863e-02  9.178e-01  0.000e+00  1.000e+06 ( 1.000e-12)
240        alpha:  2.008e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
241         beta:  1.442e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
242           Eb:  9.432e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  1.026e+00  1.711e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.130e+00  2.577e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 145.586 -8.008
Photon Flux Upper Limit: 7.45e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.22e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/640542/likelihoodResults_693964801_694224001_4FGL_J0942.3-0800_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): 102
logL (Free Index) = 4048.71706736
delta logL = 1.72366935658e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4048.71704529
delta logL = 2.38002685364e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .75378E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    2.0426       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1296       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0262       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5220E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4048.717     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      368 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .81391E-01    58.521        .62793E-02** at limit **
   2  alpha         2.0519        3.5214        .42057        .93043E-05
   3  Normalizat    1.1296        .31919E-01    .65177E-01   -.49341E-04
   4  Prefactor     1.0261        .21820E-01    .41573E-01   -.51048E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0813914
  alpha      = 2.05187
  Normalizat = 1.12961
  Prefactor  = 1.02615
 **********
 **   18 **HESSE 
 **********

 FCN=   4048.717     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      403 TOTAL
                     EDM=   .50E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .81391E-01    6715.8        .20015E-03   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0519        3.4877        .12999       -.18022    
   3  Normalizat    1.1296        .15011        .28832E-03   -.88807    
   4  Prefactor     1.0261        .14091        .20440E-03   -.91863    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.96826e-08
Minuit parameter uncertainties:
  1  46.8117
  2  80.0778
  3  0.150162
  4  0.140958
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/640542': 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) = 4048.71704253
delta logL = 2.655682556e-05

Extracting fit parameters...

4FGL J0942.3-0800
   Spectrum: LogParabola
239         norm:  8.139e-02  4.681e+01  0.000e+00  1.000e+06 ( 1.000e-12)
240        alpha:  2.052e+00  8.008e+01  0.000e+00  5.000e+00 ( 1.000e+00)
241         beta:  1.442e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
242           Eb:  9.432e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  1.026e+00  1.410e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.130e+00  1.502e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 145.586 -8.008

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/640542/cmap_HighResolution_693964801_694224001_4FGL_J0942.3-0800_daily_bin1754.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.22e-05', job_status='DONE', photon_flux_upper_limit='7.45e-08', time_completed='2023-01-01 01:12:19.484866', job_id='640542', GAL2='1.03', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1672564339.48', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='2.66e-05', ts2='0.00', photon_index_error='0.00', photon_index='2.01' WHERE bin_id='1754' AND source_name='4FGL J0942.3-0800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan  1 01:12:19 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0276>
Subject: Job 640542: <4FGL_J0942.3-0800_daily_bin1754> in cluster <slac> Done

Job <4FGL_J0942.3-0800_daily_bin1754> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Jan  1 01:00:16 2023
Job was executed on host(s) <bullet0276>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan  1 01:00:53 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan  1 01:00:53 2023
Terminated at Sun Jan  1 01:12:20 2023
Results reported at Sun Jan  1 01:12:20 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0942.3-0800_daily_bin1754 145.586 -8.0076 693964801 694224001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0942.3-0800 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   459.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             278.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   686 sec.
    Turnaround time :                            724 sec.

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

