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


Performing analysis on: 4FGL_J0203.7+3042_daily_bin1672
RA = 30.9327, Dec = 30.7139
tmin = 672710401, tmax = 672969601
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='154054', job_status='RUN', time_executed='2022-04-30 00:13:30.465783', time_epoch_executed='1651302810.47' WHERE source_name='4FGL J0203.7+3042' and cadence='daily' and bin_id='1672'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/154054

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/154054/ft1_4FGL_J0203.7+3042_daily_bin1672.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/154054/ft2_4FGL_J0203.7+3042_daily_bin1672.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/154054/ft1_4FGL_J0203.7+3042_daily_bin1672.fits outfile=/scratch/kocevski/154054/ft1_filteredMKT_4FGL_J0203.7+3042_daily_bin1672.fits ra=30.9327 dec=30.7139 rad=12.0 tmin=672710401.0 tmax=672969601.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.12
user 2.90
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/154054/ft2_4FGL_J0203.7+3042_daily_bin1672.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/154054/ft2_4FGL_J0203.7+3042_daily_bin1672.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/154054/ft1_filteredMKT_4FGL_J0203.7+3042_daily_bin1672.fits evtable="EVENTS" outfile="/scratch/kocevski/154054/ft1_filtered_4FGL_J0203.7+3042_daily_bin1672.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.52
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 114

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/154054/ft1_filtered_4FGL_J0203.7+3042_daily_bin1672.fits" evtable="EVENTS" scfile=/scratch/kocevski/154054/ft2_4FGL_J0203.7+3042_daily_bin1672.fits sctable="SC_DATA" outfile=/scratch/kocevski/154054/ltcube_672710401_672969601_4FGL_J0203.7+3042_daily_bin1672.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/154054/ft2_4FGL_J0203.7+3042_daily_bin1672.fits
.....................!
real 15.43
user 15.04
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/154054/ft1_filtered_4FGL_J0203.7+3042_daily_bin1672.fits evtable="EVENTS" scfile=/scratch/kocevski/154054/ft2_4FGL_J0203.7+3042_daily_bin1672.fits sctable="SC_DATA" expcube=/scratch/kocevski/154054/ltcube_672710401_672969601_4FGL_J0203.7+3042_daily_bin1672.fits outfile=/scratch/kocevski/154054/expmap_672710401_672969601_4FGL_J0203.7+3042_daily_bin1672.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/154054/ltcube_672710401_672969601_4FGL_J0203.7+3042_daily_bin1672.fits
.....................!
real 191.46
user 186.34
sys 4.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
Added 176 point sources and 0 extended sources

Setting source of interest to:
4FGL J0203.7+3042 @ 30.9327 30.7139

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/154054/ft1_filtered_4FGL_J0203.7+3042_daily_bin1672.fits scfile=/scratch/kocevski/154054/ft2_4FGL_J0203.7+3042_daily_bin1672.fits outfile=/scratch/kocevski/154054/cmap_672710401_672969601_4FGL_J0203.7+3042_daily_bin1672.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=30.9327 yref=30.7139 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/154054/ft1_filtered_4FGL_J0203.7+3042_daily_bin1672.fits scfile=/scratch/kocevski/154054/ft2_4FGL_J0203.7+3042_daily_bin1672.fits outfile=/scratch/kocevski/154054/cmap_HighResolution_672710401_672969601_4FGL_J0203.7+3042_daily_bin1672.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=30.9327 yref=30.7139 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.52
user 0.35
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/154054/ft1_filtered_4FGL_J0203.7+3042_daily_bin1672.fits evtable="EVENTS" scfile=/scratch/kocevski/154054/ft2_4FGL_J0203.7+3042_daily_bin1672.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/154054/Model_4FGL_J0203.7+3042_daily_bin1672.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/154054/ft1_filtered_4FGL_J0203.7+3042_daily_bin1672.fits.......................!
real 25.29
user 22.90
sys 1.59

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/154054/ft1_filtered_4FGL_J0203.7+3042_daily_bin1672.fits', '/scratch/kocevski/154054/ft2_4FGL_J0203.7+3042_daily_bin1672.fits', expMap='/scratch/kocevski/154054/expmap_672710401_672969601_4FGL_J0203.7+3042_daily_bin1672.fits', expCube='/scratch/kocevski/154054/ltcube_672710401_672969601_4FGL_J0203.7+3042_daily_bin1672.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/154054/Model_4FGL_J0203.7+3042_daily_bin1672.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0203.7+3042'

4FGL J0203.7+3042
   Spectrum: LogParabola
255         norm:  3.872e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
256        alpha:  2.141e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
257         beta:  9.853e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
258           Eb:  8.799e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/154054/ft1_filtered_4FGL_J0203.7+3042_daily_bin1672.fits
Spacecraft file(s): /scratch/kocevski/154054/ft2_4FGL_J0203.7+3042_daily_bin1672.fits
Exposure map: /scratch/kocevski/154054/expmap_672710401_672969601_4FGL_J0203.7+3042_daily_bin1672.fits
Exposure cube: /scratch/kocevski/154054/ltcube_672710401_672969601_4FGL_J0203.7+3042_daily_bin1672.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/154054/Model_4FGL_J0203.7+3042_daily_bin1672.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) = 1295.97859786

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .46316       1.0000         .10000E-03   10000.    
     2 'Prefactor '    80.299       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.4618       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.1708       1.0000         .10000E-03   10000.    
     7 'Prefactor '    34.692       1.0000         .10000E-03   10000.    
     8 'Prefactor '    177.11       1.0000         .10000E-03   10000.    
     9 'norm      '    .99656       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    48.995       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .16109E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10219E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    31.389       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10426E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10118E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10106E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    .10226E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    1955.5       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    30 'Normalizat'    .48625E-01   1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.3407       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+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=   1295.923     FROM MIGRAD    STATUS=CONVERGED   1428 CALLS     5434 TOTAL
                     EDM=   .61E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .46302        3.3273        .11177E-03   -.17114E-03
   2  Prefactor     80.304        82.594        .44819E-04   -.22411E-04
   3  Prefactor     .10000E-03    8.7182        .10368E-02** at limit **
   4  Prefactor     8.4769        16.314        .68904E-03   -.13954E-04
   5  Prefactor     .10000E-03    32.261        .18142E-02** at limit **
   6  norm          2.1707        2.0422        .48142E-04   -.12244E-03
   7  Prefactor     34.728        90.589        .68037E-04   -.12164E-04
   8  Prefactor     176.95        286.37        .15163E-03    .79849E-05
   9  norm          .99576        1.8096        .57544E-03    .69740E-04
  10  Prefactor     .10000E-03    21.389        .16261E-02** at limit **
  11  Prefactor     .10000E-03    12.543        .12446E-02** at limit **
  12  Prefactor     .10000E-03    5.0455        .78230E-03** at limit **
  13  Prefactor     .10000E-03    37.201        .18142E-02** at limit **
  14  Prefactor     .10000E-03    109.11        .18142E-02** at limit **
  15  norm          49.001        24.573        .57289E-04   -.60446E-04
  16  Prefactor     .10000E-03    289.46        .18142E-02** at limit **
  17  Prefactor     .10000E-03    16.630        .14333E-02** at limit **
  18  Prefactor     .10000E-03    157.87        .18142E-02** at limit **
  19  norm          .10000E-03    7.5008        .96130E-03** at limit **
  20  Prefactor     .10000E-03    23.970        .17217E-02** at limit **
  21  norm          .10000E-03    1.5422        .85469E-04** at limit **
  22  norm          .10000E-03    420.06        .18142E-02** at limit **
  23  Prefactor     31.390        28.200        .71517E-04   -.16055E-04
  24  Prefactor     .10000E-03    258.42        .18142E-02** at limit **
  25  norm          .10000E-03    72.566        .18142E-02** at limit **
  26  Prefactor     .10000E-03    86.849        .18142E-02** at limit **
  27  norm          .10000E-03    46.989        .18142E-02** at limit **
  28  Prefactor     1955.3        1341.5        .50425E-04   -.43287E-05
  29  Prefactor     .10000E-03    1383.5        .18142E-02** at limit **
  30  Normalizat    .47449E-01    6.6082        .11769E-01   -.64286E-05
  31  Prefactor     1.3414        .46048        .17311E-03   -.68331E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.463018
  Prefactor  = 80.304
  Prefactor  = 0.0001
  Prefactor  = 8.47689
  Prefactor  = 0.0001
  norm       = 2.17067
  Prefactor  = 34.7279
  Prefactor  = 176.951
  norm       = 0.995765
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 49.0006
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 31.3904
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1955.34
  Prefactor  = 0.000100002
  Normalizat = 0.0474493
  Prefactor  = 1.34144
 **********
 **   18 **HESSE 
 **********

 FCN=   1295.923     FROM HESSE     STATUS=OK           596 CALLS     6030 TOTAL
                     EDM=   .73E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .46302        3.2937        .44708E-05   -1.5572    
   2  Prefactor     80.304        82.424        .89638E-05   -1.3913    
   3  Prefactor     .10000E-03    8.7183        .20736E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.4769        15.068        .27562E-04   -1.5126    
   5  Prefactor     .10000E-03    32.266        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.1707        2.0421        .19257E-05   -1.5413    
   7  Prefactor     34.728        90.530        .13607E-04   -1.4529    
   8  Prefactor     176.95        285.86        .60653E-05   -1.3040    
   9  norm          .99576        1.8039        .23018E-04   -1.5508    
  10  Prefactor     .10000E-03    21.389        .32523E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    12.543        .24892E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.0460        .15646E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    37.202        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    109.11        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          49.001        24.500        .11458E-04   -1.4307    
  16  Prefactor     .10000E-03    289.46        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    16.630        .28666E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    157.94        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    7.5010        .19226E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    23.971        .34435E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    1.5422        .17094E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    420.06        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     31.390        28.041        .28607E-05   -1.4587    
  24  Prefactor     .10000E-03    258.42        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    72.570        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    86.849        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .10000E-03    47.005        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     1955.3        1338.1        .10085E-04   -.65471    
  29  Prefactor     .10000E-03    1383.5        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .47449E-01    5.9473        .47074E-03   -1.4483    
  31  Prefactor     1.3414        .36667        .34622E-04   -.82083    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.31434e-11
Minuit parameter uncertainties:
  1  2.46977
  2  82.542
  3  5.28831e-07
  4  15.0751
  5  8.08151e-06
  6  2.04218
  7  90.8916
  8  288.153
  9  1.80395
  10  1.44371e-06
  11  5.26619e-06
  12  8.68278e-06
  13  1.69908e-05
  14  7.24122e-05
  15  24.5046
  16  0.000108814
  17  3.95159e-06
  18  6.87796e-05
  19  3.21818e-06
  20  6.83037e-06
  21  1.68177e-06
  22  0.00014917
  23  28.0532
  24  0.000123678
  25  7.20003e-06
  26  1.76836e-05
  27  5.63324e-06
  28  1364.89
  29  0.00317162
  30  0.632336
  31  0.367381
Done.

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

Extracting fit parameters...

4FGL J0203.7+3042
   Spectrum: LogParabola
255         norm:  4.900e+01  2.450e+01  1.000e-04  1.000e+04 ( 1.000e-12)
256        alpha:  2.141e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
257         beta:  9.853e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
258           Eb:  8.799e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  1.341e+00  3.674e-01  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  4.745e-02  6.323e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.22
Ra Dec: 30.933 30.714
Photon Index (Fixed Index): 2.14 +/- 0.00
Photon Flux (Fixed Index): 3.59e-07 +/- 1.80e-07
Energy Flux (Fixed Index): 1.65e-04 +/- 8.27e-05

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) = 1295.32232755
delta logL = 0.600572148029

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1295.31037204
delta logL = 0.612527660792

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1295.310     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      275 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          21.694        252.73        .21499E-02   -.80783E-04
   2  alpha         2.9300        3.9518        .10516        .11520E-04
   3  Normalizat    .10000E-01    .34857        .32250    ** at limit **
   4  Prefactor     1.3586        .19682        .31660E-01    .21516E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 21.6937
  alpha      = 2.93003
  Normalizat = 0.01
  Prefactor  = 1.35856
 **********
 **   18 **HESSE 
 **********

 FCN=   1295.310     FROM HESSE     STATUS=OK            29 CALLS      304 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          21.694        30.232        .78169E-04   -1.4776    
   2  alpha         2.9300        .92695        .46100E-03    .17287    
   3  Normalizat    .10000E-01    1.5071        .11164E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.3586        .16987        .17187E-03   -.81582    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.95297e-11
Minuit parameter uncertainties:
  1  30.2536
  2  0.950358
  3  1.05164e-06
  4  0.169938
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/154054': 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) = 1295.31037191
delta logL = 0.612527785333

Extracting fit parameters...

4FGL J0203.7+3042
   Spectrum: LogParabola
255         norm:  2.169e+01  3.025e+01  1.000e-04  1.000e+04 ( 1.000e-12)
256        alpha:  2.930e+00  9.504e-01  0.000e+00  5.000e+00 ( 1.000e+00)
257         beta:  9.853e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
258           Eb:  8.799e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  1.359e+00  1.699e-01  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  1.000e-02  1.052e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.44
Ra Dec: 30.933 30.714
Photon Index (Free Index): 2.93 +/- 0.95
Photon Flux (Free Index): 4.93e-07 +/- 2.58e-07
Energy Flux (Free Index): 1.10e-04 +/- 6.32e-05

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/154054/cmap_HighResolution_672710401_672969601_4FGL_J0203.7+3042_daily_bin1672.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.59e-07', energy_flux2='1.10e-04', photon_flux_error='1.80e-07', dlogl='6.13e-01', energy_flux='1.65e-04', photon_flux2='4.93e-07', job_status='DONE', time_completed='2022-04-30 00:20:52.334038', photon_index_error2='0.95', photon_index2='2.93', ts='9.22', fit_tolerance='1e-08', GAL='1.34', photon_index_error='0.00', energy_flux_error2='6.32e-05', EG='0.05', time_epoch_completed='1651303252.33', return_code='0', job_id='154054', GAL2='1.36', EG2='0.01', return_code2='0', energy_flux_error='8.27e-05', photon_flux_error2='2.58e-07', ts2='10.44', photon_index='2.14' WHERE bin_id='1672' AND source_name='4FGL J0203.7+3042' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Apr 30 00:20:52 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 153976: <4FGL_J0203.7+3042_daily_bin1672> in cluster <slac> Done

Job <4FGL_J0203.7+3042_daily_bin1672> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Apr 30 00:05:49 2022
Job was executed on host(s) <bullet0107>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Apr 30 00:10:07 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Apr 30 00:10:07 2022
Terminated at Sat Apr 30 00:19:13 2022
Results reported at Sat Apr 30 00:19:13 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0203.7+3042_daily_bin1672 30.9327 30.7139 672710401 672969601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0203.7+3042 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   442.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             303.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   546 sec.
    Turnaround time :                            804 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 154054: <4FGL_J0203.7+3042_daily_bin1672> in cluster <slac> Done

Job <4FGL_J0203.7+3042_daily_bin1672> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Apr 30 00:05:53 2022
Job was executed on host(s) <bullet0281>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Apr 30 00:12:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Apr 30 00:12:23 2022
Terminated at Sat Apr 30 00:20:53 2022
Results reported at Sat Apr 30 00:20:53 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0203.7+3042_daily_bin1672 30.9327 30.7139 672710401 672969601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0203.7+3042 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   440.04 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             294.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   510 sec.
    Turnaround time :                            900 sec.

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

