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


Performing analysis on: 4FGL_J0036.9+1832_daily_bin1762
RA = 9.234, Dec = 18.5424
tmin = 696038401, tmax = 696297601
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='95761', job_status='RUN', time_executed='2023-01-25 00:08:37.246041', time_epoch_executed='1674634117.25' WHERE source_name='4FGL J0036.9+1832' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/95761

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/95761/ft1_4FGL_J0036.9+1832_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/95761/ft2_4FGL_J0036.9+1832_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/95761/ft1_4FGL_J0036.9+1832_daily_bin1762.fits outfile=/scratch/kocevski/95761/ft1_filteredMKT_4FGL_J0036.9+1832_daily_bin1762.fits ra=9.234 dec=18.5424 rad=12.0 tmin=696038401.0 tmax=696297601.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 3.68
user 3.43
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/95761/ft2_4FGL_J0036.9+1832_daily_bin1762.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/95761/ft2_4FGL_J0036.9+1832_daily_bin1762.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/95761/ft1_filteredMKT_4FGL_J0036.9+1832_daily_bin1762.fits evtable="EVENTS" outfile="/scratch/kocevski/95761/ft1_filtered_4FGL_J0036.9+1832_daily_bin1762.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.32
sys 0.17

Number of photons that the gtmktime cut: 614

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/95761/ft1_filtered_4FGL_J0036.9+1832_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/95761/ft2_4FGL_J0036.9+1832_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/95761/ltcube_696038401_696297601_4FGL_J0036.9+1832_daily_bin1762.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/95761/ft2_4FGL_J0036.9+1832_daily_bin1762.fits
.....................!
real 13.56
user 13.17
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/95761/ft1_filtered_4FGL_J0036.9+1832_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/95761/ft2_4FGL_J0036.9+1832_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/95761/ltcube_696038401_696297601_4FGL_J0036.9+1832_daily_bin1762.fits outfile=/scratch/kocevski/95761/expmap_696038401_696297601_4FGL_J0036.9+1832_daily_bin1762.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/95761/ltcube_696038401_696297601_4FGL_J0036.9+1832_daily_bin1762.fits
.....................!
real 199.20
user 193.45
sys 5.34

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 157 point sources and 0 extended sources

Setting source of interest to:
4FGL J0036.9+1832 @ 9.234 18.5424

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/95761/ft1_filtered_4FGL_J0036.9+1832_daily_bin1762.fits scfile=/scratch/kocevski/95761/ft2_4FGL_J0036.9+1832_daily_bin1762.fits outfile=/scratch/kocevski/95761/cmap_696038401_696297601_4FGL_J0036.9+1832_daily_bin1762.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=9.234 yref=18.5424 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.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/95761/ft1_filtered_4FGL_J0036.9+1832_daily_bin1762.fits scfile=/scratch/kocevski/95761/ft2_4FGL_J0036.9+1832_daily_bin1762.fits outfile=/scratch/kocevski/95761/cmap_HighResolution_696038401_696297601_4FGL_J0036.9+1832_daily_bin1762.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=9.234 yref=18.5424 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.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/95761/ft1_filtered_4FGL_J0036.9+1832_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/95761/ft2_4FGL_J0036.9+1832_daily_bin1762.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/95761/Model_4FGL_J0036.9+1832_daily_bin1762.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/95761/ft1_filtered_4FGL_J0036.9+1832_daily_bin1762.fits.....................!
real 71.70
user 69.69
sys 1.38

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/95761/ft1_filtered_4FGL_J0036.9+1832_daily_bin1762.fits', '/scratch/kocevski/95761/ft2_4FGL_J0036.9+1832_daily_bin1762.fits', expMap='/scratch/kocevski/95761/expmap_696038401_696297601_4FGL_J0036.9+1832_daily_bin1762.fits', expCube='/scratch/kocevski/95761/ltcube_696038401_696297601_4FGL_J0036.9+1832_daily_bin1762.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/95761/Model_4FGL_J0036.9+1832_daily_bin1762.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0036.9+1832'

4FGL J0036.9+1832
   Spectrum: PowerLaw
140    Prefactor:  4.389e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
141        Index:  2.385e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
142        Scale:  9.446e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/95761/ft1_filtered_4FGL_J0036.9+1832_daily_bin1762.fits
Spacecraft file(s): /scratch/kocevski/95761/ft2_4FGL_J0036.9+1832_daily_bin1762.fits
Exposure map: /scratch/kocevski/95761/expmap_696038401_696297601_4FGL_J0036.9+1832_daily_bin1762.fits
Exposure cube: /scratch/kocevski/95761/ltcube_696038401_696297601_4FGL_J0036.9+1832_daily_bin1762.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/95761/Model_4FGL_J0036.9+1832_daily_bin1762.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) = 6577.42808976

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .24045E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    13.007       1.0000          .0000       .10000E+07
     3 'Prefactor '    .11302E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    19.850       1.0000          .0000       .10000E+07
     5 'norm      '    7.5706       1.0000          .0000       .10000E+07
     6 'Prefactor '    15.573       1.0000          .0000       .10000E+07
     7 'Prefactor '    29.328       1.0000          .0000       .10000E+07
     8 'norm      '    .12856E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .52814E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .25522E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .62564E-04   1.0000          .0000       .10000E+07
    12 'norm      '    .36810       1.0000          .0000       .10000E+07
    13 'Prefactor '    10.704       1.0000          .0000       .10000E+07
    14 'Prefactor '    43.186       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.5197       1.0000          .0000       .10000E+07
    16 'Prefactor '    .51310E-04   1.0000          .0000       .10000E+07
    17 'Normalizat'    .90309       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0545       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6577.377     FROM MIGRAD    STATUS=CONVERGED    100 CALLS     1276 TOTAL
                     EDM=   .98E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .16653E-09    1.4141       -.18340E-06** at limit **
   2  Prefactor     13.032        8.6667        .14570E-05    .12264E-01
   3  Prefactor     .12212E-08    2.6559       -.15739E-05** at limit **
   4  Prefactor     19.847        5.5206       -.71075E-07    .11827E-04
   5  norm          7.5543        1.0657       -.57727E-07   -.30225E-03
   6  Prefactor     16.046        6.1368        .33183E-06   -.89261E-02
   7  Prefactor     30.045        5.8141       -.15866E-06   -.22793E-01
   8  norm          .16653E-09    2.4705        .12757E-05** at limit **
   9  Prefactor     .16653E-09    2.2958       -.56515E-06** at limit **
  10  Prefactor     .14266E-07    19.750       -.12300E-05** at limit **
  11  Prefactor     .33307E-09    15.730        .11248E-05** at limit **
  12  norm          .36914        .50819        .56336E-07   -.82096E-02
  13  Prefactor     10.727        2.1737       -.49967E-06    .14213E-01
  14  Prefactor     43.228        2.4564        .22069E-06   -.10193    
  15  Prefactor     1.5330        3.7295        .82687E-07    .38350E-03
  16  Prefactor      .0000        3.2812        .15678E-05** at limit **
  17  Normalizat    .90111        .22428       -.99373E-05    .16263E-03
  18  Prefactor     1.0548        .15966        .49284E-05   -.37928E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.66533e-10
  Prefactor  = 13.0323
  Prefactor  = 1.22125e-09
  Prefactor  = 19.8473
  norm       = 7.55435
  Prefactor  = 16.0465
  Prefactor  = 30.0453
  norm       = 1.66533e-10
  Prefactor  = 1.66533e-10
  Prefactor  = 1.42664e-08
  Prefactor  = 3.33067e-10
  norm       = 0.369144
  Prefactor  = 10.727
  Prefactor  = 43.2279
  Prefactor  = 1.53299
  Prefactor  = 0
  Normalizat = 0.901115
  Prefactor  = 1.05485
 **********
 **   18 **HESSE 
 **********

 FCN=   6577.377     FROM HESSE     STATUS=OK           284 CALLS     1560 TOTAL
                     EDM=   .45E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .16653E-09    1.4082        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.032        8.8494        .27748E-03   -1.5636    
   3  Prefactor     .12212E-08    2.6665        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     19.847        5.6036        .22452E-03   -1.5619    
   5  norm          7.5543        9.8538        .36424E-03   -1.5653    
   6  Prefactor     16.046        21.890        .25354E-03   -1.5628    
   7  Prefactor     30.045        19.986        .18468E-03   -1.5598    
   8  norm          .16653E-09    2.4717        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .16653E-09    2.2951        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .14266E-07    21.253        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .33307E-09    17.173        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .36914        .55417        .15310E-02   -1.5696    
  13  Prefactor     10.727        9.8066        .30598E-03   -1.5642    
  14  Prefactor     43.228        41.950        .15218E-03   -1.5576    
  15  Prefactor     1.5330        3.9980        .86645E-03   -1.5683    
  16  Prefactor      .0000        3.2950        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .90111        .19486        .67690E-01   -.96421    
  18  Prefactor     1.0548        .13686        .39651E-01   -.90923    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.53112e-07
Minuit parameter uncertainties:
  1  3.2102e-05
  2  8.84941
  3  0.000113193
  4  5.60363
  5  9.8538
  6  21.8901
  7  19.9857
  8  3.95369e-05
  9  3.64222e-05
  10  0.00110096
  11  0.000149017
  12  0.554174
  13  9.80658
  14  41.9499
  15  3.99803
  16  1.87785e-06
  17  0.195011
  18  0.136906
Done.

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

Extracting fit parameters...

4FGL J0036.9+1832
   Spectrum: PowerLaw
140    Prefactor:  1.605e+01  2.189e+01  0.000e+00  1.000e+06 ( 1.000e-13)
141        Index:  2.385e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
142        Scale:  9.446e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
497    Prefactor:  1.055e+00  1.369e-01  0.000e+00  1.000e+01 ( 1.000e+00)
498        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
499        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
496   Normalization:  9.011e-01  1.950e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.74
Ra Dec: 9.234 18.542
Photon Flux Upper Limit: 1.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.12e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/95761/likelihoodResults_696038401_696297601_4FGL_J0036.9+1832_daily_bin1762.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) = 6577.35356328
delta logL = 0.0231718172899

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6577.33723773
delta logL = 0.0394973674256

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.137       1.0000          .0000       .10000E+07
     2 'Index     '    2.8102       1.0000          .0000       10.000    
     3 'Normalizat'    .88715       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0618       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5000E+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=   6577.337     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      282 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.138        40.122        .11998E-04    .22665E-02
   2  Index         2.8100        2.4368        .86806E-02    .10445E-03
   3  Normalizat    .88739        .23474        .30145E-03    .10390E-03
   4  Prefactor     1.0617        .16463        .19898E-03    .16017E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.1381
  Index      = 2.81003
  Normalizat = 0.887386
  Prefactor  = 1.06168
 **********
 **   18 **HESSE 
 **********

 FCN=   6577.337     FROM HESSE     STATUS=OK            25 CALLS      307 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.138        27.382        .47993E-06   -1.5641    
   2  Index         2.8100        1.7100        .34723E-03   -.45337    
   3  Normalizat    .88739        .22936        .12058E-04   -.96905    
   4  Prefactor     1.0617        .16195        .39796E-04   -.90701    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.02639e-10
Minuit parameter uncertainties:
  1  27.3819
  2  1.75421
  3  0.229608
  4  0.162027
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/95761': 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) = 6577.33723719
delta logL = 0.0394979052326

Extracting fit parameters...

4FGL J0036.9+1832
   Spectrum: PowerLaw
140    Prefactor:  1.114e+01  2.738e+01  0.000e+00  1.000e+06 ( 1.000e-13)
141        Index:  2.810e+00  1.754e+00  0.000e+00  1.000e+01 (-1.000e+00)
142        Scale:  9.446e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
497    Prefactor:  1.062e+00  1.620e-01  0.000e+00  1.000e+01 ( 1.000e+00)
498        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
499        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
496   Normalization:  8.874e-01  2.296e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.74
Ra Dec: 9.234 18.542

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/95761/cmap_HighResolution_696038401_696297601_4FGL_J0036.9+1832_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.12e-03', job_status='DONE', photon_flux_upper_limit='1.05e-07', time_completed='2023-01-25 00:17:55.671950', job_id='95761', GAL2='1.06', fit_tolerance='1e-08', EG2='0.89', EG='0.90', time_epoch_completed='1674634675.67', return_code2='0', ts='0.74', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='3.95e-02', ts2='0.83', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1762' AND source_name='4FGL J0036.9+1832' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 00:17:55 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0123>
Subject: Job 95761: <4FGL_J0036.9+1832_daily_bin1762> in cluster <slac> Done

Job <4FGL_J0036.9+1832_daily_bin1762> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Jan 25 00:04:52 2023
Job was executed on host(s) <bullet0123>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 00:08:09 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 00:08:09 2023
Terminated at Wed Jan 25 00:17:56 2023
Results reported at Wed Jan 25 00:17:56 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0036.9+1832_daily_bin1762 9.234 18.5424 696038401 696297601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0036.9+1832 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   558.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             333.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   593 sec.
    Turnaround time :                            784 sec.

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

