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 94 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_J0754.7+4823_monthly_bin168
RA = 118.693, Dec = 48.3932
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='622734', job_status='RUN', time_executed='2022-05-24 02:28:11.957005', time_epoch_executed='1653384491.96' WHERE source_name='4FGL J0754.7+4823' and cadence='monthly' and bin_id='168'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/622734

Creating custom pfile directory:
/scratch/kocevski/622734/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/622734/ft1_4FGL_J0754.7+4823_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/622734/ft2_4FGL_J0754.7+4823_monthly_bin168.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/622734/ft1_4FGL_J0754.7+4823_monthly_bin168.fits outfile=/scratch/kocevski/622734/ft1_filteredMKT_4FGL_J0754.7+4823_monthly_bin168.fits ra=118.693 dec=48.3932 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.76
user 27.93
sys 0.73

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/622734/ft2_4FGL_J0754.7+4823_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/622734/ft1_filteredMKT_4FGL_J0754.7+4823_monthly_bin168.fits evtable="EVENTS" outfile="/scratch/kocevski/622734/ft1_filtered_4FGL_J0754.7+4823_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.88
user 0.67
sys 0.19

Number of photons that the gtmktime cut: 9292

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/622734/ft1_filtered_4FGL_J0754.7+4823_monthly_bin168.fits" evtable="EVENTS" scfile=/scratch/kocevski/622734/ft2_4FGL_J0754.7+4823_monthly_bin168.fits sctable="SC_DATA" outfile=/scratch/kocevski/622734/ltcube_672451201_675043201_4FGL_J0754.7+4823_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/622734/ft2_4FGL_J0754.7+4823_monthly_bin168.fits
.....................!
real 133.97
user 133.22
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/622734/ft1_filtered_4FGL_J0754.7+4823_monthly_bin168.fits evtable="EVENTS" scfile=/scratch/kocevski/622734/ft2_4FGL_J0754.7+4823_monthly_bin168.fits sctable="SC_DATA" expcube=/scratch/kocevski/622734/ltcube_672451201_675043201_4FGL_J0754.7+4823_monthly_bin168.fits outfile=/scratch/kocevski/622734/expmap_672451201_675043201_4FGL_J0754.7+4823_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/622734/ltcube_672451201_675043201_4FGL_J0754.7+4823_monthly_bin168.fits
.....................!
real 192.04
user 186.50
sys 5.06

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/622734/ft1_filtered_4FGL_J0754.7+4823_monthly_bin168.fits scfile=/scratch/kocevski/622734/ft2_4FGL_J0754.7+4823_monthly_bin168.fits outfile=/scratch/kocevski/622734/cmap_672451201_675043201_4FGL_J0754.7+4823_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=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.63
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/622734/ft1_filtered_4FGL_J0754.7+4823_monthly_bin168.fits scfile=/scratch/kocevski/622734/ft2_4FGL_J0754.7+4823_monthly_bin168.fits outfile=/scratch/kocevski/622734/cmap_HighResolution_672451201_675043201_4FGL_J0754.7+4823_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=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.63
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/622734/ft1_filtered_4FGL_J0754.7+4823_monthly_bin168.fits evtable="EVENTS" scfile=/scratch/kocevski/622734/ft2_4FGL_J0754.7+4823_monthly_bin168.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/622734/Model_4FGL_J0754.7+4823_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/622734/ft1_filtered_4FGL_J0754.7+4823_monthly_bin168.fits.....................!
real 807.99
user 804.66
sys 1.34

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/622734/ft1_filtered_4FGL_J0754.7+4823_monthly_bin168.fits', '/scratch/kocevski/622734/ft2_4FGL_J0754.7+4823_monthly_bin168.fits', expMap='/scratch/kocevski/622734/expmap_672451201_675043201_4FGL_J0754.7+4823_monthly_bin168.fits', expCube='/scratch/kocevski/622734/ltcube_672451201_675043201_4FGL_J0754.7+4823_monthly_bin168.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/622734/Model_4FGL_J0754.7+4823_monthly_bin168.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/622734/ft1_filtered_4FGL_J0754.7+4823_monthly_bin168.fits
Spacecraft file(s): /scratch/kocevski/622734/ft2_4FGL_J0754.7+4823_monthly_bin168.fits
Exposure map: /scratch/kocevski/622734/expmap_672451201_675043201_4FGL_J0754.7+4823_monthly_bin168.fits
Exposure cube: /scratch/kocevski/622734/ltcube_672451201_675043201_4FGL_J0754.7+4823_monthly_bin168.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/622734/Model_4FGL_J0754.7+4823_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) = 100587.967478

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .46122E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.4620       1.0000         .10000E-03   10000.    
     4 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.8378       1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.6418       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.2257       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.1773       1.0000         .10000E-03   10000.    
    11 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.4245       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10220E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.2230       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .43778E-01   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.0544       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.1755       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.1393       1.0000         .10000E-03   10000.    
    19 'norm      '    .47485       1.0000         .10000E-03   10000.    
    20 'norm      '    2.3624       1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.9204       1.0000         .10000E-03   10000.    
    22 'norm      '    1.1217       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10184E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.1489       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .46454       1.0000         .10000E-03   10000.    
    26 'Prefactor '    23.166       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .80614       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .85504       1.0000         .10000E-03   10000.    
    29 'norm      '    3.2224       1.0000         .10000E-03   10000.    
    30 'norm      '    2.8317       1.0000         .10000E-03   10000.    
    31 'Prefactor '    2.5874       1.0000         .10000E-03   10000.    
    32 'Prefactor '    .60535       1.0000         .10000E-03   10000.    
    33 'Prefactor '    .37684E-03   1.0000         .10000E-03   10000.    
    34 'Prefactor '    1.3250       1.0000         .10000E-03   10000.    
    35 'Normalizat'    1.0146       1.0000         .10000E-01   10.000    
    36 'Prefactor '    1.1137       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   100587.6     FROM MIGRAD    STATUS=CONVERGED   1042 CALLS     4685 TOTAL
                     EDM=   .65E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .22250         .0000    ** at limit **
   2  norm          .42936E-01    .18476         .0000        .10530E-01
   3  Prefactor     2.4613        4.9107         .0000        .11016E-02
   4  norm          .10000E-03    .20439         .0000    ** at limit **
   5  Prefactor     1.8392        1.4482         .0000        .13396E-01
   6  Prefactor     8.6256        4.0713         .0000       -.16813E-02
   7  Prefactor     .10000E-03    2.2497         .0000    ** at limit **
   8  norm          .10000E-03    .38997         .0000    ** at limit **
   9  Prefactor     7.2099        4.9982         .0000        .36895E-02
  10  Prefactor     7.2251        7.1959         .0000        .14625E-02
  11  norm          .10000E-03    .25961E-01     .0000    ** at limit **
  12  Prefactor     2.4231        2.9621         .0000        .32278E-02
  13  Prefactor     .10000E-03    1.0246         .0000    ** at limit **
  14  norm          1.2229        .53391         .0000        .46369E-02
  15  Prefactor     .62455E-01    .32501         .0000        .27644E-02
  16  Prefactor     3.0627        7.5789         .0000        .19728E-02
  17  Prefactor     1.1843        3.4479         .0000        .78960E-01
  18  Prefactor     2.1402        1.1412         .0000        .88066E-02
  19  norm          .47489        .49701         .0000        .12149E-01
  20  norm          2.3623        .43449         .0000       -.23778E-03
  21  Prefactor     3.9205        2.0802         .0000        .21054E-02
  22  norm          1.1216        .16995         .0000       -.21415E-02
  23  Prefactor     .10000E-03    .67735         .0000    ** at limit **
  24  Prefactor     3.1492        1.5488         .0000        .19593    
  25  Prefactor     .46429        .44051         .0000        .14042E-01
  26  Prefactor     23.159        6.8575         .0000       -.81449E-03
  27  Prefactor     .80717        1.1339         .0000        .38894E-02
  28  Prefactor     .85490        .80489         .0000        .30446E-02
  29  norm          3.2224        1.2625         .0000        .99750E-01
  30  norm          2.8323        1.4413         .0000        .18033    
  31  Prefactor     2.5906        2.1310         .0000        .33666E-02
  32  Prefactor     .60548        .50345         .0000        .13846E-01
  33  Prefactor     .10006E-03    .88641         .0000    ** at limit **
  34  Prefactor     1.2840        10.300         .0000        .15153E-01
  35  Normalizat    1.0145        .53735E-01     .0000        .78984E-04
  36  Prefactor     1.1137        .35521E-01     .0000       -.27727E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0429359
  Prefactor  = 2.46132
  norm       = 0.0001
  Prefactor  = 1.83922
  Prefactor  = 8.62563
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.2099
  Prefactor  = 7.22508
  norm       = 0.0001
  Prefactor  = 2.42307
  Prefactor  = 0.0001
  norm       = 1.22293
  Prefactor  = 0.0624547
  Prefactor  = 3.0627
  Prefactor  = 1.18427
  Prefactor  = 2.14018
  norm       = 0.474891
  norm       = 2.36232
  Prefactor  = 3.92045
  norm       = 1.12155
  Prefactor  = 0.000100001
  Prefactor  = 3.14917
  Prefactor  = 0.464287
  Prefactor  = 23.1585
  Prefactor  = 0.807174
  Prefactor  = 0.854903
  norm       = 3.22236
  norm       = 2.83231
  Prefactor  = 2.59064
  Prefactor  = 0.605479
  Prefactor  = 0.000100056
  Prefactor  = 1.28401
  Normalizat = 1.01452
  Prefactor  = 1.11374
 **********
 **   18 **HESSE 
 **********

 FCN=   100587.6     FROM HESSE     STATUS=OK           867 CALLS     5552 TOTAL
                     EDM=   .56E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .65273        .28717E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .42936E-01    .17260        .45566E-01   -1.5667    
   3  Prefactor     2.4613        4.8989        .26064E-03   -1.5394    
   4  norm          .10000E-03    .44399        .27043E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.8392        1.4165        .30774E-03   -1.5437    
   6  Prefactor     8.6256        4.0296        .13636E-03   -1.5120    
   7  Prefactor     .10000E-03    2.2799        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .39752        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.2099        4.9764        .14922E-03   -1.5171    
  10  Prefactor     7.2251        7.1586        .14973E-03   -1.5170    
  11  norm          .10000E-03    .24663        .97734E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.4231        2.9190        .26284E-03   -1.5397    
  13  Prefactor     .10000E-03    1.0371        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.2229        .52529        .14475E-03   -1.5487    
  15  Prefactor     .62455E-01    .50180        .62212E-01   -1.5658    
  16  Prefactor     3.0627        7.5559        .23213E-03   -1.5358    
  17  Prefactor     1.1843        3.4322        .21123E-02   -1.5490    
  18  Prefactor     2.1402        1.1205        .22981E-03   -1.5415    
  19  norm          .47489        .51152        .21410E-02   -1.5570    
  20  norm          2.3623        .42945        .85343E-04   -1.5401    
  21  Prefactor     3.9205        2.0705        .20375E-03   -1.5312    
  22  norm          1.1216        .16572        .47355E-04   -1.5496    
  23  Prefactor     .10000E-03    3.7375        .47051E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     3.1492        1.5357        .11421E-02   -1.5353    
  25  Prefactor     .46429        .52109        .18677E-02   -1.5572    
  26  Prefactor     23.159        6.8101        .83222E-04   -1.4745    
  27  Prefactor     .80717        1.1330        .24926E-03   -1.5528    
  28  Prefactor     .85490        .80178        .26751E-03   -1.5523    
  29  norm          3.2224        1.2537        .10595E-02   -1.5349    
  30  norm          2.8323        1.4205        .12083E-02   -1.5371    
  31  Prefactor     2.5906        2.1269        .25369E-03   -1.5386    
  32  Prefactor     .60548        .54705        .19451E-02   -1.5552    
  33  Prefactor     .10006E-03    8.3783        .56754E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Prefactor     1.2840        10.200        .19096E-02   -1.5481    
  35  Normalizat    1.0145        .60080E-01    .29635E-03   -.92546    
  36  Prefactor     1.1137        .40542E-01    .20264E-03   -.89028    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.64907e-07
Minuit parameter uncertainties:
  1  8.04888e-06
  2  0.17197
  3  4.89969
  4  7.93623e-07
  5  1.41652
  6  4.0297
  7  2.24462e-05
  8  2.68509e-06
  9  4.97671
  10  7.15945
  11  3.92189e-06
  12  2.91918
  13  4.24594e-06
  14  0.525291
  15  0.35378
  16  7.55829
  17  3.4328
  18  1.12056
  19  0.511529
  20  0.42945
  21  2.07057
  22  0.165725
  23  0.000147402
  24  1.53576
  25  0.521095
  26  6.81033
  27  1.13304
  28  0.801786
  29  1.25368
  30  1.42052
  31  2.12698
  32  0.547054
  33  0.00137331
  34  7.23944
  35  0.0600842
  36  0.0405435
Done.

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

Extracting fit parameters...

4FGL J0754.7+4823
   Spectrum: LogParabola
274         norm:  1.223e+00  5.253e-01  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:  1.114e+00  4.054e-02  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.015e+00  6.008e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.89
Ra Dec: 118.693 48.393
Photon Index (Fixed Index): 1.98 +/- 0.00
Photon Flux (Fixed Index): 1.07e-08 +/- 4.61e-09
Energy Flux (Fixed Index): 6.81e-06 +/- 2.92e-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) = 100587.280853
delta logL = 0.273746652048

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 100587.280426
delta logL = 0.274173653233

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2201       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2227       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0110       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1144       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=   100587.3     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      246 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2201        4.7939        .10210E-01    .63251E-02
   2  alpha         2.2228        1.9282        .41476        .36364E-03
   3  Normalizat    1.0110        .17049E-01    .67098E-01    .24880E-03
   4  Prefactor     1.1144        .10570E-01    .37065E-01    .29344E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.22006
  alpha      = 2.22284
  Normalizat = 1.011
  Prefactor  = 1.11435
 **********
 **   18 **HESSE 
 **********

 FCN=   100587.3     FROM HESSE     STATUS=OK            33 CALLS      279 TOTAL
                     EDM=   .36E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2201        .50805        .13554E-03   -1.5487    
   2  alpha         2.2228        .32404        .27681E-01   -.11109    
   3  Normalizat    1.0110        .55874E-01    .29680E-03   -.92663    
   4  Prefactor     1.1144        .39863E-01    .20258E-03   -.89009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.63102e-08
Minuit parameter uncertainties:
  1  0.508047
  2  0.324966
  3  0.0558769
  4  0.039864
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/622734': 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) = 100587.280426
delta logL = 0.274173732061

Extracting fit parameters...

4FGL J0754.7+4823
   Spectrum: LogParabola
274         norm:  1.220e+00  5.080e-01  1.000e-04  1.000e+04 ( 1.000e-12)
275        alpha:  2.223e+00  3.250e-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:  1.114e+00  3.986e-02  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.011e+00  5.588e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.43
Ra Dec: 118.693 48.393
Photon Index (Free Index): 2.22 +/- 0.32
Photon Flux (Free Index): 1.49e-08 +/- 7.83e-09
Energy Flux (Free Index): 6.39e-06 +/- 2.63e-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/622734/cmap_HighResolution_672451201_675043201_4FGL_J0754.7+4823_monthly_bin168.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.07e-08', energy_flux2='6.39e-06', photon_flux_error='4.61e-09', dlogl='2.74e-01', energy_flux='6.81e-06', photon_flux2='1.49e-08', job_status='DONE', time_completed='2022-05-24 05:26:31.360126', photon_index_error2='0.32', photon_index2='2.22', ts='12.89', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', energy_flux_error2='2.63e-06', EG='1.01', time_epoch_completed='1653395191.36', return_code='0', job_id='622734', GAL2='1.11', EG2='1.01', return_code2='0', energy_flux_error='2.92e-06', photon_flux_error2='7.83e-09', ts2='13.43', photon_index='1.98' WHERE bin_id='168' AND source_name='4FGL J0754.7+4823' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Tue May 24 05:26:31 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0193>
Subject: Job 622734: <4FGL_J0754.7+4823_monthly_bin168> in cluster <slac> Done

Job <4FGL_J0754.7+4823_monthly_bin168> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue May 24 02:25:39 2022
Job was executed on host(s) <bullet0193>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May 24 02:26:28 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:28 2022
Terminated at Tue May 24 05:26:32 2022
Results reported at Tue May 24 05:26:32 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0754.7+4823_monthly_bin168 118.693 48.3932 672451201 675043201 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 :                                   10648.00 sec.
    Max Memory :                                 678 MB
    Average Memory :                             451.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   10804 sec.
    Turnaround time :                            10853 sec.

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

