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 55 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_J1934.3+6541_monthly_bin167
RA = 293.595, Dec = 65.6888
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='905265', job_status='RUN', time_executed='2022-04-24 02:34:38.356612', time_epoch_executed='1650792878.36' WHERE source_name='4FGL J1934.3+6541' and cadence='monthly' and bin_id='167'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/905265

Creating custom pfile directory:
/scratch/kocevski/905265/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/905265/ft1_4FGL_J1934.3+6541_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/905265/ft2_4FGL_J1934.3+6541_monthly_bin167.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/905265/ft1_4FGL_J1934.3+6541_monthly_bin167.fits outfile=/scratch/kocevski/905265/ft1_filteredMKT_4FGL_J1934.3+6541_monthly_bin167.fits ra=293.595 dec=65.6888 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.11
user 37.11
sys 0.91

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/905265/ft2_4FGL_J1934.3+6541_monthly_bin167.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/905265/ft2_4FGL_J1934.3+6541_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/905265/ft1_filteredMKT_4FGL_J1934.3+6541_monthly_bin167.fits evtable="EVENTS" outfile="/scratch/kocevski/905265/ft1_filtered_4FGL_J1934.3+6541_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 0.85
user 0.67
sys 0.17

Number of photons that the gtmktime cut: 17102

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/905265/ft1_filtered_4FGL_J1934.3+6541_monthly_bin167.fits" evtable="EVENTS" scfile=/scratch/kocevski/905265/ft2_4FGL_J1934.3+6541_monthly_bin167.fits sctable="SC_DATA" outfile=/scratch/kocevski/905265/ltcube_669859201_672451201_4FGL_J1934.3+6541_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/905265/ft2_4FGL_J1934.3+6541_monthly_bin167.fits
.....................!
real 123.34
user 122.75
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/905265/ft1_filtered_4FGL_J1934.3+6541_monthly_bin167.fits evtable="EVENTS" scfile=/scratch/kocevski/905265/ft2_4FGL_J1934.3+6541_monthly_bin167.fits sctable="SC_DATA" expcube=/scratch/kocevski/905265/ltcube_669859201_672451201_4FGL_J1934.3+6541_monthly_bin167.fits outfile=/scratch/kocevski/905265/expmap_669859201_672451201_4FGL_J1934.3+6541_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/905265/ltcube_669859201_672451201_4FGL_J1934.3+6541_monthly_bin167.fits
.....................!
real 192.18
user 186.97
sys 4.82

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 FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Extended source FHES J2208.4+6443 in ROI with RadialGaussian spatial model.
Extended source HB 21 in ROI with RadialDisk spatial model.
Added 178 point sources and 3 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 J1934.3+6541 @ 293.595 65.6888

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/905265/ft1_filtered_4FGL_J1934.3+6541_monthly_bin167.fits scfile=/scratch/kocevski/905265/ft2_4FGL_J1934.3+6541_monthly_bin167.fits outfile=/scratch/kocevski/905265/cmap_669859201_672451201_4FGL_J1934.3+6541_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=293.595 yref=65.6888 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.84
user 0.66
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/905265/ft1_filtered_4FGL_J1934.3+6541_monthly_bin167.fits scfile=/scratch/kocevski/905265/ft2_4FGL_J1934.3+6541_monthly_bin167.fits outfile=/scratch/kocevski/905265/cmap_HighResolution_669859201_672451201_4FGL_J1934.3+6541_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=293.595 yref=65.6888 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.82
user 0.63
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/905265/ft1_filtered_4FGL_J1934.3+6541_monthly_bin167.fits evtable="EVENTS" scfile=/scratch/kocevski/905265/ft2_4FGL_J1934.3+6541_monthly_bin167.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/905265/Model_4FGL_J1934.3+6541_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 FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source GAL_V02
adding source HB 21
Working on...
/scratch/kocevski/905265/ft1_filtered_4FGL_J1934.3+6541_monthly_bin167.fits.....................!
real 2051.18
user 2044.75
sys 1.54

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/905265/ft1_filtered_4FGL_J1934.3+6541_monthly_bin167.fits', '/scratch/kocevski/905265/ft2_4FGL_J1934.3+6541_monthly_bin167.fits', expMap='/scratch/kocevski/905265/expmap_669859201_672451201_4FGL_J1934.3+6541_monthly_bin167.fits', expCube='/scratch/kocevski/905265/ltcube_669859201_672451201_4FGL_J1934.3+6541_monthly_bin167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/905265/Model_4FGL_J1934.3+6541_monthly_bin167.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1934.3+6541'

4FGL J1934.3+6541
   Spectrum: PowerLaw
303    Prefactor:  6.093e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
304        Index:  2.857e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
305        Scale:  4.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/905265/ft1_filtered_4FGL_J1934.3+6541_monthly_bin167.fits
Spacecraft file(s): /scratch/kocevski/905265/ft2_4FGL_J1934.3+6541_monthly_bin167.fits
Exposure map: /scratch/kocevski/905265/expmap_669859201_672451201_4FGL_J1934.3+6541_monthly_bin167.fits
Exposure cube: /scratch/kocevski/905265/ltcube_669859201_672451201_4FGL_J1934.3+6541_monthly_bin167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/905265/Model_4FGL_J1934.3+6541_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) = 171000.128243

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.4428       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.6862       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.1371       1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.1040       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.6448       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.144       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.5409       1.0000         .10000E-03   10000.    
    12 'norm      '    1.5047       1.0000         .10000E-03   10000.    
    13 'norm      '    .63141       1.0000         .10000E-03   10000.    
    14 'norm      '    1.6873       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.9846       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.7467       1.0000         .10000E-03   10000.    
    17 'norm      '    1.3009       1.0000         .10000E-03   10000.    
    18 'norm      '    9.8842       1.0000         .10000E-03   10000.    
    19 'norm      '    8.2221       1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.450       1.0000         .10000E-03   10000.    
    21 'norm      '    2.2415       1.0000         .10000E-03   10000.    
    22 'Prefactor '    4.6428       1.0000         .10000E-03   10000.    
    23 'norm      '    1.0078       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.0825       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0162       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   170999.5     FROM MIGRAD    STATUS=CONVERGED    607 CALLS     2696 TOTAL
                     EDM=   .79E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4428        .71372        .74439E-08   -.85838E-05
   2  Prefactor     .10000E-03    1.3005        .12787E-06** at limit **
   3  norm          3.6863        1.2166       -.60237E-07   -.14872E-03
   4  Prefactor     .10000E-03    .93547       -.25959E-07** at limit **
   5  Prefactor     7.1342        16.073       -.76280E-05   -.22597E-05
   6  Prefactor     9.1042        2.1202        .13989E-06   -.95128E-03
   7  Prefactor     .10000E-03    1.0828       -.18587E-06** at limit **
   8  Prefactor     4.6446        4.6182       -.50358E-08   -.40607E-03
   9  Prefactor     13.144        12.092       -.14317E-06    .13787E-05
  10  Prefactor     .10000E-03    4.4583       -.27601E-06** at limit **
  11  norm          1.5410        .70040       -.31737E-07   -.22840E-03
  12  norm          1.5047        .47313        .33537E-08   -.82236E-04
  13  norm          .63129        .67007        .14418E-07    .49440E-04
  14  norm          1.6876        1.9840       -.29851E-06   -.94946E-04
  15  Prefactor     2.9849        2.1045       -.12498E-06   -.76058E-03
  16  Prefactor     3.7467        1.4054       -.42930E-07   -.11430E-03
  17  norm          1.3009        .32830        .38934E-08    .98794E-05
  18  norm          9.8842        5.3256        .60711E-08    .22341E-05
  19  norm          8.2221        3.7723       -.10321E-06   -.70154E-05
  20  Prefactor     10.449        4.9718        .35134E-07   -.15049E-03
  21  norm          2.2415        .85495       -.34496E-07   -.18424E-03
  22  Prefactor     4.6427        2.8328       -.21916E-06   -.20666E-04
  23  norm          1.0081        1.0337        .21455E-08   -.29312E-03
  24  Prefactor     .10000E-03    .62619       -.10421E-06** at limit **
  25  Normalizat    1.0825        .54943E-01    .13257E-06    .62385E-04
  26  Prefactor     1.0162        .15767E-01    .24898E-08    .23932E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.4428
  Prefactor  = 0.0001
  norm       = 3.68633
  Prefactor  = 0.0001
  Prefactor  = 7.13416
  Prefactor  = 9.1042
  Prefactor  = 0.0001
  Prefactor  = 4.6446
  Prefactor  = 13.1439
  Prefactor  = 0.0001
  norm       = 1.54096
  norm       = 1.50471
  norm       = 0.631294
  norm       = 1.68764
  Prefactor  = 2.9849
  Prefactor  = 3.74673
  norm       = 1.3009
  norm       = 9.88415
  norm       = 8.22207
  Prefactor  = 10.4492
  norm       = 2.24155
  Prefactor  = 4.64274
  norm       = 1.00808
  Prefactor  = 0.0001
  Normalizat = 1.08249
  Prefactor  = 1.01619
 **********
 **   18 **HESSE 
 **********

 FCN=   170999.5     FROM HESSE     STATUS=OK           484 CALLS     3180 TOTAL
                     EDM=   .33E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.4428        .71264        .15112E-03   -1.5337    
   2  Prefactor     .10000E-03    1.3361        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.6863        1.2097        .21036E-03   -1.5324    
   4  Prefactor     .10000E-03    .95828        .14833       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.1342        16.069        .15015E-03   -1.5174    
   6  Prefactor     9.1042        2.1890        .66416E-03   -1.5104    
   7  Prefactor     .10000E-03    1.0947        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.6446        4.8382        .93372E-03   -1.5277    
   9  Prefactor     13.144        12.094        .11048E-03   -1.4983    
  10  Prefactor     .10000E-03    4.4630        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.5410        .69052        .21433E-03   -1.5460    
  12  norm          1.5047        .47168        .15544E-03   -1.5463    
  13  norm          .63129        .57897        .33049E-02   -1.5549    
  14  norm          1.6876        1.9422        .32414E-03   -1.5448    
  15  Prefactor     2.9849        3.7261        .11750E-02   -1.5362    
  16  Prefactor     3.7467        1.4020        .20859E-03   -1.5321    
  17  norm          1.3009        .32880        .11157E-03   -1.5480    
  18  norm          9.8842        5.3265        .12746E-03   -1.5079    
  19  norm          8.2221        3.7638        .13982E-03   -1.5134    
  20  Prefactor     10.449        4.9558        .61974E-03   -1.5061    
  21  norm          2.2415        .85337        .22504E-03   -1.5409    
  22  Prefactor     4.6427        2.8322        .18678E-03   -1.5277    
  23  norm          1.0081        1.2375        .41622E-02   -1.5507    
  24  Prefactor     .10000E-03    .65270        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0825        .61680E-01    .48029E-03   -.90316    
  26  Prefactor     1.0162        .16987E-01    .14789E-03   -.92192    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.25338e-07
Minuit parameter uncertainties:
  1  0.712639
  2  9.21399e-07
  3  1.2097
  4  3.53134e-05
  5  16.0788
  6  2.18904
  7  4.46022e-08
  8  4.83862
  9  12.0959
  10  6.16946e-07
  11  0.690519
  12  0.471677
  13  0.578971
  14  1.94229
  15  3.72637
  16  1.40199
  17  0.328803
  18  5.32671
  19  3.76394
  20  4.95595
  21  0.853374
  22  2.83229
  23  1.2375
  24  1.05955e-07
  25  0.0616842
  26  0.0169874
Done.

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

Extracting fit parameters...

4FGL J1934.3+6541
   Spectrum: PowerLaw
303    Prefactor:  2.985e+00  3.726e+00  1.000e-04  1.000e+04 ( 1.000e-12)
304        Index:  2.857e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
305        Scale:  4.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
606    Prefactor:  1.016e+00  1.699e-02  0.000e+00  1.000e+01 ( 1.000e+00)
607        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
608        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
598   Normalization:  1.082e+00  6.168e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.80
Ra Dec: 293.595 65.689
Photon Flux Upper Limit: 3.04e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.41e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/905265/likelihoodResults_669859201_672451201_4FGL_J1934.3+6541_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) = 170999.513824
delta logL = 0.000450304331025

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 170999.513807
delta logL = 0.000467255886178

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.9849       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8964       1.0000          .0000       10.000    
     3 'Normalizat'    1.0820       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0163       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   170999.5     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      252 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9798        3.8384        .23498E-03    .14243E-03
   2  Index         2.8985        1.3839        .31186E-01    .11467E-04
   3  Normalizat    1.0821        .57073E-01    .48036E-03    .65889E-04
   4  Prefactor     1.0162        .16678E-01    .14788E-03    .27306E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.97975
  Index      = 2.89845
  Normalizat = 1.08213
  Prefactor  = 1.01625
 **********
 **   18 **HESSE 
 **********

 FCN=   170999.5     FROM HESSE     STATUS=OK            23 CALLS      275 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.9798        3.6817        .93992E-05   -1.5363    
   2  Index         2.8985        1.3337        .12474E-02   -.43379    
   3  Normalizat    1.0821        .57234E-01    .19215E-04   -.90328    
   4  Prefactor     1.0162        .16682E-01    .59153E-05   -.92190    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.95653e-11
Minuit parameter uncertainties:
  1  3.68202
  2  1.35369
  3  0.0572368
  4  0.0166823
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/905265': 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) = 170999.513803
delta logL = 0.000471632229164

Extracting fit parameters...

4FGL J1934.3+6541
   Spectrum: PowerLaw
303    Prefactor:  2.980e+00  3.682e+00  1.000e-04  1.000e+04 ( 1.000e-12)
304        Index:  2.898e+00  1.354e+00  0.000e+00  1.000e+01 (-1.000e+00)
305        Scale:  4.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
606    Prefactor:  1.016e+00  1.668e-02  0.000e+00  1.000e+01 ( 1.000e+00)
607        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
608        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
598   Normalization:  1.082e+00  5.724e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.80
Ra Dec: 293.595 65.689

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/905265/cmap_HighResolution_669859201_672451201_4FGL_J1934.3+6541_monthly_bin167.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.41e-03', job_status='DONE', photon_flux_upper_limit='3.04e-08', time_completed='2022-04-24 06:19:03.834375', job_id='905265', GAL2='1.02', fit_tolerance='1e-08', EG2='1.08', EG='1.08', time_epoch_completed='1650806343.83', return_code2='0', ts='0.80', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='4.72e-04', ts2='0.81', photon_index_error='0.00', photon_index='2.86' WHERE bin_id='167' AND source_name='4FGL J1934.3+6541' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Sun Apr 24 06:19:03 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0212>
Subject: Job 905265: <4FGL_J1934.3+6541_monthly_bin167> in cluster <slac> Done

Job <4FGL_J1934.3+6541_monthly_bin167> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sun Apr 24 02:20:34 2022
Job was executed on host(s) <bullet0212>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr 24 02:33:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Apr 24 02:33:30 2022
Terminated at Sun Apr 24 06:19:05 2022
Results reported at Sun Apr 24 06:19:05 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1934.3+6541_monthly_bin167 293.595 65.6888 669859201 672451201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1934.3+6541 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   13418.00 sec.
    Max Memory :                                 652 MB
    Average Memory :                             555.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   13534 sec.
    Turnaround time :                            14311 sec.

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

