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 107 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J0749.9+1823_weekly_bin753
RA = 117.485, Dec = 18.387
tmin = 694396801, tmax = 695001601
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='228237', job_status='RUN', time_executed='2023-01-10 02:45:57.708859', time_epoch_executed='1673347557.71' WHERE source_name='4FGL J0749.9+1823' and cadence='weekly' and bin_id='753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/228237

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/228237/ft1_4FGL_J0749.9+1823_weekly_bin753.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/228237/ft2_4FGL_J0749.9+1823_weekly_bin753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/228237/ft1_4FGL_J0749.9+1823_weekly_bin753.fits outfile=/scratch/kocevski/228237/ft1_filteredMKT_4FGL_J0749.9+1823_weekly_bin753.fits ra=117.485 dec=18.387 rad=12.0 tmin=694396801.0 tmax=695001601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 6.16
user 5.84
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/228237/ft2_4FGL_J0749.9+1823_weekly_bin753.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/228237/ft2_4FGL_J0749.9+1823_weekly_bin753.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/228237/ft1_filteredMKT_4FGL_J0749.9+1823_weekly_bin753.fits evtable="EVENTS" outfile="/scratch/kocevski/228237/ft1_filtered_4FGL_J0749.9+1823_weekly_bin753.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.55
user 0.39
sys 0.16

Number of photons that the gtmktime cut: 9

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/228237/ft1_filtered_4FGL_J0749.9+1823_weekly_bin753.fits" evtable="EVENTS" scfile=/scratch/kocevski/228237/ft2_4FGL_J0749.9+1823_weekly_bin753.fits sctable="SC_DATA" outfile=/scratch/kocevski/228237/ltcube_694396801_695001601_4FGL_J0749.9+1823_weekly_bin753.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/228237/ft2_4FGL_J0749.9+1823_weekly_bin753.fits
.....................!
real 33.32
user 32.65
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/228237/ft1_filtered_4FGL_J0749.9+1823_weekly_bin753.fits evtable="EVENTS" scfile=/scratch/kocevski/228237/ft2_4FGL_J0749.9+1823_weekly_bin753.fits sctable="SC_DATA" expcube=/scratch/kocevski/228237/ltcube_694396801_695001601_4FGL_J0749.9+1823_weekly_bin753.fits outfile=/scratch/kocevski/228237/expmap_694396801_695001601_4FGL_J0749.9+1823_weekly_bin753.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/228237/ltcube_694396801_695001601_4FGL_J0749.9+1823_weekly_bin753.fits
.....................!
real 194.06
user 186.12
sys 5.63

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
Extended source Monoceros in ROI with RadialGaussian spatial model.
Added 162 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0749.9+1823 @ 117.485 18.387

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/228237/ft1_filtered_4FGL_J0749.9+1823_weekly_bin753.fits scfile=/scratch/kocevski/228237/ft2_4FGL_J0749.9+1823_weekly_bin753.fits outfile=/scratch/kocevski/228237/cmap_694396801_695001601_4FGL_J0749.9+1823_weekly_bin753.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=117.485 yref=18.387 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.57
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/228237/ft1_filtered_4FGL_J0749.9+1823_weekly_bin753.fits scfile=/scratch/kocevski/228237/ft2_4FGL_J0749.9+1823_weekly_bin753.fits outfile=/scratch/kocevski/228237/cmap_HighResolution_694396801_695001601_4FGL_J0749.9+1823_weekly_bin753.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=117.485 yref=18.387 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.58
user 0.42
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/228237/ft1_filtered_4FGL_J0749.9+1823_weekly_bin753.fits evtable="EVENTS" scfile=/scratch/kocevski/228237/ft2_4FGL_J0749.9+1823_weekly_bin753.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/228237/Model_4FGL_J0749.9+1823_weekly_bin753.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
adding source Monoceros
Working on...
/scratch/kocevski/228237/ft1_filtered_4FGL_J0749.9+1823_weekly_bin753.fits.........!
real 15.32
user 13.79
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/228237/ft1_filtered_4FGL_J0749.9+1823_weekly_bin753.fits', '/scratch/kocevski/228237/ft2_4FGL_J0749.9+1823_weekly_bin753.fits', expMap='/scratch/kocevski/228237/expmap_694396801_695001601_4FGL_J0749.9+1823_weekly_bin753.fits', expCube='/scratch/kocevski/228237/ltcube_694396801_695001601_4FGL_J0749.9+1823_weekly_bin753.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/228237/Model_4FGL_J0749.9+1823_weekly_bin753.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0749.9+1823'

4FGL J0749.9+1823
   Spectrum: PowerLaw
256    Prefactor:  7.199e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
257        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
258        Scale:  7.475e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/228237/ft1_filtered_4FGL_J0749.9+1823_weekly_bin753.fits
Spacecraft file(s): /scratch/kocevski/228237/ft2_4FGL_J0749.9+1823_weekly_bin753.fits
Exposure map: /scratch/kocevski/228237/expmap_694396801_695001601_4FGL_J0749.9+1823_weekly_bin753.fits
Exposure cube: /scratch/kocevski/228237/ltcube_694396801_695001601_4FGL_J0749.9+1823_weekly_bin753.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/228237/Model_4FGL_J0749.9+1823_weekly_bin753.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 131.120318071

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 130.035108553

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7939       1.0000          .0000       .10000E+07
     2 'Prefactor '    .13567       1.0000          .0000       .10000E+07
     3 'norm      '    2.9636       1.0000          .0000       .10000E+07
     4 'norm      '    .87004E-04   1.0000          .0000       .10000E+07
     5 'norm      '    2.5437       1.0000          .0000       .10000E+07
     6 'norm      '    1.7830       1.0000          .0000       .10000E+07
     7 'Prefactor '    7.4886       1.0000          .0000       .10000E+07
     8 'Prefactor '    6.9747       1.0000          .0000       .10000E+07
     9 'Prefactor '    6.9272       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.3579       1.0000          .0000       .10000E+07
    11 'norm      '    .21685E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.9902       1.0000          .0000       .10000E+07
    13 'norm      '    9.0139       1.0000          .0000       .10000E+07
    14 'Prefactor '    .14269       1.0000          .0000       .10000E+07
    15 'Prefactor '    117.82       1.0000          .0000       .10000E+07
    16 'Prefactor '    .22417E-01   1.0000          .0000       .10000E+07
    17 'norm      '    .34122       1.0000          .0000       .10000E+07
    18 'Prefactor '    44.476       1.0000          .0000       .10000E+07
    19 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    20 'Prefactor '    .83796       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   130.0167     FROM MIGRAD    STATUS=CONVERGED    226 CALLS      438 TOTAL
                     EDM=   .78E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12947E-04    697.62        .60843E-03** at limit **
   2  Prefactor     .22204E-09    175.87        .13056E-02** at limit **
   3  norm          .15543E-08    334.88        .58960E-03** at limit **
   4  norm          .27943E-04    406.46        .42118E-03** at limit **
   5  norm          .95944E-01    8806.1        .64002E-03** at limit **
   6  norm          1.7830        1.0460         .0000         .0000    
   7  Prefactor     7.4886        1.0022         .0000         .0000    
   8  Prefactor     6.9747        1.0026         .0000         .0000    
   9  Prefactor     .96077        .37340       -.93627E-06    .57484E-01
  10  Prefactor     .38858E-09    .21963        .11922E-04** at limit **
  11  norm          .55511E-10    .71642       -.62922E-05** at limit **
  12  Prefactor     .11102E-09    .13474        .50405E-05** at limit **
  13  norm          .17772E-01    .44471E-01    .61046E-05** at limit **
  14  Prefactor     .16098E-08    .41605       -.25667E-04** at limit **
  15  Prefactor     116.83        .99578        .53656E-06    .15776    
  16  Prefactor      .0000        .71256       -.30591E-05** at limit **
  17  norm          .37750        .59376        .12923E-04    .18166E-02
  18  Prefactor     43.906        .99363       -.53031E-05   -.10046E-01
  19  Normalizat    .10000E-01    .25505       -.61879E-03** at limit **
  20  Prefactor     .84073        1.1872        .21506E-04    .25541E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.2947e-05
  Prefactor  = 2.22045e-10
  norm       = 1.55431e-09
  norm       = 2.79428e-05
  norm       = 0.0959436
  norm       = 1.78302
  Prefactor  = 7.48855
  Prefactor  = 6.9747
  Prefactor  = 0.96077
  Prefactor  = 3.88578e-10
  norm       = 5.55112e-11
  Prefactor  = 1.11022e-10
  norm       = 0.0177718
  Prefactor  = 1.60982e-09
  Prefactor  = 116.826
  Prefactor  = 0
  norm       = 0.377503
  Prefactor  = 43.9063
  Normalizat = 0.01
  Prefactor  = 0.840728
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   130.0167     FROM HESSE     STATUS=FAILED        21 CALLS      459 TOTAL
                     EDM=   .78E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12947E-04    697.62        .60843E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .22204E-09    175.87        .13056E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .15543E-08    334.88        .58960E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .27943E-04    406.46        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .95944E-01    8806.1        .64002E-03   -1.5714    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          62977.        62976.         .0000       -1.5681    
   7  Prefactor     7.4886        1.0022         .0000       -1.5653    
   8  Prefactor     6.9747        1.0026         .0000       -1.5655    
   9  Prefactor     .96077        .37340       -.93627E-06   -1.5688    
  10  Prefactor     .38858E-09    .21963        .11922E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .55511E-10    .71642       -.62922E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .11102E-09    .13474        .50405E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .17772E-01    .44471E-01    .61046E-05   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .16098E-08    .41605       -.25667E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     116.83        .99578        .53656E-06   -1.5492    
  16  Prefactor      .0000        .71256       -.30591E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .37750        .59376        .12923E-04   -1.5696    
  18  Prefactor     43.906        .99363       -.53031E-05   -1.5575    
  19  Normalizat    .10000E-01    .25505       -.61879E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .84073        1.1872        .21506E-04   -.98244    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.78127e-10
Minuit parameter uncertainties:
  1  0.190096
  2  0.000403367
  3  0.0014426
  4  0.213158
  5  58.2198
  6  1.04601
  7  1.00225
  8  1.00259
  9  0.373398
  10  1.86153e-05
  11  1.39761e-05
  12  8.2839e-06
  13  0.0444714
  14  5.20708e-05
  15  0.995775
  16  7.74614e-06
  17  0.593764
  18  0.993634
  19  2.32069e-06
  20  1.22679
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 130.016698819

Extracting fit parameters...

4FGL J0749.9+1823
   Spectrum: PowerLaw
256    Prefactor:  9.608e-01  3.734e-01  0.000e+00  1.000e+06 ( 1.000e-13)
257        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
258        Scale:  7.475e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  8.407e-01  1.227e+00  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  1.000e-02  2.321e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 117.485 18.387
Photon Flux Upper Limit: 5.36e-05 ph cm-2 s-1
Energy Flux Upper Limit: 4.18e+00 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/228237/likelihoodResults_694396801_695001601_4FGL_J0749.9+1823_weekly_bin753.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 130.016698835
delta logL = -1.57006070367e-08

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 130.016642476
delta logL = 5.63426230258e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25172E-04   1.0000          .0000       .10000E+07
     2 'Index     '    3.2634       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84073       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+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=   130.0166     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      296 TOTAL
                     EDM=   .27E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .51070E-08    336.89        .84235E-03** at limit **
   2  Index         2.3009        6.7712        .50000        .71054E-12
   3  Normalizat    .10000E-01    .29882E-04    .23171E-02** at limit **
   4  Prefactor     .84073        .33759E-02    .16414E-03   -.44370E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.10703e-09
  Index      = 2.30087
  Normalizat = 0.01
  Prefactor  = 0.840726
 **********
 **   18 **HESSE 
 **********

 FCN=   130.0166     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      325 TOTAL
                     EDM=   .14E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .51070E-08    1685.5        .16847E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3009        5.3025        .50000       -.57023    
   3  Normalizat    .10000E-01    .14961E-03    .46343E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .84073        .75540E-02    .65658E-05   -.98244    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.3505e-13
Minuit parameter uncertainties:
  1  0.00585924
  2  413735
  3  6.12558e-10
  4  0.00755404
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/228237': 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) = 130.016642473
delta logL = 5.6345626831e-05

Extracting fit parameters...

4FGL J0749.9+1823
   Spectrum: PowerLaw
256    Prefactor:  5.107e-09  5.859e-03  0.000e+00  1.000e+06 ( 1.000e-13)
257        Index:  2.301e+00  4.137e+05  0.000e+00  1.000e+01 (-1.000e+00)
258        Scale:  7.475e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  8.407e-01  7.554e-03  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  1.000e-02  6.126e-10  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 117.485 18.387

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/228237/cmap_HighResolution_694396801_695001601_4FGL_J0749.9+1823_weekly_bin753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.18e+00', job_status='DONE', photon_flux_upper_limit='5.36e-05', time_completed='2023-01-10 02:52:04.725662', job_id='228237', GAL2='0.84', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1673347924.73', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.84', dlogl='5.63e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='753' AND source_name='4FGL J0749.9+1823' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jan 10 02:52:04 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0066>
Subject: Job 228237: <4FGL_J0749.9+1823_weekly_bin753> in cluster <slac> Done

Job <4FGL_J0749.9+1823_weekly_bin753> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Jan 10 02:40:30 2023
Job was executed on host(s) <bullet0066>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 10 02:44:01 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 10 02:44:01 2023
Terminated at Tue Jan 10 02:52:05 2023
Results reported at Tue Jan 10 02:52:05 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0749.9+1823_weekly_bin753 117.485 18.387 694396801 695001601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0749.9+1823 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   365.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             366.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   484 sec.
    Turnaround time :                            695 sec.

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

