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


Performing analysis on: 4FGL_J1203.3+1119_daily_bin1763
RA = 180.833, Dec = 11.3231
tmin = 696297601, tmax = 696556801
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='277971', job_status='RUN', time_executed='2023-01-28 00:50:03.220128', time_epoch_executed='1674895803.22' WHERE source_name='4FGL J1203.3+1119' and cadence='daily' and bin_id='1763'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/277971

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/277971/ft1_4FGL_J1203.3+1119_daily_bin1763.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/277971/ft2_4FGL_J1203.3+1119_daily_bin1763.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/277971/ft1_4FGL_J1203.3+1119_daily_bin1763.fits outfile=/scratch/kocevski/277971/ft1_filteredMKT_4FGL_J1203.3+1119_daily_bin1763.fits ra=180.833 dec=11.3231 rad=12.0 tmin=696297601.0 tmax=696556801.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.03
user 2.77
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/277971/ft2_4FGL_J1203.3+1119_daily_bin1763.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/277971/ft2_4FGL_J1203.3+1119_daily_bin1763.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/277971/ft1_filteredMKT_4FGL_J1203.3+1119_daily_bin1763.fits evtable="EVENTS" outfile="/scratch/kocevski/277971/ft1_filtered_4FGL_J1203.3+1119_daily_bin1763.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.46
user 0.28
sys 0.16

Number of photons that the gtmktime cut: 579

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/277971/ft1_filtered_4FGL_J1203.3+1119_daily_bin1763.fits" evtable="EVENTS" scfile=/scratch/kocevski/277971/ft2_4FGL_J1203.3+1119_daily_bin1763.fits sctable="SC_DATA" outfile=/scratch/kocevski/277971/ltcube_696297601_696556801_4FGL_J1203.3+1119_daily_bin1763.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/277971/ft2_4FGL_J1203.3+1119_daily_bin1763.fits
.....................!
real 13.85
user 13.35
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/277971/ft1_filtered_4FGL_J1203.3+1119_daily_bin1763.fits evtable="EVENTS" scfile=/scratch/kocevski/277971/ft2_4FGL_J1203.3+1119_daily_bin1763.fits sctable="SC_DATA" expcube=/scratch/kocevski/277971/ltcube_696297601_696556801_4FGL_J1203.3+1119_daily_bin1763.fits outfile=/scratch/kocevski/277971/expmap_696297601_696556801_4FGL_J1203.3+1119_daily_bin1763.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/277971/ltcube_696297601_696556801_4FGL_J1203.3+1119_daily_bin1763.fits
.....................!
real 157.97
user 151.63
sys 5.47

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

Setting source of interest to:
4FGL J1203.3+1119 @ 180.833 11.3231

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/277971/ft1_filtered_4FGL_J1203.3+1119_daily_bin1763.fits scfile=/scratch/kocevski/277971/ft2_4FGL_J1203.3+1119_daily_bin1763.fits outfile=/scratch/kocevski/277971/cmap_696297601_696556801_4FGL_J1203.3+1119_daily_bin1763.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=180.833 yref=11.3231 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.49
user 0.33
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/277971/ft1_filtered_4FGL_J1203.3+1119_daily_bin1763.fits scfile=/scratch/kocevski/277971/ft2_4FGL_J1203.3+1119_daily_bin1763.fits outfile=/scratch/kocevski/277971/cmap_HighResolution_696297601_696556801_4FGL_J1203.3+1119_daily_bin1763.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=180.833 yref=11.3231 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.50
user 0.33
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/277971/ft1_filtered_4FGL_J1203.3+1119_daily_bin1763.fits evtable="EVENTS" scfile=/scratch/kocevski/277971/ft2_4FGL_J1203.3+1119_daily_bin1763.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/277971/Model_4FGL_J1203.3+1119_daily_bin1763.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/277971/ft1_filtered_4FGL_J1203.3+1119_daily_bin1763.fits.....................!
real 49.16
user 47.78
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/277971/ft1_filtered_4FGL_J1203.3+1119_daily_bin1763.fits', '/scratch/kocevski/277971/ft2_4FGL_J1203.3+1119_daily_bin1763.fits', expMap='/scratch/kocevski/277971/expmap_696297601_696556801_4FGL_J1203.3+1119_daily_bin1763.fits', expCube='/scratch/kocevski/277971/ltcube_696297601_696556801_4FGL_J1203.3+1119_daily_bin1763.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/277971/Model_4FGL_J1203.3+1119_daily_bin1763.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1203.3+1119'

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  8.766e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
315        Index:  2.339e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/277971/ft1_filtered_4FGL_J1203.3+1119_daily_bin1763.fits
Spacecraft file(s): /scratch/kocevski/277971/ft2_4FGL_J1203.3+1119_daily_bin1763.fits
Exposure map: /scratch/kocevski/277971/expmap_696297601_696556801_4FGL_J1203.3+1119_daily_bin1763.fits
Exposure cube: /scratch/kocevski/277971/ltcube_696297601_696556801_4FGL_J1203.3+1119_daily_bin1763.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/277971/Model_4FGL_J1203.3+1119_daily_bin1763.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) = 6437.36003709

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11877E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .57367E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    162.14       1.0000          .0000       .10000E+07
     4 'Prefactor '    .69489E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .44041E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .64894E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .29785E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    98.957       1.0000          .0000       .10000E+07
     9 'Prefactor '    .11222E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .39196E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .25591E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    .13169E-01   1.0000          .0000       .10000E+07
    13 'norm      '    8.0835       1.0000          .0000       .10000E+07
    14 'Prefactor '    17.514       1.0000          .0000       .10000E+07
    15 'norm      '    .22217       1.0000          .0000       .10000E+07
    16 'norm      '    .48843E-03   1.0000          .0000       .10000E+07
    17 'norm      '    1.3950       1.0000          .0000       .10000E+07
    18 'Prefactor '    .21920E-03   1.0000          .0000       .10000E+07
    19 'norm      '    1.1504       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.2535       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .84940       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6437.347     FROM MIGRAD    STATUS=CONVERGED    161 CALLS     1694 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .57732E-08    15.362        .39971E-05** at limit **
   2  Prefactor      .0000        5.3304       -.18607E-05** at limit **
   3  Prefactor     162.18        3.2092        .31041E-06   -.37659E-01
   4  Prefactor     .22399E-06    5.8928       -.14124E-06** at limit **
   5  Prefactor     .27756E-09    6.8361       -.99328E-06** at limit **
   6  Prefactor      .0000        9.4595       -.20720E-05** at limit **
   7  Prefactor     .10270E-07    67.455       -.25641E-06** at limit **
   8  Prefactor     97.824        97.107       -.12809E-04    .22439E-02
   9  Prefactor     .21372E-07    11.186       -.17143E-05** at limit **
  10  Prefactor     .55511E-10    9.0869       -.14687E-05** at limit **
  11  Prefactor      .0000        1.6938       -.61780E-06** at limit **
  12  Prefactor     .62172E-08    21.522        .64375E-06** at limit **
  13  norm          8.0821        4.1978        .43220E-06   -.71583E-03
  14  Prefactor     17.536        3.5209        .38380E-06    .80270E-01
  15  norm          .22198        .25865       -.16942E-06** at limit **
  16  norm          .89984E-07    7.4737        .11978E-05** at limit **
  17  norm          1.3953        .62065       -.35571E-06   -.43946E-02
  18  Prefactor     .11102E-09    5.5072       -.77968E-06** at limit **
  19  norm          1.1488        1.4523        .14205E-06    .66502E-03
  20  Normalizat    1.2536        .22387        .20620E-04   -.13974E-03
  21  Prefactor     .84950        .19658        .30760E-05   -.12908E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.77316e-09
  Prefactor  = 0
  Prefactor  = 162.175
  Prefactor  = 2.23987e-07
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  Prefactor  = 1.02696e-08
  Prefactor  = 97.8238
  Prefactor  = 2.13718e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 6.21725e-09
  norm       = 8.08212
  Prefactor  = 17.5356
  norm       = 0.221977
  norm       = 8.99836e-08
  norm       = 1.39528
  Prefactor  = 1.11022e-10
  norm       = 1.14883
  Normalizat = 1.2536
  Prefactor  = 0.849498
 **********
 **   18 **HESSE 
 **********

 FCN=   6437.347     FROM HESSE     STATUS=OK           361 CALLS     2055 TOTAL
                     EDM=   .35E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .57732E-08    15.513        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        5.3278        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     162.18        115.05        .78541E-04   -1.5453    
   4  Prefactor     .22399E-06    12.849        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .27756E-09    6.8198        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        9.4900        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10270E-07    1.9802        .60900E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     97.824        97.341        .10053E-03   -1.5510    
   9  Prefactor     .21372E-07    11.455        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    1.3757        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        1.6867        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .62172E-08    21.543        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          8.0821        4.2183        .35240E-03   -1.5651    
  14  Prefactor     17.536        23.902        .23905E-03   -1.5624    
  15  norm          .22198        .28024        .95657E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .89984E-07    13.051        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.3953        .62961        .86126E-03   -1.5684    
  18  Prefactor     .11102E-09    5.5123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.1488        1.4910        .10786E-02   -1.5687    
  20  Normalizat    1.2536        .19190        .55686E-01   -.84962    
  21  Prefactor     .84950        .16607        .44357E-01   -.97929    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.49029e-07
Minuit parameter uncertainties:
  1  0.000597489
  2  2.00864e-05
  3  115.055
  4  0.00339305
  5  8.32529e-05
  6  2.26115e-05
  7  0.00028521
  8  97.3424
  9  0.000989525
  10  2.11748e-05
  11  1.06132e-05
  12  0.000731542
  13  4.21831
  14  23.9019
  15  0.280243
  16  0.0021673
  17  0.629609
  18  4.48056e-05
  19  1.49099
  20  0.192007
  21  0.166164
Done.

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

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  9.782e+01  9.734e+01  0.000e+00  1.000e+06 ( 1.000e-14)
315        Index:  2.339e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
623    Prefactor:  8.495e-01  1.662e-01  0.000e+00  1.000e+01 ( 1.000e+00)
624        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
625        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
622   Normalization:  1.254e+00  1.920e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.28
Ra Dec: 180.833 11.323
Photon Index (Fixed Index): 2.34 +/- 0.00
Photon Flux (Fixed Index): 4.03e-08 +/- 4.01e-08
Energy Flux (Fixed Index): 1.44e-05 +/- 1.43e-05

TS (Fixed Index): 1.28
Ra Dec: 180.833 11.323
Photon Flux Upper Limit: 1.25e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.60e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/277971/likelihoodResults_696297601_696556801_4FGL_J1203.3+1119_daily_bin1763.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) = 6437.34414363
delta logL = 0.00334893714898

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6437.34084147
delta logL = 0.0066510959341

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    108.48       1.0000          .0000       .10000E+07
     2 'Index     '    2.2522       1.0000          .0000       10.000    
     3 'Normalizat'    1.2568       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84750       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6260E+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=   6437.341     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      266 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     108.50        146.52        .38408E-05   -.14208E-04
   2  Index         2.2522        .77709        .68963E-02    .26643E-03
   3  Normalizat    1.2573        .22043        .24593E-03    .71654E-03
   4  Prefactor     .84702        .19701        .26344E-03    .73063E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 108.501
  Index      = 2.25223
  Normalizat = 1.25734
  Prefactor  = 0.847015
 **********
 **   18 **HESSE 
 **********

 FCN=   6437.341     FROM HESSE     STATUS=OK            25 CALLS      291 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     108.50        139.16        .76815E-06   -1.5500    
   2  Index         2.2522        .73801        .13793E-02   -.58183    
   3  Normalizat    1.2573        .22034        .49185E-04   -.84849    
   4  Prefactor     .84702        .19698        .52689E-04   -.98018    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.57717e-10
Minuit parameter uncertainties:
  1  139.165
  2  0.741905
  3  0.220506
  4  0.197142
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/277971': 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) = 6437.34083807
delta logL = 0.00665449989992

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  1.085e+02  1.392e+02  0.000e+00  1.000e+06 ( 1.000e-14)
315        Index:  2.252e+00  7.419e-01  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
623    Prefactor:  8.470e-01  1.971e-01  0.000e+00  1.000e+01 ( 1.000e+00)
624        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
625        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
622   Normalization:  1.257e+00  2.205e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.29
Ra Dec: 180.833 11.323
Photon Index (Free Index): 2.25 +/- 0.74
Photon Flux (Free Index): 3.79e-08 +/- 4.39e-08
Energy Flux (Free Index): 1.55e-05 +/- 1.85e-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/277971/cmap_HighResolution_696297601_696556801_4FGL_J1203.3+1119_daily_bin1763.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.60e-03', comment='SUCCESS', photon_flux='4.03e-08', energy_flux2='1.55e-05', photon_flux_error='4.01e-08', dlogl='6.65e-03', energy_flux='1.44e-05', photon_flux2='3.79e-08', job_status='DONE', time_completed='2023-01-28 00:58:36.431795', photon_index_error2='0.74', photon_index2='2.25', ts='1.28', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='1.25e-07', energy_flux_error2='1.85e-05', EG='1.25', time_epoch_completed='1674896316.43', return_code='0', job_id='277971', GAL2='0.85', EG2='1.26', return_code2='0', energy_flux_error='1.43e-05', photon_flux_error2='4.39e-08', ts2='1.29', photon_index='2.34' WHERE bin_id='1763' AND source_name='4FGL J1203.3+1119' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan 28 00:58:36 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0189>
Subject: Job 277971: <4FGL_J1203.3+1119_daily_bin1763> in cluster <slac> Done

Job <4FGL_J1203.3+1119_daily_bin1763> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sat Jan 28 00:45:29 2023
Job was executed on host(s) <bullet0189>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan 28 00:46:48 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan 28 00:46:48 2023
Terminated at Sat Jan 28 00:58:37 2023
Results reported at Sat Jan 28 00:58:37 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1203.3+1119_daily_bin1763 180.833 11.3231 696297601 696556801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1203.3+1119 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   513.17 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   708 sec.
    Turnaround time :                            788 sec.

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

