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


Performing analysis on: 4FGL_J0754.7+4823_daily_bin1692
RA = 118.693, Dec = 48.3932
tmin = 677894401, tmax = 678153601
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='404509', job_status='RUN', time_executed='2022-06-29 04:17:26.216045', time_epoch_executed='1656501446.22' WHERE source_name='4FGL J0754.7+4823' and cadence='daily' and bin_id='1692'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/404509

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/404509/ft1_4FGL_J0754.7+4823_daily_bin1692.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/404509/ft2_4FGL_J0754.7+4823_daily_bin1692.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/404509/ft1_4FGL_J0754.7+4823_daily_bin1692.fits outfile=/scratch/kocevski/404509/ft1_filteredMKT_4FGL_J0754.7+4823_daily_bin1692.fits ra=118.693 dec=48.3932 rad=12.0 tmin=677894401.0 tmax=678153601.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 4.44
user 4.18
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/404509/ft2_4FGL_J0754.7+4823_daily_bin1692.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/404509/ft1_filteredMKT_4FGL_J0754.7+4823_daily_bin1692.fits evtable="EVENTS" outfile="/scratch/kocevski/404509/ft1_filtered_4FGL_J0754.7+4823_daily_bin1692.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.50
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 579

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/404509/ft1_filtered_4FGL_J0754.7+4823_daily_bin1692.fits" evtable="EVENTS" scfile=/scratch/kocevski/404509/ft2_4FGL_J0754.7+4823_daily_bin1692.fits sctable="SC_DATA" outfile=/scratch/kocevski/404509/ltcube_677894401_678153601_4FGL_J0754.7+4823_daily_bin1692.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/404509/ft2_4FGL_J0754.7+4823_daily_bin1692.fits
.....................!
real 14.99
user 14.63
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/404509/ft1_filtered_4FGL_J0754.7+4823_daily_bin1692.fits evtable="EVENTS" scfile=/scratch/kocevski/404509/ft2_4FGL_J0754.7+4823_daily_bin1692.fits sctable="SC_DATA" expcube=/scratch/kocevski/404509/ltcube_677894401_678153601_4FGL_J0754.7+4823_daily_bin1692.fits outfile=/scratch/kocevski/404509/expmap_677894401_678153601_4FGL_J0754.7+4823_daily_bin1692.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/404509/ltcube_677894401_678153601_4FGL_J0754.7+4823_daily_bin1692.fits
.....................!
real 194.16
user 187.87
sys 5.62

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/404509/ft1_filtered_4FGL_J0754.7+4823_daily_bin1692.fits scfile=/scratch/kocevski/404509/ft2_4FGL_J0754.7+4823_daily_bin1692.fits outfile=/scratch/kocevski/404509/cmap_677894401_678153601_4FGL_J0754.7+4823_daily_bin1692.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/404509/ft1_filtered_4FGL_J0754.7+4823_daily_bin1692.fits scfile=/scratch/kocevski/404509/ft2_4FGL_J0754.7+4823_daily_bin1692.fits outfile=/scratch/kocevski/404509/cmap_HighResolution_677894401_678153601_4FGL_J0754.7+4823_daily_bin1692.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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/404509/ft1_filtered_4FGL_J0754.7+4823_daily_bin1692.fits evtable="EVENTS" scfile=/scratch/kocevski/404509/ft2_4FGL_J0754.7+4823_daily_bin1692.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/404509/Model_4FGL_J0754.7+4823_daily_bin1692.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/404509/ft1_filtered_4FGL_J0754.7+4823_daily_bin1692.fits.....................!
real 64.38
user 62.98
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11466E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10058E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.417       1.0000         .10000E-03   10000.    
     4 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .14701E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    24.228       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    4.4250       1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.969       1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.828       1.0000         .10000E-03   10000.    
    11 'norm      '    .10933E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10832E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .13934       1.0000         .10000E-03   10000.    
    14 'norm      '    .10062E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.017       1.0000         .10000E-03   10000.    
    16 'Prefactor '    21.135       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.5437       1.0000         .10000E-03   10000.    
    19 'norm      '    .10084E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    2.2346       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .53098       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    3.4364       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .13811E-01   1.0000         .10000E-03   10000.    
    28 'Prefactor '    2.3204       1.0000         .10000E-03   10000.    
    29 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    2.0213       1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10722E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    34 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    35 'Normalizat'    1.1669       1.0000         .10000E-01   10.000    
    36 'Prefactor '    .90554       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=   6305.082     FROM MIGRAD    STATUS=CONVERGED   1088 CALLS     5450 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.5503        .19473E-06** at limit **
   2  norm          .10000E-03    2.4875       -.20356E-06** at limit **
   3  Prefactor     13.406        47.583        .13866E-05    .16406E-04
   4  norm          .10000E-03    2.1710        .13069E-06** at limit **
   5  Prefactor     .10000E-03    8.6554        .15222E-06** at limit **
   6  Prefactor     24.225        19.332       -.61592E-06   -.12052E-03
   7  Prefactor     .10000E-03    7.4082        .68059E-07** at limit **
   8  norm          4.4236        8.0141        .16063E-06   -.11544E-05
   9  Prefactor     15.970        20.383       -.39240E-05   -.40833E-03
  10  Prefactor     15.832        25.218       -.17993E-05   -.12550E-03
  11  norm          .10000E-03    .46043        .45138E-06** at limit **
  12  Prefactor     .10000E-03    24.277        .55167E-06** at limit **
  13  Prefactor     .10632E-03    15.617       -.12039E-05** at limit **
  14  norm          .10000E-03    1.6601        .13063E-07** at limit **
  15  Prefactor     14.027        12.537        .73228E-06    .18309E-03
  16  Prefactor     21.105        60.684       -.19239E-05    .85476E-05
  17  Prefactor     .10000E-03    7.7359        .35285E-06** at limit **
  18  Prefactor     7.5431        5.9982        .12255E-06    .75553E-04
  19  norm          .10000E-03    4.2427       -.12206E-06** at limit **
  20  norm          2.2341        2.4431       -.19750E-07   -.26346E-03
  21  Prefactor     .10000E-03    5.9854       -.25236E-07** at limit **
  22  norm          .53108        .45959        .23263E-07    .22862E-03
  23  Prefactor     .10000E-03    8.5635       -.26529E-06** at limit **
  24  Prefactor     .10000E-03    2.7004       -.13670E-06** at limit **
  25  Prefactor     3.4359        3.9190        .16328E-06    .57405E-04
  26  Prefactor     .10000E-03    22.779       -.30442E-06** at limit **
  27  Prefactor     .10035E-03    6.9959        .98846E-06** at limit **
  28  Prefactor     2.3192        5.8828        .49678E-05   -.40449E-03
  29  norm          .10000E-03    2.4712       -.75468E-07** at limit **
  30  norm          .10000E-03    2.2366       -.57860E-07** at limit **
  31  Prefactor     2.0173        35.426       -.27919E-06   -.20514E-05
  32  Prefactor     .10000E-03    2.4118       -.11643E-06** at limit **
  33  Prefactor     .10000E-03    9.6995       -.29857E-07** at limit **
  34  Prefactor     .10000E-03    34.937       -.24149E-06** at limit **
  35  Normalizat    1.1669        .20377       -.15514E-05   -.31860E-03
  36  Prefactor     .90561        .13434        .81954E-06   -.27101E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 13.4063
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.2246
  Prefactor  = 0.0001
  norm       = 4.42357
  Prefactor  = 15.9697
  Prefactor  = 15.8323
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000106317
  norm       = 0.0001
  Prefactor  = 14.0272
  Prefactor  = 21.1045
  Prefactor  = 0.0001
  Prefactor  = 7.54314
  norm       = 0.0001
  norm       = 2.23414
  Prefactor  = 0.0001
  norm       = 0.531075
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.43591
  Prefactor  = 0.0001
  Prefactor  = 0.00010035
  Prefactor  = 2.31924
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 2.01732
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.16694
  Prefactor  = 0.905613
 **********
 **   18 **HESSE 
 **********

 FCN=   6305.082     FROM HESSE     STATUS=OK           825 CALLS     6275 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.5973        .24520E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.5165        .12217E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     13.406        47.620        .10935E-03   -1.4976    
   4  norm          .10000E-03    2.1832        .11419E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.0036        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     24.225        19.251        .81381E-04   -1.4723    
   7  Prefactor     .10000E-03    7.4141        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.4236        7.9904        .19144E-03   -1.5287    
   9  Prefactor     15.970        20.612        .10023E-03   -1.4909    
  10  Prefactor     15.832        25.238        .10067E-03   -1.4912    
  11  norm          .10000E-03    3.9304        .10024E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    24.890        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10632E-03    20.962        .89450E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.6966        .99840E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.027        12.516        .10698E-03   -1.4959    
  16  Prefactor     21.105        60.407        .87125E-04   -1.4789    
  17  Prefactor     .10000E-03    7.7377        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     7.5431        5.9791        .14601E-03   -1.5159    
  19  norm          .10000E-03    4.2957        .15892E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.2341        2.4194        .12271E-03   -1.5409    
  21  Prefactor     .10000E-03    6.0211        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .53108        .45341        .48042E-04   -1.5562    
  23  Prefactor     .10000E-03    8.5902        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    2.7207        .12738E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     3.4359        3.8985        .15886E-03   -1.5337    
  26  Prefactor     .10000E-03    22.849        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10035E-03    9.2174        .70246E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     2.3192        5.9500        .13464E-02   -1.5403    
  29  norm          .10000E-03    2.4989        .12188E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .10000E-03    2.2444        .11597E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     2.0173        35.462        .29107E-03   -1.5424    
  32  Prefactor     .10000E-03    5.9908        .23764E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .10000E-03    9.7056        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Prefactor     .10000E-03    34.951        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  35  Normalizat    1.1669        .23087        .27305E-03   -.87631    
  36  Prefactor     .90561        .15554        .21154E-03   -.95945    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17309e-09
Minuit parameter uncertainties:
  1  1.59651e-05
  2  1.65595e-05
  3  47.7557
  4  1.06848e-05
  5  2.37642e-05
  6  19.2564
  7  3.62922e-05
  8  7.99236
  9  20.6207
  10  25.2554
  11  9.89985e-05
  12  0.000110168
  13  0.0230223
  14  1.94453e-06
  15  12.5188
  16  60.5828
  17  1.40841e-05
  18  5.9796
  19  1.17755e-05
  20  2.41948
  21  1.1706e-05
  22  0.45341
  23  1.69658e-05
  24  1.16538e-05
  25  3.89874
  26  4.62147e-05
  27  0.00359427
  28  5.95155
  29  5.88479e-06
  30  5.55226e-06
  31  16.9275
  32  2.53609e-05
  33  1.09469e-05
  34  3.40234e-05
  35  0.231072
  36  0.155617
Done.

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

Extracting fit parameters...

4FGL J0754.7+4823
   Spectrum: LogParabola
274         norm:  1.000e-04  1.945e-06  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:  9.056e-01  1.556e-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.167e+00  2.311e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 118.693 48.393
Photon Flux Upper Limit: 5.24e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.32e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/404509/likelihoodResults_677894401_678153601_4FGL_J0754.7+4823_daily_bin1692.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6305.08475756
delta logL = -0.00280232432215

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6305.0819572
delta logL = -1.95928259927e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11044E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0155       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1671       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90553       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=   6304.865     FROM MIGRAD    STATUS=CONVERGED    213 CALLS      362 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11737        .31153        .90712E-02   -.33135E-02
   2  alpha         3.9294        1.0566        .42173        .63692E-04
   3  Normalizat    1.1335        .19704        .62492E-01    .13878E-04
   4  Prefactor     .91672        .13163        .45075E-01    .18076E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.117366
  alpha      = 3.92944
  Normalizat = 1.1335
  Prefactor  = 0.916717
 **********
 **   18 **HESSE 
 **********

 FCN=   6304.865     FROM HESSE     STATUS=OK            35 CALLS      397 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11737        .50172        .43910E-03   -1.5776    
   2  alpha         3.9294        1.6772        .25064E-01    .60867    
   3  Normalizat    1.1335        .22249        .27642E-03   -.88683    
   4  Prefactor     .91672        .15205        .10518E-02   -.95559    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.95951e-11
Minuit parameter uncertainties:
  1  0.485122
  2  1.96376
  3  0.222677
  4  0.152122
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/404509': 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) = 6304.86514636
delta logL = 0.216808876566

Extracting fit parameters...

4FGL J0754.7+4823
   Spectrum: LogParabola
274         norm:  1.174e-01  4.851e-01  1.000e-04  1.000e+04 ( 1.000e-12)
275        alpha:  3.929e+00  1.964e+00  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:  9.167e-01  1.521e-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.133e+00  2.227e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 118.693 48.393

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/404509/cmap_HighResolution_677894401_678153601_4FGL_J0754.7+4823_daily_bin1692.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.32e-05', job_status='DONE', photon_flux_upper_limit='5.24e-08', time_completed='2022-06-29 04:37:35.388941', job_id='404509', GAL2='0.92', fit_tolerance='1e-08', EG2='1.13', EG='1.17', time_epoch_completed='1656502655.39', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='2.17e-01', ts2='0.45', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='1692' AND source_name='4FGL J0754.7+4823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jun 29 04:37:35 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0189>
Subject: Job 404556: <4FGL_J0754.7+4823_daily_bin1692> in cluster <slac> Done

Job <4FGL_J0754.7+4823_daily_bin1692> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Jun 29 00:06:02 2022
Job was executed on host(s) <bullet0189>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jun 29 04:18:05 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jun 29 04:18:05 2022
Terminated at Wed Jun 29 04:36:13 2022
Results reported at Wed Jun 29 04:36:13 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0754.7+4823_daily_bin1692 118.693 48.3932 677894401 678153601 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 :                                   985.32 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             302.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1087 sec.
    Turnaround time :                            16211 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0117>
Subject: Job 404509: <4FGL_J0754.7+4823_daily_bin1692> in cluster <slac> Done

Job <4FGL_J0754.7+4823_daily_bin1692> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Jun 29 00:05:59 2022
Job was executed on host(s) <bullet0117>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jun 29 04:17:04 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jun 29 04:17:04 2022
Terminated at Wed Jun 29 04:37:36 2022
Results reported at Wed Jun 29 04:37:36 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0754.7+4823_daily_bin1692 118.693 48.3932 677894401 678153601 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 :                                   1209.33 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             333.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1231 sec.
    Turnaround time :                            16297 sec.

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

