aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  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 2 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 = 17158
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0733.6+3649_weekly_bin155
RA = 113.42, Dec = 36.8225
tmin = 332726401, tmax = 333331201
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='79591', job_status='RUN', time_executed='2021-07-11 02:27:38.521596', time_epoch_executed='1625995658.52' WHERE source_name='4FGL J0733.6+3649' and cadence='weekly' and bin_id='155'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/79591

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

Retrieving the FT1 file...

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

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

Retrieving 106 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/79591/ft1_4FGL_J0733.6+3649_weekly_bin155.fits


Retrieving the FT1 file...

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

Retrieving 106 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/79591/ft2_4FGL_J0733.6+3649_weekly_bin155.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/79591/ft1_4FGL_J0733.6+3649_weekly_bin155.fits outfile=/scratch/kocevski/79591/ft1_filteredMKT_4FGL_J0733.6+3649_weekly_bin155.fits ra=113.42 dec=36.8225 rad=12.0 tmin=332726401.0 tmax=333331201.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 8.00
user 7.69
sys 0.27

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/79591/ft2_4FGL_J0733.6+3649_weekly_bin155.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/79591/ft2_4FGL_J0733.6+3649_weekly_bin155.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/79591/ft1_filteredMKT_4FGL_J0733.6+3649_weekly_bin155.fits evtable="EVENTS" outfile="/scratch/kocevski/79591/ft1_filtered_4FGL_J0733.6+3649_weekly_bin155.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.55
user 0.37
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/79591/ft1_filtered_4FGL_J0733.6+3649_weekly_bin155.fits" evtable="EVENTS" scfile=/scratch/kocevski/79591/ft2_4FGL_J0733.6+3649_weekly_bin155.fits sctable="SC_DATA" outfile=/scratch/kocevski/79591/ltcube_332726401_333331201_4FGL_J0733.6+3649_weekly_bin155.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/79591/ft2_4FGL_J0733.6+3649_weekly_bin155.fits
.....................!
real 29.01
user 28.60
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/79591/ft1_filtered_4FGL_J0733.6+3649_weekly_bin155.fits evtable="EVENTS" scfile=/scratch/kocevski/79591/ft2_4FGL_J0733.6+3649_weekly_bin155.fits sctable="SC_DATA" expcube=/scratch/kocevski/79591/ltcube_332726401_333331201_4FGL_J0733.6+3649_weekly_bin155.fits outfile=/scratch/kocevski/79591/expmap_332726401_333331201_4FGL_J0733.6+3649_weekly_bin155.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/79591/ltcube_332726401_333331201_4FGL_J0733.6+3649_weekly_bin155.fits
.....................!
real 190.74
user 184.88
sys 5.44

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
Extended source IC 443 in ROI with RadialGaussian spatial model.
Added 188 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0733.6+3649 @ 113.42 36.8225

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/79591/ft1_filtered_4FGL_J0733.6+3649_weekly_bin155.fits scfile=/scratch/kocevski/79591/ft2_4FGL_J0733.6+3649_weekly_bin155.fits outfile=/scratch/kocevski/79591/cmap_332726401_333331201_4FGL_J0733.6+3649_weekly_bin155.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=113.42 yref=36.8225 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.58
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/79591/ft1_filtered_4FGL_J0733.6+3649_weekly_bin155.fits scfile=/scratch/kocevski/79591/ft2_4FGL_J0733.6+3649_weekly_bin155.fits outfile=/scratch/kocevski/79591/cmap_HighResolution_332726401_333331201_4FGL_J0733.6+3649_weekly_bin155.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=113.42 yref=36.8225 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.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/79591/ft1_filtered_4FGL_J0733.6+3649_weekly_bin155.fits evtable="EVENTS" scfile=/scratch/kocevski/79591/ft2_4FGL_J0733.6+3649_weekly_bin155.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/79591/Model_4FGL_J0733.6+3649_weekly_bin155.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
adding source IC 443
Working on...
/scratch/kocevski/79591/ft1_filtered_4FGL_J0733.6+3649_weekly_bin155.fits.....................!
real 164.57
user 162.92
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/79591/ft1_filtered_4FGL_J0733.6+3649_weekly_bin155.fits', '/scratch/kocevski/79591/ft2_4FGL_J0733.6+3649_weekly_bin155.fits', expMap='/scratch/kocevski/79591/expmap_332726401_333331201_4FGL_J0733.6+3649_weekly_bin155.fits', expCube='/scratch/kocevski/79591/ltcube_332726401_333331201_4FGL_J0733.6+3649_weekly_bin155.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/79591/Model_4FGL_J0733.6+3649_weekly_bin155.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0733.6+3649'

4FGL J0733.6+3649
   Spectrum: PowerLaw
279    Prefactor:  1.615e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
280        Index:  2.374e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  1.233e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/79591/ft1_filtered_4FGL_J0733.6+3649_weekly_bin155.fits
Spacecraft file(s): /scratch/kocevski/79591/ft2_4FGL_J0733.6+3649_weekly_bin155.fits
Exposure map: /scratch/kocevski/79591/expmap_332726401_333331201_4FGL_J0733.6+3649_weekly_bin155.fits
Exposure cube: /scratch/kocevski/79591/ltcube_332726401_333331201_4FGL_J0733.6+3649_weekly_bin155.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/79591/Model_4FGL_J0733.6+3649_weekly_bin155.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) = 17132.6036324

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    29.662       1.0000         .10000E-03   10000.    
     2 'Prefactor '    21.857       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.9556       1.0000         .10000E-03   10000.    
     4 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.5950       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .49416       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .23433       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    18.228       1.0000         .10000E-03   10000.    
    12 'norm      '    9.2535       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.3309       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.1978       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .95152       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .64495E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.670       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.9578       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1323       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .90132       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6180E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   17132.56     FROM MIGRAD    STATUS=CONVERGED    544 CALLS     2500 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          29.663        4.6298        .18391E-02    .39241E-04
   2  Prefactor     21.859        17.037        .21419E-02    .11773E-03
   3  Prefactor     1.9558        3.6261        .74173E-02    .17866E-02
   4  norm          .10000E-03    2.0760        .90712E-02** at limit **
   5  norm          1.5951        .50750        .83963E-02    .50488E-03
   6  Prefactor     .10000E-03    3.4204        .90712E-02** at limit **
   7  Prefactor     .10000E-03    2.4970        .90712E-02** at limit **
   8  norm          .47957        1.6524        .73147E-01    .13208E-02
   9  Prefactor     .59645        23.932        .13862        .32814E-03
  10  Prefactor     .10000E-03    2.6994        .90712E-02** at limit **
  11  Prefactor     18.168        21.857        .23452E-02   -.23307E-04
  12  norm          9.2533        7.3110        .32937E-02    .34970E-02
  13  Prefactor     1.3311        2.3118        .95158E-02    .10018E-02
  14  Prefactor     .10000E-03    6.5698        .90712E-02** at limit **
  15  Prefactor     4.1985        2.9599        .49174E-02    .74168E-03
  16  Prefactor     .10000E-03    7.6896        .90712E-02** at limit **
  17  norm          .95153        .38573        .10921E-01    .26269E-03
  18  Prefactor     .10000E-03    4.6776        .16003    ** at limit **
  19  Prefactor     10.671        11.250        .30664E-02    .88357E-04
  20  Prefactor     3.9583        2.6151        .50689E-02    .11147E-02
  21  Normalizat    1.1322        .12568        .66558E-01   -.53541E-04
  22  Prefactor     .90135        .70363E-01    .45022E-01   -.89429E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 29.6632
  Prefactor  = 21.8587
  Prefactor  = 1.95583
  norm       = 0.0001
  norm       = 1.59506
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.479566
  Prefactor  = 0.596447
  Prefactor  = 0.0001
  Prefactor  = 18.1684
  norm       = 9.25328
  Prefactor  = 1.3311
  Prefactor  = 0.0001
  Prefactor  = 4.19849
  Prefactor  = 0.0001
  norm       = 0.951529
  Prefactor  = 0.0001
  Prefactor  = 10.6706
  Prefactor  = 3.95828
  Normalizat = 1.13215
  Prefactor  = 0.901349
 **********
 **   18 **HESSE 
 **********

 FCN=   17132.56     FROM HESSE     STATUS=OK           364 CALLS     2864 TOTAL
                     EDM=   .60E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          29.663        4.6246        .73564E-04   -1.4618    
   2  Prefactor     21.859        17.043        .85674E-04   -1.4773    
   3  Prefactor     1.9558        3.6094        .29669E-03   -1.5428    
   4  norm          .10000E-03    2.0992        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.5951        .50512        .50497E-04   -1.5455    
   6  Prefactor     .10000E-03    3.5486        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.5075        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .47957        5.9286        .25400E-02   -1.5569    
   9  Prefactor     .59645        24.813        .13694       -1.5554    
  10  Prefactor     .10000E-03    2.7099        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     18.168        21.884        .93809E-04   -1.4855    
  12  norm          9.2533        7.3254        .65875E-03   -1.5099    
  13  Prefactor     1.3311        2.2656        .25527E-03   -1.5477    
  14  Prefactor     .10000E-03    6.5767        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.1985        2.9505        .17699E-03   -1.5298    
  16  Prefactor     .10000E-03    7.6989        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .95153        .38298        .48374E-04   -1.5513    
  18  Prefactor     .10000E-03    66.801        .54951E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     10.671        11.173        .12266E-03   -1.5055    
  20  Prefactor     3.9583        2.6018        .14538E-03   -1.5310    
  21  Normalizat    1.1322        .14481        .29445E-03   -.88726    
  22  Prefactor     .90135        .81189E-01    .19362E-03   -.96094    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.02606e-08
Minuit parameter uncertainties:
  1  4.62466
  2  17.0472
  3  3.60979
  4  1.71751e-06
  5  0.505125
  6  4.86683e-06
  7  2.06589e-06
  8  3.37239
  9  7.69677
  10  1.61142e-06
  11  21.8939
  12  7.32607
  13  2.26575
  14  4.49032e-06
  15  2.95062
  16  5.07847e-07
  17  0.382979
  18  0.000114139
  19  11.1752
  20  2.6019
  21  0.144865
  22  0.0811997
Done.

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

Extracting fit parameters...

4FGL J0733.6+3649
   Spectrum: PowerLaw
279    Prefactor:  1.000e-04  2.066e-06  1.000e-04  1.000e+04 ( 1.000e-13)
280        Index:  2.374e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  1.233e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  9.013e-01  8.120e-02  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.132e+00  1.449e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 113.420 36.822
Photon Flux Upper Limit: 3.17e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.45e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/79591/likelihoodResults_332726401_333331201_4FGL_J0733.6+3649_weekly_bin155.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) = 17132.5578817
delta logL = -0.00190014113832

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 17132.5559815
delta logL = 2.86127033178e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3637       1.0000          .0000       10.000    
     3 'Normalizat'    1.1321       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90137       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6180E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   17132.56     FROM MIGRAD    STATUS=FAILED        88 CALLS      242 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    548.89        .18142E-02** at limit **
   2  Index         2.3533        5.6453        .50000        .34839E-04
   3  Normalizat    1.1322        .86254E-01    .29445E-03    .83398E-05
   4  Prefactor     .90135        .51496E-01    .19362E-03    .21138E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   17132.56     FROM SIMPLEX   STATUS=UNCHANGED    172 CALLS      414 TOTAL
                     EDM=   .83E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    548.89        .24711E-03** at limit **
   2  Index         2.3533        5.6453        .14555E-05    .34839E-04
   3  Normalizat    1.1322        .86254E-01    .83093E-07    .83398E-05
   4  Prefactor     .90135        .51496E-01    .28918E-07    .21138E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   17132.56     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      448 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.7544        .36285E-03** at limit **
   2  Index         2.3530        6.1753        .50000        .34823E-04
   3  Normalizat    1.1322        .13291        .11778E-04    .18533E-04
   4  Prefactor     .90135        .79434E-01    .77447E-05    .34056E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Index      = 2.35296
  Normalizat = 1.13215
  Prefactor  = 0.901349
 **********
 **   18 **HESSE 
 **********

 FCN=   17132.56     FROM HESSE     STATUS=OK            29 CALLS      477 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.5358        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3530        6.1763        .50000       -.55790    
   3  Normalizat    1.1322        .13287        .23556E-05   -.88726    
   4  Prefactor     .90135        .79395E-01    .15489E-05   -.96094    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.3097e-09
Minuit parameter uncertainties:
  1  0.000177538
  2  4.24856
  3  0.132907
  4  0.0794051
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/79591': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17132.5559814
delta logL = 1.76594767254e-07

Extracting fit parameters...

4FGL J0733.6+3649
   Spectrum: PowerLaw
279    Prefactor:  1.000e-04  1.775e-04  1.000e-04  1.000e+04 ( 1.000e-13)
280        Index:  2.353e+00  4.249e+00  0.000e+00  1.000e+01 (-1.000e+00)
281        Scale:  1.233e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  9.013e-01  7.941e-02  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.132e+00  1.329e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 113.420 36.822

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/79591/cmap_HighResolution_332726401_333331201_4FGL_J0733.6+3649_weekly_bin155.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.45e-03', job_status='DONE', photon_flux_upper_limit='3.17e-08', time_completed='2021-07-11 02:52:35.595244', job_id='79591', GAL2='0.90', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1625997155.6', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.77e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='155' AND source_name='4FGL J0733.6+3649' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sun Jul 11 02:52:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0184>
Subject: Job 79591: <4FGL_J0733.6+3649_weekly_bin155> in cluster <slac> Done

Job <4FGL_J0733.6+3649_weekly_bin155> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Jul 11 02:20:53 2021
Job was executed on host(s) <bullet0184>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jul 11 02:27:23 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jul 11 02:27:23 2021
Terminated at Sun Jul 11 02:52:36 2021
Results reported at Sun Jul 11 02:52:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0733.6+3649_weekly_bin155 113.42 36.8225 332726401 333331201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0733.6+3649 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1483.90 sec.
    Max Memory :                                 1262 MB
    Average Memory :                             362.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   18687 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   1512 sec.
    Turnaround time :                            1903 sec.

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

