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


Performing analysis on: 4FGL_J1203.3+1119_daily_bin1749
RA = 180.833, Dec = 11.3231
tmin = 692668801, tmax = 692928001
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='950503', job_status='RUN', time_executed='2022-12-17 00:41:14.854094', time_epoch_executed='1671266474.85' WHERE source_name='4FGL J1203.3+1119' and cadence='daily' and bin_id='1749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/950503

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/950503/ft1_4FGL_J1203.3+1119_daily_bin1749.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/950503/ft2_4FGL_J1203.3+1119_daily_bin1749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/950503/ft1_4FGL_J1203.3+1119_daily_bin1749.fits outfile=/scratch/kocevski/950503/ft1_filteredMKT_4FGL_J1203.3+1119_daily_bin1749.fits ra=180.833 dec=11.3231 rad=12.0 tmin=692668801.0 tmax=692928001.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.65
user 3.41
sys 0.22

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

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

Number of photons that the gtmktime cut: 663

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/950503/ft1_filtered_4FGL_J1203.3+1119_daily_bin1749.fits" evtable="EVENTS" scfile=/scratch/kocevski/950503/ft2_4FGL_J1203.3+1119_daily_bin1749.fits sctable="SC_DATA" outfile=/scratch/kocevski/950503/ltcube_692668801_692928001_4FGL_J1203.3+1119_daily_bin1749.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/950503/ft2_4FGL_J1203.3+1119_daily_bin1749.fits
.....................!
real 12.59
user 12.19
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/950503/ft1_filtered_4FGL_J1203.3+1119_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/950503/ft2_4FGL_J1203.3+1119_daily_bin1749.fits sctable="SC_DATA" expcube=/scratch/kocevski/950503/ltcube_692668801_692928001_4FGL_J1203.3+1119_daily_bin1749.fits outfile=/scratch/kocevski/950503/expmap_692668801_692928001_4FGL_J1203.3+1119_daily_bin1749.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/950503/ltcube_692668801_692928001_4FGL_J1203.3+1119_daily_bin1749.fits
.....................!
real 191.27
user 185.39
sys 5.44

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/950503/ft1_filtered_4FGL_J1203.3+1119_daily_bin1749.fits scfile=/scratch/kocevski/950503/ft2_4FGL_J1203.3+1119_daily_bin1749.fits outfile=/scratch/kocevski/950503/cmap_692668801_692928001_4FGL_J1203.3+1119_daily_bin1749.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/950503/ft1_filtered_4FGL_J1203.3+1119_daily_bin1749.fits scfile=/scratch/kocevski/950503/ft2_4FGL_J1203.3+1119_daily_bin1749.fits outfile=/scratch/kocevski/950503/cmap_HighResolution_692668801_692928001_4FGL_J1203.3+1119_daily_bin1749.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.55
user 0.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/950503/ft1_filtered_4FGL_J1203.3+1119_daily_bin1749.fits', '/scratch/kocevski/950503/ft2_4FGL_J1203.3+1119_daily_bin1749.fits', expMap='/scratch/kocevski/950503/expmap_692668801_692928001_4FGL_J1203.3+1119_daily_bin1749.fits', expCube='/scratch/kocevski/950503/ltcube_692668801_692928001_4FGL_J1203.3+1119_daily_bin1749.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/950503/Model_4FGL_J1203.3+1119_daily_bin1749.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/950503/ft1_filtered_4FGL_J1203.3+1119_daily_bin1749.fits
Spacecraft file(s): /scratch/kocevski/950503/ft2_4FGL_J1203.3+1119_daily_bin1749.fits
Exposure map: /scratch/kocevski/950503/expmap_692668801_692928001_4FGL_J1203.3+1119_daily_bin1749.fits
Exposure cube: /scratch/kocevski/950503/ltcube_692668801_692928001_4FGL_J1203.3+1119_daily_bin1749.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/950503/Model_4FGL_J1203.3+1119_daily_bin1749.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) = 7235.30390212

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.763       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.3841       1.0000          .0000       .10000E+07
     3 'Prefactor '    120.75       1.0000          .0000       .10000E+07
     4 'Prefactor '    6.3091       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.6607       1.0000          .0000       .10000E+07
     6 'Prefactor '    .50787E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.0538       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.2438       1.0000          .0000       .10000E+07
     9 'Prefactor '    .67541E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .12625E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .60742E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .12990E-07   1.0000          .0000       .10000E+07
    13 'norm      '    6.0348       1.0000          .0000       .10000E+07
    14 'Prefactor '    .16913E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .28321E-01   1.0000          .0000       .10000E+07
    16 'norm      '    18.201       1.0000          .0000       .10000E+07
    17 'norm      '    1.0313       1.0000          .0000       .10000E+07
    18 'Prefactor '    .80114E-05   1.0000          .0000       .10000E+07
    19 'norm      '    .67020       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.4860       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .84187       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=   7235.266     FROM MIGRAD    STATUS=CONVERGED    196 CALLS     1796 TOTAL
                     EDM=   .30E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.672        11.983        .27334E-07   -.61377E-04
   2  Prefactor     2.3827        4.2724        .32875E-07   -.14084E-03
   3  Prefactor     117.53        113.26       -.45552E-06    .12957E-03
   4  Prefactor     6.2579        9.0520        .18445E-07   -.95966E-04
   5  Prefactor     4.6409        7.8034        .26675E-07   -.22501E-04
   6  Prefactor      .0000        19.863       -.20297E-06** at limit **
   7  Prefactor     2.0328        3.7606       -.57106E-07    .38461E-03
   8  Prefactor     4.1701        317.53        .15680E-05   -.26846E-04
   9  Prefactor      .0000        20.354       -.11881E-07** at limit **
  10  Prefactor      .0000        2.5477       -.14112E-07** at limit **
  11  Prefactor      .0000        2.0232       -.44927E-07** at limit **
  12  Prefactor      .0000        21.213        .16924E-06** at limit **
  13  norm          6.0828        3.8869        .67226E-08   -.22719E-03
  14  Prefactor      .0000        10.529       -.22125E-07** at limit **
  15  norm          .28080E-01    .26577        .24130E-07** at limit **
  16  norm          16.847        29.338        .12232E-06   -.86164E-04
  17  norm          1.0352        .60234        .64410E-08   -.77282E-03
  18  Prefactor      .0000        9.3253       -.73062E-08** at limit **
  19  norm          .66960        1.0258        .20124E-07   -.42359E-03
  20  Normalizat    1.4866        .22651       -.40166E-07   -.33849E-05
  21  Prefactor     .84199        .19745        .22535E-06   -.57593E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 10.6722
  Prefactor  = 2.38272
  Prefactor  = 117.526
  Prefactor  = 6.25788
  Prefactor  = 4.64087
  Prefactor  = 0
  Prefactor  = 2.03283
  Prefactor  = 4.17013
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 6.08276
  Prefactor  = 0
  norm       = 0.02808
  norm       = 16.8472
  norm       = 1.03521
  Prefactor  = 0
  norm       = 0.6696
  Normalizat = 1.48658
  Prefactor  = 0.841991
 **********
 **   18 **HESSE 
 **********

 FCN=   7235.266     FROM HESSE     STATUS=OK           367 CALLS     2163 TOTAL
                     EDM=   .68E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.672        11.974        .30515E-03   -1.5643    
   2  Prefactor     2.3827        4.2954        .66311E-03   -1.5677    
   3  Prefactor     117.53        113.05        .91008E-04   -1.5491    
   4  Prefactor     6.2579        9.1549        .39939E-03   -1.5658    
   5  Prefactor     4.6409        7.7965        .46593E-03   -1.5665    
   6  Prefactor      .0000        19.810        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.0328        3.7761        .72098E-03   -1.5679    
   8  Prefactor     4.1701        321.09        .10042E-02   -1.5667    
   9  Prefactor      .0000        20.340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        2.5038        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        2.0058        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        21.196        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          6.0828        3.8927        .40849E-03   -1.5659    
  14  Prefactor      .0000        10.520        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .28080E-01    .12881        .11271E-02   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          16.847        29.263        .23449E-03   -1.5626    
  17  norm          1.0352        .62029        .10439E-02   -1.5688    
  18  Prefactor      .0000        9.2877        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .66960        1.0450        .63161E-03   -1.5692    
  20  Normalizat    1.4866        .18812        .54900E-01   -.78156    
  21  Prefactor     .84199        .16558        .63911E-01   -.98199    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.76212e-08
Minuit parameter uncertainties:
  1  11.9738
  2  4.29536
  3  113.05
  4  9.15494
  5  7.79651
  6  1.47947e-05
  7  3.77612
  8  73.1879
  9  1.79186e-06
  10  1.77466e-06
  11  1.82516e-06
  12  2.7563e-05
  13  3.89272
  14  2.16989e-06
  15  0.120284
  16  29.2637
  17  0.620292
  18  3.44637e-07
  19  1.04505
  20  0.188211
  21  0.165681
Done.

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

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  4.170e+00  7.319e+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.420e-01  1.657e-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.487e+00  1.882e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 180.833 11.323
Photon Flux Upper Limit: 7.75e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.96e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/950503/likelihoodResults_692668801_692928001_4FGL_J1203.3+1119_daily_bin1749.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) = 7235.26468054
delta logL = 0.00159001679367

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7235.26465617
delta logL = 0.00161438646592

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1701       1.0000          .0000       .10000E+07
     2 'Index     '    2.5652       1.0000          .0000       10.000    
     3 'Normalizat'    1.4856       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84238       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7235.265     FROM MIGRAD    STATUS=FAILED        89 CALLS      253 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2204        221.38        .19732E-04    .10682E-02
   2  Index         2.5654        3.6126        .71750E-02    .46923E-03
   3  Normalizat    1.4856        .21596        .24281E-03    .68190E-02
   4  Prefactor     .84238        .19542        .28263E-03    .49821E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7235.265     FROM SIMPLEX   STATUS=UNCHANGED     79 CALLS      332 TOTAL
                     EDM=   .14E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2204        221.38        .84215E-04   -1.5667    
   2  Index         2.5654        3.6126        .45654E-02   -.50856    
   3  Normalizat    1.4856        .21596        .23096E-03   -.78185    
   4  Prefactor     .84238        .19542        .21979E-03   -.98184    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7235.265     FROM MIGRAD    STATUS=CONVERGED     27 CALLS      359 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2340        196.92        .78929E-06    .18237E-02
   2  Index         2.5637        3.4708        .28700E-03    .20860E-04
   3  Normalizat    1.4856        .21619        .48562E-04    .77395E-03
   4  Prefactor     .84238        .19555        .56526E-04    .55128E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.23402
  Index      = 2.56372
  Normalizat = 1.48555
  Prefactor  = 0.842383
 **********
 **   18 **HESSE 
 **********

 FCN=   7235.265     FROM HESSE     STATUS=OK            23 CALLS      382 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2340        196.13        .37353E-06   -1.5667    
   2  Index         2.5637        3.4659        .57400E-04   -.50894    
   3  Normalizat    1.4856        .21621        .97125E-05   -.78185    
   4  Prefactor     .84238        .19558        .11305E-04   -.98184    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.20788e-09
Minuit parameter uncertainties:
  1  57.6366
  2  4.004
  3  0.216344
  4  0.195742
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/950503': 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) = 7235.26465559
delta logL = 0.0016149669018

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  4.234e+00  5.764e+01  0.000e+00  1.000e+06 ( 1.000e-14)
315        Index:  2.564e+00  4.004e+00  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.424e-01  1.957e-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.486e+00  2.163e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 180.833 11.323

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/950503/cmap_HighResolution_692668801_692928001_4FGL_J1203.3+1119_daily_bin1749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.96e-03', job_status='DONE', photon_flux_upper_limit='7.75e-08', time_completed='2022-12-17 00:52:27.171912', job_id='950503', GAL2='0.84', fit_tolerance='1e-08', EG2='1.49', EG='1.49', time_epoch_completed='1671267147.17', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='1.61e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1749' AND source_name='4FGL J1203.3+1119' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 17 00:52:27 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 950503: <4FGL_J1203.3+1119_daily_bin1749> in cluster <slac> Done

Job <4FGL_J1203.3+1119_daily_bin1749> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Dec 17 00:40:16 2022
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Dec 17 00:40:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Dec 17 00:40:17 2022
Terminated at Sat Dec 17 00:52:27 2022
Results reported at Sat Dec 17 00:52:27 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1203.3+1119_daily_bin1749 180.833 11.3231 692668801 692928001 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 :                                   674.18 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             362.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   730 sec.
    Turnaround time :                            731 sec.

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

