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


Performing analysis on: 4FGL_J1446.3+3111_weekly_bin306
RA = 221.591, Dec = 31.1955
tmin = 424051201, tmax = 424656001
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='578736', job_status='RUN', time_executed='2021-07-22 06:27:02.532114', time_epoch_executed='1626960422.53' WHERE source_name='4FGL J1446.3+3111' and cadence='weekly' and bin_id='306'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/578736

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/578736/ft1_4FGL_J1446.3+3111_weekly_bin306.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/578736/ft2_4FGL_J1446.3+3111_weekly_bin306.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/578736/ft1_4FGL_J1446.3+3111_weekly_bin306.fits outfile=/scratch/kocevski/578736/ft1_filteredMKT_4FGL_J1446.3+3111_weekly_bin306.fits ra=221.591 dec=31.1955 rad=12.0 tmin=424051201.0 tmax=424656001.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 11.31
user 10.89
sys 0.34

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/578736/ft2_4FGL_J1446.3+3111_weekly_bin306.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/578736/ft2_4FGL_J1446.3+3111_weekly_bin306.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/578736/ft1_filteredMKT_4FGL_J1446.3+3111_weekly_bin306.fits evtable="EVENTS" outfile="/scratch/kocevski/578736/ft1_filtered_4FGL_J1446.3+3111_weekly_bin306.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.57
user 0.37
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/578736/ft1_filtered_4FGL_J1446.3+3111_weekly_bin306.fits" evtable="EVENTS" scfile=/scratch/kocevski/578736/ft2_4FGL_J1446.3+3111_weekly_bin306.fits sctable="SC_DATA" outfile=/scratch/kocevski/578736/ltcube_424051201_424656001_4FGL_J1446.3+3111_weekly_bin306.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/578736/ft2_4FGL_J1446.3+3111_weekly_bin306.fits
.....................!
real 30.39
user 29.42
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/578736/ft1_filtered_4FGL_J1446.3+3111_weekly_bin306.fits evtable="EVENTS" scfile=/scratch/kocevski/578736/ft2_4FGL_J1446.3+3111_weekly_bin306.fits sctable="SC_DATA" expcube=/scratch/kocevski/578736/ltcube_424051201_424656001_4FGL_J1446.3+3111_weekly_bin306.fits outfile=/scratch/kocevski/578736/expmap_424051201_424656001_4FGL_J1446.3+3111_weekly_bin306.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/578736/ltcube_424051201_424656001_4FGL_J1446.3+3111_weekly_bin306.fits
.....................!
real 192.53
user 186.00
sys 5.76

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

Setting source of interest to:
4FGL J1446.3+3111 @ 221.591 31.1955

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/578736/ft1_filtered_4FGL_J1446.3+3111_weekly_bin306.fits scfile=/scratch/kocevski/578736/ft2_4FGL_J1446.3+3111_weekly_bin306.fits outfile=/scratch/kocevski/578736/cmap_424051201_424656001_4FGL_J1446.3+3111_weekly_bin306.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=221.591 yref=31.1955 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.57
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/578736/ft1_filtered_4FGL_J1446.3+3111_weekly_bin306.fits scfile=/scratch/kocevski/578736/ft2_4FGL_J1446.3+3111_weekly_bin306.fits outfile=/scratch/kocevski/578736/cmap_HighResolution_424051201_424656001_4FGL_J1446.3+3111_weekly_bin306.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=221.591 yref=31.1955 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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/578736/ft1_filtered_4FGL_J1446.3+3111_weekly_bin306.fits evtable="EVENTS" scfile=/scratch/kocevski/578736/ft2_4FGL_J1446.3+3111_weekly_bin306.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/578736/Model_4FGL_J1446.3+3111_weekly_bin306.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/578736/ft1_filtered_4FGL_J1446.3+3111_weekly_bin306.fits.....................!
real 40.73
user 39.33
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/578736/ft1_filtered_4FGL_J1446.3+3111_weekly_bin306.fits', '/scratch/kocevski/578736/ft2_4FGL_J1446.3+3111_weekly_bin306.fits', expMap='/scratch/kocevski/578736/expmap_424051201_424656001_4FGL_J1446.3+3111_weekly_bin306.fits', expCube='/scratch/kocevski/578736/ltcube_424051201_424656001_4FGL_J1446.3+3111_weekly_bin306.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/578736/Model_4FGL_J1446.3+3111_weekly_bin306.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1446.3+3111'

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  5.552e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.556e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  7.435e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/578736/ft1_filtered_4FGL_J1446.3+3111_weekly_bin306.fits
Spacecraft file(s): /scratch/kocevski/578736/ft2_4FGL_J1446.3+3111_weekly_bin306.fits
Exposure map: /scratch/kocevski/578736/expmap_424051201_424656001_4FGL_J1446.3+3111_weekly_bin306.fits
Exposure cube: /scratch/kocevski/578736/ltcube_424051201_424656001_4FGL_J1446.3+3111_weekly_bin306.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/578736/Model_4FGL_J1446.3+3111_weekly_bin306.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) = 4738.91175513

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .13453E-02   1.0000         .10000E-03   10000.    
     3 'norm      '    11.320       1.0000         .10000E-03   10000.    
     4 'Prefactor '    26.701       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10141E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.7006       1.0000         .10000E-03   10000.    
     7 'norm      '    18.496       1.0000         .10000E-03   10000.    
     8 'norm      '    4.7912       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    14.626       1.0000         .10000E-03   10000.    
    14 'Prefactor '    93.164       1.0000         .10000E-03   10000.    
    15 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    4.4417       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10527E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    2.0251       1.0000         .10000E-03   10000.    
    23 'Prefactor '    4.5870       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    2.1287       1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.1077       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.0046       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+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=   4738.886     FROM MIGRAD    STATUS=CONVERGED   1151 CALLS     3848 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    22.649        .36285E-03** at limit **
   2  Prefactor     .10000E-03    276.38        .55066E-02** at limit **
   3  norm          11.320        6.4954        .11907E-03   -.26638E-04
   4  Prefactor     26.696        23.180        .77527E-04   -.65989E-04
   5  Prefactor     .10000E-03    21.482        .18142E-02** at limit **
   6  Prefactor     4.6980        5.7827        .17304E-03   -.32718E-04
   7  norm          18.501        26.643        .93130E-04   -.90335E-05
   8  norm          4.7912        3.3566        .10253E-03   -.99793E-06
   9  Prefactor     .10000E-03    50.032        .18142E-02** at limit **
  10  norm          .10000E-03    3.1706        .11855E-02** at limit **
  11  norm          .10000E-03    3.2117        .12034E-02** at limit **
  12  Prefactor     .10000E-03    31.697        .18142E-02** at limit **
  13  norm          14.626        8.2246        .10473E-03    .22796E-05
  14  Prefactor     93.170        53.073        .41636E-04    .51879E-05
  15  norm          .10000E-03    5.3030        .15472E-02** at limit **
  16  Prefactor     .10000E-03    6.4662        .17083E-02** at limit **
  17  Prefactor     .10000E-03    3.6859        .12883E-02** at limit **
  18  Prefactor     .10000E-03    7.7088        .18142E-02** at limit **
  19  norm          4.4415        1.8794        .58701E-04   -.64880E-04
  20  Prefactor     .10000E-03    79.133        .18142E-02** at limit **
  21  Prefactor     .10000E-03    14.494        .18142E-02** at limit **
  22  norm          2.0247        1.4357        .63347E-04    .29433E-04
  23  Prefactor     4.5865        6.2855        .93846E-03    .24907E-04
  24  Prefactor     .10000E-03    12.202        .18142E-02** at limit **
  25  Prefactor     2.1269        61.586        .28260E-03   -.36206E-06
  26  Normalizat    1.1081        .25272        .26249E-03   -.14509E-04
  27  Prefactor     1.0042        .21692        .25087E-03    .18580E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.3204
  Prefactor  = 26.6965
  Prefactor  = 0.0001
  Prefactor  = 4.69799
  norm       = 18.5014
  norm       = 4.7912
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 14.626
  Prefactor  = 93.1702
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.4415
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.02474
  Prefactor  = 4.5865
  Prefactor  = 0.0001
  Prefactor  = 2.12688
  Normalizat = 1.10811
  Prefactor  = 1.00424
 **********
 **   18 **HESSE 
 **********

 FCN=   4738.886     FROM HESSE     STATUS=OK           462 CALLS     4310 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.650        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    287.39        .22026E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          11.320        6.4952        .47629E-05   -1.5035    
   4  Prefactor     26.696        23.108        .31011E-05   -1.4674    
   5  Prefactor     .10000E-03    21.484        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.6980        5.7824        .69217E-05   -1.5274    
   7  norm          18.501        26.639        .37252E-05   -1.4847    
   8  norm          4.7912        3.3566        .41012E-05   -1.5270    
   9  Prefactor     .10000E-03    50.061        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    3.1717        .23709E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    3.2118        .24068E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    31.698        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          14.626        8.2246        .41893E-05   -1.4943    
  14  Prefactor     93.170        53.074        .83273E-05   -1.3774    
  15  norm          .10000E-03    5.3032        .30945E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.4666        .34165E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    3.6861        .25765E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    7.7104        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          4.4415        1.8794        .23480E-05   -1.5286    
  20  Prefactor     .10000E-03    79.139        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    14.504        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.0247        1.4352        .25339E-05   -1.5423    
  23  Prefactor     4.5865        6.2820        .37539E-04   -1.5280    
  24  Prefactor     .10000E-03    12.202        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     2.1269        61.576        .11304E-04   -1.5416    
  26  Normalizat    1.1081        .25291        .10499E-04   -.89492    
  27  Prefactor     1.0042        .21710        .10035E-04   -.92588    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76011e-11
Minuit parameter uncertainties:
  1  3.7463e-05
  2  0.000145496
  3  6.49564
  4  23.1155
  5  2.71917e-05
  6  5.7831
  7  26.6565
  8  3.35678
  9  6.71542e-05
  10  1.58885e-06
  11  1.8257e-06
  12  7.60511e-05
  13  8.22523
  14  53.1009
  15  1.00413e-07
  16  3.23758e-06
  17  9.06778e-07
  18  3.4234e-06
  19  1.87947
  20  5.9481e-05
  21  3.68088e-05
  22  1.43523
  23  6.2829
  24  8.85328e-06
  25  22.9135
  26  0.253191
  27  0.217288
Done.

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

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  9.317e+01  5.310e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.556e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  7.435e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.004e+00  2.173e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.108e+00  2.532e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.37
Ra Dec: 221.591 31.195
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 1.01e-07 +/- 5.76e-08
Energy Flux (Fixed Index): 2.77e-05 +/- 1.58e-05

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) = 4738.45109067
delta logL = 0.434956096145

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4738.45031771
delta logL = 0.435729054839

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    45.702       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2543       1.0000          .0000       10.000    
     3 'Normalizat'    1.0597       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0351       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+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=   4738.450     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      290 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     45.695        66.922        .59308E-04    .27028E-04
   2  Index         3.2544        .99785        .43370E-02    .40859E-03
   3  Normalizat    1.0597        .24334        .26748E-03   -.92656E-04
   4  Prefactor     1.0352        .21767        .24763E-03   -.19250E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 45.6945
  Index      = 3.25442
  Normalizat = 1.0597
  Prefactor  = 1.0352
 **********
 **   18 **HESSE 
 **********

 FCN=   4738.450     FROM HESSE     STATUS=OK            25 CALLS      315 TOTAL
                     EDM=   .86E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     45.695        56.084        .23723E-05   -1.4355    
   2  Index         3.2544        .83693        .86740E-03   -.35663    
   3  Normalizat    1.0597        .24290        .10699E-04   -.91056    
   4  Prefactor     1.0352        .21729        .49526E-04   -.91565    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.63933e-11
Minuit parameter uncertainties:
  1  56.1484
  2  0.841442
  3  0.243151
  4  0.217476
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/578736': 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) = 4738.4503174
delta logL = 0.435729362031

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  4.569e+01  5.615e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  3.254e+00  8.414e-01  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  7.435e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.035e+00  2.175e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.060e+00  2.432e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.37
Ra Dec: 221.591 31.195
Photon Index (Free Index): 3.25 +/- 0.84
Photon Flux (Free Index): 1.39e-07 +/- 7.70e-08
Energy Flux (Free Index): 2.50e-05 +/- 1.31e-05

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/578736/cmap_HighResolution_424051201_424656001_4FGL_J1446.3+3111_weekly_bin306.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.01e-07', energy_flux2='2.50e-05', photon_flux_error='5.76e-08', dlogl='4.36e-01', energy_flux='2.77e-05', photon_flux2='1.39e-07', job_status='DONE', time_completed='2021-07-22 06:38:25.019017', photon_index_error2='0.84', photon_index2='3.25', ts='5.37', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='1.31e-05', EG='1.11', time_epoch_completed='1626961105.02', return_code='0', job_id='578736', GAL2='1.04', EG2='1.06', return_code2='0', energy_flux_error='1.58e-05', photon_flux_error2='7.70e-08', ts2='6.37', photon_index='2.56' WHERE bin_id='306' AND source_name='4FGL J1446.3+3111' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Thu Jul 22 06:38:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0176>
Subject: Job 578736: <4FGL_J1446.3+3111_weekly_bin306> in cluster <slac> Done

Job <4FGL_J1446.3+3111_weekly_bin306> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Thu Jul 22 06:25:46 2021
Job was executed on host(s) <bullet0176>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jul 22 06:26:50 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jul 22 06:26:50 2021
Terminated at Thu Jul 22 06:38:25 2021
Results reported at Thu Jul 22 06:38:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.3+3111_weekly_bin306 221.591 31.1955 424051201 424656001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1446.3+3111 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   667.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             264.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   695 sec.
    Turnaround time :                            759 sec.

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

