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


Performing analysis on: 4FGL_J1203.3+1119_daily_bin1780
RA = 180.833, Dec = 11.3231
tmin = 700704001, tmax = 700963201
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='61262', job_status='RUN', time_executed='2023-03-20 00:47:39.712547', time_epoch_executed='1679298459.71' WHERE source_name='4FGL J1203.3+1119' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/61262

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/61262/ft1_4FGL_J1203.3+1119_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/61262/ft2_4FGL_J1203.3+1119_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/61262/ft1_4FGL_J1203.3+1119_daily_bin1780.fits outfile=/scratch/kocevski/61262/ft1_filteredMKT_4FGL_J1203.3+1119_daily_bin1780.fits ra=180.833 dec=11.3231 rad=12.0 tmin=700704001.0 tmax=700963201.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 4.12
user 3.84
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/61262/ft2_4FGL_J1203.3+1119_daily_bin1780.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/61262/ft1_filteredMKT_4FGL_J1203.3+1119_daily_bin1780.fits evtable="EVENTS" outfile="/scratch/kocevski/61262/ft1_filtered_4FGL_J1203.3+1119_daily_bin1780.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 285

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/61262/ft1_filtered_4FGL_J1203.3+1119_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/61262/ft2_4FGL_J1203.3+1119_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/61262/ltcube_700704001_700963201_4FGL_J1203.3+1119_daily_bin1780.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/61262/ft2_4FGL_J1203.3+1119_daily_bin1780.fits
.....................!
real 11.99
user 11.56
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/61262/ft1_filtered_4FGL_J1203.3+1119_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/61262/ft2_4FGL_J1203.3+1119_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/61262/ltcube_700704001_700963201_4FGL_J1203.3+1119_daily_bin1780.fits outfile=/scratch/kocevski/61262/expmap_700704001_700963201_4FGL_J1203.3+1119_daily_bin1780.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/61262/ltcube_700704001_700963201_4FGL_J1203.3+1119_daily_bin1780.fits
.....................!
real 191.64
user 186.72
sys 4.59

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/61262/ft1_filtered_4FGL_J1203.3+1119_daily_bin1780.fits scfile=/scratch/kocevski/61262/ft2_4FGL_J1203.3+1119_daily_bin1780.fits outfile=/scratch/kocevski/61262/cmap_700704001_700963201_4FGL_J1203.3+1119_daily_bin1780.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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/61262/ft1_filtered_4FGL_J1203.3+1119_daily_bin1780.fits scfile=/scratch/kocevski/61262/ft2_4FGL_J1203.3+1119_daily_bin1780.fits outfile=/scratch/kocevski/61262/cmap_HighResolution_700704001_700963201_4FGL_J1203.3+1119_daily_bin1780.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.53
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .98537E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .32478E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .25971E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .21135E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    8.3125       1.0000          .0000       .10000E+07
     6 'Prefactor '    .55371E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.3831       1.0000          .0000       .10000E+07
     8 'Prefactor '    .88677E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .24957E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    1.5081       1.0000          .0000       .10000E+07
    11 'Prefactor '    .12762E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    15.833       1.0000          .0000       .10000E+07
    13 'norm      '    .12795E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    .14601E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .70721E-07   1.0000          .0000       .10000E+07
    16 'norm      '    .42849E-03   1.0000          .0000       .10000E+07
    17 'norm      '    1.9220       1.0000          .0000       .10000E+07
    18 'Prefactor '    .30208E-05   1.0000          .0000       .10000E+07
    19 'norm      '    2.3954       1.0000          .0000       .10000E+07
    20 'Normalizat'    .75036       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1105       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=   3320.556     FROM MIGRAD    STATUS=CONVERGED    152 CALLS     1297 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .26177E-05    11.213        .83049E-06** at limit **
   2  Prefactor     .19140E-06    9.4082       -.94263E-06** at limit **
   3  Prefactor      .0000        31.737       -.27402E-05** at limit **
   4  Prefactor      .0000        4.1294       -.18760E-05** at limit **
   5  Prefactor     8.4861        11.956       -.25780E-06    .37513E-02
   6  Prefactor     .46994E-04    19.492       -.27538E-05** at limit **
   7  Prefactor     6.3621        5.9007       -.44984E-06    .90529E-03
   8  Prefactor     .30272E-04    40.593       -.65168E-05** at limit **
   9  Prefactor     .61434E-06    12.127        .30714E-05** at limit **
  10  Prefactor     1.5104        2.3864        .38516E-07   -.13389E-03
  11  Prefactor      .0000        1.1284        .35270E-06** at limit **
  12  Prefactor     15.881        1.0205       -.24841E-07    .17458E-02
  13  norm           .0000        1.3176       -.61767E-06** at limit **
  14  Prefactor     .39980E-05    9.9854        .25423E-05** at limit **
  15  norm           .0000        .32693        .63040E-06** at limit **
  16  norm          .23596E-05    28.433        .98558E-06** at limit **
  17  norm          1.9218        .94369       -.38501E-07   -.35973E-02
  18  Prefactor     .55983E-06    9.5813       -.35598E-05** at limit **
  19  norm          2.3956        2.0801       -.14628E-06   -.39510E-03
  20  Normalizat    .75038        .26460        .98028E-05    .40497E-04
  21  Prefactor     1.1104        .24055       -.77779E-05    .79233E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.61768e-06
  Prefactor  = 1.91402e-07
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 8.48615
  Prefactor  = 4.69942e-05
  Prefactor  = 6.36208
  Prefactor  = 3.02725e-05
  Prefactor  = 6.14342e-07
  Prefactor  = 1.51039
  Prefactor  = 0
  Prefactor  = 15.8805
  norm       = 0
  Prefactor  = 3.99802e-06
  norm       = 0
  norm       = 2.35961e-06
  norm       = 1.9218
  Prefactor  = 5.5983e-07
  norm       = 2.39557
  Normalizat = 0.750376
  Prefactor  = 1.11036
 **********
 **   18 **HESSE 
 **********

 FCN=   3320.556     FROM HESSE     STATUS=OK           357 CALLS     1654 TOTAL
                     EDM=   .20E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .26177E-05    20.015        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .19140E-06    9.5437        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        31.744        .16672E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        4.1290        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.4861        11.950        .34748E-03   -1.5650    
   6  Prefactor     .46994E-04    48.587        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.3621        5.9026        .39704E-03   -1.5658    
   8  Prefactor     .30272E-04    57.362        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .61434E-06    12.710        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.5104        2.4333        .87089E-03   -1.5683    
  11  Prefactor      .0000        1.1297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     15.881        19.151        .25144E-03   -1.5628    
  13  norm           .0000        1.3169        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .39980E-05    17.613        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        .15430        .87099E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .23596E-05    32.387        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.9218        .94939        .74918E-03   -1.5680    
  18  Prefactor     .55983E-06    10.037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.3956        2.0826        .66139E-03   -1.5677    
  20  Normalizat    .75038        .22994        .62429E-01   -1.0194    
  21  Prefactor     1.1104        .20872        .37200E-01   -.89136    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.04684e-06
Minuit parameter uncertainties:
  1  0.0144767
  2  0.00270307
  3  3.14059e-06
  4  1.02155e-05
  5  11.95
  6  0.0955685
  7  5.90257
  8  0.0833432
  9  0.00558864
  10  2.43329
  11  6.0126e-06
  12  19.1512
  13  1.37815e-06
  14  0.016783
  15  2.04863e-06
  16  0.0174839
  17  0.949393
  18  0.00474104
  19  2.08264
  20  0.23024
  21  0.208875
Done.

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

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  3.027e-05  8.334e-02  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.110e+00  2.089e-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:  7.504e-01  2.302e-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: 1.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.05e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/61262/likelihoodResults_700704001_700963201_4FGL_J1203.3+1119_daily_bin1780.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): 102
logL (Free Index) = 3320.56480402
delta logL = -0.00831942282775

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3320.55648791
delta logL = -3.31562023348e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11872E-03   1.0000          .0000       .10000E+07
     2 'Index     '    .98665       1.0000          .0000       10.000    
     3 'Normalizat'    .75086       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1100       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   3320.556     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      251 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        53.262        .84235E-04** at limit **
   2  Index         2.4520        3.6201       -.10102E-04     .0000    
   3  Normalizat    .75038        .12836        .21388E-09   -.18460E-03
   4  Prefactor     1.1104        .12020        .32223E-08   -.52295E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.452
  Normalizat = 0.750381
  Prefactor  = 1.11036
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   3320.556     FROM HESSE     STATUS=FAILED         9 CALLS      260 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        53.262        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .67608        3.6201       -.10102E-04   -.53472    
   3  Normalizat    .75038        .12836        .21388E-09   -1.0194    
   4  Prefactor     1.1104        .12020        .32223E-08   -.89136    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.45326e-10
Minuit parameter uncertainties:
  1  1.8394e-05
  2  4.30206
  3  0.128413
  4  0.120225
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/61262': 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): 101
logL (Free Index) = 3320.55648433
delta logL = 2.63524725597e-07

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  1.839e-05  0.000e+00  1.000e+06 ( 1.000e-14)
315        Index:  2.452e+00  4.302e+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:  1.110e+00  1.202e-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:  7.504e-01  1.284e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/61262/cmap_HighResolution_700704001_700963201_4FGL_J1203.3+1119_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.05e-03', job_status='DONE', photon_flux_upper_limit='1.05e-07', time_completed='2023-03-20 00:55:09.091106', job_id='61262', GAL2='1.11', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1679298909.09', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='2.64e-07', ts2='0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1780' AND source_name='4FGL J1203.3+1119' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 00:55:09 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0148>
Subject: Job 61262: <4FGL_J1203.3+1119_daily_bin1780> in cluster <slac> Done

Job <4FGL_J1203.3+1119_daily_bin1780> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Mar 20 00:45:18 2023
Job was executed on host(s) <bullet0148>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 00:45:19 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 00:45:19 2023
Terminated at Mon Mar 20 00:55:09 2023
Results reported at Mon Mar 20 00:55:09 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1203.3+1119_daily_bin1780 180.833 11.3231 700704001 700963201 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 :                                   451.21 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             315.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   590 sec.
    Turnaround time :                            591 sec.

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

