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


Performing analysis on: 4FGL_J0742.6+5443_monthly_bin167
RA = 115.672, Dec = 54.727
tmin = 669859201, tmax = 672451201
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='880515', job_status='RUN', time_executed='2022-04-24 01:08:49.269019', time_epoch_executed='1650787729.27' WHERE source_name='4FGL J0742.6+5443' and cadence='monthly' and bin_id='167'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/880515

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

Retrieving the FT1 file...

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

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

Retrieving 456 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/880515/ft1_4FGL_J0742.6+5443_monthly_bin167.fits


Retrieving the FT1 file...

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

Retrieving 456 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/880515/ft2_4FGL_J0742.6+5443_monthly_bin167.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/880515/ft1_4FGL_J0742.6+5443_monthly_bin167.fits outfile=/scratch/kocevski/880515/ft1_filteredMKT_4FGL_J0742.6+5443_monthly_bin167.fits ra=115.672 dec=54.727 rad=12.0 tmin=669859201.0 tmax=672451201.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 38.71
user 37.18
sys 0.82

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/880515/ft2_4FGL_J0742.6+5443_monthly_bin167.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/880515/ft2_4FGL_J0742.6+5443_monthly_bin167.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/880515/ft1_filteredMKT_4FGL_J0742.6+5443_monthly_bin167.fits evtable="EVENTS" outfile="/scratch/kocevski/880515/ft1_filtered_4FGL_J0742.6+5443_monthly_bin167.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 3.66
user 0.64
sys 0.20

Number of photons that the gtmktime cut: 7942

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/880515/ft1_filtered_4FGL_J0742.6+5443_monthly_bin167.fits" evtable="EVENTS" scfile=/scratch/kocevski/880515/ft2_4FGL_J0742.6+5443_monthly_bin167.fits sctable="SC_DATA" outfile=/scratch/kocevski/880515/ltcube_669859201_672451201_4FGL_J0742.6+5443_monthly_bin167.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/880515/ft2_4FGL_J0742.6+5443_monthly_bin167.fits
.....................!
real 133.12
user 132.29
sys 0.45

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/880515/ft1_filtered_4FGL_J0742.6+5443_monthly_bin167.fits evtable="EVENTS" scfile=/scratch/kocevski/880515/ft2_4FGL_J0742.6+5443_monthly_bin167.fits sctable="SC_DATA" expcube=/scratch/kocevski/880515/ltcube_669859201_672451201_4FGL_J0742.6+5443_monthly_bin167.fits outfile=/scratch/kocevski/880515/expmap_669859201_672451201_4FGL_J0742.6+5443_monthly_bin167.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/880515/ltcube_669859201_672451201_4FGL_J0742.6+5443_monthly_bin167.fits
.....................!
real 194.34
user 188.62
sys 5.37

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 213 point sources and 0 extended sources

Setting source of interest to:
4FGL J0742.6+5443 @ 115.672 54.727

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/880515/ft1_filtered_4FGL_J0742.6+5443_monthly_bin167.fits scfile=/scratch/kocevski/880515/ft2_4FGL_J0742.6+5443_monthly_bin167.fits outfile=/scratch/kocevski/880515/cmap_669859201_672451201_4FGL_J0742.6+5443_monthly_bin167.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=115.672 yref=54.727 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.80
user 0.61
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/880515/ft1_filtered_4FGL_J0742.6+5443_monthly_bin167.fits scfile=/scratch/kocevski/880515/ft2_4FGL_J0742.6+5443_monthly_bin167.fits outfile=/scratch/kocevski/880515/cmap_HighResolution_669859201_672451201_4FGL_J0742.6+5443_monthly_bin167.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=115.672 yref=54.727 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.80
user 0.61
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/880515/ft1_filtered_4FGL_J0742.6+5443_monthly_bin167.fits evtable="EVENTS" scfile=/scratch/kocevski/880515/ft2_4FGL_J0742.6+5443_monthly_bin167.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/880515/Model_4FGL_J0742.6+5443_monthly_bin167.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/880515/ft1_filtered_4FGL_J0742.6+5443_monthly_bin167.fits.....................!
real 753.71
user 750.70
sys 1.57

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/880515/ft1_filtered_4FGL_J0742.6+5443_monthly_bin167.fits', '/scratch/kocevski/880515/ft2_4FGL_J0742.6+5443_monthly_bin167.fits', expMap='/scratch/kocevski/880515/expmap_669859201_672451201_4FGL_J0742.6+5443_monthly_bin167.fits', expCube='/scratch/kocevski/880515/ltcube_669859201_672451201_4FGL_J0742.6+5443_monthly_bin167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/880515/Model_4FGL_J0742.6+5443_monthly_bin167.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0742.6+5443'

4FGL J0742.6+5443
   Spectrum: LogParabola
285         norm:  1.016e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
286        alpha:  2.224e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
287         beta:  8.463e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
288           Eb:  6.024e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/880515/ft1_filtered_4FGL_J0742.6+5443_monthly_bin167.fits
Spacecraft file(s): /scratch/kocevski/880515/ft2_4FGL_J0742.6+5443_monthly_bin167.fits
Exposure map: /scratch/kocevski/880515/expmap_669859201_672451201_4FGL_J0742.6+5443_monthly_bin167.fits
Exposure cube: /scratch/kocevski/880515/ltcube_669859201_672451201_4FGL_J0742.6+5443_monthly_bin167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/880515/Model_4FGL_J0742.6+5443_monthly_bin167.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) = 84758.5352

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.768       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .48064E-01   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.0418       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .77513       1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.845       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.1047       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.9983       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.2426       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10592E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .98174       1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.2497       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.8774       1.0000         .10000E-03   10000.    
    19 'norm      '    .27514       1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.9000       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .19159E-01   1.0000         .10000E-03   10000.    
    23 'norm      '    1.3385       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .63608       1.0000         .10000E-03   10000.    
    25 'Prefactor '    4.9923       1.0000         .10000E-03   10000.    
    26 'Prefactor '    4.2978       1.0000         .10000E-03   10000.    
    27 'Prefactor '    4.9026       1.0000         .10000E-03   10000.    
    28 'norm      '    3.3821       1.0000         .10000E-03   10000.    
    29 'norm      '    .60261       1.0000         .10000E-03   10000.    
    30 'Prefactor '    4.8268       1.0000         .10000E-03   10000.    
    31 'Normalizat'    1.0092       1.0000         .10000E-01   10.000    
    32 'Prefactor '    1.0324       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6880E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   84758.50     FROM MIGRAD    STATUS=CONVERGED     89 CALLS     3807 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.778        1.2334       -.15416E-06    .43450E-02
   2  Prefactor     .10000E-03    8.0180        .22246E-06** at limit **
   3  norm          .44987E-01    2.4106        .11119E-05    .53038E-03
   4  norm          .10000E-03    .26039       -.34150E-07** at limit **
   5  Prefactor     3.0418        1.1088       -.30569E-07    .15078E-02
   6  Prefactor     .77705        1.2425       -.30801E-06   -.10137E-03
   7  Prefactor     12.847        1.4784       -.19912E-06    .35430E-02
   8  Prefactor     .10000E-03    1.8833        .37829E-06** at limit **
   9  norm          1.1050        1.5341       -.11325E-06   -.12634E-04
  10  Prefactor     6.9982        1.0064       -.21886E-07    .17748E-03
  11  Prefactor     2.2410        1.0485       -.97621E-07    .36931E-03
  12  Prefactor     .10000E-03    33.874       -.22792E-05** at limit **
  13  norm          .10000E-03    .18594        .16957E-07** at limit **
  14  Prefactor     .10000E-03    .79781       -.41478E-07** at limit **
  15  Prefactor     .10000E-03    1.9826       -.86372E-06** at limit **
  16  norm          .98174        .41935        .13773E-07   -.69517E-05
  17  Prefactor     2.2491        1.8847        .87435E-07   -.58572E-03
  18  Prefactor     5.8796        1.0082       -.26993E-07    .30826E-03
  19  norm          .27468        .66902       -.36089E-06   -.10907E-03
  20  Prefactor     5.9031        1.0394       -.63847E-07    .11515E-02
  21  Prefactor     .10000E-03    5.3255       -.24359E-06** at limit **
  22  norm          .18683E-01    .22137        .16572E-06   -.35561E-03
  23  norm          1.3385        .40310       -.76978E-09    .22787E-04
  24  Prefactor     .63602        .34291       -.17289E-07   -.15512E-03
  25  Prefactor     4.9917        2.0962       -.33065E-06    .68970E-03
  26  Prefactor     4.2979        1.5256        .80141E-06    .12641E-02
  27  Prefactor     4.9027        1.0671        .61313E-08    .12169E-02
  28  norm          3.3822        1.2051        .25523E-07   -.16770E-02
  29  norm          .60290        1.2897        .31663E-06    .48436E-04
  30  Prefactor     4.8262        1.0133        .23488E-07   -.18323E-03
  31  Normalizat    1.0092        .60780E-01   -.50617E-06   -.14483E-03
  32  Prefactor     1.0324        .39919E-01   -.60522E-07   -.22000E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.7784
  Prefactor  = 0.0001
  norm       = 0.0449865
  norm       = 0.0001
  Prefactor  = 3.04176
  Prefactor  = 0.777045
  Prefactor  = 12.8473
  Prefactor  = 0.0001
  norm       = 1.10497
  Prefactor  = 6.99822
  Prefactor  = 2.24096
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.981742
  Prefactor  = 2.24906
  Prefactor  = 5.87956
  norm       = 0.274682
  Prefactor  = 5.90307
  Prefactor  = 0.0001
  norm       = 0.018683
  norm       = 1.33852
  Prefactor  = 0.636018
  Prefactor  = 4.99175
  Prefactor  = 4.29794
  Prefactor  = 4.90273
  norm       = 3.38219
  norm       = 0.602897
  Prefactor  = 4.82621
  Normalizat = 1.00922
  Prefactor  = 1.03243
 **********
 **   18 **HESSE 
 **********

 FCN=   84758.50     FROM HESSE     STATUS=OK           765 CALLS     4572 TOTAL
                     EDM=   .78E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.778        7.2197        .30524E-02   -1.5051    
   2  Prefactor     .10000E-03    7.6646        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .44987E-01    .23392        .43267E-01   -1.5666    
   4  norm          .10000E-03    .25465        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.0418        2.0068        .58161E-02   -1.5359    
   6  Prefactor     .77705        1.2615        .12347E-01   -1.5532    
   7  Prefactor     12.847        3.9722        .27941E-02   -1.4991    
   8  Prefactor     .10000E-03    1.8335        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.1050        1.5635        .11274E-01   -1.5498    
  10  Prefactor     6.9982        4.7205        .37912E-02   -1.5179    
  11  Prefactor     2.2410        5.9294        .68610E-02   -1.5409    
  12  Prefactor     .10000E-03    33.651        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    .34567E-01    .19056E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    .78843        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.9265        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .98174        .41801        .13101E-01   -1.5510    
  17  Prefactor     2.2491        2.0222        .68488E-02   -1.5408    
  18  Prefactor     5.8796        6.7262        .41412E-02   -1.5223    
  19  norm          .27468        .35640        .51329E-01   -1.5603    
  20  Prefactor     5.9031        9.3038        .41332E-02   -1.5222    
  21  Prefactor     .10000E-03    5.1618        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .18683E-01    .22326        .41270E-01   -1.5681    
  23  norm          1.3385        .41241        .94752E-02   -1.5477    
  24  Prefactor     .63602        .42587        .27958E-01   -1.5548    
  25  Prefactor     4.9917        2.1777        .44996E-02   -1.5261    
  26  Prefactor     4.2979        1.5514        .48582E-02   -1.5293    
  27  Prefactor     4.9027        1.7432        .45414E-02   -1.5265    
  28  norm          3.3822        1.9742        .55004E-02   -1.5340    
  29  norm          .60290        1.3876        .11683E-01   -1.5553    
  30  Prefactor     4.8262        2.9148        .45777E-02   -1.5269    
  31  Normalizat    1.0092        .55838E-01    .46283E-01   -.92722    
  32  Prefactor     1.0324        .35113E-01    .41072E-01   -.91656    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.81573e-05
Minuit parameter uncertainties:
  1  7.22029
  2  6.63705e-05
  3  0.204937
  4  4.33416e-08
  5  2.0068
  6  1.26151
  7  3.97232
  8  7.47656e-06
  9  1.56356
  10  4.7208
  11  5.93093
  12  0.000174069
  13  7.10145e-10
  14  4.01889e-08
  15  1.11764e-05
  16  0.418013
  17  2.02226
  18  6.7271
  19  0.356401
  20  9.30612
  21  1.53533e-06
  22  0.128822
  23  0.412407
  24  0.425871
  25  2.17769
  26  1.55144
  27  1.74321
  28  1.97429
  29  1.38765
  30  2.91492
  31  0.055841
  32  0.0351143
Done.

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

Extracting fit parameters...

4FGL J0742.6+5443
   Spectrum: LogParabola
285         norm:  1.000e-04  7.101e-10  1.000e-04  1.000e+04 ( 1.000e-11)
286        alpha:  2.224e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
287         beta:  8.463e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
288           Eb:  6.024e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
685    Prefactor:  1.032e+00  3.511e-02  0.000e+00  1.000e+01 ( 1.000e+00)
686        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
687        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
684   Normalization:  1.009e+00  5.584e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 115.672 54.727
Photon Flux Upper Limit: 1.05e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.98e-06 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/880515/likelihoodResults_669859201_672451201_4FGL_J0742.6+5443_monthly_bin167.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) = 84758.5323811
delta logL = -0.0290483370918

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 84758.5030774
delta logL = 0.000255310049397

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   84758.50     FROM MIGRAD    STATUS=CONVERGED    112 CALLS      271 TOTAL
                     EDM=   .32E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    .12295        .13140E-01** at limit **
   2  alpha         2.9464        2.5232        .16779        .49869E-07
   3  Normalizat    1.0092        .26447E-02    .28722E-03    .72577E-03
   4  Prefactor     1.0324        .17854E-02    .19099E-03    .71867E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100007
  alpha      = 2.94641
  Normalizat = 1.00922
  Prefactor  = 1.03243
 **********
 **   18 **HESSE 
 **********

 FCN=   84758.50     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      304 TOTAL
                     EDM=   .32E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    .13972        .14802E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.9464        3.3009        .67115E-02    .17953    
   3  Normalizat    1.0092        .30587E-02    .11489E-04   -.92722    
   4  Prefactor     1.0324        .20644E-02    .38199E-04   -.91656    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.2186e-11
Minuit parameter uncertainties:
  1  6.1025e-05
  2  72.3532
  3  0.00305872
  4  0.00206443
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/880515': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 84758.503071
delta logL = 0.00026174816594

Extracting fit parameters...

4FGL J0742.6+5443
   Spectrum: LogParabola
285         norm:  1.000e-04  6.103e-05  1.000e-04  1.000e+04 ( 1.000e-11)
286        alpha:  2.946e+00  7.235e+01  0.000e+00  5.000e+00 ( 1.000e+00)
287         beta:  8.463e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
288           Eb:  6.024e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
685    Prefactor:  1.032e+00  2.064e-03  0.000e+00  1.000e+01 ( 1.000e+00)
686        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
687        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
684   Normalization:  1.009e+00  3.059e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 115.672 54.727

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.003e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.113e+00 [aplpy.core]
Saving /scratch/kocevski/880515/cmap_HighResolution_669859201_672451201_4FGL_J0742.6+5443_monthly_bin167.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.98e-06', job_status='DONE', photon_flux_upper_limit='1.05e-08', time_completed='2022-04-24 04:01:56.812808', job_id='880515', GAL2='1.03', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1650798116.81', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='2.62e-04', ts2='-0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='167' AND source_name='4FGL J0742.6+5443' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Sun Apr 24 04:01:56 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 880515: <4FGL_J0742.6+5443_monthly_bin167> in cluster <slac> Done

Job <4FGL_J0742.6+5443_monthly_bin167> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Apr 24 01:00:44 2022
Job was executed on host(s) <bullet0035>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr 24 01:07:07 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Apr 24 01:07:07 2022
Terminated at Sun Apr 24 04:01:58 2022
Results reported at Sun Apr 24 04:01:58 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0742.6+5443_monthly_bin167 115.672 54.727 669859201 672451201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0742.6+5443 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   10350.00 sec.
    Max Memory :                                 631 MB
    Average Memory :                             432.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   10490 sec.
    Turnaround time :                            10874 sec.

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

