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


Performing analysis on: 4FGL_J1203.3+1119_daily_bin1765
RA = 180.833, Dec = 11.3231
tmin = 696816001, tmax = 697075201
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='632768', job_status='RUN', time_executed='2023-02-03 00:53:42.017041', time_epoch_executed='1675414422.02' WHERE source_name='4FGL J1203.3+1119' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/632768

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/632768/ft1_4FGL_J1203.3+1119_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/632768/ft2_4FGL_J1203.3+1119_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/632768/ft1_4FGL_J1203.3+1119_daily_bin1765.fits outfile=/scratch/kocevski/632768/ft1_filteredMKT_4FGL_J1203.3+1119_daily_bin1765.fits ra=180.833 dec=11.3231 rad=12.0 tmin=696816001.0 tmax=697075201.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.64
user 3.42
sys 0.21

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

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

Number of photons that the gtmktime cut: 558

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/632768/ft1_filtered_4FGL_J1203.3+1119_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/632768/ft2_4FGL_J1203.3+1119_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/632768/ltcube_696816001_697075201_4FGL_J1203.3+1119_daily_bin1765.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/632768/ft2_4FGL_J1203.3+1119_daily_bin1765.fits
.....................!
real 16.70
user 16.31
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/632768/ft1_filtered_4FGL_J1203.3+1119_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/632768/ft2_4FGL_J1203.3+1119_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/632768/ltcube_696816001_697075201_4FGL_J1203.3+1119_daily_bin1765.fits outfile=/scratch/kocevski/632768/expmap_696816001_697075201_4FGL_J1203.3+1119_daily_bin1765.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/632768/ltcube_696816001_697075201_4FGL_J1203.3+1119_daily_bin1765.fits
.....................!
real 192.65
user 187.14
sys 5.06

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/632768/ft1_filtered_4FGL_J1203.3+1119_daily_bin1765.fits scfile=/scratch/kocevski/632768/ft2_4FGL_J1203.3+1119_daily_bin1765.fits outfile=/scratch/kocevski/632768/cmap_696816001_697075201_4FGL_J1203.3+1119_daily_bin1765.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/632768/ft1_filtered_4FGL_J1203.3+1119_daily_bin1765.fits scfile=/scratch/kocevski/632768/ft2_4FGL_J1203.3+1119_daily_bin1765.fits outfile=/scratch/kocevski/632768/cmap_HighResolution_696816001_697075201_4FGL_J1203.3+1119_daily_bin1765.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.57
user 0.41
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .56230E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    1.0421       1.0000          .0000       .10000E+07
     3 'Prefactor '    .18051       1.0000          .0000       .10000E+07
     4 'Prefactor '    21.075       1.0000          .0000       .10000E+07
     5 'Prefactor '    .88182E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .12253E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.2921       1.0000          .0000       .10000E+07
     8 'Prefactor '    .16799E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    14.821       1.0000          .0000       .10000E+07
    10 'Prefactor '    .67490E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    11.206       1.0000          .0000       .10000E+07
    12 'Prefactor '    .20869E-03   1.0000          .0000       .10000E+07
    13 'norm      '    1.1849       1.0000          .0000       .10000E+07
    14 'Prefactor '    3.1095       1.0000          .0000       .10000E+07
    15 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
    16 'norm      '    5.4517       1.0000          .0000       .10000E+07
    17 'norm      '    .57720       1.0000          .0000       .10000E+07
    18 'Prefactor '    10.945       1.0000          .0000       .10000E+07
    19 'norm      '    .68945E-06   1.0000          .0000       .10000E+07
    20 'Normalizat'    .95833       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0356       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=   6358.913     FROM MIGRAD    STATUS=CONVERGED    178 CALLS     1691 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    23.968       -.54301E-05** at limit **
   2  Prefactor     .96259        27.507       -.10218E-05    .72473E-03
   3  Prefactor     .49960E-09    46.707        .89613E-06** at limit **
   4  Prefactor     21.075        12.627       -.10990E-05   -.52610E-03
   5  Prefactor     .55511E-10    7.1734       -.11655E-05** at limit **
   6  Prefactor     .33307E-09    13.917        .13211E-05** at limit **
   7  Prefactor     6.2965        4.6156        .55359E-06   -.11813E-02
   8  Prefactor     .55178E-07    89.361       -.45056E-05** at limit **
   9  Prefactor     13.345        27.495        .74795E-05   -.13033E-01
  10  Prefactor      .0000        2.1070       -.11817E-05** at limit **
  11  Prefactor     11.179        4.2714       -.31168E-06    .37538E-02
  12  Prefactor     .16653E-09    18.893        .13963E-06** at limit **
  13  norm          1.0491        3.8340        .12631E-05    .21343E-02
  14  Prefactor     3.1181        1.3564       -.52421E-06   -.24187E-02
  15  norm           .0000        .22175       -.29077E-06** at limit **
  16  norm          7.3190        33.209       -.11069E-04   -.74883E-02
  17  norm          .57531        .50226       -.13033E-06   -.74267E-02
  18  Prefactor     10.788        8.6590       -.35240E-06    .10543E-02
  19  norm          .55511E-10    1.7853        .17574E-06** at limit **
  20  Normalizat    .96216        .23223        .59292E-04    .90504E-05
  21  Prefactor     1.0340        .19806       -.35986E-04   -.22737E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  Prefactor  = 0.962594
  Prefactor  = 4.996e-10
  Prefactor  = 21.0754
  Prefactor  = 5.55112e-11
  Prefactor  = 3.33067e-10
  Prefactor  = 6.29652
  Prefactor  = 5.51781e-08
  Prefactor  = 13.3447
  Prefactor  = 0
  Prefactor  = 11.1795
  Prefactor  = 1.66533e-10
  norm       = 1.04914
  Prefactor  = 3.11807
  norm       = 0
  norm       = 7.31895
  norm       = 0.575307
  Prefactor  = 10.7878
  norm       = 5.55112e-11
  Normalizat = 0.962157
  Prefactor  = 1.03402
 **********
 **   18 **HESSE 
 **********

 FCN=   6358.913     FROM HESSE     STATUS=OK           369 CALLS     2060 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    23.722        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .96259        9.1812        .76964E-02   -1.5688    
   3  Prefactor     .49960E-09    46.638        .12133E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     21.075        12.619        .21789E-03   -1.5616    
   5  Prefactor     .55511E-10    7.1795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .33307E-09    13.938        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.2965        4.6685        .39993E-03   -1.5658    
   8  Prefactor     .55178E-07    89.747        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     13.345        43.397        .25991E-03   -1.5635    
  10  Prefactor      .0000        2.1012        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.179        4.2714        .29903E-03   -1.5641    
  12  Prefactor     .16653E-09    18.879        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.0491        9.6233        .10482E-02   -1.5687    
  14  Prefactor     3.1181        33.330        .57478E-03   -1.5673    
  15  norm           .0000        .99212E-01    .97340E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          7.3190        116.89        .43012E-03   -1.5654    
  17  norm          .57531        .53023        .71296E-03   -1.5693    
  18  Prefactor     10.788        8.6655        .30258E-03   -1.5642    
  19  norm          .55511E-10    1.7383        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .96216        .20169        .45643E-01   -.94309    
  21  Prefactor     1.0340        .17074        .40839E-01   -.91604    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12354e-07
Minuit parameter uncertainties:
  1  7.5436e-05
  2  5.94569
  3  0.000304417
  4  12.6191
  5  3.72277e-05
  6  0.000135187
  7  4.66848
  8  0.00445146
  9  43.3981
  10  1.34421e-05
  11  4.27139
  12  0.000110577
  13  6.35492
  14  20.389
  15  2.76095e-06
  16  58.4995
  17  0.530233
  18  8.66551
  19  1.96042e-05
  20  0.20185
  21  0.170825
Done.

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

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  5.518e-08  4.451e-03  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:  1.034e+00  1.708e-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:  9.622e-01  2.019e-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: 8.31e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.40e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/632768/likelihoodResults_696816001_697075201_4FGL_J1203.3+1119_daily_bin1765.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) = 6358.91826594
delta logL = -0.00534799754587

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6358.91291799
delta logL = -4.74838088849e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .37115E-06   1.0000          .0000       .10000E+07
     2 'Index     '    3.2375       1.0000          .0000       10.000    
     3 'Normalizat'    .96221       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0340       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.

 FCN=   6358.913     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      249 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .26090E-07    110.91        .42118E-03** at limit **
   2  Index         1.2625        8.0405        .50000       -.20236E-08
   3  Normalizat    .96216        .81692E-02    .45692E-01   -.63370E-04
   4  Prefactor     1.0340        .75093E-02    .40955E-01   -.10555E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.60902e-08
  Index      = 1.26247
  Normalizat = 0.962156
  Prefactor  = 1.03402
 **********
 **   18 **HESSE 
 **********

 FCN=   6358.913     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      282 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .26090E-07    532.90        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2625        7.7583        .50000       -.84430    
   3  Normalizat    .96216        .18129E-01    .26735E-03   -.94309    
   4  Prefactor     1.0340        .16669E-01    .23677E-03   -.91604    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.17673e-09
Minuit parameter uncertainties:
  1  0.00745793
  2  88310.2
  3  0.018129
  4  0.0166691
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/632768': 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): 102
logL (Free Index) = 6358.91291794
delta logL = -8.18545231596e-11

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  2.609e-08  7.458e-03  0.000e+00  1.000e+06 ( 1.000e-14)
315        Index:  1.262e+00  8.831e+04  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:  1.034e+00  1.667e-02  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:  9.622e-01  1.813e-02  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/632768/cmap_HighResolution_696816001_697075201_4FGL_J1203.3+1119_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.40e-03', job_status='DONE', photon_flux_upper_limit='8.31e-08', time_completed='2023-02-03 01:03:59.330784', job_id='632768', GAL2='1.03', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1675415039.33', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='-8.19e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1765' AND source_name='4FGL J1203.3+1119' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 01:03:59 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0087>
Subject: Job 632768: <4FGL_J1203.3+1119_daily_bin1765> in cluster <slac> Done

Job <4FGL_J1203.3+1119_daily_bin1765> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Feb  3 00:50:25 2023
Job was executed on host(s) <bullet0087>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 00:52:41 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 00:52:41 2023
Terminated at Fri Feb  3 01:03:59 2023
Results reported at Fri Feb  3 01:03:59 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1203.3+1119_daily_bin1765 180.833 11.3231 696816001 697075201 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 :                                   619.13 sec.
    Max Memory :                                 657 MB
    Average Memory :                             328.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2930 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   678 sec.
    Turnaround time :                            814 sec.

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

