aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


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


Performing analysis on: 4FGL_J0754.7+4823_weekly_bin571
RA = 118.693, Dec = 48.3932
tmin = 584323201, tmax = 584928001
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='361240', job_status='RUN', time_executed='2021-07-11 19:27:24.222007', time_epoch_executed='1626056844.22' WHERE source_name='4FGL J0754.7+4823' and cadence='weekly' and bin_id='571'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/361240

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/361240/ft1_4FGL_J0754.7+4823_weekly_bin571.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/361240/ft2_4FGL_J0754.7+4823_weekly_bin571.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/361240/ft1_4FGL_J0754.7+4823_weekly_bin571.fits outfile=/scratch/kocevski/361240/ft1_filteredMKT_4FGL_J0754.7+4823_weekly_bin571.fits ra=118.693 dec=48.3932 rad=12.0 tmin=584323201.0 tmax=584928001.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 6.84
user 6.51
sys 0.27

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/361240/ft2_4FGL_J0754.7+4823_weekly_bin571.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/361240/ft2_4FGL_J0754.7+4823_weekly_bin571.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/361240/ft1_filteredMKT_4FGL_J0754.7+4823_weekly_bin571.fits evtable="EVENTS" outfile="/scratch/kocevski/361240/ft1_filtered_4FGL_J0754.7+4823_weekly_bin571.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.61
user 0.38
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/361240/ft1_filtered_4FGL_J0754.7+4823_weekly_bin571.fits" evtable="EVENTS" scfile=/scratch/kocevski/361240/ft2_4FGL_J0754.7+4823_weekly_bin571.fits sctable="SC_DATA" outfile=/scratch/kocevski/361240/ltcube_584323201_584928001_4FGL_J0754.7+4823_weekly_bin571.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/361240/ft2_4FGL_J0754.7+4823_weekly_bin571.fits
.....................!
real 31.89
user 31.43
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/361240/ft1_filtered_4FGL_J0754.7+4823_weekly_bin571.fits evtable="EVENTS" scfile=/scratch/kocevski/361240/ft2_4FGL_J0754.7+4823_weekly_bin571.fits sctable="SC_DATA" expcube=/scratch/kocevski/361240/ltcube_584323201_584928001_4FGL_J0754.7+4823_weekly_bin571.fits outfile=/scratch/kocevski/361240/expmap_584323201_584928001_4FGL_J0754.7+4823_weekly_bin571.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/361240/ltcube_584323201_584928001_4FGL_J0754.7+4823_weekly_bin571.fits
.....................!
real 192.17
user 186.12
sys 5.21

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

Setting source of interest to:
4FGL J0754.7+4823 @ 118.693 48.3932

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/361240/ft1_filtered_4FGL_J0754.7+4823_weekly_bin571.fits scfile=/scratch/kocevski/361240/ft2_4FGL_J0754.7+4823_weekly_bin571.fits outfile=/scratch/kocevski/361240/cmap_584323201_584928001_4FGL_J0754.7+4823_weekly_bin571.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=118.693 yref=48.3932 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.40
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/361240/ft1_filtered_4FGL_J0754.7+4823_weekly_bin571.fits scfile=/scratch/kocevski/361240/ft2_4FGL_J0754.7+4823_weekly_bin571.fits outfile=/scratch/kocevski/361240/cmap_HighResolution_584323201_584928001_4FGL_J0754.7+4823_weekly_bin571.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=118.693 yref=48.3932 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.60
user 0.43
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/361240/ft1_filtered_4FGL_J0754.7+4823_weekly_bin571.fits evtable="EVENTS" scfile=/scratch/kocevski/361240/ft2_4FGL_J0754.7+4823_weekly_bin571.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/361240/Model_4FGL_J0754.7+4823_weekly_bin571.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/361240/ft1_filtered_4FGL_J0754.7+4823_weekly_bin571.fits.....................!
real 52.76
user 51.23
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/361240/ft1_filtered_4FGL_J0754.7+4823_weekly_bin571.fits', '/scratch/kocevski/361240/ft2_4FGL_J0754.7+4823_weekly_bin571.fits', expMap='/scratch/kocevski/361240/expmap_584323201_584928001_4FGL_J0754.7+4823_weekly_bin571.fits', expCube='/scratch/kocevski/361240/ltcube_584323201_584928001_4FGL_J0754.7+4823_weekly_bin571.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/361240/Model_4FGL_J0754.7+4823_weekly_bin571.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0754.7+4823'

4FGL J0754.7+4823
   Spectrum: LogParabola
274         norm:  1.564e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
275        alpha:  1.983e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
276         beta:  8.608e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
277           Eb:  1.063e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/361240/ft1_filtered_4FGL_J0754.7+4823_weekly_bin571.fits
Spacecraft file(s): /scratch/kocevski/361240/ft2_4FGL_J0754.7+4823_weekly_bin571.fits
Exposure map: /scratch/kocevski/361240/expmap_584323201_584928001_4FGL_J0754.7+4823_weekly_bin571.fits
Exposure cube: /scratch/kocevski/361240/ltcube_584323201_584928001_4FGL_J0754.7+4823_weekly_bin571.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/361240/Model_4FGL_J0754.7+4823_weekly_bin571.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) = 4472.17956172

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3414       1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    17.429       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10930E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    33.519       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .25418E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .91797       1.0000         .10000E-03   10000.    
    12 'Prefactor '    20.347       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    4.5342       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    22.983       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    3.7418       1.0000         .10000E-03   10000.    
    20 'norm      '    1.8018       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .39070       1.0000         .10000E-03   10000.    
    23 'Prefactor '    11.261       1.0000         .10000E-03   10000.    
    24 'Prefactor '    1.1698       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    29 'norm      '    29.068       1.0000         .10000E-03   10000.    
    30 'norm      '    .10060E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    23.968       1.0000         .10000E-03   10000.    
    34 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    35 'Normalizat'    1.1951       1.0000         .10000E-01   10.000    
    36 'Prefactor '    .85864       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4472.155     FROM MIGRAD    STATUS=CONVERGED   1001 CALLS     5313 TOTAL
                     EDM=   .95E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3412        2.4581        .68944E-08    .85289E-04
   2  norm          .10000E-03    2.3807        .63628E-08** at limit **
   3  Prefactor     .10000E-03    19.670        .70251E-05** at limit **
   4  norm          .10000E-03    1.3196        .25412E-08** at limit **
   5  Prefactor     .10000E-03    4.6069        .46495E-06** at limit **
   6  Prefactor     17.428        15.245        .19714E-06    .98402E-04
   7  Prefactor     .10000E-03    52.270        .29918E-04** at limit **
   8  norm          .10000E-03    5.5371        .21288E-05** at limit **
   9  Prefactor     33.514        32.297       -.34706E-05   -.22848E-03
  10  Prefactor     .10002E-03    227.35       -.59894E-04** at limit **
  11  norm          .91772        1.0564        .25709E-07   -.27304E-03
  12  Prefactor     20.347        21.274        .51112E-06    .24523E-03
  13  Prefactor     .10000E-03    34.217       -.67985E-05** at limit **
  14  norm          4.5341        3.8843       -.61024E-07    .22777E-03
  15  Prefactor     .10000E-03    9.8872        .19322E-05** at limit **
  16  Prefactor     .10000E-03    28.404       -.10890E-04** at limit **
  17  Prefactor     22.989        34.790        .44350E-05   -.47929E-05
  18  Prefactor     .10000E-03    6.7996       -.87407E-06** at limit **
  19  norm          3.7417        3.6783        .52420E-06    .10548E-03
  20  norm          1.8017        2.1877       -.10172E-06   -.40835E-04
  21  Prefactor     .10000E-03    7.0894        .48535E-06** at limit **
  22  norm          .39022        1.0210       -.69577E-06   -.15621E-02
  23  Prefactor     11.276        23.339        .46216E-05    .40894E-04
  24  Prefactor     1.1699        3.9390       -.10636E-05   -.65715E-03
  25  Prefactor     .10000E-03    3.6204       -.26111E-06** at limit **
  26  Prefactor     .10000E-03    17.773        .61354E-05** at limit **
  27  Prefactor     .10000E-03    6.8622       -.92118E-06** at limit **
  28  Prefactor     .10000E-03    14.383       -.74730E-05** at limit **
  29  norm          29.067        15.583        .28783E-06    .10451E-03
  30  norm          .10000E-03    36.535        .67877E-06** at limit **
  31  Prefactor     .10000E-03    23.088       -.53806E-06** at limit **
  32  Prefactor     .10000E-03    5.0477       -.18617E-05** at limit **
  33  Prefactor     23.961        40.705       -.64954E-05    .25010E-04
  34  Prefactor     .10000E-03    77.737       -.20008E-04** at limit **
  35  Normalizat    1.1951        .24918        .79940E-06    .13560E-03
  36  Prefactor     .85864        .15039       -.15238E-06    .19352E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.34124
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.4279
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 33.5135
  Prefactor  = 0.000100017
  norm       = 0.917721
  Prefactor  = 20.3471
  Prefactor  = 0.0001
  norm       = 4.53407
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.9886
  Prefactor  = 0.0001
  norm       = 3.74172
  norm       = 1.80168
  Prefactor  = 0.0001
  norm       = 0.390224
  Prefactor  = 11.2763
  Prefactor  = 1.16985
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 29.067
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.9611
  Prefactor  = 0.0001
  Normalizat = 1.1951
  Prefactor  = 0.858643
 **********
 **   18 **HESSE 
 **********

 FCN=   4472.155     FROM HESSE     STATUS=OK           799 CALLS     6112 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3412        2.4609        .10417E-03   -1.5402    
   2  norm          .10000E-03    2.4411        .20145E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    19.674        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.3219        .75010E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.7388        .28014E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     17.428        15.248        .95936E-04   -1.4873    
   7  Prefactor     .10000E-03    52.946        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    5.5834        .15360E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     33.514        32.490        .69214E-04   -1.4549    
  10  Prefactor     .10002E-03    231.88        .42917E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .91772        1.0121        .68357E-03   -1.5516    
  12  Prefactor     20.347        21.291        .88795E-04   -1.4806    
  13  Prefactor     .10000E-03    34.364        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.5341        3.8833        .11537E-03   -1.5282    
  15  Prefactor     .10000E-03    9.9772        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    28.378        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     22.989        34.784        .83552E-04   -1.4749    
  18  Prefactor     .10000E-03    6.8821        .17002E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.7417        3.6790        .12264E-03   -1.5321    
  20  norm          1.8017        2.1755        .10503E-03   -1.5440    
  21  Prefactor     .10000E-03    7.1120        .17382E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .39022        .99009        .10021E-03   -1.5583    
  23  Prefactor     11.276        22.951        .11938E-03   -1.5036    
  24  Prefactor     1.1699        3.8919        .23768E-03   -1.5492    
  25  Prefactor     .10000E-03    3.6698        .12358E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    17.761        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    6.8687        .17109E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    14.434        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          29.067        15.600        .74310E-04   -1.4629    
  30  norm          .10000E-03    37.546        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    23.213        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    5.1807        .29307E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     23.961        40.711        .81821E-04   -1.4729    
  34  Prefactor     .10000E-03    77.598        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  35  Normalizat    1.1951        .28845        .28360E-03   -.86754    
  36  Prefactor     .85864        .17348        .21160E-03   -.97602    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80487e-09
Minuit parameter uncertainties:
  1  2.46097
  2  1.49825e-06
  3  5.78015e-06
  4  1.50762e-07
  5  3.27706e-06
  6  15.2514
  7  4.90905e-05
  8  5.22321e-06
  9  32.5074
  10  0.00398047
  11  1.01211
  12  21.2991
  13  1.06098e-05
  14  3.88348
  15  1.02547e-07
  16  2.4729e-06
  17  34.8147
  18  7.99653e-06
  19  3.67919
  20  2.17558
  21  1.96308e-05
  22  0.990131
  23  22.9684
  24  3.89277
  25  4.98785e-05
  26  1.9589e-05
  27  2.14439e-06
  28  4.26852e-05
  29  15.6027
  30  0.000288063
  31  3.28227e-05
  32  1.16608e-05
  33  40.7583
  34  5.34821e-05
  35  0.288831
  36  0.173589
Done.

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

Extracting fit parameters...

4FGL J0754.7+4823
   Spectrum: LogParabola
274         norm:  4.534e+00  3.883e+00  1.000e-04  1.000e+04 ( 1.000e-12)
275        alpha:  1.983e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
276         beta:  8.608e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
277           Eb:  1.063e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
656    Prefactor:  8.586e-01  1.736e-01  0.000e+00  1.000e+01 ( 1.000e+00)
657        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
658        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
655   Normalization:  1.195e+00  2.888e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.05
Ra Dec: 118.693 48.393
Photon Index (Fixed Index): 1.98 +/- 0.00
Photon Flux (Fixed Index): 3.98e-08 +/- 3.40e-08
Energy Flux (Fixed Index): 2.52e-05 +/- 2.16e-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) = 4471.7495973
delta logL = 0.405719268335

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4471.67667447
delta logL = 0.478642093378

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4471.677     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      212 TOTAL
                     EDM=   .53E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.9065        2.8491        .59589E-02   -.12526E-03
   2  alpha         1.1851        .51671        .37065       -.25968E-04
   3  Normalizat    1.2134        .23075        .63718E-01    .89351E-05
   4  Prefactor     .85526        .14934        .44432E-01    .11291E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.90648
  alpha      = 1.18514
  Normalizat = 1.21345
  Prefactor  = 0.855255
 **********
 **   18 **HESSE 
 **********

 FCN=   4471.677     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.9065        3.7171        .10432E-03   -1.5367    
   2  alpha         1.1851        .71280        .15316E-01   -.55382    
   3  Normalizat    1.2134        .26466        .28185E-03   -.86188    
   4  Prefactor     .85526        .17148        .21209E-03   -.97723    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27241e-09
Minuit parameter uncertainties:
  1  3.71736
  2  0.726877
  3  0.264958
  4  0.171587
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/361240': 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) = 4471.67667444
delta logL = 0.478642122294

Extracting fit parameters...

4FGL J0754.7+4823
   Spectrum: LogParabola
274         norm:  2.906e+00  3.717e+00  1.000e-04  1.000e+04 ( 1.000e-12)
275        alpha:  1.185e+00  7.269e-01  0.000e+00  5.000e+00 ( 1.000e+00)
276         beta:  8.608e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
277           Eb:  1.063e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
656    Prefactor:  8.553e-01  1.716e-01  0.000e+00  1.000e+01 ( 1.000e+00)
657        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
658        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
655   Normalization:  1.213e+00  2.650e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.02
Ra Dec: 118.693 48.393
Photon Index (Free Index): 1.19 +/- 0.73
Photon Flux (Free Index): 1.43e-08 +/- 1.81e-08
Energy Flux (Free Index): 6.38e-05 +/- 9.23e-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/361240/cmap_HighResolution_584323201_584928001_4FGL_J0754.7+4823_weekly_bin571.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.98e-08', energy_flux2='6.38e-05', photon_flux_error='3.40e-08', dlogl='4.79e-01', energy_flux='2.52e-05', photon_flux2='1.43e-08', job_status='DONE', time_completed='2021-07-11 19:41:46.991721', photon_index_error2='0.73', photon_index2='1.19', ts='8.05', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='9.23e-05', EG='1.20', time_epoch_completed='1626057706.99', return_code='0', job_id='361240', GAL2='0.86', EG2='1.21', return_code2='0', energy_flux_error='2.16e-05', photon_flux_error2='1.81e-08', ts2='9.02', photon_index='1.98' WHERE bin_id='571' AND source_name='4FGL J0754.7+4823' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sun Jul 11 19:41:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0005>
Subject: Job 361240: <4FGL_J0754.7+4823_weekly_bin571> in cluster <slac> Done

Job <4FGL_J0754.7+4823_weekly_bin571> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sun Jul 11 19:25:38 2021
Job was executed on host(s) <bullet0005>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jul 11 19:25:46 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jul 11 19:25:46 2021
Terminated at Sun Jul 11 19:41:47 2021
Results reported at Sun Jul 11 19:41:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0754.7+4823_weekly_bin571 118.693 48.3932 584323201 584928001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0754.7+4823 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   848.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             289.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   963 sec.
    Turnaround time :                            969 sec.

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

