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


Performing analysis on: 4FGL_J1319.8+7759_monthly_bin170
RA = 199.966, Dec = 77.9882
tmin = 677635201, tmax = 680227201
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='102475', job_status='RUN', time_executed='2022-07-23 01:47:24.694258', time_epoch_executed='1658566044.69' WHERE source_name='4FGL J1319.8+7759' and cadence='monthly' and bin_id='170'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/102475

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

Retrieving the FT1 file...

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

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

Retrieving 455 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/102475/ft1_4FGL_J1319.8+7759_monthly_bin170.fits


Retrieving the FT1 file...

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

Retrieving 455 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/102475/ft2_4FGL_J1319.8+7759_monthly_bin170.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/102475/ft1_4FGL_J1319.8+7759_monthly_bin170.fits outfile=/scratch/kocevski/102475/ft1_filteredMKT_4FGL_J1319.8+7759_monthly_bin170.fits ra=199.966 dec=77.9882 rad=12.0 tmin=677635201.0 tmax=680227201.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 32.15
user 31.38
sys 0.69

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/102475/ft2_4FGL_J1319.8+7759_monthly_bin170.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/102475/ft2_4FGL_J1319.8+7759_monthly_bin170.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/102475/ft1_filteredMKT_4FGL_J1319.8+7759_monthly_bin170.fits evtable="EVENTS" outfile="/scratch/kocevski/102475/ft1_filtered_4FGL_J1319.8+7759_monthly_bin170.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.84
user 0.65
sys 0.17

Number of photons that the gtmktime cut: 8628

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/102475/ft1_filtered_4FGL_J1319.8+7759_monthly_bin170.fits" evtable="EVENTS" scfile=/scratch/kocevski/102475/ft2_4FGL_J1319.8+7759_monthly_bin170.fits sctable="SC_DATA" outfile=/scratch/kocevski/102475/ltcube_677635201_680227201_4FGL_J1319.8+7759_monthly_bin170.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/102475/ft2_4FGL_J1319.8+7759_monthly_bin170.fits
.....................!
real 108.96
user 108.42
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/102475/ft1_filtered_4FGL_J1319.8+7759_monthly_bin170.fits evtable="EVENTS" scfile=/scratch/kocevski/102475/ft2_4FGL_J1319.8+7759_monthly_bin170.fits sctable="SC_DATA" expcube=/scratch/kocevski/102475/ltcube_677635201_680227201_4FGL_J1319.8+7759_monthly_bin170.fits outfile=/scratch/kocevski/102475/expmap_677635201_680227201_4FGL_J1319.8+7759_monthly_bin170.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/102475/ltcube_677635201_680227201_4FGL_J1319.8+7759_monthly_bin170.fits
.....................!
real 191.60
user 186.07
sys 5.20

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

Setting source of interest to:
4FGL J1319.8+7759 @ 199.966 77.9882

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/102475/ft1_filtered_4FGL_J1319.8+7759_monthly_bin170.fits scfile=/scratch/kocevski/102475/ft2_4FGL_J1319.8+7759_monthly_bin170.fits outfile=/scratch/kocevski/102475/cmap_677635201_680227201_4FGL_J1319.8+7759_monthly_bin170.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=199.966 yref=77.9882 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.79
user 0.61
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/102475/ft1_filtered_4FGL_J1319.8+7759_monthly_bin170.fits scfile=/scratch/kocevski/102475/ft2_4FGL_J1319.8+7759_monthly_bin170.fits outfile=/scratch/kocevski/102475/cmap_HighResolution_677635201_680227201_4FGL_J1319.8+7759_monthly_bin170.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=199.966 yref=77.9882 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.79
user 0.63
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/102475/ft1_filtered_4FGL_J1319.8+7759_monthly_bin170.fits evtable="EVENTS" scfile=/scratch/kocevski/102475/ft2_4FGL_J1319.8+7759_monthly_bin170.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/102475/Model_4FGL_J1319.8+7759_monthly_bin170.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/102475/ft1_filtered_4FGL_J1319.8+7759_monthly_bin170.fits.....................!
real 904.51
user 901.83
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/102475/ft1_filtered_4FGL_J1319.8+7759_monthly_bin170.fits', '/scratch/kocevski/102475/ft2_4FGL_J1319.8+7759_monthly_bin170.fits', expMap='/scratch/kocevski/102475/expmap_677635201_680227201_4FGL_J1319.8+7759_monthly_bin170.fits', expCube='/scratch/kocevski/102475/ltcube_677635201_680227201_4FGL_J1319.8+7759_monthly_bin170.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/102475/Model_4FGL_J1319.8+7759_monthly_bin170.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1319.8+7759'

4FGL J1319.8+7759
   Spectrum: PowerLaw
383    Prefactor:  8.394e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
384        Index:  2.047e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
385        Scale:  2.178e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/102475/ft1_filtered_4FGL_J1319.8+7759_monthly_bin170.fits
Spacecraft file(s): /scratch/kocevski/102475/ft2_4FGL_J1319.8+7759_monthly_bin170.fits
Exposure map: /scratch/kocevski/102475/expmap_677635201_680227201_4FGL_J1319.8+7759_monthly_bin170.fits
Exposure cube: /scratch/kocevski/102475/ltcube_677635201_680227201_4FGL_J1319.8+7759_monthly_bin170.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/102475/Model_4FGL_J1319.8+7759_monthly_bin170.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) = 91693.3456716

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.1609       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .66143E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    18.137       1.0000         .10000E-03   10000.    
     5 'Prefactor '    108.65       1.0000         .10000E-03   10000.    
     6 'norm      '    4.7167       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10293E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.5963       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .58045E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.1246       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.5045       1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.064       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.5707       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.0531       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.2105       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .14436E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.9649       1.0000         .10000E-03   10000.    
    23 'Prefactor '    4.7015       1.0000         .10000E-03   10000.    
    24 'Prefactor '    23.658       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    1.7949       1.0000         .10000E-03   10000.    
    27 'norm      '    8.5236       1.0000         .10000E-03   10000.    
    28 'Prefactor '    1.1784       1.0000         .10000E-03   10000.    
    29 'Prefactor '    1.4289       1.0000         .10000E-03   10000.    
    30 'Normalizat'    .88070       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.0975       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6910E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   91693.24     FROM MIGRAD    STATUS=CONVERGED    803 CALLS     3599 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.1608        2.4314       -.50923E-08    .51833E-04
   2  Prefactor     .10008E-03    .66546       -.72379E-06** at limit **
   3  Prefactor     .10000E-03    1.0525       -.15992E-07** at limit **
   4  Prefactor     18.147        7.4098       -.19076E-08    .16563E-02
   5  Prefactor     108.67        16.101        .34269E-05   -.16029E-03
   6  norm          4.7179        1.4969       -.10212E-06   -.41422E-03
   7  Prefactor     .10000E-03    .27682       -.57355E-06** at limit **
   8  norm          1.5965        .23793       -.51466E-07    .14541E-01
   9  Prefactor     .10000E-03    .75821        .17439E-06** at limit **
  10  Prefactor     4.1250        1.8049       -.63732E-07    .14523E-03
  11  Prefactor     1.5045        .84384        .14644E-07    .17187E-03
  12  Prefactor     10.063        3.1699        .52758E-07   -.10597E-03
  13  Prefactor     .10000E-03    2.7364       -.11798E-06** at limit **
  14  norm          .10000E-03    .28471        .56393E-08** at limit **
  15  norm          1.5713        .73907       -.53142E-07    .21346E-03
  16  Prefactor     1.0551        4.0627        .34578E-06   -.36100E-03
  17  Prefactor     .10000E-03    1.5777       -.73795E-07** at limit **
  18  Prefactor     .10000E-03    .94721        .14914E-07** at limit **
  19  Prefactor     5.2113        4.7331        .12785E-06   -.35036E-04
  20  Prefactor     .10000E-03    .79882       -.21915E-07** at limit **
  21  Prefactor     .10000E-03    .42828        .44871E-07** at limit **
  22  Prefactor     1.9639        2.7900       -.14410E-06    .81827E-04
  23  Prefactor     4.7015        7.9374       -.25869E-07    .11682E-04
  24  Prefactor     23.657        7.3436       -.65802E-09    .52320E-04
  25  Prefactor     .10000E-03    4.2680       -.40119E-07** at limit **
  26  Prefactor     1.7777        17.279        .12374E-06    .75866E-05
  27  norm          8.5233        4.2628        .37179E-07   -.11298E-03
  28  Prefactor     1.1784        .80551       -.84827E-08    .14845E-04
  29  Prefactor     1.4292        5.1347       -.12751E-06   -.26792E-03
  30  Normalizat    .88072        .45547E-01   -.14323E-06    .12999E-02
  31  Prefactor     1.0975        .35444E-01   -.78422E-07    .14817E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.1608
  Prefactor  = 0.000100076
  Prefactor  = 0.0001
  Prefactor  = 18.147
  Prefactor  = 108.666
  norm       = 4.71794
  Prefactor  = 0.000100001
  norm       = 1.59653
  Prefactor  = 0.0001
  Prefactor  = 4.12503
  Prefactor  = 1.5045
  Prefactor  = 10.0635
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.5713
  Prefactor  = 1.05507
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.21132
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.96391
  Prefactor  = 4.70149
  Prefactor  = 23.6571
  Prefactor  = 0.0001
  Prefactor  = 1.77774
  norm       = 8.52327
  Prefactor  = 1.17841
  Prefactor  = 1.4292
  Normalizat = 0.880724
  Prefactor  = 1.09753
 **********
 **   18 **HESSE 
 **********

 FCN=   91693.24     FROM HESSE     STATUS=OK           648 CALLS     4247 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.1608        2.4354        .14990E-03   -1.5173    
   2  Prefactor     .10008E-03    1.3054        .70823E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.0700        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     18.147        7.8794        .94045E-04   -1.4856    
   5  Prefactor     108.67        16.342        .38585E-04   -1.3619    
   6  norm          4.7179        1.5123        .16622E-03   -1.5274    
   7  Prefactor     .10000E-03    .72869        .29247E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.5965        .22749        .50405E-04   -1.5455    
   9  Prefactor     .10000E-03    .99149        .65296E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.1250        1.9088        .99242E-03   -1.5302    
  11  Prefactor     1.5045        .83938        .20177E-03   -1.5463    
  12  Prefactor     10.063        3.1283        .12631E-03   -1.5073    
  13  Prefactor     .10000E-03    2.7410        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    .29306        .31538E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.5713        .72599        .16415E-03   -1.5457    
  16  Prefactor     1.0551        11.226        .24053E-02   -1.5503    
  17  Prefactor     .10000E-03    1.5799        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    .96721        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.2113        4.6826        .17610E-03   -1.5251    
  20  Prefactor     .10000E-03    3.0708        .51271E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    .43332        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.9639        2.7784        .29588E-03   -1.5428    
  23  Prefactor     4.7015        7.9287        .18559E-03   -1.5274    
  24  Prefactor     23.657        7.3568        .82354E-04   -1.4735    
  25  Prefactor     .10000E-03    4.3092        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     1.7777        17.436        .31213E-03   -1.5441    
  27  norm          8.5233        4.2576        .68652E-03   -1.5124    
  28  Prefactor     1.1784        .79443        .21483E-03   -1.5491    
  29  Prefactor     1.4292        5.9974        .18074E-02   -1.5469    
  30  Normalizat    .88072        .49910E-01    .27605E-03   -.97141    
  31  Prefactor     1.0975        .39300E-01    .20094E-03   -.89546    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.73318e-09
Minuit parameter uncertainties:
  1  2.43543
  2  0.000630082
  3  2.20881e-06
  4  7.87988
  5  16.3428
  6  1.51228
  7  5.99112e-05
  8  0.227487
  9  2.42167e-05
  10  1.90879
  11  0.839383
  12  3.12838
  13  4.34453e-06
  14  2.98712e-07
  15  0.725996
  16  6.88428
  17  2.56908e-06
  18  1.05619e-06
  19  4.68294
  20  4.80879e-05
  21  1.04529e-07
  22  2.7786
  23  7.93042
  24  7.35704
  25  5.58879e-06
  26  11.1389
  27  4.25774
  28  0.79444
  29  5.85622
  30  0.0499123
  31  0.0393011
Done.

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

Extracting fit parameters...

4FGL J1319.8+7759
   Spectrum: PowerLaw
383    Prefactor:  1.000e-04  2.569e-06  1.000e-04  1.000e+04 ( 1.000e-14)
384        Index:  2.047e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
385        Scale:  2.178e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
688    Prefactor:  1.098e+00  3.930e-02  0.000e+00  1.000e+01 ( 1.000e+00)
689        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
690        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
687   Normalization:  8.807e-01  4.991e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 199.966 77.988
Photon Flux Upper Limit: 4.53e-09 ph cm-2 s-1
Energy Flux Upper Limit: 3.41e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/102475/likelihoodResults_677635201_680227201_4FGL_J1319.8+7759_monthly_bin170.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 91693.2466092
delta logL = -0.0030171139806

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 91693.2435918
delta logL = 2.85988789983e-07

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 'Index     '    2.0314       1.0000          .0000       10.000    
     3 'Normalizat'    .88072       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0975       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6910E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   91693.24     FROM MIGRAD    STATUS=FAILED        81 CALLS      237 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10138E-03    21.557        .18142E-02** at limit **
   2  Index         1.9635        7.3018        .50000        .59532E-04
   3  Normalizat    .88072        .42999E-02    .27605E-03    .41777E-03
   4  Prefactor     1.0975        .34737E-02    .20094E-03    .44736E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   91693.24     FROM SIMPLEX   STATUS=PROGRESS     118 CALLS      355 TOTAL
                     EDM=   .87E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10071E-03    21.557        .18858E-03** at limit **
   2  Index         1.9594        7.3018        .14664E-02    .59532E-04
   3  Normalizat    .88071        .42999E-02    .44203E-05    .41777E-03
   4  Prefactor     1.0975        .34737E-02    .34412E-05    .44736E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   91693.24     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      407 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.260        .36285E-02** at limit **
   2  Index         1.6818        5.8417        .50000        .12307E-05
   3  Normalizat    .88072        .38058E-02    .11042E-04   -.64247E-03
   4  Prefactor     1.0975        .30746E-02    .40189E-04   -.81651E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.68182
  Normalizat = 0.880724
  Prefactor  = 1.09753
 **********
 **   18 **HESSE 
 **********

 FCN=   91693.24     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      436 TOTAL
                     EDM=   .75E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    91.082        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6818        5.7875        .50000       -.72567    
   3  Normalizat    .88072        .89306E-02    .22084E-05   -.97141    
   4  Prefactor     1.0975        .72142E-02    .80378E-05   -.89546    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.47536e-08
Minuit parameter uncertainties:
  1  0.00033695
  2  542.906
  3  0.00893063
  4  0.00721423
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/102475': 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): 102
logL (Free Index) = 91693.2435886
delta logL = 3.51420021616e-06

Extracting fit parameters...

4FGL J1319.8+7759
   Spectrum: PowerLaw
383    Prefactor:  1.000e-04  3.369e-04  1.000e-04  1.000e+04 ( 1.000e-14)
384        Index:  1.682e+00  5.429e+02  0.000e+00  1.000e+01 (-1.000e+00)
385        Scale:  2.178e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
688    Prefactor:  1.098e+00  7.214e-03  0.000e+00  1.000e+01 ( 1.000e+00)
689        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
690        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
687   Normalization:  8.807e-01  8.931e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 199.966 77.988

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/102475/cmap_HighResolution_677635201_680227201_4FGL_J1319.8+7759_monthly_bin170.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.41e-04', job_status='DONE', photon_flux_upper_limit='4.53e-09', time_completed='2022-07-23 04:44:37.340293', job_id='102475', GAL2='1.10', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1658576677.34', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='3.51e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='170' AND source_name='4FGL J1319.8+7759' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Sat Jul 23 04:44:37 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0166>
Subject: Job 102475: <4FGL_J1319.8+7759_monthly_bin170> in cluster <slac> Done

Job <4FGL_J1319.8+7759_monthly_bin170> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Jul 23 01:45:46 2022
Job was executed on host(s) <bullet0166>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul 23 01:45:47 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul 23 01:45:47 2022
Terminated at Sat Jul 23 04:44:38 2022
Results reported at Sat Jul 23 04:44:38 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1319.8+7759_monthly_bin170 199.966 77.9882 677635201 680227201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1319.8+7759 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   10589.00 sec.
    Max Memory :                                 632 MB
    Average Memory :                             447.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   10730 sec.
    Turnaround time :                            10732 sec.

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

