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/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 196 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 = 17396
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0746.4+2546_weekly_bin283
RA = 116.602, Dec = 25.7678
tmin = 410140801, tmax = 410745601
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='255814', job_status='RUN', time_executed='2021-07-11 20:06:28.046907', time_epoch_executed='1626059188.05' WHERE source_name='4FGL J0746.4+2546' and cadence='weekly' and bin_id='283'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/255814

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/255814/ft1_4FGL_J0746.4+2546_weekly_bin283.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/255814/ft2_4FGL_J0746.4+2546_weekly_bin283.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/255814/ft1_4FGL_J0746.4+2546_weekly_bin283.fits outfile=/scratch/kocevski/255814/ft1_filteredMKT_4FGL_J0746.4+2546_weekly_bin283.fits ra=116.602 dec=25.7678 rad=12.0 tmin=410140801.0 tmax=410745601.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 15.06
user 14.48
sys 0.48

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/255814/ft2_4FGL_J0746.4+2546_weekly_bin283.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/255814/ft2_4FGL_J0746.4+2546_weekly_bin283.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/255814/ft1_filteredMKT_4FGL_J0746.4+2546_weekly_bin283.fits evtable="EVENTS" outfile="/scratch/kocevski/255814/ft1_filtered_4FGL_J0746.4+2546_weekly_bin283.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.63
user 0.37
sys 0.24

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/255814/ft1_filtered_4FGL_J0746.4+2546_weekly_bin283.fits" evtable="EVENTS" scfile=/scratch/kocevski/255814/ft2_4FGL_J0746.4+2546_weekly_bin283.fits sctable="SC_DATA" outfile=/scratch/kocevski/255814/ltcube_410140801_410745601_4FGL_J0746.4+2546_weekly_bin283.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/255814/ft2_4FGL_J0746.4+2546_weekly_bin283.fits
.....................!
real 32.17
user 31.62
sys 0.41

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/255814/ft1_filtered_4FGL_J0746.4+2546_weekly_bin283.fits evtable="EVENTS" scfile=/scratch/kocevski/255814/ft2_4FGL_J0746.4+2546_weekly_bin283.fits sctable="SC_DATA" expcube=/scratch/kocevski/255814/ltcube_410140801_410745601_4FGL_J0746.4+2546_weekly_bin283.fits outfile=/scratch/kocevski/255814/expmap_410140801_410745601_4FGL_J0746.4+2546_weekly_bin283.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/255814/ltcube_410140801_410745601_4FGL_J0746.4+2546_weekly_bin283.fits
.....................!
real 193.06
user 186.63
sys 5.66

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 172 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 J0746.4+2546 @ 116.602 25.7678

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/255814/ft1_filtered_4FGL_J0746.4+2546_weekly_bin283.fits scfile=/scratch/kocevski/255814/ft2_4FGL_J0746.4+2546_weekly_bin283.fits outfile=/scratch/kocevski/255814/cmap_410140801_410745601_4FGL_J0746.4+2546_weekly_bin283.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=116.602 yref=25.7678 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.70
user 0.40
sys 0.24

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/255814/ft1_filtered_4FGL_J0746.4+2546_weekly_bin283.fits scfile=/scratch/kocevski/255814/ft2_4FGL_J0746.4+2546_weekly_bin283.fits outfile=/scratch/kocevski/255814/cmap_HighResolution_410140801_410745601_4FGL_J0746.4+2546_weekly_bin283.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=116.602 yref=25.7678 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.75
user 0.41
sys 0.24

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/255814/ft1_filtered_4FGL_J0746.4+2546_weekly_bin283.fits evtable="EVENTS" scfile=/scratch/kocevski/255814/ft2_4FGL_J0746.4+2546_weekly_bin283.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/255814/Model_4FGL_J0746.4+2546_weekly_bin283.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/255814/ft1_filtered_4FGL_J0746.4+2546_weekly_bin283.fits.....................!
real 165.60
user 163.54
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/255814/ft1_filtered_4FGL_J0746.4+2546_weekly_bin283.fits', '/scratch/kocevski/255814/ft2_4FGL_J0746.4+2546_weekly_bin283.fits', expMap='/scratch/kocevski/255814/expmap_410140801_410745601_4FGL_J0746.4+2546_weekly_bin283.fits', expCube='/scratch/kocevski/255814/ltcube_410140801_410745601_4FGL_J0746.4+2546_weekly_bin283.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/255814/Model_4FGL_J0746.4+2546_weekly_bin283.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0746.4+2546'

4FGL J0746.4+2546
   Spectrum: LogParabola
250         norm:  1.783e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
251        alpha:  2.624e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
252         beta:  2.597e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
253           Eb:  3.105e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/255814/ft1_filtered_4FGL_J0746.4+2546_weekly_bin283.fits
Spacecraft file(s): /scratch/kocevski/255814/ft2_4FGL_J0746.4+2546_weekly_bin283.fits
Exposure map: /scratch/kocevski/255814/expmap_410140801_410745601_4FGL_J0746.4+2546_weekly_bin283.fits
Exposure cube: /scratch/kocevski/255814/ltcube_410140801_410745601_4FGL_J0746.4+2546_weekly_bin283.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/255814/Model_4FGL_J0746.4+2546_weekly_bin283.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) = 16386.6371779

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.4046       1.0000         .10000E-03   10000.    
     2 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .38086       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.7051       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.0243       1.0000         .10000E-03   10000.    
     6 'norm      '    12.024       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.0629       1.0000         .10000E-03   10000.    
     8 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10174E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.4945       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .16828E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    23.055       1.0000         .10000E-03   10000.    
    13 'norm      '    3.7169       1.0000         .10000E-03   10000.    
    14 'norm      '    95.041       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.1218       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .14745       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .90630       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0769       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16386.52     FROM MIGRAD    STATUS=CONVERGED    448 CALLS     2267 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.4051        5.9420        .56389E-07   -.66663E-04
   2  norm          .10000E-03    2.9568        .20344E-06** at limit **
   3  norm          .38114        .44125       -.77893E-07   -.26006E-02
   4  Prefactor     3.7060        4.2674        .32336E-06   -.79506E-04
   5  Prefactor     1.0255        7.8296        .10060E-05   -.40665E-04
   6  norm          12.022        2.9338       -.15397E-06   -.11279E-02
   7  Prefactor     2.0653        22.322        .22533E-05    .51318E-04
   8  norm          .10000E-03    1.5378        .87744E-06** at limit **
   9  Prefactor     .10000E-03    10.576        .20773E-06** at limit **
  10  Prefactor     9.4839        12.659       -.88970E-07   -.20489E-03
  11  Prefactor     .10000E-03    48.357       -.87361E-06** at limit **
  12  Prefactor     23.052        20.447       -.98231E-08   -.11177E-03
  13  norm          3.7176        4.9528        .84549E-07   -.86670E-04
  14  norm          94.997        55.330       -.57540E-07   -.31448E-03
  15  Prefactor     .10000E-03    4.0214        .73629E-07** at limit **
  16  Prefactor     1.1217        9.2705        .13192E-04   -.22839E-03
  17  Prefactor     .10000E-03    8.5437        .27337E-06** at limit **
  18  Prefactor     .10000E-03    11.556       -.36198E-07** at limit **
  19  norm          .14767        .48477       -.30080E-06   -.12909E-02
  20  Normalizat    .90606        .12733       -.16301E-05   -.90882E-03
  21  Prefactor     1.0770        .84212E-01    .40822E-06   -.87154E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.40507
  norm       = 0.0001
  norm       = 0.381143
  Prefactor  = 3.70598
  Prefactor  = 1.0255
  norm       = 12.0221
  Prefactor  = 2.06527
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 9.4839
  Prefactor  = 0.000100001
  Prefactor  = 23.0523
  norm       = 3.7176
  norm       = 94.9969
  Prefactor  = 0.0001
  Prefactor  = 1.12175
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.147672
  Normalizat = 0.906057
  Prefactor  = 1.07704
 **********
 **   18 **HESSE 
 **********

 FCN=   16386.52     FROM HESSE     STATUS=OK           321 CALLS     2588 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.4051        5.9409        .14739E-03   -1.5164    
   2  norm          .10000E-03    2.9843        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .38114        .42149        .86133E-03   -1.5585    
   4  Prefactor     3.7060        4.2540        .20980E-03   -1.5323    
   5  Prefactor     1.0255        8.0550        .50691E-03   -1.5505    
   6  norm          12.022        2.6684        .63876E-04   -1.5014    
   7  Prefactor     2.0653        18.501        .28769E-03   -1.5421    
   8  norm          .10000E-03    1.6102        .31153E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    10.606        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.4839        12.630        .13006E-03   -1.5092    
  11  Prefactor     .10000E-03    48.978        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     23.052        20.426        .83422E-04   -1.4747    
  13  norm          3.7176        4.9418        .20946E-03   -1.5322    
  14  norm          94.997        55.495        .20614E-03   -1.3756    
  15  Prefactor     .10000E-03    4.0269        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.1217        9.3043        .22156E-02   -1.5496    
  17  Prefactor     .10000E-03    8.6063        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    11.660        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .14767        .89756        .15052E-02   -1.5631    
  20  Normalizat    .90606        .14485        .30468E-03   -.96248    
  21  Prefactor     1.0770        .97226E-01    .19643E-03   -.90204    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.30736e-09
Minuit parameter uncertainties:
  1  5.94133
  2  2.91668e-05
  3  0.421495
  4  4.25435
  5  5.74897
  6  2.66845
  7  12.3677
  8  9.21202e-05
  9  5.14723e-05
  10  12.634
  11  0.000501908
  12  20.4317
  13  4.94235
  14  55.5257
  15  1.2056e-05
  16  6.46237
  17  6.90753e-05
  18  3.83753e-06
  19  0.727903
  20  0.144909
  21  0.0972418
Done.

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

Extracting fit parameters...

4FGL J0746.4+2546
   Spectrum: LogParabola
250         norm:  1.000e-04  9.212e-05  1.000e-04  1.000e+04 ( 1.000e-11)
251        alpha:  2.624e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
252         beta:  2.597e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
253           Eb:  3.105e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  1.077e+00  9.724e-02  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  9.061e-01  1.449e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 116.602 25.768
Photon Flux Upper Limit: 4.85e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.10e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/255814/likelihoodResults_410140801_410745601_4FGL_J0746.4+2546_weekly_bin283.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) = 16386.5186593
delta logL = -0.00296446086213

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16386.5156987
delta logL = -3.80586789106e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6301       1.0000          .0000       5.0000    
     3 'Normalizat'    .90606       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0769       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16386.52     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      205 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.6708        .90712E-02** at limit **
   2  alpha         2.6367        3.6063        .41222       -.21264E-04
   3  Normalizat    .90606        .11855        .68867E-01    .27188E-04
   4  Prefactor     1.0770        .82973E-01    .38539E-01   -.16020E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.63667
  Normalizat = 0.90606
  Prefactor  = 1.07704
 **********
 **   18 **HESSE 
 **********

 FCN=   16386.52     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.6149        .31204E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.6367        3.5817        .50000        .54694E-01
   3  Normalizat    .90606        .13608        .30468E-03   -.96248    
   4  Prefactor     1.0770        .95453E-01    .19643E-03   -.90204    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.54308e-10
Minuit parameter uncertainties:
  1  4.18801e-06
  2  2.49641
  3  0.136128
  4  0.0954681
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/255814': 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) = 16386.5156947
delta logL = 1.08575477498e-07

Extracting fit parameters...

4FGL J0746.4+2546
   Spectrum: LogParabola
250         norm:  1.000e-04  4.188e-06  1.000e-04  1.000e+04 ( 1.000e-11)
251        alpha:  2.637e+00  2.496e+00  0.000e+00  5.000e+00 ( 1.000e+00)
252         beta:  2.597e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
253           Eb:  3.105e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  1.077e+00  9.547e-02  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  9.061e-01  1.361e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 116.602 25.768

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/255814/cmap_HighResolution_410140801_410745601_4FGL_J0746.4+2546_weekly_bin283.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.10e-05', job_status='DONE', photon_flux_upper_limit='4.85e-08', time_completed='2021-07-11 20:28:01.740080', job_id='255814', GAL2='1.08', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1626060481.74', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='1.09e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.62' WHERE bin_id='283' AND source_name='4FGL J0746.4+2546' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sun Jul 11 20:28:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0015>
Subject: Job 255814: <4FGL_J0746.4+2546_weekly_bin283> in cluster <slac> Done

Job <4FGL_J0746.4+2546_weekly_bin283> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Jul 11 13:21:03 2021
Job was executed on host(s) <bullet0015>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jul 11 13:38:41 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jul 11 13:38:41 2021
Terminated at Sun Jul 11 20:28:02 2021
Results reported at Sun Jul 11 20:28:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0746.4+2546_weekly_bin283 116.602 25.7678 410140801 410745601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0746.4+2546 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1302.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             63.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   24561 sec.
    Turnaround time :                            25619 sec.

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

