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 30 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J0312.8+0134_daily_bin1707
RA = 48.2222, Dec = 1.5724
tmin = 681782401, tmax = 682041601
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='542413', job_status='RUN', time_executed='2022-08-13 00:05:56.516301', time_epoch_executed='1660374356.52' WHERE source_name='4FGL J0312.8+0134' and cadence='daily' and bin_id='1707'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/542413

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/542413/ft1_4FGL_J0312.8+0134_daily_bin1707.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/542413/ft2_4FGL_J0312.8+0134_daily_bin1707.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/542413/ft1_4FGL_J0312.8+0134_daily_bin1707.fits outfile=/scratch/kocevski/542413/ft1_filteredMKT_4FGL_J0312.8+0134_daily_bin1707.fits ra=48.2222 dec=1.5724 rad=12.0 tmin=681782401.0 tmax=682041601.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 13.28
user 5.18
sys 0.26

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/542413/ft2_4FGL_J0312.8+0134_daily_bin1707.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/542413/ft2_4FGL_J0312.8+0134_daily_bin1707.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/542413/ft1_filteredMKT_4FGL_J0312.8+0134_daily_bin1707.fits evtable="EVENTS" outfile="/scratch/kocevski/542413/ft1_filtered_4FGL_J0312.8+0134_daily_bin1707.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 1.24
user 0.32
sys 0.17

Number of photons that the gtmktime cut: 802

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/542413/ft1_filtered_4FGL_J0312.8+0134_daily_bin1707.fits" evtable="EVENTS" scfile=/scratch/kocevski/542413/ft2_4FGL_J0312.8+0134_daily_bin1707.fits sctable="SC_DATA" outfile=/scratch/kocevski/542413/ltcube_681782401_682041601_4FGL_J0312.8+0134_daily_bin1707.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/542413/ft2_4FGL_J0312.8+0134_daily_bin1707.fits
.....................!
real 11.96
user 11.28
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/542413/ft1_filtered_4FGL_J0312.8+0134_daily_bin1707.fits evtable="EVENTS" scfile=/scratch/kocevski/542413/ft2_4FGL_J0312.8+0134_daily_bin1707.fits sctable="SC_DATA" expcube=/scratch/kocevski/542413/ltcube_681782401_682041601_4FGL_J0312.8+0134_daily_bin1707.fits outfile=/scratch/kocevski/542413/expmap_681782401_682041601_4FGL_J0312.8+0134_daily_bin1707.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/542413/ltcube_681782401_682041601_4FGL_J0312.8+0134_daily_bin1707.fits
.....................!
real 192.35
user 186.13
sys 4.96

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

Setting source of interest to:
4FGL J0312.8+0134 @ 48.2222 1.5724

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/542413/ft1_filtered_4FGL_J0312.8+0134_daily_bin1707.fits scfile=/scratch/kocevski/542413/ft2_4FGL_J0312.8+0134_daily_bin1707.fits outfile=/scratch/kocevski/542413/cmap_681782401_682041601_4FGL_J0312.8+0134_daily_bin1707.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=48.2222 yref=1.5724 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 5.84
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/542413/ft1_filtered_4FGL_J0312.8+0134_daily_bin1707.fits scfile=/scratch/kocevski/542413/ft2_4FGL_J0312.8+0134_daily_bin1707.fits outfile=/scratch/kocevski/542413/cmap_HighResolution_681782401_682041601_4FGL_J0312.8+0134_daily_bin1707.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=48.2222 yref=1.5724 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 5.46
user 0.39
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/542413/ft1_filtered_4FGL_J0312.8+0134_daily_bin1707.fits evtable="EVENTS" scfile=/scratch/kocevski/542413/ft2_4FGL_J0312.8+0134_daily_bin1707.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/542413/Model_4FGL_J0312.8+0134_daily_bin1707.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/542413/ft1_filtered_4FGL_J0312.8+0134_daily_bin1707.fits.....................!
real 136.05
user 103.13
sys 1.52

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/542413/ft1_filtered_4FGL_J0312.8+0134_daily_bin1707.fits', '/scratch/kocevski/542413/ft2_4FGL_J0312.8+0134_daily_bin1707.fits', expMap='/scratch/kocevski/542413/expmap_681782401_682041601_4FGL_J0312.8+0134_daily_bin1707.fits', expCube='/scratch/kocevski/542413/ltcube_681782401_682041601_4FGL_J0312.8+0134_daily_bin1707.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/542413/Model_4FGL_J0312.8+0134_daily_bin1707.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0312.8+0134'

4FGL J0312.8+0134
   Spectrum: PowerLaw
302    Prefactor:  4.030e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
303        Index:  2.327e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
304        Scale:  1.257e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/542413/ft1_filtered_4FGL_J0312.8+0134_daily_bin1707.fits
Spacecraft file(s): /scratch/kocevski/542413/ft2_4FGL_J0312.8+0134_daily_bin1707.fits
Exposure map: /scratch/kocevski/542413/expmap_681782401_682041601_4FGL_J0312.8+0134_daily_bin1707.fits
Exposure cube: /scratch/kocevski/542413/ltcube_681782401_682041601_4FGL_J0312.8+0134_daily_bin1707.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/542413/Model_4FGL_J0312.8+0134_daily_bin1707.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) = 8534.06222904

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    17.254       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    75.131       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    50.479       1.0000         .10000E-03   10000.    
     8 'norm      '    3.7302       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.3075       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    24.737       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.5111       1.0000         .10000E-03   10000.    
    15 'Prefactor '    21.687       1.0000         .10000E-03   10000.    
    16 'norm      '    .10104E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.0975       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0791       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5160E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8534.057     FROM MIGRAD    STATUS=CONVERGED    330 CALLS     1680 TOTAL
                     EDM=   .93E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.4911       -.32827E-06** at limit **
   2  Prefactor     .10000E-03    5.8444       -.57863E-07** at limit **
   3  Prefactor     17.246        19.936        .69959E-06   -.17764E-03
   4  Prefactor     .10000E-03    5.3228        .18181E-06** at limit **
   5  Prefactor     75.140        57.233       -.56347E-06    .68973E-04
   6  Prefactor     .10000E-03    2.5857       -.88451E-07** at limit **
   7  norm          50.479        17.423       -.40018E-06   -.10002E-04
   8  norm          3.7295        4.5840        .27295E-05   -.18966E-04
   9  Prefactor     .10000E-03    5.7013        .13667E-06** at limit **
  10  Prefactor     6.3075        4.7230       -.53479E-08    .22998E-04
  11  norm          .10000E-03    5.0501        .62677E-07** at limit **
  12  Prefactor     .10000E-03    7.2251        .36962E-06** at limit **
  13  Prefactor     24.740        21.638       -.33504E-06    .71941E-04
  14  Prefactor     5.5104        4.5758        .77326E-08    .32180E-04
  15  Prefactor     21.686        14.662        .20502E-06   -.51579E-04
  16  norm          .10000E-03    .59303        .32121E-06** at limit **
  17  Normalizat    1.0973        .20496        .98872E-07    .64303E-06
  18  Prefactor     1.0793        .88317E-01   -.56645E-06   -.83378E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.2464
  Prefactor  = 0.0001
  Prefactor  = 75.1396
  Prefactor  = 0.0001
  norm       = 50.4786
  norm       = 3.72954
  Prefactor  = 0.0001
  Prefactor  = 6.30754
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.7404
  Prefactor  = 5.51037
  Prefactor  = 21.6858
  norm       = 0.0001
  Normalizat = 1.09726
  Prefactor  = 1.07925
 **********
 **   18 **HESSE 
 **********

 FCN=   8534.057     FROM HESSE     STATUS=OK           246 CALLS     1926 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.5070        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.8801        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     17.246        20.097        .96423E-04   -1.4877    
   4  Prefactor     .10000E-03    5.3376        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     75.140        57.372        .23162E-03   -1.3972    
   6  Prefactor     .10000E-03    2.5991        .14506E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          50.479        17.426        .56445E-04   -1.4286    
   8  norm          3.7295        4.6056        .10429E-02   -1.5322    
   9  Prefactor     .10000E-03    5.7259        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.3075        4.7207        .15983E-03   -1.5206    
  11  norm          .10000E-03    5.1406        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.2456        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     24.740        21.668        .80540E-04   -1.4713    
  14  Prefactor     5.5104        4.5818        .17115E-03   -1.5238    
  15  Prefactor     21.686        14.670        .86010E-04   -1.4776    
  16  norm          .10000E-03    .92234        .13736E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.0973        .22292        .37924E-03   -.89840    
  18  Prefactor     1.0793        .96544E-01    .16940E-03   -.90132    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.12287e-10
Minuit parameter uncertainties:
  1  1.70505e-05
  2  1.01741e-05
  3  20.105
  4  2.00524e-05
  5  57.4142
  6  4.21543e-06
  7  17.4281
  8  4.60599
  9  1.06974e-05
  10  4.72098
  11  2.53529e-05
  12  6.17134e-05
  13  21.6749
  14  4.58206
  15  14.6726
  16  1.35615e-05
  17  0.223108
  18  0.0965599
Done.

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

Extracting fit parameters...

4FGL J0312.8+0134
   Spectrum: PowerLaw
302    Prefactor:  1.000e-04  6.171e-05  1.000e-04  1.000e+04 ( 1.000e-13)
303        Index:  2.327e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
304        Scale:  1.257e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
513    Prefactor:  1.079e+00  9.656e-02  0.000e+00  1.000e+01 ( 1.000e+00)
514        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
515        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
512   Normalization:  1.097e+00  2.231e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 48.222 1.572
Photon Flux Upper Limit: 8.50e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.53e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/542413/likelihoodResults_681782401_682041601_4FGL_J0312.8+0134_daily_bin1707.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) = 8534.05766535
delta logL = -0.000657490036247

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8534.05700773
delta logL = 1.36737071443e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3034       1.0000          .0000       10.000    
     3 'Normalizat'    1.0972       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0793       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5160E+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=   8534.057     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      245 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10823E-03    6.0001        .18142E-01** at limit **
   2  Index         2.0893        7.9872        .50000        .19784E-04
   3  Normalizat    1.0973        .47838E-02    .37924E-03    .67389E-04
   4  Prefactor     1.0793        .21358E-02    .16940E-03   -.10066E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000108225
  Index      = 2.08925
  Normalizat = 1.09727
  Prefactor  = 1.07925
 **********
 **   18 **HESSE 
 **********

 FCN=   8534.057     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      274 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10823E-03    137.63        .26955E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0893        8.5092        .50000       -.62137    
   3  Normalizat    1.0973        .23253E-01    .15170E-04   -.89840    
   4  Prefactor     1.0793        .10382E-01    .67762E-05   -.90132    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.21782e-07
Minuit parameter uncertainties:
  1  0.067447
  2  708.778
  3  0.0232533
  4  0.0103816
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/542413': 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) = 8534.05700699
delta logL = 8.69673385751e-07

Extracting fit parameters...

4FGL J0312.8+0134
   Spectrum: PowerLaw
302    Prefactor:  1.082e-04  6.745e-02  1.000e-04  1.000e+04 ( 1.000e-13)
303        Index:  2.089e+00  7.088e+02  0.000e+00  1.000e+01 (-1.000e+00)
304        Scale:  1.257e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
513    Prefactor:  1.079e+00  1.038e-02  0.000e+00  1.000e+01 ( 1.000e+00)
514        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
515        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
512   Normalization:  1.097e+00  2.325e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 48.222 1.572

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/542413/cmap_HighResolution_681782401_682041601_4FGL_J0312.8+0134_daily_bin1707.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.53e-03', job_status='DONE', photon_flux_upper_limit='8.50e-08', time_completed='2022-08-13 00:18:36.155984', job_id='542413', GAL2='1.08', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1660375116.16', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='8.70e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='1707' AND source_name='4FGL J0312.8+0134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 13 00:18:36 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0276>
Subject: Job 542413: <4FGL_J0312.8+0134_daily_bin1707> in cluster <slac> Done

Job <4FGL_J0312.8+0134_daily_bin1707> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 13 00:05:04 2022
Job was executed on host(s) <bullet0276>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 13 00:05:06 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 13 00:05:06 2022
Terminated at Sat Aug 13 00:18:37 2022
Results reported at Sat Aug 13 00:18:37 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0312.8+0134_daily_bin1707 48.2222 1.5724 681782401 682041601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0312.8+0134 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   667.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             319.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   810 sec.
    Turnaround time :                            813 sec.

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

