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 236 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_J0751.0+7908_monthly_bin168
RA = 117.768, Dec = 79.1394
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='622721', job_status='RUN', time_executed='2022-05-24 02:30:32.591471', time_epoch_executed='1653384632.59' WHERE source_name='4FGL J0751.0+7908' and cadence='monthly' and bin_id='168'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/622721

Creating custom pfile directory:
/scratch/kocevski/622721/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/622721/ft1_4FGL_J0751.0+7908_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/622721/ft2_4FGL_J0751.0+7908_monthly_bin168.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/622721/ft1_4FGL_J0751.0+7908_monthly_bin168.fits outfile=/scratch/kocevski/622721/ft1_filteredMKT_4FGL_J0751.0+7908_monthly_bin168.fits ra=117.768 dec=79.1394 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 29.10
user 28.20
sys 0.82

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/622721/ft2_4FGL_J0751.0+7908_monthly_bin168.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/622721/ft2_4FGL_J0751.0+7908_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/622721/ft1_filteredMKT_4FGL_J0751.0+7908_monthly_bin168.fits evtable="EVENTS" outfile="/scratch/kocevski/622721/ft1_filtered_4FGL_J0751.0+7908_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.67
sys 0.19

Number of photons that the gtmktime cut: 13511

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/622721/ft1_filtered_4FGL_J0751.0+7908_monthly_bin168.fits" evtable="EVENTS" scfile=/scratch/kocevski/622721/ft2_4FGL_J0751.0+7908_monthly_bin168.fits sctable="SC_DATA" outfile=/scratch/kocevski/622721/ltcube_672451201_675043201_4FGL_J0751.0+7908_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/622721/ft2_4FGL_J0751.0+7908_monthly_bin168.fits
.....................!
real 131.95
user 130.98
sys 0.46

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/622721/ft1_filtered_4FGL_J0751.0+7908_monthly_bin168.fits evtable="EVENTS" scfile=/scratch/kocevski/622721/ft2_4FGL_J0751.0+7908_monthly_bin168.fits sctable="SC_DATA" expcube=/scratch/kocevski/622721/ltcube_672451201_675043201_4FGL_J0751.0+7908_monthly_bin168.fits outfile=/scratch/kocevski/622721/expmap_672451201_675043201_4FGL_J0751.0+7908_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/622721/ltcube_672451201_675043201_4FGL_J0751.0+7908_monthly_bin168.fits
.....................!
real 192.60
user 186.16
sys 5.86

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

Setting source of interest to:
4FGL J0751.0+7908 @ 117.768 79.1394

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/622721/ft1_filtered_4FGL_J0751.0+7908_monthly_bin168.fits scfile=/scratch/kocevski/622721/ft2_4FGL_J0751.0+7908_monthly_bin168.fits outfile=/scratch/kocevski/622721/cmap_672451201_675043201_4FGL_J0751.0+7908_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=117.768 yref=79.1394 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.83
user 0.61
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/622721/ft1_filtered_4FGL_J0751.0+7908_monthly_bin168.fits scfile=/scratch/kocevski/622721/ft2_4FGL_J0751.0+7908_monthly_bin168.fits outfile=/scratch/kocevski/622721/cmap_HighResolution_672451201_675043201_4FGL_J0751.0+7908_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=117.768 yref=79.1394 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.81
user 0.63
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/622721/ft1_filtered_4FGL_J0751.0+7908_monthly_bin168.fits evtable="EVENTS" scfile=/scratch/kocevski/622721/ft2_4FGL_J0751.0+7908_monthly_bin168.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/622721/Model_4FGL_J0751.0+7908_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/622721/ft1_filtered_4FGL_J0751.0+7908_monthly_bin168.fits.....................!
real 1568.74
user 1561.14
sys 2.69

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/622721/ft1_filtered_4FGL_J0751.0+7908_monthly_bin168.fits', '/scratch/kocevski/622721/ft2_4FGL_J0751.0+7908_monthly_bin168.fits', expMap='/scratch/kocevski/622721/expmap_672451201_675043201_4FGL_J0751.0+7908_monthly_bin168.fits', expCube='/scratch/kocevski/622721/ltcube_672451201_675043201_4FGL_J0751.0+7908_monthly_bin168.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/622721/Model_4FGL_J0751.0+7908_monthly_bin168.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0751.0+7908'

4FGL J0751.0+7908
   Spectrum: LogParabola
280         norm:  6.160e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
281        alpha:  1.972e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
282         beta:  2.056e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  1.119e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/622721/ft1_filtered_4FGL_J0751.0+7908_monthly_bin168.fits
Spacecraft file(s): /scratch/kocevski/622721/ft2_4FGL_J0751.0+7908_monthly_bin168.fits
Exposure map: /scratch/kocevski/622721/expmap_672451201_675043201_4FGL_J0751.0+7908_monthly_bin168.fits
Exposure cube: /scratch/kocevski/622721/ltcube_672451201_675043201_4FGL_J0751.0+7908_monthly_bin168.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/622721/Model_4FGL_J0751.0+7908_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) = 141866.445905

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.0680       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.4144       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    9.7300       1.0000         .10000E-03   10000.    
     7 'norm      '    2.2858       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    4.1880       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.3050       1.0000         .10000E-03   10000.    
    12 'norm      '    .63223       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.810       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .40350E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.5680       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.0449       1.0000         .10000E-03   10000.    
    18 'Prefactor '    15.641       1.0000         .10000E-03   10000.    
    19 'norm      '    7.5587       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.8132       1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.4327       1.0000         .10000E-03   10000.    
    22 'norm      '    .63927       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .97049       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0662       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   141865.6     FROM MIGRAD    STATUS=CONVERGED    558 CALLS     2403 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .82793         .0000    ** at limit **
   2  Prefactor     4.0681        1.7724         .0000        .61200E-01
   3  Prefactor     .10000E-03    .33066         .0000    ** at limit **
   4  Prefactor     9.4146        5.3136         .0000       -.69733E-03
   5  Prefactor     .10000E-03    1.2697         .0000    ** at limit **
   6  norm          9.7300        3.0770         .0000        .29076E-02
   7  norm          2.2858        .18932         .0000        .32569E-02
   8  Prefactor     .10000E-03    5.2547         .0000    ** at limit **
   9  norm          4.1881        2.9719         .0000        .36540E-02
  10  Prefactor     .10000E-03    1.5835         .0000    ** at limit **
  11  Prefactor     2.3049        .82907         .0000        .33146E-02
  12  norm          .63228        .43154         .0000        .31609E-01
  13  Prefactor     .10000E-03    1.3566         .0000    ** at limit **
  14  Prefactor     10.810        2.2165         .0000        .51822E-02
  15  Prefactor     .10000E-03    .33983         .0000    ** at limit **
  16  Prefactor     1.5681        1.6645         .0000        .50521E-02
  17  Prefactor     7.0452        4.6014         .0000       -.99892E-03
  18  Prefactor     15.640        8.3163         .0000       -.47677E-03
  19  norm          7.5587        1.3858         .0000        .11078    
  20  Prefactor     1.8132        1.9573         .0000        .74810E-02
  21  Prefactor     9.4325        2.5014         .0000       -.38051E-02
  22  norm          .63935        .49525         .0000        .19536E-01
  23  Normalizat    .97048        .44467E-01     .0000        .15421E-04
  24  Prefactor     1.0662        .24046E-01     .0000       -.59148E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 4.06814
  Prefactor  = 0.0001
  Prefactor  = 9.41455
  Prefactor  = 0.0001
  norm       = 9.73004
  norm       = 2.28577
  Prefactor  = 0.0001
  norm       = 4.1881
  Prefactor  = 0.0001
  Prefactor  = 2.30487
  norm       = 0.632278
  Prefactor  = 0.0001
  Prefactor  = 10.8102
  Prefactor  = 0.000100002
  Prefactor  = 1.56812
  Prefactor  = 7.04523
  Prefactor  = 15.6405
  norm       = 7.5587
  Prefactor  = 1.8132
  Prefactor  = 9.43252
  norm       = 0.639354
  Normalizat = 0.970476
  Prefactor  = 1.06625
 **********
 **   18 **HESSE 
 **********

 FCN=   141865.6     FROM HESSE     STATUS=OK           431 CALLS     2834 TOTAL
                     EDM=   .76E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .83084        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.0681        1.7719        .99951E-03   -1.5305    
   3  Prefactor     .10000E-03    .33499        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.4146        5.0904        .13061E-03   -1.5094    
   5  Prefactor     .10000E-03    8.7631        .77144E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          9.7300        3.0763        .12847E-03   -1.5084    
   7  norm          2.2858        .18902        .45221E-04   -1.5406    
   8  Prefactor     .10000E-03    5.3584        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.1881        2.9679        .19693E-03   -1.5299    
  10  Prefactor     .10000E-03    1.6141        .13594       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.3049        .82773        .19839E-03   -1.5404    
  12  norm          .63228        .42483        .19157E-03   -1.5549    
  13  Prefactor     .10000E-03    1.3680        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.810        2.2153        .12186E-03   -1.5050    
  15  Prefactor     .10000E-03    .59090        .70345E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.5681        1.6457        .33958E-03   -1.5458    
  17  Prefactor     7.0452        4.7570        .15114E-03   -1.5177    
  18  Prefactor     15.640        8.3038        .10127E-03   -1.4917    
  19  norm          7.5587        1.3494        .72934E-03   -1.5158    
  20  Prefactor     1.8132        1.8851        .31023E-03   -1.5439    
  21  Prefactor     9.4325        2.4155        .13049E-03   -1.5094    
  22  norm          .63935        .45566        .21568E-02   -1.5548    
  23  Normalizat    .97048        .49171E-01    .31989E-03   -.94026    
  24  Prefactor     1.0662        .26957E-01    .17967E-03   -.90553    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.64179e-09
Minuit parameter uncertainties:
  1  2.42221e-06
  2  1.77197
  3  2.29559e-07
  4  5.09062
  5  5.03954e-05
  6  3.07637
  7  0.18902
  8  3.49612e-05
  9  2.96803
  10  3.34759e-05
  11  0.827731
  12  0.424829
  13  6.0038e-06
  14  2.21536
  15  6.12994e-05
  16  1.6457
  17  4.75728
  18  8.30441
  19  1.34936
  20  1.8852
  21  2.41554
  22  0.455667
  23  0.049173
  24  0.0269578
Done.

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

Extracting fit parameters...

4FGL J0751.0+7908
   Spectrum: LogParabola
280         norm:  4.188e+00  2.968e+00  1.000e-04  1.000e+04 ( 1.000e-13)
281        alpha:  1.972e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
282         beta:  2.056e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  1.119e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
690    Prefactor:  1.066e+00  2.696e-02  0.000e+00  1.000e+01 ( 1.000e+00)
691        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
692        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
689   Normalization:  9.705e-01  4.917e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.91
Ra Dec: 117.768 79.139
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 2.97e-09 +/- 2.10e-09
Energy Flux (Fixed Index): 1.93e-06 +/- 1.37e-06

TS (Fixed Index): 3.91
Ra Dec: 117.768 79.139
Photon Flux Upper Limit: 7.70e-09 ph cm-2 s-1
Energy Flux Upper Limit: 5.01e-06 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/622721/likelihoodResults_672451201_675043201_4FGL_J0751.0+7908_monthly_bin168.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) = 141864.131592
delta logL = 1.42482321116

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 141863.880343
delta logL = 1.6760722535

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   141863.9     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      228 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1614        1.5012         .0000       -.20703E-03
   2  alpha         .81640        .39347         .0000       -.73436E-03
   3  Normalizat    .97240        .40176E-01     .0000        .35457E-03
   4  Prefactor     1.0661        .23651E-01     .0000        .11338E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.16144
  alpha      = 0.816401
  Normalizat = 0.972399
  Prefactor  = 1.06606
 **********
 **   18 **HESSE 
 **********

 FCN=   141863.9     FROM HESSE     STATUS=OK            33 CALLS      261 TOTAL
                     EDM=   .61E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1614        1.9325        .28018E-03   -1.5414    
   2  alpha         .81640        .48375        .75373E-01   -.73885    
   3  Normalizat    .97240        .44576E-01    .31959E-03   -.93961    
   4  Prefactor     1.0661        .26284E-01    .17968E-03   -.90559    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.10372e-07
Minuit parameter uncertainties:
  1  1.93257
  2  0.489454
  3  0.0445773
  4  0.0262845
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/622721': 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) = 141863.880343
delta logL = 1.67607252666

Extracting fit parameters...

4FGL J0751.0+7908
   Spectrum: LogParabola
280         norm:  2.161e+00  1.933e+00  1.000e-04  1.000e+04 ( 1.000e-13)
281        alpha:  8.164e-01  4.895e-01  0.000e+00  5.000e+00 ( 1.000e+00)
282         beta:  2.056e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  1.119e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
690    Prefactor:  1.066e+00  2.628e-02  0.000e+00  1.000e+01 ( 1.000e+00)
691        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
692        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
689   Normalization:  9.724e-01  4.458e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.26
Ra Dec: 117.768 79.139
Photon Index (Free Index): 0.82 +/- 0.49
Photon Flux (Free Index): 9.47e-10 +/- 7.03e-10
Energy Flux (Free Index): 4.93e-06 +/- 4.41e-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/622721/cmap_HighResolution_672451201_675043201_4FGL_J0751.0+7908_monthly_bin168.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.01e-06', comment='SUCCESS', photon_flux='2.97e-09', energy_flux2='4.93e-06', photon_flux_error='2.10e-09', dlogl='1.68e+00', energy_flux='1.93e-06', photon_flux2='9.47e-10', job_status='DONE', time_completed='2022-05-24 05:41:51.312885', photon_index_error2='0.49', photon_index2='0.82', ts='3.91', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='7.70e-09', energy_flux_error2='4.41e-06', EG='0.97', time_epoch_completed='1653396111.31', return_code='0', job_id='622721', GAL2='1.07', EG2='0.97', return_code2='0', energy_flux_error='1.37e-06', photon_flux_error2='7.03e-10', ts2='7.26', photon_index='1.97' WHERE bin_id='168' AND source_name='4FGL J0751.0+7908' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Tue May 24 05:41:51 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0044>
Subject: Job 622721: <4FGL_J0751.0+7908_monthly_bin168> in cluster <slac> Done

Job <4FGL_J0751.0+7908_monthly_bin168> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue May 24 02:25:38 2022
Job was executed on host(s) <bullet0044>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May 24 02:26:25 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:26:25 2022
Terminated at Tue May 24 05:42:20 2022
Results reported at Tue May 24 05:42:20 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0751.0+7908_monthly_bin168 117.768 79.1394 672451201 675043201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0751.0+7908 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   11431.00 sec.
    Max Memory :                                 937 MB
    Average Memory :                             521.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   11756 sec.
    Turnaround time :                            11802 sec.

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

