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


Performing analysis on: 4FGL_J1033.9+6050_monthly_bin168
RA = 158.485, Dec = 60.8493
tmin = 672451201, tmax = 675043201
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='629453', job_status='RUN', time_executed='2022-05-24 02:55:24.457769', time_epoch_executed='1653386124.46' WHERE source_name='4FGL J1033.9+6050' and cadence='monthly' and bin_id='168'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/629453

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

Retrieving the FT1 file...

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

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

Retrieving 455 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/629453/ft1_4FGL_J1033.9+6050_monthly_bin168.fits


Retrieving the FT1 file...

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

Retrieving 455 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/629453/ft2_4FGL_J1033.9+6050_monthly_bin168.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/629453/ft1_4FGL_J1033.9+6050_monthly_bin168.fits outfile=/scratch/kocevski/629453/ft1_filteredMKT_4FGL_J1033.9+6050_monthly_bin168.fits ra=158.485 dec=60.8493 rad=12.0 tmin=672451201.0 tmax=675043201.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 28.75
user 27.97
sys 0.70

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/629453/ft2_4FGL_J1033.9+6050_monthly_bin168.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/629453/ft2_4FGL_J1033.9+6050_monthly_bin168.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/629453/ft1_filteredMKT_4FGL_J1033.9+6050_monthly_bin168.fits evtable="EVENTS" outfile="/scratch/kocevski/629453/ft1_filtered_4FGL_J1033.9+6050_monthly_bin168.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.87
user 0.65
sys 0.20

Number of photons that the gtmktime cut: 10978

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/629453/ft1_filtered_4FGL_J1033.9+6050_monthly_bin168.fits" evtable="EVENTS" scfile=/scratch/kocevski/629453/ft2_4FGL_J1033.9+6050_monthly_bin168.fits sctable="SC_DATA" outfile=/scratch/kocevski/629453/ltcube_672451201_675043201_4FGL_J1033.9+6050_monthly_bin168.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/629453/ft2_4FGL_J1033.9+6050_monthly_bin168.fits
.....................!
real 136.84
user 136.00
sys 0.55

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/629453/ft1_filtered_4FGL_J1033.9+6050_monthly_bin168.fits evtable="EVENTS" scfile=/scratch/kocevski/629453/ft2_4FGL_J1033.9+6050_monthly_bin168.fits sctable="SC_DATA" expcube=/scratch/kocevski/629453/ltcube_672451201_675043201_4FGL_J1033.9+6050_monthly_bin168.fits outfile=/scratch/kocevski/629453/expmap_672451201_675043201_4FGL_J1033.9+6050_monthly_bin168.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/629453/ltcube_672451201_675043201_4FGL_J1033.9+6050_monthly_bin168.fits
.....................!
real 194.53
user 188.71
sys 5.40

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

Setting source of interest to:
4FGL J1033.9+6050 @ 158.485 60.8493

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/629453/ft1_filtered_4FGL_J1033.9+6050_monthly_bin168.fits scfile=/scratch/kocevski/629453/ft2_4FGL_J1033.9+6050_monthly_bin168.fits outfile=/scratch/kocevski/629453/cmap_672451201_675043201_4FGL_J1033.9+6050_monthly_bin168.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=158.485 yref=60.8493 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.84
user 0.66
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/629453/ft1_filtered_4FGL_J1033.9+6050_monthly_bin168.fits scfile=/scratch/kocevski/629453/ft2_4FGL_J1033.9+6050_monthly_bin168.fits outfile=/scratch/kocevski/629453/cmap_HighResolution_672451201_675043201_4FGL_J1033.9+6050_monthly_bin168.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=158.485 yref=60.8493 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.84
user 0.66
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/629453/ft1_filtered_4FGL_J1033.9+6050_monthly_bin168.fits evtable="EVENTS" scfile=/scratch/kocevski/629453/ft2_4FGL_J1033.9+6050_monthly_bin168.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/629453/Model_4FGL_J1033.9+6050_monthly_bin168.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/629453/ft1_filtered_4FGL_J1033.9+6050_monthly_bin168.fits.....................!
real 981.64
user 978.34
sys 1.44

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/629453/ft1_filtered_4FGL_J1033.9+6050_monthly_bin168.fits', '/scratch/kocevski/629453/ft2_4FGL_J1033.9+6050_monthly_bin168.fits', expMap='/scratch/kocevski/629453/expmap_672451201_675043201_4FGL_J1033.9+6050_monthly_bin168.fits', expCube='/scratch/kocevski/629453/ltcube_672451201_675043201_4FGL_J1033.9+6050_monthly_bin168.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/629453/Model_4FGL_J1033.9+6050_monthly_bin168.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1033.9+6050'

4FGL J1033.9+6050
   Spectrum: LogParabola
421         norm:  4.658e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
422        alpha:  2.137e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
423         beta:  9.680e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
424           Eb:  1.110e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/629453/ft1_filtered_4FGL_J1033.9+6050_monthly_bin168.fits
Spacecraft file(s): /scratch/kocevski/629453/ft2_4FGL_J1033.9+6050_monthly_bin168.fits
Exposure map: /scratch/kocevski/629453/expmap_672451201_675043201_4FGL_J1033.9+6050_monthly_bin168.fits
Exposure cube: /scratch/kocevski/629453/ltcube_672451201_675043201_4FGL_J1033.9+6050_monthly_bin168.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/629453/Model_4FGL_J1033.9+6050_monthly_bin168.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) = 115921.491962

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1911       1.0000         .10000E-03   10000.    
     2 'norm      '    .92154       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .62225       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.8313       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .34426       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.9032       1.0000         .10000E-03   10000.    
     8 'norm      '    1.0076       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.1864       1.0000         .10000E-03   10000.    
    10 'norm      '    1.5405       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .44611       1.0000         .10000E-03   10000.    
    12 'norm      '    9.1121       1.0000         .10000E-03   10000.    
    13 'norm      '    6.3146       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .30059E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    21.677       1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.710       1.0000         .10000E-03   10000.    
    17 'norm      '    1.6750       1.0000         .10000E-03   10000.    
    18 'norm      '    3.6771       1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.3236       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.4548       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10431E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .41510       1.0000         .10000E-03   10000.    
    24 'Prefactor '    33.242       1.0000         .10000E-03   10000.    
    25 'norm      '    2.3062       1.0000         .10000E-03   10000.    
    26 'Prefactor '    2.8193       1.0000         .10000E-03   10000.    
    27 'Prefactor '    11.280       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .81706       1.0000         .10000E-03   10000.    
    30 'Prefactor '    17.767       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .58913       1.0000         .10000E-03   10000.    
    32 'Prefactor '    2.0378       1.0000         .10000E-03   10000.    
    33 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    34 'norm      '    .12217E-03   1.0000         .10000E-03   10000.    
    35 'Prefactor '    4.4934       1.0000         .10000E-03   10000.    
    36 'Prefactor '    5.8794       1.0000         .10000E-03   10000.    
    37 'Prefactor '    5.1779       1.0000         .10000E-03   10000.    
    38 'Normalizat'    .96971       1.0000         .10000E-01   10.000    
    39 'Prefactor '    1.0663       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   115921.4     FROM MIGRAD    STATUS=CONVERGED   1196 CALLS     5387 TOTAL
                     EDM=   .72E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1913        1.5121         .0000        .46009E-02
   2  norm          .92161        .20403         .0000        .90596E-02
   3  Prefactor     .62634        1.6127         .0000        .33983    
   4  Prefactor     2.8314        .93103         .0000        .79405E-02
   5  Prefactor     .34445        .66255         .0000        .14191E-01
   6  Prefactor     .10000E-03    .62457         .0000    ** at limit **
   7  Prefactor     2.9021        1.6218         .0000        .16152    
   8  norm          1.0080        1.1698         .0000        .69950E-02
   9  Prefactor     8.1868        7.8889         .0000        .99760E-03
  10  norm          1.5405        .14842         .0000        .14170E-03
  11  Prefactor     .45185        1.0968         .0000        .60676    
  12  norm          9.1121        .33374         .0000       -.57604E-02
  13  norm          6.3143        .87425         .0000       -.25738E-01
  14  Prefactor     .10015E-03    1.2220         .0000    ** at limit **
  15  norm          21.678        4.6150         .0000       -.33049E-02
  16  Prefactor     13.711        4.6584         .0000       -.24013E-02
  17  norm          1.6750        .55019         .0000        .58313E-02
  18  norm          3.6772        .45902         .0000       -.21462E-02
  19  Prefactor     9.3355        16.765         .0000        .12114E-02
  20  Prefactor     .10000E-03    .25506         .0000    ** at limit **
  21  norm          1.4548        .19084         .0000        .26038E-02
  22  Prefactor     .10000E-03    7.1877         .0000    ** at limit **
  23  norm          .41527        .80639         .0000        .29092E-01
  24  Prefactor     33.264        19.842         .0000       -.27211E-02
  25  norm          2.3061        .49449         .0000        .30383E-02
  26  Prefactor     2.8204        2.2758         .0000        .10844E-01
  27  Prefactor     11.288        8.9798         .0000        .42463E-02
  28  Prefactor     .10000E-03    2.3799         .0000    ** at limit **
  29  Prefactor     .81908        .97670         .0000        .17520E-01
  30  Prefactor     17.767        5.7324         .0000        .34866E-02
  31  Prefactor     .58759        1.3586         .0000        .51264E-02
  32  Prefactor     2.0378        .69396         .0000        .12806E-03
  33  norm          .10000E-03    .47276         .0000    ** at limit **
  34  norm          .10000E-03    .23104         .0000    ** at limit **
  35  Prefactor     4.4936        1.7601         .0000        .31229E-02
  36  Prefactor     5.8803        4.5394         .0000        .12420E-01
  37  Prefactor     5.1788        4.0362         .0000       -.31426E-02
  38  Normalizat    .96970        .43565E-01     .0000        .13207E-02
  39  Prefactor     1.0663        .45545E-01     .0000        .37162E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.19131
  norm       = 0.921609
  Prefactor  = 0.62634
  Prefactor  = 2.83145
  Prefactor  = 0.344454
  Prefactor  = 0.0001
  Prefactor  = 2.9021
  norm       = 1.00795
  Prefactor  = 8.18678
  norm       = 1.54049
  Prefactor  = 0.451855
  norm       = 9.11213
  norm       = 6.31427
  Prefactor  = 0.000100146
  norm       = 21.6779
  Prefactor  = 13.7105
  norm       = 1.67497
  norm       = 3.67718
  Prefactor  = 9.33549
  Prefactor  = 0.0001
  norm       = 1.45484
  Prefactor  = 0.0001
  norm       = 0.415272
  Prefactor  = 33.2639
  norm       = 2.30606
  Prefactor  = 2.82037
  Prefactor  = 11.2879
  Prefactor  = 0.0001
  Prefactor  = 0.819083
  Prefactor  = 17.7667
  Prefactor  = 0.587587
  Prefactor  = 2.03784
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 4.49361
  Prefactor  = 5.88026
  Prefactor  = 5.17876
  Normalizat = 0.969702
  Prefactor  = 1.0663
 **********
 **   18 **HESSE 
 **********

 FCN=   115921.4     FROM HESSE     STATUS=OK           976 CALLS     6363 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1913        1.5048        .27803E-03   -1.5412    
   2  norm          .92161        .19621        .68146E-03   -1.5516    
   3  Prefactor     .62634        1.6085        .23520E-02   -1.5550    
   4  Prefactor     2.8314        .92578        .17876E-03   -1.5371    
   5  Prefactor     .34445        .73459        .36994E-02   -1.5591    
   6  Prefactor     .10000E-03    .64136        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.9021        1.5984        .11924E-02   -1.5367    
   8  norm          1.0080        .99546        .36397E-02   -1.5507    
   9  Prefactor     8.1868        7.6486        .14012E-03   -1.5136    
  10  norm          1.5405        .14748        .38768E-04   -1.5460    
  11  Prefactor     .45185        1.1026        .22098E-02   -1.5574    
  12  norm          9.1121        .33338        .35642E-04   -1.5104    
  13  norm          6.3143        .87345        .57447E-03   -1.5205    
  14  Prefactor     .10015E-03    7.6128        .71464E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          21.678        4.6140        .86029E-04   -1.4776    
  16  Prefactor     13.711        4.6730        .10818E-03   -1.4967    
  17  norm          1.6750        .54740        .11814E-03   -1.5449    
  18  norm          3.6772        .45856        .78688E-04   -1.5324    
  19  Prefactor     9.3355        16.754        .13125E-03   -1.5097    
  20  Prefactor     .10000E-03    1.0711        .31064E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.4548        .17799        .46479E-04   -1.5467    
  22  Prefactor     .10000E-03    7.2285        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .41527        .56661        .20542E-03   -1.5579    
  24  Prefactor     33.264        19.840        .69501E-04   -1.4554    
  25  norm          2.3061        .49352        .10594E-03   -1.5404    
  26  Prefactor     2.8204        1.6622        .22304E-03   -1.5372    
  27  Prefactor     11.288        8.9908        .11929E-03   -1.5036    
  28  Prefactor     .10000E-03    2.4448        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .81908        .94259        .34846E-03   -1.5527    
  30  Prefactor     17.767        5.7210        .47510E-03   -1.4865    
  31  Prefactor     .58759        3.9987        .58199E-02   -1.5555    
  32  Prefactor     2.0378        .69458        .16056E-03   -1.5422    
  33  norm          .10000E-03    .47654        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  norm          .10000E-03    .23222        .47086E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  35  Prefactor     4.4936        1.7512        .18994E-03   -1.5284    
  36  Prefactor     5.8803        4.5224        .82810E-03   -1.5223    
  37  Prefactor     5.1788        4.0316        .17667E-03   -1.5253    
  38  Normalizat    .96970        .49118E-01    .26663E-03   -.94052    
  39  Prefactor     1.0663        .51883E-01    .28646E-03   -.90551    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.59468e-06
Minuit parameter uncertainties:
  1  1.50479
  2  0.196215
  3  1.60859
  4  0.925787
  5  0.734609
  6  1.2485e-05
  7  1.59843
  8  0.995478
  9  7.64947
  10  0.147478
  11  1.10264
  12  0.333381
  13  0.873452
  14  0.00210602
  15  4.6141
  16  4.67313
  17  0.547403
  18  0.458558
  19  16.7626
  20  7.53204e-06
  21  0.177987
  22  3.99707e-05
  23  0.566619
  24  19.8439
  25  0.493517
  26  1.66221
  27  8.99189
  28  2.32473e-05
  29  0.942609
  30  5.72119
  31  3.06569
  32  0.69458
  33  5.35366e-06
  34  1.67012e-05
  35  1.75117
  36  4.52262
  37  4.03181
  38  0.0491199
  39  0.051885
Done.

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

Extracting fit parameters...

4FGL J1033.9+6050
   Spectrum: LogParabola
421         norm:  1.675e+00  5.474e-01  1.000e-04  1.000e+04 ( 1.000e-12)
422        alpha:  2.137e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
423         beta:  9.680e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
424           Eb:  1.110e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
784    Prefactor:  1.066e+00  5.189e-02  0.000e+00  1.000e+01 ( 1.000e+00)
785        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
786        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
783   Normalization:  9.697e-01  4.912e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 28.90
Ra Dec: 158.485 60.849
Photon Index (Fixed Index): 2.14 +/- 0.00
Photon Flux (Fixed Index): 1.90e-08 +/- 6.20e-09
Energy Flux (Fixed Index): 9.39e-06 +/- 3.07e-06

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) = 115921.084766
delta logL = 0.294475359377

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 115921.077411
delta logL = 0.30183103375

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   115921.1     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      222 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5691        3.8273        .84858E-02    .71555E-02
   2  alpha         2.3455        1.3167        .41251        .51228E-03
   3  Normalizat    .96357        .13766E-01    .45709E-01    .24340E-03
   4  Prefactor     1.0700        .12825E-01    .64664E-01    .17970E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.56911
  alpha      = 2.34554
  Normalizat = 0.96357
  Prefactor  = 1.06998
 **********
 **   18 **HESSE 
 **********

 FCN=   115921.1     FROM HESSE     STATUS=OK            33 CALLS      255 TOTAL
                     EDM=   .85E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5691        .48349        .10823E-03   -1.5457    
   2  alpha         2.3455        .28111        .19638E-01   -.61824E-01
   3  Normalizat    .96357        .45634E-01    .26734E-03   -.94261    
   4  Prefactor     1.0700        .50469E-01    .28601E-03   -.90432    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.52113e-11
Minuit parameter uncertainties:
  1  0.483494
  2  0.28171
  3  0.045636
  4  0.0504709
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/629453': 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) = 115921.077411
delta logL = 0.301831158227

Extracting fit parameters...

4FGL J1033.9+6050
   Spectrum: LogParabola
421         norm:  1.569e+00  4.835e-01  1.000e-04  1.000e+04 ( 1.000e-12)
422        alpha:  2.346e+00  2.817e-01  0.000e+00  5.000e+00 ( 1.000e+00)
423         beta:  9.680e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
424           Eb:  1.110e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
784    Prefactor:  1.070e+00  5.047e-02  0.000e+00  1.000e+01 ( 1.000e+00)
785        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
786        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
783   Normalization:  9.636e-01  4.564e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 29.59
Ra Dec: 158.485 60.849
Photon Index (Free Index): 2.35 +/- 0.28
Photon Flux (Free Index): 2.43e-08 +/- 9.24e-09
Energy Flux (Free Index): 9.06e-06 +/- 2.43e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/629453/cmap_HighResolution_672451201_675043201_4FGL_J1033.9+6050_monthly_bin168.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.90e-08', energy_flux2='9.06e-06', photon_flux_error='6.20e-09', dlogl='3.02e-01', energy_flux='9.39e-06', photon_flux2='2.43e-08', job_status='DONE', time_completed='2022-05-24 07:34:12.823076', photon_index_error2='0.28', photon_index2='2.35', ts='28.90', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='2.43e-06', EG='0.97', time_epoch_completed='1653402852.82', return_code='0', job_id='629453', GAL2='1.07', EG2='0.96', return_code2='0', energy_flux_error='3.07e-06', photon_flux_error2='9.24e-09', ts2='29.59', photon_index='2.14' WHERE bin_id='168' AND source_name='4FGL J1033.9+6050' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Tue May 24 07:34:12 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0032>
Subject: Job 629453: <4FGL_J1033.9+6050_monthly_bin168> in cluster <slac> Done

Job <4FGL_J1033.9+6050_monthly_bin168> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue May 24 02:50:29 2022
Job was executed on host(s) <bullet0032>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May 24 02:54:08 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May 24 02:54:08 2022
Terminated at Tue May 24 07:34:14 2022
Results reported at Tue May 24 07:34:14 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1033.9+6050_monthly_bin168 158.485 60.8493 672451201 675043201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1033.9+6050 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   16665.00 sec.
    Max Memory :                                 634 MB
    Average Memory :                             515.06 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   16805 sec.
    Turnaround time :                            17025 sec.

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

